@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #08110a;
  --bg-soft: #101814;
  --panel: rgba(10, 16, 12, 0.82);
  --panel-strong: rgba(18, 27, 21, 0.94);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f7f8f5;
  --muted: rgba(247, 248, 245, 0.72);
  --green: #68d88d;
  --green-deep: #2eb763;
  --green-soft: rgba(104, 216, 141, 0.18);
  --danger: #ff7f64;
  --warning: #ffd769;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-max: 1440px;
  --dash-bg: #f4f7f1;
  --dash-surface: #ffffff;
  --dash-surface-soft: #f8faf5;
  --dash-ink: #122018;
  --dash-muted: #667269;
  --dash-line: #dfe7dc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Plus Jakarta Sans", Avenir Next, Montserrat, sans-serif;
  color: var(--text);
  background: #050805;
}

body {
  position: relative;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

#app {
  position: relative;
  z-index: 1;
}

.hidden {
  display: none !important;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}

.logo-word {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.brand-large .logo-word {
  font-size: 42px;
}

.logo-word span {
  color: var(--green);
}

.logo-line {
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.logo-line i,
.logo-line b {
  display: block;
  height: 3px;
  border-radius: 0;
}

.brand-large .logo-line i,
.brand-large .logo-line b {
  height: 5px;
}

.logo-line i {
  width: 86px;
  background: var(--green);
}

.brand-large .logo-line i {
  width: 128px;
}

.logo-line b {
  width: 27px;
  background: white;
}

.brand-large .logo-line b {
  width: 38px;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 22px;
  position: relative;
  overflow: hidden;
}

.login-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.login-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top left, rgba(104, 216, 141, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(241, 98, 58, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(3, 4, 3, 0.74), rgba(3, 4, 3, 0.96));
}

.login-card {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.shell-sidebar,
.shell-main,
.panel,
.product-card,
.order-card,
.empty-card {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.login-copy,
.login-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 16ch;
  hyphens: none;
  text-wrap: balance;
}

.hero-lead {
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.9);
  text-wrap: pretty;
}

.muted,
.panel-note {
  color: var(--muted);
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  max-width: 430px;
}

.login-panel h1 {
  margin: 16px 0 10px;
  font-size: 28px;
  font-weight: 650;
}

.login-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 28px;
}

.login-footer .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 10;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
}

.login-footer .footer-mobile-spacer {
  width: 100%;
}

.login-footer .footer-bootstrap-mobile {
  display: none;
}

.login-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  width: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 600;
}

.login-footer .footer-links a,
.login-footer .footer-links button,
.login-footer .footer-bootstrap-links a,
.login-footer .footer-bootstrap-links button {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-footer .footer-links a:hover,
.login-footer .footer-links a:focus-visible,
.login-footer .footer-links button:hover,
.login-footer .footer-links button:focus-visible,
.login-footer .footer-bootstrap-links a:hover,
.login-footer .footer-bootstrap-links a:focus-visible,
.login-footer .footer-bootstrap-links button:hover,
.login-footer .footer-bootstrap-links button:focus-visible {
  color: #fff;
}

.login-footer .info-modal {
  width: min(100% - 32px, 560px);
  max-height: min(78vh, 680px);
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.login-footer .info-modal::backdrop {
  background: rgba(3, 5, 4, 0.74);
  backdrop-filter: blur(8px);
}

.login-footer .modal-panel {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 23, 19, 0.96), rgba(9, 13, 10, 0.98));
}

.login-footer .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.login-footer .modal-body {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.login-form,
.settings-grid,
.form-grid,
.account-grid,
.toolbar {
  display: grid;
  gap: 16px;
}

.account-layout {
  display: grid;
  gap: 18px;
}

.account-hero-card {
  display: grid;
  gap: 18px;
  color: var(--dash-ink);
}

.account-layout .panel,
.account-layout .section-header h2,
.account-layout .section-header small,
.account-layout .account-item strong,
.account-layout .account-item div,
.account-layout .account-item small {
  color: var(--dash-ink);
}

.account-layout .section-header small,
.account-layout .account-item strong,
.account-layout .account-item small {
  color: var(--dash-muted);
}

.account-hero-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.account-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(104, 216, 141, 0.24), rgba(208, 247, 172, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--green);
  font-size: 24px;
  font-weight: 800;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-hero-card h2 {
  margin: 6px 0 8px;
}

.account-hero-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--dash-muted);
}

