:root {
  color-scheme: light;
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
  --info: #0369a1;
  --focus-ring: rgba(17, 17, 17, 0.22);
}

html.dark-theme {
  color-scheme: dark;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #33260e;
  --bg: #171717;
  --surface: #242424;
  --text-dark: #fafafa;
  --text-muted: #b3b3b3;
  --border: #404040;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #38bdf8;
  --focus-ring: rgba(245, 158, 11, 0.3);
}

html.dark-theme body {
  background-color: var(--bg);
  color: var(--text-dark);
}

body.app-locked > .sidebar,
body.app-locked > .bottom-nav,
body.app-locked > .main-wrapper,
body.app-locked > .mobile-cart-toggle,
body.app-locked > .modal-overlay {
  display: none !important;
}

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

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.btn,
.toggle-btn,
.category-btn,
.sub-tab-btn,
.nav-item,
.bottom-nav button,
.add-btn,
.qty-btn {
  -webkit-tap-highlight-color: transparent;
}

.sidebar {
  padding-top: 18px;
}

.brand {
  min-height: 72px;
  margin-bottom: 20px;
  justify-content: center;
  padding: 4px;
}

.brand .brand-logo {
  width: 196px;
  height: 68px;
  border: 0;
  border-radius: 6px;
  object-fit: contain;
  background: #000;
}

.brand .brand-mark {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 6px;
}

.sidebar.collapsed .brand-logo {
  display: none;
}

.sidebar.collapsed .brand-mark {
  display: block;
}

.nav-item {
  min-height: 48px;
  border-radius: 8px;
}

.theme-toggle-container {
  display: block;
  padding: 12px 8px 0;
}

