:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202124;
  background: #f5f5f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --orange: #e47736;
  --orange-dark: #cc6124;
  --muted: #858890;
  --line: #ececf0;
  --surface: #fff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(248, 248, 250, 0.94), rgba(247, 247, 249, 0.96)),
    url("assets/pattern.svg") center/cover fixed;
  color: #202124;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  display: flex;

  z-index: 5;
}
.nav-item {
  border: 0;
  background: transparent;

  border-radius: 0 !important;
  text-align: left;
  display: flex;
  align-items: center;
}
.nav-icon {
  text-align: center;
  font-size: 18px;
}
.nav-divider {
  height: 1px;
  background: var(--line);
  margin: 10px 8px;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #90929a;
  font-size: 10px;
  padding: 0 9px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 0 !important;
  background: #54be84;
  box-shadow: 0 0 0 3px #54be841c;
}
.main-area {
  min-height: 100vh;
}
.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(25px, 5vw, 70px);
  border-bottom: 1px solid rgba(35, 35, 45, 0.055);
  background: #ffffff55;
  backdrop-filter: blur(15px);
}
.topbar-spacer {
  flex: 1;
}
.today-label {
  font-size: 12px;
  color: #858890;
}
.profile-button {
  height: 34px;
  width: 34px;
  border: 0;
  border-radius: 0 !important;
  color: #fff;
  background: #263944;
  font-weight: 650;
  font-size: 13px;
}
.mobile-brand {
  display: none;
}
.page-wrap {
  margin: 0 auto;
  padding: 37px clamp(25px, 5vw, 70px) 80px;
}
.page {
  display: none;
  animation: pageIn 0.28s ease both;
}
.page.active {
  display: block;
}
@keyframes pageIn {
  from {
    opacity: 0.2;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 27px;
}
.eyebrow {
  display: block;

  font-size: 9px;

  font-weight: 700;
  margin-bottom: 8px;
}
.page-heading h1 {
  margin: 0;

  font-weight: 700;
}
.page-subtitle {
  margin: 8px 0 0;

  font-size: 12px;
}
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 0 !important;
  height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.primary-button {
  color: white;
}
.primary-button:hover {
  transform: translateY(-1px);
}
.primary-button span {
  font-size: 17px;
  line-height: 1;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 33px;
}
.stat-card,
.purchase-summary {
  background: #ffffffdc;
  border: 1px solid #ffffff;
  border-radius: 0 !important;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 5px 20px #22232b05;
}
.stat-icon,
.settings-icon {
  flex: none;
  height: 37px;
  width: 37px;
  display: grid;
  place-items: center;
  border-radius: 0 !important;
  font-size: 16px;
}
.orange {
  background: #fff0e6;
  color: #e57d3c;
}
.green {
  background: #e7f6ee;
  color: #46a875;
}
.blue {
  background: #e8f0ff;
  color: #5c83d2;
}
.violet {
  background: #f0eafe;
  color: #8061c9;
}
.stat-label {
  display: block;
  font-size: 10px;
  color: #8e9097;
  margin-bottom: 4px;
}
.stat-card strong,
.purchase-summary strong {
  font-size: 18px;
  letter-spacing: -0.5px;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.section-title-row h2 {
  font-size: 15px;
  letter-spacing: -0.3px;
  margin: 0 0 5px;
}
.muted {
  color: #8c8e96;
  font-size: 11px;
  line-height: 1.7;
}
.segmented {
  display: flex;
  gap: 3px;
  background: #ebebef;
  padding: 3px;
  border-radius: 0 !important;
}
.segmented button {
  height: 27px;
  padding: 0 11px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #797b83;
  font-size: 10px;
}
.segmented button.selected {
  background: white;
  color: #393a40;
  box-shadow: 0 1px 3px #0000000b;
}
.orders-list {
  display: grid;
  gap: 10px;
}
.order-card {
  background: #ffffffeb;
  border: 1px solid #fff;
  border-radius: 0 !important;
  padding: 16px 17px;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 1.2fr auto;
  gap: 15px;
  align-items: center;
  box-shadow: 0 5px 18px #20212a05;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.order-id {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.order-time {
  font-size: 10px;
  color: #9a9ba2;
  margin-top: 5px;
}
.order-customer {
  font-size: 11px;
  color: #656770;
  margin-top: 2px;
}
.order-product {
  font-size: 12px;
  font-weight: 600;
}
.order-detail {
  font-size: 10px;
  color: #92949a;
  margin-top: 5px;
}
.order-right {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: flex-end;
}
.order-price {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.status-select {
  border: 0;
  border-radius: 0 !important;
  background: #fff4e8;
  color: #d67b34;
  padding: 8px 9px;
  font-size: 10px;
  max-width: 125px;
}
.status-select[data-status="ready"] {
  background: #e8f6ee;
  color: #439b6b;
}
.status-select[data-status="done"] {
  background: #edf0f4;
  color: #727986;
}
.status-select[data-status="cancelled"] {
  background: #fcebec;
  color: #cc5e62;
}
.icon-button {
  height: 32px;
  width: 32px;
  border: 0;
  background: #f5f5f7;
  border-radius: 0 !important;
  color: #7d7f87;
  font-size: 20px;
}
.empty-state {
  text-align: center;

  background: #ffffffb8;
  border: 1px solid #fff;
}
.empty-state.hidden {
  display: none;
}
.empty-icon {
  font-size: 30px;
  margin-bottom: 12px;
}
.empty-state h3 {
  margin: 0;
  font-size: 15px;
}
.empty-state p {
  font-size: 11px;
  color: #8a8c94;
  margin: 8px 0 17px;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 17px;
}
.search-box {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #eeedf1;
  border-radius: 0 !important;
  padding: 0 12px;
  flex: 1;
  color: #92949b;
}
.search-box span {
  font-size: 20px;
}
.search-box input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  font-size: 11px;
}
.toolbar select,
.full-select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #eeedf1;
  background: white;
  border-radius: 0 !important;
  color: #555760;
  font-size: 11px;
}
.purchase-summary {
  margin-bottom: 14px;
}
.purchase-summary .text-button {
  margin-left: auto;
}
.text-button {
  border: 0;
  background: none;
  color: #d27138;
  font-size: 11px;
}
.purchase-list {
  display: grid;
  gap: 8px;
}
.purchase-row {
  border: 1px solid #fff;

  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.purchase-row input {
  accent-color: #d9793e;
  width: 16px;
  height: 16px;
}
.purchase-row .purchase-name {
  font-size: 12px;
  flex: 1;
}
.purchase-row.checked .purchase-name {
  text-decoration: line-through;
  color: #a3a4aa;
}
.purchase-row small {
  font-size: 10px;
  color: #999ba2;
}
.purchase-delete {
  border: 0;
  background: transparent;
  color: #a1a2a9;
  font-size: 17px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.settings-card {
  background: #ffffffdf;
  border: 1px solid #fff;

  box-shadow: 0 5px 20px #22232b05;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.card-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.settings-icon {
  width: 33px;
  height: 33px;
  font-size: 14px;
}
.card-heading h2 {
  font-size: 13px;
  margin: 0;
  letter-spacing: -0.2px;
}
.settings-card > p {
  margin: 0 0 15px;
}
.small {
  height: 32px;
  padding: 0 11px;
  font-size: 10px;
}
.menu-table {
  display: grid;
}
.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #efeff2;
  padding: 10px 0;
  font-size: 11px;
}
.menu-row strong {
  font-size: 11px;
}
.menu-row button {
  border: 0;
  background: transparent;
  color: #a0a1a7;
  font-size: 15px;
}
.menu-empty {
  font-size: 10px;

  text-align: center;
  padding: 13px 0;
  border-top: 1px solid #efeff2;
}
.menu-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.upload-button {
  height: 31px;
  border-radius: 0 !important;
  background: #f3f3f6;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  color: #64666e;
  cursor: pointer;
}
.menu-upload span,
.helper-text {
  font-size: 9px;
  color: #9a9ca3;
  line-height: 1.6;
}
.field-label {
  display: block;
  font-size: 10px;
  color: #73757c;
  margin-bottom: 7px;
}
.full-select {
  width: 100%;
  margin-bottom: 10px;
}
.full-button {
  width: 100%;
  height: 40px;
}
.helper-text {
  display: block;
  margin-top: 8px;
}
.beta-pill {
  border-radius: 0 !important;
  background: #eee8fc;
  color: #8061c9;
  font-size: 8px;
  letter-spacing: 0.7px;
  padding: 5px 7px;
  font-weight: 700;
}
.button-pair {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.button-pair .secondary-button {
  height: 36px;
  font-size: 10px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;

  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s,
    visibility 0.22s;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  width: min(490px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;

  border-radius: 0 !important;
  padding: 25px;

  transform: translateY(12px) scale(0.985);
  transition: transform 0.22s;
}
.open .modal {
  transform: translateY(0) scale(1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 23px;
}
.modal-header h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.7px;
}
.modal form {
  display: grid;
  gap: 15px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.form-field {
  display: grid;
  gap: 7px;
}
.form-field > span {
  font-size: 10px;
  color: #686a72;
  font-weight: 550;
}
.form-field i {
  font-style: normal;
  color: #a3a4aa;
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #e9e9ed;
  border-radius: 0 !important;
  background: white;
  outline: 0;
  padding: 10px 11px;
  font-size: 11px;
  transition:
    border 0.16s,
    box-shadow 0.16s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #e8a174;
  box-shadow: 0 0 0 3px #e9a17320;
}
.form-field textarea {
  resize: vertical;
}
.compact {
  align-items: end;
}
.quantity-control {
  display: flex;
  height: 38px;
  align-items: center;
  border: 1px solid #e9e9ed;
  border-radius: 0 !important;
  background: white;
  overflow: hidden;
}
.quantity-control button {
  height: 100%;
  width: 37px;
  border: 0;
  background: #f7f7f8;
  color: #666;
}
.quantity-control input {
  border: 0;
  text-align: center;
  padding: 0;
  box-shadow: none !important;
  appearance: textfield;
}
.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  appearance: none;
}
.toast {
  position: fixed;
  z-index: 100;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 10px 16px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 246, 0.82));
  color: #26332d;
  box-shadow:
    0 14px 42px rgba(25, 39, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
  transform: translate(-50%, -14px) scale(0.96);
  transition:
    opacity 0.24s ease,
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.32s ease;
}
.toast.show {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, 0) scale(1);
}
.mobile-nav {
  display: none;
}
@media (max-width: 900px) {
  .sidebar {
    width: 210px;
  }
  .main-area {
    margin-left: 210px;
  }
  .page-wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .stats-row {
    gap: 9px;
  }
  .stat-card {
    padding: 14px;
    gap: 9px;
  }
  .order-card {
    grid-template-columns: 1fr auto;
  }
  .order-main {
    grid-column: 1;
  }
  .order-middle {
    grid-column: 1;
  }
  .order-right {
    grid-column: 2;
    grid-row: 1/3;
  }
}
@media (max-width: 640px) {
  body {
    background:
      linear-gradient(135deg, rgba(248, 248, 250, 0.96), rgba(247, 247, 249, 0.97)),
      url("assets/pattern.svg") center/cover fixed;
  }
  .main-area {
    margin-left: 0;
  }
  .mobile-brand {
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    padding: 0;
    color: #292a30;
    font-size: 13px;
  }
  .today-label {
    font-size: 10px;
  }
  .profile-button {
    width: 30px;
    height: 30px;
  }
  .page-wrap {
    padding: 25px 17px 38px;
  }
  .page-heading {
    align-items: center;
    margin-bottom: 21px;
  }
  .page-subtitle {
    font-size: 10px;
    max-width: 250px;
    line-height: 1.5;
  }
  .page-heading > .primary-button,
  .page-heading > .secondary-button {
    height: 39px;
    padding: 0 12px;
    font-size: 10px;
    white-space: nowrap;
  }
  .stats-row {
    gap: 7px;
    margin-bottom: 27px;
  }
  .stat-card {
    padding: 11px 8px;
    gap: 7px;
    border-radius: 0 !important;
    min-width: 0;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
    border-radius: 0 !important;
    font-size: 13px;
  }
  .stat-label {
    font-size: 8px;
    white-space: nowrap;
  }
  .stat-card strong {
    white-space: nowrap;
  }
  .section-title-row h2 {
    font-size: 14px;
  }
  .muted {
    font-size: 9px;
  }
  .segmented button {
    padding: 0 8px;
    font-size: 9px;
  }
  .order-card {
    padding: 13px;
    gap: 7px;
    grid-template-columns: 1fr auto;
  }
  .order-id {
    font-size: 11px;
  }
  .order-time,
  .order-customer,
  .order-detail {
    font-size: 9px;
  }
  .order-product {
    font-size: 11px;
  }
  .order-right {
    gap: 8px;
    flex-wrap: wrap;
  }
  .order-price {
    font-size: 11px;
  }
  .status-select {
    max-width: 113px;
    padding: 7px;
    font-size: 9px;
  }
  .toolbar {
    gap: 7px;
  }
  .toolbar select {
    max-width: 118px;
    font-size: 9px;
    padding: 0 7px;
  }
  .search-box {
    height: 38px;
  }
  .search-box input {
    font-size: 10px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .settings-card {
    padding: 16px;
  }
  .purchase-summary {
    padding: 14px;
  }
  .purchase-summary .text-button {
    font-size: 9px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 10;

    grid-template-columns: repeat(4, 1fr);
    left: 9px;
    right: 9px;
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 6px;
    background: #fffffff0;
    border: 1px solid #ffffff;
    border-radius: 0 !important;
    box-shadow: 0 7px 30px #22232a18;
    backdrop-filter: blur(22px);
  }
  .mobile-nav button {
    display: grid;
    justify-items: center;
    gap: 3px;
    border: 0;
    background: transparent;
    color: #858790;
    font-size: 9px;
    padding: 5px;
  }
  .mobile-nav button span {
    font-size: 17px;
    line-height: 1;
  }
  .mobile-nav button.active {
    color: #d76f34;
    font-weight: 600;
  }
  .modal-backdrop {
    align-items: end;
    padding: 0;
  }
  .modal {
    width: 100%;
    max-height: 91dvh;
    border-radius: 0 !important;
    padding: 22px 18px max(24px, env(safe-area-inset-bottom));
    transform: translateY(20px);
  }
  .form-grid {
    gap: 8px;
  }
  .form-field > span {
    font-size: 9px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 11px;
  }
  .toast {
    top: max(12px, env(safe-area-inset-top));
    max-width: calc(100vw - 24px);
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 10px 14px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sidebar {
  position: sticky;
  inset: 0 0 auto;
  width: 100%;
  height: auto;

  flex-direction: row;
  align-items: center;

  border-right: 0;
}
.side-nav {
  display: flex;
  align-items: center;
}
.nav-item {
  height: 40px;
  white-space: nowrap;
}
.nav-divider,
.sidebar-bottom {
  display: none;
}
.main-area {
  margin-left: 0;
}
@media (max-width: 640px) {
  .sidebar {
    position: sticky;
    z-index: 8;

    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .side-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .nav-item {
    justify-content: center;

    font-size: 9px;
  }
  .nav-icon {
    font-size: 15px;
  }
  .nav-count {
    margin-left: 0;
    padding: 2px 5px;
    font-size: 8px;
  }
  .main-area {
    padding-bottom: 0;
  }
  .topbar {
    height: 42px;
    padding: 0 16px;
  }
  .mobile-brand {
    display: none;
  }
  .page-wrap {
    padding-top: 21px;
  }
  .mobile-nav {
    display: none;
  }
}

.sidebar {
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 58px);
  gap: clamp(18px, 4vw, 58px);
}
.side-nav {
  padding: 5px;

  border-radius: 0 !important;
  gap: 3px;
}
.nav-item {
  position: relative;
  padding: 0 13px;
  gap: 8px;

  font-size: 11px;
  font-weight: 550;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.nav-item:hover {
  transform: translateY(-1px);
}
.nav-item.active {
  font-weight: 650;
}
.nav-item.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;

  border-radius: 0 !important;

  transform: translateX(-50%);
}
.nav-icon {
  height: 25px;
  width: 25px;
  display: grid;
  place-items: center;
  border-radius: 0 !important;
  color: #89847f;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-count {
  margin-left: 0;

  border-radius: 0 !important;
  padding: 3px 6px;
  font-weight: 650;
  font-size: 9px;
}
@media (max-width: 640px) {
  .sidebar {
    gap: 9px;
    padding: 9px 14px 8px;
  }
  .side-nav {
    padding: 4px;
    gap: 2px;
    border-radius: 0 !important;
  }
  .nav-item {
    gap: 4px;
    padding: 0 2px;
    line-height: 1.05;
    white-space: normal;
  }
  .nav-icon {
    height: 22px;
    width: 22px;
  }
  .nav-icon svg {
    width: 15px;
    height: 15px;
  }
  .nav-item.active::after {
    bottom: 2px;
    width: 10px;
  }
}

body {
  background-color: #e8eeec;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(236, 164, 121, 0.25), transparent 32%),
    radial-gradient(ellipse at 86% 22%, rgba(111, 167, 157, 0.24), transparent 36%),
    linear-gradient(130deg, rgba(247, 249, 248, 0.73), rgba(247, 247, 249, 0.84)),
    url("assets/pattern.svg");
  background-size: auto, auto, auto, 520px;
  background-attachment: fixed;
}
.sidebar {
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(30px) saturate(155%);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 36px rgba(34, 54, 49, 0.07);
}
.side-nav {
  background: rgba(231, 236, 234, 0.49);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 #ffffffa8,
    0 6px 18px #34443d0b;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.nav-item {
  color: #696e6b;
}
.nav-item:hover {
  background: #ffffff71;
  color: #343b37;
}
.nav-item.active {
  color: #29423c;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 249, 0.79));
  box-shadow:
    0 4px 12px rgba(49, 65, 58, 0.12),
    inset 0 1px 0 #fff;
}
.nav-item.active::after {
  width: 22px;
  height: 3px;
  background: linear-gradient(90deg, #e47a40, #f2b267);
  box-shadow: 0 0 9px #ec986f99;
}
.nav-item.active .nav-icon {
  background: linear-gradient(145deg, #fff0e5, #f8dfcf);
  color: #ce6532;
}
.nav-count {
  background: linear-gradient(135deg, #f9e1d1, #f1cbb4);
  color: #ad552c;
}
.page-wrap {
  max-width: 1200px;
}
.page-heading h1 {
  font-size: 34px;
  letter-spacing: -1.35px;
  color: #202b27;
}
.eyebrow {
  color: #77837e;
  letter-spacing: 1.7px;
}
.page-subtitle {
  color: #7f8985;
}
.primary-button {
  background: linear-gradient(135deg, #ec8b4f, #d76932);
  box-shadow:
    0 7px 18px #d96e3740,
    inset 0 1px 0 #ffffff50;
}
.primary-button:hover {
  background: linear-gradient(135deg, #e47c40, #c95a28);
  box-shadow: 0 9px 22px #d96e3754;
}
.secondary-button {
  background: rgba(255, 255, 255, 0.61);
  border: 1px solid rgba(255, 255, 255, 0.83);
  box-shadow:
    0 3px 12px #31443b0a,
    inset 0 1px 0 #fff;
  color: #52615a;
  backdrop-filter: blur(18px);
}
.secondary-button:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px #31443b12;
}
.stat-card,
.purchase-summary,
.order-card,
.settings-card,
.empty-state {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 12px 32px rgba(37, 58, 50, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
}
.stat-card::before,
.settings-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  pointer-events: none;
}
.stat-card {
  min-height: 86px;
}
.stat-icon {
  box-shadow: inset 0 1px 0 #ffffffa8;
}
.order-card:hover {
  box-shadow:
    0 15px 34px rgba(37, 58, 50, 0.13),
    inset 0 1px 0 #fff;
  transform: translateY(-2px);
}
.status-select {
  box-shadow: inset 0 1px 0 #ffffffad;
}
.empty-state {
  padding: 59px 20px;
  border-radius: 0 !important;
}
.empty-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff2e8, #f5dbca);
  color: #d46c36;
  box-shadow:
    0 8px 20px #d877381c,
    inset 0 1px 0 #fff;
}
.empty-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-jumpbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: -5px 0 15px;
  padding: 8px;
  border-radius: 0 !important;
  background: rgba(232, 238, 235, 0.43);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 #ffffffc9,
    0 8px 24px #31443b08;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.settings-jumpbar button {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  padding: 0 13px;
  text-align: left;
  color: #39423e;
  background: transparent;
  transition: all 0.18s;
}
.settings-jumpbar button:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: #ffffff;
  box-shadow: 0 4px 13px #31443b10;
  transform: translateY(-1px);
}
.settings-jumpbar button > span {
  font-size: 9px;
  font-weight: 700;
  color: #cb7549;
  letter-spacing: 0.5px;
}
.settings-jumpbar button strong {
  font-size: 10px;
  font-weight: 600;
  flex: 1;
}
.settings-jumpbar button i {
  font-style: normal;
  color: #969e99;
  font-size: 15px;
}
.settings-card {
  scroll-margin-top: 100px;
  padding: 21px;
  border-radius: 0 !important;
}
.settings-card .muted {
  font-size: 11px;
  color: #79847f;
  line-height: 1.75;
}
.settings-card .card-heading {
  margin-bottom: 12px;
}
.settings-card .card-heading h2 {
  font-size: 14px;
  color: #28332e;
}
.settings-icon {
  box-shadow: inset 0 1px 0 #ffffffaf;
}
.settings-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #ffffffb8;
  color: #87918c;
  font-size: 9px;
}
.tiny-dot {
  width: 6px;
  height: 6px;
  border-radius: 0 !important;
  background: #e68b54;
  box-shadow: 0 0 0 3px #e68b541a;
}
.menu-row {
  border-color: #ffffffa6;
}
.menu-empty {
  border-color: #ffffffa6;
  color: #89938e;
}
.full-select,
.toolbar select,
.search-box,
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.73);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 2px #33493e0a,
    0 2px 8px #33493e08;
  backdrop-filter: blur(16px);
}
.purchase-row {
  background: rgba(255, 255, 255, 0.66);
  border-color: #ffffffd9;
  border-radius: 0 !important;
  box-shadow: 0 7px 20px #26382f09;
  backdrop-filter: blur(20px);
}
.modal-backdrop {
  background: rgba(31, 47, 41, 0.35);
  backdrop-filter: blur(12px) saturate(125%);
}
.modal {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 248, 0.93));
  border: 1px solid #ffffff;
  box-shadow:
    0 30px 90px #17282040,
    inset 0 1px 0 #fff;
}
@media (max-width: 640px) {
  body {
    background-size: auto, auto, auto, 390px;
  }
  .sidebar {
    background: rgba(255, 255, 255, 0.64);
  }
  .side-nav {
    background: rgba(228, 235, 231, 0.6);
  }
  .nav-item {
    height: 40px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .stat-card {
    min-height: 78px;
    background: linear-gradient(145deg, #ffffffc9, #ffffff8a);
    backdrop-filter: blur(20px);
  }
  .stat-card strong {
    font-size: 12px;
  }
  .order-card {
    background: linear-gradient(145deg, #ffffffd9, #ffffffa8);
  }
  .settings-jumpbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
    border-radius: 0 !important;
  }
  .settings-jumpbar button {
    min-height: 43px;
    padding: 0 8px;
    gap: 7px;
    border-radius: 0 !important;
  }
  .settings-jumpbar button strong {
    font-size: 9px;
  }
  .settings-jumpbar button > span {
    font-size: 8px;
  }
  .settings-card .muted {
    font-size: 10px;
  }
  .empty-state {
    padding: 44px 18px;
  }
}
:root {
  --storage-warning-bg: #fff1e8;
  --storage-warning-border: #d97842;
}
#storageReadWarning {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  padding: 12px 20px;
  color: #512a17;
  background: var(--storage-warning-bg);
  border-bottom: 2px solid var(--storage-warning-border);
  font-size: 14px;
  line-height: 1.45;
}
#storageReadWarning strong {
  font-weight: 700;
}

body {
  background-color: #e8eeec;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(236, 164, 121, 0.25), transparent 32%),
    radial-gradient(ellipse at 86% 22%, rgba(111, 167, 157, 0.24), transparent 36%),
    linear-gradient(130deg, rgba(247, 249, 248, 0.73), rgba(247, 247, 249, 0.84)),
    url("assets/pattern.svg");
  background-size: auto, auto, auto, 520px;
  background-attachment: fixed;
}
.sidebar {
  min-height: 74px;

  -webkit-backdrop-filter: blur(30px) saturate(155%);
}
.side-nav {
  padding: 5px;
  background: rgba(231, 236, 234, 0.49);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 #ffffffa8,
    0 6px 18px #34443d0b;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.page-heading h1 {
  color: #202b27;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.83);
  box-shadow:
    0 3px 12px #31443b0a,
    inset 0 1px 0 #fff;

  backdrop-filter: blur(18px);
}
.secondary-button:hover {
  box-shadow: 0 6px 16px #31443b12;
}

.menu-row {
  border-color: #ffffffa6;
  gap: 10px;
}
.menu-row > span:first-child {
  min-width: 0;
}
.menu-row > span:first-child > strong {
  display: inline;
  font-size: 10px;
}
.menu-row > span:last-child {
  white-space: nowrap;
}
.menu-category {
  display: block;
  margin-top: 3px;
  color: #a0a8a3;
  font-size: 8px;
  letter-spacing: 0.4px;
}

.promo-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48px minmax(190px, 1.2fr) auto auto;
  align-items: center;
  gap: 15px;
  margin: -8px 0 17px;
  padding: 15px 20px;
  border-radius: 0 !important;
  background: linear-gradient(
    105deg,
    rgba(27, 31, 38, 0.96),
    rgba(41, 44, 48, 0.92) 65%,
    rgba(56, 43, 35, 0.91)
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 15px 34px rgba(28, 32, 35, 0.22),
    inset 0 1px 0 #ffffff35;
  backdrop-filter: blur(24px);
  color: #fff;
}
.promo-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(#e9ad32 0 50%, #e32b3c 50%);
  box-shadow: 0 0 15px #e94e34a3;
}
.promo-banner::after {
  content: "";
  position: absolute;
  right: 22%;
  top: -58px;
  width: 170px;
  height: 170px;
  border-radius: 0 !important;
  background: #ecaa3020;
  filter: blur(26px);
  pointer-events: none;
}
.promo-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 0 !important;
  background: linear-gradient(140deg, #f4b72e, #de7b28);
  box-shadow:
    0 6px 16px #e79c2d55,
    inset 0 1px 0 #fff8;
}
.promo-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #292c31;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.promo-copy,
.promo-price,
.promo-phone {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}
.promo-kicker {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #ffd151;
  font-weight: 750;
}
.promo-copy > strong {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.promo-copy > span:last-child {
  font-size: 9px;
  color: #c2c6c8;
}
.promo-price {
  padding-left: 16px;
  border-left: 1px solid #ffffff35;
  white-space: nowrap;
}
.promo-price > strong {
  font-size: 21px;
  line-height: 1;
  color: #ffd14d;
  font-style: italic;
  letter-spacing: -0.7px;
}
.promo-price small {
  font-size: 12px;
}
.promo-price > span {
  font-size: 9px;
  color: #f0f1ef;
}
.promo-phone {
  padding-left: 16px;
  border-left: 1px solid #ffffff35;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.promo-phone span {
  font-size: 8px;
  color: #b9c0bf;
}
.promo-phone strong {
  font-size: 11px;
  letter-spacing: 0.3px;
}
.promo-phone:hover strong {
  color: #ffd14d;
}
@media (max-width: 860px) {
  .promo-banner {
    grid-template-columns: 42px minmax(160px, 1fr) auto;
    gap: 11px;
    padding: 13px 15px;
  }
  .promo-phone {
    grid-column: 2/4;
    border-left: 0;
    border-top: 1px solid #ffffff2b;
    padding: 7px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .promo-price {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 640px) {
  .side-nav {
    gap: 2px;
  }

  .nav-item {
    gap: 4px;

    line-height: 1.05;
    white-space: normal;
  }

  .nav-count {
    padding: 2px 5px;
    font-size: 8px;
  }

  .stats-row {
    gap: 7px;
  }

  .promo-banner {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 9px;
    margin: -5px 0 14px;
    padding: 12px;
    border-radius: 0 !important;
  }
  .promo-mark {
    width: 35px;
    height: 35px;
    border-radius: 0 !important;
  }
  .promo-mark svg {
    width: 21px;
    height: 21px;
  }
  .promo-kicker {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .promo-copy > strong {
    font-size: 15px;
  }
  .promo-copy > span:last-child {
    font-size: 8px;
  }
  .promo-price {
    padding-left: 8px;
  }
  .promo-price > strong {
    font-size: 17px;
  }
  .promo-price > span {
    font-size: 8px;
  }
  .promo-phone {
    grid-column: 2/4;
  }
}
.sidebar {
  position: sticky;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 3vw, 42px);
  padding: 9px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.91);
  border-right: 0;
  border-bottom: 1px solid #e6e8e4;
  box-shadow: 0 4px 18px rgba(33, 30, 27, 0.035);
  backdrop-filter: blur(18px);
}
.sidebar-branding {
  display: grid;
  gap: 3px;
  flex: none;
}
.brand-lockup {
  height: 35px;
  min-width: 218px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid #ffffff30;
  border-radius: 0 !important;
  background: linear-gradient(110deg, #202329, #34363a);
  box-shadow:
    0 4px 12px #20232920,
    inset 0 1px 0 #ffffff18;
  text-decoration: none;
}
.sidebar-product {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 4px;
  color: #707773;
  font-size: 9px;
  line-height: 1.1;
}
.sidebar-product strong {
  color: #59635d;
  font-size: 9px;
}
.sidebar-product small {
  font-size: 9px;
}
.side-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  width: auto;
  overflow-x: auto;
  border-radius: 0 !important;
  scrollbar-width: none;
}
.side-nav::-webkit-scrollbar {
  display: none;
}
.nav-item {
  height: 42px;
  min-width: max-content;
  flex: none;
  padding: 0 11px;
  font-size: 12px;
  color: #454e49;
}
.nav-item.active {
  color: #282f2b;
  background: #fff;
  box-shadow: 0 2px 8px #26382e1b;
}
.nav-item.active .nav-icon {
  background: #fff0e1;
  color: #a84d20;
}
.sidebar-bottom {
  display: none;
}
.main-area {
  margin: 0;
  min-height: calc(100vh - 74px);
}
.page-wrap {
  margin: 0 auto;
  padding: 37px clamp(24px, 5vw, 70px) 60px;
}
.page-heading h1 {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.primary-button {
  background: #e47736;
  color: #fff;
  box-shadow: 0 5px 12px #e2773633;
}
.primary-button:hover {
  background: #cc6124;
  box-shadow: 0 7px 16px #e277363d;
}
.secondary-button {
  background: #fff;
  color: #343c37;
  border-color: #e0e5e1;
}
.secondary-button:hover {
  background: #f5f5f7;
}
.order-card {
  border-left: 1px solid #e2e7e3;
  border-radius: 0 !important;
  background: #fff;
}
.settings-metrics {
  grid-column: 1/-1;
}
.settings-disclosure summary {
  border-color: #e6d7c6;
  background: #fff4e8;
  color: #a84d20;
}
.settings-disclosure .stat-card {
  background: #fff;
}
@media (max-width: 1050px) and (min-width: 641px) {
  .sidebar {
    gap: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }
  .sidebar-branding {
    min-width: 190px;
  }
  .brand-lockup {
    min-width: 190px;
  }
  .side-nav {
    justify-content: flex-start;
  }
  .nav-item {
    padding: 0 9px;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .sidebar {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 8px 12px 7px;
  }
  .sidebar-branding {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 9px;
  }
  .brand-lockup {
    height: 34px;
    min-width: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
  }
  .sidebar-product {
    grid-column: 2;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: -3px;
    font-size: 8px;
  }
  .sidebar-product strong,
  .sidebar-product small {
    font-size: 8px;
  }
  .side-nav {
    flex: none;
    justify-content: flex-start;
    margin: 0 -12px;
    padding: 4px 9px;
    border: 0;
    border-top: 1px solid #e6ebe7;
    border-radius: 0 !important;
    background: #f7f8f7;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-item {
    height: 39px;
    padding: 0 9px;
    font-size: 10px;
  }
  .main-area {
    min-height: calc(100vh - 100px);
  }
  .page-wrap {
    padding: 22px 14px 34px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .page-actions #newOrderButton {
    grid-column: 1/-1;
  }
  .page-actions #resetOrderNumbers {
    grid-column: 1/-1;
  }
  .settings-metrics {
    grid-column: auto;
  }
  .settings-disclosure .stats-row {
    grid-template-columns: 1fr;
  }
}

:root {
  color: #1e2622;
  font-size: 15px;
}
.hidden {
  display: none;
}
body {
  color: #1e2622;

  background-size: cover;
  background-attachment: fixed;
}
.sidebar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #e2e7e3;
  box-shadow: 0 5px 22px #24332a12;
  backdrop-filter: blur(18px);
}
.side-nav {
  flex: 1;

  background: #f3f5f3;
  border-color: #e6eae7;
  box-shadow: none;
  backdrop-filter: none;
}
.nav-item {
  font-size: 13px;
  color: #454e49;
}

.nav-count {
  font-size: 11px;
}
.nav-icon {
  flex: none;
}
.main-area {
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
}
.page-wrap {
  flex: 1;
}
.page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.page-actions button {
  white-space: nowrap;
}
.app-footer {
  justify-content: center;

  padding: 15px 20px 18px;
  border-top: 1px solid #e3e8e4;
  background: #ffffffc9;
  backdrop-filter: blur(16px);
}
.app-footer a {
  color: #59645e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}
.app-footer a:hover {
  color: #b45a29;
}
.page-heading h1 {
  font-size: 35px;
  color: #1d2521;
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.eyebrow {
  font-size: 11px;
  color: #56645d;
  letter-spacing: 1.25px;
}
.page-subtitle {
  font-size: 14px;
  color: #59645e;
  line-height: 1.5;
}
.primary-button,
.secondary-button {
  font-size: 13px;
  min-height: 44px;
}
.secondary-button {
  color: #343c37;
  border-color: #e0e5e1;
  background: #fff;
}
.stats-row {
  gap: 16px;
}
.stat-card {
  min-height: 94px;
  padding: 19px 20px;
  background: #fffffff5;
  border-color: #e2e8e3;
  box-shadow: 0 7px 20px #2939300d;
}
.stat-label {
  font-size: 13px;
  color: #4f5b54;
  margin-bottom: 5px;
}
.stat-card strong,
.purchase-summary strong {
  font-size: 21px;
  color: #1e2923;
}
.stat-icon {
  width: 42px;
  height: 42px;
  font-size: 18px;
}
.section-title-row h2,
.catalog-heading h2 {
  font-size: 17px;
  color: #202923;
}
.muted {
  font-size: 13px;
  color: #535f58;
  line-height: 1.55;
}
.section-title-row .muted {
  font-size: 12px;
}
.segmented button {
  font-size: 12px;
  height: 32px;
  padding: 0 13px;
  color: #424944;
}
.order-card {
  padding: 18px 20px;
  border-radius: 0 !important;
  background: #fff;
  border-color: #e2e7e3;
  box-shadow: 0 5px 16px #2231280c;
}
.order-id,
.order-product {
  font-size: 14px;
  color: #232b26;
}
.order-time,
.order-customer,
.order-detail {
  font-size: 12px;
  color: #59635d;
}
.order-price {
  font-size: 15px;
  color: #1c2721;
}
.status-select {
  font-size: 12px;
  max-width: 140px;
  padding: 9px 11px;
}
.empty-state {
  background: #fff;
  border-color: #e4e9e5;
}
.empty-state h3 {
  font-size: 17px;
  color: #212a25;
}
.empty-state p {
  font-size: 13px;
  color: #515d56;
}
.toolbar select,
.search-box {
  height: 46px;
}
.search-box input,
.toolbar select {
  font-size: 13px;
  color: #303a34;
}
.purchase-summary,
.purchase-row {
  background: #fff;
  border-color: #e2e7e3;
}
.purchase-row {
  padding: 15px 17px;
}
.purchase-row .purchase-name {
  font-size: 14px;
  color: #27312b;
}
.purchase-row small {
  font-size: 12px;
  color: #58645d;
}
.text-button {
  font-size: 12px;
}
.settings-grid {
  gap: 16px;
}
.settings-card {
  padding: 23px;
  background: #fff;
  border-color: #e2e7e3;
  box-shadow: 0 7px 22px #2231280d;
  backdrop-filter: none;
}
.settings-card .card-heading h2 {
  font-size: 17px;
  color: #202923;
}
.settings-card .muted {
  font-size: 14px;
  color: #4d5952;
  line-height: 1.6;
}
.field-label,
.form-field > span {
  font-size: 13px;
  color: #3d4841;
}
.full-select,
.toolbar select,
.form-field input,
.form-field select,
.form-field textarea {
  height: 46px;
  padding: 11px 13px;
  font-size: 14px;
  color: #202923;
  background: #fff;
  border: 1px solid #d6ded8;
  border-radius: 0 !important;
  box-shadow: none;
  backdrop-filter: none;
}
.form-field textarea {
  height: auto;
}
.helper-text,
.settings-footnote {
  font-size: 12px;
  color: #59655e;
  line-height: 1.55;
}
.button-pair .secondary-button {
  font-size: 13px;
  min-height: 42px;
}
.menu-row {
  border-color: #e4e9e5;
}
.menu-row > span:first-child > strong {
  font-size: 14px;
  color: #202923;
}
.menu-row .muted {
  font-size: 12px;
  color: #59645d;
}
.menu-row > span:last-child > strong {
  color: #252e29;
}
.menu-row button {
  padding: 0 6px;
}
.menu-category {
  font-size: 11px;
  color: #58645d;
  letter-spacing: 0.2px;
}
.menu-empty {
  font-size: 14px;
  color: #58645d;
}
.beta-pill {
  font-size: 10px;
  letter-spacing: 0.8px;
  padding: 6px 9px;
}
.promo-kicker {
  font-size: 10px;
}
.promo-copy > strong {
  font-size: 21px;
}
.promo-copy > span:last-child,
.promo-price > span,
.promo-phone span,
.promo-phone small {
  font-size: 11px;
  color: #e1e4e3;
}
.promo-price > strong {
  font-size: 23px;
}
.promo-phone strong {
  font-size: 13px;
}
.modal form {
  gap: 17px;
}
.form-field input::placeholder,
.form-field textarea::placeholder,
.menu-add-form input::placeholder {
  color: #68736d;
  opacity: 1;
  font-size: 13px;
}
.menu-add-form {
  display: grid;

  align-items: end;

  background: #fff;
  border: 1px solid #e0e6e1;
  border-radius: 0 !important;
  box-shadow: 0 6px 18px #2939300d;
}
.menu-add-form label {
  display: grid;

  min-width: 0;
}
.menu-add-form label > span {
  font-size: 13px;

  color: #313b35;
}
.menu-add-form input,
.menu-add-form select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #d4dcd6;
  border-radius: 0 !important;
  background: #fff;
  color: #212a25;
  font: inherit;
  font-size: 14px;
}
.menu-add-form button {
  white-space: nowrap;
}
.menu-catalog-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e0e6e1;
  border-radius: 0 !important;
  box-shadow: 0 6px 18px #2939300d;
}
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.catalog-heading h2 {
  margin: 0;
}
.settings-simple {
  max-width: 920px;
  grid-template-columns: 1fr 1fr;
}
.business-info {
  display: grid;
  gap: 0;
}
.business-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #e8ece9;
}
.business-info > div:first-child {
  border-top: 0;
}
.business-info span {
  font-size: 13px;
  color: #4d5952;
}
.business-info strong,
.business-info a {
  font-size: 14px;
  font-weight: 650;
  color: #202923;
  text-decoration: none;
  text-align: right;
}
.business-info a:hover {
  color: #ba5b2b;
  text-decoration: underline;
}
@media (max-width: 1050px) {
  .sidebar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 18px;
  }
  .main-area {
    min-height: calc(100vh - 104px);
  }
  .side-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .side-nav::-webkit-scrollbar {
    display: none;
  }
  .nav-item {
    flex: none;
  }
  .menu-add-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  :root {
    font-size: 14px;
  }
  .sidebar {
    padding: 7px 12px 9px;
    gap: 4px;
    background: #fffffffa;
  }
  .main-area {
    min-height: calc(100vh - 92px);
  }
  .page-actions {
    gap: 7px;
  }
  .page-actions button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 12px;
  }
  .side-nav {
    margin: 0 -12px;
    padding: 4px 10px;
    border: 0;
    border-top: 1px solid #e6ebe7;
    border-radius: 0 !important;
    background: #f7f8f7;
  }
  .nav-item {
    height: 43px;
    padding: 0 10px;
    gap: 7px;
    font-size: 12px;
  }
  .nav-icon {
    height: 28px;
    width: 28px;
  }
  .nav-icon svg {
    width: 18px;
    height: 18px;
  }
  .nav-count {
    font-size: 10px;
  }
  .nav-item.active::after {
    bottom: 1px;
  }
  .page-wrap {
    padding: 20px 14px 30px;
  }
  .page-heading {
    align-items: center;
    gap: 10px;
  }

  .page-subtitle {
    font-size: 13px;
  }
  .page-heading > .primary-button,
  .page-heading > .secondary-button {
    height: 43px;
    padding: 0 11px;
    font-size: 12px;
  }

  .stat-card {
    min-height: 78px;
    padding: 11px 9px;
    gap: 8px;
  }
  .stat-icon {
    height: 31px;
    width: 31px;
    font-size: 15px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-card strong {
    font-size: 15px;
  }
  .section-title-row h2 {
    font-size: 16px;
  }
  .segmented button {
    font-size: 11px;
    padding: 0 10px;
  }
  .order-id,
  .order-product {
    font-size: 13px;
  }
  .order-time,
  .order-customer,
  .order-detail {
    font-size: 12px;
  }
  .status-select {
    max-width: 125px;
    font-size: 11px;
    padding: 8px;
  }
  .toolbar select,
  .search-box {
    height: 44px;
  }
  .search-box input,
  .toolbar select {
    font-size: 12px;
  }
  .purchase-row {
    padding: 13px 11px;
  }
  .purchase-row .purchase-name {
    font-size: 13px;
  }
  .purchase-row small {
    font-size: 11px;
  }
  .settings-grid,
  .settings-simple {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .settings-card {
    padding: 17px;
  }
  .settings-card .card-heading h2 {
    font-size: 16px;
  }
  .settings-card .muted {
    font-size: 13px;
  }
  .field-label,
  .form-field > span {
    font-size: 12px;
  }
  .full-select,
  .form-field input,
  .form-field select,
  .form-field textarea {
    height: 45px;
    font-size: 14px;
  }
  .helper-text,
  .settings-footnote {
    font-size: 12px;
  }
  .menu-add-form label > span {
    font-size: 12px;
  }
  .menu-add-form button {
    grid-column: 1/-1;
    width: 100%;
  }
  .menu-catalog-card {
    padding: 17px 14px;
  }
  .catalog-heading h2 {
    font-size: 16px;
  }
  .menu-row > span:first-child > strong {
    font-size: 13px;
  }
  .menu-row .muted {
    font-size: 11px;
  }
  .menu-category {
    font-size: 10px;
  }
  .modal-header h2 {
    font-size: 22px;
  }
  .form-grid {
    gap: 9px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 13px;
  }
  .business-info > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .business-info strong,
  .business-info a {
    text-align: left;
  }
}
.app-footer {
  align-items: center;
  gap: 0;
}
.app-footer a {
  padding: 0 13px;
  line-height: 1.2;
}
.app-footer a + a {
  border-left: 1px solid #d9dfdb;
}
.menu-add-form {
  grid-template-columns:
    minmax(190px, 1.55fr) minmax(140px, 1fr) minmax(155px, 1.1fr)
    minmax(120px, 0.8fr) auto;
  gap: 12px;
  padding: 22px;
  margin: 0 0 18px;
}
.menu-add-form label {
  gap: 8px;
}
.menu-add-form label > span {
  font-weight: 650;
}
.menu-add-form button {
  min-width: 164px;
  height: 46px;
}
.catalog-heading {
  margin-bottom: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8ece9;
}
.menu-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 11px 4px;
  border-top: 0;
  border-bottom: 1px solid #e9eeeb;
}
.menu-row > span:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 3px;
  min-width: 0;
}
.menu-row > span:first-child > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-row .muted {
  white-space: nowrap;
}
.menu-category {
  grid-column: 1/-1;
  margin: 0;
  line-height: 1.25;
}
.menu-row > span:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.menu-row > span:last-child > strong {
  font-size: 14px;
}
.menu-row button {
  width: 34px;
  height: 34px;
  border-radius: 0 !important;
  background: #f5f6f5;
  color: #69736d;
  font-size: 19px;
  line-height: 1;
}
.menu-row button:hover {
  background: #fff0e8;
  color: #bf5f31;
}
.menu-empty {
  padding: 26px 12px;
}
@media (max-width: 1050px) {
  .menu-add-form {
    gap: 12px;
  }
  .menu-add-form button {
    grid-column: auto;
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .app-shell,
  .main-area,
  .page-wrap {
    width: 100%;
    min-width: 0;
  }
  .page-wrap {
    overflow-x: hidden;
  }
  .app-footer {
    gap: 0;
    padding: 14px 10px calc(14px + env(safe-area-inset-bottom));
  }
  .app-footer a {
    padding: 0 10px;
    font-size: 11px;
  }
  .menu-add-form,
  .menu-catalog-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .menu-add-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
  }
  .menu-add-form label {
    width: 100%;
    min-width: 0;
  }
  .menu-add-form label:first-child {
    grid-column: 1/-1;
  }
  .menu-add-form input,
  .menu-add-form select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 10px;
    font-size: 14px;
  }
  .menu-add-form button {
    min-width: 0;
    min-height: 46px;
  }
  .catalog-heading {
    align-items: center;
    padding-bottom: 11px;
  }
  .menu-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 62px;
    padding: 10px 0;
  }
  .menu-row > span:first-child {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 7px;
  }
  .menu-row > span:last-child {
    gap: 5px;
  }
  .menu-row > span:last-child > strong {
    font-size: 13px;
  }
  .menu-row button {
    width: 31px;
    height: 31px;
  }
}

body {
  background-color: #f5f1e8;
  background-image:
    linear-gradient(135deg, rgba(250, 249, 245, 0.6), rgba(250, 248, 240, 0.54)),
    url("assets/pattern.svg");
  background-position: center;
}
.app-footer .footer-label {
  padding: 0 10px;
  color: #7a847e;
  font-size: 12px;
  font-weight: 600;
}
.sidebar {
  justify-content: center;
}
.side-nav {
  justify-content: center;
}
.app-footer {
  display: none;
}
.page#page-menu {
  width: 100%;
  min-width: 0;
}
.page#page-menu .page-heading {
  margin-bottom: 20px;
}
@media (max-width: 1050px) {
  .sidebar {
    justify-content: flex-start;
  }
  .side-nav {
    flex: 1;
  }
}
@media (max-width: 640px) {
  .sidebar {
    justify-content: flex-start;
  }
  .side-nav {
    flex: 1;
    justify-content: flex-start;
  }
}
.status-select[data-status="paid"] {
  background: #eaf2ff;
  color: #4b73b4;
}
@media (max-width: 640px) {
  .order-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 14px;
  }
  .order-main,
  .order-middle,
  .order-right {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
  }
  .order-right {
    justify-content: space-between;

    gap: 10px;
  }
  .order-price {
    font-size: 16px;
    white-space: nowrap;
  }
  .order-right .status-select {
    flex: 1;
    min-width: 0;
    max-width: none;

    font-size: 13px;
  }
  .page#page-orders .section-title-row {
    gap: 8px;
  }
  .page#page-orders .section-title-row .segmented {
    flex: none;
  }
  .page#page-orders .toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .page#page-orders .search-box,
  .page#page-orders .toolbar select {
    width: 100%;
    min-width: 0;
  }
}
.order-status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.next-status-button {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #e9874d, #d96a32);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 13px #d96e3730;
}
.next-status-button:active {
  transform: scale(0.98);
}
.order-card.kitchen-order.order-saving {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.order-card.kitchen-order.order-saving > * {
  position: relative;
  z-index: 1;
}
.order-card.kitchen-order.order-saving::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18px;
  width: calc(100% + 36px);
  z-index: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(
    110deg,
    rgba(179, 17, 43, 0.2) 0 8.457px,
    transparent 8.457px 16.914px
  );
  will-change: transform;
  backface-visibility: hidden;
  animation: order-status-loading 0.34s linear infinite;
}
.order-card.kitchen-order.order-saving .next-status-button {
  cursor: wait;
  opacity: 0.72;
}
@keyframes order-status-loading {
  to {
    transform: translate3d(18px, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .order-card.kitchen-order.order-saving::before {
    animation: none;
    will-change: auto;
  }
}
@media (max-width: 640px) {
  .order-right {
    flex-wrap: wrap;
  }
  .order-status-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: 8px;
  }
  .order-right .status-select {
    min-height: 44px;
  }
  .next-status-button {
    min-height: 44px;
    white-space: nowrap;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}
.employee-row-actions .employee-permission-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dce7e1;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f3f7f5);
  box-shadow: 0 4px 12px #31443b0a;
  color: #4e5d54;
  font-size: 12px;
  font-weight: 650;
}
.employee-row-actions .employee-permission-button.granted {
  border-color: #b8e2ce;
  background: linear-gradient(145deg, #effbf4, #dff4e8);
  color: #287a4e;
}
.settings-launch .settings-icon {
  width: 48px;
  height: 48px;
  border-radius: 0 !important;
  font-size: 24px;
  filter: saturate(1.22);
  box-shadow:
    0 8px 18px #30473912,
    inset 0 1px 0 #ffffffd9;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.settings-launch:hover .settings-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 12px 22px #3047391c,
    inset 0 1px 0 #ffffff;
}
.settings-icon.orange {
  background: linear-gradient(145deg, #fff0df, #ffd5b7);
  color: #cf652f;
}
.settings-icon.green {
  background: linear-gradient(145deg, #e9faee, #b8edca);
  color: #338451;
}
.settings-icon.blue {
  background: linear-gradient(145deg, #eaf3ff, #c9dcff);
  color: #4978bd;
}
.settings-icon.violet {
  background: linear-gradient(145deg, #f3edff, #dfd0ff);
  color: #7453b5;
}
@media (max-width: 640px) {
  .employee-row-actions .employee-permission-button {
    width: 100%;
  }
  .settings-launch .settings-icon {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}
@media (max-width: 640px) {
  .app-footer {
    flex-wrap: wrap;
    font-size: 10px;
  }
}
.cleanup-card {
  display: grid;
  gap: 14px;
}
.cleanup-card .catalog-section-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e6e3;
}
.cleanup-card .catalog-section-heading h3 {
  color: #26302c;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
.cleanup-card .catalog-section-heading p {
  max-width: 58ch;
  color: #626d67;
  line-height: 1.55;
}
.cleanup-action {
  --cleanup-progress: 0%;
  position: relative;
  display: flex;
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #a6332a;

  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  isolation: isolate;
}
.cleanup-action:focus-visible {
  outline: 3px solid #e9a45e;
  outline-offset: 2px;
}
.cleanup-action:disabled {
  cursor: wait;
  opacity: 1;
}
.cleanup-action-progress {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: var(--cleanup-progress);

  transition: width 0.04s linear;
}
.cleanup-action-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  text-align: center;
}
.cleanup-action-content strong {
  min-width: 88px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.cleanup-action.is-counting .cleanup-action-progress {
  background: #ba452d;
}
.cleanup-action.is-ready {
  cursor: pointer;
}
.cleanup-action.is-complete {
  border-color: #39453f;
  cursor: default;
}
.cleanup-card .helper-text {
  min-height: 0;
  margin: 0;
  color: #59655f;
  font-size: 13px;
  line-height: 1.45;
}
.cleanup-card .helper-text:empty {
  display: none;
}
@media (max-width: 640px) {
  .cleanup-card {
    padding: 14px;
  }
  .cleanup-action {
    min-height: 58px;
    padding: 0 10px;
  }
  .cleanup-action-content {
    gap: 8px;
  }
  .cleanup-action-content strong {
    min-width: 80px;
    font-size: 15px;
  }
}

.settings-launchers .settings-launch {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 !important;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.settings-launchers .settings-launch::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 42%);
  pointer-events: none;
}
.settings-launchers .settings-launch:hover {
  transform: translateY(-2px);
}
.settings-launchers .settings-launch:focus-visible {
  outline: 3px solid #e0a16d;
  outline-offset: 3px;
}
.settings-launchers .settings-launch > span:nth-child(2) > strong {
  color: #f7f8f8;
}
.settings-launchers .settings-launch > span:nth-child(2) > small {
  color: #c2c8c5;
}
.settings-launchers .settings-launch .settings-icon,
.settings-launchers .settings-launch:hover .settings-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 5px 14px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: 23px;
  font-weight: 600;
  filter: none;
  transform: none;
}
@media (max-width: 640px) {
  .settings-launchers .settings-launch {
    min-height: 82px;
    border-radius: 0 !important;
  }
  .settings-launchers .settings-launch .settings-icon {
    width: 43px;
    height: 43px;
    border-radius: 0 !important;
    font-size: 21px;
  }
}
.settings-launchers .settings-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-launchers .settings-icon.icon-cleanup {
  border-color: rgba(255, 107, 99, 0.43);
  background: linear-gradient(145deg, rgba(190, 49, 45, 0.52), rgba(104, 28, 29, 0.42));
  color: #ff7972;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 5px 15px rgba(95, 14, 14, 0.26);
}
.settings-launchers .settings-launch:hover .settings-icon.icon-cleanup {
  background: linear-gradient(145deg, rgba(211, 62, 55, 0.66), rgba(120, 31, 32, 0.55));
}
.settings-launchers .settings-icon.icon-download svg {
  width: 27px;
  height: 27px;
}
.settings-launchers .settings-icon.icon-chef svg {
  width: 28px;
  height: 28px;
}
.settings-launchers .settings-icon.icon-siren svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.65;
}
@media (max-width: 640px) {
  .settings-launchers .settings-icon svg {
    width: 23px;
    height: 23px;
  }
}

.page-heading .eyebrow {
  display: none;
}
.settings-modal .modal-header {
  min-width: 0;
}
.settings-modal .modal-header > div {
  min-width: 0;
}
.settings-modal .modal-header h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.18;
}
.settings-modal .settings-panel {
  display: grid;

  min-width: 0;
}
.settings-modal .settings-panel.hidden {
  display: none;
}
.settings-disclosure {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;
}
.settings-disclosure > summary {
  display: flex;

  align-items: center;
  justify-content: space-between;
  gap: 12px;

  cursor: pointer;
  list-style: none;
  color: #252a28;
}
.settings-disclosure > summary::-webkit-details-marker {
  display: none;
}
.settings-disclosure > summary > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.settings-disclosure > summary strong {
  font-size: 14px;
  line-height: 1.3;
}
.settings-disclosure > summary small {
  color: #707875;
  font-size: 12px;
  line-height: 1.4;
}
.settings-disclosure > summary > b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: none;
  border: 1px solid #ffffffc7;
  border-radius: 0 !important;

  font-size: 17px;
  font-weight: 500;
  transition: transform 0.18s;
}
.settings-disclosure[open] > summary > b {
  transform: rotate(180deg);
}
.settings-disclosure > summary:hover {
  background: rgba(255, 255, 255, 0.28);
}
.settings-disclosure > .catalog-section,
.settings-disclosure > form,
.settings-disclosure > .permission-list,
.settings-disclosure > .language-select-label,
.settings-disclosure > .full-select {
  margin: 0 12px 12px;
}
.settings-disclosure > .catalog-section {
  padding: 14px;
  border-radius: 0 !important;
}
.settings-disclosure > .employee-create-form {
  padding: 0 4px 5px;
}
.settings-disclosure > .employee-password-note,
.settings-disclosure > #employeeList,
.settings-disclosure > #employeeFeedback {
  margin: 0 16px 12px;
}
.settings-modal .staff-admin-card,
.settings-modal .security-card,
.settings-modal .cleanup-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.settings-modal .staff-admin-card > .catalog-section-heading,
.settings-modal .security-card > .catalog-section-heading,
.settings-modal .cleanup-card > .catalog-section-heading {
  padding: 5px 5px 12px;
}
.settings-modal .employee-create-form > button {
  grid-column: auto;
  width: max-content;
  max-width: 100%;
  min-width: min(250px, 100%);
  padding: 0 18px;
}
.employee-create-form {
  grid-template-columns: 1fr 1fr;
}
.settings-modal .employee-list {
  margin: 0 2px;
}
.settings-modal .employee-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 #fff;
}
.settings-modal .employee-row-actions {
  min-width: 160px;
}
.settings-modal #logoutButton {
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 0 !important;
}
.settings-modal .password-change-form {
  margin: 0 12px 12px;
  padding: 12px 4px 3px;
  border-top: 0;
}
.settings-modal .password-change-form > h4 {
  margin: 0 0 3px;
}
.language-disclosure {
  padding-bottom: 1px;
}
.language-select-label {
  display: block;
  color: #616b65;
  font-size: 12px;
  font-weight: 650;
}
.language-disclosure .full-select {
  width: calc(100% - 24px);
  min-width: 0;

  margin: 0 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 0 !important;

  color: #27302a;
  font: inherit;
}
.settings-modal .menu-archive,
.settings-modal .menu-archive[open] {
  border: 1px solid #ffffffc7;
  border-radius: 0 !important;
}
.settings-modal .menu-archive > summary {
  min-height: 48px;
  align-items: center;
  padding: 10px 13px;
}
.settings-modal .menu-archive[open] #menuArchiveList {
  padding: 0 4px 4px;
}
.revenue-loading {
  display: grid;
  min-height: 220px;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid #ffffffd8;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #ffffffb8, #e8eeeb85);
  box-shadow:
    0 12px 30px #1c272018,
    inset 0 1px 0 #fff;
  text-align: center;
  backdrop-filter: blur(20px) saturate(140%);
}
.revenue-loading.hidden {
  display: none;
}
.revenue-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #d8dfdb;
  border-top-color: #303638;
  border-right-color: #666e6a;
  border-radius: 0 !important;
  animation: revenue-spin 0.78s linear infinite;
  box-shadow: 0 4px 12px #252b291c;
}
.revenue-loading strong {
  color: #28312c;
  font-size: 16px;
}
.revenue-loading small {
  color: #768079;
  font-size: 12px;
}
@keyframes revenue-spin {
  to {
    transform: rotate(360deg);
  }
}
.loyalty-launch .icon-loyalty {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.09));

  font-family: system-ui, sans-serif;

  font-weight: 500;
}
.loyalty-card {
  display: grid;

  align-items: start;

  border: 1px solid rgba(255, 255, 255, 0.88);
}
.loyalty-smile {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #ffffffd9;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #e8ece9);
  box-shadow: 0 8px 20px #2029261a;
  color: #262b29;
  font:
    36px/1 system-ui,
    sans-serif;
}
.loyalty-status {
  font-size: 11px;
  font-weight: 700;
}
.loyalty-card h3 {
  color: #262c28;
}
.loyalty-card p {
  margin: 0 0 11px;
  color: #5e6962;
  font-size: 14px;
}
.loyalty-card small {
  font-size: 12px;
}
.purchase-zero {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0 !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(220, 225, 222, 0.42)
  ) !important;
  box-shadow:
    0 8px 20px rgba(22, 29, 25, 0.08),
    inset 0 1px 0 #fff !important;
  color: #313735 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
}
.empty-sad.purchase-zero {
  font-size: 30px !important;
}
.purchase-summary {
  gap: 12px;
}
.purchase-summary .glass-action {
  margin-left: auto;
}
.order-filter-toggle {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(226, 231, 228, 0.56));
  box-shadow:
    0 5px 14px rgba(26, 35, 29, 0.08),
    inset 0 1px 0 #fff;
  color: #343b37;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(16px);
}
.order-filter-toggle:hover {
  background: #fff;
}
.section-title-row {
  gap: 12px;
}
.cleanup-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(230, 234, 232, 0.54));
  box-shadow:
    0 12px 30px rgba(22, 29, 25, 0.1),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(145%);
}
.cleanup-card .catalog-section-heading {
  border-color: rgba(50, 58, 54, 0.12);
}
.cleanup-action {
  border-radius: 0 !important;
  background: linear-gradient(140deg, #383d3b, #202422);
  box-shadow:
    0 8px 20px rgba(10, 14, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.cleanup-action:hover:not(:disabled) {
  background: linear-gradient(140deg, #474c4a, #282d2b);
}
.cleanup-action.is-counting {
  background: #242927;
  border-color: #242927;
}
.cleanup-action.is-ready {
  background: linear-gradient(140deg, #a22f2f, #751f24);
  border-color: #742124;
}
.cleanup-action-progress {
  background: linear-gradient(90deg, #a33134, #e24944);
}
.cleanup-action.is-complete {
  background: linear-gradient(140deg, #394440, #252c28);
}
.app-confirm-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 16, 14, 0.56);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.app-confirm-backdrop.hidden {
  display: none;
}
.app-confirm-card {
  position: relative;
  width: min(470px, 100%);
  padding: 28px;

  border-radius: 0 !important;

  animation: confirm-pop 0.2s ease-out;
}
.app-confirm-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffffc7;
  border-radius: 0 !important;
  background: #ffffff90;
  color: #616966;
  font-size: 21px;
}
.app-confirm-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(177, 54, 49, 0.18);
  border-radius: 0 !important;
  background: linear-gradient(145deg, #f5dedb, #ecd0cd);
  box-shadow: 0 6px 16px rgba(96, 23, 22, 0.11);
  color: #a12d2a;
  font-size: 22px;
  font-weight: 800;
}
.app-confirm-card h2 {
  margin: 17px 40px 8px 0;

  font-size: 21px;
  letter-spacing: -0.3px;
}
.app-confirm-card p {
  margin: 0;

  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}
.app-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.app-confirm-actions button {
  min-height: 43px;
  padding: 0 15px;
}
.app-confirm-accept {
  border: 1px solid rgba(40, 45, 42, 0.16);
  border-radius: 0 !important;
  background: linear-gradient(145deg, #303633, #1e2320);
  box-shadow:
    0 7px 17px rgba(16, 22, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.app-confirm-accept:hover {
  background: linear-gradient(145deg, #424946, #252b28);
}
body.confirm-open {
  overflow: hidden;
}
@keyframes confirm-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 640px) {
  .settings-modal {
    width: calc(100vw - 18px);
  }
  .settings-modal .modal-header h2 {
    font-size: 20px;
  }
  .settings-disclosure > summary {
    padding: 10px 12px;
  }
  .settings-disclosure > summary strong {
    font-size: 13px;
  }
  .settings-disclosure > summary small {
    font-size: 11px;
  }
  .settings-modal .employee-create-form {
    grid-template-columns: 1fr;
  }
  .settings-modal .employee-create-form > button {
    width: 100%;
    min-width: 0;
  }
  .settings-modal .employee-row {
    grid-template-columns: 1fr;
  }
  .settings-modal .employee-row-actions {
    min-width: 0;
  }
  .loyalty-card {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .loyalty-card h3 {
    font-size: 18px;
  }
  .loyalty-card p {
    font-size: 13px;
  }
  .purchase-summary {
    align-items: center;
    flex-wrap: wrap;
  }
  .purchase-summary .glass-action {
    margin-left: auto;
    max-width: 100%;
    font-size: 11px;
  }
  .order-filter-toggle {
    min-height: 38px;
    padding: 0 12px;
  }
}
@media (max-width: 640px) {
  .app-confirm-backdrop {
    align-items: end;
    padding: 0;
  }
  .app-confirm-card {
    width: 100%;
    padding: 24px 19px max(24px, env(safe-area-inset-bottom));
    border-radius: 0 !important;
  }
  .app-confirm-actions {
    flex-direction: column-reverse;
  }
  .app-confirm-actions button {
    width: 100%;
    min-height: 48px;
  }
}

.modal-backdrop {
  padding: clamp(10px, 3vw, 24px);
  background: rgba(25, 31, 28, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal {
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0 !important;
  background: #f7f8f6;
  box-shadow: 0 24px 72px rgba(12, 19, 15, 0.24);
  color: #202823;
}
.modal-header {
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e1e6e2;
}
.modal-header h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.55px;
  color: #202823;
}
.modal-header .icon-button {
  flex: none;
  border: 1px solid #e3e7e4;
  background: #fff;
  color: #59625c;
}
.settings-modal {
  border-color: #fff;
}
.settings-modal .modal-header {
  position: static;
  top: auto;
  z-index: auto;
  margin: 0 0 18px;
  padding: 0 0 14px;
  background: transparent !important;
  backdrop-filter: none;
  border-bottom: 1px solid #e1e6e2;
}
.settings-modal .modal-header h2 {
  font-size: 23px;
}
.settings-modal .settings-panel {
  gap: 12px;
}
.settings-disclosure {
  border-color: #e2e7e3;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 34, 28, 0.045);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.settings-disclosure > summary {
  min-height: 60px;
  padding: 12px 15px;
}
.settings-disclosure > summary > b {
  border-color: #e0e5e1;
  background: #f7f8f7;
  color: #4c5750;
}
.language-disclosure .full-select {
  height: 50px;
  border-color: #cbd4cd;
  background: #fff;
  box-shadow: 0 2px 5px rgba(25, 35, 29, 0.045);
  font-size: 15px;
  cursor: pointer;
}
.language-disclosure .full-select:focus {
  outline: 3px solid rgba(228, 119, 54, 0.18);
  border-color: #d5763b;
}
.loyalty-launch .icon-loyalty {
  font-size: 0;
  color: #eef1ef;
}
.loyalty-launch .icon-loyalty svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.loyalty-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 24px;
  border-color: #e1e6e2;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 34, 28, 0.055);
  backdrop-filter: none;
}
.loyalty-status {
  display: block;
  width: max-content;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: none;
  color: #67726b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.loyalty-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}
.loyalty-card p {
  max-width: 58ch;
  line-height: 1.55;
}
.loyalty-card small {
  color: #77817b;
}
.empty-state {
  padding: 42px 20px;
  border: 1px solid #e2e7e3;
  box-shadow: 0 4px 16px rgba(25, 35, 29, 0.04);
}
@media (max-width: 640px) {
  .modal-backdrop {
    padding: 9px;
  }
  .modal {
    max-height: 94dvh;
    border-radius: 0 !important;
  }
  .modal-header {
    margin-bottom: 13px;
    padding-bottom: 12px;
  }
  .modal-header h2,
  .settings-modal .modal-header h2 {
    font-size: 21px;
  }
  .settings-modal .modal-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  .settings-disclosure > summary {
    min-height: 58px;
  }
  .loyalty-card {
    padding: 19px 17px;
  }
  .empty-state {
    padding: 32px 16px;
  }
}
.settings-modal .settings-disclosure {
  border-color: rgba(255, 255, 255, 0.13);
}
.settings-modal .language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-modal .language-option {
  display: flex;

  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border-radius: 0 !important;

  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s,
    border-color 0.16s,
    background 0.16s,
    box-shadow 0.16s;
}
.settings-modal .language-option:hover {
  transform: translateY(-1px);
}
.settings-modal .language-option:focus-visible {
  outline-offset: 2px;
}
.settings-modal .language-option.selected::before {
  border-radius: 0 !important;

  content: "";
}
.settings-modal .language-option span {
  flex: 1;
}
.settings-modal .language-option small {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.language-state-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.settings-modal .security-card .permission-row,
.settings-modal .employee-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e9eeea;
}
@media (max-width: 560px) {
  .settings-modal .language-options {
    gap: 8px;
  }
  .settings-modal .language-option {
    font-size: 13px;
  }
  .settings-modal,
  .menu-edit-modal {
    border-radius: 0 !important;
  }
}
.settings-modal .settings-disclosure > summary > b {
  border-color: rgba(255, 255, 255, 0.2);
}
.settings-modal .menu-archive[open] #menuArchiveList {
  color: #edf1ed;
}

.modal-backdrop.open {
  background: rgba(34, 42, 37, 0.32);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
}
.settings-modal,
.menu-edit-modal {
  color: #27312b;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 246, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 26px 72px rgba(35, 46, 39, 0.2),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}
.settings-modal .modal-header,
.menu-edit-modal .modal-header {
  border-color: #e5eae6;
}
.settings-modal .modal-header h2,
.menu-edit-modal .modal-header h2 {
  color: #222b25;
}
.settings-modal .modal-header .icon-button,
.menu-edit-modal .modal-header .icon-button {
  border-color: #e4e9e5;
  background: #f7f9f7;
  color: #59645d;
}
.settings-modal .catalog-section-heading h3,
.settings-modal .catalog-section-heading p,
.settings-modal .security-card,
.settings-modal .security-card h3,
.settings-modal .security-card p {
  color: #29342d;
}
.settings-modal .security-card .catalog-section-heading p,
.settings-modal .settings-disclosure > summary small {
  color: #78837b;
}
.settings-modal .settings-disclosure {
  border: 1px solid #e3e9e4;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f7f9f7);
  box-shadow:
    0 5px 16px rgba(34, 48, 39, 0.045),
    inset 0 1px 0 #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.settings-modal .settings-disclosure > summary {
  min-height: 68px;
  padding: 13px 16px;
  border-radius: 0 !important;
  background: transparent;
  color: #29332d;
}
.settings-modal .settings-disclosure > summary strong {
  font-size: 14px;
  font-weight: 700;
}
.settings-modal .settings-disclosure > summary > b {
  width: 32px;
  height: 32px;
  border: 1px solid #e1e7e2;
  border-radius: 0 !important;
  background: #f6f8f6;
  color: #56625a;
}
.settings-modal .settings-disclosure > summary:hover {
  background: #f8faf8;
}
.settings-modal .settings-disclosure[open] {
  border-color: #dfe6e0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 48, 39, 0.065);
}
.settings-modal .settings-disclosure[open] > summary {
  border-bottom: 1px solid #edf0ed;
  background: #f8faf8;
}
.settings-modal .language-options {
  gap: 11px;
  margin: 15px 15px 16px;
}
.settings-modal .language-option {
  min-height: 64px;
  padding: 0 17px;
  border: 1px solid #e3e9e4;
  background: linear-gradient(145deg, #fff, #f8faf8);
  box-shadow:
    0 3px 10px rgba(35, 47, 39, 0.04),
    inset 0 1px 0 #fff;
  color: #313c35;
}
.settings-modal .language-option:hover {
  border-color: #cbd8ce;
  background: #fff;
  box-shadow: 0 6px 16px rgba(35, 47, 39, 0.08);
}
.settings-modal .language-option:focus-visible {
  outline: 3px solid rgba(228, 119, 54, 0.24);
}
.settings-modal .language-option.selected {
  border-color: #e7a27d;
  background: linear-gradient(135deg, #fff5ee, #fffaf6);
  box-shadow:
    0 0 0 1px rgba(228, 119, 54, 0.08),
    0 5px 14px rgba(88, 54, 33, 0.06);
}
.settings-modal .language-option.selected::before {
  width: 8px;
  height: 8px;
  background: #e47736;
  box-shadow: 0 0 0 4px rgba(228, 119, 54, 0.12);
}
.settings-modal .language-option span {
  color: #303a34;
}
.settings-modal .language-option small {
  color: #89928c;
}
.settings-modal .language-option.selected small {
  color: #b85e30;
}
.settings-modal #logoutButton {
  border-color: #dfe6e1;
  background: #fff;
  color: #3f4942;
  box-shadow: 0 2px 7px rgba(34, 48, 39, 0.04);
}
.settings-modal .security-card .permission-row,
.settings-modal .employee-row {
  border-color: #e4eae5;
  background: #fff;
  color: #3e4942;
}
.settings-modal .password-change-form {
  border-color: #e5eae6;
}
.settings-modal .password-change-form h4,
.settings-modal .password-change-form label {
  color: #404b44;
}
.settings-modal .password-change-form input,
.settings-modal .employee-create-form input,
.settings-modal .manager-menu-form input,
.settings-modal .manager-menu-form select,
.settings-modal .category-create-form input {
  border-color: #dfe6e1;
  background: #fff;
  color: #29332d;
}
.settings-modal .password-change-form input::placeholder,
.settings-modal .employee-create-form input::placeholder,
.settings-modal .manager-menu-form input::placeholder,
.settings-modal .category-create-form input::placeholder {
  color: #929b94;
}
.settings-modal .menu-archive,
.settings-modal .menu-archive[open] {
  border-color: #e2e8e3;
  background: #fff;
  box-shadow: 0 3px 10px rgba(34, 48, 39, 0.04);
}
.settings-modal .menu-archive > summary {
  color: #303a34;
}
.settings-modal .menu-archive > summary span {
  color: #b85e30;
}
.menu-edit-modal .form-field > span {
  color: #59645d;
}
.menu-edit-modal .form-field input,
.menu-edit-modal .form-field select {
  border-color: #e1e7e2;
  background: #fff;
  color: #29312b;
}
.app-confirm-card {
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 246, 0.97));
  box-shadow:
    0 28px 78px rgba(35, 46, 39, 0.24),
    inset 0 1px 0 #fff;
  color: #29332d;
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}
.app-confirm-card h2 {
  color: #222b25;
}
.app-confirm-card p {
  color: #66726a;
}
.app-confirm-close,
.glass-action {
  border-color: #e0e6e1;
  background: #fff;
  color: #465149;
}
@media (max-width: 560px) {
  .settings-modal .language-options {
    margin: 12px 11px;
  }
  .settings-modal .language-option {
    min-height: 58px;
    padding: 0 13px;
  }
}

.employee-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}
.employee-action-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 82px;
  padding: 13px 14px;
  border: 1px solid #e3e8e3;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f7faf7);
  box-shadow: 0 6px 16px #34483a0a;
  color: #2f3832;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.employee-action-card:hover {
  transform: translateY(-2px);
  border-color: #efb18a;
  box-shadow: 0 10px 22px #9b59311a;
}
.employee-action-card > span:nth-child(2) {
  display: grid;
  gap: 4px;
}
.employee-action-card strong {
  font-size: 13px;
  line-height: 1.3;
}
.employee-action-card small {
  color: #77817a;
  font-size: 11px;
  line-height: 1.35;
}
.employee-action-card > b {
  color: #bd5d31;
  font-size: 22px;
  font-weight: 400;
}
.employee-action-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 0 !important;
  background: #fff0e5;
  color: #c66132;
  font-size: 22px;
}
.employee-home-note {
  margin: 13px 2px 0;
  color: #858c86;
  font-size: 11px;
}
.employee-view {
  padding: 3px 1px;
}
.employee-back-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid #e2e7e2;
  border-radius: 0 !important;
  background: #fff;
  color: #566158;
  font: 600 12px inherit;
  cursor: pointer;
}
.employee-back-button:first-letter {
  color: #bd5d31;
}
.employee-view-heading {
  display: grid;
  gap: 4px;
  margin: 14px 2px;
}
.employee-view-heading strong {
  font-size: 16px;
  color: #29332d;
}
.employee-view-heading small {
  font-size: 11px;
  color: #78827b;
}
.employee-view .employee-create-form {
  margin: 14px 2px 10px;
}
.employee-view .employee-password-note {
  margin: 0 2px 10px;
  padding: 11px 13px;
  border: 1px solid #e7ede8;
  border-radius: 0 !important;
  background: #f6f9f6;
}
.employee-view .employee-list {
  margin: 12px 0;
}
.employee-view .employee-row {
  background: #fff;
  border-color: #e3e9e4;
}
.employee-view .employee-row-actions {
  min-width: 180px;
}
.employee-home-note {
  padding-top: 2px;
}
@media (max-width: 640px) {
  .employee-action-grid {
    grid-template-columns: 1fr;
  }
  .employee-action-card {
    min-height: 72px;
  }
  .employee-view .employee-row-actions {
    min-width: 0;
  }
}

.settings-modal .permission-list {
  display: grid;
}
.settings-modal .permission-row {
  display: flex;
  align-items: center;

  color: #344039;
  font-size: 13px;
}
.settings-modal .permission-icon {
  display: grid;

  place-items: center;
  flex: none;
}
.settings-modal .permission-name {
  line-height: 1.35;
}
.settings-modal .permission-menu .permission-icon {
  border-color: #f1d9c8;
  background: #fff4eb;
  color: #d5682d;
}
.settings-modal .permission-order .permission-icon {
  border-color: #d8e4f4;
  background: #eef4fc;
  color: #557bad;
}
.settings-modal .permission-archive .permission-icon {
  border-color: #e9e0ce;
  background: #f8f4e9;
  color: #8d7847;
}
.settings-modal .permission-staff .permission-icon {
  border-color: #e2d9f0;
  background: #f4effa;
  color: #8062a8;
}
.settings-modal .permission-denied {
  background: #fbf8f6;
  color: #817772;
}
@media (max-width: 640px) {
  .settings-modal .permission-list {
    padding: 9px;
  }
  .settings-modal .permission-row {
    font-size: 12px;
  }
}
.settings-modal .permission-list {
  gap: 0;
  padding: 2px 16px 14px;
}
.settings-modal .permission-row {
  position: relative;
  min-height: 64px;
  gap: 13px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid #edf0ed;
  border-radius: 0 !important;
  background: transparent;
}
.settings-modal .permission-row:last-child {
  border-bottom: 0;
}
.settings-modal .permission-marker {
  width: 3px;
  height: 34px;
  flex: none;
  border-radius: 0 !important;
  background: #d96d37;
}
.settings-modal .permission-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.settings-modal .permission-section {
  color: #858d88;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.settings-modal .permission-name {
  color: #303a34;
  font-size: 13px;
  font-weight: 550;
}
.settings-modal .permission-state {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid #e3ebe5;
  border-radius: 0 !important;
  background: #f8fbf8;
  color: #63806c;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.settings-modal .permission-menu .permission-marker {
  background: #e8783d;
}
.settings-modal .permission-order .permission-marker {
  background: #6087bd;
}
.settings-modal .permission-archive .permission-marker {
  background: #aa9256;
}
.settings-modal .permission-staff .permission-marker {
  background: #8d70ad;
}
.settings-modal .permission-denied .permission-marker {
  background: #b97867;
}
@media (max-width: 640px) {
  .settings-modal .permission-row {
    min-height: 60px;
    padding: 9px 2px;
  }
  .settings-modal .permission-state {
    font-size: 8px;
    padding: 4px 6px;
  }
}
.settings-modal .permission-row .permission-marker {
  display: block !important;
  width: 3px !important;
  min-width: 3px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}
.settings-modal .security-card > .catalog-section-heading {
  padding: 8px 7px 17px;
  border-bottom: 1px solid #edf0ed;
  margin-bottom: 14px;
}
.settings-modal .security-card > .catalog-section-heading h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.settings-modal .security-card > .catalog-section-heading p {
  max-width: 52ch;
  line-height: 1.55;
}
.settings-modal .security-card > .settings-disclosure {
  overflow: hidden;
  margin: 10px 0;
  border: 1px solid #e5e9e5;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: 0 3px 10px rgba(39, 54, 43, 0.035);
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.settings-modal .security-card > .settings-disclosure > summary {
  min-height: 68px;
  padding: 12px 16px;
  background: #fff;
}
.settings-modal .security-card > .settings-disclosure[open] > summary {
  border-bottom: 1px solid #f0e3da;
}
.settings-modal .security-card .permission-section {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 9px;
  font-weight: 700;
}
.settings-modal .security-card > .settings-disclosure[open] > summary > b {
  border-color: rgba(222, 133, 70, 0.24);
  background: rgba(255, 255, 255, 0.74);
  color: #ae5a27;
}
.settings-modal:has(#settingsSecurity:not(.hidden)) {
  border-color: #fff;
}
.settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header {
  border-bottom-color: #e1e6e2;
}
.settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header .icon-button {
  border-color: #e3e7e4;
  background: #fff;
}
.settings-modal .security-card > .settings-disclosure[open] {
  border-color: #e7b18b;
  box-shadow: 0 5px 15px rgba(137, 83, 42, 0.07);
}
.settings-modal .security-card > .settings-disclosure[open] > summary {
  background: linear-gradient(105deg, #fff2e8, #fffaf6);
  border-bottom-color: #f0e2d7;
}
.settings-modal .security-card > .settings-disclosure[open] > summary strong {
  color: #a84e21;
}
.settings-modal .security-card > .settings-disclosure[open] > summary small {
  color: #6c625b;
}
.settings-modal .security-card .permission-list {
  border-color: #e8e0d9;

  box-shadow: none;
  backdrop-filter: none;

  padding-top: 2px;
  padding-bottom: 2px;
}
.settings-modal .security-card .permission-row {
  padding-top: 5px;
  padding-bottom: 5px;
}
.settings-modal .security-card .permission-marker {
  height: 27px !important;
  min-height: 27px !important;
}

.settings-modal .security-card > .settings-disclosure:has(#permissionList) {
  overflow: hidden;

  background: #fff;
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary {
  display: flex;
  align-items: center;
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f0d9c8;
  border-radius: 0 !important;
  background: #fff;
  color: #cf642e;
  font-size: 15px;
}
.settings-modal .permission-heading {
  display: flex;
  align-items: center;

  min-width: 0;
}
.settings-modal .permission-heading-icon {
  display: grid;

  place-items: center;
  flex: none;
}
.settings-modal .permission-heading-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-modal .permission-heading-copy {
  display: grid;
}
.settings-modal .permission-heading-copy small {
  color: #778079;
}
.settings-modal .security-card .permission-list {
  display: grid;
  gap: 0;
  margin: 0 !important;

  border: 0;
  border-radius: 0 !important;
  background: #fff;
}
.settings-modal .security-card .permission-row {
  position: relative;
  display: grid;

  align-items: center;

  border: 0;

  border-radius: 0 !important;
  background: transparent;
}
.settings-modal .security-card .permission-row:last-child {
  border-bottom: 0;
}
.settings-modal .permission-icon svg {
  fill: none;
  stroke: currentColor;

  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-modal .security-card .permission-section {
  line-height: 1.15;
  text-transform: uppercase;
}
.settings-modal .security-card .permission-state {
  justify-self: end;

  border: 1px solid #dce9de;
  border-radius: 0 !important;

  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}
.settings-modal .permission-denied .permission-name {
  color: #737b75;
}
.settings-modal .security-card .permission-row.permission-menu .permission-icon {
  border-color: #f0d7c7;
  background: #fff3e9;
  color: #c65c29;
}
@media (max-width: 640px) {
  .settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary {
    gap: 11px;
  }
  .settings-modal .permission-heading {
    gap: 11px;
  }
  .settings-modal .permission-heading-icon {
    border-radius: 0 !important;
  }
  .settings-modal .permission-heading-icon svg {
    width: 23px;
    height: 23px;
  }
  .settings-modal .permission-heading-copy strong {
    font-size: 16px;
  }
  .settings-modal .permission-heading-copy small {
    font-size: 11px;
  }
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary {
  padding-top: 11px;
  padding-bottom: 11px;
}
.settings-modal .permission-heading-copy strong {
  font-size: 26px;
  letter-spacing: -0.035em;
}
.settings-modal .permission-heading-copy small {
  font-size: 16px;
}
.settings-modal .security-card .permission-name {
  font-size: 18px;
}
.settings-modal .security-card .permission-state {
  display: flex;
  align-items: center;
}
.settings-modal .security-card .permission-state svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 640px) {
  .settings-modal:has(#settingsSecurity:not(.hidden)) {
    max-height: 92dvh;
  }
  .settings-modal .security-card .permission-row {
    padding: 6px 1px;
  }
  .settings-modal .security-card .permission-section {
    letter-spacing: 0.1em;
  }
  .settings-modal .security-card .permission-state {
    gap: 4px;

    font-size: 9px;
  }
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) {
  border: 1px solid #e7e9e6;
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary {
  border-bottom: 1px solid #eceeeb;
}
.settings-modal .permission-heading-icon {
  border: 1px solid #f0dfd3;

  color: #c26131;
}
.settings-modal .permission-heading-copy strong {
  line-height: 1.2 !important;
  color: #28312c;
}
.settings-modal .permission-heading-copy small {
  line-height: 1.3;
}
.settings-modal .security-card .permission-row {
  border-bottom: 1px solid #eef0ed;
}
.settings-modal .permission-icon {
  color: #bd5d30;
}
.settings-modal .permission-icon svg {
  width: 20px;
  height: 20px;
}
.settings-modal .security-card .permission-section {
  color: #848b85 !important;
}
.settings-modal .security-card .permission-name {
  color: #29332d;
}
.settings-modal .security-card .permission-state {
  border-color: #dfe9e0;
  background: #f3f8f3;
  color: #507157;
  font-size: 11px;
}
.settings-modal .permission-denied .permission-icon {
  border-color: #e9e2dd;
  background: #f8f5f2;
  color: #8e7566;
}
.settings-modal .permission-denied .permission-state {
  border-color: #e9e2dd;
  background: #f8f5f2;
  color: #8e7566;
}
@media (max-width: 640px) {
  .settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary {
    min-height: 64px;
    padding: 9px 11px;
  }
  .settings-modal .permission-heading-icon {
    width: 36px;
    height: 36px;
  }
  .settings-modal .permission-heading-copy strong {
    font-size: 15px !important;
  }
  .settings-modal .permission-heading-copy small {
    font-size: 10px !important;
  }
  .settings-modal .permission-icon {
    border-radius: 0 !important;
  }
  .settings-modal .permission-icon svg {
    width: 17px;
    height: 17px;
  }
  .settings-modal .security-card .permission-state svg {
    width: 14px;
    height: 14px;
  }
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) {
  border-radius: 0 !important;
  box-shadow: none;
}
.settings-modal .security-card > .settings-disclosure:has(#permissionList) > summary {
  min-height: 58px;
  padding: 8px 12px;
  gap: 9px;
  background: #fffaf6;
  border-bottom-color: #f0e8e1;
}
.settings-modal .permission-heading {
  gap: 9px;
}
.settings-modal .permission-heading-icon {
  width: 31px;
  height: 31px;
  border-radius: 0 !important;
  background: transparent;
  border-color: transparent;
}
.settings-modal .permission-heading-icon svg {
  width: 20px;
  height: 20px;
}
.settings-modal .permission-heading-copy {
  gap: 1px;
}
.settings-modal .permission-heading-copy strong {
  font-size: 15px !important;
}
.settings-modal .permission-heading-copy small {
  font-size: 10px !important;
}
.settings-modal .security-card .permission-list {
  padding: 0 12px;
}
.settings-modal .security-card .permission-row {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 52px;
  padding: 6px 1px;
  border-bottom-color: #eff0ed;
}
.settings-modal .permission-icon {
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
}
.settings-modal .permission-icon svg {
  stroke-width: 1.7;
}
.settings-modal .security-card .permission-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}
.settings-modal .security-card .permission-section {
  font-size: 9px !important;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.settings-modal .security-card .permission-name {
  font-weight: 550;
  line-height: 1.25;
}
.settings-modal .security-card .permission-state {
  gap: 4px;
  margin-left: 6px;
  padding: 5px 8px;
}
.settings-modal .security-card .permission-state svg {
  width: 13px;
  height: 13px;
}
@media (max-width: 640px) {
  .settings-modal:has(#settingsSecurity:not(.hidden)) {
    width: calc(100vw - 18px);
  }
  .settings-modal .security-card .permission-list {
    padding: 0 8px;
  }
  .settings-modal .security-card .permission-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 48px;
  }
  .settings-modal .permission-icon {
    width: 24px;
    height: 24px;
  }
  .settings-modal .security-card .permission-copy {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .settings-modal .security-card .permission-section {
    font-size: 8px !important;
  }
  .settings-modal .security-card .permission-name {
    font-size: 11px;
  }
  .settings-modal .security-card .permission-state {
    margin-left: 1px;
    padding: 4px 6px;
  }
}
.modal-backdrop#settingsModal:has(.settings-modal #settingsSecurity:not(.hidden)) {
  background: rgba(29, 35, 31, 0.43);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.settings-modal:has(#settingsSecurity:not(.hidden)) {
  width: min(760px, calc(100vw - 32px));
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid #dfe3de;
  border-radius: 0 !important;
  background: #f7f8f6;
  box-shadow: 0 20px 56px rgba(19, 27, 21, 0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header {
  min-height: 64px;
  padding: 12px 18px;
  border-bottom: 1px solid #e4e7e3;
  background: #fbfcfa;
}
.settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header h2 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.035em;
  color: #252e28;
}
.settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header .icon-button {
  width: 32px;
  height: 32px;
  border: 1px solid #e1e5e0;
  border-radius: 0 !important;
  color: #59645c;
  box-shadow: none;
}
.settings-modal #settingsSecurity {
  padding: 15px 18px 18px;
}
.settings-modal #settingsSecurity .security-card {
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading {
  border: 0;
}
.settings-modal #settingsSecurity .security-card > .settings-disclosure:has(#permissionList) {
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid #dfe4de;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none;
}
.settings-modal
  #settingsSecurity
  .security-card
  > .settings-disclosure:has(#permissionList)
  > summary {
  min-height: 58px;
  padding: 9px 12px;
  gap: 10px;
  border-bottom: 1px solid #edf0eb;
  background: #fff;
}
.settings-modal #settingsSecurity .permission-heading {
  gap: 10px;
}
.settings-modal #settingsSecurity .permission-heading-icon {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0 !important;
  background: #fff2e7;
  color: #bf5b2a;
}
.settings-modal #settingsSecurity .permission-heading-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
.settings-modal #settingsSecurity .permission-heading-copy {
  gap: 2px;
}
.settings-modal #settingsSecurity .permission-heading-copy strong {
  font-size: 15px !important;
  font-weight: 650;
  line-height: 1.2 !important;
  color: #29322c;
}
.settings-modal #settingsSecurity .permission-heading-copy small {
  font-size: 10px !important;
  color: #7a837c;
}
.settings-modal #settingsSecurity .security-card .permission-list {
  margin: 0 !important;

  border: 0;
  border-radius: 0 !important;

  box-shadow: none;
  backdrop-filter: none;
}
.settings-modal #settingsSecurity .security-card .permission-row {
  display: grid;

  align-items: center;

  border-bottom: 1px solid #ecefeb;
}
.settings-modal #settingsSecurity .security-card .permission-row:last-child {
  border-bottom: 0;
}
.settings-modal #settingsSecurity .permission-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #a75a35;
}
.settings-modal #settingsSecurity .permission-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-modal #settingsSecurity .security-card .permission-copy {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 2px;
  min-width: 0;
}
.settings-modal #settingsSecurity .security-card .permission-section {
  font-size: 9px !important;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: #858d86 !important;
  text-transform: uppercase;
}
.settings-modal #settingsSecurity .security-card .permission-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  letter-spacing: 0;
  white-space: nowrap;
}
.settings-modal #settingsSecurity .security-card .permission-state:before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 0 !important;
  background: #5c9868;
}
.settings-modal #settingsSecurity .security-card .permission-denied .permission-icon {
  color: #8d7062;
}
.settings-modal #settingsSecurity .security-card .permission-denied .permission-name {
  color: #777e79;
}
.settings-modal #settingsSecurity .security-card .permission-denied .permission-state:before {
  background: #ba715f;
}
.settings-modal #settingsSecurity .security-card > .settings-disclosure:not(:has(#permissionList)) {
  margin: 9px 0;
  overflow: hidden;
  border: 1px solid #dfe4de;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none;
}
.settings-modal
  #settingsSecurity
  .security-card
  > .settings-disclosure:not(:has(#permissionList))
  > summary {
  min-height: 50px;
  padding: 8px 12px;
  background: #fff;
}
.settings-modal
  #settingsSecurity
  .security-card
  > .settings-disclosure:not(:has(#permissionList))
  > summary
  strong {
  font-size: 13px;
  color: #303a34;
}
.settings-modal
  #settingsSecurity
  .security-card
  > .settings-disclosure:not(:has(#permissionList))
  > summary
  small {
  font-size: 10px;
  color: #7b847d;
}
.settings-modal #settingsSecurity .security-card > #logoutButton {
  margin-top: 5px;
  min-height: 36px;
  border-radius: 0 !important;
  box-shadow: none;
}
@media (max-width: 640px) {
  .settings-modal:has(#settingsSecurity:not(.hidden)) {
    border-radius: 0 !important;
  }
  .settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header {
    min-height: 56px;
    padding: 9px 13px;
  }
  .settings-modal:has(#settingsSecurity:not(.hidden)) .modal-header h2 {
    font-size: 18px;
  }
  .settings-modal #settingsSecurity {
    padding: 11px 12px 13px;
  }
  .settings-modal #settingsSecurity .security-card > .catalog-section-heading {
    padding-bottom: 9px;
    margin-bottom: 9px;
  }
  .settings-modal #settingsSecurity .permission-icon {
    width: 18px;
    height: 18px;
  }
  .settings-modal #settingsSecurity .permission-icon svg {
    width: 17px;
    height: 17px;
  }
  .settings-modal #settingsSecurity .security-card .permission-section {
    font-size: 8px !important;
  }
  .settings-modal #settingsSecurity .security-card .permission-state {
    font-size: 9px;
  }
  .settings-modal
    #settingsSecurity
    .security-card
    .settings-disclosure:has(#permissionList)
    > summary {
    min-height: 52px;
    padding: 7px 9px;
  }
  .settings-modal #settingsSecurity .permission-heading-icon {
    width: 28px;
    height: 28px;
  }
}
.settings-modal #settingsSecurity .security-card .permission-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.settings-modal #settingsSecurity .permission-icon,
.settings-modal #settingsSecurity .permission-section {
  display: none !important;
}
.settings-modal #settingsSecurity .security-card .permission-copy {
  display: block;
}
.settings-modal #settingsSecurity .security-card .permission-state {
  margin-left: 10px;
}
@media (max-width: 640px) {
  .settings-modal #settingsSecurity .security-card .permission-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .settings-modal #settingsSecurity .security-card .permission-name {
    font-size: 12px;
  }
  .settings-modal #settingsSecurity .security-card .permission-state {
    margin-left: 3px;
  }
}
.settings-modal #settingsSecurity .permission-heading-icon {
  display: none !important;
}
.settings-modal #settingsSecurity .permission-heading {
  gap: 0 !important;
}
.settings-modal #settingsSecurity .security-card .permission-list {
  display: grid;
  grid-template-columns: 1fr;

  background: #f7f8f6;
}
.settings-modal #settingsSecurity .security-card .permission-row {
  position: relative;
  gap: 12px;

  background: linear-gradient(105deg, #fff 0%, #fdfcfb 100%);
}
.settings-modal #settingsSecurity .security-card .permission-row:before {
  position: absolute;
  inset: 8px auto 8px 0;
  width: 2px;
  border-radius: 0 !important;
  background: #d86f38;
  content: "";
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-order:before {
  background: #6486b5;
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-archive:before {
  background: #a18b58;
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-staff:before {
  background: #7e8f81;
}
.settings-modal #settingsSecurity .security-card .permission-copy {
  padding-left: 2px;
}
.settings-modal #settingsSecurity .security-card .permission-name {
  font-size: 12px;
  font-weight: 580;
  line-height: 1.3;
  color: #303933;
}
.settings-modal #settingsSecurity .security-card .permission-state {
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #e3e8e3;
  border-radius: 0 !important;
  background: #f7f9f7;
  color: #506657;
}
.settings-modal #settingsSecurity .security-card .permission-state svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-modal #settingsSecurity .security-card .permission-state:before {
  display: none;
}
.settings-modal #settingsSecurity .security-card .permission-denied {
  border-color: #ebe5e1;
  background: linear-gradient(105deg, #fff 0%, #fbf8f6 100%);
}
.settings-modal #settingsSecurity .security-card .permission-denied .permission-state {
  border-color: #eaded8;
  background: #faf4f1;
  color: #986858;
}
@media (max-width: 640px) {
  .settings-modal #settingsSecurity .security-card .permission-row {
    gap: 7px;
  }
  .settings-modal #settingsSecurity .security-card .permission-state {
    padding: 4px 6px;
  }
}
.settings-modal #settingsSecurity .security-card .permission-list {
  gap: 4px;
  padding: 6px 10px 8px;
}
.settings-modal #settingsSecurity .security-card .permission-row {
  min-height: 0;
  padding: 7px 11px;
  border: 1px solid #e6e9e5;
  border-radius: 0 !important;
  box-shadow: none;
}
.settings-modal #settingsSecurity .security-card .permission-row:before {
  display: none !important;
  content: none !important;
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-menu {
  background: #fffaf6;
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-order {
  background: #f7faff;
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-archive {
  background: #fcfbf7;
}
.settings-modal #settingsSecurity .security-card .permission-row.permission-staff {
  background: #f8faf8;
}
.settings-modal #settingsSecurity .security-card .permission-copy {
  padding: 0;
}
@media (max-width: 640px) {
  .settings-modal #settingsSecurity .security-card .permission-list {
    gap: 4px;
    padding: 6px;
  }
  .settings-modal #settingsSecurity .security-card .permission-row {
    min-height: 0;
    padding: 7px 9px;
  }
}

.settings-modal #settingsSecurity .language-options {
  gap: 8px;
  margin: 10px 12px 12px;
}
.settings-modal #settingsSecurity .language-option {
  position: relative;

  padding: 0 13px;

  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);

  font-size: 12px;
  font-weight: 620;
}
.settings-modal #settingsSecurity .language-option.selected:before {
  width: 7px;
  height: 7px;
  border-radius: 0 !important;
  background: #d96f38;
  box-shadow: 0 0 0 3px rgba(217, 111, 56, 0.12);
  content: "";
}
.settings-modal #settingsSecurity .language-option small {
  font-size: 9px;
}
.settings-modal #settingsSecurity .password-change-form .password-step {
  transition:
    opacity 0.16s,
    transform 0.16s;
}
.settings-modal #settingsSecurity .password-change-form .password-step.hidden {
  display: none !important;
}
@media (max-width: 640px) {
  .settings-modal #settingsSecurity .language-options {
    gap: 7px;
    margin: 8px;
  }
  .settings-modal #settingsSecurity .language-option {
    min-height: 46px;
    padding: 0 10px;
    font-size: 11px;
  }
}

.settings-modal {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
}
.settings-modal > .modal-header {
  position: relative !important;
  top: auto !important;
  z-index: 2;
  flex: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.settings-modal > .settings-panel:not(.hidden) {
  display: grid;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.settings-modal #settingsSecurity .password-change-form {
  gap: 9px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e4e9e4;
  border-radius: 0 !important;
  background: #fbfcfb;
}
.settings-modal #settingsSecurity .password-change-form h4 {
  margin-bottom: 2px;
  color: #29332d;
  font-size: 14px;
}
.settings-modal #settingsSecurity .password-change-form label {
  gap: 5px;
  color: #46524a;
  font-size: 12px;
  font-weight: 650;
}
.settings-modal #settingsSecurity .password-change-form input {
  height: 43px;
  padding: 0 12px;
  border: 1px solid #d7dfd8;
  border-radius: 0 !important;
  background: #fff;
  color: #28332c;
  font-size: 14px;
}
.settings-modal #settingsSecurity .password-change-form input:focus {
  border-color: #dc8a5e;
  outline: 3px solid rgba(220, 138, 94, 0.14);
}
.settings-modal #settingsSecurity .password-change-form button {
  min-height: 42px;
}
.settings-modal #settingsSecurity .language-state-select {
  width: 100%;
  max-width: 300px;
  height: 38px;
  margin: 10px 12px 12px;
  padding: 0 33px 0 11px;
  border: 1px solid #dfe5df;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.72);
  color: #354039;
  font: inherit;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.settings-modal #settingsSecurity .language-state-select:focus {
  border-color: #df9a72;
  outline: 3px solid rgba(220, 138, 94, 0.13);
}
.settings-modal #settingsSecurity .settings-disclosure.language-disclosure > summary {
  min-height: 48px;
}
.settings-modal #settingsSecurity .password-change-form .helper-text {
  min-height: 0;
}
@media (max-width: 640px) {
  .settings-modal {
    max-height: 92dvh;
    overflow: hidden;
  }
  .settings-modal > .modal-header {
    padding-bottom: 9px !important;
  }
  .settings-modal > .settings-panel:not(.hidden) {
    min-height: 0;
    overflow-y: auto;
  }
  .settings-modal #settingsSecurity .password-change-form {
    padding: 10px;
    gap: 8px;
  }
  .settings-modal #settingsSecurity .language-state-select {
    max-width: none;
    width: calc(100% - 20px);
    height: 36px;
    margin: 8px 10px 10px;
  }
}
.settings-modal #settingsSecurity .password-change-form button:disabled {
  background: #d9ddd9;
  color: #737b75;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.settings-modal #settingsSecurity .language-state-select {
  appearance: auto;
  -webkit-appearance: menulist;

  position: relative !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  border: 1px solid #dfe5df !important;
  font: inherit !important;
}
@media (max-width: 640px) {
  .settings-modal #settingsSecurity .language-state-select {
    margin: 8px 10px 10px !important;
  }
}

.settings-modal {
  width: min(790px, calc(100vw - 28px));
  max-height: min(88dvh, 820px);
  padding: clamp(18px, 2.5vw, 26px);
  background: rgba(249, 250, 248, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 0 !important;
  box-shadow: 0 28px 84px rgba(25, 34, 28, 0.28);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}
.settings-modal > .modal-header {
  min-height: 52px;
  align-items: center;
  margin: 0 0 14px !important;
  padding: 2px 0 11px !important;
  background: #f9faf8 !important;
  border-bottom: 1px solid #e5e9e5 !important;
}
.settings-modal > .modal-header h2 {
  max-width: calc(100% - 48px);
  overflow: visible;
  overflow-wrap: anywhere;
  color: #252e28;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.settings-modal > .settings-panel:not(.hidden) {
  gap: 14px;
  padding: 0 4px 5px 0;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading {
  border-bottom: 1px solid #e4e9e4;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading p {
  margin-top: 5px;

  border-left: 3px solid #d86f34;

  font-size: 12px;

  line-height: 1.45;
  overflow-wrap: anywhere;
}
.settings-modal #settingsSecurity .language-state-select {
  max-width: 210px !important;
  width: min(210px, calc(100% - 20px)) !important;
  height: 35px !important;
  margin: 8px 10px 10px !important;
  padding: 0 9px !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(32, 43, 35, 0.06) !important;
  color: #354039 !important;
  font-size: 12px !important;
}
.settings-modal #settingsSecurity .language-disclosure > summary {
  min-height: 48px;
}
.settings-modal #settingsSecurity #logoutButton {
  min-height: 38px;
  margin-top: 3px;
  padding: 0 14px;
  border: 1px solid #bf3b32;
  border-radius: 0 !important;
  background: #c84539;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 3px 8px rgba(156, 48, 39, 0.14);
}
.settings-modal #settingsSecurity #logoutButton:hover {
  background: #ad332b;
}
.settings-modal #settingsSecurity #logoutButton:focus-visible {
  outline: 3px solid rgba(197, 65, 54, 0.24);
  outline-offset: 2px;
}
.settings-modal #settingsExport {
  align-content: start;

  border: 1px solid #e2e7e2;

  box-shadow: 0 5px 18px rgba(37, 47, 39, 0.045);
}
.settings-modal #settingsExport .settings-copy {
  max-width: 64ch;
  margin: 0;

  overflow-wrap: anywhere;
}
.settings-modal #settingsExport .field-label {
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.settings-modal #settingsExport .full-select {
  width: 100%;
  min-width: 0;
  height: auto;

  margin: 0;

  color: #303a34;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}
.settings-modal #settingsExport #exportOrders {
  font-size: 13px;
}
.settings-modal #settingsExport #exportHint {
  max-width: 64ch;
  color: #59675e;
  font-size: 12px;

  overflow-wrap: anywhere;
}
.settings-modal .settings-menu-panel {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.settings-modal .settings-menu-panel > .settings-disclosure,
.settings-modal .settings-menu-panel > .menu-archive {
  flex: none;
  border: 1px solid #e2e7e2;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: 0 3px 12px rgba(37, 47, 39, 0.035);
}
.settings-modal .settings-menu-panel > .settings-disclosure > summary,
.settings-modal .settings-menu-panel > .menu-archive > summary {
  min-height: 57px;
  padding: 9px 13px;
  background: #fff;
  color: #303a34;
}
.settings-modal .settings-menu-panel > .settings-disclosure > summary strong {
  color: #303a34;
  font-size: 13px;
}
.settings-modal .settings-menu-panel > .settings-disclosure > summary small {
  color: #69766e;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.settings-modal .settings-menu-panel .catalog-section {
  border: 0;
  border-top: 1px solid #edf0ed;
  border-radius: 0 !important;
  background: #fbfcfa;
  box-shadow: none;
  backdrop-filter: none;
}
.settings-modal .settings-menu-panel > .menu-archive {
  padding: 0;
}
.settings-modal .settings-menu-panel > .menu-archive > summary {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 12px 15px;
  overflow-wrap: anywhere;
}
.settings-modal .settings-menu-panel > .menu-archive > summary span {
  flex: none;
  color: #b85a2d;
}
.settings-modal #settingsMetrics {
  align-content: start;
  padding: 3px 0;
}
.settings-modal #settingsSchedule {
  align-content: start;
}
.settings-modal #settingsSchedule .schedule-intro {
  max-width: 66ch;
  margin: 0;

  overflow-wrap: anywhere;
}
.settings-modal #settingsSchedule .schedule-days {
  margin: 0;
}
.settings-modal #settingsSchedule .schedule-days label span {
  border-radius: 0 !important;

  font-size: 12px;
}
.settings-modal #settingsSchedule .schedule-hours {
  margin: 0;
}
.settings-modal #settingsSchedule .schedule-hours input {
  border-radius: 0 !important;
}
.settings-modal #settingsEmployees .staff-admin-card {
  padding: 0;
}
.settings-modal #settingsEmployees .catalog-section-heading h3 {
  font-size: 15px;
  color: #29332d;
}
.settings-modal #settingsEmployees .catalog-section-heading p {
  max-width: 60ch;

  font-size: 12px;

  overflow-wrap: anywhere;
}
.settings-modal #settingsCleanup .cleanup-card {
  padding: 16px;
  border: 1px solid #e2e7e2;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 42, 34, 0.045);
}
.settings-modal #settingsCleanup .cleanup-card .catalog-section-heading p {
  max-width: 65ch;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.settings-modal #settingsLoyalty .loyalty-card {
  width: 100%;
  box-sizing: border-box;
}
.settings-modal #settingsLoyalty .loyalty-card p {
  max-width: 65ch;
  color: #56635a;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.settings-modal #settingsLoyalty .loyalty-card small {
  overflow-wrap: anywhere;
}
#appConfirm.logout-confirm .app-confirm-mark {
  background: #fff0ee;
  color: #b9362e;
  border-color: #efc7c2;
}
#appConfirm.logout-confirm .app-confirm-accept {
  border-color: #b5322a;
  background: linear-gradient(145deg, #c94a3e, #a92f29);
  box-shadow: 0 5px 13px rgba(157, 45, 39, 0.18);
  color: #fff;
}
#appConfirm.logout-confirm .app-confirm-accept:hover {
  background: #a92f29;
}
@media (max-width: 640px) {
  .settings-modal {
    padding: 16px 13px max(14px, env(safe-area-inset-bottom));
    border-radius: 0 !important;
  }
  .settings-modal > .modal-header {
    min-height: 44px;
    margin-bottom: 10px !important;
    padding: 0 0 8px !important;
  }
  .settings-modal > .modal-header h2 {
    font-size: 19px;
  }
  .settings-modal > .settings-panel:not(.hidden) {
    gap: 10px;
    padding-right: 1px;
  }
  .settings-modal #settingsSecurity .security-card > .catalog-section-heading p {
    font-size: 11px;
  }
  .settings-modal #settingsSecurity .language-state-select {
    width: min(190px, calc(100% - 20px)) !important;
    max-width: 190px !important;
    height: 34px !important;
  }
  .settings-modal #settingsExport {
    gap: 11px;
  }
  .settings-modal #settingsExport .settings-copy {
    font-size: 13px;
  }
  .settings-modal #settingsExport #exportOrders {
    width: 100%;
    justify-self: stretch;
  }
  .settings-modal #settingsSchedule .schedule-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .settings-modal #settingsSchedule .schedule-intro {
    padding: 11px;
    font-size: 12px;
  }
  .settings-modal .settings-menu-panel .catalog-section {
    padding: 12px;
  }
  .settings-modal .settings-menu-panel .manager-menu-form {
    grid-template-columns: 1fr;
  }
  .settings-modal .settings-menu-panel .manager-menu-form button {
    grid-column: auto;
  }
  .settings-modal .settings-menu-panel .manager-menu-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .settings-modal .settings-menu-panel .manager-menu-row .menu-row-price {
    grid-column: 1;
  }
  .settings-modal .settings-menu-panel .manager-menu-row button {
    grid-row: 1/3;
    grid-column: 2;
  }
}

.settings-modal > .modal-header > div {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.settings-modal > .modal-header h2 {
  width: 100%;
  max-width: none !important;
  white-space: nowrap;
  overflow-wrap: normal !important;
  text-overflow: clip;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading p {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading p:empty {
  display: none;
}
.settings-modal .settings-menu-panel > .menu-archive {
  border-radius: 0 !important;
  overflow: hidden;
}

.settings-modal #settingsSecurity .security-card > .catalog-section-heading {
  align-items: start;
  margin: 0 0 10px;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading h3 {
  margin: 0;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading p {
  max-width: none;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  color: #69756d;
  font-weight: 450;
}
.settings-modal
  #settingsSecurity
  .security-card
  .settings-disclosure:has(#permissionList)
  > summary
  > b {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #9b6a4f;
  font-size: 16px;
  opacity: 0.72;
}
.settings-modal
  #settingsSecurity
  .security-card
  .settings-disclosure:has(#permissionList)
  > summary:hover
  > b {
  background: #f5eee9;
  opacity: 1;
}
.loyalty-launch:disabled {
  opacity: 0.48;
  filter: saturate(0.55);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}
.loyalty-launch:disabled:hover {
  transform: none !important;
  border-color: inherit;
  box-shadow: none;
}
.settings-modal #settingsSchedule {
  display: grid;
  gap: 12px;
  padding: 2px;
}
.settings-modal #settingsSchedule .schedule-intro {
  display: grid;
  gap: 4px;
  padding: 3px 2px 8px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #69746c;
  font-size: 12px;
  line-height: 1.45;
}
.settings-modal #settingsSchedule .schedule-intro strong {
  color: #28332c;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.settings-modal #settingsSchedule .schedule-group {
  padding: 13px 14px 14px;
  border: 1px solid #e2e6e1;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff, #f8f9f7);
  box-shadow: 0 2px 6px rgba(31, 42, 34, 0.035);
}
.schedule-group-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 11px;
}
.schedule-group-heading strong {
  color: #303a33;
  font-size: 13px;
  font-weight: 650;
}
.schedule-group-heading small {
  color: #7a847c;
  font-size: 11px;
  line-height: 1.4;
}
.settings-modal #settingsSchedule .schedule-days {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.settings-modal #settingsSchedule .schedule-days label span {
  min-height: 37px;
  border: 1px solid #e1e5e0;
  background: #f4f5f3;
  color: #505a52;
  box-shadow: none;
}
.settings-modal #settingsSchedule .schedule-days input:checked + span {
  border-color: #e58a57;
  background: #fff0e6;
  color: #a74e24;
  box-shadow: inset 0 0 0 1px #e58a5722;
}
.settings-modal #settingsSchedule .schedule-hours {
  align-items: center;
  gap: 10px;
}
.settings-modal #settingsSchedule .schedule-hours label {
  gap: 5px;
  color: #737d75;
  font-size: 11px;
  font-weight: 600;
}
.settings-modal #settingsSchedule .schedule-hours input {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #e0e5df;
  background: #fff;
  color: #29332c;
  font-size: 15px;
}
.settings-modal #settingsSchedule .schedule-separator {
  padding: 17px 0 0;
  color: #a5aca6;
}
.schedule-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px;
}
.schedule-footer .helper-text {
  margin: 0;
  color: #627067;
  font-size: 11px;
}
.schedule-footer .primary-button {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 0 !important;
}
.settings-modal #settingsExport:not(.hidden) {
  display: grid;
  gap: 15px;
  padding: 20px;
  border-radius: 0 !important;
  background: #f7f8f7;
}
.export-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.export-heading > div {
  min-width: 0;
}
.export-heading > div > strong {
  display: block;
  margin-bottom: 4px;
  color: #29332d;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.settings-modal #settingsExport .settings-copy {
  color: #667168;
  font-size: 12px;
  line-height: 1.45;
}
.export-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  flex: none;
  border-radius: 0 !important;
  background: #f0e7e1;
  color: #bb5a28;
}
.export-icon svg,
.settings-modal #settingsExport #exportOrders svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.export-field {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid #e4e7e3;
  border-radius: 0 !important;
  background: #fff;
}
.settings-modal #settingsExport .field-label {
  margin: 0;
  color: #737c75;
  font-size: 11px;
  font-weight: 600;
}
.settings-modal #settingsExport .full-select {
  min-height: 42px;
  padding: 8px 34px 8px 10px;
  border: 0;
  border-radius: 0 !important;
  background-color: #f5f6f4;
}
.settings-modal #settingsExport #exportOrders {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  justify-self: stretch;
  border-radius: 0 !important;
  box-shadow: 0 5px 12px rgba(203, 91, 35, 0.2);
}
.settings-modal #settingsExport #exportOrders svg {
  width: 18px;
  height: 18px;
}
.settings-modal #settingsExport #exportHint {
  line-height: 1.45;
}
.settings-modal #settingsEmployees .catalog-section-heading {
  margin: 0 0 12px;
  padding: 3px 2px 11px;
  border-bottom: 1px solid #e6e9e5;
}
.settings-modal #settingsEmployees .catalog-section-heading p {
  margin-top: 4px;
  color: #69746c;
  line-height: 1.45;
}
.settings-modal #settingsEmployees .employee-action-grid {
  margin-top: 0;
  gap: 9px;
}
.settings-modal #settingsEmployees .employee-action-card {
  grid-template-columns: minmax(0, 1fr) 20px;
  min-height: 76px;
  padding: 14px 15px;
  border: 1px solid #e3e6e2;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff, #f7f8f6);
  box-shadow: 0 2px 7px rgba(30, 40, 33, 0.035);
}
.settings-modal #settingsEmployees .employee-action-icon {
  display: none;
}
.settings-modal #settingsEmployees .employee-action-card strong {
  font-size: 13px;
}
.settings-modal #settingsEmployees .employee-action-card small {
  font-size: 11px;
}
.settings-modal #settingsEmployees .employee-action-card > b {
  color: #9b6549;
  font-size: 19px;
}
.settings-modal #settingsEmployees .employee-action-card:hover {
  transform: translateY(-1px);
  border-color: #e5a47d;
  box-shadow: 0 5px 12px rgba(107, 71, 49, 0.08);
}
.employee-create-overlay:not(.hidden) {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  place-items: center;
  padding: 22px;
  background: rgba(34, 40, 36, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.employee-create-dialog {
  width: min(520px, 100%);
  max-height: min(88dvh, 700px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 !important;
  background: rgba(250, 251, 249, 0.97);
  box-shadow:
    0 24px 70px rgba(24, 31, 26, 0.22),
    inset 0 1px 0 #fff;
}
.employee-create-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e9e5;
}
.employee-create-header h3 {
  margin: 4px 0;
  color: #28322c;
  font-size: 21px;
  letter-spacing: -0.035em;
}
.employee-create-header p {
  margin: 0;
  color: #737e75;
  font-size: 12px;
  line-height: 1.45;
}
.employee-modal-eyebrow {
  color: #b86539;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
}
.employee-create-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: none;
  border: 1px solid #e3e7e2;
  border-radius: 0 !important;
  background: #fff;
  color: #626c64;
  font-size: 21px;
  cursor: pointer;
}
.employee-create-dialog .employee-create-form {
  grid-template-columns: 1fr;
  gap: 13px;
  margin: 18px 0 12px;
}
.employee-create-dialog .employee-create-form label {
  gap: 6px;
  color: #505b53;
  font-size: 11px;
}
.employee-create-dialog .employee-create-form input {
  height: 45px;
  border-radius: 0 !important;
  background: #fff;
}
.employee-create-dialog .employee-create-form button {
  grid-column: auto;
  width: 100%;
  min-height: 44px;
  margin-top: 3px;
  border-radius: 0 !important;
}
.employee-create-dialog .employee-password-note {
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #e5e9e4;
  border-radius: 0 !important;
  background: #f3f5f2;
  color: #68736a;
  font-size: 11px;
  line-height: 1.45;
}
.employee-create-dialog #employeeCreateFeedback {
  margin: 9px 0 0;
  color: #3e7953;
  font-size: 12px;
}
.settings-modal #settingsEmployees .employee-list {
  gap: 8px;
  margin: 12px 0 0;
}
.settings-modal #settingsEmployees .employee-row {
  grid-template-columns: minmax(0, 1fr) minmax(250px, auto);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e3e7e2;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff, #fafbf9);
  box-shadow: 0 2px 7px rgba(30, 40, 33, 0.035);
}
.settings-modal #settingsEmployees .employee-row > div:first-child {
  gap: 4px;
}
.settings-modal #settingsEmployees .employee-row strong {
  font-size: 13px;
  font-weight: 680;
  letter-spacing: -0.01em;
}
.settings-modal #settingsEmployees .employee-row small {
  color: #78827b;
  font-size: 10px;
  line-height: 1.45;
}
.settings-modal #settingsEmployees .employee-row-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.settings-modal #settingsEmployees .employee-row button {
  min-height: 34px;
  padding: 0 11px;
  border-color: #e1e6e1;
  border-radius: 0 !important;
  background: #f8f9f7;
  color: #515b53;
  font-size: 10px;
  white-space: nowrap;
}
.settings-modal #settingsEmployees .employee-row button:hover {
  border-color: #e3a47e;
  background: #fff8f3;
  color: #994a27;
}
.settings-modal #settingsEmployees .employee-row .employee-permission-button.granted {
  border-color: #d8e8dc;
  background: #f2f8f3;
  color: #42714f;
}
.settings-modal #settingsEmployees .staff-reset-form {
  grid-column: 1/-1;
  display: flex;
  gap: 7px;
  margin: 0;
}
.settings-modal #settingsEmployees .staff-reset-form input {
  height: 34px;
  padding: 0 10px;
  border-color: #e2e6e1;
  border-radius: 0 !important;
  background: #f7f8f6;
  font-size: 11px;
}
.settings-modal #settingsEmployees .staff-reset-form button {
  min-width: 82px;
}
@media (max-width: 640px) {
  .settings-modal #settingsSchedule {
    gap: 9px;
  }
  .settings-modal #settingsSchedule .schedule-group {
    padding: 11px;
  }
  .schedule-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .schedule-footer .primary-button {
    width: 100%;
  }
  .settings-modal #settingsExport {
    padding: 14px;
  }
  .settings-modal #settingsEmployees .employee-action-grid {
    grid-template-columns: 1fr;
  }
  .employee-create-overlay:not(.hidden) {
    padding: 12px;
  }
  .employee-create-dialog {
    padding: 18px 15px;
    border-radius: 0 !important;
  }
}
@media (max-width: 640px) {
  .settings-modal #settingsEmployees .employee-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .settings-modal #settingsEmployees .employee-row-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .settings-modal #settingsEmployees .staff-reset-form {
    grid-column: 1/-1;
  }
  .settings-modal #settingsEmployees .staff-reset-form input {
    min-width: 0;
  }
}

.settings-modal #settingsSecurity .language-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}
.settings-modal #settingsSecurity .language-option {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e0e5e0;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 247, 0.84));
  box-shadow:
    0 1px 2px rgba(37, 47, 39, 0.035),
    inset 0 1px 0 #fff;
  color: #303a34;
  line-height: 1.2;
  text-align: left;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s,
    color 0.16s;
}
.settings-modal #settingsSecurity .language-option span {
  flex: 1;
  min-width: 0;
  color: inherit;
}
.settings-modal #settingsSecurity .language-option small {
  flex: none;
  padding: 3px 6px;
  border: 1px solid #e8ebe7;
  border-radius: 0 !important;
  background: rgba(245, 247, 244, 0.8);
  color: #7c857d;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.settings-modal #settingsSecurity .language-option:hover {
  transform: none;
  border-color: #d5a083;
  background: #fff;
  box-shadow: 0 2px 7px rgba(91, 65, 47, 0.06);
}
.settings-modal #settingsSecurity .language-option.selected {
  border-color: #e48b5d;
  background: linear-gradient(180deg, #fffaf6, #fff3e9);
  box-shadow:
    inset 0 0 0 1px rgba(228, 139, 93, 0.12),
    0 2px 7px rgba(91, 65, 47, 0.055);
  color: #9e4a23;
}
.settings-modal #settingsSecurity .language-option.selected::before {
  display: none;
}
.settings-modal #settingsSecurity .language-option.selected small {
  border-color: #f0d2bf;
  background: #fff;
  color: #a4522b;
}
.settings-modal #settingsSecurity .language-state-select {
  display: none !important;
}
@media (max-width: 520px) {
  .settings-modal #settingsSecurity .language-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 9px 10px 11px;
  }
  .settings-modal #settingsSecurity .language-option {
    min-height: 42px;
    padding: 0 10px;
    font-size: 11px;
  }
  .settings-modal #settingsSecurity .language-option small {
    padding: 3px 5px;
    font-size: 8px;
  }
}

.settings-modal #settingsSecurity .language-choice-trigger {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 13px;
  text-align: left;
  cursor: pointer;
}
.settings-modal #settingsSecurity .language-choice-trigger > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.settings-modal #settingsSecurity .language-choice-trigger strong {
  font-size: 13px;
  line-height: 1.25;
}
.settings-modal #settingsSecurity .language-choice-trigger small {
  line-height: 1.3;
}
.settings-modal #settingsSecurity .language-choice-trigger .language-trigger-action {
  flex: none;
  padding: 6px 10px;
  border: 1px solid rgba(222, 132, 83, 0.34);
  border-radius: 0 !important;
  background: rgba(255, 246, 239, 0.66);
  color: #a45129;
  font-size: 11px;
  font-weight: 650;
}
.settings-modal #settingsSecurity .language-choice-trigger:hover .language-trigger-action {
  border-color: rgba(222, 132, 83, 0.55);
  background: rgba(255, 239, 226, 0.9);
}
.language-picker-dialog {
  width: min(350px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: visible;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 0 !important;
  background: rgba(250, 251, 249, 0.98);
  box-shadow:
    0 20px 60px rgba(28, 37, 31, 0.22),
    inset 0 1px 0 #fff;
  color: #29332c;
}
.language-picker-dialog::backdrop {
  background: rgba(32, 39, 35, 0.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.language-picker-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #e6e9e5;
}
.language-picker-dialog > header > div > span {
  color: #a55c38;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.language-picker-dialog h3 {
  margin: 3px 0 0;
  color: #29332c;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.language-picker-dialog > header > button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #e2e6e1;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.76);
  color: #59635b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .language-picker-dialog
  .language-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
}
.settings-modal #settingsSecurity .language-picker-dialog .language-option {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #e2e6e1;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 #fff;
  color: #354039;
  font-size: 12px;
  font-weight: 620;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .language-picker-dialog
  .language-option:hover {
  transform: none;
  border-color: #dfa17e;
  background: #fff;
}
.settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .language-picker-dialog
  .language-option.selected {
  border-color: #e38a5c;
  background: linear-gradient(180deg, #fffaf6, #fff1e6);
  box-shadow: inset 0 0 0 1px rgba(227, 138, 92, 0.1);
  color: #9e4a23;
}
.settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .language-picker-dialog
  .language-option.selected::before {
  display: none;
}
.settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .language-picker-dialog
  .language-option
  small {
  padding: 3px 5px;
  border: 1px solid #e8ebe7;
  border-radius: 0 !important;
  background: #f7f8f6;
  color: #7b857d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .settings-modal
  #settingsSecurity
  .language-picker-dialog
  .language-option.selected
  small {
  border-color: #f0d2bf;
  background: #fff;
  color: #a4522b;
}
.settings-modal #settingsSecurity .language-picker-dialog .language-state-select {
  display: none !important;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading {
  gap: 0;
  margin-bottom: 12px;
  padding: 3px 1px 11px;
}
.settings-modal #settingsSecurity .security-card > .catalog-section-heading h3 {
  color: #29332c;
  font-size: 16px;
  font-weight: 690;
  letter-spacing: -0.025em;
}
.settings-modal #settingsSecurity .access-summary {
  flex-wrap: wrap;
  align-items: center;

  margin: 5px 0 0;

  font-weight: 500;

  box-shadow: none;
}
.settings-modal #settingsSecurity .access-summary-role {
  display: inline-flex;
  align-items: center;

  border: 1px solid #e7d8cc;
  border-radius: 0 !important;

  letter-spacing: 0.025em;
  white-space: nowrap;
}
.settings-launchers .settings-launch:hover {
  box-shadow:
    0 10px 25px rgba(77, 56, 42, 0.09),
    inset 0 1px 0 #fff;
}
.settings-launchers .settings-launch strong {
  color: #29332c;
}
.settings-launchers .settings-launch small {
  color: #667168;
}
.settings-launchers .settings-launch > b {
  color: #986448;
}
.purchase-modal-backdrop:not(.hidden) {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 18px;
  background: rgba(29, 36, 32, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.purchase-dialog {
  width: min(440px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 0 !important;
  background: rgba(251, 252, 250, 0.98);
  box-shadow:
    0 22px 64px rgba(22, 30, 25, 0.22),
    inset 0 1px 0 #fff;
  color: #29332c;
}
.purchase-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e6e9e5;
}
.purchase-dialog > header > div > span {
  color: #a65a36;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.purchase-dialog h2 {
  margin: 4px 0 0;
  color: #29332c;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.purchase-dialog-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #e2e6e1;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.8);
  color: #59635b;
  font-size: 21px;
  cursor: pointer;
}
.purchase-dialog form {
  display: grid;
  gap: 13px;
  padding-top: 15px;
}
.purchase-dialog form label {
  display: grid;
  gap: 6px;
  color: #59645c;
  font-size: 11px;
  font-weight: 620;
}
.purchase-dialog form input,
.purchase-dialog form select {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0 11px;
  border: 1px solid #dfe5df;
  border-radius: 0 !important;
  background: #fff;
  color: #29332c;
  font-size: 13px;
}
.purchase-dialog form input:focus,
.purchase-dialog form select:focus {
  border-color: #df9a72;
  outline: 3px solid rgba(220, 138, 94, 0.13);
}
.purchase-quantity-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 0.65fr);
  gap: 10px;
}
.purchase-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}
.purchase-dialog-actions button {
  min-height: 39px;
  padding: 0 13px;
  border-radius: 0 !important;
  font-size: 12px;
}
.purchase-archive {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #e2e7e2;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 4px 14px rgba(35, 47, 39, 0.04);
}
.purchase-archive > summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  cursor: pointer;
  list-style: none;
}
.purchase-archive > summary::-webkit-details-marker {
  display: none;
}
.purchase-archive > summary > span:first-child {
  display: grid;
  gap: 3px;
}
.purchase-archive > summary strong {
  color: #303a34;
  font-size: 12px;
}
.purchase-archive > summary small {
  color: #758078;
  font-size: 10px;
}
.purchase-archive-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid #e3e7e2;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.78);
  color: #6a756d;
  font-size: 10px;
  font-weight: 650;
}
.purchase-archive-list {
  display: grid;
  gap: 7px;
  padding: 0 10px 10px;
}
.purchase-archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 1px solid #e8ebe7;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.8);
}
.purchase-archive-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.purchase-archive-row strong {
  color: #354039;
  font-size: 12px;
}
.purchase-archive-row small {
  color: #727d74;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.purchase-archive-delete {
  flex: none;
  min-height: 31px;
  padding: 0 9px;
  border: 1px solid #ebd0cc;
  border-radius: 0 !important;
  background: rgba(255, 247, 246, 0.84);
  color: #a33c33;
  font-size: 10px;
  font-weight: 620;
  cursor: pointer;
}
.purchase-archive-delete:hover {
  border-color: #d89d96;
  background: #fff1ef;
}
.purchase-archive-empty {
  margin: 0;
  padding: 3px 13px 13px;
  color: #778179;
  font-size: 11px;
}
.purchase-archive:not([open]) .purchase-archive-list,
.purchase-archive:not([open]) .purchase-archive-empty {
  display: none;
}
.purchase-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}
.purchase-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #dc793e;
}
.purchase-row .purchase-delete {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e7d8d1;
  border-radius: 0 !important;
  background: rgba(255, 249, 245, 0.8);
  color: #a45333;
  font-size: 18px;
  cursor: pointer;
}
.purchase-row .purchase-delete:hover {
  background: #fff0e8;
  border-color: #e5b596;
}
@media (max-width: 560px) {
  .purchase-modal-backdrop:not(.hidden) {
    padding: 10px;
  }
  .purchase-dialog {
    padding: 17px 14px;
    border-radius: 0 !important;
  }
  .purchase-dialog-actions {
    flex-direction: column-reverse;
  }
  .purchase-dialog-actions button {
    width: 100%;
  }
  .purchase-archive-row {
    align-items: flex-start;
  }
  .purchase-archive-delete {
    font-size: 9px;
  }
  .settings-modal #settingsSecurity .access-summary {
    gap: 5px;
  }
}

.settings-modal {
  color: #26312a;
}
.settings-modal .settings-panel > p,
.settings-modal .settings-panel .settings-copy,
.settings-modal .catalog-section-heading p,
.settings-modal .security-card .catalog-section-heading p,
.settings-modal .settings-disclosure > summary small,
.settings-modal .employee-password-note,
.settings-modal .employee-row small,
.settings-modal #settingsExport .settings-copy,
.settings-modal #settingsExport #exportHint {
  color: #515d54 !important;
}
.settings-modal #settingsSecurity .catalog-section-heading h3 {
  color: #26312a;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.settings-modal #settingsSecurity .catalog-section-heading p {
  margin-top: 4px;
  color: #4c5a50 !important;
  font-size: 13px;
  line-height: 1.5;
}
.settings-modal #settingsSecurity .access-summary {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 10px;
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid #e7ebe7;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fafbf9, #f3f6f3);
  color: #2e3a32;
  font-size: 14px;
  line-height: 1.5;
}
.settings-modal #settingsSecurity .access-summary-role {
  min-height: 24px;
  padding: 0 9px;
  border-color: #ead0bf;
  background: #fff7f1;
  color: #874521;
  font-size: 11px;
  font-weight: 750;
}
.settings-modal #settingsSecurity .access-summary-copy {
  color: #2e3a32;
  font-size: 14px;
  font-weight: 570;
  line-height: 1.5;
}
.settings-modal .settings-disclosure > summary strong {
  color: #26312a;
}
.settings-modal .settings-disclosure > summary small {
  color: #505c53;
  line-height: 1.45;
}
.settings-modal #settingsSecurity .language-choice-trigger strong {
  color: #26312a;
}
.settings-modal #settingsSecurity .language-choice-trigger small {
  color: #505c53;
}
.settings-modal .field-label,
.settings-modal .form-field > span,
.settings-modal .employee-create-form label {
  color: #404c43;
}
.settings-modal .helper-text,
.settings-modal .settings-footnote {
  color: #505c53;
}
.settings-modal .settings-disclosure > summary small {
  font-size: 13px;
}
.settings-modal #settingsSecurity .language-choice-trigger small {
  font-size: 13px;
}

.settings-modal #settingsSecurity .access-summary-copy:only-child {
  grid-column: 1/-1;
}
.settings-modal #settingsSecurity .settings-edit-label {
  display: inline-flex;

  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #ead8cb;
  border-radius: 0 !important;
  background: #fffaf6;
  color: #984b25;

  font-weight: 700;
  white-space: nowrap;
}
.settings-modal #settingsSecurity .settings-disclosure > summary:hover .settings-edit-label {
  border-color: #e7b28e;
  background: #fff2e9;
}
.settings-launchers .settings-launch {
  border-color: #dfe5e0;
  background: linear-gradient(180deg, #fff, #f7f8f6);
  box-shadow:
    0 8px 22px rgba(35, 47, 39, 0.07),
    inset 0 1px 0 #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #26312a;
}
.settings-launchers .settings-launch:hover {
  border-color: #e8b898;
  background: linear-gradient(180deg, #fff, #fff8f2);
}
.settings-launchers .settings-launch > span:nth-child(2) > strong {
  color: #26312a !important;
  font-size: 15px;
  font-weight: 700;
}
.settings-launchers .settings-launch > span:nth-child(2) > small {
  color: #4c5a50 !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.settings-launchers .settings-launch .settings-launch-action {
  display: inline-flex;
  min-width: 78px;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #ead8cb;
  border-radius: 0 !important;
  background: #fffaf6;
  color: #984b25;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.settings-launchers .settings-launch:hover .settings-launch-action {
  background: #fff2e9;
}
@media (max-width: 640px) {
  .settings-launchers .settings-launch > span:nth-child(2) > strong {
    font-size: 14px;
  }
  .settings-launchers .settings-launch > span:nth-child(2) > small {
    font-size: 12px;
  }
}

.settings-launchers .settings-launch {
  display: flex;
  align-items: center;
  gap: 14px;
}
.settings-launchers .settings-launch > .settings-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  box-shadow:
    0 5px 13px rgba(36, 45, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  filter: none;
  transform: none;
}
.settings-launchers .settings-launch > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  gap: 4px;
}
.settings-launchers .settings-launch .icon-menu {
  border-color: #f2d4c0;
  background: linear-gradient(145deg, #fff3e9, #f9dfcd);
  color: #c45c2d;
}
.settings-launchers .settings-launch .icon-revenue {
  border-color: #d0e6d7;
  background: linear-gradient(145deg, #f0faf2, #d9efdf);
  color: #418b59;
}
.settings-launchers .settings-launch .icon-schedule {
  border-color: #d5e2f1;
  background: linear-gradient(145deg, #f0f6ff, #dce9fa);
  color: #557cae;
}
.settings-launchers .settings-launch .icon-download {
  border-color: #d5e2f1;
  background: linear-gradient(145deg, #f0f6ff, #dce9fa);
  color: #557cae;
}
.settings-launchers .settings-launch .icon-chef {
  border-color: #f0dfc8;
  background: linear-gradient(145deg, #fff8e9, #f4e6c9);
  color: #a27a3e;
}
.settings-launchers .settings-launch .icon-siren {
  border-color: #f0d6ca;
  background: linear-gradient(145deg, #fff4ed, #f7e0d5);
  color: #b95732;
}
.settings-launchers .settings-launch .icon-cleanup {
  border-color: #f2c8c3;
  background: linear-gradient(145deg, #ffe9e7, #f5ceca);
  color: #c4453e;
  box-shadow:
    0 5px 13px rgba(120, 40, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}
.settings-launchers .settings-launch .icon-loyalty {
  border-color: #e4e6e2;
  background: #f1f2ef;
  color: #a7aaa4;
}
.settings-launchers .settings-launch .settings-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-launchers .settings-launch > b.settings-launch-action {
  display: grid;
  flex: none;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #a45e38;
  font-size: 22px;
  font-weight: 450;
  line-height: 1;
  white-space: normal;
}
.settings-launchers .settings-launch:hover > b.settings-launch-action {
  background: #fff1e8;
  color: #984b25;
}
.settings-modal #settingsSecurity .settings-edit-label {
  min-width: 82px;
  min-height: 32px;
  font-size: 12px;
}
.settings-modal .settings-menu-panel > .settings-disclosure > summary > .settings-edit-label {
  display: inline-flex;
  min-width: 78px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #ead8cb;
  border-radius: 0 !important;
  background: #fffaf6;
  color: #984b25;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.settings-modal .settings-menu-panel > .settings-disclosure > summary:hover > .settings-edit-label {
  border-color: #e7b28e;
  background: #fff2e9;
}
.settings-modal .settings-menu-panel > .settings-disclosure[open] > summary > .settings-edit-label {
  transform: none;
}
@media (max-width: 640px) {
  .settings-launchers .settings-launch > .settings-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .settings-launchers .settings-launch > b.settings-launch-action {
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
  }
  .settings-modal #settingsSecurity .security-card .permission-name,
  .settings-modal #settingsSecurity .security-card .permission-state {
    font-size: 11px;
  }
}

.settings-launchers .settings-launch .icon-menu {
  --mark-bg: linear-gradient(145deg, #fff3e9, #f9dfcd);
  --mark-border: #f2d4c0;
  --mark-color: #c45c2d;
}
.settings-launchers .settings-launch .icon-revenue {
  --mark-bg: linear-gradient(145deg, #f0faf2, #d9efdf);
  --mark-border: #d0e6d7;
  --mark-color: #418b59;
}
.settings-launchers .settings-launch .icon-schedule {
  --mark-bg: linear-gradient(145deg, #f0f6ff, #dce9fa);
  --mark-border: #d5e2f1;
  --mark-color: #557cae;
}
.settings-launchers .settings-launch .icon-download {
  --mark-bg: linear-gradient(145deg, #f0f6ff, #dce9fa);
  --mark-border: #d5e2f1;
  --mark-color: #557cae;
}
.settings-launchers .settings-launch .icon-chef {
  --mark-bg: linear-gradient(145deg, #fff8e9, #f4e6c9);
  --mark-border: #f0dfc8;
  --mark-color: #a27a3e;
}
.settings-launchers .settings-launch .icon-siren {
  --mark-bg: linear-gradient(145deg, #fff4ed, #f7e0d5);
  --mark-border: #f0d6ca;
  --mark-color: #b95732;
}
.settings-launchers .settings-launch .icon-cleanup {
  --mark-bg: linear-gradient(145deg, #ffe9e7, #f5ceca);
  --mark-border: #f2c8c3;
  --mark-color: #c4453e;
}
.settings-launchers .settings-launch .icon-loyalty {
  --mark-bg: #f1f2ef;
  --mark-border: #e4e6e2;
  --mark-color: #a7aaa4;
}
.settings-launchers .settings-launch:hover .settings-icon {
  border-color: var(--mark-border);
  background: var(--mark-bg);
  color: var(--mark-color);
  filter: none;
  transform: none;
}
.settings-launchers .settings-launch:disabled:hover .settings-icon {
  opacity: 0.65;
}
.settings-launchers .settings-launch:hover > .settings-icon,
.settings-launchers .settings-launch:focus-visible > .settings-icon {
  transform: none !important;
  scale: none !important;
  filter: none !important;
  box-shadow:
    0 5px 13px rgba(36, 45, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}
.settings-modal #settingsSecurity .security-card .permission-state {
  font-size: 13px;
  font-weight: 580;
}
.settings-modal #settingsSecurity .settings-disclosure[open] > summary > .settings-edit-label {
  transform: none;
}
.settings-launchers .settings-launch * {
  transition: none !important;
}
.settings-launchers .settings-launch:hover > b.settings-launch-action,
.settings-launchers .settings-launch:active > b.settings-launch-action,
.settings-launchers .settings-launch:hover .settings-launch-action,
.settings-launchers .settings-launch:active .settings-launch-action {
  transform: none !important;
  scale: 1 !important;
  background: transparent !important;
  color: #a45e38 !important;
}

.settings-launchers .settings-launch .settings-icon,
.settings-launchers .settings-launch .settings-icon:hover,
.settings-launchers .settings-launch .settings-icon:active,
.settings-launchers .settings-launch .settings-icon svg,
.settings-launchers .settings-launch .settings-icon svg * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  filter: none !important;
  will-change: auto !important;
  pointer-events: none !important;
}
.settings-launchers .settings-launch .settings-icon {
  flex-basis: 48px !important;
}

.settings-launchers .settings-launch,
.settings-launchers .settings-launch:hover,
.settings-launchers .settings-launch:active,
.settings-modal button:hover,
.settings-modal button:active,
.settings-modal a:hover,
.settings-modal a:active,
.settings-modal summary:hover,
.settings-modal summary:active,
.settings-jumpbar button:hover,
.settings-jumpbar button:active {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition-property: color, background-color, border-color, box-shadow, opacity !important;
}
.settings-modal button:hover *,
.settings-modal button:active *,
.settings-modal summary:hover *,
.settings-modal summary:active *,
.settings-jumpbar button:hover * {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition-property: color, background-color, border-color, box-shadow, opacity !important;
}

.settings-modal :hover,
.settings-modal :active,
.settings-modal :hover *,
.settings-modal :active *,
.settings-jumpbar button:hover,
.settings-jumpbar button:active,
.settings-jumpbar button:hover * {
  animation: none !important;
  transition-property: color, background-color, border-color, box-shadow, opacity !important;
}

.settings-modal #settingsSecurity .security-card > .settings-disclosure > summary {
  min-height: 50px !important;
  padding: 8px 12px !important;
  gap: 10px !important;
}
.settings-modal #settingsSecurity .security-card > .settings-disclosure > summary strong,
.settings-modal
  #settingsSecurity
  .security-card
  > .settings-disclosure:has(#permissionList)
  > summary
  strong {
  color: #303a34 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}
.settings-modal #settingsSecurity .security-card > .settings-disclosure > summary small,
.settings-modal
  #settingsSecurity
  .security-card
  > .settings-disclosure:has(#permissionList)
  > summary
  small {
  color: #69766e !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}
.settings-modal #settingsSecurity .settings-edit-label {
  display: inline-flex !important;
  flex: none !important;
  min-width: 78px !important;
  width: 78px !important;
  min-height: 30px !important;
  height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 1px solid #ead8cb !important;
  border-radius: 0 !important;
  background: #fffaf6 !important;
  color: #984b25 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: none !important;
}
.settings-modal #settingsSecurity .settings-disclosure > summary:hover .settings-edit-label,
.settings-modal #settingsSecurity .settings-disclosure > summary:active .settings-edit-label,
.settings-modal
  #settingsSecurity
  .settings-disclosure
  > summary:focus-visible
  .settings-edit-label {
  border-color: #ead8cb !important;
  background: #fffaf6 !important;
  color: #984b25 !important;
  box-shadow: none !important;
  transform: none !important;
  scale: 1 !important;
}

.settings-launchers .settings-launch,
.settings-launchers .settings-launch:hover,
.settings-launchers .settings-launch:active,
.settings-launchers .settings-launch:focus-visible {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
  filter: none !important;
  border-color: #dfe5e0 !important;
  background: linear-gradient(180deg, #fff, #f7f8f6) !important;
  box-shadow:
    0 8px 22px rgba(35, 47, 39, 0.07),
    inset 0 1px 0 #fff !important;
}
.settings-launchers .settings-launch .settings-icon,
.settings-launchers .settings-launch:hover .settings-icon,
.settings-launchers .settings-launch:active .settings-icon,
.settings-launchers .settings-launch:focus-visible .settings-icon,
.settings-launchers .settings-launch .settings-icon svg,
.settings-launchers .settings-launch .settings-icon svg * {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
  filter: none !important;
}
.settings-launchers .settings-launch > b.settings-launch-action,
.settings-launchers .settings-launch:hover > b.settings-launch-action,
.settings-launchers .settings-launch:active > b.settings-launch-action,
.settings-launchers .settings-launch:focus-visible > b.settings-launch-action {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  transition: none !important;
  background: transparent !important;
  color: #a45e38 !important;
  box-shadow: none !important;
}

.settings-modal *,
.settings-modal *::before,
.settings-modal *::after,
.settings-jumpbar button,
.settings-jumpbar button * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.settings-modal :hover,
.settings-modal :active,
.settings-modal :focus-visible,
.settings-modal :hover *,
.settings-modal :active *,
.settings-modal :focus-visible *,
.settings-jumpbar button:hover,
.settings-jumpbar button:active,
.settings-jumpbar button:focus-visible,
.settings-jumpbar button:hover * {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
}

.settings-launchers .settings-launch,
.settings-launchers .settings-launch:hover,
.settings-launchers .settings-launch:active,
.settings-launchers .settings-launch:focus,
.settings-launchers .settings-launch:focus-visible {
  color: #303a34 !important;
}
.settings-launchers .settings-launch .settings-icon,
.settings-launchers .settings-launch:hover .settings-icon,
.settings-launchers .settings-launch:active .settings-icon,
.settings-launchers .settings-launch:focus .settings-icon,
.settings-launchers .settings-launch:focus-visible .settings-icon {
  display: grid !important;
  position: static !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-items: center !important;
  box-sizing: border-box !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: var(--mark-border, transparent) !important;
  border-radius: 0 !important;
  background: var(--mark-bg, transparent) !important;
  color: var(--mark-color, inherit) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
  box-shadow:
    0 5px 13px rgba(36, 45, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}
.settings-launchers .settings-launch .settings-icon svg,
.settings-launchers .settings-launch:hover .settings-icon svg,
.settings-launchers .settings-launch:active .settings-icon svg,
.settings-launchers .settings-launch:focus .settings-icon svg,
.settings-launchers .settings-launch:focus-visible .settings-icon svg {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  min-height: 25px !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}
@media (max-width: 640px) {
  .settings-launchers .settings-launch .settings-icon,
  .settings-launchers .settings-launch:hover .settings-icon,
  .settings-launchers .settings-launch:active .settings-icon,
  .settings-launchers .settings-launch:focus .settings-icon,
  .settings-launchers .settings-launch:focus-visible .settings-icon {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}

.settings-launchers .settings-launch .settings-icon svg,
.settings-launchers .settings-launch .settings-icon svg * {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

.settings-launchers
  .settings-launch[data-settings-open="settingsKitchen"]
  .settings-icon.kitchen-chef-icon
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsKitchen"]:hover
  .settings-icon.kitchen-chef-icon
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsKitchen"]:active
  .settings-icon.kitchen-chef-icon
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsKitchen"]:focus-visible
  .settings-icon.kitchen-chef-icon
  svg {
  width: 40px !important;
  height: 36px !important;
  min-width: 40px !important;
  min-height: 36px !important;
  max-width: 40px !important;
  max-height: 36px !important;
}

.settings-modal #settingsSecurity .settings-disclosure > summary > .settings-edit-label,
.settings-modal #settingsSecurity #languageChoiceTrigger > .language-trigger-action,
.settings-modal #settingsSecurity .settings-disclosure > summary:hover > .settings-edit-label,
.settings-modal #settingsSecurity .settings-disclosure > summary:active > .settings-edit-label,
.settings-modal #settingsSecurity .settings-disclosure > summary:focus > .settings-edit-label,
.settings-modal
  #settingsSecurity
  .settings-disclosure
  > summary:focus-visible
  > .settings-edit-label,
.settings-modal #settingsSecurity .settings-disclosure[open] > summary > .settings-edit-label,
.settings-modal #settingsSecurity .settings-disclosure[open] > summary:hover > .settings-edit-label,
.settings-modal #settingsSecurity #languageChoiceTrigger:hover > .language-trigger-action,
.settings-modal #settingsSecurity #languageChoiceTrigger:active > .language-trigger-action,
.settings-modal #settingsSecurity #languageChoiceTrigger:focus > .language-trigger-action,
.settings-modal #settingsSecurity #languageChoiceTrigger:focus-visible > .language-trigger-action,
.settings-modal
  #settingsSecurity
  #languageChoiceTrigger[aria-expanded="true"]
  > .language-trigger-action {
  display: inline-flex !important;
  flex: 0 0 78px !important;
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid #ead8cb !important;
  border-radius: 0 !important;
  background: #fffaf6 !important;
  color: #984b25 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  box-shadow: none !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
}

.settings-modal #settingsEmployees .employee-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
}
.settings-modal #settingsEmployees .employee-row-actions {
  display: flex !important;
  justify-content: flex-end;
  min-width: 0 !important;
}
.settings-modal #settingsEmployees .employee-config-button {
  min-width: 112px;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid #ead4c5;
  border-radius: 0 !important;
  background: #fff8f2;
  color: #984b25;
  font-size: 11px;
  font-weight: 700;
}
.settings-modal #settingsEmployees .employee-config-button:hover {
  border-color: #df9a70;
  background: #fff1e6;
  color: #87431f;
}
.employee-config-overlay:not(.hidden) {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: grid;
  width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  place-items: center;
  padding: 20px;
  background: rgba(34, 40, 36, 0.38);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.employee-config-dialog {
  width: min(560px, 100%);
  max-height: min(88dvh, 720px);
  overflow: auto;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0 !important;
  background: rgba(250, 251, 249, 0.98);
  box-shadow:
    0 26px 76px rgba(24, 31, 26, 0.24),
    inset 0 1px 0 #fff;
}
.employee-config-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e9e5;
}
.employee-config-header h3 {
  margin: 2px 0 5px;
  color: #28322c;
  font-size: 21px;
  letter-spacing: -0.035em;
}
.employee-config-header p {
  margin: 0;
  color: #68736b;
  font-size: 12px;
  font-weight: 600;
}
.employee-config-options {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.employee-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #e3e8e3;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff, #f8faf8);
}
.employee-config-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.employee-config-row strong {
  color: #303a34;
  font-size: 13px;
  font-weight: 680;
}
.employee-config-row small {
  color: #6c786f;
  font-size: 11px;
  line-height: 1.4;
}
.employee-config-row > button {
  flex: none;
  min-height: 37px;
  padding: 0 13px;
  border: 1px solid #e0e6e0;
  border-radius: 0 !important;
  background: #f7f9f7;
  color: #46534a;
  font-size: 11px;
  font-weight: 650;
}
.employee-config-row > button:hover {
  border-color: #e2a17b;
  background: #fff7f0;
  color: #924722;
}
.employee-config-password {
  align-items: flex-end;
}
.employee-config-password > div {
  flex: 1;
}
.employee-config-password label {
  display: block;
  margin-bottom: 7px;
}
.employee-config-password input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #dfe5df;
  border-radius: 0 !important;
  background: #fff;
  color: #2f3932;
  font-size: 12px;
  outline: 0;
}
.employee-config-password input:focus {
  border-color: #e5a17a;
  box-shadow: 0 0 0 3px rgba(228, 119, 54, 0.12);
}
.employee-config-password > button {
  min-height: 40px;
  border-color: #d86e32;
  background: #e47736;
  color: #fff;
}
.employee-config-password > button:hover {
  border-color: #cc6124;
  background: #cc6124;
  color: #fff;
}
#employeeConfigFeedback {
  min-height: 18px;
  margin: 9px 2px 0;
  color: #457551;
  font-size: 12px;
}
.language-picker-dialog header div > span:first-child {
  display: none !important;
}
@media (max-width: 640px) {
  .employee-config-overlay:not(.hidden) {
    padding: 12px;
  }
  .employee-config-dialog {
    padding: 18px 15px;
    border-radius: 0 !important;
  }
  .employee-config-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .employee-config-row > button {
    width: 100%;
  }
  .employee-config-password {
    align-items: stretch;
  }
  .employee-config-password > button {
    width: 100%;
  }
}
.employee-row:not(.manager-row) strong,
.employee-config-header h3 #employeeConfigName {
  color: #ba382f !important;
}
.employee-config-identity:empty,
#employeeConfigIdentity:empty {
  display: none !important;
}
.employee-permission-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.employee-config-permissions {
  grid-column: 1/-1;
  padding: 14px;
  border: 1px solid #e2e8e3;
  border-radius: 0 !important;
  background: #fff9;
}
.employee-config-permissions > div:first-child {
  display: grid;
  gap: 4px;
}
.employee-config-permissions > div:first-child strong {
  font-size: 13px;
  color: #303a34;
}
.employee-config-permissions > div:first-child small {
  font-size: 11px;
  color: #727e76;
}
.employee-permission-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e3e8e3;
  border-radius: 0 !important;
  background: #fff;
  color: #303a34;
  cursor: pointer;
}
.employee-permission-option input {
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: #bd3b32;
}
.employee-permission-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.employee-permission-option strong {
  font-size: 12px;
  line-height: 1.35;
}
.employee-permission-option small {
  font-size: 10px;
  color: #748078;
}
.employee-permission-option input:not(:checked) + span small {
  color: #bd3b32;
}
.employee-config-password .employee-password-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #a92c26;
  border-radius: 0 !important;
  background: #c83f36;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.employee-config-password .employee-password-button:hover {
  background: #a92f29;
}
@media (max-width: 620px) {
  .employee-permission-controls {
    grid-template-columns: 1fr;
  }
  .employee-config-permissions {
    grid-column: auto;
  }
}

.employee-system-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #f0d2b9;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff8f1, #fff);
  color: #9b4c23;
  font-size: 12px;
  font-weight: 700;
}
.system-account-row {
  border-color: #ecd8c7 !important;
  background: linear-gradient(125deg, #fffaf5, #fff) !important;
}
.system-account-row > div > strong {
  color: #a84e25;
}

.sidebar {
  position: sticky;
  inset: 0 0 auto;
  width: 100%;
  min-height: 74px;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding: 9px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.91);
  border: 0;
  border-bottom: 1px solid #e6e8e4;
  box-shadow: 0 4px 18px rgba(33, 30, 27, 0.035);
  backdrop-filter: blur(18px);
}
.sidebar-branding {
  display: grid;
  gap: 3px;
  flex: none;
  transform: translateY(8px);
}
.brand-lockup,
.brand-lockup:visited {
  height: 35px;
  min-width: 218px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid #ffffff30;
  border-radius: 0 !important;
  background: linear-gradient(110deg, #202329, #34363a);
  box-shadow:
    0 4px 12px #20232920,
    inset 0 1px 0 #ffffff18;
  color: #f3f4f3;
  text-decoration: none;
}
.sidebar-product {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 4px;
  color: #707773;
  font-size: 9px;
  line-height: 1.1;
}
.sidebar-product strong {
  color: #59635d;
  font-size: 9px;
}
.sidebar-product small {
  font-size: 9px;
}
.side-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: auto;
  overflow-x: auto;
  padding: 5px;
  background: rgba(231, 236, 234, 0.49);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 0 !important;
  box-shadow:
    inset 0 1px 0 #ffffffa8,
    0 6px 18px #34443d0b;
  backdrop-filter: blur(22px) saturate(140%);
  scrollbar-width: none;
}
.side-nav::-webkit-scrollbar {
  display: none;
}
.nav-item {
  height: 42px;
  min-width: max-content;
  flex: none;
  padding: 0 11px;
  font-size: 12px;
  color: #454e49;
}
.nav-item.active {
  color: #282f2b;
  background: #fff;
  box-shadow: 0 2px 8px #26382e1b;
}
.nav-item.active .nav-icon {
  background: #fff0e1;
  color: #a84d20;
}
.sidebar-bottom {
  display: none;
}
.main-area {
  margin: 0;
  min-height: calc(100vh - 74px);
}
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 37px clamp(24px, 5vw, 70px) 60px;
}
.page-heading h1 {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.primary-button {
  background: #e47736;
  color: #fff;
  box-shadow: 0 5px 12px #e2773633;
}
.primary-button:hover {
  background: #cc6124;
  box-shadow: 0 7px 16px #e277363d;
}
.secondary-button {
  background: #fff;
  color: #343c37;
  border-color: #e0e5e1;
}
.secondary-button:hover {
  background: #f5f5f7;
}
.order-card {
  border-left: 1px solid #e2e7e3;
  border-radius: 0 !important;
  background: #fff;
}
.settings-metrics {
  grid-column: 1/-1;
}
.settings-disclosure summary {
  border-color: #e6d7c6;
  background: #fff4e8;
  color: #a84d20;
}
.settings-disclosure .stat-card {
  background: #fff;
}
@media (max-width: 1050px) and (min-width: 641px) {
  .sidebar {
    gap: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }
  .sidebar-branding {
    min-width: 190px;
  }
  .brand-lockup {
    min-width: 190px;
  }
  .side-nav {
    justify-content: center;
  }
  .nav-item {
    padding: 0 9px;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .sidebar {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 8px 12px 7px;
  }
  .sidebar-branding {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 9px;
  }
  .brand-lockup {
    height: 34px;
    min-width: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
  }
  .sidebar-product {
    grid-column: 2;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: -3px;
    font-size: 8px;
  }
  .sidebar-product strong,
  .sidebar-product small {
    font-size: 8px;
  }
  .side-nav {
    flex: none;
    justify-content: flex-start;
    margin: 0 -12px;
    padding: 4px 9px;
    border: 0;
    border-top: 1px solid #e6ebe7;
    border-radius: 0 !important;
    background: #f7f8f7;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-item {
    height: 39px;
    padding: 0 9px;
    font-size: 10px;
  }
  .main-area {
    min-height: calc(100vh - 100px);
  }
  .page-wrap {
    padding: 22px 14px 34px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .page-actions #newOrderButton {
    grid-column: 1/-1;
  }
  .settings-metrics {
    grid-column: auto;
  }
  .settings-disclosure .stats-row {
    grid-template-columns: 1fr;
  }
}
.sidebar .brand-lockup,
.sidebar .brand-lockup:visited {
  height: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: none;
  box-shadow: none;
  color: #292d2a;
  text-decoration: none;
}
.sidebar .brand-lockup {
  position: relative;
  width: max-content;
  padding-bottom: 4px;
}
.sidebar .brand-lockup::after {
  display: none;
}
.nav-item.active::after {
  display: none;
}
.settings-modal {
  width: min(760px, calc(100vw - 36px));
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.settings-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 0 18px;
  padding: 7px 0 13px;
  background: linear-gradient(180deg, #fffefa 82%, #fffefa00);
  backdrop-filter: blur(14px);
}
.settings-modal .modal-header h2 {
  margin-top: 6px;
  line-height: 1.2;
}
.settings-panel {
  min-width: 0;
}
.revenue-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.revenue-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 174px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #ffffffd9;
  border-radius: 0 !important;
  box-shadow:
    0 13px 28px #28352b12,
    inset 0 1px 0 #ffffffd9;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}
.revenue-active {
  background: linear-gradient(135deg, #fff0dfed, #ffe2c7cf);
}
.revenue-income {
  background: linear-gradient(135deg, #e9f8e9ed, #d3f0dcdb);
}
.revenue-orders {
  background: linear-gradient(135deg, #edf1ffed, #dce6ffdc);
}
.revenue-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  flex: none;
  border: 1px solid #ffffff9c;
  border-radius: 0 !important;
  background: #ffffff88;
  box-shadow: 0 5px 18px #4d51451c;
}
.revenue-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.revenue-icon.orange {
  color: #b96731;
}
.revenue-icon.green {
  color: #39845c;
}
.revenue-icon.blue {
  color: #5a78b1;
}
.revenue-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-width: 0;
}
.revenue-card .stat-label {
  color: #39443d;
  font-size: 16px;
  line-height: 1.25;
}
.revenue-card strong {
  color: #151a16;
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.revenue-watermark {
  position: absolute;
  right: -4px;
  bottom: -31px;
  z-index: -1;
  color: #925e3d;
  font-size: 108px;
  line-height: 1;
  opacity: 0.12;
  filter: blur(1.3px);
}
.revenue-income .revenue-watermark {
  color: #3c8157;
}
.revenue-orders .revenue-watermark {
  color: #4f70ad;
}
.schedule-intro,
.settings-copy {
  margin: 0 0 17px;
  color: #59645d;
  font-size: 15px;
  line-height: 1.5;
}
.schedule-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}
.schedule-days label {
  position: relative;
  cursor: pointer;
}
.schedule-days input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.schedule-days label span {
  display: grid;
  min-height: 45px;
  place-items: center;
  border: 1px solid #e0e7e1;
  border-radius: 0 !important;
  background: #ffffffa8;
  color: #48534b;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s,
    box-shadow 0.16s;
}
.schedule-days input:checked + span {
  border-color: #e99868;
  background: linear-gradient(145deg, #fff3e7, #ffe4d1);
  color: #a94e23;
  box-shadow: 0 5px 13px #dc75331b;
}
.schedule-days input:focus-visible + span {
  outline: 3px solid #e4773670;
  outline-offset: 2px;
}
.schedule-hours {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 0 0 19px;
}
.schedule-hours label {
  display: grid;
  flex: 1;
  gap: 7px;
  color: #657067;
  font-size: 13px;
  font-weight: 600;
}
.schedule-hours input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #dfe6e0;
  border-radius: 0 !important;
  background: #ffffffc7;
  color: #26312a;
  font: inherit;
  font-size: 16px;
}
.schedule-separator {
  padding-bottom: 14px;
  color: #8b938d;
}
.settings-modal .full-select {
  min-height: 49px;
  margin: 7px 0 13px;
  border: 1px solid #dfe6e0;
  border-radius: 0 !important;
  background: #ffffffd9;
  padding: 0 13px;
  color: #303a34;
  font: inherit;
  font-size: 15px;
}
.settings-modal .full-button {
  min-height: 48px;
  border-radius: 0 !important;
  font-size: 14px;
}
.helper-text {
  display: block;
  min-height: 19px;
  margin: 10px 0 0;
  color: #68736c;
  font-size: 12px;
}
.empty-settings-panel {
  min-height: 0;
}
.sidebar .sidebar-product {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 0 1px;
  color: #626a64;
  font-size: 10px;
  line-height: 1.2;
}
.sidebar .sidebar-product strong,
.sidebar .sidebar-product small {
  color: inherit;
  font-size: 10px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .sidebar .sidebar-branding {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3px;
  }
  .sidebar .brand-lockup {
    height: auto;
    min-width: 0;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0 !important;
    background: none;
    box-shadow: none;
  }
  .sidebar .sidebar-product {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 3px;
    margin: 0;
    font-size: 9px;
  }
  .sidebar .sidebar-product strong,
  .sidebar .sidebar-product small {
    font-size: 9px;
  }
}
#menuTable.menu-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 14px;
  padding-top: 10px;
}
.menu-card {
  position: relative;
  display: flex;
  min-height: 176px;
  flex-direction: column;
  gap: 12px;
  padding: 17px;
  border: 1px solid #e6e7e2;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff 0%, #fffdfa 100%);
  box-shadow: 0 8px 24px rgba(42, 48, 40, 0.055);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  border-color: #edc7a8;
  box-shadow: 0 13px 28px rgba(42, 48, 40, 0.09);
}
.menu-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.menu-card .menu-category {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 0 !important;
  background: #fff0e4;
  color: #a95021;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15px;
}
.menu-card-delete {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #ecebe7;
  border-radius: 0 !important;
  background: #fff;
  color: #747a74;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.menu-card-delete:hover {
  border-color: #efc2b8;
  background: #fff3f0;
  color: #bd432e;
}
.menu-card-name {
  color: #252c28;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.menu-card-volume {
  min-height: 17px;
  color: #707971;
  font-size: 13px;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #eff0ec;
  color: #6c746e;
  font-size: 12px;
}
.menu-card-footer strong {
  color: #303832;
  font-size: 18px;
  font-weight: 750;
  white-space: nowrap;
}
.menu-empty {
  grid-column: 1/-1;
  padding: 28px;
  border: 1px dashed #d9ded9;
  border-radius: 0 !important;
  background: #fff;
  color: #69726b;
  text-align: center;
}
@media (max-width: 640px) {
  #menuTable.menu-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 8px;
  }
  .menu-card {
    min-height: 162px;
    padding: 12px;
    border-radius: 0 !important;
    gap: 10px;
  }
  .menu-card-name {
    font-size: 15px;
  }
  .menu-card-footer strong {
    font-size: 16px;
  }
  .menu-card .menu-category {
    font-size: 10px;
  }
  .menu-card-delete {
    width: 27px;
    height: 27px;
  }
}
@media (max-width: 370px) {
  #menuTable.menu-table {
    grid-template-columns: 1fr;
  }
  .menu-card {
    min-height: 145px;
  }
}
@media (max-width: 640px) {
  .side-nav {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    grid-template-rows: auto auto;
    justify-content: start;
    gap: 4px;
    overflow-x: auto;
  }
  .side-nav .sidebar-branding {
    grid-column: 1/-1;
    grid-row: 1;
    min-width: 0;
    transform: none;
  }
  .side-nav .nav-item {
    grid-row: 2;
  }
}
.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.sidebar {
  justify-content: center;
}
.sidebar-branding {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  transform: none;
}
.sidebar .brand-lockup,
.sidebar .brand-lockup:visited {
  min-width: 0;
}
.side-nav {
  flex: 0 1 auto;
  width: max-content;
  max-width: calc(100% - 210px);
  justify-content: center;
  overflow-x: auto;
}
.app-footer {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid #e6e8e4;
  background: rgba(255, 255, 255, 0.84);
  color: #68716a;
  font-size: 10px;
}
.app-footer strong {
  font-weight: 600;
  color: #515a54;
}
.main-area {
  flex: 1;
  min-height: calc(100vh - 112px);
}
@media (max-width: 1050px) and (min-width: 641px) {
  .sidebar {
    gap: 10px;
  }
  .sidebar-branding {
    min-width: 0;
  }
  .side-nav {
    max-width: calc(100% - 175px);
  }
  .brand-lockup {
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .sidebar {
    justify-content: flex-start;
  }
  .sidebar-branding {
    display: grid;
    transform: none;
  }
  .side-nav {
    flex: none;
    width: auto;
    max-width: none;
  }
  .main-area {
    min-height: calc(100vh - 142px);
  }
  .app-footer {
    min-height: 34px;
    font-size: 9px;
  }
}

.settings-launchers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.settings-launch {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #ffffffc9;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #ffffffc9, #ffffff70);
  box-shadow:
    0 10px 28px #243a2f0d,
    inset 0 1px 0 #fff;
  backdrop-filter: blur(20px) saturate(140%);
  color: #303a34;
  text-align: left;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.settings-launch:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 32px #243a2f14,
    inset 0 1px 0 #fff;
}
.settings-launch > span:nth-child(2) {
  display: grid;
  gap: 5px;
  flex: 1;
}
.settings-launch strong {
  font-size: 14px;
}
.settings-launch small {
  font-size: 12px;
  color: #68736c;
}
.settings-launch > b {
  font-size: 23px;
  color: #b7c0ba;
  font-weight: 400;
}
.settings-panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.settings-panel.hidden {
  display: none;
}
.settings-panel .stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.settings-modal .settings-panel > .card-heading,
.settings-modal .settings-panel > h2 {
  display: none;
}
@media (max-width: 640px) {
  .settings-modal {
    width: calc(100vw - 24px);
    max-height: 92dvh;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
  }
  .settings-modal .modal-header {
    margin-bottom: 12px;
  }
  .settings-modal .modal-header h2 {
    font-size: 22px;
  }
  .revenue-cards {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .revenue-card {
    min-height: 91px;
    padding: 12px 15px;
    border-radius: 0 !important;
    height: 56px;
  }
  .revenue-icon svg {
    width: 34px;
    height: 34px;
  }
  .revenue-card .stat-label {
    font-size: 14px;
  }
  .revenue-card strong {
    font-size: 23px;
  }
  .revenue-watermark {
    font-size: 80px;
    bottom: -25px;
  }
  .schedule-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .schedule-hours {
    gap: 9px;
  }
  .schedule-hours label {
    font-size: 12px;
  }
  .schedule-hours input {
    min-height: 46px;
    padding: 0 9px;
    font-size: 15px;
  }
  .schedule-intro,
  .settings-copy {
    font-size: 14px;
  }
  .settings-launchers {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .settings-launch {
    min-height: 74px;
    padding: 13px 14px;
  }
  .settings-launch strong {
    font-size: 13px;
  }
  .settings-launch small {
    font-size: 11px;
  }
  .settings-panel .stats-row {
    grid-template-columns: 1fr;
  }
}
.menu-card {
  background: linear-gradient(145deg, #ffffffc7, #ffffff78);
  border-color: #ffffffdf;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.settings-modal > .modal-header > .modal-header div > .eyebrow,
.settings-modal .modal-header .eyebrow {
  display: none;
}
.settings-menu-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding-right: 0;
}
.catalog-section {
  padding: 17px;
  border: 1px solid #ffffffd9;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #ffffffb9, #ffffff76);
  box-shadow: inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(140%);
}
.catalog-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.catalog-section-heading h3 {
  margin: 0;
  color: #28322c;
  font-size: 16px;
}
.catalog-section-heading p {
  margin: 5px 0 0;
  color: #6c7770;
  font-size: 12px;
  line-height: 1.4;
}
.settings-modal .category-create-form {
  display: flex;
  gap: 8px;
  margin-bottom: 11px;
}
.category-create-form input,
.manager-menu-form input,
.manager-menu-form select,
.menu-edit-modal input,
.menu-edit-modal select {
  min-width: 0;
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #dfe6e0;
  border-radius: 0 !important;
  background: #ffffffd9;
  color: #303a34;
  font: inherit;
  font-size: 13px;
}
.category-create-form button,
.manager-menu-form button {
  flex: none;
  min-height: 43px;
  border-radius: 0 !important;
  flex-wrap: wrap;
  gap: 7px;
}
.category-admin-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 11px;
  border: 1px solid #e7ebe7;
  border-radius: 0 !important;
  background: #ffffffc9;
  color: #455048;
  font-size: 12px;
}
.category-admin-chip button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 0 !important;
  background: #f2f4f2;
  color: #707a73;
  font-size: 14px;
}
.category-admin-chip button:hover {
  background: #fff0e7;
  color: #b6542a;
}
.manager-menu-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.manager-menu-form label,
.menu-edit-modal .form-field {
  display: grid;
  gap: 6px;
  color: #657067;
  font-size: 12px;
  font-weight: 600;
}
.manager-menu-form button {
  grid-column: 1/-1;
}
.manager-menu-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}
.manager-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid #e6ebe6;
  border-radius: 0 !important;
  background: #ffffffc4;
}
.manager-menu-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.manager-menu-row strong {
  color: #303a34;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.manager-menu-row small {
  color: #78827a;
  font-size: 11px;
}
.manager-menu-row .menu-row-price {
  color: #303a34;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.manager-menu-row button,
.menu-archive-row button {
  min-height: 33px;
  padding: 0 10px;
  border: 1px solid #e4e9e4;
  border-radius: 0 !important;
  background: #fff;
  color: #49534c;
  font-size: 11px;
  font-weight: 600;
}
.manager-menu-row button[data-menu-archive] {
  border-color: #f0ddd4;
  color: #a7532c;
}
.menu-archive {
  padding: 14px 16px;
  border: 1px solid #e4eae4;
  border-radius: 0 !important;
  background: #ffffff9c;
}
.menu-archive summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #4b574e;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.menu-archive summary::-webkit-details-marker {
  display: none;
}
.menu-archive summary span {
  color: #849087;
  font-weight: 500;
}
.menu-archive #menuArchiveList {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.menu-archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid #ebefeb;
}
.menu-archive-row > span {
  display: grid;
  gap: 3px;
}
.menu-archive-row strong {
  font-size: 12px;
  color: #39443d;
}
.menu-archive-row small {
  font-size: 10px;
  color: #78827a;
}
.menu-edit-backdrop {
  z-index: 24;
}
.menu-edit-modal {
  width: min(470px, 100%);
}
.menu-edit-modal > .modal-header {
  margin-bottom: 16px;
}
.menu-edit-modal .modal-header h2 {
  line-height: 1.2;
}
.manager-menu-category {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--category-color, #efaf8d) 32%, white);
  border-radius: 0 !important;
  background: color-mix(in srgb, var(--category-color, #efaf8d) 12%, white);
}
.manager-menu-category h4 {
  margin: 0 0 2px;
  padding: 1px 3px;
  color: color-mix(in srgb, var(--category-color, #b3112b) 62%, #292725);
  font-size: 13px;
}
.manager-menu-category .manager-menu-row {
  border-color: color-mix(in srgb, var(--category-color, #efaf8d) 28%, white);
}
.manager-menu-list:empty::after {
  content: "В этой категории пока нет блюд.";
  padding: 15px;
  border: 1px dashed #dce4dc;
  border-radius: 0 !important;
  color: #78827a;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 640px) {
  .settings-menu-panel {
    gap: 10px;
  }
  .catalog-section {
    padding: 13px;
    border-radius: 0 !important;
    gap: 6px;
    padding: 9px;
  }
  .manager-menu-row button[data-menu-archive] {
    grid-column: 2;
    grid-row: 1;
  }
  .manager-menu-row button[data-menu-edit] {
    grid-column: 2;
    grid-row: 2;
  }
  .manager-menu-row .menu-row-price {
    grid-column: 1;
    grid-row: 2;
  }
  .category-create-form input {
    font-size: 12px;
  }
  .category-create-form button {
    padding: 0 10px;
    font-size: 11px;
  }
}
.manager-only.hidden {
  display: none;
}
.form-field > small {
  color: #7b857e;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}
.permission-row.denied span:first-child {
  background: #fff0e9;
  color: #b95c35;
}
#authGate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(28, 35, 31, 0.36);
  backdrop-filter: blur(18px);
}
body.auth-required .app-shell {
  filter: blur(9px);
  pointer-events: none;
  user-select: none;
}
body.auth-required #authGate {
  display: grid;
}
.auth-card,
.migration-card {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid #ffffffde;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fffffff2, #ffffffdf);
  box-shadow: 0 28px 90px #171c1833;
}
.auth-card h1,
.migration-card h1 {
  margin: 0 0 8px;
  color: #242b26;
  font-size: 26px;
  letter-spacing: -0.6px;
}
.auth-card > p,
.migration-card > p {
  margin: 0 0 20px;
  color: #69756d;
  font-size: 14px;
  line-height: 1.55;
}
.auth-form,
.migration-actions {
  display: grid;
  gap: 12px;
}
.auth-form label,
.employee-create-form label,
.password-change-form label {
  display: grid;
  gap: 7px;
  color: #59645d;
  font-size: 12px;
  font-weight: 600;
}
.auth-form input,
.employee-create-form input,
.password-change-form input,
.staff-reset-form input {
  height: 46px;
  padding: 0 13px;
  border: 1px solid #dfe5df;
  border-radius: 0 !important;
  background: #ffffffdb;
  color: #29312b;
  font: inherit;
  font-size: 14px;
}
.auth-form button,
.migration-actions button {
  min-height: 47px;
  border-radius: 0 !important;
  margin: 10px 0 0 !important;
  color: #b64f2f !important;
  font-size: 12px !important;
}
.migration-card .migration-warning {
  padding: 12px 14px;
  border: 1px solid #efd5be;
  border-radius: 0 !important;
  background: #fff5e9;
  color: #71563e;
  font-size: 12px;
  line-height: 1.5;
}
.migration-actions {
  margin-top: 15px;
}
.migration-actions .secondary-button {
  background: #f1f4f2;
}
.staff-admin-card,
.security-card {
  padding: 18px;
  border: 1px solid #ffffffd9;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #ffffffbc, #ffffff84);
  box-shadow: inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
}
.employee-create-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}
.employee-create-form button {
  grid-column: 1/-1;
  min-height: 44px;
  border-radius: 0 !important;
  gap: 9px;
}
.employee-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e4eae4;
  border-radius: 0 !important;
  background: #ffffffbd;
}
.employee-row > div {
  display: grid;
  align-content: center;
  gap: 4px;
}
.employee-row strong {
  font-size: 13px;
  color: #303a34;
}
.employee-row small {
  font-size: 11px;
  color: #717c74;
}
.employee-row.inactive {
  opacity: 0.6;
}
.employee-row-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.employee-row button {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid #e1e7e1;
  border-radius: 0 !important;
  background: #fff;
  color: #49534c;
  font-size: 11px;
}
.staff-reset-form {
  display: flex;
  grid-column: 1/-1;
  gap: 7px;
}
.staff-reset-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  font-size: 12px;
}
.permission-list {
  display: grid;
  gap: 8px;
}
.permission-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 0 !important;
  background: #ffffffb6;
  color: #3d4941;
  font-size: 13px;
}
.permission-row span:first-child {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  flex: none;
  border-radius: 0 !important;
  background: #eaf5ee;
  color: #3a8a5c;
}
.password-change-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #e6ebe6;
}
.password-change-form h4 {
  margin: 0 0 1px;
  font-size: 14px;
  color: #303a34;
}
.password-change-form button {
  min-height: 44px;
  border-radius: 0 !important;
  border-radius: 0 !important;
  flex-wrap: wrap;
}
.staff-reset-form {
  grid-column: auto;
}
.manager-menu-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.manager-menu-row button[data-menu-archive] {
  grid-column: auto;
  grid-row: auto;
}
.manager-menu-row button[data-menu-edit] {
  grid-column: auto;
  grid-row: auto;
}
.manager-menu-row .menu-row-price {
  grid-column: auto;
  grid-row: auto;
}
.menu-size-segments {
  display: flex;
  gap: 0;
  align-self: start;
  border: 1px solid #e7cdb8;
  border-radius: 0 !important;
  overflow: hidden;
  background: #fffaf5;
}
.menu-size-option {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid #e7cdb8;
  background: transparent;
  color: #655449;
  font-size: 11px;
}
.menu-size-option:last-child {
  border-right: 0;
}
.menu-size-option.selected {
  background: #e9793b;
  color: #fff;
}
.order-type-picker {
  flex-wrap: wrap;
}
.page-wrap {
  width: 100%;
}
.offline-copy {
  display: grid;
  gap: 0;
}
.offline-copy small {
  color: #68716a;
  font-size: 10px;
}
.sidebar {
  justify-content: flex-start;
  gap: clamp(12px, 1.6vw, 28px);
}
.side-nav {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  justify-content: center;
}
.sidebar .shift-summary {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
  margin-left: auto;
  padding-left: clamp(10px, 1.2vw, 18px);
  border-left: 1px solid #e6e8e4;
  white-space: nowrap;
  color: #4c5650;
}
.sidebar .shift-summary > div {
  display: grid;
  gap: 2px;
  min-width: max-content;
}
.sidebar .shift-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.sidebar .shift-summary {
  margin-left: 0;
}
.fullscreen-toggle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: none;
  padding: 0;
  border: 1px solid #e8ddd7;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f8f2ef);
  box-shadow:
    0 3px 9px rgba(40, 20, 10, 0.07),
    inset 0 1px 0 #fff;
  color: #5b514c;
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s,
    box-shadow 0.16s;
}
.fullscreen-toggle:hover {
  border-color: #d9a6af;
  background: #fbe9ec;
  color: #941027;
  box-shadow: 0 5px 13px rgba(40, 20, 10, 0.1);
}
.fullscreen-toggle:focus-visible {
  outline: 3px solid #d98c99;
  outline-offset: 2px;
}
.fullscreen-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar .shift-summary span {
  color: #77817a;
  font-size: 10px;
  line-height: 1.2;
}
.sidebar .shift-summary strong {
  color: #2c332f;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}
.offline-copy strong {
  font-size: 10px;
}
.offline-copy small {
  color: #68716a;
  font-size: 10px;
  line-height: 1.25;
}
.offline-mark {
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 1050px) and (min-width: 641px) {
  .sidebar .shift-summary {
    gap: 8px;
    padding-left: 8px;
  }
  .sidebar .shift-summary span {
    font-size: 9px;
  }
  .sidebar .shift-summary strong {
    font-size: 11px;
  }
  .nav-item {
    padding: 0 7px;
    font-size: 10px;
  }
}
@media (max-width: 640px) {
  .sidebar {
    gap: 6px;
  }
  .sidebar .shift-summary {
    width: 100%;
    justify-content: space-around;
    margin: 0;
    padding: 6px 0 0;
    border-top: 1px solid #e6e8e4;
    border-left: 0;
  }
  .sidebar .shift-summary > div {
    justify-items: center;
  }
  .sidebar .shift-summary span {
    font-size: 9px;
  }
  .sidebar .shift-summary strong {
    font-size: 10px;
  }
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("assets/fonts/ibm-plex-sans-condensed-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --orange: #c8102e;
  --orange-dark: #a90d26;
  --muted: #55514a;
  --line: #e4e1d9;
  --surface: #fff;
  --radius: 6px;
  --cat-doner-bg: #fbe5d6;
  --cat-doner-border: #e5b79a;
  --cat-doner-hover: #f8d8c2;
  --cat-burger-bg: #eaf0ce;
  --cat-burger-border: #c5d38f;
  --cat-burger-hover: #dde8b3;
  --cat-kids-bg: #dceefa;
  --cat-kids-border: #a6cde8;
  --cat-kids-hover: #c8e3f5;
  --cat-sets-bg: #e9e3f5;
  --cat-sets-border: #c3b6e0;
  --cat-sets-hover: #dad0ee;
  --cat-snacks-bg: #d9f0ec;
  --cat-snacks-border: #9fd3c9;
  --cat-snacks-hover: #c3e7e0;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color: #1a1a1a;
}
body {
  color: #1a1a1a;
  background: #fafaf7;
  background-image: none !important;
}
.sidebar {
  gap: clamp(12px, 2vw, 28px);
  box-shadow: none;
  background: #fff;
  border-bottom: 1px solid #e4e1d9;
  backdrop-filter: none;
}
.side-nav {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: none;
  justify-content: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}
.nav-item {
  flex: 0 0 auto;
  gap: 7px;
  padding: 0 11px;
  border-radius: 0 !important;
  color: #55514a;
  font-size: 13px;
}
.nav-item:hover {
  background: #f6f4ef;
  transform: none;
}
.nav-item.active {
  background: transparent;
  color: #c8102e;
  box-shadow: none;
}
.nav-item.active::after {
  bottom: -10px;
  width: 100%;
  height: 2px;
  border-radius: 0 !important;
  background: #c8102e;
  box-shadow: none;
}
.nav-item.active .nav-icon {
  background: transparent;
  color: #c8102e;
}
.nav-count {
  background: #fbe9ec;
  color: #8f0b22;
}
.sidebar .shift-summary {
  gap: 14px;
}
.sidebar .shift-summary span {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color: #55514a;
}
.sidebar .shift-summary strong {
  font-family: "IBM Plex Mono", monospace;
  color: #1a1a1a;
}
.page-wrap {
  max-width: 1500px;
  padding-top: 28px;
}
.page-heading h1 {
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 32px;
  letter-spacing: -0.3px;
  color: #1a1a1a;
}
.page-subtitle,
.muted {
  color: #55514a;
}
.primary-button {
  background: #c8102e;
  box-shadow: none;
  border-radius: 0 !important;
  box-shadow: none;
  transform: none;
}
.secondary-button {
  background: #fff;
  border: 1px solid #e4e1d9;
  border-radius: 0 !important;
  box-shadow: none;
  backdrop-filter: none;
}
.empty-state,
.stat-card,
.purchase-summary,
.order-card,
.settings-card,
.settings-launch {
  background: #fff !important;
  border: 1px solid #e4e1d9 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.empty-state {
  padding: 32px 20px;
}
.empty-state .empty-icon {
  display: none;
}
.stat-card::before,
.settings-card::before {
  display: none;
}
.purchase-summary {
  min-height: 76px;
}
.settings-launch {
  min-height: 76px;
}
.app-footer {
  background: #fff;
  border-top: 1px solid #e4e1d9;
}
.modal-backdrop {
  backdrop-filter: blur(3px);
}
.menu-card {
  border: 1px solid #e4e1d9 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.menu-card .menu-category {
  border-radius: 0 !important;
  background: #f0eee8;
  color: #55514a;
}
@media (max-width: 1000px) and (min-width: 641px) {
  .sidebar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .sidebar-branding {
    flex: 0 0 auto;
  }
  .side-nav {
    flex: 1 1 65%;
    justify-content: flex-start;
    gap: 3px;
  }
  .sidebar .shift-controls {
    flex: 1 0 100%;
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 6px 0 0;
    border: 0;
    border-top: 1px solid #e4e1d9;
  }
  .sidebar .shift-summary {
    flex: 1;
    width: auto;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .sidebar .shift-summary > div {
    flex: 1;
    min-width: 0;
    justify-items: center;
    text-align: center;
  }
  .sidebar .shift-summary span {
    font-size: 10px;
  }
  .sidebar .shift-summary strong {
    font-size: 12px;
  }
  .nav-item {
    padding: 0 7px;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .side-nav {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    grid-template-rows: auto;
    justify-content: start;
    gap: 2px;
    overflow-x: auto;
  }
  .sidebar .shift-controls {
    width: 100%;
    gap: 5px;
    margin: 0;
  }
  .sidebar .shift-summary {
    flex: 1;
    width: auto;
    justify-content: space-around;
    margin: 0;
    padding: 5px 0 0;
    border: 0;
  }
  .sidebar .shift-summary > div {
    min-width: 0;
  }
  .fullscreen-toggle {
    width: 34px;
    height: 34px;
  }
  .page-wrap {
    padding: 20px 14px 34px;
  }
}
.app-footer {
  min-height: 46px;
  gap: 9px;
  padding: 6px 16px;
  background: linear-gradient(180deg, #fff 0%, #fcf8f5 100%);
  border-top: 1px solid #e9e2dc;
  color: #443d39;
}
.offline-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #e7bbc3;
  border-radius: 0 !important;
  background: #fbe9ec;
  color: #a90d26;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
.offline-copy {
  gap: 2px;
  text-align: left;
}
.offline-copy strong {
  font-size: 12px;
  line-height: 1.2;
  color: #3c302d;
}
.offline-copy small {
  font-size: 12px;
  line-height: 1.25;
  color: #655d57;
}
@keyframes orderWindowIn {
  from {
    opacity: 0.7;
    transform: translateY(8px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 640px) {
  .app-footer {
    min-height: 43px;
  }
  .offline-copy {
    text-align: left;
  }
}
.order-column {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e7eae7;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.68);
}
.order-column-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 2px 12px;
  border-bottom: 1px solid #e8ebe8;
}
.order-column-heading h3 {
  margin: 0;
  color: #333d37;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.order-column-heading > span {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  padding: 0 7px;
  border-radius: 0 !important;
  background: #fce9dc;
  color: #a85b31;
  font-size: 12px;
  font-weight: 700;
}
.order-column-list {
  display: grid;
  gap: 10px;
}
.order-card.kitchen-order {
  grid-template-columns: minmax(145px, 0.7fr) minmax(240px, 1.3fr) minmax(250px, 1fr);
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #e8ebe8;
  border-left: 4px solid #e88a4d;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 2px 8px #29382f08;
  align-items: center;
}
.order-card.kitchen-order.status-cooking {
  border-left-color: #dba23b !important;
}
.order-card.kitchen-order.status-ready {
  border-left-color: #4ca878 !important;
}
.order-card.kitchen-order.status-done {
  border-left-color: #9ca59f !important;
}
.order-card.kitchen-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px #29382f12 !important;
}
.order-card .order-id {
  font-size: 17px;
  font-weight: 750;
  color: #29332d;
}
.order-card .order-order-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}
.order-card .order-type,
.order-card .order-time {
  font-size: 12px;
  color: #738078;
}
.order-card .order-type {
  padding: 4px 8px;
  border-radius: 0 !important;
  background: #f1f4f1;
  color: #59665e;
  font-weight: 600;
}
.order-card .order-time.overdue {
  color: #ba2238;
  font-weight: 700;
}
.order-card .order-created-time {
  margin-top: 7px;
  font-size: 12px;
  color: #838e87;
}
.order-card .order-items {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.order-card .order-items li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: #46534b;
  font-size: 14px;
  line-height: 1.35;
}
.order-card .order-items li b {
  min-width: 24px;
  color: #313d35;
  font-variant-numeric: tabular-nums;
}
.order-card .order-items li small {
  color: #7c887f;
  font-size: 12px;
}
.order-card .order-detail {
  margin-top: 6px;
  color: #a05a31;
  font-size: 12px;
}
.order-card .order-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.order-card .order-price {
  font-size: 17px;
  font-weight: 750;
  color: #303b34;
}
.order-card .order-status-label {
  padding: 6px 10px;
  border-radius: 0 !important;
  background: #fce9dc;
  color: #a85b31;
  font-size: 12px;
  font-weight: 650;
}
.order-card.status-cooking .order-status-label {
  background: #fff1d5;
  color: #8a5a00;
}
.order-card.status-ready .order-status-label {
  background: #e3f4e9;
  color: #267147;
}
.order-card.status-done .order-status-label {
  background: #eff1ef;
  color: #68736b;
}
.order-card .order-status-actions {
  display: flex;
  gap: 7px;
  flex-basis: 100%;
  justify-content: flex-end;
}
.order-card .next-status-button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 0 !important;
  background: #e97837;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}
.order-card .next-status-button:hover {
  background: #d96b2d;
}
.order-card .order-cancel-button,
.order-card .order-print-button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e3e8e4;
  border-radius: 0 !important;
  background: #fff;
  color: #56635a;
  font-size: 12px;
  font-weight: 600;
}
.order-card .order-cancel-button:hover,
.order-card .order-print-button:hover {
  background: #f4f6f4;
}
@media (max-width: 900px) {
  .order-card.kitchen-order {
    grid-template-columns: minmax(130px, 0.7fr) minmax(180px, 1fr);
    gap: 12px;
  }
  .order-card.kitchen-order .order-middle {
    grid-column: 2;
  }
  .order-card.kitchen-order .order-right {
    grid-column: 1/-1;
    justify-content: space-between;
  }
  .order-card.kitchen-order .order-status-actions {
    flex-basis: auto;
  }
}
@media (max-width: 640px) {
  .order-column {
    padding: 12px;
  }
  .order-card.kitchen-order {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }
  .order-card.kitchen-order .order-main,
  .order-card.kitchen-order .order-middle,
  .order-card.kitchen-order .order-right {
    grid-column: 1;
    grid-row: auto;
  }
  .order-card.kitchen-order .order-right {
    justify-content: space-between;
  }
  .order-card.kitchen-order .order-status-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.app-shell {
  display: flex;
  height: 100dvh;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}
.sidebar {
  position: relative;
  top: auto;
  flex: none;
}
.main-area {
  height: auto;
  min-height: 0;
  min-width: 0;
  flex: 1;
  margin: 0;
  overflow: hidden;
}
.page-wrap {
  height: 100%;
  min-height: 0;
  max-width: none;
  overflow: hidden;
  padding: 23px clamp(22px, 3vw, 48px) 12px;
}
.app-footer {
  flex: none;
  min-height: 36px;
  padding: 5px 12px;
}
.page#page-orders {
  min-height: 100%;
  display: none;
}
.page#page-orders.active {
  display: block;
}
.page#page-orders .empty-state {
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 22px;
  border: 1px solid #e5eae6 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
.page#page-orders .empty-state h3 {
  font-size: 16px;
  color: #344139;
}
.page#page-orders .empty-state p {
  margin: 0;
  color: #718078;
  font-size: 13px;
}
.primary-button,
.secondary-button,
.next-status-button,
.order-cancel-button,
.order-print-button,
.icon-button {
  transition:
    transform 0.14s ease-out,
    background 0.14s ease-out,
    border-color 0.14s ease-out,
    box-shadow 0.14s ease-out;
}
.primary-button {
  border: 1px solid #ffffffa8;
  border-radius: 0 !important;
  background: rgba(200, 16, 46, 0.9);
  box-shadow:
    inset 0 1px 0 #ffffff55,
    0 4px 12px #9f112c20;
  backdrop-filter: blur(8px);
}
.primary-button:hover {
  transform: translateY(-1px);
  background: #b80f2a;
  box-shadow:
    inset 0 1px 0 #ffffff55,
    0 6px 15px #9f112c2a;
}
.primary-button:active,
.secondary-button:active,
.next-status-button:active {
  transform: scale(0.98);
}
.secondary-button,
.order-cancel-button,
.order-print-button {
  border: 1px solid #ffffffc9 !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.76) !important;
  color: #46534b !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 8px #2333290c !important;
  backdrop-filter: blur(8px);
}
.order-card.kitchen-order {
  grid-template-columns: minmax(150px, 0.65fr) minmax(220px, 1.2fr) minmax(250px, 1fr);
  padding: 14px 17px;
  border: 1px solid #e8ebe8 !important;
  border-left: 4px solid #e88a4d !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 12px #29382f0b !important;
}
.order-card .next-status-button {
  border: 1px solid #ffffff88;
  border-radius: 0 !important;
  background: rgba(232, 120, 55, 0.92);
  box-shadow:
    inset 0 1px 0 #ffffff66,
    0 3px 9px #c7632c20;
  backdrop-filter: blur(6px);
}
.order-card .order-cancel-button,
.order-card .order-print-button {
  min-height: 38px;
}
.order-column {
  padding: 13px;
  border: 1px solid #e7eae7;
  border-radius: 0 !important;
  background: #ffffffb8;
}
@media (max-width: 760px) {
  .page-wrap {
    height: 100%;
    padding: 16px 14px 8px;
  }
  .app-footer {
    min-height: 32px;
  }
}
@media (max-width: 560px) {
  .order-card.kitchen-order {
    grid-template-columns: 1fr;
  }
  .order-card.kitchen-order .order-right {
    grid-column: 1;
  }
}

:root,
body,
button,
input,
select,
textarea {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-synthesis: weight style;
}
h1,
h2,
h3,
.page-heading h1 {
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.order-id,
.order-price,
.shift-summary strong {
  font-family: "IBM Plex Mono", monospace !important;
}

:root {
  --brand-red: #b3112b;
  --brand-red-dark: #8f0d22;
  --warm-bg: #f5f3ef;
  --panel: #ffffff;
  --ink: #25221f;
  --ink-soft: #59534d;
  --panel-radius: 22px;
}
body {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  background: #f5f3ef !important;
  color: #25221f !important;
}
.sidebar,
.topbar {
  background: #fffdfb !important;
  border-color: #eae4de !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.sidebar {
  border-right: 1px solid #eae4de !important;
  padding: 22px 16px !important;
}
.side-nav {
  gap: 7px !important;
}
.nav-item {
  min-height: 46px;
  border-radius: 0 !important;
  font-size: 14px !important;
  color: #514b45 !important;
}
.nav-item.active {
  background: #fbe9ec;
  color: var(--brand-red);
}
.nav-count {
  background: #fbe9ec;
  color: var(--brand-red);
  font-size: 12px !important;
}
.topbar {
  height: 64px !important;
  border-bottom: 1px solid #eae4de !important;
}
.page-wrap {
  max-width: none !important;
  padding: 28px clamp(20px, 3vw, 48px) 44px !important;
}
.page-heading h1,
.section-title-row h2 {
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif !important;
  color: #25221f !important;
}
.page-heading h1 {
  font-size: 34px !important;
}
.page-subtitle,
.muted,
.today-label {
  color: #59534d !important;
  font-size: 14px !important;
}
.stat-card,
.purchase-summary,
.settings-card,
.order-column,
.empty-state,
.purchase-row,
.order-card.kitchen-order,
.menu-row,
.settings-launch,
.settings-panel .settings-card {
  background: #fffdfb !important;
  border: 1px solid #e8e1da !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 26px rgba(40, 20, 10, 0.06) !important;
}
.order-column {
  padding: 16px !important;
}
.order-card.kitchen-order {
  padding: 16px 18px !important;
}
.primary-button,
.next-status-button {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--brand-red) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(179, 17, 43, 0.18) !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-weight: 600 !important;
}
.primary-button:hover,
.next-status-button:hover {
  background: var(--brand-red-dark) !important;
  box-shadow: 0 10px 24px rgba(179, 17, 43, 0.23) !important;
}
.secondary-button,
.glass-action,
.order-filter-toggle {
  border: 1px solid #e8e1da !important;
  border-radius: 0 !important;
  background: #fffdfb !important;
  box-shadow: 0 5px 16px rgba(40, 20, 10, 0.05) !important;
  color: #413b35 !important;
}
@keyframes menuAdded {
  0% {
    transform: scale(0.98);
  }
  55% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}
.app-shell button,
.app-shell input,
.app-shell select,
.app-shell textarea {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
}
.page-subtitle,
.stat-label,
.order-time,
.order-customer,
.order-detail,
.field-label,
.helper-text,
.settings-copy,
.settings-panel small,
.purchase-row small,
.empty-state p {
  font-size: 13px !important;
  color: #59534d !important;
}
.order-product,
.purchase-row .purchase-name,
.menu-row,
.settings-card > p,
.settings-disclosure summary {
  font-size: 15px !important;
  color: #25221f !important;
}
.section-title-row h2,
.card-heading h2,
.catalog-section-heading h3,
.settings-card h2 {
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #25221f !important;
}
.toolbar .search-box input,
.toolbar select,
.full-select,
.form-field input,
.form-field select,
.form-field textarea {
  font-size: 14px !important;
  color: #25221f !important;
}
:is(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid #b3112b !important;
  outline-offset: 2px !important;
}

#orderModal.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  overscroll-behavior: none;
  background: rgba(28, 25, 23, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
}
#orderModal.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
#orderModal .order-modal {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 96vw);
  height: min(840px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  min-width: 0;
  min-height: 0;
  margin: auto;
  padding: 24px 28px 28px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0 !important;
  background: #fffdfb;
  color: #1a1a1a;
  box-shadow: 0 30px 80px rgba(40, 20, 10, 0.25);
  transform: translateY(10px) scale(0.99);
  transition: transform 180ms ease-out;
}
#orderModal.open .order-modal {
  transform: translateY(0) scale(1);
}
#orderModal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  margin: 0 0 16px;
  padding: 0 0 15px;
  border-bottom: 1px solid #e9e3de;
}
#orderModal .modal-header .eyebrow {
  margin: 0 0 5px;
  color: #625d56;
  font-size: 13px;
  letter-spacing: 0.14em;
}
#orderModal .modal-header h2 {
  margin: 0;
  color: #1a1a1a;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
#orderModal .modal-header .icon-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  flex: none;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #37322d;
  font-size: 21px;
}
#orderModal #orderForm {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  gap: 16px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: visible;
}
#orderModal #orderForm > input[type="hidden"] {
  display: none;
}
#orderModal .menu-picker,
#orderModal .order-receipt {
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(35, 27, 20, 0.07);
  border-radius: 0 !important;
  background: #fff;
  box-shadow: 0 5px 18px rgba(40, 20, 10, 0.035);
}
#orderModal .menu-picker {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
}
#orderModal .menu-picker-heading {
  display: flex;
  align-items: center;
  min-width: 0;
}
#orderModal .menu-picker-heading strong,
#orderModal .order-cart-heading strong {
  color: #1a1a1a;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}
#orderModal .menu-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
#orderModal #orderMenuFilters {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 2px 1px 5px;

  scrollbar-width: thin;
  scrollbar-color: #d2cbc4 transparent;
}
#orderModal .menu-category-tab {
  display: inline-flex;
  min-width: max-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  background: transparent;
  color: #302c27;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
#orderModal .menu-category-tab:hover {
  background: #f5f1ed;
}
#orderModal .menu-category-tab.category-all {
  border-color: #e4ded8;
  background: #fff;
}
#orderModal .menu-category-tab.category-all.selected {
  border-color: #b3112b;
  background: #b3112b;
  color: #fff;
}
#orderModal .menu-category-tab[data-cat-index="0"] {
  border-color: #e5b79a;
  background: #fbe5d6;
}
#orderModal .menu-category-tab[data-cat-index="1"] {
  border-color: #c5d38f;
  background: #eaf0ce;
}
#orderModal .menu-category-tab[data-cat-index="2"] {
  border-color: #a6cde8;
  background: #dceefa;
}
#orderModal .menu-category-tab[data-cat-index="3"] {
  border-color: #c3b6e0;
  background: #e9e3f5;
}
#orderModal .menu-category-tab[data-cat-index="4"] {
  border-color: #9fd3c9;
  background: #d9f0ec;
}
#orderModal .menu-category-tab[data-cat-index].selected {
  font-weight: 750;
  box-shadow: inset 0 -2px 0 rgba(27, 25, 22, 0.4);
}

#orderModal #orderMenuFilters {
  flex-wrap: wrap;
  align-content: flex-start;
  overflow-x: visible;
  overflow-y: visible;
}
#orderModal .menu-category-tab {
  flex: 0 0 auto;
}
#orderModal .order-menu-search {
  display: flex;
  flex: 0 1 205px;
  width: auto;
  min-width: 145px;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #55514a;
}
#orderModal .order-menu-search span {
  font-size: 15px;
}
#orderModal .order-menu-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
}
#orderModal .order-menu-search input::placeholder {
  color: #625d56;
  opacity: 1;
}
#orderModal .order-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(144px, auto);
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px 5px 4px 2px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9bfb8 transparent;
}
#orderModal .order-menu-grid::-webkit-scrollbar {
  width: 7px;
}
#orderModal .order-menu-grid::-webkit-scrollbar-thumb {
  border-radius: 0 !important;
  background: #c9bfb8;
}
#orderModal .order-menu-card.order-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(2.5em, 1fr) auto auto;
  grid-template-areas: "category" "name" "description" "price";
  align-items: center;
  gap: 7px 9px;
  min-width: 0;
  min-height: 144px;
  padding: 13px;
  border: 1px solid rgba(45, 33, 23, 0.08);
  border-radius: 0 !important;
  color: #1a1a1a;
  text-align: left;
  white-space: normal;
  box-shadow: 0 3px 10px rgba(40, 20, 10, 0.035);
  cursor: pointer;
  transition:
    transform 140ms ease-out,
    box-shadow 140ms ease-out,
    filter 140ms ease-out;
}
#orderModal .order-menu-card.order-menu-item[data-cat-index="0"] {
  background: linear-gradient(135deg, #fbe5d6 0%, #fffdfb 100%);
}
#orderModal .order-menu-card.order-menu-item[data-cat-index="1"] {
  background: linear-gradient(135deg, #eaf0ce 0%, #fffdfb 100%);
}
#orderModal .order-menu-card.order-menu-item[data-cat-index="2"] {
  background: linear-gradient(135deg, #dceefa 0%, #fffdfb 100%);
}
#orderModal .order-menu-card.order-menu-item[data-cat-index="3"] {
  background: linear-gradient(135deg, #e9e3f5 0%, #fffdfb 100%);
}
#orderModal .order-menu-card.order-menu-item[data-cat-index="4"] {
  background: linear-gradient(135deg, #d9f0ec 0%, #fffdfb 100%);
}
#orderModal .order-menu-card.order-menu-item:hover {
  z-index: 1;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(40, 20, 10, 0.12);
  filter: saturate(1.03);
}
#orderModal .order-menu-card.order-menu-item:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}
#orderModal .order-menu-card.in-cart {
  border-color: rgba(179, 17, 43, 0.4);
}
#orderModal .order-menu-card .order-menu-category {
  grid-area: category;
  position: static;
  justify-self: start;
  align-self: center;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 0 !important;
  background: #f3d5c4;
  color: #30251f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
#orderModal .order-menu-card[data-cat-index="1"] .order-menu-category {
  background: #dde8b3;
}
#orderModal .order-menu-card[data-cat-index="2"] .order-menu-category {
  background: #c8e3f5;
}
#orderModal .order-menu-card[data-cat-index="3"] .order-menu-category {
  background: #dad0ee;
}
#orderModal .order-menu-card[data-cat-index="4"] .order-menu-category {
  background: #c3e7e0;
}
#orderModal .order-menu-card .order-menu-name {
  grid-area: name;
  display: block;
  position: static;
  min-width: 0;
  margin: 0;
  color: #1a1a1a;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#orderModal .order-menu-card .order-menu-description {
  grid-area: description;
  align-self: end;
  min-width: 0;
  color: #55514a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
#orderModal .order-menu-card .order-menu-price {
  grid-area: price;
  justify-self: end;
  align-self: end;
  color: #1a1a1a;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#orderModal .order-menu-card .order-menu-in-cart {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 3px 7px;
  border-radius: 0 !important;
  background: #e1f3e8;
  color: #155a34;
  font-size: 13px;
  font-weight: 650;
}
#orderModal .order-menu-no-results {
  grid-column: 1 / -1;
  display: grid;
  min-height: 120px;
  place-items: center;
  color: #55514a;
  font-size: 14px;
}
#orderModal .order-type-picker {
  display: flex;
  gap: 6px;
  margin: 0 0 13px;
  padding: 4px;
  border-radius: 0 !important;
  background: #f5f2ef;
}
#orderModal .order-type-picker .menu-category-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  background: transparent;
  font-size: 13px;
}
#orderModal .order-type-picker .menu-category-tab.selected {
  border-color: #b3112b;
  background: #b3112b;
  color: #fff;
  box-shadow: none;
}
#orderModal .order-receipt {
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  gap: 12px;
}
#orderModal .order-cart {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
#orderModal .order-cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0 0 9px;
  border-bottom: 1px solid #eee8e2;
}
#orderModal .order-cart-heading span {
  color: #55514a;
  font-size: 13px;
  white-space: nowrap;
}
#orderModal #orderCart {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
#orderModal .cart-empty {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border: 1px dashed #ddd6cf;
  border-radius: 0 !important;
  background: #fcfbf9;
  color: #55514a;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
#orderModal .cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 34px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid #efeae5;
}
#orderModal .cart-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
#orderModal .cart-copy strong {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#orderModal .cart-copy small {
  color: #55514a;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#orderModal .cart-qty {
  display: flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
}
#orderModal .cart-qty button {
  width: 30px;
  min-height: 34px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #b3112b;
  font-size: 18px;
}
#orderModal .cart-qty strong {
  min-width: 20px;
  color: #1a1a1a;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
#orderModal .cart-line-total {
  color: #1a1a1a;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#orderModal .cart-remove {
  display: grid;
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid #d71937;
  border-radius: 0 !important;
  background: #fff0f2;
  color: #c8102e;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
#orderModal .order-details {
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0 !important;
  background: #fffefd;
  overflow: visible;
}
#orderModal .order-details summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 13px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
#orderModal .order-details summary::-webkit-details-marker {
  display: none;
}
#orderModal .order-details summary::after {
  content: "+";
  color: #b3112b;
  font-size: 19px;
}
#orderModal .order-details[open] summary::after {
  content: "−";
}
#orderModal .order-details .form-grid,
#orderModal .order-details > .form-field {
  display: grid;
  gap: 8px;
  margin: 0 13px 10px;
}
#orderModal .order-details .form-grid {
  grid-template-columns: 1fr;
}
#orderModal .order-details .form-field > span {
  color: #39342f;
  font-size: 13px;
}
#orderModal .order-details input,
#orderModal .order-details textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
}
#orderModal .order-details textarea {
  resize: vertical;
}
#orderModal .order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 8px 2px 0;
  border: 0;
  border-top: 1px solid #eee8e2;
  background: transparent;
  color: #34302b;
  font-size: 15px;
}
#orderModal .order-total strong {
  color: #1a1a1a;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#orderModal #createOrderButton {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid #b3112b;
  border-radius: 0 !important;
  background: #b3112b;
  color: #fff;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 9px 22px rgba(179, 17, 43, 0.22);
}
#orderModal #createOrderButton:disabled {
  border-color: #e2ddd8;
  background: #efe9e8;
  color: #3f3b35;
  box-shadow: none;
  cursor: not-allowed;
}
#orderModal #createOrderButton kbd {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
#orderModal #createOrderButton:disabled kbd {
  border-color: #cfc8c1;
  background: #f8f5f3;
}
#orderModal button:focus-visible,
#orderModal input:focus-visible,
#orderModal textarea:focus-visible {
  outline: 2px solid #b3112b;
  outline-offset: 2px;
}
#sizePickerBackdrop {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 0 !important;
  background: rgba(33, 27, 24, 0.2);
  backdrop-filter: blur(3px);
}
#sizePickerBackdrop.hidden {
  display: none;
}
#sizePickerBackdrop .size-picker-dialog {
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 0 !important;
  background: #fffdfb;
  box-shadow: 0 24px 60px rgba(40, 20, 10, 0.22);
}
#sizePickerBackdrop .size-picker-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e1da;
}
#sizePickerBackdrop .size-picker-dialog .eyebrow {
  color: #625d56;
  font-size: 13px;
}
#sizePickerBackdrop .size-picker-dialog h3 {
  margin: 0;
  color: #1a1a1a;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 22px;
}
#sizePickerBackdrop .size-picker-options {
  display: grid;
  gap: 9px;
}
#sizePickerBackdrop .size-picker-option {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  text-align: left;
}
#sizePickerBackdrop .size-picker-option:hover {
  border-color: #b3112b;
  background: #fbe9ec;
}
#sizePickerBackdrop .size-picker-option span {
  display: grid;
  gap: 3px;
}
#sizePickerBackdrop .size-picker-option strong {
  font-size: 16px;
}
#sizePickerBackdrop .size-picker-option small {
  color: #55514a;
  font-size: 13px;
}
#sizePickerBackdrop .size-picker-option b {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
#orderModal .order-menu-card.recipe-blocked,
#orderModal .order-menu-card.recipe-blocked:hover,
#orderModal .order-menu-card.recipe-blocked:active {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.28);
  transform: none;
  box-shadow: 0 2px 7px rgba(40, 20, 10, 0.025);
}
#orderModal .order-menu-card.recipe-blocked .order-menu-description {
  color: #7a2635;
  font-weight: 650;
}
#sizePickerBackdrop .size-picker-option:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  background: #f3f0ee;
  border-color: #e4ded8;
}
#sizePickerBackdrop .size-picker-option:disabled:hover {
  border-color: #e4ded8;
  background: #f3f0ee;
}
@media (max-width: 980px) {
  #orderModal .order-modal {
    width: min(900px, 96vw);
  }
  #orderModal #orderForm {
    grid-template-columns: minmax(0, 1.55fr) minmax(275px, 1fr);
    gap: 12px;
  }
  #orderModal .menu-picker,
  #orderModal .order-receipt {
    padding: 14px;
  }
  #orderModal .menu-controls {
    align-items: stretch;
    flex-direction: column;
  }
  #orderModal .order-menu-search {
    flex: 0 0 auto;
    width: 100%;
  }
}
@media (max-width: 700px) {
  #orderModal.modal-backdrop {
    padding: 12px;
  }
  #orderModal .order-modal {
    width: 96vw;
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    padding: 16px;
    border-radius: 0 !important;
  }
  #orderModal #orderForm {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(240px, auto);
    gap: 10px;
  }
  #orderModal .menu-picker {
    min-height: 0;
  }
  #orderModal .order-receipt {
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    min-height: 240px;
  }
}
@media (max-width: 460px) {
  #orderModal .order-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #orderModal .order-menu-card.order-menu-item {
    min-height: 144px;
    padding: 10px;
  }
  #orderModal .order-menu-card .order-menu-name {
    font-size: 15px;
  }
  #orderModal .cart-row {
    grid-template-columns: minmax(0, 1fr) auto 30px;
    gap: 6px;
  }
  #orderModal .cart-line-total {
    display: none;
  }
  #orderModal .order-details .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

:root {
  --brand-red: #b3112b;
  --brand-red-dark: #8f0d22;
  --app-ink: #25221f;
  --app-muted: #5b554f;
}
html,
body {
  width: 100%;
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
body {
  min-height: 100vh !important;
}
.app-shell {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}
.sidebar {
  position: relative !important;
  top: auto !important;
  flex: none !important;
}
.main-area {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.page-wrap {
  height: auto !important;
  min-height: calc(100vh - 110px) !important;
  overflow: visible !important;
  padding-bottom: 48px !important;
}
.page#page-orders,
.page#page-orders.active {
  min-height: 0 !important;
}
.app-footer {
  display: none !important;
}

.sidebar .shift-summary {
  display: flex !important;
  flex: none !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 0 0 auto !important;
  padding: 7px !important;
  border: 1px solid #eae2dc !important;
  border-radius: 0 !important;
  background: #f8f5f1 !important;
  white-space: nowrap;
}
.sidebar .shift-summary > div {
  min-width: 92px !important;
  gap: 3px !important;
  padding: 3px 12px !important;
}
.sidebar .shift-summary > div + div {
  border-left: 1px solid #e3dbd4;
}
.sidebar .shift-summary span {
  color: #554e48 !important;
  font-size: 13px !important;
}
.sidebar .shift-summary strong {
  color: #1a1a1a !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
@media (max-width: 1060px) {
  .sidebar .shift-summary {
    flex-basis: 100%;
    margin: 4px 0 0 !important;
  }
  .sidebar .shift-summary > div {
    flex: 1;
    min-width: 0 !important;
    text-align: center;
  }
}
#orderModal .order-menu-search {
  display: none !important;
}
#orderModal .menu-controls {
  display: block !important;
  min-width: 0;
}
#orderModal #orderMenuFilters {
  width: 100%;
  max-width: 100%;
}
#orderModal #createOrderButton:not(:disabled) {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background: linear-gradient(
    112deg,
    #a70d26 0%,
    #c8102e 36%,
    #e0445c 50%,
    #c8102e 66%,
    #a70d26 100%
  ) !important;
  background-size: 240% 100% !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 26px rgba(179, 17, 43, 0.28) !important;
  animation: redGlassSweep 5s ease-in-out infinite;
}
#orderModal #createOrderButton:not(:disabled)::after {
  position: absolute;
  inset: 1px 1px auto;
  height: 45%;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}
#orderModal #createOrderButton:disabled {
  animation: none;
}
@keyframes redGlassSweep {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.order-card.kitchen-order[data-order-tone="0"] {
  background: #fffdfb !important;
}
.order-card.kitchen-order[data-order-tone="1"] {
  background: #fff8f3 !important;
}
.order-card.kitchen-order[data-order-tone="2"] {
  background: #f7fbf8 !important;
}
.order-card.kitchen-order[data-order-tone="3"] {
  background: #f7f9fd !important;
}
.order-card.archive-order[data-order-tone="0"] {
  background: #fffdfb !important;
}
.order-card.archive-order[data-order-tone="1"] {
  background: #fff8f3 !important;
}
.order-card.archive-order[data-order-tone="2"] {
  background: #f7fbf8 !important;
}
.order-card.archive-order[data-order-tone="3"] {
  background: #f7f9fd !important;
}
.order-card.kitchen-order.status-cooking {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.order-card.kitchen-order.status-cooking > * {
  position: relative;
  z-index: 1;
}
.order-card.kitchen-order.status-cooking::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18px;
  width: calc(100% + 36px);
  z-index: 0;
  border-radius: 0 !important;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(
    110deg,
    rgba(179, 17, 43, 0.16) 0 8.457px,
    transparent 8.457px 16.914px
  );
  will-change: transform;
  backface-visibility: hidden;
  animation: cooking-stripes 0.3s linear infinite;
}
@keyframes cooking-stripes {
  to {
    transform: translate3d(18px, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .order-card.kitchen-order.status-cooking::before {
    animation: none;
    will-change: auto;
  }
}
.order-payment-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid #ede5de;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.8);
  color: #4b453f;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.archive-order .order-payment-label {
  margin-top: 5px;
}
.menu-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu-add-trigger {
  min-height: 46px !important;
  padding-inline: 20px !important;
}
.menu-card {
  cursor: pointer;
  transition:
    transform 140ms ease-out,
    border-color 140ms ease-out,
    box-shadow 140ms ease-out !important;
}
.menu-card[data-category-index="1"] {
  border-color: #c5d38f !important;
  background: linear-gradient(135deg, #eaf0ce 0%, #fffdfb 100%) !important;
}
.menu-card[data-category-index="2"] {
  border-color: #a6cde8 !important;
  background: linear-gradient(135deg, #dceefa 0%, #fffdfb 100%) !important;
}
.menu-card[data-category-index="3"] {
  border-color: #c3b6e0 !important;
  background: linear-gradient(135deg, #e9e3f5 0%, #fffdfb 100%) !important;
}
.menu-card[data-category-index="4"] {
  border-color: #9fd3c9 !important;
  background: linear-gradient(135deg, #d9f0ec 0%, #fffdfb 100%) !important;
}
.menu-card[data-category-index="5"] {
  border-color: #e6c888 !important;
  background: linear-gradient(135deg, #fbf0d7 0%, #fffdfb 100%) !important;
}
.menu-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(40, 20, 10, 0.1) !important;
}
.menu-card:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}
.menu-card[data-category-index="1"] .menu-category {
  background: #dde8b3 !important;
}
.menu-card[data-category-index="2"] .menu-category {
  background: #c8e3f5 !important;
}
.menu-card[data-category-index="3"] .menu-category {
  background: #dad0ee !important;
}
.menu-card[data-category-index="4"] .menu-category {
  background: #c3e7e0 !important;
}
.menu-card[data-category-index="5"] .menu-category {
  background: #f1e1b9 !important;
}

.menu-editor-backdrop,
.payment-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(28, 24, 22, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.menu-editor-backdrop.hidden,
.payment-backdrop.hidden {
  display: none !important;
}
.menu-editor-dialog,
.payment-dialog {
  width: min(540px, 96vw);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0 !important;
  background: #fffdfb;
  color: #1a1a1a;
  box-shadow: 0 28px 72px rgba(30, 20, 15, 0.26);
}
.menu-editor-dialog > header,
.payment-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 21px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e9e3de;
}
.menu-editor-dialog > header span,
.payment-dialog > header span {
  color: #625d56;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
}
.menu-editor-dialog h2,
.payment-dialog h2 {
  margin: 6px 0 0;
  color: #1a1a1a;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 26px;
}
.menu-editor-close,
.payment-close {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid #e5ded7;
  border-radius: 0 !important;
  background: #fff;
  color: #3f3a35;
  font-size: 23px;
}
.menu-editor-form {
  display: grid;
  gap: 15px;
}
.menu-editor-form label {
  display: grid;
  gap: 7px;
  color: #3d3833;
  font-size: 14px;
  font-weight: 600;
}
.menu-editor-form input,
.menu-editor-form select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 15px;
}
.menu-editor-form footer,
.payment-dialog > footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #eee8e2;
}
.menu-editor-form footer button,
.payment-dialog > footer button {
  min-height: 46px;
  padding-inline: 18px;
}

.payment-dialog {
  width: min(620px, 96vw);
  padding: 28px;
}
.payment-dialog > header {
  align-items: center;
}
.payment-dialog h2 {
  font-size: 28px;
}
.payment-dialog header p {
  margin: 7px 0 0;
  color: #514b45;
  font-size: 15px;
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.payment-methods button {
  display: grid;
  min-height: 108px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 12px 8px;
  border: 1px solid #e8e1da;
  border-radius: 0 !important;
  background: #fff;
  color: #25221f;
  font: inherit;
  cursor: pointer;
  transition:
    transform 120ms ease-out,
    background 120ms ease-out,
    border-color 120ms ease-out;
}
.payment-methods button:hover,
.payment-other-options button:hover {
  border-color: #d994a1;
  background: #fff4f5;
}
.payment-methods button:active,
.payment-other-options button:active {
  transform: scale(0.98);
}
.payment-methods button.selected,
.payment-other-options button.selected {
  border-color: var(--brand-red);
  background: #fbe9ec;
  color: #8f0d22;
  box-shadow: inset 0 0 0 1px var(--brand-red);
}
.payment-methods strong {
  font-size: 15px;
}
.payment-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 0 !important;
  background: #f7f2ee;
  color: var(--brand-red);
  font-size: 22px;
  font-weight: 700;
}
.payment-other {
  display: grid;
  gap: 11px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #eee5de;
  border-radius: 0 !important;
  background: #fbf8f5;
  color: #302b26;
  font-size: 14px;
}
.payment-other.hidden,
.payment-own-field.hidden {
  display: none !important;
}
.payment-other-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.payment-other-options button {
  min-height: 43px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #302b26;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.payment-own-field {
  display: grid;
  gap: 7px;
  color: #4b453f;
  font-weight: 600;
}
.payment-own-field input {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 15px;
}
.payment-dialog > footer {
  margin-top: 18px;
}
.payment-dialog #confirmPayment:disabled {
  background: #e8e3df !important;
  color: #69625b !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.receipt-settings-layout {
  display: grid;

  align-items: start;
  gap: 24px;
}
.receipt-preview-shell {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e8e1da;
  border-radius: 0 !important;
  background: #f6f2ee;
}
.receipt-preview-label {
  justify-self: start;
  color: #625d56;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.receipt-preview {
  width: 100%;
}
.receipt-preview-paper {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid #e8e1da;
  background: #fff;
  color: #29241f;
  font-size: 14px;
  box-shadow: 0 7px 20px rgba(40, 20, 10, 0.08);
}
.receipt-preview-paper h4 {
  margin: 0;
  text-align: center;
  font-size: 17px;
}
.receipt-preview-paper p {
  margin: 0;
  color: #59534d;
  text-align: center;
}
.receipt-preview-paper hr {
  width: 100%;
  margin: 3px 0;
  border: 0;
  border-top: 1px dashed #cfc6be;
}
.receipt-preview-number {
  color: #1a1a1a;
  font-size: 25px;
  text-align: center;
}
.receipt-preview-paper > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.receipt-preview-paper > strong:last-of-type {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
}
.receipt-preview-paper footer {
  margin-top: 7px;
  color: #59534d;
  text-align: center;
}
.receipt-settings-form {
  display: grid;
  gap: 12px;
}
.receipt-settings-form.hidden {
  display: none !important;
}
.receipt-settings-form:not(.hidden) {
  padding: 18px;
  border: 1px solid #e8e1da;
  border-radius: 0 !important;
  background: #fffdfb;
}
.receipt-settings-form > label:not(.receipt-auto-print) {
  display: grid;
  gap: 7px;
  color: #39342f;
  font-size: 14px;
  font-weight: 600;
}
.receipt-settings-form input:not([type="checkbox"]),
.receipt-settings-form select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 15px;
}
.receipt-editor-shell {
  display: grid;
  min-width: 0;
  gap: 12px;
}
.receipt-settings-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid #e8e1da;
  border-radius: 0 !important;
  background: #faf8f6;
}
.receipt-settings-form fieldset legend {
  padding: 0 7px;
  color: #332d29;
  font-size: 14px;
  font-weight: 700;
}
.receipt-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.receipt-option-grid label {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #e8e1da;
  border-radius: 0 !important;
  background: #fff;
  color: #292421;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}
.receipt-option-grid input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #b3112b;
}
.receipt-design-hint {
  display: block;
  margin-top: 5px;
  color: #625b56;
  font-size: 13px;
  font-weight: 400;
}
.receipt-preview-enlarged {
  gap: 12px;
  padding: 20px;
  border: 2px solid #b3112b;
  border-top-width: 9px;
  border-radius: 0 !important;
  font-size: 15px;
}
.receipt-preview-enlarged h4 {
  color: #a20f28;
  font-size: 20px;
  font-weight: 800;
}
.receipt-preview-enlarged .receipt-preview-number {
  padding: 5px 0;
  border-block: 2px solid #b3112b;
  color: #171313;
  font-size: 32px;
  font-weight: 850;
}
.receipt-preview-enlarged > strong:last-of-type {
  padding-top: 6px;
  border-top: 2px solid #b3112b;
  color: #a20f28;
  font-size: 20px;
}
.receipt-enlarged {
  border: 2px solid #b3112b;
  border-top-width: 9px;
  border-radius: 0 !important;
  font-size: 14px;
}
.receipt-enlarged h1 {
  color: #a20f28;
  font-size: 22px;
  font-weight: 800;
}
.receipt-enlarged .receipt-total {
  padding-top: 8px;
  border-top: 2px solid #b3112b;
  color: #a20f28;
  font-size: 19px;
}
.receipt-payment {
  margin: 7px 0;
  font-weight: 600;
}
.receipt-sheet > div:first-of-type {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 800;
}
.receipt-sheet .receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed #cfc6be;
}

@media (max-width: 760px) {
  .sidebar .shift-summary > div {
    padding: 3px 6px !important;
  }
  .sidebar .shift-summary span {
    font-size: 12px !important;
  }
  .sidebar .shift-summary strong {
    font-size: 16px !important;
  }
  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .payment-methods button {
    min-height: 88px;
  }
  .receipt-settings-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .menu-editor-backdrop,
  .payment-backdrop {
    padding: 12px;
  }
  .menu-editor-dialog,
  .payment-dialog {
    padding: 18px;
    border-radius: 0 !important;
  }
  .payment-other-options {
    grid-template-columns: 1fr;
  }
  .page-heading .menu-add-trigger {
    padding-inline: 12px !important;
  }
}

#orderModal #orderMenuSearch {
  display: none !important;
}

.payment-dialog #confirmPayment:not(:disabled) {
  background: linear-gradient(112deg, #9f0f27 0%, #b3112b 48%, #cf2842 100%) !important;
  color: #fff !important;
  box-shadow:
    0 9px 20px rgba(179, 17, 43, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.payment-dialog #confirmPayment:not(:disabled):hover {
  background: #941025 !important;
}

:root {
  --orange: #b3112b;
  --orange-dark: #8e0f23;
}
.brand-lockup {
  border-color: #e9dfd9 !important;
  border-radius: 0 !important;
  background: #fffdfb !important;
  box-shadow: 0 4px 12px rgba(40, 20, 10, 0.07) !important;
}
.brand-lockup:hover {
  border-color: #dca9b2 !important;
}
.nav-item.active {
  background: #fbe9ec !important;
  color: #9f1028 !important;
}
.nav-count {
  background: #fbe9ec !important;
  color: #941027 !important;
}
.orange,
.settings-icon.icon-revenue {
  background: #fbe9ec !important;
  color: #a11029 !important;
}
.primary-button,
.next-status-button {
  background-color: #b3112b !important;
}
.text-button,
.menu-card-delete:hover,
.settings-launch-action {
  color: #b3112b !important;
}
.purchase-row input,
.schedule-days input {
  accent-color: #b3112b !important;
}
.order-menu-category[data-cat-index="0"],
.menu-category-tab[data-cat-index="0"] {
  background-color: #fbe9ec !important;
  border-color: #e2aab4 !important;
  color: #8f0d22 !important;
}
.menu-card[data-category-index="0"] {
  border-color: #e2aab4 !important;
  background: linear-gradient(135deg, #fbe9ec 0%, #fffdfb 100%) !important;
}
.menu-card[data-category-index="0"] .menu-category {
  background: #f1d1d7 !important;
  color: #8f0d22 !important;
}

#page-settings [data-settings-open="settingsEmployees"],
#logoutButton {
  display: none !important;
}
.language-picker-dialog {
  width: min(390px, calc(100vw - 32px)) !important;
  padding: 22px !important;
  border: 1px solid #efe5e0 !important;
  border-radius: 0 !important;
  background: #fffdfb !important;
  box-shadow: 0 24px 70px rgba(38, 20, 16, 0.22) !important;
  color: #25211f !important;
}
.language-picker-dialog::backdrop {
  background: rgba(27, 23, 22, 0.42) !important;
  backdrop-filter: blur(6px) !important;
}
.language-picker-dialog > header {
  padding-bottom: 15px !important;
  border-bottom-color: #eee5e0 !important;
}
.language-picker-dialog h3 {
  color: #211d1b !important;
  font-size: 19px !important;
}
.language-picker-dialog > header > button {
  width: 38px !important;
  height: 38px !important;
  border-radius: 0 !important;
}
.language-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin-top: 16px !important;
}
.language-option {
  display: flex !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 0 13px !important;
  border: 1px solid #e8e0db !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #292421 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.language-option:hover {
  border-color: #d79aa5 !important;
  background: #fff8f8 !important;
}
.language-option.selected {
  border-color: #b3112b !important;
  background: #fbe9ec !important;
  color: #8f0d22 !important;
}
.language-option small {
  font-size: 12px !important;
  color: #625b56 !important;
}

#settingsMetrics .revenue-cards {
  grid-template-columns: minmax(0, 1fr) minmax(1.3fr, 1.45fr) minmax(0, 1fr) !important;
  gap: 12px !important;
}
#settingsMetrics .revenue-card {
  min-height: 156px !important;
  padding: 22px !important;
  border: 1px solid #eae2dd !important;
  border-radius: 0 !important;
  background: #fffdfb !important;
  box-shadow: 0 5px 18px rgba(38, 27, 21, 0.055) !important;
  backdrop-filter: none !important;
}
#settingsMetrics .revenue-income {
  border-color: #9d1429 !important;
  background: #a91129 !important;
  color: #fff !important;
}
#settingsMetrics .revenue-income .stat-label,
#settingsMetrics .revenue-income .revenue-caption {
  color: #fff !important;
  opacity: 0.9;
}
#settingsMetrics .revenue-income strong {
  color: #fff !important;
  font-size: 35px !important;
}
#settingsMetrics .revenue-active strong,
#settingsMetrics .revenue-orders strong {
  color: #b3112b !important;
  font-size: 29px !important;
}
#settingsMetrics .revenue-watermark {
  display: none !important;
}
#settingsMetrics .revenue-icon {
  background: #fbe9ec !important;
  color: #9f1028 !important;
  box-shadow: none !important;
}
.settings-page-heading {
  align-items: center !important;
}
.settings-clock-panel {
  display: grid;
  gap: 5px;
  min-width: 220px;
  padding: 14px 20px;
  border: 1px solid #e9e1dc;
  border-radius: 0 !important;
  background: #fffdfb;
}
.settings-clock-panel span {
  color: #615a55;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.settings-clock-panel strong {
  color: #8f0d22;
  font-family: "IBM Plex Mono", monospace;
  font-size: 34px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.archive-toolbar {
  align-items: end;
}
.archive-day-field {
  display: none;
  min-width: 190px;
  gap: 5px;
  color: #55514a;
  font-size: 13px;
  font-weight: 600;
}
.archive-day-field.active {
  display: grid;
}
.archive-day-field input {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
}
.archive-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
#archiveLoadMore {
  display: block;
  min-width: 180px;
  margin: 18px auto 0;
}
#archiveLoadMore.hidden {
  display: none;
}
.archive-summary > span {
  display: grid;
  gap: 6px;
  padding: 15px 17px;
  border: 1px solid #eae2dc;
  border-radius: 0 !important;
  background: #fffdfb;
}
.archive-summary small {
  color: #5b554f;
  font-size: 13px;
}
.archive-summary strong {
  color: #211d1b;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

#settingsExport {
  width: min(650px, 100%) !important;
  justify-self: center;
  padding: 24px !important;
}
#settingsExport .export-heading {
  margin-bottom: 18px;
}
#settingsExport .export-field {
  max-width: 300px;

  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #39342f;
  font-size: 14px;
  font-weight: 600;
}
#settingsExport .export-field select,
#settingsExport .export-field input {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 15px;
}
#settingsExport .export-format-field {
  padding: 0;
  border: 0;
}
#settingsExport .export-format-field legend {
  padding: 0;
  margin-bottom: 7px;
}
#settingsExport .export-format-options {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  color: #39342f;
  font-size: 14px;
  font-weight: 500;
}
#settingsExport .export-format-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
#settingsExport .export-format-options input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: #b31230;
}
#settingsExport .export-day-field {
  display: none;
}
#settingsExport .export-day-field.active {
  display: grid;
}
#settingsExport #exportOrders {
  width: auto !important;
  min-width: 170px;
  max-width: 210px;
  margin-top: 14px;
  padding-inline: 18px !important;
}

.receipt-auto-print {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 11px !important;
  padding: 13px !important;
  border: 1px solid #e9e1db !important;
  border-radius: 0 !important;
  background: #faf7f4 !important;
}
.receipt-auto-print input {
  margin: 2px 0 0 !important;
  accent-color: #b3112b !important;
}
.receipt-auto-print > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.receipt-auto-print strong {
  color: #25211f;
  font-size: 14px;
}
.receipt-auto-print small {
  color: #5b554f;
  font-size: 13px;
  line-height: 1.4;
}
.receipt-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 13px;
  border: 1px solid #e8e1da;
  border-radius: 0 !important;
}
.receipt-options legend {
  padding: 0 5px;
  color: #4a433e;
  font-size: 14px;
  font-weight: 700;
}
.receipt-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #342f2b;
  font-size: 13px;
}
.receipt-options input {
  accent-color: #b3112b;
}
.receipt-brand-logo,
.receipt-preview-logo {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 7px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 !important;
}
.receipt-preview-logo {
  width: 40px;
  height: 40px;
}
.receipt-preview-compact {
  font-size: 13px;
  gap: 6px;
}
.receipt-preview-compact .receipt-preview-number {
  font-size: 21px;
}

.payment-card-icon {
  width: 58px !important;
  height: 40px !important;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.18);
}
.visa-wordmark {
  color: #fff;
  font:
    italic 900 17px/1 Arial,
    sans-serif;
  letter-spacing: -0.06em;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.14);
}

.cleanup-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 24, 22, 0.5);
  backdrop-filter: blur(8px);
}
.cleanup-confirm-backdrop.hidden {
  display: none !important;
}
.cleanup-confirm-dialog {
  display: grid;
  gap: 18px;
  width: min(520px, 96vw);
  padding: 25px;
  border: 1px solid #efe3dd;
  border-radius: 0 !important;
  background: #fffdfb;
  box-shadow: 0 28px 72px rgba(30, 20, 15, 0.27);
  color: #211d1b;
}
.cleanup-confirm-dialog header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 38px;
  align-items: start;
  gap: 12px;
}
.cleanup-danger-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 0 !important;
  background: #fbe9ec;
  color: #a20f28;
  font-size: 23px;
  font-weight: 800;
}
.cleanup-confirm-dialog h2 {
  margin: 1px 0 5px;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 24px;
}
.cleanup-confirm-dialog header p,
.cleanup-confirm-copy {
  margin: 0;
  color: #4e4843;
  font-size: 14px;
  line-height: 1.5;
}
.cleanup-confirm-dialog header button {
  width: 38px;
  height: 38px;
  border: 1px solid #e5ddd7;
  border-radius: 0 !important;
  background: #fff;
  color: #413b36;
  font-size: 21px;
}
.cleanup-confirm-copy {
  padding: 14px;
  border: 1px solid #eee5df;
  border-radius: 0 !important;
  background: #faf7f4;
}
.cleanup-countdown {
  display: grid;
  gap: 9px;
}
.cleanup-countdown-track {
  height: 9px;
  overflow: hidden;
  border-radius: 0 !important;
  background: #f0eae6;
}
.cleanup-countdown-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #8f0d22, #cf2944, #8f0d22);
  background-size: 200% 100%;
  transition: width 900ms linear;
  animation: cleanupGlow 1.4s linear infinite;
}
.cleanup-countdown p {
  margin: 0;
  color: #5a534d;
  font-size: 13px;
}
.cleanup-confirm-dialog footer {
  display: flex;
  justify-content: end;
  gap: 10px;
  padding-top: 3px;
}
.danger-final-button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 !important;
  background: #b3112b;
  color: #fff;
  font: inherit;
  font-weight: 700;
}
.danger-final-button:disabled {
  background: #eae5e1;
  color: #635c56;
  cursor: wait;
}
@keyframes cleanupGlow {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 700px) {
  #settingsMetrics .revenue-cards {
    grid-template-columns: 1fr !important;
  }
  #settingsMetrics .revenue-card {
    min-height: 100px !important;
  }
  .settings-clock-panel {
    min-width: 0;
    padding: 10px 12px;
  }
  .settings-clock-panel strong {
    font-size: 25px;
  }
  .archive-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .archive-toolbar {
    flex-wrap: wrap;
  }
  .archive-toolbar .search-box {
    flex-basis: 100%;
  }
  .receipt-options {
    grid-template-columns: 1fr;
  }
  .cleanup-confirm-dialog {
    padding: 19px;
  }
  .cleanup-confirm-dialog footer {
    flex-direction: column-reverse;
  }
}

.export-day-field {
  display: none;
  gap: 5px;
  margin-top: 10px;
  color: #55514a;
  font-size: 13px;
  font-weight: 600;
}
.export-day-field.active {
  display: grid;
}
.export-day-field input {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
}
#receiptPreview .receipt-preview-logo {
  object-position: center top;
}

.settings-launchers .settings-launch .icon-revenue {
  --mark-bg: #fbe9ec !important;
  --mark-border: #e8c8ce !important;
  --mark-color: #a11029 !important;
}
.settings-launchers .settings-launch .icon-revenue,
.settings-launchers .settings-launch:hover .icon-revenue,
.settings-launchers .settings-launch:active .icon-revenue,
.settings-launchers .settings-launch:focus .icon-revenue,
.settings-launchers .settings-launch:focus-visible .icon-revenue {
  border-color: #e8c8ce !important;
  background: #fbe9ec !important;
  color: #a11029 !important;
}

.settings-launchers .settings-icon.icon-revenue svg,
.settings-launchers .settings-icon.icon-receipt svg {
  width: 30px !important;
  height: 30px !important;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-launchers .settings-launch .settings-icon.icon-revenue svg,
.settings-launchers .settings-launch:hover .settings-icon.icon-revenue svg,
.settings-launchers .settings-launch:active .settings-icon.icon-revenue svg,
.settings-launchers .settings-launch:focus .settings-icon.icon-revenue svg,
.settings-launchers .settings-launch:focus-visible .settings-icon.icon-revenue svg,
.settings-launchers .settings-launch .settings-icon.icon-receipt svg,
.settings-launchers .settings-launch:hover .settings-icon.icon-receipt svg,
.settings-launchers .settings-launch:active .settings-icon.icon-receipt svg,
.settings-launchers .settings-launch:focus .settings-icon.icon-receipt svg,
.settings-launchers .settings-launch:focus-visible .settings-icon.icon-receipt svg {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
}
.settings-launchers .settings-icon.icon-revenue .money-note {
  fill: #fbe9ec;
  stroke: #a11029;
}
.settings-launchers .settings-icon.icon-revenue .money-fold {
  fill: none;
  stroke: #a11029;
  stroke-width: 1.3;
}
.settings-launchers .settings-icon.icon-revenue .money-seal {
  fill: #f1c2cb;
  stroke: #a11029;
  stroke-width: 1.2;
}
.settings-launchers .settings-icon.icon-receipt {
  border-color: #e5ddd7 !important;
  background: #f7f4f0 !important;
  color: #554943 !important;
}
.settings-launchers .settings-icon.icon-receipt .receipt-paper {
  fill: #fffdfb;
  stroke: #554943;
  stroke-width: 1.5;
}
.settings-launchers .settings-icon.icon-receipt .receipt-line {
  fill: none;
  stroke: #b3112b;
  stroke-width: 1.5;
}
.settings-launchers .settings-icon.icon-receipt .receipt-hole {
  fill: #e8d9d1;
  stroke: none;
}
.settings-launchers .settings-icon.icon-language {
  border-color: #d6dbf1 !important;
  background: #eef0fa !important;
  color: #43548f !important;
}
.settings-launchers .settings-launch .icon-language,
.settings-launchers .settings-launch:hover .icon-language,
.settings-launchers .settings-launch:active .icon-language,
.settings-launchers .settings-launch:focus .icon-language,
.settings-launchers .settings-launch:focus-visible .icon-language {
  border-color: #d6dbf1 !important;
  background: #eef0fa !important;
  color: #43548f !important;
}
.settings-launchers .settings-launch .icon-receipt,
.settings-launchers .settings-launch:hover .icon-receipt,
.settings-launchers .settings-launch:active .icon-receipt,
.settings-launchers .settings-launch:focus .icon-receipt,
.settings-launchers .settings-launch:focus-visible .icon-receipt {
  border-color: #e5ddd7 !important;
  background: #f7f4f0 !important;
  color: #554943 !important;
}

.sidebar {
  flex-wrap: nowrap !important;
}
.sidebar-branding {
  transform: none !important;
  min-width: 0 !important;
}
.sidebar .brand-lockup,
.sidebar .brand-lockup:visited {
  min-width: 0 !important;
  width: auto !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.order-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-back-button {
  width: auto;
  height: 40px !important;
  min-height: 40px !important;
  padding-inline: 14px !important;
  font-size: 14px !important;
}
.receipt-settings-layout {
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
}
.receipt-settings-form:not(.hidden) {
  display: grid !important;
}
.danger-final-button {
  position: relative;
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.cleanup-button-progress {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #a20f28, #d52a45);
  transition: width 900ms linear;
}
.cleanup-button-label {
  position: relative;
  z-index: 1;
}
.danger-final-button:disabled .cleanup-button-progress {
  opacity: 0.92;
}
.cleanup-confirm-dialog footer {
  align-items: center;
}

.settings-modal > .settings-panel:not(.hidden) {
  display: block !important;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.settings-modal > .settings-panel:not(.hidden) > * {
  margin-bottom: 14px;
}
.settings-modal > .settings-panel:not(.hidden) > .settings-card {
  min-height: max-content;
}

.settings-launchers .settings-icon.icon-inventory {
  border-color: #e8c8ce;
  background: #fbe9ec;
  color: #a11029;
}
.settings-launchers .settings-icon.icon-inventory svg {
  width: 32px !important;
  height: 32px !important;
  overflow: visible;
}
.settings-launchers .settings-icon.icon-inventory .bread-lavash {
  fill: #fff8eb;
  stroke: #a56a35;
  stroke-width: 1.35;
  stroke-linejoin: round;
}
.settings-launchers .settings-icon.icon-inventory .bread-fold {
  fill: none;
  stroke: #c18a51;
  stroke-width: 0.9;
  stroke-linecap: round;
}
.settings-launchers .settings-icon.icon-inventory .bread-round {
  fill: #e8ad58;
  stroke: #a56a35;
  stroke-width: 1.25;
}
.settings-launchers .settings-icon.icon-inventory .bread-score {
  fill: none;
  stroke: #fff0cc;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.inventory-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.inventory-card .catalog-section-heading {
  margin: 0;
}
.inventory-count {
  flex: none;
  padding: 6px 10px;
  border-radius: 0 !important;
  background: #fbe9ec;
  color: #941027;
  font-size: 13px;
  font-weight: 700;
}
.inventory-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.7fr) auto;
  align-items: end;
  gap: 10px;
}
.inventory-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #3f3a36;
  font-size: 13px;
  font-weight: 650;
}
.inventory-form input,
.inventory-form select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #e4dcd6;
  border-radius: 0 !important;
  background: #fff;
  color: #211d1b;
  font: inherit;
  font-size: 14px;
}
.inventory-form input:focus,
.inventory-form select:focus {
  border-color: #b3112b;
  outline: 3px solid #b3112b20;
}
.inventory-form button {
  min-height: 42px;
  white-space: nowrap;
}
.inventory-receipt-form {
  grid-template-columns:
    minmax(0, 1fr) minmax(110px, 0.55fr) minmax(0, 1fr)
    auto;
}
.inventory-recipe-form {
  grid-template-columns:
    minmax(0, 1.2fr) minmax(0, 1fr) minmax(120px, 0.65fr)
    auto;
}
.inventory-list,
.inventory-movements {
  display: grid;
  gap: 8px;
}
.inventory-row,
.inventory-movement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #eae2dd;
  border-radius: 0 !important;
  background: #fff;
}
.inventory-row > div,
.inventory-movement > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.inventory-row strong,
.inventory-movement strong {
  color: #292421;
  font-size: 14px;
  font-weight: 700;
}
.inventory-row small,
.inventory-movement small {
  color: #625b56;
  font-size: 13px;
  line-height: 1.4;
}
.inventory-balance {
  min-width: 90px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.inventory-balance.is-low {
  color: #a11029;
}
.inventory-delete {
  min-height: 34px;
  padding: 0 11px;
  color: #8f0d22;
}
.inventory-movement {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}
.inventory-movement-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 0 !important;
  background: #e8f4ea;
  color: #28613b;
  font-size: 19px;
  font-weight: 700;
}
.inventory-movement-mark.is-out {
  background: #fbe9ec;
  color: #941027;
}
.inventory-movement > b {
  color: #292421;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.inventory-empty {
  padding: 15px;
  border: 1px dashed #ded5ce;
  border-radius: 0 !important;
  color: #625b56;
  font-size: 13px;
  text-align: center;
}
@media (max-width: 760px) {
  .inventory-form,
  .inventory-receipt-form,
  .inventory-recipe-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inventory-form button {
    grid-column: 1/-1;
    justify-self: stretch;
  }
}
@media (max-width: 480px) {
  .inventory-card {
    padding: 13px;
  }
  .inventory-form,
  .inventory-receipt-form,
  .inventory-recipe-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .inventory-form button {
    grid-column: auto;
  }
  .inventory-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .inventory-row .inventory-delete {
    grid-column: 2;
  }
  .inventory-row small {
    overflow-wrap: anywhere;
  }
}

.inventory-cabinet {
  gap: 18px !important;
}
.inventory-cabinet-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(400px, 1.2fr);
  align-items: center;
  gap: 24px;
  padding: 6px 4px 4px;
}
.inventory-cabinet-intro h2 {
  margin: 5px 0 4px;
  color: #242321;
  font-size: 28px;
  line-height: 1.15;
}
.inventory-cabinet-intro p {
  margin: 0;
  color: #625b56;
  font-size: 14px;
}
.inventory-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.inventory-overview > div {
  display: grid;
  gap: 7px;
  padding: 15px 17px;
  border: 1px solid rgba(90, 70, 58, 0.1);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 242, 0.78));
  box-shadow: 0 8px 22px rgba(47, 35, 26, 0.05);
}
.inventory-overview span {
  color: #625b56;
  font-size: 13px;
}
.inventory-overview strong {
  color: #252321;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}
.inventory-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 16px;
}
.inventory-operations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.inventory-cabinet .inventory-card {
  min-width: 0;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(90, 70, 58, 0.1);
  border-radius: 0 !important;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 246, 0.9));
  box-shadow: 0 12px 32px rgba(47, 35, 26, 0.055);
}
.inventory-cabinet .catalog-section-heading h3 {
  margin: 0 0 4px;
  color: #272522;
  font-size: 18px;
}
.inventory-cabinet .settings-copy {
  margin: 0;
  color: #625b56;
  font-size: 13px;
  line-height: 1.45;
}
.inventory-stock-card .inventory-form {
  grid-template-columns: minmax(0, 1fr) 135px auto;
}
.inventory-stock-row {
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 13px;
  border-radius: 0 !important;
}
.inventory-product-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 0 !important;
  background: #fbe9ec;
  color: #941027;
  font-size: 17px;
  font-weight: 800;
}
.inventory-stock-info strong {
  font-size: 15px;
}
.inventory-stock-info small {
  color: #625b56;
}
.inventory-stock-amount {
  display: grid;
  min-width: 78px;
  gap: 2px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.inventory-stock-amount strong {
  font-size: 17px;
}
.inventory-stock-amount small {
  color: #625b56;
  font-size: 12px;
}
.inventory-stock-amount.is-low strong,
.inventory-stock-amount.is-low small {
  color: #a11029;
}
.inventory-cabinet .inventory-bulk-recipe-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 0 !important;
  background: rgba(247, 244, 241, 0.82);
}
.inventory-bulk-recipe-form > label {
  display: grid;
  gap: 7px;
  color: #38332f;
  font-size: 13px;
  font-weight: 700;
}
.inventory-bulk-recipe-form select,
.inventory-recipe-amount input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #ded5ce;
  border-radius: 0 !important;
  background: #fff;
  color: #292421;
  font: inherit;
}
.inventory-recipe-hint {
  color: #625b56;
  font-size: 13px;
  line-height: 1.45;
}
.inventory-recipe-choices {
  display: grid;
  max-height: 380px;
  gap: 7px;
  overflow: auto;
  padding-right: 3px;
}
.inventory-recipe-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(90, 70, 58, 0.1);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.inventory-recipe-choice > input {
  width: 17px;
  height: 17px;
  accent-color: #b3112b;
}
.inventory-recipe-dish {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.inventory-recipe-dish strong {
  overflow-wrap: anywhere;
  color: #292421;
  font-size: 13px;
}
.inventory-recipe-dish small,
.inventory-recipe-amount small {
  color: #625b56;
  font-size: 12px;
}
.inventory-recipe-amount {
  display: grid;
  justify-items: end;
  gap: 3px;
}
.inventory-recipe-amount input {
  min-height: 36px;
  padding-inline: 8px;

  font-variant-numeric: tabular-nums;
}
.inventory-recipe-summary {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}
.inventory-recipe-summary > strong {
  color: #3b3733;
  font-size: 14px;
}
.inventory-cabinet .inventory-journal-card {
  gap: 16px;
}
.inventory-archive-block {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(90, 70, 58, 0.11);
}
.inventory-cabinet .inventory-movements {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}
.inventory-cabinet .inventory-movement {
  padding: 13px;
  border-radius: 0 !important;
}
.inventory-cabinet .inventory-receipt-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.inventory-cabinet .inventory-receipt-form label:first-child,
.inventory-cabinet .inventory-receipt-form label:nth-child(3),
.inventory-cabinet .inventory-receipt-form button {
  grid-column: 1/-1;
}
.inventory-cabinet .inventory-prep-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.inventory-cabinet .inventory-prep-form button {
  grid-column: 1/-1;
}
.inventory-cabinet .inventory-recipe-form {
  display: none !important;
}
@media (max-width: 1050px) {
  .inventory-cabinet-intro {
    grid-template-columns: 1fr;
  }
  .inventory-workspace {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .inventory-overview {
    grid-template-columns: 1fr;
  }
  .inventory-operations {
    grid-template-columns: 1fr;
  }
  .inventory-cabinet .inventory-card {
    padding: 16px;
  }
  .inventory-stock-card .inventory-form,
  .inventory-cabinet .inventory-receipt-form,
  .inventory-cabinet .inventory-prep-form {
    grid-template-columns: 1fr;
  }
  .inventory-stock-card .inventory-form > *,
  .inventory-cabinet .inventory-receipt-form > *,
  .inventory-cabinet .inventory-prep-form > * {
    grid-column: 1;
  }
  .inventory-stock-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }
  .inventory-stock-row .inventory-delete {
    grid-column: 2/-1;
    justify-self: end;
  }
  .inventory-recipe-choice {
    grid-template-columns: 18px minmax(0, 1fr) 88px;
    gap: 7px;
    padding: 8px;
  }
}

@media (max-width: 1200px) and (min-width: 641px) {
  .sidebar {
    display: grid !important;
    grid-template-columns: minmax(190px, max-content) minmax(0, 1fr);
    gap: 7px 16px !important;
    padding: 8px 18px !important;
  }
  .sidebar-branding {
    grid-column: 1;
  }
  .sidebar .side-nav {
    grid-column: 2;
    min-width: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
  .sidebar .shift-summary {
    grid-column: 1 / -1;
    width: 100% !important;
    justify-content: stretch !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    border: 1px solid #eae2dc !important;
    border-radius: 0 !important;
  }
  .sidebar .shift-summary > div {
    flex: 1;
    min-width: 0 !important;
    text-align: center;
  }
}
@media (max-width: 760px) {
  .receipt-preview-shell {
    grid-template-columns: 1fr;
  }
  .receipt-preview {
    max-width: 320px;
  }
}
@media (max-width: 640px) {
  .sidebar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 7px !important;
    padding: 8px 12px !important;
  }
  .sidebar .side-nav {
    width: auto !important;
    max-width: 100% !important;
  }
  .sidebar .shift-summary {
    display: flex !important;
    width: 100% !important;
  }
  .page-wrap {
    width: 100%;
    min-width: 0;
    padding-inline: 12px !important;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .settings-launchers {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .order-header-actions {
    gap: 6px;
  }
  .order-back-button {
    min-height: 38px !important;
    padding-inline: 10px !important;
  }
  .cleanup-confirm-dialog footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

body.desktop-app,
body.desktop-app * {
  -webkit-user-select: none !important;
  user-select: none !important;
}
body.desktop-app input,
body.desktop-app textarea,
body.desktop-app select,
body.desktop-app [contenteditable="true"],
body.desktop-app .allow-text-selection {
  -webkit-user-select: text !important;
  user-select: text !important;
}
body.desktop-app *:hover,
body.desktop-app *:hover * {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  transition: none !important;
  filter: none !important;
}

.sidebar .nav-icon svg {
  stroke: currentColor !important;
}
.orders-list:has(> .order-card.kitchen-order) {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.desktop-app button:hover,
body.desktop-app button:active,
body.desktop-app [role="button"]:hover,
body.desktop-app [role="button"]:active,
body.desktop-app a.button:hover,
body.desktop-app a.button:active {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
}
.security-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin: 14px 0;
}
.security-actions-grid > .settings-disclosure,
.security-actions-grid > .language-choice-trigger {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  margin: 0 !important;
  align-self: stretch;
}
.security-actions-grid > .language-choice-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 560px) {
  .security-actions-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

.settings-launchers .settings-launch[data-settings-open="settingsInventory"],
.settings-launchers .settings-launch[data-settings-open="settingsInventory"]:hover,
.settings-launchers .settings-launch[data-settings-open="settingsInventory"]:active,
.settings-launchers .settings-launch[data-settings-open="settingsInventory"]:focus-visible {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid #dfe5e0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff, #f7f8f6) !important;
  box-shadow:
    0 8px 22px rgba(35, 47, 39, 0.07),
    inset 0 1px 0 #fff !important;
  color: #303a34 !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
  filter: none !important;
}

.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]
  .settings-icon.icon-inventory,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:hover
  .settings-icon.icon-inventory,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:active
  .settings-icon.icon-inventory,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:focus
  .settings-icon.icon-inventory,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:focus-visible
  .settings-icon.icon-inventory {
  border: 1px solid #e8c8ce !important;
  border-radius: 0 !important;
  background: #fbe9ec !important;
  color: #a11029 !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  filter: none !important;
  transition: none !important;
}

.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]
  .settings-icon.icon-inventory
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:hover
  .settings-icon.icon-inventory
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:active
  .settings-icon.icon-inventory
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:focus
  .settings-icon.icon-inventory
  svg,
.settings-launchers
  .settings-launch[data-settings-open="settingsInventory"]:focus-visible
  .settings-icon.icon-inventory
  svg {
  width: 30px !important;
  height: 30px !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  transition: none !important;
}

.startup-splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  place-items: center;
  background: #fff;
  opacity: 1;
  transition: opacity 0.24s ease;
}
.startup-splash.is-visible {
  display: grid;
}
.startup-splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.startup-splash img {
  display: block;
  width: min(100vw, 100vh);
  height: min(100vw, 100vh);
  object-fit: contain;
}
.startup-splash[hidden] {
  display: none;
}
.interface-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.interface-option {
  display: flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid #e4ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #292521;
  text-align: left;
}
.interface-option > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
  flex: 1;
}
.interface-option strong {
  font-size: 15px;
}
.interface-option small {
  color: #59534d;
  font-size: 13px;
}
.interface-option > b {
  color: #941027;
  font-size: 22px;
}
.interface-option:hover {
  background: #fffaf8;
  border-color: #d8b7b9;
}
.interface-option:focus-visible {
  outline: 3px solid #d98c99;
  outline-offset: 2px;
}
.interface-option .icon-language svg,
.interface-option .settings-icon > svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.interface-option .icon-language {
  color: #941027;
  background: #fbe9ec;
}
.interface-option .icon-inventory .bread-lavash {
  fill: #fff8eb;
  stroke: #a56a35;
  stroke-width: 1.35;
  stroke-linejoin: round;
}
.interface-option .icon-inventory .bread-fold {
  fill: none;
  stroke: #c18a51;
  stroke-width: 0.9;
  stroke-linecap: round;
}
.interface-option .icon-inventory .bread-round {
  fill: #e8ad58;
  stroke: #a56a35;
  stroke-width: 1.25;
}
.interface-option .icon-inventory .bread-score {
  fill: none;
  stroke: #fff0cc;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.interface-option .icon-fullscreen {
  color: #43548f;
  background: #eef0fa;
  border-color: #d6dbf1;
}
.cleanup-button-progress {
  background: linear-gradient(90deg, #f3c3ca, #f7dce0) !important;
  opacity: 1 !important;
}
.danger-final-button:disabled .cleanup-button-label {
  position: relative;

  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.manager-access-dialog #managerPasswordChangeForm {
  margin: 16px 0;
}
.manager-access-dialog #managerPasswordChangeForm label {
  font-size: 13px;
}
.manager-access-dialog #managerPasswordChangeForm button {
  margin-top: 2px;
}
.cash-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.cash-summary article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #e9dfd8;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #faf5f1);
}
.cash-summary small {
  color: #625a53;
  font-size: 13px;
}
.cash-summary strong {
  color: #241e1a;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.cash-expense-form {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(220px, 1.5fr) auto;
  align-items: end;
  gap: 12px;
  margin: 18px 0 24px;
  padding: 16px;
  border: 1px solid #e9dfd8;
  border-radius: 0 !important;
  background: #fff;
}
.cash-expense-form label {
  display: grid;
  gap: 7px;
  color: #39332e;
  font-size: 13px;
  font-weight: 650;
}
.cash-expense-form input {
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d9d1ca;
  border-radius: 0 !important;
  background: #fff;
  color: #211e1b;
  font: inherit;
  font-size: 15px;
}
.cash-ledger {
  display: grid;
  gap: 9px;
}
.cash-ledger-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #ece5df;
  border-radius: 0 !important;
  background: #fff;
}
.cash-ledger-row > div {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}
.cash-ledger-row strong {
  color: #28231f;
  font-size: 14px;
}
.cash-ledger-row small {
  color: #645d56;
  font-size: 13px;
  line-height: 1.4;
}
.cash-ledger-row > b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cash-in {
  color: #17643a;
}
.cash-out {
  color: #9b1730;
}
.cash-ledger-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 0 !important;
  background: #eaf5ed;
  color: #17643a;
  font-weight: 800;
}
.cash-ledger-mark.expense,
.cash-ledger-mark.refund {
  background: #fbeaec;
  color: #9b1730;
}
.cleanup-confirm-copy {
  display: none !important;
}
.cleanup-countdown {
  min-height: 0;
  margin: 0 !important;
}
.cleanup-countdown p:empty {
  display: none;
}
.danger-final-button:disabled {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.danger-final-button:disabled .cleanup-button-progress {
  position: absolute !important;
}
.danger-final-button:disabled::before {
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 44%;
  content: "";
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.56),
    rgba(255, 210, 216, 0.26),
    transparent
  );
  filter: blur(5px);
  transform: skewX(-22deg);
  animation: cleanupWind 1.55s ease-in-out infinite;
  z-index: 0;
}
.danger-final-button:disabled .cleanup-button-label {
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
@keyframes cleanupWind {
  0% {
    left: -45%;
    opacity: 0.2;
  }
  45% {
    opacity: 0.9;
  }
  100% {
    left: 110%;
    opacity: 0.08;
  }
}
.kitchen-order-policy {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e9dfd8;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #faf5f1);
}
.kitchen-order-policy h4 {
  margin: 0;
  color: #28231f;
  font-size: 16px;
}
.kitchen-order-policy p,
.kitchen-order-policy > small {
  margin: 5px 0 0;
  color: #625a53;
  font-size: 13px;
  line-height: 1.5;
}
.recipe-policy-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e9dfd8;
  border-radius: 0 !important;
  background: #fff;
  color: #302a25;
  font-size: 14px;
  font-weight: 650;
}
.recipe-policy-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #b3112b;
}
.cash-adjustment-form {
  margin-top: 0;
}
.cash-adjustment-form > p {
  grid-column: 1/-1;
  margin: 0;
  color: #625a53;
  font-size: 13px;
  line-height: 1.5;
}
.cash-adjustment-form .secondary-button {
  min-height: 44px;
}
.cash-ledger-mark.adjustment {
  background: #eef0f3;
  color: #3d4652;
}
@media (max-width: 720px) {
  .cash-summary {
    grid-template-columns: 1fr;
  }
  .cash-expense-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .interface-options {
    grid-template-columns: 1fr;
  }
}
.cash-ledger-heading {
  align-items: end;
  gap: 16px;
}
.cash-date-field {
  display: grid;
  min-width: 180px;
  gap: 6px;
  color: #504840;
  font-size: 13px;
  font-weight: 650;
}
.cash-date-field input {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #d9d1ca;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.82);
  color: #211e1b;
  font: inherit;
  font-size: 14px;
}
.cash-date-field input:focus-visible {
  outline: 3px solid rgba(179, 17, 43, 0.18);
  border-color: #b3112b;
}
@media (max-width: 560px) {
  .cash-ledger-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .cash-date-field {
    min-width: 0;
  }
}
.manager-access-toggle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: none;
  padding: 0;
  border: 1px solid #e8ddd7;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f8f2ef);
  box-shadow:
    0 3px 9px rgba(40, 20, 10, 0.07),
    inset 0 1px 0 #fff;
  color: #5b514c;
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s,
    box-shadow 0.16s;
}
.manager-access-toggle:hover,
.manager-access-toggle.is-manager {
  border-color: #d9a6af;
  background: #fbe9ec;
  color: #941027;
  box-shadow: 0 5px 13px rgba(40, 20, 10, 0.1);
}
.manager-access-toggle:focus-visible {
  outline: 3px solid #d98c99;
  outline-offset: 2px;
}
.manager-access-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.manager-access-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: min(88vh, 760px);
  padding: 25px;
  border: 1px solid #eee6e0;
  border-radius: 0 !important;
  background: #fffdfb;
  color: #292521;
  box-shadow: 0 28px 90px rgba(25, 18, 15, 0.28);
}
.manager-access-dialog::backdrop {
  background: rgba(28, 25, 22, 0.54);
  backdrop-filter: blur(8px);
}
.manager-access-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e9e1db;
}
.manager-access-dialog > header h2 {
  margin: 4px 0 0;
  font-size: 23px;
  line-height: 1.2;
}
.manager-access-eyebrow {
  color: #766e66;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
}
.manager-access-view {
  display: grid;
  gap: 15px;
  padding-top: 18px;
}
.manager-access-view.hidden {
  display: none !important;
}
.manager-access-view > p {
  margin: 0;
  color: #534c45;
  font-size: 14px;
  line-height: 1.55;
}
.manager-access-view form {
  display: grid;
  gap: 12px;
}
.manager-access-view label {
  display: grid;
  gap: 7px;
  color: #403a35;
  font-size: 13px;
  font-weight: 650;
}
.manager-access-view input {
  width: 100%;
  min-height: 45px;
  padding: 9px 12px;
  border: 1px solid #d9d1ca;
  border-radius: 0 !important;
  background: #fff;
  color: #211e1b;
  font: inherit;
  font-size: 15px;
}
.manager-access-view input[type="file"] {
  font-size: 13px;
}
.manager-access-view .full-button {
  min-height: 48px;
  border-radius: 0 !important;
}
.manager-access-link {
  justify-self: start;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #8f1530;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.manager-access-link:hover {
  color: #641024;
}
.manager-access-feedback {
  min-height: 20px;
  margin: 10px 0 0;
  color: #8f1530;
  font-size: 13px;
  line-height: 1.45;
}
.manager-access-feedback:empty {
  display: none;
}
@media (max-width: 640px) {
  .manager-access-toggle,
  .fullscreen-toggle {
    width: 34px;
    height: 34px;
  }
  .manager-access-dialog {
    padding: 21px 18px;
    border-radius: 0 !important;
  }
  .manager-access-dialog > header h2 {
    font-size: 21px;
  }
}

.danger-final-button:disabled {
  background: #eee9e7 !important;
  color: #33272a !important;
}
.danger-final-button:disabled::before {
  content: none !important;
}
.danger-final-button:disabled .cleanup-button-progress {
  inset: 0 auto 0 0 !important;
  width: var(--cleanup-progress, 0%) !important;
  background: linear-gradient(
    105deg,
    rgba(247, 220, 224, 0.96),
    rgba(236, 174, 185, 0.94) 48%,
    rgba(212, 112, 132, 0.9)
  ) !important;
  opacity: 1 !important;
  z-index: 0;
  border-radius: 0 !important;
  transition: width 50ms linear;
  overflow: visible;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(153, 31, 55, 0.08);
}
.danger-final-button:disabled .cleanup-button-progress::before {
  position: absolute;
  top: -28%;
  right: -11px;
  width: 24px;
  height: 156%;
  content: "";
  border-radius: 0 !important;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(250, 218, 223, 0.66) 34%,
    rgba(219, 121, 140, 0.34) 61%,
    transparent 78%
  );
  filter: blur(3px);
  animation: cleanupWaveEdge 2.2s ease-in-out infinite alternate;
}
.danger-final-button:disabled .cleanup-button-progress::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse 72px 32px at 18% 125%, rgba(255, 255, 255, 0.36), transparent 75%),
    radial-gradient(ellipse 96px 28px at 72% -30%, rgba(255, 255, 255, 0.28), transparent 76%),
    linear-gradient(
      105deg,
      transparent 36%,
      rgba(255, 255, 255, 0.38) 49%,
      rgba(255, 255, 255, 0.08) 54%,
      transparent 67%
    );
  background-size:
    100% 100%,
    100% 100%,
    220px 100%;
  background-repeat: no-repeat;
  animation: cleanupWaveFlow 3.8s ease-in-out infinite;
}
.danger-final-button:disabled .cleanup-button-label {
  padding: 3px 9px;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.78);
  color: #302824 !important;
  text-shadow: none !important;
}
@keyframes cleanupWaveEdge {
  from {
    transform: translate3d(-2px, -9%, 0) scaleY(0.9);
  }
  to {
    transform: translate3d(3px, 9%, 0) scaleY(1.12);
  }
}
@keyframes cleanupWaveFlow {
  0% {
    background-position:
      0 0,
      0 0,
      -220px 0;
  }
  50% {
    background-position:
      12px -3px,
      -9px 2px,
      0 0;
  }
  100% {
    background-position:
      0 0,
      0 0,
      220px 0;
  }
}

.cash-period-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.cash-period-filters button {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(69, 57, 48, 0.14);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 242, 239, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 10px rgba(38, 28, 22, 0.05);
  color: #39332e;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.cash-period-filters button:hover {
  border-color: rgba(120, 99, 85, 0.34);
  background: linear-gradient(145deg, #fff, #f1ece8);
  transform: translateY(-1px);
}
.cash-period-filters button.selected {
  border-color: rgba(179, 17, 43, 0.3);
  background: linear-gradient(145deg, #f9e9ec, #fff);
  color: #851027;
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 12px rgba(110, 20, 40, 0.09);
}
.cash-period-filters button:focus-visible,
.cash-return-button:focus-visible {
  outline: 3px solid rgba(179, 17, 43, 0.28);
  outline-offset: 2px;
}
.cash-ledger-row {
  flex-wrap: wrap;
}
.cash-ledger-row .cash-return-status {
  color: #17643a;
  font-weight: 650;
}
.cash-ledger-row .cash-return-button {
  min-height: 36px;
  flex: none;
  padding: 7px 12px;
  border: 1px solid #d9d1ca;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f5f2ef);
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 8px rgba(38, 28, 22, 0.05);
  color: #3f3934;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.cash-ledger-row .cash-return-button:hover {
  border-color: #caa1a8;
  background: #fbf0f1;
  color: #851027;
}
.cash-ledger-mark.expenseReturn {
  background: #eaf5ed;
  color: #17643a;
}
@media (max-width: 640px) {
  .cash-period-filters {
    gap: 6px;
  }
  .cash-period-filters button {
    flex: 1 1 auto;
    padding-inline: 10px;
  }
  .cash-ledger-row .cash-return-button {
    margin-left: 46px;
  }
}

.settings-icon.kitchen-chef-icon {
  color: #277346;
}
.settings-icon.kitchen-chef-icon svg {
  width: 52px;
  height: 38px;
  overflow: visible;
}
.kitchen-chef-icon .chef-hat-fill {
  fill: #fff;
  stroke: #287448;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.kitchen-chef-icon .chef-hat-band {
  fill: #fff;
  stroke: #287448;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.kitchen-chef-icon .chef-hat-detail {
  fill: none;
  stroke: #347e49;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kitchen-report-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0;
}
.kitchen-report-toolbar label {
  display: grid;
  gap: 7px;
  color: #39332e;
  font-size: 13px;
  font-weight: 700;
}
.kitchen-report-toolbar input {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #ddd4cd;
  border-radius: 0 !important;
  background: #fff;
  color: #28231f;
  font: inherit;
  font-size: 14px;
}
.kitchen-report-toolbar > span {
  color: #625a53;
  font-size: 13px;
}
.kitchen-report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}
.kitchen-summary-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #e8dfd9;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #faf6f3);
}
.kitchen-summary-card small {
  color: #625a53;
  font-size: 13px;
}
.kitchen-summary-card strong {
  color: #28231f;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.kitchen-summary-card.is-in strong,
.kitchen-action-pill.in {
  color: #17643a;
}
.kitchen-summary-card.is-out strong,
.kitchen-action-pill.out,
.kitchen-quantity.out {
  color: #9b1730;
}
.kitchen-summary-card.is-return strong,
.kitchen-action-pill.return,
.kitchen-quantity.return {
  color: #80551d;
}
.kitchen-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e8dfd9;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: 0 5px 18px rgba(42, 30, 20, 0.04);
}
.kitchen-report-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 900px;
  color: #28231f;
  font-size: 13px;
}
.kitchen-report-table th,
.kitchen-report-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eee8e2;
  text-align: left;
  vertical-align: middle;
}
.kitchen-report-table th {
  background: #f8f4f1;
  color: #514a44;
  font-weight: 750;
  white-space: nowrap;
}
.kitchen-report-table tbody tr:last-child td {
  border-bottom: 0;
}
.kitchen-report-table tbody tr:hover {
  background: #fffaf8;
}
.kitchen-report-table td:first-child,
.kitchen-report-table td:nth-child(4),
.kitchen-report-table td:nth-child(5) {
  white-space: nowrap;
}
.kitchen-action-pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 0 !important;
  background: #f4f1ed;
  color: #514a44;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.kitchen-action-pill.in {
  background: #eaf5ed;
}
.kitchen-action-pill.out {
  background: #fbeaec;
}
.kitchen-action-pill.return {
  background: #fbf2e3;
}
.kitchen-quantity {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.receipt-language-fieldset {
  min-width: 0;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid #e7ded8;
  border-radius: 0 !important;
  background: #fff;
}
.receipt-language-fieldset legend {
  padding: 0 6px;
  color: #332d28;
  font-size: 14px;
  font-weight: 750;
}
.receipt-language-hint {
  margin: 0 0 10px;
  color: #625a53;
  font-size: 13px;
  line-height: 1.45;
}
.receipt-language-options {
  display: grid;

  gap: 8px;
}
.receipt-language-options label {
  display: flex;
  min-width: 0;
  align-items: center;

  font-size: 14px;
  font-weight: 650;
}
.receipt-language-options input {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: #b3112b;
}
.receipt-language-break {
  break-before: page;
  page-break-before: always;
}
.receipt-language-block {
  break-inside: avoid;
}
@media (max-width: 800px) {
  .kitchen-report-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kitchen-report-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .kitchen-report-summary {
    grid-template-columns: 1fr 1fr;
  }
  .kitchen-summary-card {
    padding: 11px;
  }
}

:root,
body,
button,
input,
select,
textarea,
.app-shell * {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}
h1,
h2,
h3,
h4,
.page-heading h1,
.section-title-row h2,
.settings-card h2,
.settings-card h3 {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}

#settingsMetrics .revenue-report {
  display: grid;
}
#settingsMetrics .revenue-report > .catalog-section-heading {
  align-items: center;
  gap: 18px;
}
.revenue-date-field {
  display: grid;
  gap: 6px;
  min-width: 190px;

  font-weight: 650;
}
.revenue-date-field input {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #e6ded8;

  font: inherit;
}
.revenue-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.revenue-kpi {
  display: grid;
  min-width: 0;

  align-content: space-between;
  gap: 8px;
}
.revenue-kpi > span {
  font-weight: 650;
}
.revenue-kpi strong {
  overflow-wrap: anywhere;

  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}
.revenue-kpi small {
  line-height: 1.35;
}
.revenue-kpi-primary > span,
.revenue-kpi-primary strong,
.revenue-kpi-primary small {
  color: #fff;
}
.revenue-report-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.7fr);
  gap: 14px;
  align-items: start;
}
.revenue-subpanel {
  min-width: 0;
  padding: 17px;
  border: 1px solid #e9e1db;
}
.revenue-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.revenue-section-heading h4 {
  margin: 0;

  font-weight: 750;
}
.revenue-section-heading p {
  margin: 4px 0 0;

  font-size: 13px;
  line-height: 1.4;
}
.revenue-section-heading > span {
  flex: none;
  padding: 6px 9px;
  border-radius: 0 !important;
  background: #f8ecee;
  color: #8f0d22;
  font-size: 12px;
  font-weight: 700;
}
.revenue-popular-list {
  display: grid;
  gap: 7px;
}
.revenue-popular-row {
  display: grid;

  align-items: center;

  border-bottom: 1px solid #f0ebe7;
}
.revenue-popular-row:last-child {
  border-bottom: 0;
}
.revenue-rank {
  display: grid;

  place-items: center;

  font-weight: 750;
}
.revenue-popular-main {
  display: grid;
  min-width: 0;
}
.revenue-popular-main strong {
  overflow-wrap: anywhere;

  font-weight: 650;
}
.revenue-popular-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 0 !important;
  background: #f1edea;
}
.revenue-popular-bar i {
  display: block;
  height: 100%;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #d2465d, #a80f29);
}
.revenue-popular-qty {
  color: #625b55;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.revenue-popular-row > b {
  color: #302923;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.revenue-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #eee7e1;
}
.revenue-table {
  width: 100%;
  min-width: 790px;
  border-collapse: separate;
  border-spacing: 0;
}
.revenue-table th,
.revenue-table td {
  border-bottom: 1px solid #f0ebe7;
  text-align: left;
  vertical-align: middle;
}
.revenue-table th {
  font-weight: 700;
  white-space: nowrap;
}
.revenue-table tbody tr:last-child td {
  border-bottom: 0;
}
.revenue-table td:first-child small {
  display: block;
  margin-top: 3px;
}
.revenue-order-number,
.revenue-order-total {
  font-weight: 750;
  white-space: nowrap;
}
.revenue-items-cell {
  min-width: 220px;
  line-height: 1.45;
}
.revenue-status-pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 0 !important;

  font-weight: 650;
  white-space: nowrap;
}
.revenue-empty,
.revenue-empty-inline {
  padding: 22px 14px;

  text-align: center;
  font-size: 14px;
}
@media (max-width: 1050px) {
  .revenue-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .revenue-report-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  #settingsMetrics .revenue-report > .catalog-section-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .revenue-date-field {
    min-width: 0;
  }
  .revenue-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .revenue-kpi {
    min-height: 110px;
    padding: 13px;
  }
  .revenue-kpi strong {
    font-size: 21px;
  }
  .revenue-subpanel {
    padding: 13px;
  }
  .revenue-popular-row > b {
    text-align: right;
  }
}

#settingsMetrics .revenue-report {
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(250, 247, 245, 0.74));
  box-shadow:
    0 18px 48px rgba(54, 35, 28, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(145%);
}
#settingsMetrics .revenue-report > .catalog-section-heading {
  padding: 2px 2px 14px;
  border-bottom: 1px solid rgba(139, 112, 100, 0.17);
}
#settingsMetrics .revenue-report > .catalog-section-heading h3 {
  color: #211d1a;
  font-size: 22px;
  letter-spacing: -0.025em;
}
#settingsMetrics .revenue-report .settings-copy,
.revenue-section-heading p {
  color: #514a45;
  font-size: 14px;
}
.revenue-date-field {
  color: #39332f;
  font-size: 14px;
}
.revenue-date-field input {
  border-color: rgba(128, 101, 89, 0.22);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.78);
  color: #211d1a;
  box-shadow: inset 0 1px 3px rgba(52, 36, 29, 0.04);
}
.revenue-kpi {
  min-height: 116px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(248, 244, 241, 0.56));
  box-shadow:
    0 8px 22px rgba(52, 36, 29, 0.065),
    inset 0 1px rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px) saturate(145%);
}
.revenue-kpi > span {
  color: #403a36;
  font-size: 14px;
}
.revenue-kpi strong {
  color: #201c19;
  font-size: 28px;
}
.revenue-kpi small {
  color: #514a45;
  font-size: 14px;
}
.revenue-kpi-primary {
  border-color: rgba(179, 17, 43, 0.2);
  background: linear-gradient(145deg, rgba(255, 244, 246, 0.88), rgba(248, 226, 230, 0.67));
  box-shadow:
    0 8px 22px rgba(143, 13, 34, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.98);
}
.revenue-kpi-primary > span {
  color: #514047;
}
.revenue-kpi-primary strong {
  color: #9c1028;
}
.revenue-kpi-primary small {
  color: #625158;
}

#settingsMetrics .revenue-kpis {
  grid-template-columns: repeat(4, 120px);
  justify-content: center;
  gap: 12px;
  align-items: center;
}
#settingsMetrics .revenue-kpi {
  position: relative;
  display: flex;
  aspect-ratio: 1;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow-wrap: anywhere;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.98), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(247, 244, 242, 0.48));
  box-shadow:
    0 16px 34px rgba(43, 31, 27, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(180, 164, 157, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition:
    box-shadow 0.22s ease,
    background 0.22s ease;
}
#settingsMetrics .revenue-kpi > span {
  color: #49413d;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
}
#settingsMetrics .revenue-kpi strong {
  color: #211d1b;

  font-weight: 600;

  letter-spacing: -0.025em;
}
#settingsMetrics .revenue-kpi small {
  color: #625a55;

  font-size: 13px;
}
#settingsMetrics .revenue-kpi {
  gap: 5px;
}
#settingsMetrics .revenue-kpi > span {
  max-width: 100%;
  text-wrap: balance;
}
#settingsMetrics .revenue-kpi small {
  text-wrap: balance;
}
#settingsMetrics .revenue-kpi-primary {
  border-color: rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.96), transparent 43%),
    radial-gradient(circle at 75% 82%, rgba(179, 17, 43, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(255, 248, 249, 0.88), rgba(246, 224, 229, 0.68));
  box-shadow:
    0 18px 38px rgba(143, 13, 34, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(179, 17, 43, 0.1);
}
#settingsMetrics .revenue-kpi-primary > span {
  color: #55464a;
}
#settingsMetrics .revenue-kpi-primary strong {
  color: #a11029;
}
#settingsMetrics .revenue-kpi-primary small {
  color: #67545a;
}
@media (max-width: 1050px) {
  #settingsMetrics .revenue-kpis {
    grid-template-columns: repeat(2, 124px);
    gap: 14px;
  }
}
@media (max-width: 560px) {
  #settingsMetrics .revenue-kpis {
    grid-template-columns: repeat(2, 112px);
    gap: 12px;
  }
  #settingsMetrics .revenue-kpi {
    padding: 8px;
  }
  #settingsMetrics .revenue-kpi > span {
    font-size: 14px;
  }
  #settingsMetrics .revenue-kpi strong {
    font-size: 23px;
  }
  #settingsMetrics .revenue-kpi small {
    font-size: 13px;
  }
}
@media (min-width: 561px) and (max-width: 760px) {
  #settingsMetrics .revenue-kpis {
    grid-template-columns: repeat(2, 112px);
    gap: 14px;
  }
}
#settingsMetrics .revenue-report {
  container-type: inline-size;
}
#settingsMetrics .revenue-kpis {
  grid-auto-rows: 120px;
  min-height: 120px;
  margin-bottom: 14px;
}
#settingsMetrics .revenue-kpi {
  width: 120px;
  height: 120px;
  min-height: 120px;
  padding: 10px;
  overflow: visible;
}
#settingsMetrics .revenue-kpi > span {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
#settingsMetrics .revenue-kpi strong {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 22px;
  line-height: 1.05;
}
#settingsMetrics .revenue-kpi small {
  max-width: 11ch;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.15;
}
#settingsMetrics .revenue-kpis + .revenue-report-grid {
  margin-top: 0;
}
@container (max-width: 590px) {
  #settingsMetrics .revenue-kpis {
    grid-template-columns: repeat(2, minmax(0, 120px));
    grid-auto-rows: 120px;
    justify-content: center;
  }
  #settingsMetrics .revenue-kpi {
    width: 100%;
    min-width: 0;
    max-width: 120px;
  }
}
.revenue-subpanel {
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 252, 250, 0.62));
  box-shadow:
    0 12px 30px rgba(52, 36, 29, 0.065),
    inset 0 1px rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(140%);
}
.revenue-section-heading h4 {
  color: #211d1a;
  font-size: 17px;
}
.revenue-section-heading p {
  color: #514a45;
}
#settingsMetrics .revenue-section-heading > span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(230, 232, 234, 0.6));
  box-shadow:
    0 6px 16px rgba(48, 53, 58, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.96);
  color: #45494d;
  font-size: 13px;
  backdrop-filter: blur(14px) saturate(135%);
}
.revenue-popular-row {
  grid-template-columns: 34px minmax(80px, 1fr) auto auto;
  gap: 12px;
  padding: 12px 2px;
  border-bottom-color: rgba(139, 112, 100, 0.15);
}
.revenue-rank {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(179, 17, 43, 0.12);
  border-radius: 0 !important;
  background: rgba(179, 17, 43, 0.075);
  color: #8f0d22;
  font-size: 13px;
}
.revenue-popular-main {
  gap: 0;
}
.revenue-popular-main strong {
  color: #29231f;
  font-size: 14px;
  line-height: 1.4;
}
.revenue-popular-bar {
  display: none;
}
.revenue-popular-qty,
.revenue-popular-row > b {
  color: #302923;
  font-size: 14px;
}
.revenue-table-wrap {
  border-color: rgba(139, 112, 100, 0.19);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.54);
}
.revenue-table {
  color: #29231f;
  font-size: 14px;
}
.revenue-table th,
.revenue-table td {
  padding: 12px 13px;
  border-bottom-color: rgba(139, 112, 100, 0.14);
}
.revenue-table th {
  background: rgba(247, 241, 237, 0.78);
  color: #39332f;
}
.revenue-table tbody tr:hover {
  background: rgba(179, 17, 43, 0.045);
}
.revenue-table td:first-child small {
  color: #514a45;
}
.revenue-order-number,
.revenue-order-total {
  color: #211d1a;
}
.revenue-status-pill {
  background: rgba(104, 84, 75, 0.09);
  color: #39332f;
  font-size: 13px;
}
.revenue-empty,
.revenue-empty-inline {
  color: #514a45;
}
@media (max-width: 560px) {
  #settingsMetrics .revenue-report {
    padding: 15px;
    border-radius: 0 !important;
  }
  .revenue-popular-row {
    grid-template-columns: 30px minmax(55px, 1fr) auto;
    gap: 8px;
  }
  .revenue-popular-row > b {
    grid-column: auto;
  }
  .revenue-popular-qty,
  .revenue-popular-row > b {
    font-size: 13px;
  }
}

.page-actions .home-cash-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(224, 228, 226, 0.72));
  color: #343a37;
  font:
    600 14px/1 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  box-shadow:
    0 7px 18px rgba(45, 52, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px) saturate(135%);
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.page-actions .home-cash-button > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(88, 98, 92, 0.16);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.68);
  color: #39423d;
  font-size: 15px;
}
.page-actions .home-cash-button:hover {
  border-color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(216, 221, 218, 0.86));
  box-shadow:
    0 9px 22px rgba(45, 52, 48, 0.14),
    inset 0 1px 0 #fff;
}
.page-actions .home-cash-button:active {
  background: linear-gradient(145deg, #e4e7e5, #f5f6f5);
}
.page-actions .home-cash-button:focus-visible {
  outline: 3px solid rgba(76, 91, 82, 0.34);
  outline-offset: 3px;
}

.delivery-price-fields {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8ddd7;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.62);
}
.delivery-price-fields legend {
  padding: 0 6px;
  color: #6f625c;
  font-weight: 700;
}
.delivery-price-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.delivery-price-fields label span {
  font-size: 13px;
}
.delivery-price-fields input {
  width: 100%;
  min-width: 0;
}
.menu-delivery-prices {
  display: block;
  margin-top: 5px;
  color: #746b65;
  font-size: 12px;
  line-height: 1.45;
}
.delivery-platform-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(34, 30, 28, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.delivery-platform-backdrop.hidden {
  display: none;
}
.delivery-platform-dialog {
  width: min(480px, calc(100vw - 32px));
}
.delivery-platform-hint {
  margin: 0 0 18px;
  color: #655b55;
  line-height: 1.5;
}
.delivery-platform-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.delivery-platform-option {
  display: grid;
  gap: 8px;
  min-height: 82px;
  padding: 16px 12px;
  border: 1px solid #e7dcd6;
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 242, 0.84));
  color: #292421;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.delivery-platform-option strong {
  font-size: 15px;
}
.delivery-platform-option span {
  font-size: 12px;
  color: #776d67;
}
.delivery-platform-option:hover {
  transform: translateY(-2px);
  border-color: #c21b39;
  box-shadow: 0 10px 24px rgba(90, 30, 35, 0.12);
}
.delivery-platform-option:focus-visible {
  outline: 3px solid rgba(179, 17, 43, 0.26);
  outline-offset: 2px;
}
.delivery-platform-summary {
  display: none;
  margin: 8px 0 12px;
  padding: 9px 12px;
  border-radius: 0 !important;
  background: rgba(179, 17, 43, 0.07);
  color: #8f1028;
  font-size: 13px;
  font-weight: 700;
}
.delivery-platform-summary.visible {
  display: block;
}
.delivery-platform-order {
  color: #8f1028;
  font-weight: 700;
}
@media (max-width: 620px) {
  .delivery-price-fields {
    grid-template-columns: 1fr;
  }
  .delivery-platform-options {
    grid-template-columns: 1fr;
  }
  .delivery-platform-option {
    min-height: 64px;
  }
}

.menu-price-section {
  grid-column: 1/-1;
  min-width: 0;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid rgba(111, 91, 79, 0.17);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(249, 245, 242, 0.82));
}
.menu-price-section legend {
  padding: 0 8px;
  color: #342d28;
  font-size: 14px;
  font-weight: 750;
}
.menu-price-section label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #37312c;
  font-size: 13px;
  font-weight: 650;
}
.menu-price-section input {
  width: 100%;
  min-width: 0;
}
.price-in-store label {
  max-width: 220px;
}
.delivery-price-fields label span {
  color: #37312c;
}
.menu-card-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid rgba(95, 78, 68, 0.14);
}
.menu-card-prices > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.menu-card-prices span {
  color: #514943;
  font-size: 13px;
  line-height: 1.3;
}
.menu-card-prices strong {
  color: #25211e;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.manager-menu-prices {
  display: grid;

  margin-top: 8px;
}
.manager-menu-prices small {
  justify-content: space-between;

  min-width: 0;
  color: #514943;
  font-size: 13px;
}
.manager-menu-prices small span {
  color: #514943;
}
.manager-menu-prices b {
  color: #25211e;
  font-size: 13px;

  font-variant-numeric: tabular-nums;
}
.manager-menu-row {
  align-items: center;
}
@media (max-width: 700px) {
  .delivery-price-fields {
    grid-template-columns: 1fr;
  }
  .price-in-store label {
    max-width: none;
  }
  .menu-card-prices,
  .manager-menu-prices {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .menu-card-prices span,
  .menu-card-prices strong,
  .manager-menu-prices small,
  .manager-menu-prices b {
    font-size: 13px;
  }
}

#menuTable .menu-card {
  min-width: 0;
  min-height: 0;
  gap: 10px;
  border-radius: 0 !important;
  padding: 15px !important;
}
#menuTable .menu-card-name {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#menuTable .menu-card-prices {
  align-items: start;

  padding-top: 10px;
}
#menuTable .menu-card-prices > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-content: initial;
  gap: 3px;
  min-width: 0;
}
#menuTable .menu-card-prices > div:first-child {
  grid-column: 1/-1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
#menuTable .menu-card-prices span {
  min-width: 0;
  color: #514943;
}
#menuTable .menu-card-prices strong {
  min-width: 0;
  color: #25211e;
  font-size: 13px;
  line-height: 1.25;

  white-space: normal;
  overflow-wrap: anywhere;
}
#menuTable .menu-card-prices > div:first-child strong {
  white-space: nowrap;
  text-align: right;
}
.manager-menu-prices {
  align-items: start;
}
.manager-menu-prices small {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;

  line-height: 1.3;
}
.manager-menu-prices b {
  white-space: normal;
}
#deliveryPlatformBackdrop .delivery-platform-dialog {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;

  box-shadow: 0 28px 72px rgba(35, 24, 20, 0.24);
  color: #25211e;
}
#deliveryPlatformBackdrop .delivery-platform-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e9e1db;
}
#deliveryPlatformBackdrop .delivery-platform-dialog header > div {
  min-width: 0;
}
#deliveryPlatformBackdrop .delivery-platform-dialog h3 {
  margin: 0;
  color: #25211e;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;

  line-height: 1.2;
}
#deliveryPlatformBackdrop .delivery-platform-dialog .eyebrow {
  color: #625d56;
  font-size: 12px;
}
#deliveryPlatformBackdrop .delivery-platform-dialog .icon-button {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid #e6ddd7;
  border-radius: 0 !important;
  background: #fff;
  color: #37312d;
  font-size: 20px;
}
#deliveryPlatformBackdrop .delivery-platform-hint {
  color: #514943;
  font-size: 14px;
}
#deliveryPlatformBackdrop .delivery-platform-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#deliveryPlatformBackdrop .delivery-platform-option {
  min-width: 0;
}
#deliveryPlatformBackdrop .delivery-platform-option strong {
  font-size: 15px;
}
#deliveryPlatformBackdrop .delivery-platform-option span {
  font-size: 13px;
}
@media (max-width: 700px) {
  #menuTable .menu-card {
    padding: 12px !important;
  }
  #menuTable .menu-card-prices {
    gap: 6px;
  }
  #menuTable .menu-card-prices > div:first-child {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  #deliveryPlatformBackdrop .delivery-platform-dialog {
    padding: 19px;
    border-radius: 0 !important;
  }
  #deliveryPlatformBackdrop .delivery-platform-options {
    grid-template-columns: 1fr;
  }
}

#deliveryPlatformBackdrop .delivery-platform-dialog {
  width: min(520px, calc(100vw - 32px));
  background: linear-gradient(145deg, #fffdfb, #faf6f3);
}
#deliveryPlatformBackdrop .delivery-platform-dialog > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e9e1db;
}
#deliveryPlatformBackdrop .delivery-platform-dialog > header > div {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
#deliveryPlatformBackdrop .delivery-platform-dialog > header .icon-button {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 40px;
  height: 40px;
  margin: 0;
}
#deliveryPlatformBackdrop .delivery-platform-dialog .eyebrow {
  margin: 0 0 5px;
  letter-spacing: 0.12em;
  line-height: 1.35;
}
#deliveryPlatformBackdrop .delivery-platform-dialog h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
#deliveryPlatformBackdrop .delivery-platform-hint {
  margin: 0 0 18px;
  line-height: 1.5;
}
#deliveryPlatformBackdrop .delivery-platform-options {
  gap: 12px;
}
#deliveryPlatformBackdrop .delivery-platform-option {
  min-height: 88px;
  align-content: center;
  gap: 7px;
  padding: 15px;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f8f4f1);
  box-shadow: 0 5px 16px rgba(53, 38, 30, 0.05);
}
#deliveryPlatformBackdrop .delivery-platform-option strong {
  line-height: 1.3;
}
#deliveryPlatformBackdrop .delivery-platform-option span {
  line-height: 1.35;
}
@media (max-width: 620px) {
  #deliveryPlatformBackdrop .delivery-platform-option {
    min-height: 62px;
  }
}

#deliveryPlatformBackdrop [data-delivery-platform="yandex"] {
  border-color: rgba(194, 157, 0, 0.32);
}
#deliveryPlatformBackdrop [data-delivery-platform="yandex"] strong {
  color: #302900;
}
#deliveryPlatformBackdrop [data-delivery-platform="yandex"] span {
  color: #655a20;
}
#deliveryPlatformBackdrop [data-delivery-platform="wolt"] {
  border-color: rgba(0, 130, 190, 0.27);
}
#deliveryPlatformBackdrop [data-delivery-platform="wolt"] strong {
  color: #123d53;
}
#deliveryPlatformBackdrop [data-delivery-platform="wolt"] span {
  color: #345a6b;
}
#deliveryPlatformBackdrop [data-delivery-platform="glovo"] {
  border-color: rgba(201, 129, 0, 0.3);
}
#deliveryPlatformBackdrop [data-delivery-platform="glovo"] strong {
  color: #4b3100;
}
#deliveryPlatformBackdrop [data-delivery-platform="glovo"] span {
  color: #6a5228;
}
#deliveryPlatformBackdrop .delivery-platform-option:hover {
  transform: translateY(-2px);
}
#deliveryPlatformBackdrop .delivery-platform-option:focus-visible {
  outline: 3px solid rgba(179, 17, 43, 0.34);
  outline-offset: 3px;
}

#deliveryPlatformBackdrop .delivery-platform-option {
  color: #fff;
  border-color: transparent;
  transition:
    filter 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
#deliveryPlatformBackdrop .delivery-platform-option strong,
#deliveryPlatformBackdrop .delivery-platform-option span {
  color: #fff;
}
#deliveryPlatformBackdrop [data-delivery-platform="yandex"] {
  background: linear-gradient(145deg, #f22945, #c91031);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 20px rgba(190, 18, 49, 0.2);
}
#deliveryPlatformBackdrop [data-delivery-platform="wolt"] {
  background: linear-gradient(145deg, #13a9e8, #087db9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 20px rgba(0, 121, 183, 0.2);
}
#deliveryPlatformBackdrop [data-delivery-platform="glovo"] {
  background: linear-gradient(145deg, #303030, #101010);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.2);
}
#deliveryPlatformBackdrop .delivery-platform-option:hover {
  filter: brightness(1.08);
  border-color: rgba(255, 255, 255, 0.78);
}
#deliveryPlatformBackdrop .delivery-platform-option[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 3px #b3112b,
    0 10px 24px rgba(35, 20, 20, 0.2);
}
#menuTable .menu-card-prices span,
.manager-menu-prices small span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#menuTable .menu-card-prices strong,
.manager-menu-prices b {
  flex: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.receipt-preview-language-break {
  height: 1px;
  margin: 14px 0;
  border-top: 1px dashed #cfc6be;
}
.receipt-preview-paper {
  min-width: 0;
  overflow-wrap: anywhere;
}
.receipt-preview-paper > div {
  align-items: flex-start;
}
.receipt-preview-paper > div span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.receipt-preview-paper > div b,
.receipt-preview-paper > strong b {
  flex: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.receipt-preview-standart {
  gap: 8px;
  padding: 16px;
  border: 1px solid #d9d0c9;
  border-radius: 0 !important;
  font-size: 13px;
}
.receipt-preview-standart h4 {
  font-size: 17px;
}
.receipt-standart {
  border: 1px solid #bdb4ad;
  border-radius: 0 !important;
  font-size: 10pt;
}
.receipt-standart h1 {
  font-size: 15pt;
  font-weight: 700;
}
.receipt-standart .receipt-total {
  padding-top: 5px;
  border-top: 1px dashed #777;
  font-size: 12pt;
}
@media print {
  .receipt-preview-language-break {
    display: none;
  }
}

#deliveryPlatformBackdrop
  .delivery-platform-options
  > button.delivery-platform-option[data-delivery-platform="yandex"] {
  color: #fff !important;
  background: #d7193f !important;
  background-image: linear-gradient(145deg, #f22945, #c91031) !important;
  border-color: rgba(201, 16, 49, 0.75) !important;
}
#deliveryPlatformBackdrop
  .delivery-platform-options
  > button.delivery-platform-option[data-delivery-platform="wolt"] {
  color: #fff !important;
  background: #087db9 !important;
  background-image: linear-gradient(145deg, #13a9e8, #087db9) !important;
  border-color: rgba(8, 125, 185, 0.75) !important;
}
#deliveryPlatformBackdrop
  .delivery-platform-options
  > button.delivery-platform-option[data-delivery-platform="glovo"] {
  color: #fff !important;
  background: #171717 !important;
  background-image: linear-gradient(145deg, #303030, #101010) !important;
  border-color: #171717 !important;
}
#deliveryPlatformBackdrop .delivery-platform-options > button.delivery-platform-option strong,
#deliveryPlatformBackdrop .delivery-platform-options > button.delivery-platform-option span {
  color: #fff !important;
}
#deliveryPlatformBackdrop .delivery-platform-options > button.delivery-platform-option:hover {
  filter: brightness(1.08);
}

#menuTable .menu-card-prices strong,
.manager-menu-prices b {
  word-break: keep-all;
  overflow-wrap: normal;
}
#menuTable .menu-card-prices > div,
.manager-menu-prices small {
  grid-template-columns: minmax(0, 1fr) max-content;
}
#menuTable .menu-card-prices span,
.manager-menu-prices small span {
  line-height: 1.35;
}

#menuTable .menu-card-prices {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
#menuTable .menu-card-prices > div,
#menuTable .menu-card-prices > div:first-child {
  grid-column: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 5px 0;
  border-bottom: 1px solid rgba(71, 54, 44, 0.09);
}
#menuTable .menu-card-prices > div:last-child {
  border-bottom: 0;
}
#menuTable .menu-card-prices span {
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow-wrap: normal;
}
#menuTable .menu-card-prices strong,
#menuTable .menu-card-prices > div:first-child strong {
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
  overflow-wrap: normal;
}
.manager-menu-prices {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.manager-menu-prices small {
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(71, 54, 44, 0.09);
  overflow-wrap: normal;
}
.manager-menu-prices small:last-child {
  border-bottom: 0;
}
.manager-menu-prices small span {
  font-size: 13px;
  white-space: nowrap;
}
.manager-menu-prices b {
  overflow-wrap: normal;
}
@media (max-width: 700px) {
  #menuTable .menu-card-prices {
    grid-template-columns: minmax(0, 1fr);
  }
  .manager-menu-prices {
    grid-template-columns: minmax(0, 1fr);
  }
}

#menuTable .menu-card-prices > div,
#menuTable .menu-card-prices > div:first-child,
.manager-menu-prices small {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#menuTable .menu-card-prices strong,
.manager-menu-prices b {
  min-width: max-content;
}
#menuTable .menu-card-prices strong {
  text-align: right;
}

.receipt-language-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  min-width: 0;
}
.receipt-language-options label {
  min-height: 42px;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(116, 119, 123, 0.2);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(235, 237, 239, 0.48));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.92),
    0 4px 14px rgba(35, 39, 44, 0.05);
  color: #292a2c;
  line-height: 1.35;
  overflow-wrap: anywhere;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.receipt-language-options label:has(input:checked) {
  border-color: rgba(179, 17, 43, 0.32);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(249, 231, 234, 0.76));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.98),
    0 5px 16px rgba(65, 35, 40, 0.08);
}
.receipt-language-options label:focus-within {
  outline: 2px solid rgba(179, 17, 43, 0.5);
  outline-offset: 2px;
}
.receipt-language-options label span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .receipt-language-options {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 116px), 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .receipt-language-options label {
    transition: none;
  }
}

.settings-icon.icon-recipe-help {
  display: grid;
  place-items: center;
  border: 1px solid #d7dce0;
  background: linear-gradient(145deg, #fff, #edf0f2);
  color: #4b535a;
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
}
.recipe-cabinet {
  gap: 18px !important;
}
.recipe-cabinet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px;
}
.recipe-cabinet-heading h2 {
  margin: 5px 0 6px;
  color: #242321;
  font-size: 30px;
  line-height: 1.15;
}
.recipe-cabinet-heading p {
  max-width: 760px;
  margin: 0;
  color: #625b56;
  font-size: 15px;
  line-height: 1.5;
}
.recipe-help-button {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d9dfe3;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #eef1f3);
  box-shadow: 0 5px 16px #26313b12;
  color: #505a63;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}
.recipe-help-button:hover,
.recipe-help-button[aria-expanded="true"] {
  border-color: #aeb8c0;
  background: #e9edf0;
}
.recipe-help-panel {
  padding: 18px 22px;
  border: 1px solid #dce1e4;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f5f7f8);
  color: #41464a;
  box-shadow: 0 8px 24px #27323b0a;
  line-height: 1.55;
}
.recipe-help-panel > strong {
  display: block;
  margin-bottom: 8px;
  color: #292d30;
  font-size: 16px;
}
.recipe-help-panel ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
}
.recipe-help-panel li {
  padding-left: 3px;
}
.recipe-help-panel p {
  margin: 12px 0 0;
  color: #5e656a;
}
.recipe-step-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.recipe-step-strip > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #e2e5e7;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f7f8f9);
}
.recipe-step-strip > div > b {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 0 !important;
  background: #e9edf0;
  color: #4b545b;
  font-size: 14px;
}
.recipe-step-strip > div > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.recipe-step-strip strong {
  color: #303438;
  font-size: 13px;
}
.recipe-step-strip small {
  color: #656c71;
  font-size: 11px;
  line-height: 1.35;
}

#page-settings .settings-launchers .settings-launch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 96px;
  padding: 18px 52px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 0 !important;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.66)
  ) !important;
  box-shadow:
    0 12px 30px rgba(47, 42, 37, 0.075),
    inset 0 1px rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}
#page-settings .settings-launchers .settings-launch:nth-child(4n + 1) {
  background: linear-gradient(
    120deg,
    rgba(233, 246, 239, 0.82),
    rgba(255, 255, 255, 0.72)
  ) !important;
}
#page-settings .settings-launchers .settings-launch:nth-child(4n + 2) {
  background: linear-gradient(
    120deg,
    rgba(252, 235, 238, 0.84),
    rgba(255, 255, 255, 0.72)
  ) !important;
}
#page-settings .settings-launchers .settings-launch:nth-child(4n + 3) {
  background: linear-gradient(
    120deg,
    rgba(236, 242, 251, 0.84),
    rgba(255, 255, 255, 0.72)
  ) !important;
}
#page-settings .settings-launchers .settings-launch:nth-child(4n) {
  background: linear-gradient(
    120deg,
    rgba(246, 241, 232, 0.86),
    rgba(255, 255, 255, 0.72)
  ) !important;
}
#page-settings .settings-launchers .settings-launch > .settings-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  z-index: -1;
  opacity: 0.13;
  transform: translateY(-50%);
  pointer-events: none;
}
#page-settings .settings-launchers .settings-launch > .settings-icon svg {
  stroke: currentColor;
  stroke-width: 1.25;
}
#page-settings .settings-launchers .settings-launch > span:nth-child(2) {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding-right: 0;
}
#page-settings .settings-launchers .settings-launch > b {
  position: absolute;
  right: 15px;
  z-index: 2;
  color: #59645f !important;
}
#page-settings .settings-launchers .settings-launch:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(47, 42, 37, 0.11),
    inset 0 1px rgba(255, 255, 255, 0.98) !important;
}
#page-settings .settings-launchers .settings-launch:focus-visible {
  outline: 2px solid rgba(80, 112, 98, 0.48);
  outline-offset: 3px;
}

.recipe-step-strip > div > b,
.revenue-rank {
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 0 !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(239, 243, 245, 0.76)
  ) !important;
  color: #39434a !important;
  box-shadow:
    0 4px 12px rgba(39, 49, 55, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(14px) saturate(145%);
}

#settingsMetrics .revenue-date-field input {
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 0 !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.88),
    rgba(244, 246, 247, 0.68)
  ) !important;
  box-shadow:
    0 8px 20px rgba(45, 43, 40, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
@media (max-width: 640px) {
  #page-settings .settings-launchers .settings-launch {
    min-height: 82px;
    padding: 14px 46px 14px 15px;
    border-radius: 0 !important;
  }
  #page-settings .settings-launchers .settings-launch > .settings-icon {
    right: 13px;
  }
}

#page-settings
  .settings-launchers
  .settings-launch[data-settings-open="settingsKitchen"]
  > .settings-icon,
#page-settings
  .settings-launchers
  .settings-launch[data-settings-open="settingsCleanup"]
  > .settings-icon,
#page-settings
  .settings-launchers
  .settings-launch[data-settings-open="settingsInterface"]
  > .settings-icon {
  display: none !important;
}
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsKitchen"]::after,
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsCleanup"]::after,
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsInterface"]::after {
  position: absolute;
  content: "";
  inset: 50% 42px auto auto;
  width: 82px;
  height: 82px;
  z-index: 0;
  transform: translateY(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.11;
  mix-blend-mode: multiply;
  pointer-events: none;
}
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsKitchen"]::after {
  background-image: url("assets/settings-chef.svg");
}
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsCleanup"]::after {
  background-image: url("assets/settings-recycle.svg");
}
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsInterface"]::after {
  background-image: url("assets/settings-interface.svg");
}
@media (max-width: 640px) {
  #page-settings .settings-launchers .settings-launch[data-settings-open="settingsKitchen"]::after,
  #page-settings .settings-launchers .settings-launch[data-settings-open="settingsCleanup"]::after,
  #page-settings
    .settings-launchers
    .settings-launch[data-settings-open="settingsInterface"]::after {
    right: 38px;
    width: 68px;
    height: 68px;
  }
}

#page-settings .settings-launchers .settings-launch > .settings-icon {
  flex: none !important;
}
#page-settings .settings-launchers .settings-launch > .settings-icon svg {
  position: static !important;
  opacity: 1 !important;
}
#page-settings .settings-launchers .settings-launch > span:nth-child(2) {
  display: grid !important;
  gap: 5px !important;
}
#page-settings .settings-launchers .settings-launch > span:nth-child(2) strong,
#page-settings .settings-launchers .settings-launch > span:nth-child(2) small {
  overflow-wrap: anywhere;
}
#page-settings .settings-launchers .settings-launch > b {
  right: 15px !important;
  z-index: 2 !important;
}
@media (max-width: 640px) {
  #page-settings .settings-launchers .settings-launch > .settings-icon svg {
    max-width: 62px !important;
    max-height: 62px !important;
  }
}
#page-settings .settings-launchers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 96px;
  align-items: stretch;
  gap: 14px;
}
#page-settings .settings-launchers .settings-launch {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
#page-settings .settings-launchers .settings-launch > span:nth-child(2) {
  align-self: center !important;
}
@media (max-width: 640px) {
  #page-settings .settings-launchers {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 82px;
    gap: 10px;
  }
  #page-settings .settings-launchers .settings-launch {
    height: 100%;
    min-height: 0 !important;
  }
}

#settingsModal:has(#settingsExport:not(.hidden)) > .settings-modal {
  box-sizing: border-box;
  overflow: auto;
  backdrop-filter: blur(30px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(145%) !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) > .settings-modal > .modal-header {
  position: sticky;

  z-index: 5;

  padding: 2px 0 13px;

  backdrop-filter: blur(18px);
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsModalTitle {
  font-size: 21px !important;
  letter-spacing: -0.025em;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport {
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-heading {
  margin-bottom: 16px;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport h3 {
  margin: 0;
  font-size: 18px !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-field {
  max-width: none;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-field select,
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-field input {
  box-sizing: border-box;
  width: 100%;

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 5px 16px rgba(0, 0, 0, 0.12);
  color-scheme: dark;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport #exportOrders {
  max-width: none;
  min-height: 46px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport #exportOrders:hover {
  background: linear-gradient(
    145deg,
    rgba(245, 246, 247, 0.32),
    rgba(180, 184, 186, 0.18)
  ) !important;
  transform: translateY(-1px);
}

#settingsKitchen .interface-option {
  position: relative;
  isolation: isolate;
  min-height: 82px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.88), rgba(246, 244, 241, 0.68));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.95),
    0 9px 22px rgba(40, 29, 22, 0.07);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
#settingsKitchen .interface-option > span:first-child {
  display: none !important;
}
#settingsKitchen .interface-option::after {
  position: absolute;
  top: 50%;
  right: 42px;
  width: 74px;
  height: 74px;
  content: "";
  z-index: 0;
  transform: translateY(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.19;
  mix-blend-mode: multiply;
  pointer-events: none;
}
#settingsKitchen .interface-option[data-kitchen-menu]::after {
  background-image: url("assets/kitchen-menu-watermark.svg");
}
#settingsKitchen .interface-option[data-settings-open="settingsRecipe"]::after {
  background-image: url("assets/recipe-kebab-watermark.svg");
  opacity: 0.24;
}
#settingsKitchen .interface-option > span:nth-child(2) {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 82px);
  color: #24221f;
}
#settingsKitchen .interface-option strong {
  color: #25221f;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
#settingsKitchen .interface-option small {
  color: #514b45;
  font-size: 13px;
  line-height: 1.4;
}
#settingsKitchen .interface-option > b {
  position: relative;
  z-index: 2;
  margin-left: auto;
  color: #8d182b;
}
#settingsKitchen .interface-option:hover {
  border-color: rgba(179, 17, 43, 0.22);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(246, 239, 235, 0.82));
  transform: translateY(-1px);
}
#settingsKitchen .kitchen-order-policy {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(242, 239, 235, 0.66));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 10px 25px rgba(40, 29, 22, 0.055);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
#settingsKitchen .kitchen-order-policy h4 {
  color: #29251f;
}
#settingsKitchen .kitchen-order-policy p,
#settingsKitchen .kitchen-order-policy > small {
  color: #5a534b;
}
#settingsKitchen .recipe-policy-toggle {
  position: relative;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(239, 242, 239, 0.72));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.92),
    0 5px 14px rgba(35, 49, 38, 0.055);
  color: #2d342e;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}
#settingsKitchen .recipe-policy-toggle input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(72, 93, 78, 0.25);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(225, 231, 226, 0.76));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.95),
    0 2px 5px rgba(35, 49, 38, 0.09);
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
#settingsKitchen .recipe-policy-toggle input:checked {
  border-color: rgba(45, 111, 67, 0.38);
  background: linear-gradient(145deg, rgba(128, 190, 146, 0.96), rgba(58, 139, 83, 0.9));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.55),
    0 3px 9px rgba(46, 119, 69, 0.22);
}
#settingsKitchen .recipe-policy-toggle input:checked::after {
  width: 9px;
  height: 5px;
  content: "";
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
  filter: drop-shadow(0 1px 1px rgba(20, 65, 34, 0.25));
}
#settingsKitchen .recipe-policy-toggle input:focus-visible {
  outline: 3px solid rgba(80, 150, 99, 0.28);
  outline-offset: 3px;
}
#settingsKitchen .recipe-policy-toggle:has(input:checked) {
  border-color: rgba(77, 144, 92, 0.24);
  background: linear-gradient(145deg, rgba(248, 255, 249, 0.9), rgba(229, 243, 232, 0.73));
}

#cleanupConfirmModal .cleanup-confirm-dialog footer {
  align-items: center;
  gap: 10px;
}
#cleanupConfirmModal .danger-final-button {
  position: relative;
  display: inline-flex;
  box-sizing: border-box;
  min-width: 220px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(91, 24, 35, 0.92), rgba(55, 21, 27, 0.9)) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.17),
    0 8px 20px rgba(71, 14, 27, 0.22);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
#cleanupConfirmModal .danger-final-button:disabled {
  cursor: wait;
  background: linear-gradient(145deg, rgba(51, 41, 42, 0.9), rgba(39, 33, 34, 0.92)) !important;
  color: #fff !important;
}
#cleanupConfirmModal .danger-final-button:disabled .cleanup-button-progress {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: var(--cleanup-progress, 0%) !important;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0 !important;
  background: linear-gradient(
    105deg,
    rgba(139, 10, 36, 0.9),
    rgba(194, 22, 54, 0.88) 48%,
    rgba(133, 11, 35, 0.91)
  ) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.28),
    inset 0 -1px rgba(66, 0, 12, 0.2),
    0 0 18px rgba(205, 28, 61, 0.16);
  transition: width 60ms linear;
  z-index: 0;
}
#cleanupConfirmModal .danger-final-button:disabled .cleanup-button-progress::before {
  position: absolute;
  inset: -55% auto -55% -38%;
  width: 32%;
  content: "";
  border-radius: 0 !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.52),
    rgba(255, 221, 226, 0.28),
    transparent
  );
  filter: blur(5px);
  animation: cleanupRedGlassSweep 1.7s ease-in-out infinite;
  pointer-events: none;
}
#cleanupConfirmModal .danger-final-button:disabled .cleanup-button-progress::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 0 !important;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.24) 49%,
    rgba(255, 255, 255, 0.06) 56%,
    transparent 70%
  );
  background-size: 210px 100%;
  animation: cleanupRedGlassShine 2.8s linear infinite;
  pointer-events: none;
}
#cleanupConfirmModal .danger-final-button .cleanup-button-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.13);
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 1px 4px rgba(58, 0, 12, 0.34);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#cleanupConfirmModal .danger-final-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2),
    0 11px 24px rgba(71, 14, 27, 0.28);
}
@keyframes cleanupRedGlassSweep {
  0% {
    left: -38%;
    opacity: 0.1;
  }
  48% {
    opacity: 0.9;
  }
  100% {
    left: 112%;
    opacity: 0.08;
  }
}
@keyframes cleanupRedGlassShine {
  0% {
    background-position: -210px 0;
  }
  100% {
    background-position: 210px 0;
  }
}
@media (max-width: 640px) {
  #settingsKitchen .interface-options {
    grid-template-columns: 1fr;
  }
  #settingsKitchen .interface-option {
    min-height: 76px;
  }
  #cleanupConfirmModal .cleanup-confirm-dialog footer {
    flex-wrap: wrap;
  }
  #cleanupConfirmModal .danger-final-button {
    min-width: 190px;
    flex: 1;
  }
}
.recipe-step-label {
  display: inline-block;
  margin-bottom: 5px;
  color: #69747c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.recipe-product-form {
  grid-template-columns:
    minmax(170px, 1.1fr) minmax(110px, 0.55fr) minmax(130px, 0.7fr)
    auto !important;
}
.recipe-product-form label span,
.inventory-receipt-form label span,
.inventory-prep-form label span {
  line-height: 1.35;
}
.inventory-stock-info {
  align-content: center;
}
.stock-level-track {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 0 !important;
  background: #e9ecee;
}
.stock-level-track i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #8cae9a, #537c65);
  transition: width 0.2s ease;
}
.stock-level-track i.is-low {
  background: linear-gradient(90deg, #e2a39e, #b42336);
}
.inventory-recipe-amount input {
  text-align: center;
}
.recipe-simple {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.recipe-simple-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 4px;
}
.recipe-simple-header h2 {
  margin: 5px 0;
  color: #242321;
  font-size: 30px;
}
.recipe-simple-header p {
  margin: 0;
  color: #625b56;
  font-size: 14px;
}
.recipe-simple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.recipe-simple-card {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 20px;
  border: 1px solid #e8e1dc;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #faf8f6);
  box-shadow: 0 10px 30px #30251f0a;
}
.recipe-card-heading h3 {
  margin: 0 0 5px;
  color: #2c2926;
  font-size: 18px;
}
.recipe-card-heading p {
  margin: 0;
  color: #66605b;
  font-size: 13px;
  line-height: 1.45;
}
.recipe-simple-form {
  display: grid;
  gap: 11px;
}
.recipe-simple-form label,
.recipe-builder-form > label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #48423e;
  font-size: 13px;
  font-weight: 700;
}
.recipe-simple-form input,
.recipe-simple-form select,
.recipe-builder-form select,
.recipe-ingredient-row input,
.recipe-ingredient-row select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #ded7d1;
  border-radius: 0 !important;
  background: #fff;
  color: #292421;
  font: inherit;
  font-size: 14px;
}
.recipe-simple-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.recipe-simple-form .primary-button {
  min-height: 43px;
}
.recipe-simple-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.recipe-section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 3px 0;
}
.recipe-section-buttons button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #e6ded8;
  border-radius: 0 !important;
  background: #fff;
  color: #48413c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.recipe-section-buttons button.selected {
  border-color: #bb1730;
  background: #bb1730;
  color: #fff;
  box-shadow: 0 5px 14px #bb173026;
}
.recipe-section-panel[hidden] {
  display: none !important;
}
#settingsModal.inventory-modal-expanded .recipe-simple-grid {
  display: block;
}
#settingsModal.inventory-modal-expanded .recipe-section-panel {
  width: 100%;
  margin: 0;
}
.recipe-policy-compact {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid #e8e1dc;
  border-radius: 0 !important;
  background: #fff;
  color: #39332f;
  font-size: 13px;
  font-weight: 700;
}
.recipe-policy-compact input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #bf1730;
}
.interface-option .icon-recipe-book {
  background: #f9e9e6;
  color: #a92335;
}
.interface-option .icon-recipe-book svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.recipe-archive-list {
  display: grid;
  gap: 8px;
}
.recipe-archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid #e9e2dc;
  border-radius: 0 !important;
  background: #fff;
}
.recipe-archive-row > div:first-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.recipe-archive-row strong {
  color: #302c29;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.recipe-archive-row small {
  color: #6b635d;
  font-size: 11px;
  line-height: 1.4;
}
.recipe-archive-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.recipe-archive-actions button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 11px;
}
.recipe-product-archive-button {
  margin-left: auto;
}
#settingsModal.recipe-modal-compact > .settings-modal {
  box-sizing: border-box;
}
#settingsModal.recipe-modal-compact #settingsRecipe {
  max-width: 1020px;
  margin: 0 auto;
  gap: 12px;
}
#settingsModal.recipe-modal-compact .recipe-simple-header h2 {
  margin: 2px 0;
  font-size: 25px;
}
#settingsModal.recipe-modal-compact .recipe-simple-stats {
  gap: 8px;
}
#settingsModal.recipe-modal-compact .recipe-simple-stats article {
  padding: 9px 12px;
  gap: 3px;
}
#settingsModal.recipe-modal-compact .recipe-simple-stats strong {
  font-size: 17px;
}
#settingsModal.recipe-modal-compact .recipe-section-buttons {
  gap: 6px;
}
#settingsModal.recipe-modal-compact .recipe-section-buttons button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}
#settingsModal.recipe-modal-compact .recipe-simple-card {
  padding: 15px;
  gap: 10px;
}
#settingsModal.recipe-modal-compact .recipe-simple-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
#settingsModal.recipe-modal-compact .recipe-simple-product {
  padding: 9px;
  gap: 6px 8px;
  border-radius: 0 !important;
}
#settingsModal.recipe-modal-compact .recipe-simple-product-actions {
  gap: 5px;
}
#settingsModal.recipe-modal-compact .recipe-simple-product-actions button {
  min-height: 30px;
  padding: 0 8px;
  font-size: 11px;
}
#settingsModal.recipe-modal-compact .stock-level-track {
  height: 6px;
}
@media (max-width: 700px) {
  #settingsModal.recipe-modal-compact .recipe-simple-products {
    grid-template-columns: 1fr;
  }
  #settingsModal.recipe-modal-compact .recipe-simple-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #settingsModal.recipe-modal-compact .recipe-section-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #settingsModal.recipe-modal-compact .recipe-section-buttons button {
    padding: 0 7px;
  }
}
@media (max-width: 700px) {
  .recipe-archive-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .recipe-archive-actions {
    justify-content: flex-start;
  }
}
.recipe-simple-stats article {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid #e8e1dc;
  border-radius: 0 !important;
  background: #fff;
}
.recipe-simple-stats span {
  color: #69625c;
  font-size: 12px;
}
.recipe-simple-stats strong {
  color: #2e2a27;
  font-size: 20px;
}
.recipe-simple-products {
  display: grid;
  gap: 9px;
}
.recipe-simple-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eae3de;
  border-radius: 0 !important;
  background: #fff;
}
.recipe-simple-product-main {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.recipe-simple-product-main strong {
  overflow-wrap: anywhere;
  color: #302c29;
  font-size: 14px;
}
.recipe-simple-product-main small {
  color: #665f5a;
  font-size: 12px;
}
.recipe-simple-product-amount {
  color: #302c29;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
}
.recipe-simple-product-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1/-1;
  gap: 7px;
}
.recipe-simple-product-actions button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}
.recipe-simple-product .stock-level-track {
  grid-column: 1/-1;
  height: 8px;
  margin: 0;
}
.recipe-last-movement {
  display: grid;
  gap: 6px;
  color: #625b56;
  font-size: 12px;
}
.recipe-builder-card,
.recipe-journal-card {
  grid-column: 1/-1;
}
.recipe-builder-form {
  display: grid;
  gap: 12px;
}
.recipe-ingredient-rows {
  display: grid;
  gap: 8px;
}
.recipe-ingredient-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.5fr) 90px 38px;
  align-items: end;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e9e2dc;
  border-radius: 0 !important;
  background: #fff;
}
.recipe-ingredient-row label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #504943;
  font-size: 12px;
  font-weight: 700;
}
.recipe-ingredient-row small {
  padding-bottom: 11px;
  color: #6c645e;
  font-size: 12px;
}
.recipe-ingredient-row button {
  width: 36px;
  height: 38px;
  border: 1px solid #e4deda;
  border-radius: 0 !important;
  background: #f8f6f4;
  color: #7a3a3f;
  font-size: 18px;
  cursor: pointer;
}
.recipe-builder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.recipe-save-status {
  min-height: 18px;
  margin: 0;
  color: #52675a;
  font-size: 13px;
}
.recipe-saved-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.recipe-saved-item {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid #e9e2dc;
  border-radius: 0 !important;
  background: #fff;
}
.recipe-saved-item > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.recipe-saved-item > header strong {
  color: #302c29;
}
.recipe-saved-item > p {
  margin: 0;
  color: #625b56;
  font-size: 12px;
  line-height: 1.45;
}
.recipe-status-pill {
  padding: 5px 8px;
  border-radius: 0 !important;
  background: #e9f2ec;
  color: #315b40;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.recipe-status-pill.is-example {
  background: #f2eee9;
  color: #6f5d4d;
}
.recipe-saved-item button {
  justify-self: start;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}
.recipe-journal-card #recipeSimpleJournal {
  display: grid;

  overflow: auto;
}
.recipe-help-button[aria-expanded="true"] {
  background: #e9edf0;
}
#settingsModal.inventory-modal-expanded .recipe-simple {
  min-height: 100%;
}
#settingsModal.inventory-modal-expanded .recipe-simple .recipe-simple-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.recipe-preparation-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eee7e2;
}
.recipe-preparation-block .recipe-card-heading {
  margin: 0;
}
#settingsModal.inventory-modal-expanded .recipe-simple {
  width: 100%;
  min-width: 0;
  overflow: visible;
}
#settingsModal.inventory-modal-expanded .recipe-simple-header,
#settingsModal.inventory-modal-expanded .recipe-simple-stats,
#settingsModal.inventory-modal-expanded .recipe-simple-grid,
#settingsModal.inventory-modal-expanded .recipe-builder-card,
#settingsModal.inventory-modal-expanded .recipe-journal-card {
  min-width: 0;
}
#settingsModal.inventory-modal-expanded .recipe-ingredient-row select,
#settingsModal.inventory-modal-expanded .recipe-ingredient-row input,
#settingsModal.inventory-modal-expanded .recipe-simple-form select,
#settingsModal.inventory-modal-expanded .recipe-simple-form input {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 760px) {
  #settingsModal.inventory-modal-expanded .recipe-simple .recipe-simple-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .recipe-simple-grid,
  .recipe-simple-stats {
    grid-template-columns: 1fr;
  }
  .recipe-builder-card,
  .recipe-journal-card {
    grid-column: auto;
  }
  .recipe-ingredient-row {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 0.55fr) 76px 36px;
  }
  .recipe-saved-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .recipe-simple-card {
    padding: 14px;
  }
  .recipe-simple-header h2 {
    font-size: 24px;
  }
  .recipe-simple-fields {
    grid-template-columns: 1fr;
  }
  .recipe-ingredient-row {
    grid-template-columns: minmax(0, 1fr) 85px 32px;
  }
  .recipe-ingredient-row label:first-child {
    grid-column: 1/-1;
  }
  .recipe-ingredient-row small {
    display: none;
  }
  .recipe-ingredient-row button {
    width: 32px;
  }
  .recipe-builder-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .recipe-builder-actions button {
    width: 100%;
  }
}
@media (max-width: 1050px) {
  .recipe-step-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recipe-product-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .recipe-product-form button {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .recipe-cabinet-heading h2 {
    font-size: 25px;
  }
  .recipe-step-strip {
    grid-template-columns: 1fr;
  }
  .recipe-product-form {
    grid-template-columns: 1fr !important;
  }
  .recipe-product-form button {
    grid-column: auto;
  }
  .recipe-help-panel {
    padding: 14px;
  }
  .inventory-cabinet .inventory-recipe-choice {
    grid-template-columns: 18px minmax(0, 1fr) 88px !important;
  }
}

#settingsModal.inventory-modal-expanded > .settings-modal {
  box-sizing: border-box !important;
  width: min(1900px, calc(100vw - 24px)) !important;
  max-width: none !important;
  height: calc(100dvh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  padding: 22px clamp(18px, 2vw, 34px) 28px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}
#settingsModal.inventory-modal-expanded > .settings-modal > .settings-panel:not(.hidden) {
  display: block !important;
  min-width: 0 !important;
  overflow: visible !important;
}
#settingsModal.inventory-modal-expanded .inventory-cabinet {
  width: 100% !important;
  min-width: 0 !important;
  gap: 22px !important;
  overflow: visible !important;
}
#settingsModal.inventory-modal-expanded .inventory-cabinet-intro {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr) !important;
  gap: 24px !important;
}
#settingsModal.inventory-modal-expanded .inventory-workspace {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  align-items: stretch !important;
  gap: 20px !important;
}
#settingsModal.inventory-modal-expanded .inventory-operations {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
#settingsModal.inventory-modal-expanded .inventory-stock-card .inventory-form {
  grid-template-columns: minmax(0, 1fr) minmax(110px, 150px) auto !important;
}
#settingsModal.inventory-modal-expanded .inventory-recipe-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}
#settingsModal.inventory-modal-expanded .inventory-recipe-choice {
  grid-template-columns: 20px minmax(0, 1fr) minmax(96px, 120px) !important;
  min-width: 0 !important;
  min-height: 94px;
  padding: 12px !important;
}
#settingsModal.inventory-modal-expanded .inventory-recipe-dish strong {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
#settingsModal.inventory-modal-expanded .inventory-recipe-dish small,
#settingsModal.inventory-modal-expanded .inventory-recipe-amount small,
#settingsModal.inventory-modal-expanded .inventory-stock-amount small {
  font-size: 13px !important;
  line-height: 1.35 !important;
}
#settingsModal.inventory-modal-expanded .inventory-cabinet label,
#settingsModal.inventory-modal-expanded .inventory-cabinet button,
#settingsModal.inventory-modal-expanded .inventory-hint,
#settingsModal.inventory-modal-expanded .inventory-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
#settingsModal.inventory-modal-expanded .inventory-cabinet input,
#settingsModal.inventory-modal-expanded .inventory-cabinet select {
  box-sizing: border-box;
  min-width: 0;
}
@media (max-width: 1050px) {
  #settingsModal.inventory-modal-expanded .inventory-cabinet-intro {
    grid-template-columns: 1fr !important;
  }
  #settingsModal.inventory-modal-expanded .inventory-workspace {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 700px) {
  #settingsModal.inventory-modal-expanded > .settings-modal {
    width: calc(100vw - 12px) !important;
    height: calc(100dvh - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
    padding: 16px 12px 22px !important;
  }
  #settingsModal.inventory-modal-expanded .inventory-recipe-choices,
  #settingsModal.inventory-modal-expanded .inventory-operations {
    grid-template-columns: 1fr !important;
  }
  #settingsModal.inventory-modal-expanded .inventory-stock-card .inventory-form,
  #settingsModal.inventory-modal-expanded .inventory-cabinet .inventory-receipt-form,
  #settingsModal.inventory-modal-expanded .inventory-cabinet .inventory-prep-form {
    grid-template-columns: 1fr !important;
  }
}

.sidebar .brand-lockup.brand-wordmark,
.sidebar .brand-lockup.brand-wordmark:visited {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: start;
  gap: 3px;
  width: max-content !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: inherit !important;
}
.brand-wordmark strong,
.splash-wordmark strong {
  display: block;
  color: #c91f2b !important;
  font-family: Impact, "Arial Narrow", Arial, sans-serif !important;
  font-size: clamp(18px, 1.35vw, 22px) !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: 0.055em !important;
  line-height: 0.98 !important;
  white-space: nowrap !important;
  text-shadow:
    0 1px 0 #fff,
    1px 2px 0 #ef9b42;
}
.brand-wordmark small,
.splash-wordmark span {
  display: block;
  color: #a65326 !important;
  font-family: Arial, "Segoe UI", sans-serif !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: 0.19em !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  text-transform: uppercase;
}
.startup-splash .splash-wordmark {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.startup-splash .splash-wordmark strong {
  font-size: clamp(38px, 7vw, 82px) !important;
  letter-spacing: 0.045em !important;
}
.startup-splash .splash-wordmark span {
  font-size: clamp(12px, 1.8vw, 20px) !important;
  letter-spacing: 0.24em !important;
}
.receipt-wordmark {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin: 2px auto 7px;
  text-align: center;
  line-height: 1;
}
.receipt-wordmark strong {
  color: #c91f2b;
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1;
  text-shadow:
    0 1px 0 #fff,
    1px 2px 0 #ef9b42;
}
.receipt-wordmark span {
  color: #a65326;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  white-space: nowrap;
}
.receipt-preview-paper .receipt-wordmark {
  display: grid !important;
  grid-template-columns: 1fr;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3px 5px 5px;
}
.receipt-preview-paper .receipt-wordmark strong {
  font-size: 25px;
  white-space: nowrap;
  max-width: 100%;
  letter-spacing: 0.01em;
}
.receipt-preview-paper .receipt-wordmark span {
  font-size: 9px;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 640px) {
  .sidebar .brand-wordmark strong {
    font-size: 17px !important;
  }
  .sidebar .brand-wordmark small {
    font-size: 7px !important;
  }
}

#settingsModal.recipe-modal-compact > .settings-modal {
  width: min(1120px, calc(100vw - 36px)) !important;
  height: min(900px, calc(100dvh - 40px)) !important;
  max-height: calc(100dvh - 40px) !important;
  padding: 18px 22px 22px !important;
}
#settingsModal.recipe-modal-compact #settingsRecipe:not(.hidden) {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1020px;
  margin: 0 auto;
  gap: 12px;
}
#settingsModal.recipe-modal-compact .recipe-simple-grid {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
#settingsModal.recipe-modal-compact .recipe-section-panel {
  width: 100%;
  margin: 0;
}
@media (max-width: 700px) {
  #settingsModal.recipe-modal-compact > .settings-modal {
    width: calc(100vw - 16px) !important;
    height: calc(100dvh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 14px 12px 18px !important;
  }
}

#settingsModal.recipe-modal-compact .recipe-simple {
  --recipe-ink: #222821;
  --recipe-muted: #737a72;
  --recipe-line: rgba(46, 61, 49, 0.11);
  color: var(--recipe-ink);
}
#settingsModal.recipe-modal-compact .recipe-section-buttons {
  position: sticky;
  top: 0;
  z-index: 3;
  width: max-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 !important;
  background: rgba(245, 247, 243, 0.76);
  box-shadow: 0 8px 26px rgba(30, 39, 31, 0.08);
  backdrop-filter: blur(22px) saturate(1.5);
}
#settingsModal.recipe-modal-compact .recipe-section-buttons button {
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #515a51;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
#settingsModal.recipe-modal-compact .recipe-section-buttons button:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}
#settingsModal.recipe-modal-compact .recipe-section-buttons button.selected {
  background: linear-gradient(145deg, #fff, #f5f7f4);
  color: #253c2c;
  box-shadow:
    0 3px 12px rgba(35, 50, 39, 0.12),
    inset 0 0 0 1px rgba(58, 91, 65, 0.11);
}
#settingsModal.recipe-modal-compact .recipe-simple-card {
  border-color: var(--recipe-line);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 246, 0.8));
  box-shadow:
    0 16px 44px rgba(35, 43, 36, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}
.recipe-bulk-card {
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid rgba(54, 77, 58, 0.12);
  border-radius: 0 !important;
  background: linear-gradient(135deg, rgba(240, 246, 239, 0.78), rgba(255, 255, 255, 0.88));
}
.recipe-bulk-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.recipe-bulk-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #e8f3e9, #f7faf6);
  color: #346343;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(55, 99, 65, 0.1);
}
.recipe-bulk-heading h4 {
  margin: 0;
  color: #28352b;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.recipe-bulk-heading p {
  margin: 3px 0 0;
  color: #70796f;
  font-size: 12px;
  line-height: 1.4;
}
.recipe-bulk-form {
  display: grid;
  gap: 10px;
}
.recipe-bulk-form > label {
  display: grid;
  max-width: 420px;
  gap: 6px;
  color: #485348;
  font-size: 12px;
  font-weight: 700;
}
.recipe-bulk-form select {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(48, 68, 51, 0.14);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.88);
  color: #273128;
  font: inherit;
}
.recipe-bulk-dishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 330px;
  overflow: auto;
  padding: 2px 4px 2px 2px;
  overscroll-behavior: contain;
}
.recipe-bulk-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) minmax(104px, 0.34fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(48, 68, 51, 0.1);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 0.16s,
    background 0.16s;
}
.recipe-bulk-row:has(input[type="checkbox"]:checked) {
  border-color: rgba(74, 121, 82, 0.31);
  background: rgba(239, 247, 239, 0.92);
}
.recipe-bulk-row > input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #517d57;
}
.recipe-bulk-dish-name {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.recipe-bulk-dish-name strong {
  overflow: hidden;
  color: #303a30;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe-bulk-dish-name small,
.recipe-bulk-quantity small {
  color: #879087;
  font-size: 10px;
}
.recipe-bulk-quantity {
  display: grid;
  justify-items: end;
  gap: 2px;
}
.recipe-bulk-quantity input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(48, 68, 51, 0.14);
  border-radius: 0 !important;
  background: #fff;
  color: #29352a;
  font: inherit;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.recipe-bulk-form .recipe-builder-actions {
  justify-content: flex-start;
}
.recipe-bulk-form .primary-button {
  min-height: 38px;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #385e40, #294a32);
  box-shadow: 0 7px 16px rgba(42, 76, 49, 0.17);
}
.recipe-bulk-empty {
  padding: 16px;
  border: 1px dashed rgba(48, 68, 51, 0.17);
  border-radius: 0 !important;
  color: #7b847b;
  font-size: 12px;
  text-align: center;
}
.recipe-journal-card #recipeSimpleJournal {
  max-height: 480px;
  gap: 8px;
  padding: 2px 4px 2px 2px;
}
.recipe-journal-entry {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid rgba(46, 61, 49, 0.09);
  border-radius: 0 !important;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 247, 0.76));
  box-shadow: 0 3px 12px rgba(33, 42, 34, 0.035);
}
.recipe-journal-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 0 !important;
  background: #edf5ee;
  color: #3c7148;
  font-size: 18px;
  font-weight: 650;
}
.recipe-journal-entry.is-out .recipe-journal-mark {
  background: #f8edef;
  color: #a84a52;
}
.recipe-journal-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.recipe-journal-copy strong {
  overflow: hidden;
  color: #30382f;
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe-journal-copy > span {
  color: #687267;
  font-size: 11px;
}
.recipe-journal-copy small {
  overflow: hidden;
  color: #949a92;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe-journal-copy i {
  font-style: normal;
  color: #b3b9b1;
}
.recipe-journal-entry > b {
  color: #303a31;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.recipe-journal-entry > b small {
  color: #8a9188;
  font-size: 10px;
  font-weight: 550;
}
@media (max-width: 720px) {
  .recipe-bulk-dishes {
    grid-template-columns: 1fr;
    max-height: 390px;
  }
  .recipe-bulk-row {
    grid-template-columns: 18px minmax(0, 1fr) 96px;
  }
  .recipe-journal-entry {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }
  .recipe-journal-mark {
    width: 29px;
    height: 29px;
  }
}
#systemBackupBackdrop.system-backup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(31, 47, 41, 0.42);
  backdrop-filter: blur(14px) saturate(125%);
}
#systemBackupBackdrop.system-backup-backdrop.hidden {
  display: none !important;
}
.system-backup-dialog {
  box-sizing: border-box;
  width: min(620px, 100%);
  max-height: min(90dvh, 900px);
  padding: 26px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 248, 0.96));
  box-shadow:
    0 30px 90px rgba(23, 40, 32, 0.3),
    inset 0 1px #fff;
  color: #292d2a;
  scrollbar-width: thin;
  scrollbar-color: #c8cec9 transparent;
}
.system-backup-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(46, 61, 49, 0.1);
}
.system-backup-dialog h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.5px;
}
.system-backup-dialog > p {
  color: #69716b;
  font-size: 13px;
  line-height: 1.65;
}
.system-backup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 10px;
}
.system-backup-actions button {
  min-height: 52px;
  white-space: normal;
}
.system-backup-status {
  min-height: 20px;
  margin: 8px 0;
  color: #327248;
  font-size: 12px;
}
.system-backup-dialog > small {
  display: block;
  color: #7d837e;
  font-size: 11px;
  line-height: 1.5;
}
.system-backup-import-choice {
  padding: 16px;
  border: 1px solid #e7dfd8;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.72);
}
.system-backup-import-choice.hidden {
  display: none !important;
}
.system-backup-import-choice > strong {
  display: block;
  font-size: 14px;
}
.system-backup-import-choice > p {
  margin: 6px 0 12px;
  color: #69716b;
  font-size: 12px;
  line-height: 1.5;
}
.system-backup-import-choice > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.system-backup-import-choice > div button {
  flex: 1;
  min-height: 44px;
  white-space: normal;
}
.system-backup-import-choice > .text-button {
  margin-top: 8px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: #69716b;
}
.system-backup-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #e7dfd8;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.65);
}
.system-backup-sections legend {
  padding: 0 6px;
  color: #424b43;
  font-size: 13px;
  font-weight: 700;
}
.system-backup-sections label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(57, 72, 59, 0.09);
  border-radius: 0 !important;
  background: #fff;
  color: #3e443f;
  font-size: 12px;
  line-height: 1.35;
}
.system-backup-sections input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #b31230;
}
.system-backup-sections label:has(input:focus-visible) {
  outline: 3px solid rgba(179, 18, 48, 0.2);
  outline-offset: 2px;
}
.system-backup-import-choice .system-backup-sections {
  margin: 12px 0;
}
.interface-card {
  max-height: min(88dvh, 820px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c8cec9 transparent;
}
.interface-options {
  align-items: stretch;
}
.interface-option {
  height: 100%;
  box-sizing: border-box;
}
.app-confirm-layer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 32, 29, 0.42);
  backdrop-filter: blur(10px) saturate(120%);
}
.app-confirm-layer.hidden {
  display: none !important;
}
.app-confirm-dialog {
  box-sizing: border-box;
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0 !important;
  background: #fffdfa;
  color: #292725;
  box-shadow: 0 28px 84px rgba(28, 23, 20, 0.28);
}
.app-confirm-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e9e2dc;
}
.app-confirm-dialog .eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #68615b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.app-confirm-dialog h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}
.app-confirm-dialog > p {
  margin: 16px 0;
  color: #554e48;
  font-size: 14px;
  line-height: 1.55;
}
.app-confirm-dialog > footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.app-confirm-dialog > footer button {
  min-height: 44px;
  white-space: normal;
}

@media (max-width: 520px) {
  .app-confirm-dialog {
    padding: 19px;
    border-radius: 0 !important;
  }
  .app-confirm-dialog > footer {
    flex-direction: column-reverse;
  }
  .app-confirm-dialog > footer button {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .system-backup-dialog {
    padding: 20px;
    border-radius: 0 !important;
  }
  .system-backup-actions {
    grid-template-columns: 1fr;
  }
  .system-backup-sections {
    grid-template-columns: 1fr;
  }
}

#page-settings .settings-launchers .settings-launch {
  padding-right: 92px !important;
}
#page-settings .settings-launchers .settings-launch > .settings-icon {
  position: absolute !important;
  top: 50% !important;
  right: 48px !important;
  left: auto !important;
  bottom: auto !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 0 !important;
  opacity: 0.14 !important;
  filter: grayscale(0.7) !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#page-settings .settings-launchers .settings-launch > .settings-icon svg {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
}
#page-settings .settings-launchers .settings-launch > span:nth-child(2) {
  position: relative !important;
  z-index: 1 !important;
  width: calc(100% - 68px) !important;
  max-width: calc(100% - 68px) !important;
  min-width: 0 !important;
  flex: 0 1 calc(100% - 68px) !important;
  text-align: left !important;
}
#page-settings .settings-launchers .settings-launch > span:nth-child(2) strong,
#page-settings .settings-launchers .settings-launch > span:nth-child(2) small {
  text-align: left !important;
}
#page-settings .settings-launchers .settings-launch > b.settings-launch-action {
  position: absolute !important;
  right: 14px !important;
  z-index: 2 !important;
}
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsKitchen"]::after,
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsCleanup"]::after,
#page-settings .settings-launchers .settings-launch[data-settings-open="settingsInterface"]::after {
  right: 48px !important;
  width: 56px !important;
  height: 56px !important;
  opacity: 0.13 !important;
  z-index: 0 !important;
}
@media (max-width: 640px) {
  #page-settings .settings-launchers .settings-launch {
    padding-right: 78px !important;
  }
  #page-settings .settings-launchers .settings-launch > .settings-icon,
  #page-settings .settings-launchers .settings-launch[data-settings-open="settingsKitchen"]::after,
  #page-settings .settings-launchers .settings-launch[data-settings-open="settingsCleanup"]::after,
  #page-settings
    .settings-launchers
    .settings-launch[data-settings-open="settingsInterface"]::after {
    right: 42px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  #page-settings .settings-launchers .settings-launch > .settings-icon svg {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
}

#page-settings .settings-launchers .settings-launch.manager-only.hidden {
  display: none !important;
}

.order-status-actions {
  align-items: center;
}
.order-refusal-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border: 1px solid rgba(172, 25, 52, 0.24);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 232, 234, 0.72));
  color: #a51631;
  font: 700 16px/1 inherit;
  box-shadow:
    0 2px 7px rgba(49, 35, 37, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.order-refusal-button:hover {
  background: linear-gradient(145deg, #fff, #f7e5e8);
  border-color: rgba(172, 25, 52, 0.42);
}
.refusal-pending-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(171, 108, 24, 0.22);
  border-radius: 0 !important;
  background: rgba(255, 246, 225, 0.82);
  color: #765019;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.refusal-resolve-button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(47, 65, 52, 0.16);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(232, 236, 232, 0.8));
  color: #303932;
  font: 600 11px/1 inherit;
  cursor: pointer;
}
.column-refusal .order-column-heading {
  color: #80551b;
}
.column-refusal .order-column-list {
  border-top: 2px solid rgba(191, 145, 74, 0.34);
}
.refusal-resolution-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(25, 29, 27, 0.4);
  backdrop-filter: blur(12px);
}
.refusal-resolution-dialog {
  width: min(480px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 246, 0.96));
  box-shadow: 0 28px 80px rgba(20, 28, 23, 0.28);
  color: #2c312d;
}
.refusal-resolution-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(44, 55, 47, 0.1);
}
.refusal-resolution-dialog h2 {
  margin: 5px 0 0;
  font-size: 21px;
  letter-spacing: -0.35px;
}
.refusal-resolution-dialog > p {
  color: #667068;
  font-size: 13px;
  line-height: 1.55;
}
.refusal-resolution-dialog > label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 9px 0;
  padding: 13px;
  border: 1px solid rgba(46, 60, 50, 0.1);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}
.refusal-resolution-dialog > label input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #a51631;
}
.refusal-resolution-dialog > label span {
  display: grid;
  gap: 3px;
}
.refusal-resolution-dialog > label strong {
  font-size: 13px;
}
.refusal-resolution-dialog > label small {
  color: #737b74;
  font-size: 11px;
  line-height: 1.4;
}
.refusal-resolution-dialog > footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}
@media (max-width: 620px) {
  .refusal-resolution-dialog {
    padding: 18px;
    border-radius: 0 !important;
  }
  .refusal-resolution-dialog > footer {
    flex-wrap: wrap;
  }
  .refusal-pending-badge {
    white-space: normal;
  }
}
.refusal-resolution-dialog > footer .primary-button {
  white-space: nowrap;
}
.order-refusal-button {
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
}
.refusal-resolve-button {
  font-family: inherit;
  line-height: 1;
}
.shift-header-button {
  white-space: nowrap;
}
.shift-access-controls #fullscreenToggle svg {
  width: 18px;
  height: 18px;
}

.shift-summary {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
}
.shift-access-controls {
  display: flex;
  align-items: center;

  min-width: 0;
}
.shift-header-button {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(37, 117, 235, 0.25);
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(37, 117, 235, 0.12));
  color: #1557b0;
  font: 700 13px/1 inherit;
  box-shadow:
    0 4px 12px rgba(40, 78, 136, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.shift-header-button.is-manager {
  border-color: rgba(185, 25, 48, 0.25);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(185, 25, 48, 0.12));
  color: #a70d2c;
}
.shift-access-controls .interface-option {
  width: auto !important;
  min-height: 38px !important;
  padding: 7px 11px !important;
  border-radius: 0 !important;
  gap: 7px !important;
}
.shift-access-controls .interface-option > span:nth-child(2) {
  display: flex;
  white-space: nowrap;
}
.shift-access-controls .interface-option > span:nth-child(2) small {
  display: none;
}
.shift-access-controls .interface-option .settings-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
}
.shift-access-controls .interface-option > b {
  display: none;
}
.shift-access-controls #fullscreenToggle {
  background: rgba(120, 125, 132, 0.1) !important;
  border-color: rgba(100, 105, 112, 0.2) !important;
  color: #3d4348 !important;
}
.menu-category-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
}
.menu-category-field > label {
  min-width: 0;
}
.menu-add-category {
  min-height: 44px;
  white-space: nowrap;
}
.category-create-dialog-native {
  width: min(430px, calc(100% - 28px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 !important;
  background: rgba(250, 249, 247, 0.98);
  color: #292521;
  box-shadow: 0 24px 80px rgba(24, 20, 18, 0.25);
  backdrop-filter: blur(18px);
}
.category-create-dialog-native::backdrop {
  background: rgba(24, 27, 25, 0.46);
  backdrop-filter: blur(8px);
}
.category-create-dialog-native form {
  display: grid;
  gap: 15px;
}
.category-create-dialog-native header,
.category-create-dialog-native footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-create-dialog-native h3 {
  margin: 4px 0 0;
}
.category-create-dialog-native label {
  display: grid;
  gap: 7px;
  font-weight: 650;
}
.category-create-dialog-native input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #ded6d0;
  border-radius: 0 !important;
  background: #fff;
  color: #292521;
  font: inherit;
}
.category-create-dialog-native input[type="color"] {
  width: 68px;
  height: 44px;
  padding: 4px;
  border: 1px solid #ded6d0;
  border-radius: 0 !important;
  background: #fff;
}
.category-create-dialog-native footer {
  justify-content: flex-end;
  margin-top: 4px;
}
.manager-only.hidden {
  display: none !important;
}
.manager-menu-category {
  --category-color: #b3112b;
}
.manager-menu-category h4 {
  border-color: color-mix(in srgb, var(--category-color) 30%, transparent);
  color: var(--category-color);
}
.manager-menu-category .manager-menu-row {
  border-color: color-mix(in srgb, var(--category-color) 24%, #e6dfda);
}
.order-card.order-cancelled-pending {
  border-color: rgba(191, 24, 48, 0.48) !important;
}
.order-cancelled-pending .refusal-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(190, 20, 46, 0.18);
  border-radius: 0 !important;
  background: #ffe4e8;
  color: #a20f29;
  font-weight: 750;
  font-size: 12px;
}
.order-cancel-compact {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 0 !important;
}
@media (max-width: 640px) {
  .shift-summary {
    align-items: flex-start;
  }
  .shift-access-controls {
    flex-wrap: wrap;
  }
  .menu-category-field {
    grid-template-columns: 1fr;
  }
  .menu-add-category {
    justify-self: start;
  }
}
.order-card.status-cancelled,
.order-card.employee-cancelled {
  background: linear-gradient(
    135deg,
    rgba(255, 236, 238, 0.98),
    rgba(255, 248, 247, 0.97)
  ) !important;
  border-color: rgba(196, 35, 53, 0.34) !important;
  box-shadow:
    inset 4px 0 #c52038,
    0 8px 22px rgba(150, 20, 40, 0.08) !important;
}
.order-cancelled-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 0 !important;
  background: rgba(193, 22, 48, 0.12);
  color: #a5122a;
  font-weight: 750;
  font-size: 12px;
}
.cancelled-manager-action {
  border-color: rgba(193, 22, 48, 0.35) !important;
  color: #a5122a !important;
}

.shift-summary {
  flex-wrap: nowrap !important;
  gap: 8px !important;
}
.shift-access-controls {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: none !important;
}
.shift-header-button {
  width: 66px !important;
  min-width: 66px !important;
  min-height: 36px !important;
  flex: none !important;
  padding: 6px 8px !important;
  white-space: nowrap !important;
}
.shift-access-controls #fullscreenToggle {
  flex: none !important;
}
.shift-access-controls #fullscreenToggle > span:nth-child(2) {
  display: none !important;
}
.shift-access-controls #fullscreenToggle .settings-icon {
  display: grid !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
}
.shift-access-controls #fullscreenToggle svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
}
.shift-access-controls #fullscreenToggle svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
@media (max-width: 780px) {
  .shift-summary {
    flex-wrap: wrap !important;
  }
  .shift-access-controls {
    flex-wrap: nowrap !important;
  }
}

.order-refusal-button.order-cancel-compact {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
}
.order-card.order-cancelled-pending {
  background: linear-gradient(135deg, #fbdfe2 0%, #fff0f1 58%, #fff7f7 100%) !important;
  border: 1.5px solid rgba(182, 18, 43, 0.55) !important;
  box-shadow: 0 8px 22px rgba(150, 20, 40, 0.11) !important;
}
.order-card.order-cancelled-pending::before,
.order-card.order-cancelled-pending::after {
  display: none !important;
}
.order-cancelled-pending .refusal-pending-badge {
  display: grid !important;
  gap: 3px;
  max-width: 250px;
  padding: 7px 10px !important;
  border: 1px solid rgba(181, 20, 44, 0.2) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.7) !important;
  color: #8f1028 !important;
}
.order-cancelled-pending .refusal-pending-badge strong {
  font-size: 12px;
  letter-spacing: 0.035em;
}
.order-cancelled-pending .refusal-pending-badge small {
  color: #61353b;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.3;
}
.order-cancelled-pending .order-id,
.order-cancelled-pending .order-time,
.order-cancelled-pending .order-items,
.order-cancelled-pending .order-price,
.order-cancelled-pending .order-detail {
  color: #34272a !important;
}
.menu-card {
  --saved-category-color: var(--category-color, #768279);
}
.menu-card .menu-category {
  background: color-mix(in srgb, var(--saved-category-color) 15%, white) !important;
  border-color: color-mix(in srgb, var(--saved-category-color) 34%, white) !important;
  color: color-mix(in srgb, var(--saved-category-color) 78%, #202321) !important;
}
.order-menu-card {
  --saved-category-color: var(--category-color, #768279);
}
.order-menu-card .order-menu-category,
.menu-category-tab:not(.category-all) {
  border-color: color-mix(in srgb, var(--saved-category-color) 32%, white) !important;
  background: color-mix(in srgb, var(--saved-category-color) 14%, white) !important;
  color: color-mix(in srgb, var(--saved-category-color) 78%, #202321) !important;
}
.cart-delivery-price-field {
  display: grid;
  grid-template-columns: auto minmax(88px, 120px);
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  color: #686c69;
  font-size: 11px;
  font-weight: 650;
}
.cart-delivery-price-field input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 5px 9px;
  border: 1px solid #dcdedb;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.85);
  color: #252925;
  font: 650 13px/1 inherit;
}
.cart-delivery-price-field input:focus {
  outline: 2px solid rgba(182, 18, 43, 0.25);
  border-color: #b6122b;
}
.shift-header-button {
  align-self: center !important;
  transform: none !important;
}
.employee-hidden {
  display: none !important;
}
.employee-mode [data-page="archive"],
.employee-mode [data-settings-open="settingsMetrics"] {
  display: none !important;
}

.order-card.order-cancelled-pending .order-status-actions {
  display: flex !important;
  flex: 1 1 100%;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  min-width: 0 !important;
}
.order-card.order-cancelled-pending .refusal-pending-badge {
  display: grid !important;
  flex: 0 1 auto;
  width: fit-content;
  min-width: 0;
  max-width: min(100%, 360px) !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.order-card.order-cancelled-pending .refusal-pending-badge small {
  line-height: 1.35;
}
.order-card.order-cancelled-pending .order-print-button,
.order-card.order-cancelled-pending .refusal-resolve-button {
  flex: 0 0 auto;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  white-space: normal;
  line-height: 1.25;
  border: 1px solid #a50e27;
  border-radius: 0 !important;
  background: #c8102e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.order-card.order-cancelled-pending .refusal-resolve-button:hover {
  background: #a50e27;
}
.order-card.order-cancelled-pending .refusal-resolve-button:disabled {
  cursor: wait;
  opacity: 0.65;
}
@media (max-width: 760px) {
  .order-card.order-cancelled-pending .order-right {
    min-width: 0 !important;
    width: 100%;
  }
  .order-card.order-cancelled-pending .order-status-actions {
    width: 100%;
  }
}

#settingsModal:has(#settingsExport:not(.hidden)) > .settings-modal {
  width: min(760px, calc(100vw - 32px)) !important;
  max-height: min(84dvh, 780px) !important;
  padding: 22px !important;
  overflow: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  border-radius: 0 !important;
  background: rgba(249, 250, 249, 0.96) !important;
  color: #292725 !important;
  box-shadow: 0 28px 90px rgba(30, 27, 24, 0.25) !important;
  color-scheme: light !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) > .settings-modal > .modal-header {
  top: -22px;
  margin: -2px 0 14px;
  border-bottom: 1px solid #e7e1dc;
  background: rgba(249, 250, 249, 0.97) !important;
  color: #292725 !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsModalTitle {
  color: #292725 !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none;
  margin: 0;
  padding: 24px !important;
  border: 1px solid #e8e0da !important;
  border-radius: 0 !important;
  background: #fffdfa !important;
  color: #292725 !important;
  box-shadow: 0 12px 34px rgba(35, 30, 26, 0.07) !important;
  backdrop-filter: none !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport h3 {
  color: #292725 !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .settings-copy {
  color: #69635e !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-field {
  display: grid;
  gap: 8px;
  width: min(100%, 460px);
  margin: 0 0 14px;
  color: #4a4541 !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-field select,
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .export-field input {
  min-height: 48px;
  border: 1px solid #ded6cf !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #292725 !important;
  box-shadow: none !important;
  color-scheme: light !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport #exportOrders {
  width: auto !important;
  min-width: 190px;
  margin-top: 2px;
  border: 1px solid #b31230 !important;
  border-radius: 0 !important;
  background: #b31230 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(179, 18, 48, 0.18) !important;
  backdrop-filter: none !important;
}
#settingsModal:has(#settingsExport:not(.hidden)) #settingsExport .helper-text {
  color: #625c57 !important;
}
#settingsCleanup .cleanup-card {
  padding: 24px;
  border: 1px solid #e8e0da;
  border-radius: 0 !important;
  background: #fffdfa;
  box-shadow: 0 12px 34px rgba(35, 30, 26, 0.06);
}
#settingsCleanup .cleanup-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
#settingsCleanup .cleanup-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #e7e0da;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #fff, #f8f7f5);
  cursor: pointer;
}
#settingsCleanup .cleanup-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #b31230;
}
#settingsCleanup .cleanup-option span {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
#settingsCleanup .cleanup-option strong {
  color: #292725;
  font-size: 14px;
}
#settingsCleanup .cleanup-option small {
  color: #77716b;
  line-height: 1.35;
}
#settingsCleanup .cleanup-option b {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 28px;
  padding: 0 7px;
  border-radius: 0 !important;
  background: #f0eeeb;
  color: #5f5954;
  font-size: 12px;
}
#settingsCleanup .cleanup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid #ece6e1;
  color: #716a64;
  font-size: 13px;
}
#settingsCleanup #cleanupAction {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #b31230;
  border-radius: 0 !important;
  background: #b31230;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
#settingsCleanup #cleanupAction:disabled {
  border-color: #d9d3cf;
  background: #e7e4e1;
  color: #89827c;
  box-shadow: none;
  cursor: not-allowed;
}
#settingsCleanup #cleanupFeedback {
  margin: 10px 0 0;
  color: #276344;
}
@media (max-width: 640px) {
  #settingsModal:has(#settingsExport:not(.hidden)) > .settings-modal {
    width: calc(100vw - 20px) !important;
    max-height: 90dvh !important;
    padding: 16px !important;
    border-radius: 0 !important;
  }
  #settingsModal:has(#settingsExport:not(.hidden)) > .settings-modal > .modal-header {
    top: -16px;
  }
  #settingsModal:has(#settingsExport:not(.hidden)) #settingsExport {
    padding: 17px !important;
  }
  #settingsCleanup .cleanup-card {
    padding: 17px;
  }
  #settingsCleanup .cleanup-groups {
    grid-template-columns: 1fr;
  }
  #settingsCleanup .cleanup-footer {
    align-items: stretch;
    flex-direction: column;
  }
  #settingsCleanup #cleanupAction {
    width: 100%;
  }
}

#settingsModal.export-open > .settings-modal,
#settingsModal.cleanup-open > .settings-modal {
  box-sizing: border-box !important;
  width: min(760px, calc(100vw - 32px)) !important;
  max-height: min(88dvh, 820px) !important;
  overflow: auto !important;
  padding: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 0 !important;
  box-shadow: 0 28px 90px rgba(30, 27, 24, 0.25) !important;
}
#settingsModal.export-open > .settings-modal *,
#settingsModal.cleanup-open > .settings-modal * {
  color-scheme: light;
}
#settingsModal.export-open > .settings-modal > .modal-header,
#settingsModal.cleanup-open > .settings-modal > .modal-header {
  position: sticky !important;
  top: -22px !important;
  z-index: 5 !important;
  margin: -2px 0 14px !important;
  padding: 2px 0 13px !important;
  border-bottom: 1px solid #e7e1dc !important;
  background: rgba(249, 250, 249, 0.98) !important;
  color: #292725 !important;
  backdrop-filter: blur(18px);
}
#settingsModal.export-open #settingsModalTitle,
#settingsModal.cleanup-open #settingsModalTitle {
  color: #292725 !important;
}
#settingsModal.export-open #settingsExport {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid #e8e0da !important;
  border-radius: 0 !important;
  box-shadow: 0 12px 34px rgba(35, 30, 26, 0.07) !important;
}
#settingsModal.export-open #settingsExport h3,
#settingsModal.export-open #settingsExport label,
#settingsModal.export-open #settingsExport span {
  color: #38332f !important;
}
#settingsModal.export-open #settingsExport .settings-copy,
#settingsModal.export-open #settingsExport .helper-text {
  color: #69635e !important;
}
#settingsModal.export-open #settingsExport .export-field {
  display: grid !important;
  gap: 8px !important;
  width: min(100%, 480px) !important;
  margin: 0 0 14px !important;
}
#settingsModal.export-open #settingsExport .export-day-field:not(.active) {
  display: none !important;
}
#settingsModal.export-open #settingsExport .export-day-field.active {
  display: grid !important;
}
#settingsModal.export-open #settingsExport .export-field select,
#settingsModal.export-open #settingsExport .export-field input {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #ded6cf !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #292725 !important;
  box-shadow: none !important;
  color-scheme: light !important;
}
#settingsModal.export-open #settingsExport #exportOrders {
  width: auto !important;
  min-width: 190px !important;
  min-height: 46px !important;
  margin-top: 2px !important;
  padding: 0 20px !important;
  border: 1px solid #b31230 !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 18px rgba(179, 18, 48, 0.18) !important;
}
#settingsModal.cleanup-open #settingsCleanup {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#settingsModal.cleanup-open #settingsCleanup .cleanup-option strong {
  color: #292725 !important;
}
#settingsModal.cleanup-open #settingsCleanup .cleanup-option small {
  color: #77716b !important;
}
@media (max-width: 640px) {
  #settingsModal.export-open > .settings-modal,
  #settingsModal.cleanup-open > .settings-modal {
    width: calc(100vw - 20px) !important;
    max-height: 90dvh !important;
    padding: 16px !important;
    border-radius: 0 !important;
  }
  #settingsModal.export-open > .settings-modal > .modal-header,
  #settingsModal.cleanup-open > .settings-modal > .modal-header {
    top: -16px !important;
  }
  #settingsModal.export-open #settingsExport {
    padding: 17px !important;
  }
  #settingsModal.cleanup-open #settingsCleanup .cleanup-card {
    padding: 17px !important;
  }
  #settingsModal.cleanup-open #settingsCleanup .cleanup-groups {
    grid-template-columns: 1fr !important;
  }
  #settingsModal.cleanup-open #settingsCleanup .cleanup-footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  #settingsModal.cleanup-open #settingsCleanup #cleanupAction {
    width: 100% !important;
  }
}

#settingsModal.export-open > .settings-modal,
#settingsModal.cleanup-open > .settings-modal {
  color: #282624 !important;
  color-scheme: light !important;
  background: rgba(250, 250, 249, 0.98) !important;
}
#settingsModal.export-open #settingsExport,
#settingsModal.cleanup-open #settingsCleanup,
#settingsModal.cleanup-open #settingsCleanup .cleanup-card {
  color: #292725 !important;
  color-scheme: light !important;
  background: #fffdfa !important;
}
#settingsModal.export-open #settingsExport :is(h1, h2, h3, h4, strong, label, span),
#settingsModal.cleanup-open #settingsCleanup :is(h1, h2, h3, h4, strong, label, span) {
  color: #302d2a !important;
}
#settingsModal.export-open #settingsExport :is(p, small, .settings-copy, .helper-text),
#settingsModal.cleanup-open #settingsCleanup :is(p, small, .settings-copy, .helper-text) {
  color: #68615c !important;
}
#settingsModal.export-open #settingsExport .export-field,
#settingsModal.export-open #settingsExport .export-field span {
  color: #403b37 !important;
}
#settingsModal.export-open #settingsExport select,
#settingsModal.export-open #settingsExport input,
#settingsModal.cleanup-open #settingsCleanup input:not([type="checkbox"]) {
  background: #fff !important;
  color: #282624 !important;
  border-color: #d9d1ca !important;
  opacity: 1 !important;
}
#settingsModal.export-open #settingsExport #exportOrders,
#settingsModal.cleanup-open #settingsCleanup #cleanupAction {
  color: #fff !important;
  background: #b31230 !important;
  border-color: #b31230 !important;
}
#settingsModal.export-open #settingsExport #exportOrders {
  transform: none !important;
  outline: none !important;
  box-shadow: 0 4px 12px #9f112c20 !important;
}
#settingsModal.export-open #settingsExport #exportOrders:hover {
  color: #fff !important;
  background: #b80f2a !important;
  border-color: #b80f2a !important;
  transform: none !important;
  box-shadow: 0 4px 12px #9f112c20 !important;
}
#settingsModal.export-open #settingsExport .export-field select:focus,
#settingsModal.export-open #settingsExport .export-field input:focus {
  outline: none !important;
  border-color: #d9d1ca !important;
  box-shadow: none !important;
}
#settingsModal:has(#settingsExport:not(.hidden)).export-open #settingsExport #exportOrders:hover {
  color: #fff !important;
  background: #b80f2a !important;
  border-color: #b80f2a !important;
  transform: none !important;
  box-shadow: 0 4px 12px #9f112c20 !important;
}
#settingsModal.cleanup-open #settingsCleanup .cleanup-option {
  background: linear-gradient(135deg, #fff, #f6f4f1) !important;
  color: #302d2a !important;
}
#settingsModal.cleanup-open #settingsCleanup .cleanup-option input[type="checkbox"] {
  accent-color: #b31230 !important;
}

.menu-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.menu-heading-actions > .button,
.menu-heading-actions > button {
  min-height: 44px;
  white-space: nowrap;
}
.shift-access-controls {
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.shift-access-controls .shift-header-button {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  line-height: 1.15;
}
.shift-access-controls .shift-header-button.is-manager {
  border-radius: 0 !important;
}
.shift-access-controls .shift-header-button.is-manager:hover {
  transform: translateY(-1px);
}
.category-manage-dialog-native {
  width: min(780px, calc(100vw - 32px));
  max-width: none;
  max-height: min(82vh, 820px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 !important;
  background: rgba(250, 249, 247, 0.96);
  color: #292725;
  box-shadow: 0 24px 80px rgba(31, 26, 21, 0.28);
  backdrop-filter: blur(24px);
}
.category-manage-dialog-native::backdrop {
  background: rgba(31, 29, 27, 0.42);
  backdrop-filter: blur(8px);
}
.category-manage-form {
  padding: 22px;

  overflow: auto;
}
.category-manage-form > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(70, 61, 52, 0.12);
}
.category-manage-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.category-manage-header-actions > .primary-button {
  min-height: 40px;
  white-space: nowrap;
}
.category-manage-create {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 90px auto auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(179, 17, 43, 0.2);
  border-radius: 0 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 242, 241, 0.86));
}
.category-manage-create label {
  display: grid;
  gap: 6px;
  color: #625b53;
  font-size: 12px;
  font-weight: 650;
}
.category-manage-create input[type="text"] {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ded7d0;
  border-radius: 0 !important;
  background: #fff;
  color: #292725;
  font: inherit;
  font-size: 14px;
}
.category-manage-create input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  border: 1px solid #ded7d0;
  border-radius: 0 !important;
  background: #fff;
  cursor: pointer;
}
.category-manage-create button {
  min-height: 42px;
  white-space: nowrap;
}
.category-manage-form h3 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.category-manage-list {
  display: grid;
  gap: 10px;
}
.category-manage-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 92px auto;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(95, 81, 66, 0.13);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.72);
}
.category-manage-row label {
  display: grid;
  gap: 6px;
  color: #625b53;
  font-size: 12px;
  font-weight: 650;
}
.category-manage-row input[type="text"] {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ded7d0;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.92);
  color: #292725;
  font: inherit;
  font-size: 14px;
}
.category-manage-row input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  border: 1px solid #ded7d0;
  border-radius: 0 !important;
  background: #fff;
  cursor: pointer;
}
.category-manage-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-manage-actions button {
  min-height: 42px;
  white-space: nowrap;
}
.category-manage-actions .category-manage-delete {
  color: #a81730;
  border-color: rgba(168, 23, 48, 0.24);
}
.category-manage-empty {
  padding: 24px;
  text-align: center;
  color: #716a62;
  border: 1px dashed rgba(95, 81, 66, 0.22);
  border-radius: 0 !important;
}
@media (max-width: 620px) {
  .menu-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .category-manage-form {
    padding: 16px;
  }
  .category-manage-form > header {
    align-items: flex-start;
    gap: 10px;
  }
  .category-manage-header-actions > .primary-button {
    font-size: 12px;
    padding-inline: 10px;
  }
  .category-manage-row {
    grid-template-columns: minmax(0, 1fr) 78px;
  }
  .category-manage-actions {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .category-manage-create {
    grid-template-columns: minmax(0, 1fr) 78px;
  }
  .category-manage-create button {
    grid-row: 2;
  }
  .category-manage-create [data-category-create-cancel] {
    grid-column: 1;
  }
  .category-manage-create [data-category-create-save] {
    grid-column: 2;
  }
}

#menuTable .menu-card.menu-category-filter-hidden {
  display: none !important;
}
#menuTable {
  align-items: stretch;
}
.menu-catalog-card .catalog-heading {
  gap: 14px;
  flex-wrap: wrap;
}
.menu-catalog-card .catalog-heading h2 {
  flex: none;
}
.menu-catalog-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 360px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(104, 92, 82, 0.28) transparent;
}
.menu-catalog-filters .menu-category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(91, 79, 68, 0.18);
  border-radius: 0 !important;
  background: linear-gradient(145deg, #fff, #f7f4f1);
  color: #4c443e;
  font: 650 12px/1.2 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.menu-catalog-filters .menu-category-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(48, 36, 28, 0.08);
}
.menu-catalog-filters .menu-category-tab.category-all {
  background: #b3112b;
  color: #fff;
  border-color: #b3112b;
}
.menu-catalog-filters .menu-category-tab.selected:not(.category-all) {
  outline: 2px solid #b3112b;
  outline-offset: 1px;
}
.menu-catalog-card .catalog-heading > #menuCount {
  flex: none;
  margin-left: auto;
}
@media (max-width: 700px) {
  .menu-catalog-filters {
    order: 3;
    flex: 1 0 100%;
    max-width: 100%;
    margin-top: 3px;
  }
  .menu-catalog-card .catalog-heading > #menuCount {
    margin-left: auto;
  }
}

.shift-access-controls {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 7px !important;
}
.shift-access-controls .shift-header-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 84px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 13px !important;
  margin: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  transform: none !important;
}
.shift-access-controls .shift-header-button.is-manager {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(145deg, rgba(50, 50, 50, 0.96), rgba(15, 15, 15, 0.96)) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 5px 14px rgba(0, 0, 0, 0.18) !important;
}
.shift-access-controls .shift-header-button.is-manager:hover {
  background: linear-gradient(145deg, #454545, #171717) !important;
}
.shift-access-controls #fullscreenToggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}
#managerHeaderButton:not(.is-manager) {
  border: 1px solid #e6dfd9 !important;
  background: linear-gradient(145deg, #fff, #f7f3ef) !important;
  color: #332d28 !important;
  box-shadow:
    0 3px 10px rgba(48, 36, 28, 0.08),
    inset 0 1px #fff !important;
}
#managerHeaderButton:not(.is-manager) strong {
  color: #332d28 !important;
}
#managerHeaderButton:not(.is-manager):hover {
  background: linear-gradient(145deg, #fff, #f1ebe6) !important;
}
#managerHeaderButton.is-manager {
  border: 1px solid #a70f29 !important;
  background: linear-gradient(145deg, #c51b37, #a70f29) !important;
  color: #fff !important;
  box-shadow:
    0 5px 14px rgba(167, 15, 41, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.2) !important;
}
#managerHeaderButton.is-manager strong {
  color: #fff !important;
}
#managerHeaderButton.is-manager:hover {
  background: linear-gradient(145deg, #ae1530, #8f0d23) !important;
}
#managerHeaderButton strong {
  font-weight: 750 !important;
}
.cash-ledger-mark.sale {
  border: 1px solid rgba(102, 160, 113, 0.42);
  border-radius: 0 !important;
  background: linear-gradient(180deg, #f7fff8 0%, #d9f0dc 48%, #b9ddbf 49%, #d5efd8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 1px rgba(74, 126, 83, 0.16),
    0 1px 3px rgba(36, 63, 42, 0.14);
  color: #25633a;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px rgba(255, 255, 255, 0.9);
}
.cash-ledger-row > b.cash-in,
.cash-ledger-row > b.cash-out {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08px;
  font-variant-numeric: tabular-nums;
}
#cashExpenseForm > button.primary-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(135, 145, 154, 0.58);
  border-radius: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(236, 239, 242, 0.93) 48%,
    rgba(218, 223, 228, 0.94) 49%,
    rgba(239, 242, 245, 0.98)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(162, 170, 178, 0.28),
    0 2px 5px rgba(46, 53, 61, 0.13);
  color: #30363c;
  text-shadow: 0 1px rgba(255, 255, 255, 0.96);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
#cashExpenseForm > button.primary-button:hover {
  border-color: #9da7b0;
  background: linear-gradient(180deg, #fff, #e9edf0 48%, #d4dae0 49%, #e8ecef);
  color: #20262c;
  transform: translateY(-1px);
}
#cashExpenseForm > button.primary-button:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 3px rgba(37, 44, 50, 0.15);
}
.cash-summary article.is-locked {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f2f3f4, #e8eaec);
  border-color: #d5d9dd;
}
.cash-summary article.is-locked strong {
  color: #66717b;
  letter-spacing: 2px;
}
.cash-summary-lock {
  right: 14px;
  top: 12px;
}
.cash-summary-lock svg {
  display: block;

  fill: none;
  stroke: #68737d;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cash-staff-visibility {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px 0 20px;
  padding: 12px 15px;
  border: 1px solid #e3ddd8;
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 243, 245, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(44, 39, 35, 0.045);
  color: #34383d;
  cursor: pointer;
}
.cash-staff-visibility input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: #aab2ba;
}
.cash-staff-visibility span {
  display: grid;
  gap: 3px;
}
.cash-staff-visibility strong {
  font-size: 13px;
  line-height: 1.4;
}
.cash-staff-visibility small {
  color: #606970;
  font-size: 12px;
  line-height: 1.45;
}
#settingsCash #cashExpenseForm > button.primary-button {
  min-height: 44px !important;
  padding: 0 17px !important;
  border: 1px solid #aeb7bf !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fff 0%, #eef1f3 48%, #dce1e5 49%, #f0f2f4 100%) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(148, 158, 168, 0.3),
    0 2px 5px rgba(46, 53, 61, 0.13) !important;
  color: #30363c !important;
  text-shadow: 0 1px #fff !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
#settingsCash #cashExpenseForm > button.primary-button:hover {
  border-color: #8e99a3 !important;
  background: linear-gradient(180deg, #fff 0%, #e7ebee 48%, #d2d8dd 49%, #e8ecef 100%) !important;
  color: #20262c !important;
}
#settingsCash .cash-ledger-mark.sale {
  border: 1px solid #91c79d !important;
  border-radius: 0 !important;
  background: linear-gradient(
    180deg,
    #f8fff9 0%,
    #dff2e2 48%,
    #c5e6cb 49%,
    #e6f6e8 100%
  ) !important;
  box-shadow:
    inset 0 1px #fff,
    inset 0 -1px rgba(74, 126, 83, 0.16),
    0 1px 3px rgba(36, 63, 42, 0.14) !important;
  color: #25633a !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-shadow: 0 1px #fff !important;
}
#settingsCash .cash-ledger-row > b.cash-in,
#settingsCash .cash-ledger-row > b.cash-out {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08px !important;
  font-variant-numeric: tabular-nums;
}

#settingsModal:has(#settingsCash:not(.hidden)) > .settings-modal > #settingsCash:not(.hidden) {
  overflow: visible !important;
  max-height: none !important;
  overscroll-behavior: visible !important;
}
#settingsModal > .settings-modal {
  overscroll-behavior: contain;
}

.category-manage-dialog-native {
  overflow: hidden;
}
.category-manage-form {
  box-sizing: border-box;
  max-height: min(82vh, 820px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.cash-summary article.is-locked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.cash-summary article.is-locked > small {
  max-width: 100%;
  line-height: 1.35;
}
.cash-summary article.is-locked > strong.hidden {
  display: none !important;
}
.cash-summary-lock {
  position: static;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  margin-top: 1px;
  color: #58636d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}
.cash-summary-lock.hidden {
  display: none;
}
.cash-summary-lock svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.cash-summary-lock span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#orderModal #orderMenuFilters {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  overflow: visible !important;
  max-height: none !important;
  padding: 2px 0 8px !important;
  white-space: normal !important;
}
#orderModal #orderMenuFilters .menu-category-tab {
  flex: 0 0 auto !important;
}

.category-manage-dialog-native {
  box-sizing: border-box !important;
  height: min(82vh, 820px) !important;
  max-height: none !important;
  overflow: hidden !important;
}
.category-manage-dialog-native > .category-manage-form {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

#settingsModal.recipe-modal-compact .recipe-section-buttons button {
  min-height: 44px !important;
}
#settingsModal.recipe-modal-compact .recipe-simple-product-actions button {
  min-height: 44px !important;
  font-size: 12px !important;
}
#settingsModal.recipe-modal-compact .recipe-builder-actions button {
  min-height: 44px !important;
}

#receiptPrint {
  display: none;
}

@page roll80 {
  size: 80mm auto;
  margin: 0;
}

@page roll58 {
  size: 58mm auto;
  margin: 0;
}

@media print {
  html,
  body {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.printing-receipt > :not(#receiptPrint) {
    display: none !important;
  }

  body.printing-receipt #receiptPrint {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: #000 !important;
    background: #fff !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .receipt-sheet {
    display: block !important;
    width: 100% !important;
    max-width: 80mm;
    margin: 0 auto !important;
    padding: 2.5mm 3mm 3mm !important;
    box-sizing: border-box !important;
    color: #000 !important;
    background: #fff !important;
    font:
      10pt/1.3 Arial,
      "Segoe UI",
      sans-serif !important;
    overflow-wrap: anywhere;
  }

  .receipt-sheet.receipt-58 {
    page: roll58;
    max-width: 58mm;
    padding: 2mm !important;
    font-size: 9pt !important;
  }

  .receipt-sheet.receipt-80 {
    page: roll80;
  }

  .receipt-sheet h1 {
    margin: 1mm 0 2mm !important;
    color: #000 !important;
    font:
      700 14pt/1.2 Arial,
      "Segoe UI",
      sans-serif !important;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .receipt-sheet p,
  .receipt-sheet footer {
    margin: 1.5mm 0 !important;
    color: #000 !important;
    font-size: 9pt !important;
    text-align: center;
  }

  .receipt-brand-logo {
    display: block !important;
    width: 15mm !important;
    height: 15mm !important;
    margin: 0 auto 2mm !important;
    object-fit: contain !important;
    filter: grayscale(1) contrast(1.35) !important;
  }

  .receipt-sheet hr {
    height: 0 !important;
    margin: 2mm 0 !important;
    border: 0 !important;
    border-top: 0.3mm dashed #000 !important;
  }

  .receipt-sheet > div:not(.receipt-line):not(.receipt-total) {
    margin: 1mm 0;
  }

  .receipt-sheet > div:first-of-type {
    margin-top: 1mm !important;
    font-size: 15pt !important;
    font-weight: 800 !important;
  }

  .receipt-sheet .receipt-line,
  .receipt-sheet .receipt-total {
    display: flex !important;
    justify-content: space-between !important;
    gap: 2mm !important;
    padding: 1.5mm 0 !important;
    border-bottom: 0.2mm dashed #555 !important;
    break-inside: avoid;
  }

  .receipt-language-block {
    min-width: 0;
    overflow-wrap: anywhere;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .receipt-sheet .receipt-line > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .receipt-sheet .receipt-line > strong,
  .receipt-sheet .receipt-total > strong {
    flex: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  .receipt-sheet .receipt-total {
    margin-top: 1mm;
    border-top: 0.4mm solid #000 !important;
    border-bottom: 0 !important;
    color: #000 !important;
    font-size: 13pt !important;
    font-weight: 800 !important;
  }

  .receipt-sheet.receipt-enlarged h1 {
    font-size: 16pt !important;
  }
  .receipt-sheet.receipt-enlarged .receipt-total {
    font-size: 15pt !important;
  }
  .receipt-sheet.receipt-standart h1 {
    font-size: 15pt !important;
  }
  .receipt-sheet.receipt-standart .receipt-total {
    font-size: 12pt !important;
  }
}

@media print {
  .receipt-sheet.receipt-classic {
    border: 0;
    border-radius: 0 !important;
  }
  .receipt-sheet.receipt-standart {
    border: 0.3mm solid #777 !important;
    border-radius: 0 !important;
  }
  .receipt-sheet.receipt-compact {
    padding: 1.5mm 2mm !important;
    font-size: 8pt !important;
    line-height: 1.2 !important;
  }
  .receipt-sheet.receipt-compact .receipt-order-number {
    font-size: 10pt !important;
  }
  .receipt-sheet.receipt-enlarged {
    border: 0.7mm solid #b3112b !important;
    border-top-width: 3mm !important;
    border-radius: 0 !important;
    font-size: 10pt !important;
  }
  .receipt-sheet.receipt-enlarged .receipt-order-number {
    padding: 1mm 0;
    border-top: 0.5mm solid #b3112b;
    border-bottom: 0.5mm solid #b3112b;
  }
  .receipt-sheet .receipt-order-number {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1mm 0 !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
  .receipt-sheet.receipt-enlarged .receipt-order-number {
    color: #a20f28 !important;
  }
  .receipt-sheet.receipt-compact .receipt-line,
  .receipt-sheet.receipt-compact .receipt-total {
    padding: 0.8mm 0 !important;
  }
}

@media print {
  .receipt-sheet .receipt-wordmark {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 1mm auto 2mm !important;
    gap: 0.7mm !important;
    overflow: hidden;
  }
  .receipt-sheet .receipt-wordmark strong {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: #000 !important;
    font-family: Impact, "Arial Narrow", Arial, sans-serif !important;
    font-size: 15pt !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: center;
    text-shadow: none !important;
    white-space: nowrap !important;
  }
  .receipt-sheet .receipt-wordmark span {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: #000 !important;
    font:
      700 6.5pt/1.1 Arial,
      "Segoe UI",
      sans-serif !important;
    letter-spacing: 0.04em !important;
    text-align: center;
    white-space: nowrap !important;
  }
  .receipt-sheet.receipt-58 .receipt-wordmark strong {
    font-size: 11pt !important;
  }
  .receipt-sheet.receipt-58 .receipt-wordmark span {
    font-size: 4.7pt !important;
    letter-spacing: 0.01em !important;
  }
  .receipt-sheet .receipt-order-number {
    margin-top: 1mm !important;
    font-weight: 700 !important;
  }
  .receipt-sheet .receipt-line > span {
    flex: 1 1 auto;
  }
  .receipt-sheet.receipt-58 .receipt-line,
  .receipt-sheet.receipt-58 .receipt-total {
    gap: 1mm !important;
    padding: 1mm 0 !important;
    font-size: 8pt !important;
  }
  .receipt-sheet.receipt-58 .receipt-line > strong,
  .receipt-sheet.receipt-58 .receipt-total > strong {
    font-size: 8pt !important;
  }
  .receipt-sheet.receipt-58 .receipt-total {
    font-size: 10pt !important;
  }
}

button,
[role="button"],
input[type="button"],
input[type="submit"] {
  border-radius: 0 !important;
}

.order-status-label[data-status="pending"],
.order-status-label[data-status="new"],
.order-status-label[data-status="paid"],
.order-status-label[data-status="cooking"] {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0 !important;
  background: #171717 !important;
  color: #fff !important;
}

html body button[class],
html body [role="button"][class],
html body input[type="button"],
html body input[type="submit"],
html body .nav-item,
html body .menu-category-tab,
html body .settings-launch {
  border-radius: 0 !important;
}

.order-card .order-type,
.order-card .order-payment-label,
.order-card .order-status-label {
  border-radius: 0 !important;
}

.order-card .order-id,
.order-card .order-price,
.order-card .order-type,
.order-card .order-time,
.order-card .order-payment-label,
.order-card .order-items li,
.order-card .order-detail {
  font-weight: 600;
}

.order-card .order-id,
.order-card .order-price,
.order-card .order-items li b,
.order-card .order-status-label {
  font-weight: 750;
}

html body .nav-item,
html body .menu-category-tab,
html body #menuTable button,
html body .order-status-actions button {
  font-weight: 650;
}

.order-card .order-status-actions .order-refusal-button {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 0 !important;
  font-weight: 700;
}
#resetOrderNumbers:disabled {
  cursor: wait;
  opacity: 0.78;
}

html body * {
  border-radius: 0 !important;
}

.order-status-label[data-status="done"] {
  background: #fff !important;
  color: #171717 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
}

html body .order-status-actions .order-refusal-button {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.archive-order .restore-order {
  display: inline-grid;
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: #171717;
  font-size: 23px;
  font-weight: 700;
  transition: background-color 140ms ease;
}

.archive-order .restore-order:hover {
  background: rgba(23, 23, 23, 0.08);
}

.archive-order .delete-archived-order {
  display: inline-grid;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex: 0 0 28px;
  place-items: center;
  padding: 0;
  border: 1px solid #b3112b;
  background: #b3112b;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.receipt-preview-paper {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  transition: width 180ms ease-out;
}

.receipt-preview-paper.receipt-paper-preview-58 {
  width: 72.5%;
  padding-inline: 10px;
  font-size: 12px;
}

.receipt-preview-paper.receipt-paper-preview-80 {
  width: 100%;
}

.receipt-preview-paper.receipt-paper-preview-58 .receipt-wordmark strong {
  font-size: 17px;
  letter-spacing: 0;
}

.receipt-preview-paper.receipt-paper-preview-58 .receipt-wordmark span {
  font-size: 6.5px;
}

.receipt-preview-paper.receipt-paper-preview-58 .receipt-preview-number {
  font-size: 18px;
}

#page-orders #ordersList.hidden,
#page-orders #ordersEmpty.hidden {
  display: none !important;
}

.cash-summary-lock {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.purchase-archive > summary strong,
.purchase-archive-row strong {
  font-size: 16px;
  line-height: 1.3;
}

.purchase-archive > summary small,
.purchase-archive-row small,
.purchase-archive-empty {
  font-size: 13px;
  line-height: 1.45;
}

#orderModal .order-menu-card .order-menu-price.price-missing {
  justify-self: start;
  max-width: 100%;
  color: #6b625b;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

#orderModal .cart-row > button.cart-remove {
  position: relative;
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid #800020;
  background: #fff2f4;
  color: #800020;
  font-size: 0;
}

#orderModal .cart-row > button.cart-remove::before,
#orderModal .cart-row > button.cart-remove::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

#orderModal .cart-row > button.cart-remove::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#orderModal .order-type-picker [data-order-type-option].selected {
  border-color: #b3112b !important;
  background: #b3112b !important;
  color: #fff !important;
  box-shadow: none !important;
}

#orderModal .modal-header .icon-button {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
}

#orderModal .modal-header .icon-button::before,
#orderModal .modal-header .icon-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

#orderModal .modal-header .icon-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Uverian web login and service footer */
.web-login-backdrop { position: fixed; inset: 0; z-index: 10000; display:grid; place-items:center; padding:24px; background:rgba(24,25,29,.48); backdrop-filter:blur(8px); }
.web-login-backdrop.hidden { display:none; }
.web-login-card { width:min(100%,440px); padding:36px; border-radius:var(--radius,18px); background:#fff; box-shadow:0 24px 80px rgba(20,20,25,.22); }
.web-login-card h1 { margin:.25em 0; font-size:28px; }
.web-login-card p { color:#737781; }
.web-login-card label { display:grid; gap:8px; margin:16px 0; color:#34363b; font-weight:600; }
.web-login-card input { width:100%; min-height:44px; border:1px solid #dedfe4; border-radius:10px; padding:10px 12px; font:inherit; }
.web-login-card input:focus-visible { outline:3px solid rgba(228,119,54,.25); border-color:#e47736; }
.web-login-card button.primary-button { width:100%; min-height:48px; margin-top:12px; }
.web-login-eyebrow { font-size:11px; letter-spacing:.14em; font-weight:700; }
.demo-mode-banner { margin:0 0 18px; padding:10px 14px; border:1px solid #f3d7c3; border-radius:10px; background:#fff3e9; color:#743b19; font-size:13px; }
#webLoginFeedback { min-height:1.5em; color:#b42318; }
.site-footer { padding:18px 24px; color:#92949b; text-align:center; font-size:11px; }
body:not(.authenticated) .app-shell { visibility:hidden; height:0; overflow:hidden; }
.demo-mode-banner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.demo-mode-banner-close { flex:0 0 auto; width:30px; height:30px; border:0; border-radius:999px; background:#f8e5d8; color:#743b19; font-size:20px; line-height:1; transition:transform 220ms cubic-bezier(.22,1,.36,1), background-color 180ms ease; }
.demo-mode-banner-close:hover { transform:scale(1.06); background:#f2d4bf; }
.demo-mode-banner-close:active { transform:scale(.94); }

/* Quiet, spring-like transitions inspired by modern iOS motion. */
button:not(:disabled), .menu-card, .order-card, .settings-launch, .employee-action-card {
  transition: transform 240ms cubic-bezier(.22,1,.36,1), box-shadow 240ms cubic-bezier(.22,1,.36,1), background-color 180ms ease;
}
button:not(:disabled):active { transform:scale(.985); }
.menu-card:hover, .order-card:hover, .settings-launch:hover, .employee-action-card:hover { transform:translateY(-2px); }
.main-area .page.active { animation: uverian-page-enter 300ms cubic-bezier(.22,1,.36,1) both; }
@keyframes uverian-page-enter { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