.account-grid-rich {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.account-item strong {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-item div {
  font-size: 16px;
  font-weight: 600;
  color: var(--dash-ink);
}

.account-item small {
  color: var(--dash-muted);
  line-height: 1.45;
}

.account-action-row {
  margin-top: 20px;
}

.login-form {
  gap: 18px;
  margin-top: 24px;
}

.field,
.checkbox-field {
  display: grid;
  gap: 10px;
}

.field span,
.section-header small,
.metric-card small,
.order-meta,
.empty-card small {
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.toolbar input,
.toolbar select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.profile-locked-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--dash-muted);
  background: var(--dash-surface-soft);
  border: 1px solid var(--dash-line);
}

.profile-locked-note i {
  margin-top: 1px;
  color: var(--green-deep);
}

.profile-locked-note a {
  color: inherit;
  font-weight: 700;
}

.field-locked input[readonly],
.field-locked select:disabled {
  color: var(--dash-ink);
  background: var(--dash-surface-soft);
  border-color: var(--dash-line);
  cursor: not-allowed;
}

.multi-select {
  position: relative;
}

.multi-select-trigger {
  list-style: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.multi-select-trigger::-webkit-details-marker {
  display: none;
}

.multi-select[open] .multi-select-trigger {
  border-color: rgba(104, 216, 141, 0.56);
  box-shadow: 0 0 0 3px rgba(104, 216, 141, 0.12);
}

.multi-select-menu {
  margin-top: 8px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(22, 28, 26, 0.98);
  max-height: 220px;
  overflow: auto;
}

.multi-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
}

.multi-select-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: rgba(104, 216, 141, 0.56);
  box-shadow: 0 0 0 3px rgba(104, 216, 141, 0.12);
}

.login-panel .field input {
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.16);
}

.login-panel .field input:focus {
  border-color: rgba(191, 236, 207, 0.92);
  background: rgba(191, 236, 207, 0.18);
}

.checkbox-field {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  inline-size: 18px;
  block-size: 18px;
  accent-color: var(--green);
}

.button-row,
.section-actions,
.top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.ghost-button,
.outline-button,
.tab-button,
.status-chip,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, opacity 140ms ease;
}