.theme-title {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.theme-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.theme-choice {
  display: grid;
  min-width: 0;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}

.theme-choice .icon {
  font-size: 19px;
}

.theme-choice.active {
  color: var(--text-dark);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.theme-cycle-btn {
  display: none;
}

.sidebar.collapsed .theme-title,
.sidebar.collapsed .theme-segment {
  display: none;
}

.sidebar.collapsed .theme-cycle-btn {
  display: flex;
  margin: 0 auto;
}

.custom-meal-view {
  padding: clamp(24px, 4vw, 52px);
  overflow: auto;
}

.custom-meal-workspace {
  width: min(970px, 100%);
  margin: 0 auto;
}

.custom-meal-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.custom-meal-heading > .icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  font-size: 25px;
}

.custom-meal-heading h2 {
  margin: 0 0 5px;
  color: var(--text-dark);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.custom-meal-heading p,
.custom-meal-feedback {
  margin: 0;
  color: var(--text-muted);
}

.custom-meal-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.custom-meal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.custom-meal-card label {
  display: grid;
  gap: 7px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 800;
}

.custom-meal-card .input-group {
  margin: 0;
}

.custom-meal-notes {
  margin-top: 16px;
}

.custom-meal-notes textarea {
  min-height: 120px;
  resize: vertical;
}

.custom-meal-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 15px 16px;
  border-radius: 8px;
  color: var(--text-dark);
  background: var(--primary-light);
  font-size: 15px;
  font-weight: 800;
}

.custom-meal-total strong {
  color: var(--primary);
  font-size: 18px;
}

.custom-meal-actions {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  gap: 12px;
  margin-top: 18px;
}

.custom-meal-actions .btn {
  min-height: 48px;
}

.custom-meal-feedback {
  min-height: 20px;
  margin-top: 14px;
  font-size: 13px;
}

/* Customized meal workspace */
.custom-meal-view { background: linear-gradient(135deg, var(--bg), var(--surface)); }
.custom-meal-workspace { width: min(1120px, 100%); }
.custom-meal-heading { align-items: center; margin-bottom: 26px; }
.custom-meal-heading > .icon { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 24%, transparent); }
.custom-meal-eyebrow { display: block; margin-bottom: 5px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.custom-meal-heading h2 { font-size: clamp(27px, 3vw, 36px); }
.custom-meal-card.custom-meal-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(22px, 4vw, 42px); padding: clamp(22px, 4vw, 36px); border-radius: 16px; }
.custom-meal-form-area { min-width: 0; }
.custom-meal-section-title { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.custom-meal-section-title > .icon { color: var(--primary); font-size: 24px; }
.custom-meal-section-title h3 { margin: 0; color: var(--text-dark); font-size: 17px; }
.custom-meal-section-title p { margin: 3px 0 0; color: var(--text-muted); font-size: 12px; }
.custom-meal-form-grid { grid-template-columns: minmax(0, 1.45fr) minmax(145px, .75fr); gap: 16px; }
.custom-meal-name-field { grid-column: 1 / 2; }
.custom-meal-card label { gap: 8px; font-size: 13px; }
.custom-meal-card .input-group { min-height: 48px; padding: 12px 14px; border-radius: 9px; background: var(--bg); }
.custom-meal-card textarea.input-group { min-height: 150px; line-height: 1.5; }
.custom-meal-notes { margin-top: 18px; }
.custom-meal-notes small { color: var(--text-muted); font-size: 11px; font-weight: 600; }
.custom-meal-summary { display: flex; flex-direction: column; min-height: 100%; padding: 22px; border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border)); border-radius: 13px; background: var(--primary-light); }
.custom-meal-summary-label { color: var(--text-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.custom-meal-summary-icon { margin: 25px 0 14px; color: var(--primary); font-size: 36px; }
.custom-meal-summary-caption { color: var(--text-muted); font-size: 13px; font-weight: 700; }
.custom-meal-summary strong { margin-top: 4px; color: var(--text-dark); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.custom-meal-summary-rule { height: 1px; margin: 22px 0 16px; background: color-mix(in srgb, var(--border) 72%, transparent); }
.custom-meal-summary p { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.custom-meal-summary p .icon { color: var(--primary); font-size: 17px; }
.custom-meal-summary .custom-meal-actions { grid-template-columns: 1fr; margin-top: auto; padding-top: 16px; }
.custom-meal-summary .custom-meal-actions .btn { min-height: 46px; }
.custom-meal-summary .custom-meal-feedback { min-height: 34px; margin: 13px 0 0; font-size: 12px; }

/* Kitchen display system */
.kds-view { padding: clamp(22px, 3vw, 34px); background: var(--bg); }
.kds-topbar { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; margin-bottom: 22px; }
.kds-live-label { display: flex; gap: 6px; align-items: center; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.kds-live-label .icon { font-size: 17px; }
.kds-topbar h2 { margin: 7px 0 5px; color: var(--text-dark); font-size: clamp(27px, 3vw, 35px); line-height: 1.1; }
.kds-topbar p { margin: 0; color: var(--text-muted); font-size: 13px; }
.kds-top-actions { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.kds-top-actions label { display: grid; gap: 5px; color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.kds-top-actions .input-group { width: 116px; min-height: 44px; margin: 0; }
.kds-top-actions .btn { width: auto; min-height: 44px; padding: 0 14px; }
.kds-kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kds-kpi { display: flex; min-height: 72px; justify-content: space-between; gap: 10px; align-items: center; padding: 14px 15px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-muted); background: var(--surface); cursor: pointer; text-align: left; }
.kds-kpi:hover,.kds-kpi.active { border-color: var(--primary); background: var(--primary-light); }
.kds-kpi span { font-size: 12px; font-weight: 800; }
.kds-kpi strong { color: var(--text-dark); font-size: 25px; }
.kds-kpi.urgent strong { color: var(--danger); }
.kds-filter-bar { display: grid; grid-template-columns: minmax(210px, 1.7fr) repeat(4, minmax(120px, .75fr)) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.kds-filter-bar .input-group { width: 100%; min-height: 44px; margin: 0; }
.kds-filter-bar .btn { width: auto; min-height: 44px; white-space: nowrap; }
.kds-search-wrap { position: relative; }
.kds-search-wrap .icon { position: absolute; z-index: 1; top: 50%; left: 13px; color: var(--text-muted); font-size: 20px; transform: translateY(-50%); }
.kds-search-wrap input { padding-left: 40px !important; }
.kds-board-meta { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin: 16px 2px; color: var(--text-muted); font-size: 12px; }
.kds-board-meta b { color: var(--text-dark); }
.kds-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.kds-ticket { overflow: hidden; border: 1px solid var(--border); border-top: 5px solid var(--success); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.kds-ticket.kds-watch { border-top-color: var(--warning); }
.kds-ticket.kds-urgent { border-top-color: var(--danger); }
.kds-ticket-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 16px 12px; }
.kds-ticket-head b { color: var(--text-dark); font-size: 17px; overflow-wrap: anywhere; }
.kds-ticket-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.kds-ticket-tags span { padding: 3px 7px; border-radius: 999px; color: var(--text-muted); background: var(--bg); font-size: 10px; font-weight: 800; }
.kds-ticket-time { flex: 0 0 auto; text-align: right; }
.kds-ticket-time strong { display: block; color: var(--success); font-size: 22px; line-height: 1; }
.kds-watch .kds-ticket-time strong { color: var(--warning); }.kds-urgent .kds-ticket-time strong { color: var(--danger); }
.kds-ticket-time small { color: var(--text-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.kds-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 16px 13px; }
.kds-progress span { padding-top: 6px; border-top: 3px solid var(--border); color: var(--text-muted); font-size: 9px; font-weight: 800; text-align: center; text-transform: uppercase; }.kds-progress span.done { border-color: var(--primary); color: var(--text-dark); }
.kds-ticket-body { padding: 0 16px 16px; }.kds-customer { display: flex; gap: 9px; align-items: center; margin: 2px 0 14px; }.kds-customer > .icon { color: var(--primary); }.kds-customer div { display: grid; gap: 2px; }.kds-customer b { color: var(--text-dark); font-size: 13px; }.kds-customer small,.kds-detail small { color: var(--text-muted); font-size: 11px; }
.kds-detail { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0; padding: 10px; border-radius: 8px; background: var(--bg); }.kds-detail > .icon { color: var(--primary); font-size: 18px; }.kds-detail div { display: grid; gap: 2px; min-width: 0; }.kds-detail b { color: var(--text-dark); font-size: 12px; overflow-wrap: anywhere; }
.kds-items { border-top: 1px dashed var(--border); }.kds-items > div { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); color: var(--text-dark); }.kds-items > div > b { flex: 0 0 34px; color: var(--primary); font-size: 14px; }.kds-items span { display: grid; gap: 3px; font-size: 14px; font-weight: 800; }.kds-items small { color: var(--text-muted); font-size: 11px; font-weight: 700; }.kds-items em { width: fit-content; padding: 2px 5px; border-radius: 4px; color: var(--primary); background: var(--primary-light); font-size: 9px; font-style: normal; text-transform: uppercase; }.kds-item-note { font-style: italic; }
.kds-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 13px; padding: 10px; border-radius: 8px; color: var(--text-dark); background: var(--primary-light); font-size: 12px; font-weight: 800; }.kds-note .icon { color: var(--primary); font-size: 17px; }.kds-delivery { margin-bottom: 0; }
.kds-ticket-actions { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 13px 16px 16px; border-top: 1px solid var(--border); }.kds-ticket-actions .btn { min-height: 44px; }.kds-ticket-actions .btn-outline { width: 48px; padding: 0; }
.kds-empty { display: grid; min-height: 260px; place-items: center; align-content: center; gap: 8px; border: 1px dashed var(--border); border-radius: 12px; color: var(--text-muted); text-align: center; }.kds-empty .icon { color: var(--primary); font-size: 42px; }.kds-empty strong { color: var(--text-dark); }.kds-empty p { margin: 0; font-size: 13px; }

/* Order view and edit workspace */
#order-edit-modal { padding: clamp(12px, 2vw, 32px); }
.order-workspace-modal { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(1160px, 100%); height: min(88dvh, 900px); max-width: none !important; max-height: min(88dvh, 900px); padding: 0 !important; overflow: hidden; border-radius: 16px !important; background: var(--surface); }
.order-workspace-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 21px 26px; border-bottom: 1px solid var(--border); background: var(--surface); }
.order-workspace-eyebrow { display: flex; gap: 6px; align-items: center; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.order-workspace-eyebrow .icon { font-size: 16px; }
.order-workspace-header h3 { margin: 5px 0 4px; color: var(--text-dark); font-size: 27px; line-height: 1; }.order-workspace-header p { margin: 0; color: var(--text-muted); font-size: 12px; }
.order-workspace-header-meta { display: flex; gap: 16px; align-items: center; }.order-workspace-header-meta strong { color: var(--text-dark); font-size: 20px; white-space: nowrap; }.order-workspace-close { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dark); background: transparent; cursor: pointer; }.order-workspace-close:hover { color: var(--primary); background: var(--primary-light); }
.order-status-badge { display: inline-flex; align-items: center; padding: 8px 11px; border-radius: 999px; color: var(--warning); background: color-mix(in srgb, var(--warning) 13%, var(--surface)); font-size: 11px; font-weight: 800; text-transform: uppercase; }.order-status-badge.status-preparing { color: var(--info); background: color-mix(in srgb, var(--info) 13%, var(--surface)); }.order-status-badge.status-ready,.order-status-badge.status-completed { color: var(--success); background: color-mix(in srgb, var(--success) 13%, var(--surface)); }.order-status-badge.status-cancelled { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, var(--surface)); }
.order-workspace-scroll { display: grid; grid-template-columns: minmax(0, 1fr) 316px; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }.order-workspace-main { display: grid; gap: 14px; min-height: min-content; padding: 20px; border-right: 1px solid var(--border); }.order-workspace-section { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }.order-section-heading { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }.order-section-heading > .icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-light); font-size: 20px; }.order-section-heading h4 { margin: 0; color: var(--text-dark); font-size: 16px; }.order-section-heading p { margin: 3px 0 0; color: var(--text-muted); font-size: 11px; }
.order-control-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }.order-two-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.order-full-field { display: grid; margin-top: 12px; }.order-workspace-section label,.order-payment-summary label { display: grid; gap: 7px; color: var(--text-dark); font-size: 12px; font-weight: 800; }.order-workspace-section .input-group,.order-payment-summary .input-group { min-height: 44px; margin: 0; border-radius: 8px; background: var(--bg); }.order-workspace-section textarea.input-group { min-height: 82px; resize: vertical; }
.order-items-heading { align-items: center; }.order-items-heading .btn { width: auto; min-height: 38px; margin-left: auto; padding: 0 11px; }.eo-item-labels,.eo-item-row { display: grid !important; grid-template-columns: minmax(140px,2fr) minmax(80px,1fr) 70px 95px minmax(120px,1.6fr) 40px !important; gap: 7px !important; align-items: center; }.eo-item-labels { padding: 0 8px 7px; color: var(--text-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }.eo-item-row { min-width: 0 !important; padding: 9px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); }.eo-item-row + .eo-item-row { margin-top: 8px; }.eo-item-row .input-group { min-width: 0; min-height: 39px; padding: 8px 9px; font-size: 12px; }.eo-item-row .btn { width: 38px; height: 38px; padding: 0 !important; }
.order-payment-summary { display: flex; flex-direction: column; align-self: start; gap: 14px; margin: 20px; padding: 19px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }.order-payment-summary .order-section-heading { margin-bottom: 3px; }.order-summary-line,.order-summary-total { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--text-muted); font-size: 12px; font-weight: 700; }.order-summary-line b { color: var(--text-dark); }.order-summary-rule { height: 2px; margin-top: 2px; background: var(--primary); }.order-summary-total { color: var(--text-dark); font-size: 14px; }.order-summary-total strong { color: var(--primary); font-size: 24px; }.order-total-hidden { display: none !important; }.order-payment-summary > p { display: flex; gap: 7px; margin: 0; padding: 10px; border-radius: 8px; color: var(--text-muted); background: var(--primary-light); font-size: 11px; }.order-payment-summary > p .icon { color: var(--primary); font-size: 16px; }
.order-workspace-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface); }.order-workspace-actions .btn { min-height: 48px; }