.button:hover,
.ghost-button:hover,
.outline-button:hover,
.tab-button:hover,
.nav-button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.ghost-button:disabled,
.outline-button:disabled,
.tab-button:disabled,
.nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.button {
  color: #08110a;
  background: linear-gradient(135deg, var(--green), #d0f7ac);
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.outline-button,
.tab-button,
.nav-button {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tab-button.is-active,
.nav-button.is-active {
  color: #08110a;
  background: var(--green);
  border-color: transparent;
}

.flash-message-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: auto;
  background: rgba(7, 11, 8, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: flash-overlay-in 180ms ease-out;
}

.flash-message {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  color: #102116;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 252, 248, 0.92)),
    rgba(255, 255, 255, 0.9);
  animation: flash-message-in 240ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.confirm-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 8, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: flash-overlay-in 180ms ease-out;
}

.confirm-dialog {
  width: min(100%, 520px);
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
  color: var(--dash-ink);
  border: 1px solid rgba(18, 32, 24, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  animation: flash-message-in 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.confirm-dialog-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 32px;
}

.confirm-dialog-icon-danger {
  color: #b73e23;
  background: linear-gradient(135deg, rgba(255, 127, 100, 0.24), rgba(255, 216, 207, 0.9));
}

.confirm-dialog-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.05;
}

.confirm-dialog-copy p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 16px;
  line-height: 1.6;
}

.confirm-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.confirm-dialog-actions .ghost-button {
  color: var(--dash-ink);
  background: #eef3ec;
  border: 1px solid rgba(18, 32, 24, 0.12);
}

.confirm-dialog-button-danger {
  background: linear-gradient(135deg, #e65b3a 0%, #cf4527 100%);
  border-color: transparent;
  color: #fff;
}

.flash-message-success {
  border-color: rgba(58, 181, 103, 0.24);
}

.flash-message-error {
  border-color: rgba(255, 127, 100, 0.28);
}

.flash-message-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 30px;
  flex-shrink: 0;
}

.flash-message-success .flash-message-icon {
  color: #0e7a35;
  background: linear-gradient(135deg, rgba(104, 216, 141, 0.28), rgba(46, 183, 99, 0.18));
}

.flash-message-error .flash-message-icon {
  color: #b73e23;
  background: linear-gradient(135deg, rgba(255, 127, 100, 0.26), rgba(255, 190, 168, 0.22));
}

.flash-message-copy {
  min-width: 0;
}

.flash-message-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flash-message-copy p {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
  font-weight: 700;
}

@keyframes flash-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes flash-message-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dashboard-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  color: var(--dash-ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(104, 216, 141, 0.18), transparent 28%),
    linear-gradient(135deg, #eef5ea 0%, var(--dash-bg) 46%, #f9faf5 100%);
}

.dashboard-shell .muted,
.dashboard-shell .panel-note,
.dashboard-shell .field span,
.dashboard-shell .section-header small,
.dashboard-shell .metric-card small,
.dashboard-shell .order-meta {
  color: var(--dash-muted);
}

.shell-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #f7fbf4;
  background:
    radial-gradient(circle at 18% 0%, rgba(104, 216, 141, 0.25), transparent 34%),
    linear-gradient(180deg, #0d1b12 0%, #07100a 100%);
  border: 0;
  border-radius: 0;
  box-shadow: 18px 0 55px rgba(5, 12, 8, 0.22);
}

.shell-sidebar::-webkit-scrollbar {
  width: 6px;
}

.shell-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.shell-sidebar .muted,
.shell-sidebar .panel-note {
  color: rgba(247, 251, 244, 0.62);
}

.sidebar-brand,
.sidebar-profile,
.sidebar-block,
.sidebar-footer {
  display: grid;
  gap: 8px;
}

.sidebar-brand {
  gap: 10px;
  padding: 2px 4px 0;
  margin-bottom: 28px;
  justify-items: center;
  text-align: center;
}

.sidebar-brand .brand {
  align-items: center;
}

.sidebar-badge {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #bff6d0;
  background: rgba(104, 216, 141, 0.12);
  border: 1px solid rgba(104, 216, 141, 0.18);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-profile {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  padding: 10px;
  margin-top: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.avatar-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #0b190f;
  background: linear-gradient(135deg, #68d88d, #d6ffb1);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.restaurant-focus-card {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.restaurant-focus-card strong,
.restaurant-focus-card span {
  display: block;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff8b71;
  box-shadow: 0 0 0 5px rgba(255, 139, 113, 0.12);
}

.status-dot.is-on {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(104, 216, 141, 0.16);
}

.sidebar-nav {
  display: grid;
  gap: 6px;
}

.nav-button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 11px;
  text-align: left;
  color: rgba(247, 251, 244, 0.82);
  background: transparent;
  border: 1px solid transparent;
}

.nav-button i {
  font-size: 16px;
}

.nav-button.is-active {
  color: #0b190f;
  background: linear-gradient(135deg, #68d88d, #d6ffb1);
  box-shadow: 0 14px 28px rgba(104, 216, 141, 0.22);
}

.sidebar-insight {
  margin-top: 0;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(104, 216, 141, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-insight p {
  margin: 6px 0 0;
  color: rgba(247, 251, 244, 0.66);
  font-size: 12px;
  line-height: 1.4;
}

.insight-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 11px;
  color: #0b190f;
  background: var(--green);
}

@media (max-height: 760px) and (min-width: 1121px) {
  .sidebar-insight {
    display: none;
  }

  .shell-sidebar {
    gap: 12px;
  }
}

.shell-main {
  min-height: 100vh;
  padding: 30px clamp(24px, 4vw, 46px) 46px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.page-title {
  margin: 0;
  color: var(--dash-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.page-subtitle {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--dash-muted);
  font-size: 14px;
  font-weight: 400;
}

.panel,
.product-card,
.order-card,
.empty-card,
.metric-card {
  color: var(--dash-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 32, 24, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(43, 61, 48, 0.09);
  backdrop-filter: blur(18px);
}

.panel,
.product-card,
.order-card,
.empty-card {
  padding: 24px;
}

.hero-console,
.metrics-grid,
.overview-grid,
.products-grid,
.orders-grid,
.upload-grid,
.restaurant-picker-grid {
  display: grid;
  gap: 16px;
}

.hero-console {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 16px;
  color: #f8fff7;
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(104, 216, 141, 0.38), transparent 25%),
    linear-gradient(135deg, #102318 0%, #0a150e 100%);
  box-shadow: 0 24px 70px rgba(9, 20, 13, 0.22);
}

.hero-console h2 {
  max-width: 820px;
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.hero-console p {
  max-width: 680px;
  margin: 0;
  color: rgba(248, 255, 247, 0.72);
  font-size: 14px;
}

.hero-console-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.overview-grid {
  grid-template-columns: 1fr;
  margin-top: 80px;
}

.restaurant-picker-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.metric-card-chart {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 242, 0.94)),
    var(--dash-surface);
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto -18px -42px auto;
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: rgba(104, 216, 141, 0.12);
}

.metric-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #0b190f;
  background: #e4f8df;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.metric-card em {
  display: block;
  margin-top: 10px;
  color: var(--dash-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.metric-chart-shell {
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.metric-detail {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-header h2,
.product-card h3,
.order-card h3,
.empty-card h3 {
  margin: 0;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.pill-row,
.preview-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #15311e;
  background: #e5f7de;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.pill.is-muted {
  color: var(--dash-muted);
  background: var(--dash-surface-soft);
}

.performance-chart-card {
  display: grid;
  gap: 20px;
}

.chart-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-accent-products::after {
  background: rgba(104, 216, 141, 0.14);
}

.metric-accent-active::after {
  background: rgba(63, 126, 245, 0.12);
}

.metric-accent-orders::after {
  background: rgba(58, 130, 246, 0.12);
}

.metric-accent-revenue::after {
  background: rgba(255, 215, 105, 0.18);
}

.segment-chart {
  display: grid;
  gap: 10px;
}

.segment-chart-bar {
  display: flex;
  gap: 6px;
  height: 14px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(18, 32, 24, 0.08);
}

.segment-fill {
  min-width: 0;
  border-radius: 999px;
  background: #b8c3bc;
}

.segment-chart-legend {
  display: grid;
  gap: 6px;
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 600;
}

.segment-chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.segment-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.progress-chart {
  display: grid;
  gap: 12px;
}

.progress-chart-ring {
  --progress: 0%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 55%, transparent 56%),
    conic-gradient(#3f7ef5 0 var(--progress), rgba(63, 126, 245, 0.16) var(--progress) 100%);
}

.progress-chart-ring span {
  color: var(--dash-ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.progress-chart-bar {
  height: 10px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(63, 126, 245, 0.14);
}

.progress-chart-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3f7ef5, #74c2ff);
}

.mini-bar-chart {
  display: grid;
  gap: 10px;
}

.mini-bar-chart-bars {
  height: 94px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.mini-bar-column {
  height: 100%;
  display: flex;
  align-items: end;
  padding: 4px;
  border-radius: 16px 16px 10px 10px;
  background: rgba(18, 32, 24, 0.06);
}

.mini-bar-fill {
  width: 100%;
  display: block;
  border-radius: 12px 12px 8px 8px;
  background: #b8c3bc;
}

.mini-bar-chart-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-bar-chart-labels span {
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.tone-green {
  background: linear-gradient(90deg, #68d88d, #2eb763);
  color: #2eb763;
}

.tone-amber {
  background: linear-gradient(90deg, #ffd769, #f6b046);
  color: #f6b046;
}

.tone-blue {
  background: linear-gradient(180deg, #74c2ff, #3f7ef5);
  color: #3f7ef5;
}

.tone-slate {
  background: linear-gradient(90deg, #d3dcd5, #9ead9f);
  color: #8b9a8e;
}

.restaurant-preview-card {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 24px;
  background: var(--dash-surface-soft);
  border: 1px solid var(--dash-line);
}

.cover-frame {
  aspect-ratio: 16 / 7;
  background: #dce8d8;
}

.cover-frame img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-media,
.product-media.is-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--dash-muted);
  background:
    linear-gradient(135deg, rgba(104, 216, 141, 0.1), rgba(18, 32, 24, 0.04)),
    var(--dash-surface-soft);
}

.empty-media i,
.product-media.is-empty i {
  font-size: 28px;
}

.restaurant-preview-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.restaurant-preview-meta span {
  display: block;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 500;
}

.ops-list {
  display: grid;
  gap: 10px;
}

.ops-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--dash-line);
}

.ops-item:first-child {
  padding-top: 0;
}

.ops-item:last-child {
  border-bottom: 0;
}

.video-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  color: #0f2818;
  background: #e5f7de;
  font-weight: 650;
  text-decoration: none;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 0.48fr);
  column-gap: 88px;
  row-gap: 24px;
  align-items: center;
  padding: 18px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 84% 12%, rgba(104, 216, 141, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.94);
}

.profile-logo-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 28px;
  padding: 6px 0;
}

.profile-logo-preview {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 32px;
  color: #0b190f;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 35, 24, 0.12);
  box-shadow: 0 12px 24px rgba(9, 20, 13, 0.08);
  font-size: 28px;
  font-weight: 760;
}

.profile-logo-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0b190f;
  background: linear-gradient(135deg, #eef8e8, #ffffff);
}

.profile-logo-preview img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 0;
}

.profile-logo-preview img.is-hidden {
  display: none;
}

.profile-avatar-upload {
  position: absolute;
  right: -6px;
  bottom: -2px;
  z-index: 3;
}

.profile-avatar-action {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: #102318;
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(9, 20, 13, 0.16);
}

.profile-avatar-action i {
  font-size: 18px;
  line-height: 1;
}

.profile-avatar-action input {
  display: none;
}

.profile-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 0;
}

.profile-hero-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 680;
}

.profile-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--dash-muted);
  line-height: 1.55;
}

.profile-quick-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 999px;
  color: #183421;
  background: #eef8e8;
  border: 1px solid rgba(46, 183, 99, 0.12);
  font-size: 12px;
  font-weight: 650;
}

.profile-health-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: #0d1b12;
  color: #f8fff7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.profile-health-card small,
.profile-health-card li {
  color: rgba(248, 255, 247, 0.68);
}

.profile-health-card strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.profile-health-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.profile-health-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #68d88d, #d6ffb1);
}

.profile-health-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.profile-health-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.profile-health-card li.is-done {
  color: #dfffe9;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.profile-side-stack,
.profile-form-stack,
.profile-card-fields,
.profile-summary-list {
  display: grid;
  gap: 16px;
}

.profile-layout > *,
.profile-side-stack,
.profile-form-stack,
.profile-form-card,
.profile-card-fields {
  min-width: 0;
}

.profile-form-stack,
.profile-form-card,
.profile-card-fields,
.profile-card-fields > *,
.profile-summary-card {
  width: 100%;
  max-width: 100%;
}

.profile-form-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 24px;
}

.profile-summary-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-summary-list span {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 18px;
  background: var(--dash-surface-soft);
  border: 1px solid var(--dash-line);
}

.profile-summary-list strong {
  letter-spacing: -0.03em;
}

.profile-summary-list small {
  color: var(--dash-muted);
}

.profile-category-pills {
  margin-top: 2px;
}

.profile-toggle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-save-bar {
  position: sticky;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  color: #f8fff7;
  background: rgba(13, 27, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(9, 20, 13, 0.24);
  backdrop-filter: blur(18px);
}

.profile-save-bar strong,
.profile-save-bar span {
  display: block;
}

.profile-save-bar span {
  margin-top: 3px;
  color: rgba(248, 255, 247, 0.66);
  font-size: 12px;
}

.profile-publish-panel {
  display: grid;
  width: 100%;
}

.publish-restaurant-button,
.restaurant-live-state {
  width: 100%;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 24px;
  padding: 18px 24px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
  letter-spacing: 0;
  text-align: center;
  box-shadow: 0 18px 48px rgba(43, 61, 48, 0.14);
}

.publish-restaurant-button {
  color: #07120b;
  background: linear-gradient(135deg, #68d88d, #d6ffb1);
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.publish-restaurant-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 56px rgba(43, 61, 48, 0.18);
}

.publish-restaurant-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.restaurant-live-state {
  color: #f8fff7;
  background: #0d1b12;
  border: 1px solid rgba(104, 216, 141, 0.34);
  box-shadow: 0 18px 48px rgba(9, 20, 13, 0.22);
}

.publish-restaurant-button i,
.restaurant-live-state i {
  flex: 0 0 auto;
  font-size: 28px;
}

.restaurant-live-state i,
.restaurant-live-word {
  color: #68d88d;
}

.restaurant-live-word {
  font: inherit;
}

.hours-grid {
  display: grid;
  gap: 14px;
}

.hour-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.45fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 246, 0.98));
  border: 1px solid rgba(16, 35, 24, 0.08);
  box-shadow: 0 10px 28px rgba(9, 20, 13, 0.04);
}

.hour-day {
  display: grid;
  gap: 4px;
}

.hour-day strong {
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--dash-ink);
}

.hour-day small {
  color: var(--dash-muted);
  font-size: 12px;
}

.hour-time-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.hour-time-field {
  display: grid;
  gap: 7px;
}

.hour-time-field span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dash-muted);
}

.hour-time-separator {
  align-self: center;
  color: #8ba08f;
  font-size: 18px;
  font-weight: 700;
}

.hour-closed-toggle {
  min-width: 118px;
  justify-self: end;
}

.media-preview {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--dash-line);
}

.products-grid,
.upload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.orders-grid {
  grid-template-columns: 1fr;
}

.orders-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.order-filter-button {
  display: grid;
  gap: 8px;
  align-items: start;
  justify-items: start;
  min-height: 84px;
  padding: 14px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  color: var(--dash-ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.order-filter-button span {
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 650;
}

.order-filter-button strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.order-filter-button:hover {
  transform: translateY(-1px);
  border-color: rgba(104, 216, 141, 0.42);
}

.order-filter-button.is-active {
  background: linear-gradient(135deg, rgba(104, 216, 141, 0.18), rgba(214, 255, 177, 0.26));
  border-color: rgba(104, 216, 141, 0.58);
  box-shadow: 0 14px 28px rgba(56, 98, 66, 0.12);
}

.product-card,
.order-card {
  display: grid;
  gap: 14px;
}

.order-card-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.order-card-primary,
.order-card-sidebar,
.order-items-list {
  display: grid;
  gap: 14px;
}

.order-card-sidebar {
  align-content: start;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding-left: 18px;
  border-left: 1px solid rgba(16, 35, 24, 0.1);
}

.order-toolbar {
  gap: 12px;
}

.order-toolbar-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--dash-line);
}