/* High-contrast thermal receipt */
#receipt-modal { align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.62); }
.receipt-card { width: min(360px, 100%); max-height: calc(100dvh - 40px); padding: 0 !important; overflow: auto; border-radius: 12px !important; background: #fff !important; color: #111 !important; box-shadow: 0 20px 60px rgba(0,0,0,.38) !important; }
.receipt-card * { color: #111; }.receipt-paper { padding: 20px 17px 16px; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.25; }.receipt-header { padding-bottom: 14px; border-bottom: 1px dashed #444; text-align: center; }.receipt-header h2 { margin: 0; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; }.receipt-header p { margin: 5px 0 0; color: #333; font-size: 10px; }.receipt-header #receipt-business-details { font-size: 9px; }
.receipt-info { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px dashed #444; }.receipt-info div { display: flex; justify-content: space-between; gap: 12px; }.receipt-info b,.receipt-customer > b,.receipt-fulfillment b { font-size: 10px; text-transform: uppercase; }.receipt-info span { text-align: right; font-size: 11px; }.receipt-customer { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #444; }.receipt-customer > span { display: grid; gap: 2px; text-align: right; }.receipt-customer small { font-size: 10px; }
.receipt-section { padding: 12px 0; border-bottom: 1px dashed #444; }.receipt-section-head,.receipt-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }.receipt-section-head { margin-bottom: 8px; font-size: 10px; text-transform: uppercase; }.receipt-item { padding: 7px 0; }.receipt-item > div { display: grid; gap: 2px; }.receipt-item b { font-size: 12px; line-height: 1.2; }.receipt-item small { color: #444; font-size: 9px; }.receipt-item strong { white-space: nowrap; font-size: 11px; }.receipt-empty { margin: 0; color: #444; text-align: center; }
.receipt-total { padding: 10px 0; border-bottom: 1px solid #111; }.receipt-total > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: #333; }.receipt-total .receipt-grand-total { margin-top: 8px; padding: 10px 0 0; border-top: 1px solid #111; color: #111; font-size: 16px; font-weight: 800; text-transform: uppercase; }.receipt-grand-total strong { font-size: 18px; }
.receipt-fulfillment { display: grid; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #444; }.receipt-fulfillment div { display: grid; gap: 3px; }.receipt-fulfillment span { color: #333; font-size: 10px; overflow-wrap: anywhere; }.receipt-footer { padding: 14px 0 4px; text-align: center; }.receipt-footer strong { display: block; font-size: 16px; text-transform: uppercase; }.receipt-footer p { margin: 7px 0; color: #444; font-size: 10px; }.receipt-footer small { color: #555; font-size: 8px; }
.receipt-controls { display: grid; gap: 12px; padding: 15px 17px 17px; border-top: 1px solid #ddd; background: #fff; }.receipt-controls label { display: grid; gap: 6px; color: #222; font-size: 11px; font-weight: 800; }.receipt-controls .input-group { min-height: 42px; margin: 0; border-color: #999; color: #111; background: #fff; }.receipt-controls > div { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; }.receipt-controls .btn { min-height: 48px; }.receipt-controls .btn-outline { color: #111; border-color: #222; background: #fff; }.receipt-controls .btn-primary { color: #fff; background: var(--primary); }

.customer-lookup-fields {
  display: flex;
  gap: 10px;
  position: relative;
}

.customer-lookup-fields > * {
  min-width: 0;
}

#custPhone:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.customer-suggestion-panel {
  position: absolute;
  z-index: 30;
  width: calc(100% - 32px);
  max-height: 248px;
  margin-top: 8px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.customer-suggestion-card {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.16s, color 0.16s;
}

.customer-suggestion-card:last-child { border-bottom: 0; }
.customer-suggestion-card:hover,
.customer-suggestion-card:focus-visible { background: var(--primary-light); }

.customer-suggestion-main,
.customer-suggestion-contact {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customer-suggestion-main strong {
  overflow: hidden;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.customer-suggestion-main small,
.customer-suggestion-contact small {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.25;
}

.customer-suggestion-contact {
  flex: 0 0 auto;
  justify-items: end;
  text-align: right;
}

.customer-suggestion-contact b {
  color: var(--primary);
  font-size: 15px;
  letter-spacing: 0.3px;
}

@media (max-width: 720px) {
  .custom-meal-view { padding: 20px 16px 28px; }
  .custom-meal-form-grid { grid-template-columns: 1fr; }
  .custom-meal-actions { grid-template-columns: 1fr; }
  .custom-meal-heading { gap: 10px; }
  .custom-meal-heading > .icon { width: 40px; height: 40px; font-size: 23px; }
  .customer-suggestion-card { gap: 8px; padding: 12px; }
  .customer-suggestion-contact b { font-size: 14px; }
  .custom-meal-card.custom-meal-editor { grid-template-columns: 1fr; gap: 20px; }
  .custom-meal-summary { min-height: auto; }
  .custom-meal-summary-icon { display: none; }
  .custom-meal-summary-caption { margin-top: 14px; }
  .kds-view { padding: 18px 14px 26px; }.kds-topbar { flex-direction: column; }.kds-top-actions { width: 100%; }.kds-top-actions label { flex: 1; }.kds-top-actions .input-group { width: 100%; }.kds-top-actions .btn { flex: 1; justify-content: center; }.kds-kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.kds-kpi:last-child { grid-column: span 2; }.kds-filter-bar { grid-template-columns: 1fr 1fr; }.kds-search-wrap { grid-column: 1 / -1; }.kds-filter-bar .btn { justify-content: center; }.kds-board-meta { align-items: flex-start; flex-direction: column; }.kds-grid { grid-template-columns: 1fr; }
  #order-edit-modal { padding: 0; align-items: flex-end; }.order-workspace-modal { height: 95dvh; max-height: 95dvh; border-radius: 14px 14px 0 0 !important; }.order-workspace-header { padding: 17px; align-items: flex-start; }.order-workspace-header h3 { font-size: 23px; }.order-workspace-header-meta { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }.order-workspace-scroll { grid-template-columns: 1fr; }.order-workspace-main { padding: 14px; border-right: 0; }.order-payment-summary { margin: 0 14px 14px; }.order-control-grid,.order-two-grid { grid-template-columns: 1fr 1fr; }.eo-item-labels { display: none; }.eo-item-row { grid-template-columns: minmax(120px,1.4fr) 70px 55px 76px 38px !important; }.eo-item-row .eo-item-note { display: none; }.order-workspace-actions { grid-template-columns: repeat(2,1fr); padding: 12px 14px; }
}

.auth-gate {
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: #f2f1ef;
}

.auth-panel.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 51%);
  width: min(1120px, 100%);
  min-height: min(720px, calc(100dvh - 48px));
  max-height: 820px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
}

.auth-panel.auth-shell::before {
  display: none;
}

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 58px 48px 30px;
  overflow: hidden;
  color: #fff;
  background: #0e0e0e url('../brand/login-sri-lankan-food-v1.webp') center / cover no-repeat;
}

.auth-visual::before {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(0, 0, 0, 0.32);
}

.auth-visual > * {
  position: relative;
  z-index: 1;
}

.auth-visual-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.auth-brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid #ff6a00;
  border-radius: 8px;
}

.auth-brand-mark .icon {
  font-size: 40px;
  font-variation-settings: 'FILL' 0, 'wght' 300;
}

.auth-visual-brand strong,
.auth-visual-brand span {
  display: block;
  letter-spacing: 0;
}

.auth-visual-brand strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.auth-visual-brand span {
  margin-top: 7px;
  color: #ff6a00;
  font-size: 19px;
  letter-spacing: 2px;
}

.auth-visual-copy {
  margin-top: 38px;
}

.auth-visual-copy > span {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 24px;
  background: #ff6a00;
}

.auth-visual-copy p {
  font-size: 20px;
  line-height: 1.45;
}

.auth-visual-footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: auto;
}

.auth-secure-badge {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.auth-secure-badge .icon {
  color: #ff6a00;
  font-size: 21px;
}

.auth-visual-footer small {
  color: rgba(255, 255, 255, 0.86);
}

.auth-form-panel {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 54px clamp(44px, 6vw, 76px);
  overflow-y: auto;
  background: var(--surface);
}

.auth-form {
  display: grid;
  width: min(430px, 100%);
  gap: 20px;
}

.auth-heading {
  margin-bottom: 18px;
}

.auth-heading h1 {
  margin-bottom: 6px;
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.15;
}

.auth-heading p {
  color: var(--text-muted);
  font-size: 16px;
}

.auth-field {
  display: grid;
  gap: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 800;
}

.auth-input-wrap {
  display: flex;
  min-height: 58px;
  gap: 12px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.auth-input-wrap:focus-within {
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.auth-input-wrap > .icon {
  flex: 0 0 auto;
  font-size: 22px;
  font-variation-settings: 'FILL' 0;
}

.auth-input-wrap input {
  min-width: 0;
  flex: 1;
  align-self: stretch;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-dark);
  font-size: 15px;
}

.auth-input-wrap input::placeholder {
  color: var(--text-muted);
  opacity: 0.76;
}

.auth-password-toggle {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-password-toggle:hover {
  color: var(--text-dark);
  background: var(--primary-light);
}

.auth-password-toggle .icon {
  font-size: 22px;
  font-variation-settings: 'FILL' 0;
}

.auth-remember {
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}

.auth-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ff6a00;
}

.auth-error {
  min-height: 18px;
  margin: -6px 0;
}

.auth-submit {
  width: 100%;
  min-height: 58px;
  justify-content: center;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 17px;
}

.auth-submit:hover {
  background: #2b2b2b;
}

.auth-secure-note {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.auth-secure-note .icon {
  color: #ff6a00;
  font-size: 23px;
  font-variation-settings: 'FILL' 0;
}

.auth-mobile-brand {
  display: none;
}

.auth-setup-form {
  gap: 13px;
}

.auth-setup-form .auth-heading {
  margin-bottom: 3px;
}

html.dark-theme .auth-gate {
  background: #101010;
}

html.dark-theme .auth-submit {
  background: #f5f5f5;
  color: #111;
}

html.dark-theme .auth-submit:hover {
  background: #fff;
}

.auth-theme-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.mobile-account-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.mobile-account-summary h3 {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-account-summary p {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.mobile-theme-segment .theme-choice {
  height: 48px;
  gap: 2px;
  font-size: 10px;
  font-weight: 800;
}

.mobile-signout-btn {
  width: 100%;
  margin-top: 18px;
}

.mobile-header-brand,
.mobile-theme-btn {
  display: none;
}

.header {
  min-height: 88px;
}

.header-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-bar {
  border-radius: 8px;
}

.categories {
  scrollbar-width: thin;
}

.category-btn {
  min-height: 42px;
  border-radius: 8px;
}

.menu-grid {
  align-items: stretch;
}

.menu-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  padding: 10px;
}

.menu-card:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.menu-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.menu-img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.stock-pill {
  position: absolute;
  top: 7px;
  right: 7px;
  max-width: calc(100% - 14px);
  overflow: hidden;
  padding: 4px 7px;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-card-title {
  overflow: hidden;
  min-height: 42px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}

.menu-card-size {
  min-height: 17px;
  margin-bottom: 8px;
}

.add-btn {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 6px;
  color: #fff;
  background: var(--primary);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  text-align: center;
}

.empty-state .icon {
  display: block;
  margin-bottom: 10px;
  font-size: 42px;
}

.cart-panel,
.table-container,
.modal-card,
.kds-card,
.sub-tabs,
.btn {
  border-radius: 8px;
}

.cart-header,
.cart-footer {
  flex: 0 0 auto;
}

.cart-item > div:first-child {
  min-width: 0;
  padding-right: 10px;
}

.cart-item > div:first-child > div:first-child {
  overflow-wrap: anywhere;
}

.qty-btn {
  width: 30px;
  height: 30px;
}

.mobile-cards table {
  table-layout: auto;
}

.section-toolbar,
.view-toolbar,
.dashboard-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#admin-view > h2,
#admin-view > .admin-tabs,
#admin-view > [id^="admin-"][id$="-sec"] {
  flex: 0 0 auto;
}

.admin-tabs {
  scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.dashboard-filters {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-kpi,
.dashboard-chart {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.dashboard-kpi p {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-kpi h3 {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
}

.status-text {
  font-weight: 800;
}

.status-completed,
.status-active {
  color: var(--success);
}

.status-pending {
  color: var(--warning);
}

.status-cancelled,
.status-disabled {
  color: var(--danger);
}

@media (max-width: 1180px) {
  .dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .brand .brand-logo {
    display: none;
  }

  .brand .brand-mark {
    display: block;
  }

  .sidebar .theme-title,
  .sidebar .theme-segment {
    display: none;
  }

  .theme-cycle-btn {
    display: flex;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .main-wrapper {
    min-width: 0;
  }

  .header {
    min-height: auto;
    padding: 10px 12px 12px;
    gap: 8px;
  }

  .header-title-row {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .desktop-header-title {
    min-width: 0;
  }

  .desktop-header-title h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-header-brand {
    display: block;
    width: 106px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 6px;
    object-fit: contain;
    background: #000;
  }

  .mobile-theme-btn {
    display: flex !important;
    flex: 0 0 40px;
  }

  .search-bar {
    min-height: 44px;
    padding: 9px 12px;
  }

  .content-scroll {
    padding: 12px;
  }

  .categories {
    margin: 0 -12px 12px;
    padding: 0 12px 6px;
    scrollbar-width: none;
  }

  .categories::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    min-height: 40px;
    padding: 8px 12px;
  }

  .category-btn .icon {
    font-size: 20px;
  }

  .menu-card {
    padding: 8px;
  }

  .menu-card-title {
    min-height: 38px;
    font-size: 14px;
  }

  .menu-price {
    font-size: 15px;
  }

  .stock-pill {
    top: 5px;
    right: 5px;
  }

  .bottom-nav {
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  }

  .bottom-nav button {
    min-height: 56px;
    font-size: 10px;
  }

  .mobile-cart-toggle {
    min-height: 54px;
  }

  .cart-panel {
    max-height: calc(100dvh - 68px - env(safe-area-inset-bottom));
  }

  body:not(.cart-open) .cart-panel {
    visibility: hidden;
    pointer-events: none;
  }

  body.cart-open .cart-panel {
    visibility: visible;
    pointer-events: auto;
  }

  .cart-header {
    padding: 16px 14px 12px;
    max-height: 47dvh;
    overflow-y: auto;
  }

  .cart-items {
    min-height: 100px;
    padding: 0 14px;
  }

  .cart-footer {
    padding: 14px;
  }

  #admin-view,
  #kitchen-view,
  #history-view {
    padding-top: 14px !important;
  }

  .admin-tabs {
    position: sticky;
    z-index: 20;
    top: -14px;
    margin-right: -12px;
    margin-left: -12px;
    padding: 8px 12px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: var(--bg);
  }

  .section-toolbar,
  .view-toolbar,
  .dashboard-filters {
    align-items: stretch;
  }

  .section-toolbar > *,
  .view-toolbar > *,
  .dashboard-filters > * {
    width: 100% !important;
  }

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

  .dashboard-kpi {
    min-width: 0;
    padding: 12px;
  }

  .dashboard-kpi h3 {
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .mobile-cards {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-cards .responsive-table {
    min-width: 0;
  }

  .mobile-cards .responsive-table,
  .mobile-cards .responsive-table tbody,
  .mobile-cards .responsive-table tr,
  .mobile-cards .responsive-table td {
    display: block;
    width: 100%;
  }

  .mobile-cards .responsive-table thead {
    display: none;
  }

  .mobile-cards .responsive-table tbody {
    display: grid;
    gap: 10px;
  }

  .mobile-cards .responsive-table tr {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-cards .responsive-table td {
    display: grid;
    grid-template-columns: minmax(100px, 38%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    overflow-wrap: anywhere;
    text-align: right;
  }

  .mobile-cards .responsive-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .mobile-cards .responsive-table td:last-child {
    border-bottom: 0;
  }

  .mobile-cards .responsive-table td[data-label="Actions"] {
    display: block;
    text-align: left;
  }

  .mobile-cards .responsive-table td[data-label="Actions"]::before {
    display: block;
    margin-bottom: 8px;
  }

  .mobile-cards .order-action-group {
    justify-content: flex-start;
  }

  .order-action-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0 !important;
  }

  .auth-gate {
    padding: 0;
    background: var(--surface);
  }

  .auth-panel.auth-shell {
    display: block;
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .auth-visual {
    display: none;
  }

  .auth-form-panel {
    display: block;
    min-height: 100dvh;
    padding: max(34px, env(safe-area-inset-top)) clamp(24px, 8vw, 48px) max(28px, env(safe-area-inset-bottom));
  }

  .auth-mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px auto 48px;
    text-align: center;
  }

  .auth-mobile-brand .auth-brand-mark {
    width: 66px;
    height: 66px;
    margin-bottom: 14px;
  }

  .auth-mobile-brand .auth-brand-mark .icon {
    font-size: 40px;
  }

  .auth-mobile-brand strong {
    font-size: 25px;
    line-height: 1.15;
  }

  .auth-mobile-brand > span:last-child {
    margin-top: 5px;
    color: #ff6a00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
  }

  .auth-form {
    margin: 0 auto;
  }

  .auth-heading {
    margin-bottom: 10px;
    text-align: center;
  }

  .auth-heading h1 {
    font-size: 29px;
  }

  .auth-heading p {
    font-size: 14px;
  }

  .auth-secure-note {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .menu-grid {
    gap: 8px;
  }

  .dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .desktop-header-title p {
    display: none;
  }

  .mobile-header-brand {
    width: 96px;
  }

  .auth-form-panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .auth-mobile-brand {
    margin-top: 4px;
    margin-bottom: 34px;
  }

  .auth-form {
    gap: 16px;
  }

  .auth-input-wrap,
  .auth-submit {
    min-height: 54px;
  }

  .auth-secure-note {
    margin-top: 10px;
  }
}

.menu-image-uploader { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; margin-top: 4px; padding: 13px; border: 1px dashed var(--border); border-radius: 12px; background: var(--bg); }
.menu-image-preview { width: 118px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.menu-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.menu-image-upload-copy { display: grid; gap: 6px; min-width: 0; }
.menu-image-upload-copy > strong { color: var(--text-dark); font-size: 14px; }
.menu-image-upload-copy > span,
.menu-image-upload-copy > small { color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.menu-image-pick { position: relative; width: fit-content !important; min-height: 38px; margin: 2px 0 0; padding: 0 13px !important; cursor: pointer; }
.menu-image-pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

@media (max-width: 600px) {
  .menu-image-uploader { grid-template-columns: 92px 1fr; }
  .menu-image-preview { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }
}