.order-toolbar-field {
  display: grid;
  gap: 8px;
}

.order-toolbar-field span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-toolbar-field span i {
  color: #6ca47a;
  font-size: 14px;
}

.order-toolbar-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.order-list-header,
.order-list-header-meta,
.order-inline-facts,
.order-item-row {
  display: grid;
  gap: 12px;
}

.order-list-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.order-list-title {
  display: grid;
  gap: 4px;
}

.order-list-header-meta {
  justify-items: end;
  align-content: start;
}

.order-list-total {
  color: var(--dash-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.order-inline-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-inline-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 14px;
  color: var(--dash-muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--dash-line);
  font-size: 13px;
}

.order-inline-facts i {
  color: #6ca47a;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(13, 27, 18, 0.88), rgba(33, 58, 42, 0.72)),
    var(--dash-surface-soft);
}

.video-list-header {
  margin: 18px 0 12px;
  color: var(--dash-ink);
}

.product-media video,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-media video {
  background:
    linear-gradient(135deg, rgba(13, 27, 18, 0.88), rgba(33, 58, 42, 0.72)),
    var(--dash-surface-soft);
}

.play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #0b190f;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(9, 20, 13, 0.14);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.play-badge.is-muted {
  color: var(--dash-muted);
}

.price-line,
.order-total {
  color: var(--dash-ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.order-contact-stack,
.order-highlights,
.order-totals {
  display: grid;
  gap: 12px;
}

.order-sla-bar,
.order-actions,
.order-timeline-list {
  display: grid;
  gap: 12px;
}

.order-sla-bar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.order-sla-bar strong {
  color: var(--dash-ink);
}

.order-sla-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.order-sla-chip.success {
  color: #17652f;
  background: #dff8e4;
}

.order-sla-chip.warning {
  color: #8c2e1b;
  background: #ffe3dc;
}

.order-contact-line,
.order-detail-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-contact-line {
  color: var(--dash-muted);
  font-size: 15px;
  line-height: 1.5;
}

.order-items-list {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--dash-line);
}

.order-item-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 35, 24, 0.08);
}

.order-item-main,
.order-item-meta {
  display: grid;
  gap: 4px;
}

.order-item-meta {
  justify-items: end;
  text-align: right;
  min-width: 110px;
}

.order-item-row:first-child {
  padding-top: 0;
}

.order-item-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.order-contact-line i,
.order-detail-title i {
  color: #6ca47a;
}

.order-highlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-highlight,
.order-detail-panel,
.order-totals > div {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--dash-surface-soft);
  border: 1px solid var(--dash-line);
}

.order-highlight {
  display: grid;
  gap: 6px;
}

.order-highlight span,
.order-totals span,
.order-item-detail,
.order-detail-body span {
  color: var(--dash-muted);
}

.order-highlight span,
.order-totals span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-highlight strong,
.order-totals strong,
.order-detail-body strong,
.order-item-name {
  color: var(--dash-ink);
  letter-spacing: -0.02em;
}

.order-highlight-total {
  background: linear-gradient(135deg, rgba(104, 216, 141, 0.18), rgba(214, 255, 177, 0.2));
}

.order-detail-panel {
  display: grid;
  gap: 10px;
}

.order-actions {
  grid-template-columns: 1fr;
}

.order-actions .ghost-button {
  justify-content: flex-start;
}

.order-detail-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dash-ink);
}

.order-detail-body {
  display: grid;
  gap: 6px;
}

.order-detail-body strong {
  font-size: 15px;
}

.order-note-detail {
  padding-top: 6px;
  border-top: 1px dashed rgba(16, 35, 24, 0.12);
}

.order-item-name {
  font-weight: 650;
  font-size: 15px;
}

.order-item-detail {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.order-item-qty {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-totals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-totals-compact {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--dash-line);
  gap: 10px;
}

.order-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.order-totals > div span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-totals > div span i {
  color: #6ca47a;
  font-size: 14px;
}

.order-timeline {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--dash-line);
}

.order-timeline-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--dash-line);
}

.order-timeline-item strong {
  color: var(--dash-ink);
  font-size: 14px;
}

.order-timeline-item span {
  color: var(--dash-muted);
  font-size: 12px;
}

.order-card.is-pending-priority {
  border-color: rgba(255, 204, 79, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 204, 79, 0.18), var(--shadow);
}

.order-card.is-unseen {
  animation: orderPulse 1.8s ease-in-out infinite;
}

.empty-orders-card {
  justify-items: center;
  text-align: center;
  padding: 34px 26px;
  gap: 22px;
}

.empty-orders-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  color: #17652f;
  background: linear-gradient(135deg, rgba(104, 216, 141, 0.24), rgba(214, 255, 177, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 30px;
}

.empty-orders-card h3 {
  margin: 0;
  padding-top: 16px;
}

.empty-orders-card small {
  max-width: 34ch;
  line-height: 1.6;
}

@keyframes orderPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(104, 216, 141, 0), var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(104, 216, 141, 0.12), var(--shadow);
  }
}

.price-line .promo-price {
  margin-left: 8px;
  color: #d9342b;
  font-size: 13px;
  font-weight: 760;
}

.price-line .original-price {
  color: var(--dash-ink);
  text-decoration-line: line-through;
  text-decoration-color: #d9342b;
  text-decoration-thickness: 2px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 8px 12px;
  color: var(--dash-muted);
  background: #eef2eb;
  border: 1px solid rgba(18, 32, 24, 0.06);
}

.status-chip.pending {
  color: #7a5200;
  background: #fff3cf;
}

.status-chip.accepted {
  color: #0f5c63;
  background: #dff8ff;
}

.status-chip.preparing {
  color: #7b3f98;
  background: #f3e3ff;
}

.status-chip.ready_for_pickup {
  color: #17652f;
  background: #dff8e4;
}

.status-chip.picked_up {
  color: #6a4a00;
  background: #ffe8bf;
}

.status-chip.on_the_way {
  color: #0d4b8f;
  background: #dcecff;
}

.status-chip.delivered {
  color: #17652f;
  background: #cff4d7;
}

.status-chip.cancelled {
  color: #6b7280;
  background: #eceff3;
}

.status-chip.rejected {
  color: #8c2e1b;
  background: #ffe3dc;
}

@media (max-width: 640px) {
  .flash-message-overlay {
    padding: 18px;
  }

  .flash-message {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }

  .flash-message-icon {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .flash-message-copy p {
    font-size: 18px;
  }

  .confirm-dialog {
    padding: 22px;
    border-radius: 24px;
  }

  .confirm-dialog-actions {
    flex-direction: column-reverse;
  }

  .confirm-dialog-actions .ghost-button,
  .confirm-dialog-actions .button {
    width: 100%;
  }

  .order-highlights,
  .order-totals {
    grid-template-columns: 1fr;
  }

  .order-actions,
  .order-inline-facts,
  .order-card-shell {
    grid-template-columns: 1fr;
  }

  .order-card-sidebar {
    grid-template-rows: auto;
    padding-left: 0;
    border-left: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(16, 35, 24, 0.1);
  }

  .order-list-header {
    grid-template-columns: 1fr;
  }

  .order-list-header-meta {
    justify-items: start;
  }

  .order-toolbar-submit {
    width: 100%;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: 24px;
  background: var(--dash-surface-soft);
  border: 1px solid var(--dash-line);
}

.form-section.is-compact {
  align-items: center;
}

.form-section-title {
  display: grid;
  align-content: start;
  gap: 6px;
}

.form-section-title strong {
  letter-spacing: -0.03em;
  font-weight: 650;
}

.form-section-title span {
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-section-fields {
  display: grid;
  gap: 16px;
}

.ingredient-builder {
  align-content: start;
}

.ingredient-builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ingredient-builder-header small {
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ingredient-add-button,
.ingredient-remove-button {
  flex-shrink: 0;
}

.ingredient-rows {
  display: grid;
  gap: 10px;
}

.allergen-rows {
  display: grid;
  gap: 10px;
}

.ingredient-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 24, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 246, 0.98));
  box-shadow: 0 10px 24px rgba(9, 20, 13, 0.04);
}

.allergen-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.ingredient-name-field {
  position: relative;
}

.ingredient-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.ingredient-detail-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ingredient-detail-field span {
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.ingredient-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--dash-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(9, 20, 13, 0.12);
}

.ingredient-suggestions.is-visible {
  display: grid;
}

.ingredient-suggestion {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(46, 183, 99, 0.08);
  color: var(--dash-ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.ingredient-suggestion:hover {
  background: rgba(46, 183, 99, 0.14);
}

.ingredient-remove-button {
  min-width: 44px;
  min-height: 44px;
  padding-inline: 0;
}

.check-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ops-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ops-metric-card {
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 246, 0.98));
  border: 1px solid rgba(16, 35, 24, 0.08);
  box-shadow: 0 10px 24px rgba(9, 20, 13, 0.04);
}

.ops-metric-card > span {
  font-weight: 650;
  color: var(--dash-ink);
}

.ops-metric-card small {
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ops-toggle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ops-toggle-card {
  min-height: 118px;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 246, 0.98));
  border: 1px solid rgba(16, 35, 24, 0.08);
  box-shadow: 0 10px 24px rgba(9, 20, 13, 0.04);
}

.ops-toggle-card > span {
  display: grid;
  gap: 5px;
}

.ops-toggle-card strong {
  color: var(--dash-ink);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.ops-toggle-card small {
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-shell .field input,
.dashboard-shell .field select,
.dashboard-shell .field textarea,
.dashboard-shell .multi-select-trigger,
.dashboard-shell .toolbar input,
.dashboard-shell .toolbar select,
.dashboard-shell .hour-row input,
.dashboard-shell input[type="file"] {
  min-width: 0;
  color: var(--dash-ink);
  background: #fff;
  border-color: var(--dash-line);
}

.dashboard-shell .field input:focus,
.dashboard-shell .field select:focus,
.dashboard-shell .field textarea:focus,
.dashboard-shell .multi-select[open] .multi-select-trigger,
.dashboard-shell .toolbar input:focus,
.dashboard-shell .toolbar select:focus {
  border-color: rgba(46, 183, 99, 0.58);
  box-shadow: 0 0 0 4px rgba(46, 183, 99, 0.11);
}

.dashboard-shell .multi-select-menu {
  background: #fff;
  border-color: var(--dash-line);
}

.dashboard-shell .checkbox-field {
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--dash-line);
}

.dashboard-shell .ingredient-row input {
  min-width: 0;
  color: var(--dash-ink);
  background: #fff;
  border-color: var(--dash-line);
}

.dashboard-shell .ingredient-row select {
  min-width: 0;
  color: var(--dash-ink);
  background: #fff;
  border-color: var(--dash-line);
}

.dashboard-shell .ingredient-row input:focus {
  border-color: rgba(46, 183, 99, 0.58);
  box-shadow: 0 0 0 4px rgba(46, 183, 99, 0.11);
}

.dashboard-shell .ingredient-row select:focus {
  border-color: rgba(46, 183, 99, 0.58);
  box-shadow: 0 0 0 4px rgba(46, 183, 99, 0.11);
}

.dashboard-shell .ops-toggle-card {
  padding: 16px;
}

.dashboard-shell .ops-metric-card input:disabled,
.dashboard-shell .ops-toggle-card input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.shell-main .outline-button,
.shell-main .ghost-button,
.shell-main .tab-button {
  color: var(--dash-ink);
  background: #fff;
  border: 1px solid var(--dash-line);
}

.shell-main .ghost-button {
  color: #3e4b42;
  background: var(--dash-surface-soft);
}

.shell-main .ghost-button.is-audio-ready {
  color: #0f5132;
  background: rgba(67, 160, 71, 0.14);
  border-color: rgba(67, 160, 71, 0.28);
}

.shell-main .ghost-button.is-audio-pending {
  color: #111111;
  background: #fff3bf;
  border: 2px solid #111111;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.hero-console .outline-button {
  color: #f8fff7;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.shell-sidebar .outline-button,
.shell-sidebar .ghost-button {
  color: #f8fff7;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.table-scroller {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--dash-line);
  vertical-align: top;
}

.empty-card {
  text-align: center;
}

.dashboard-loading-shell {
  min-height: calc(100vh - 260px);
  display: grid;
  place-items: center;
}

.dashboard-loading-indicator {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 8px solid rgba(18, 32, 24, 0.08);
  border-top-color: var(--green-deep);
  border-right-color: #74c2ff;
  box-shadow: 0 16px 36px rgba(43, 61, 48, 0.12);
  animation: dashboard-spin 0.9s linear infinite;
}

@keyframes dashboard-spin {
  to {
    transform: rotate(360deg);
  }
}

.restaurant-picker-card {
  width: 100%;
  text-align: left;
  color: var(--dash-ink);
  cursor: pointer;
}

.restaurant-picker-card p {
  margin: 0;
  color: var(--dash-muted);
}

.restaurant-picker-card:hover {
  transform: translateY(-2px);
  background: #fff;
}

@media (max-width: 1120px) {
  .dashboard-shell,
  .login-card,
  .overview-grid,
  .metrics-grid,
  .profile-hero,
  .profile-layout,
  .profile-form-card,
  .products-grid,
  .orders-grid,
  .upload-grid,
  .restaurant-picker-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    width: 100%;
  }

  .login-card {
    width: min(100%, 760px);
    gap: 40px;
    align-items: start;
  }

  .login-copy {
    min-height: auto;
    padding-top: 0;
    gap: 28px;
  }

  .login-panel {
    max-width: 100%;
  }

  .shell-sidebar {
    position: static;
    height: auto;
    max-height: none;
    border-radius: 0 0 30px 30px;
  }

  .sidebar-insight {
    margin-top: 0;
  }

  .sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-console,
  .form-section,
  .check-card-grid,
  .profile-toggle-grid,
  .ops-metric-grid,
  .ops-toggle-grid,
  .chart-metric-grid,
  .account-grid-rich {
    grid-template-columns: 1fr;
  }

  .hero-console-actions {
    justify-content: flex-start;
  }

  .hour-row,
  .split,
  .ingredient-row {
    grid-template-columns: 1fr;
  }

  .ingredient-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-remove-button {
    justify-self: end;
  }

  .hour-time-group {
    grid-template-columns: 1fr;
  }

  .hour-time-separator {
    display: none;
  }

  .hour-closed-toggle {
    justify-self: stretch;
    min-width: 0;
  }

  .profile-side-stack {
    position: static;
  }

  .profile-save-bar {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell-main,
  .shell-sidebar {
    padding: 20px;
  }

  .sidebar-nav {
    grid-template-columns: 1fr 1fr;
  }

  .chart-frame {
    padding: 14px 14px 12px;
  }

  .ingredient-detail-grid {
    grid-template-columns: 1fr;
  }

  .ingredient-remove-button {
    justify-self: stretch;
  }

  .chart-x-axis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chart-x-axis span:nth-child(n + 5) {
    display: none;
  }

  .login-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 56px 18px 0;
  }

  .login-card {
    width: min(100%, 760px);
    margin: 0 auto;
    gap: 56px;
    padding-bottom: 96px;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 100%;
  }

  .brand-large .logo-word {
    font-size: 30px;
  }

  .brand-large .logo-line i {
    width: 88px;
  }

  .brand-large .logo-line b {
    width: 26px;
  }

  .login-footer .site-footer {
    position: static;
    display: block;
    margin-top: 0;
    padding: 0;
  }

  .login-footer {
    width: calc(100% + 36px);
    margin: auto -18px 0;
  }

  .login-footer .footer-desktop {
    display: none;
  }

  .login-footer .footer-bootstrap-mobile {
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
      rgba(7, 8, 7, 0.78);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
  }

  .login-footer .footer-bootstrap-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  }

  .login-footer .footer-bootstrap-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .login-footer .footer-bootstrap-links a,
  .login-footer .footer-bootstrap-links button {
    display: inline-flex;
    width: fit-content;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
  }

  .login-footer .footer-bootstrap-link-stack {
    display: grid;
    gap: 8px;
    justify-items: start;
  }

  .login-footer .footer-bootstrap-legal {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .topbar,
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-console {
    border-radius: 26px;
  }

  .panel,
  .product-card,
  .order-card,
  .empty-card {
    padding: 18px;
    border-radius: 22px;
  }

  .profile-hero {
    padding: 14px;
  }

  .profile-logo-preview {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }

  .profile-hero-copy h2 {
    font-size: clamp(28px, 11vw, 40px);
  }

  .profile-summary-list {
    grid-template-columns: 1fr;
  }

  .profile-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row,
  .section-actions,
  .top-actions,
  .hero-console-actions {
    width: 100%;
  }

  .button,
  .ghost-button,
  .outline-button,
  .tab-button {
    justify-content: center;
    width: 100%;
  }
}
