@font-face {
    font-family: "YekanBakh";
    src: url("font/YekanBakh-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #FAFCFA;
    --surface: #FAFCFA;
    --surface-soft: #EEF3EE;
    --text: #2F4F3A;
    --muted: #5A7260;
    --primary: #5E7C60;
    --primary-dark: #2F4F3A;
    --accent: #5E7C60;
    --primary-rgb: 94 124 96;
    --text-rgb: 47 79 58;
    --success: #1f7a45;
    --warning: #c48212;
    --danger: #9e2f28;
    --border: rgba(94 124 96 / 0.18);
    --shadow: 0 18px 40px rgba(47 79 58 / 0.12);
    --shadow-soft: 0 10px 24px rgba(47 79 58 / 0.08);
    --shadow-hover: 0 24px 48px rgba(47 79 58 / 0.16);
    --radius: 22px;
    --radius-sm: 16px;
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 20px;
    --space-5: 24px;
    --space-6: 32px;
}

body[data-theme="dark"] {
    --bg: #2F4F3A;
    --surface: rgba(47 79 58 / 0.92);
    --surface-soft: rgba(94 124 96 / 0.16);
    --text: #FFFDF8;
    --muted: rgba(245 233 218 / 0.78);
    --primary: #5E7C60;
    --primary-dark: #F5E9DA;
    --accent: #F5E9DA;
    --border: rgba(255 253 248 / 0.12);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.28);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "YekanBakh", Tahoma, Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

body[data-theme="dark"] {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.16), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}

::selection {
    background: rgba(var(--primary-rgb) / 0.2);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

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

h1,
h2,
h3,
h4 {
    line-height: 1.35;
}

.site-body,
.admin-body,
.auth-body {
    min-height: 100vh;
}

.page-shell,
.admin-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.toolbar-card,
.info-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.site-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 10px;
    z-index: 25;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: grid;
    align-items: start;
    gap: 2px;
    min-width: 0;
}

.navbar-brand strong {
    font-size: 15px;
    white-space: nowrap;
}

.navbar-working-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 2px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(var(--primary-rgb) / 0.14);
    font-size: 10.5px;
    color: #5b3a22;
    line-height: 1.6;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tool {
    position: relative;
}

.nav-tool > summary {
    list-style: none;
}

.nav-tool > summary::-webkit-details-marker {
    display: none;
}

.nav-tool > summary::marker {
    content: "";
    display: none;
}

.nav-icon-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.08);
    border-color: rgba(var(--primary-rgb) / 0.22);
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.nav-popover {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(320px, calc(100vw - 32px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-hover);
    z-index: 120;
    display: none;
}

.nav-popover.is-hidden {
    display: none;
}

.nav-tool.is-open {
    z-index: 121;
}

.nav-tool[open] {
    z-index: 121;
}

.nav-tool.is-open .nav-popover,
.nav-tool[open] .nav-popover {
    display: block;
}

.nav-popover strong {
    display: block;
    margin-bottom: 10px;
}

.compact-tools {
    margin-top: 0;
}

.mobile-quick-tools {
    display: none;
}

.mobile-tool-card {
    display: grid;
    gap: 10px;
    padding: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.mobile-tool-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    cursor: pointer;
    list-style: none;
}

.mobile-tool-summary::-webkit-details-marker {
    display: none;
}

.mobile-tool-summary::marker {
    content: "";
    display: none;
}

.mobile-tool-summary::after {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.mobile-tool-card[open] .mobile-tool-summary::after {
    transform: rotate(135deg);
}

.mobile-tool-card strong {
    font-size: 13px;
}

.mobile-tool-body {
    padding: 0 14px 14px;
}

.language-switcher,
.theme-mode-group,
.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.lang-chip {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 700;
}

.lang-chip.active,
.theme-mode-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.theme-controls {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.theme-color-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.theme-color-picker input[type="color"] {
    width: 54px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 0;
}

.hero-card,
.admin-header,
.auth-card,
.admin-panel,
.sticky-card,
.subcategory-card,
.subcategory-block,
.category-block,
.stat-card,
.table-banner {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

body[data-theme="dark"] .hero-card,
body[data-theme="dark"] .admin-header,
body[data-theme="dark"] .auth-card,
body[data-theme="dark"] .admin-panel,
body[data-theme="dark"] .sticky-card,
body[data-theme="dark"] .subcategory-card,
body[data-theme="dark"] .subcategory-block,
body[data-theme="dark"] .category-block,
body[data-theme="dark"] .stat-card,
body[data-theme="dark"] .table-banner,
body[data-theme="dark"] .toolbar-card,
body[data-theme="dark"] .info-card,
body[data-theme="dark"] .menu-item,
body[data-theme="dark"] .table-wrap,
body[data-theme="dark"] table,
body[data-theme="dark"] .table-card,
body[data-theme="dark"] .social-link,
body[data-theme="dark"] .meta-chip,
body[data-theme="dark"] .badge,
body[data-theme="dark"] .checkout-choice,
body[data-theme="dark"] .info-item,
body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="tel"],
body[data-theme="dark"] input[type="number"],
body[data-theme="dark"] input[type="password"],
body[data-theme="dark"] input[type="url"],
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

body[data-theme="dark"] thead {
    background: #2f241d;
}

body[data-theme="dark"] tbody tr:nth-child(even) {
    background: #251d18;
}

body[data-theme="dark"] tbody tr:hover {
    background: #30241d;
}

body[data-theme="dark"] .btn-light {
    background: #3a2d24;
    color: var(--text);
}

body[data-theme="dark"] .btn-danger {
    background: #5a2c2a;
    color: #ffe5e2;
}

body[data-theme="dark"] .site-navbar,
body[data-theme="dark"] .nav-popover,
body[data-theme="dark"] .nav-icon-btn {
    background: linear-gradient(180deg, rgba(30, 50, 38, 0.96) 0%, rgba(22, 37, 29, 0.98) 100%);
    color: var(--text);
    border-color: rgba(200, 216, 202, 0.1);
}

body[data-theme="dark"] .delivery-map-block,
body[data-theme="dark"] #delivery-map {
    border-color: var(--border);
}

.hero-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.hero-card > div:first-child {
    flex: 1;
    min-width: 0;
}

.hero-card::after,
.admin-header::after {
    content: "";
    position: absolute;
    inset: auto auto -60px -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb) / 0.16), transparent 70%);
    pointer-events: none;
}

.hero-card h1,
.admin-header h1,
.auth-card h1 {
    margin: 2px 0 4px;
    font-size: clamp(18px, 2.4vw, 24px);
}

.hero-card p,
.admin-header p,
.empty-state,
.helper-note,
.menu-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}

.hero-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    direction: ltr;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    width: 100% !important;
    justify-self: stretch !important;
    align-self: start;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
}

.hero-social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    color: #40281a;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-social-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.42);
}

.hero-social-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.hero-social-link svg path,
.hero-social-link svg rect,
.hero-social-link svg circle {
    fill: none;
    stroke: currentColor;
}

.eyebrow {
    display: inline-flex;
    background: rgba(var(--primary-rgb) / 0.1);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    border: 1px solid rgba(var(--primary-rgb) / 0.08);
}

.hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-width: min(48%, 280px);
    width: min(48%, 280px);
}

.meta-chip,
.badge {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    padding: 8px 10px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.meta-chip {
    align-items: flex-start;
    text-align: right;
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.meta-chip-label {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
}

.meta-chip-value {
    display: block;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    font-weight: 800;
    word-break: break-word;
}

.meta-chip-address .meta-chip-value {
    font-size: 12px;
    line-height: 1.75;
}

.table-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: 20px 24px;
    margin-bottom: var(--space-5);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.16), transparent 34%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.table-banner::after {
    content: "";
    position: absolute;
    inset: auto -38px -42px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--text-rgb) / 0.1), transparent 68%);
    pointer-events: none;
}

.table-banner-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.table-banner-title {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
}

.table-banner-text {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    word-break: break-word;
    text-wrap: pretty;
}

.table-banner-copy-empty {
    padding: 2px 0;
}

.table-banner-empty-card {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(250, 252, 250, 0.74);
    border: 1px solid var(--border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 12px 28px rgba(47 79 58 / 0.08);
}

.table-banner-empty-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.table-banner-empty-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.18);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
}

.table-banner-countdown {
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--text-rgb) / 0.1) 0%, rgba(var(--primary-rgb) / 0.22) 100%);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.table-banner-inline-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 700;
}

.table-banner-inline-note::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb) / 0.14);
}

.table-banner .badge {
    flex: 0 0 auto;
    width: clamp(156px, 34%, 240px);
    max-width: 100%;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
    justify-content: center;
}

.table-banner-hint-badge {
    position: relative;
    z-index: 1;
    width: clamp(180px, 36%, 260px);
    align-self: center;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 12px;
    margin-bottom: 20px;
}

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

.info-item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.info-item span {
    color: var(--muted);
    font-size: 13px;
}

.badge.success {
    color: var(--success);
    background: #edf8f1;
}

.badge.warning {
    color: var(--warning);
    background: #fff7e7;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 380px;
    gap: 24px;
    grid-template-areas: "menu cart";
}

.order-step-bar {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.step-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
}

.step-switcher .step-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.step-switcher .step-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.08);
}

.step-switcher .step-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.step-switcher .step-continue-btn {
    min-height: 40px;
    width: 100%;
    padding-inline: 10px;
    white-space: nowrap;
    justify-self: stretch;
    margin-inline: 0;
    border-radius: 12px;
}

.step-switcher .step-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-soft);
}

.step-chip-number {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.step-chip.active .step-chip-number {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.menu-panel {
    display: grid;
    gap: 10px;
    grid-area: menu;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.menu-search-bar {
    grid-column: 1 / -1 !important;
    display: grid !important;
    gap: 8px;
    width: 100%;

    margin-top: 14px;
}

.menu-search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 12px 0 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.menu-search-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--muted);
}

.menu-search-field input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.menu-search-field input[type="search"]::placeholder {
    color: var(--muted);
    font-weight: 500;
}

.menu-search-field input[type="search"]::-webkit-search-decoration,
.menu-search-field input[type="search"]::-webkit-search-cancel-button,
.menu-search-field input[type="search"]::-webkit-search-results-button,
.menu-search-field input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.menu-search-clear {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.menu-search-empty {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

body[data-theme="dark"] .menu-search-field {
    background: rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .menu-search-clear {
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary-dark);
}




.special-offers-category .menu-item--special-offer {
    border-color: rgba(184, 84, 52, 0.28);
}



.category-block.is-search-hidden,
.subcategory-block.is-search-hidden,
.menu-item.is-search-hidden,
.subcategory-card.is-search-hidden,
.parent-direct-items.is-search-hidden {
    display: none !important;
}

.cart-panel {
    grid-area: cart;
}

.category-block {
    overflow: hidden;
    border-radius: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.category-block[open] {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    order: 99;
}

.category-block:hover {
    border-color: rgba(var(--primary-rgb) / 0.18);
    box-shadow: 0 8px 18px rgba(var(--text-rgb) / 0.07);
    transform: translateY(-1px);
}

.category-block.category-block-disabled,
.category-block.category-block-disabled:hover {
    border-color: rgba(138, 129, 118, 0.18);
    box-shadow: none;
    transform: none;
    opacity: 0.72;
}

.category-toggle {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    align-content: center;
    min-height: 0;
    height: auto;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.category-toggle.is-disabled {
    cursor: not-allowed;
}

.category-toggle::-webkit-details-marker {
    display: none;
}

.category-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    text-align: right;
}

.category-toggle .section-title {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.category-block[open] .category-toggle {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
    padding: 10px 12px 8px;
    align-items: center;
}

.category-block[open] .category-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.category-thumb,
.subcategory-thumb {
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
}

.category-thumb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.subcategory-thumb {
    width: 52px;
    height: 52px;
}

.category-thumb img,
.subcategory-thumb img,
.menu-media img,
.admin-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-summary h2 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-block[open] .category-thumb {
    width: 44px;
    height: 44px;
}

.category-availability-note {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}

.category-availability-note.is-active {
    background: rgba(99, 152, 108, 0.14);
    color: #2f6b3f;
}

.category-availability-note.is-disabled {
    background: rgba(164, 120, 120, 0.12);
    color: #975353;
}

.category-count {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.category-chevron {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.14);
    border: 1px solid rgba(var(--text-rgb) / 0.14);
    box-shadow: 0 8px 18px rgba(47 79 58 / 0.12);
    position: relative;
    transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
    flex-shrink: 0;
}

.category-chevron::before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2.5px solid var(--primary);
    border-bottom: 2.5px solid var(--primary);
    transform: rotate(-45deg);
    margin-top: -2px;
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-toggle:hover .category-chevron {
    background: rgba(var(--primary-rgb) / 0.22);
    box-shadow: 0 12px 22px rgba(47 79 58 / 0.16);
}

.category-toggle.is-disabled:hover .category-chevron {
    background: rgba(var(--primary-rgb) / 0.14);
    box-shadow: 0 8px 18px rgba(47 79 58 / 0.12);
}

.category-block[open] .category-chevron {
    background: var(--primary);
    transform: translateY(-1px);
}

.category-block[open] .category-chevron::before {
    border-color: #fff;
    transform: rotate(135deg);
}

.subcategory-browser {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
}

.subcategory-stack {
    display: grid;
    gap: 12px;
}

.subcategory-block {
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.subcategory-block:hover {
    border-color: rgba(var(--primary-rgb) / 0.16);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.subcategory-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.subcategory-toggle::-webkit-details-marker {
    display: none;
}

.subcategory-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.subcategory-toggle .section-title {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.subcategory-toggle h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.subcategory-chevron {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.14);
    border: 1px solid rgba(var(--text-rgb) / 0.14);
    box-shadow: 0 8px 18px rgba(47 79 58 / 0.12);
    position: relative;
    transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
    flex-shrink: 0;
}

.subcategory-chevron::before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2.5px solid var(--primary);
    border-bottom: 2.5px solid var(--primary);
    transform: rotate(-45deg);
    margin-top: -2px;
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.subcategory-body {
    padding: 0 14px 14px;
}

.subcategory-body .subcategory-card {
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.subcategory-block[open] .subcategory-chevron {
    background: var(--primary);
    transform: translateY(-1px);
}

.subcategory-block[open] .subcategory-chevron::before {
    border-color: #fff;
    transform: rotate(135deg);
}

.subcategory-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subcategory-tab {
    border: 1px solid rgba(var(--primary-rgb) / 0.14);
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--primary-dark);
    padding: 9px 14px;
    min-height: 40px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.subcategory-tab:hover {
    transform: translateY(-1px);
    background: rgba(var(--primary-rgb) / 0.14);
}

.subcategory-tab.is-active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.category-content {
    padding: 0;
}

.parent-direct-items {
    margin-top: 10px;
}

.subcategory-card {
    padding: 14px;
    background: linear-gradient(180deg, rgba(251, 248, 243, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(180, 198, 183, 0.8);
}

.subcategory-card:not(.is-active) {
    display: none;
}

.subcategory-head,
.section-title,
.section-title.compact,
.admin-actions,
.admin-nav,
.inline-actions,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-title h2,
.subcategory-head h3,
.menu-item h4,
.site-footer h3 {
    margin: 0;
}

.section-title {
    margin-bottom: 16px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.menu-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas:
        "media copy"
        "media actions";
    align-items: flex-start;
    gap: 10px 12px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--primary-rgb) / 0.18);
}

.menu-media {
    grid-area: media;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.menu-copy {
    grid-area: copy;
    min-width: 0;
}

.item-label {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
}

.item-label--discount {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.menu-copy h4 {
    margin: 0 0 6px;
    font-size: 16px;
}

.rating-summary,
.rating-form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.rating-summary {
    color: var(--muted);
    font-size: 13px;
}

.rating-label {
    color: var(--muted);
    font-size: 13px;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-btn {
    border: 0;
    background: transparent;
    color: #d1b48f;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-btn:hover {
    color: #f0b64b;
    transform: scale(1.08);
}

.menu-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.price,
.cart-badge {
    color: var(--primary-dark);
    font-weight: 700;
}

.price {
    white-space: nowrap;
    font-size: 15px;
}

.price-stack,
.cart-price-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.unit-price-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}


.price-original,
.cart-price-original {
    color: var(--muted);
    font-size: 12px;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.price-discounted {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.subcategory-title {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    width: 100%;
}

.subcategory-title span {
    color: var(--muted);
    font-size: 13px;
}

.subcategory-title h3 {
    min-width: 0;
    text-align: right;
}

.admin-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.sticky-card {
    position: sticky;
    top: 28px;
    padding: 24px;
}

.mobile-cart-bar {
    display: none;
}

.bottom-app-nav {
    display: none;
}

.credit-toast {
    display: none;
}

.waiter-call-sheet {
    position: fixed;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(calc(100% - 32px), 560px);
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 42%),
        linear-gradient(180deg, rgba(250, 252, 250, 0.99) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(16px);
    z-index: 45;
}

.waiter-call-sheet-form {
    display: grid;
    gap: 14px;
}

.waiter-call-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.waiter-call-sheet-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.waiter-call-sheet-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.24) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.waiter-call-sheet-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.waiter-call-sheet-head strong {
    display: block;
    font-size: 16px;
    color: var(--text);
}

.waiter-call-sheet-kicker {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.waiter-call-sheet-text {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.9;
}

.waiter-call-table-picker {
    width: min(calc(100% - 28px), 720px);
}

.waiter-call-table-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.waiter-call-table-btn {
    display: grid;
    gap: 6px;
    min-height: 86px;
    padding: 14px 10px;
    border: 1px solid rgba(180, 198, 183, 0.96);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 24px rgba(var(--text-rgb) / 0.07);
}

.waiter-call-table-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.42);
    box-shadow: var(--shadow-hover);
}

.waiter-call-table-btn:disabled {
    opacity: 0.58;
    cursor: progress;
    transform: none;
}

.waiter-call-table-btn-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
}

.waiter-call-table-btn-number {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    color: #7a5334;
}

.waiter-call-table-btn.is-active {
    border-color: rgba(var(--primary-rgb) / 0.72);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.2), 0 14px 26px rgba(var(--text-rgb) / 0.1);
}

.fried-platter-options {
    display: grid;
    gap: 10px;
}

.fried-platter-option {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 6px;
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    text-align: right;
    white-space: normal;
}

.fried-platter-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.fried-platter-option-name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.fried-platter-option-price {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.fried-platter-option-desc {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 400;
    text-align: right;
    white-space: normal;
}
.fried-platter-option-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.fried-platter-option-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    background: #f3f4f6;
}

.fried-platter-option-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.waiter-call-sheet-field {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.waiter-call-sheet-field span {
    color: #5E7C60;
    font-size: 11px;
    font-weight: 800;
}

.waiter-call-sheet-field select {
    background: #fff;
    border-color: rgba(222, 208, 191, 0.95);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
}

.waiter-call-close-btn {
    border-radius: 999px;
    padding-inline: 14px;
    min-height: 38px;
}

.waiter-call-close-btn:hover {
    transform: translateY(-1px);
}

body[data-theme="dark"] .waiter-call-sheet {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.14), transparent 42%),
        linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb) / 0.12) 100%);
    border-color: var(--border);
}

body[data-theme="dark"] .waiter-call-sheet-icon {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--primary-dark);
}

body[data-theme="dark"] .waiter-call-sheet-head strong {
    color: var(--text);
}

body[data-theme="dark"] .waiter-call-sheet-kicker {
    color: var(--muted);
}

body[data-theme="dark"] .waiter-call-sheet-field {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .waiter-call-sheet-field span {
    color: #f0c084;
}

body[data-theme="dark"] .waiter-call-sheet-field select {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .waiter-call-table-btn {
    background: rgba(47 79 58 / 0.78);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 22px rgba(0, 0, 0, 0.22);
    color: var(--text);
}

body[data-theme="dark"] .waiter-call-table-btn-label {
    color: var(--muted);
}

body[data-theme="dark"] .waiter-call-table-btn-number {
    color: #f0c084;
}

body[data-theme="dark"] .waiter-call-table-btn.is-active {
    border-color: rgba(var(--primary-rgb) / 0.72);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.28) 0%, rgba(47 79 58 / 0.92) 100%);
}

@media (max-width: 900px) {
    .waiter-call-sheet.waiter-call-table-picker {
        top: 72px;
        right: 10px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        left: 10px;
        width: auto;
        max-width: none;
        transform: none;
        margin: 0;
        max-height: calc(100dvh - 150px);
        overflow: hidden;
        padding: 14px;
        border-radius: 22px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-form {
        gap: 12px;
        min-height: 100%;
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-head {
        align-items: flex-start;
        gap: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-title {
        gap: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-icon svg {
        width: 20px;
        height: 20px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-head strong {
        font-size: 15px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-kicker {
        font-size: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-text {
        font-size: 12px;
        line-height: 1.75;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-close-btn {
        min-height: 36px;
        padding-inline: 12px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-height: 0;
        overflow-y: auto;
        align-content: start;
        padding-inline-end: 2px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn {
        min-height: 74px;
        padding: 12px 8px;
        border-radius: 16px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn-number {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .waiter-call-sheet.waiter-call-table-picker {
        top: 68px;
        right: 8px;
        left: 8px;
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        padding: 12px;
        border-radius: 20px;
        max-height: calc(100dvh - 142px);
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-head {
        flex-direction: column;
        align-items: stretch;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-close-btn {
        width: 100%;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-grid {
        gap: 7px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn {
        min-height: 68px;
        padding: 10px 6px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn-label {
        font-size: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn-number {
        font-size: 19px;
    }
}

.cart-form,
.order-form,
.auth-form,
.admin-form {
    display: grid;
    gap: 16px;
}

.cart-form {
    gap: 12px;
}

.total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-row {
    display: grid;
    gap: 14px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(var(--primary-rgb) / 0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 246, 0.98) 100%);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.05);
}

.cart-item-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(180, 198, 183, 0.18);
    border: 1px solid rgba(180, 198, 183, 0.28);
}

.cart-row-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-row-info {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.cart-item-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--text);
}

.cart-unit-price {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 2px;
}

.cart-qty-stepper {
    display: inline-grid;
    grid-template-columns: 36px 48px 36px;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb) / 0.09);
    border: 1px solid rgba(var(--primary-rgb) / 0.12);
}

.cart-qty-stepper input[type="number"] {
    width: 48px;
    min-width: 48px;
    height: 36px;
    text-align: center;
    padding: 0 4px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    font-weight: 800;
    font-size: 14px;
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.1);
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart-qty-stepper input[type="number"]::-webkit-outer-spin-button,
.cart-qty-stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.cart-qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(var(--text-rgb) / 0.07);
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.cart-qty-btn:hover {
    background: #fbfcfa;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(var(--text-rgb) / 0.1);
}

.cart-line-total-wrap {
    display: grid;
    gap: 2px;
    justify-items: start;
    text-align: right;
}

.cart-line-total-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

.cart-line-total {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.checkout-choice {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.order-table-field {
    display: grid;
    gap: 12px;
    position: relative;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(250, 252, 250, 1) 0%, rgba(238, 243, 238, 0.98) 100%);
    border: 1px solid rgba(160, 182, 163, 0.92);
    box-shadow: 0 18px 34px rgba(var(--text-rgb) / 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.order-table-field::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 36%);
}

.order-table-field:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.28);
    box-shadow: 0 20px 38px rgba(var(--text-rgb) / 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.order-table-field:focus-within {
    border-color: rgba(var(--primary-rgb) / 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.08), 0 20px 38px rgba(var(--text-rgb) / 0.1);
}

.order-table-field span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.order-table-field-head {
    display: grid;
    gap: 6px;
}

.order-table-field-note {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
}

.order-table-field span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb) / 0.14);
}

.order-table-field select {
    min-height: 50px;
    padding-inline: 14px 44px;
    border-radius: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--surface);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%235E7C60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 239, 229, 0.98) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: left 14px center, center;
    background-size: 14px 14px, auto;
    border-color: rgba(160, 182, 163, 0.95);
    box-shadow: 0 12px 24px rgba(var(--text-rgb) / 0.06);
    font-weight: 800;
}

.order-table-native-select {
    position: absolute;
    inset: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.order-table-selection-status {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(223, 209, 191, 0.9);
    color: #7a5334;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.order-table-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.order-table-option {
    display: grid;
    gap: 4px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: 18px;
    border: 1px solid rgba(160, 182, 163, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 239, 229, 0.98) 100%);
    color: var(--text);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.order-table-option:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.36);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.09);
}

.order-table-option:focus-visible {
    outline: none;
    border-color: rgba(var(--primary-rgb) / 0.54);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12), 0 14px 28px rgba(var(--text-rgb) / 0.09);
}

.order-table-option-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
}

.order-table-option-number {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    color: #7a5334;
}

.order-table-option.is-active {
    border-color: rgba(var(--primary-rgb) / 0.7);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.16), 0 16px 30px rgba(var(--text-rgb) / 0.1);
}

.order-table-field.is-invalid {
    border-color: rgba(201, 86, 74, 0.72);
    box-shadow: 0 0 0 4px rgba(201, 86, 74, 0.1), 0 20px 38px rgba(var(--text-rgb) / 0.1);
}

.order-table-field select:focus {
    border-color: rgba(var(--primary-rgb) / 0.42);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12), 0 12px 24px rgba(var(--text-rgb) / 0.08);
}

.checkout-takeout {
    justify-content: flex-start;
}

.takeout-status {
    margin-top: 8px;
    color: var(--success);
    font-size: 13px;
    font-weight: 700;
}

.takeout-lock-note {
    margin-top: 8px;
    color: #a4493d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.delivery-map-block {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.delivery-map-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.delivery-map-head span {
    color: var(--muted);
    font-size: 12px;
}

#delivery-map {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.is-hidden {
    display: none !important;
}

.cart-remove-btn {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(158, 47, 40, 0.1);
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 14px;
    color: #b42318;
    background: rgba(255, 228, 230, 0.95);
    border: 1px solid rgba(240, 68, 56, 0.18);
    box-shadow: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.cart-remove-btn:hover,
.cart-remove-btn:focus-visible {
    color: #912018;
    background: rgba(254, 205, 211, 0.98);
    outline: none;
}

.cart-remove-btn:active {
    transform: scale(0.96);
}

.cart-remove-btn svg,
.cart-remove-btn .cart-trash-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body[data-theme="dark"] .cart-remove-btn {
    color: #fda29b;
    background: rgba(127, 29, 29, 0.35);
    border-color: rgba(240, 68, 56, 0.28);
}


.cart-remove-btn:hover {
    background: rgba(158, 47, 40, 0.16);
    transform: translateY(-1px);
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 15px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb) / 0.45);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12);
    background: #fffefc;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

label {
    display: grid;
    gap: 8px;
}

label span {
    font-size: 14px;
    color: var(--muted);
}

.order-form .order-inline-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.order-form .order-inline-field span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.order-form .order-inline-field input {
    flex: 1 1 auto;
    min-width: 0;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    min-height: 46px;
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(var(--text-rgb) / 0.1);
}

.btn:focus-visible,
.category-toggle:focus-visible,
.social-link:focus-visible,
.admin-nav a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.14);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: #f1eadf;
    color: var(--text);
}

.btn-light:hover {
    background: #eadfce;
}

.btn-danger {
    background: #f8e4e2;
    color: var(--danger);
}

.btn-danger:hover {
    background: #f3d4d1;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.full-width {
    width: 100%;
}

.total-box {
    margin: 18px 0;
    padding: 18px 20px;
    background: var(--surface-soft);
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.invoice-payment-card {
    display: grid;
    gap: 6px;
    margin-top: -6px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.invoice-payment-card-label,
.invoice-payment-card-owner {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.invoice-payment-card-number {
    direction: ltr;
    unicode-bidi: plaintext;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--text);
}

body[data-theme="dark"] .invoice-payment-card {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
}

.helper-note {
    font-size: 13px;
    margin-top: 14px;
}

.site-footer {
    padding: 28px 0 0;
    margin-top: 28px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(180, 198, 183, 0.9);
}

.site-footer:empty {
    display: none;
    padding: 0;
    margin: 0;
    border: 0;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 11px 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button.social-link {
    cursor: pointer;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.08);
    border-color: rgba(var(--primary-rgb) / 0.18);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.social-link svg path,
.social-link svg rect,
.social-link svg circle {
    fill: none;
    stroke: currentColor;
}

.alert {
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 12px;
    margin-bottom: 18px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
}

.alert-success {
    background: #e7f6ec;
    color: #1d693c;
    border-color: #c8e9d3;
}

.alert-error {
    background: #fdeceb;
    color: #972a24;
    border-color: #f5d0cd;
}

.flash-link-row,
.tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.flash-tracking-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
}

.flash-tracking-code span {
    font-size: 12px;
    opacity: 0.88;
}

.flash-tracking-code strong {
    font-size: 15px;
    letter-spacing: 0.08em;
}

.flash-helper {
    margin-top: 10px;
    color: inherit;
    opacity: 0.84;
    font-size: 13px;
}

.tracking-shell {
    width: min(100%, 760px);
}

.tracking-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.tracking-card {
    display: grid;
    gap: 16px;
}

.tracking-search-card {
    padding: 16px 18px;
}

.tracking-search-form {
    display: grid;
    gap: 12px;
}

.tracking-search-field {
    display: grid;
    gap: 8px;
}

.tracking-search-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.tracking-search-field input {
    text-align: left;
    direction: ltr;
}

.tracking-link-box {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
    color: var(--text);
    line-height: 1.8;
    word-break: break-all;
}

.tracking-items {
    display: grid;
    gap: 12px;
}

.tracking-address {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.tracking-address span {
    color: var(--muted);
    font-size: 13px;
}

.tracking-preparation-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff8ee 0%, #f8efe3 100%);
    border: 1px solid rgba(226, 188, 116, 0.44);
}

.tracking-preparation-card.is-overdue {
    background: linear-gradient(180deg, #fff3f1 0%, #fde8e5 100%);
    border-color: rgba(186, 79, 66, 0.28);
}

.tracking-courier-card {
    background: linear-gradient(180deg, #eef7ff 0%, #e3f0fb 100%);
    border-color: rgba(98, 149, 201, 0.34);
}

.tracking-preparation-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tracking-preparation-head strong,
.tracking-preparation-item strong {
    color: var(--text);
}

.tracking-preparation-head strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.tracking-preparation-head span,
.tracking-preparation-item span,
.tracking-preparation-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.tracking-preparation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.16);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.tracking-preparation-card.is-overdue .tracking-preparation-badge {
    background: rgba(186, 79, 66, 0.12);
    color: #9e2f28;
}

.tracking-courier-card .tracking-preparation-badge {
    background: rgba(56, 123, 192, 0.12);
    color: #245b92;
}

.tracking-preparation-progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.1);
    overflow: hidden;
}

.tracking-preparation-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: width 0.3s ease;
}

.tracking-preparation-card.is-overdue .tracking-preparation-progress span {
    background: linear-gradient(90deg, #d86d62, #b83c33);
}

.tracking-courier-card .tracking-preparation-progress span {
    background: linear-gradient(90deg, #5aa0e8, #2f6fae);
}

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

.tracking-preparation-item {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
}

.tracking-preparation-note {
    margin: 0;
}

.tracking-preparation-note strong {
    color: #2f1e12;
}

.tracking-courier-box {
    gap: 12px;
}

.tracking-courier-grid {
    gap: 10px;
}

.delivery-confirm-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff9ed 0%, #f7eedf 100%);
    border: 1px solid rgba(226, 188, 116, 0.4);
}

.delivery-confirm-card.is-reported {
    background: linear-gradient(180deg, #fff3f1 0%, #fde8e5 100%);
    border-color: rgba(186, 79, 66, 0.28);
}

.delivery-confirm-head {
    display: grid;
    gap: 6px;
}

.delivery-confirm-head strong {
    color: #2f1e12;
    font-size: 15px;
    font-weight: 800;
}

.delivery-confirm-head span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.delivery-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.delivery-confirm-actions .btn {
    flex: 1 1 180px;
}

.delivery-confirm-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.delivery-call-btn {
    margin-inline-start: 10px;
}

.auth-body {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(var(--primary-rgb) / 0.24), transparent 24%),
        radial-gradient(circle at bottom left, rgba(var(--text-rgb) / 0.08), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

.auth-card {
    width: min(480px, 100%);
    padding: 30px;
    display: grid;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.96) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #8FA891 0%, #5E7C60 100%);
}

.login-card::after {
    content: "";
    position: absolute;
    top: -46px;
    left: -28px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb) / 0.18), transparent 72%);
    pointer-events: none;
}

.auth-card-head {
    display: grid;
    gap: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #2F4F3A, #5E7C60);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 16px 28px rgba(91, 68, 55, 0.2);
}

.auth-eyebrow {
    display: inline-flex;
    justify-self: center;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.auth-card h1 {
    margin: 0;
    font-size: 30px;
    color: #2b190f;
}

.auth-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.auth-form {
    gap: 14px;
    position: relative;
    z-index: 1;
}

.auth-form label {
    gap: 10px;
}

.auth-form label span {
    font-size: 13px;
    font-weight: 700;
    color: #5a4739;
}

.auth-form input[type="text"],
.auth-form input[type="password"] {
    min-height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(221, 209, 194, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-form .btn {
    margin-top: 6px;
    min-height: 52px;
    border-radius: 18px;
    font-size: 15px;
    box-shadow: 0 14px 28px rgba(91, 68, 55, 0.14);
}

.auth-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    background: rgba(var(--primary-rgb) / 0.07);
    border-radius: 16px;
    padding: 10px 12px;
}

.auth-card-foot {
    display: flex;
    justify-content: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--primary);
    font-weight: 700;
}

.admin-header {
    position: relative;
    z-index: 5;
    overflow: visible;
    padding: 24px 28px;
    background:
        linear-gradient(135deg, rgba(250, 252, 250, 0.97), rgba(200, 216, 202, 0.95)),
        rgba(250, 252, 250, 0.92);
}

.admin-user {
    background: var(--surface-soft);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.admin-body {
    background:
        radial-gradient(circle at top right, rgba(180, 190, 174, 0.18), transparent 28%),
        linear-gradient(180deg, #565D4E 0%, #565D4E 100%);
    color: #B4BEAE;
}

.admin-body .admin-sidebar-card,
.admin-body .admin-section-group,
.admin-body .admin-header,
.admin-body .admin-panel,
.admin-body .admin-nav {
    background: #565D4E;
    border-color: rgba(180, 190, 174, 0.22);
    color: #B4BEAE;
}


.admin-shell.admin-layout {
    width: min(1480px, calc(100% - 40px));
    padding-top: 24px;
}

.admin-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-sidebar {
    flex: 0 0 292px;
    width: 292px;
    max-width: 292px;
    position: sticky;
    top: 20px;
    z-index: 20;
    display: grid;
    gap: 14px;
    align-self: flex-start;
    overflow: visible;
}

.admin-content {
    flex: 1 1 auto;
    width: min(100%, calc(100% - 316px));
    min-width: 0;
    position: relative;
    z-index: 1;
}

.admin-sidebar-card,
.admin-section-group {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.admin-sidebar-card {
    padding: 14px;
}

.sidebar-notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.sidebar-notification-group {
    display: grid;
    gap: 10px;
}

.sidebar-notification-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar-notification-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sidebar-notification-heading strong {
    font-size: 13px;
    color: #2f1e12;
}

.sidebar-notification-heading a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.sidebar-notification-list {
    display: grid;
    gap: 8px;
}

.sidebar-notification-item {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-notification-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(var(--text-rgb) / 0.06);
    border-color: rgba(var(--primary-rgb) / 0.2);
}

.sidebar-notification-item strong {
    display: block;
    font-size: 13px;
    color: #2f1e12;
}

.sidebar-notification-item span,
.sidebar-notification-item small,
.sidebar-notification-empty {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.sidebar-notification-empty {
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    background: #f8f3eb;
    border: 1px dashed rgba(180, 198, 183, 0.9);
}

.admin-content > .alert {
    margin-top: 0;
    margin-bottom: 18px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: 0 18px 42px rgba(var(--text-rgb) / 0.08);
}

.admin-header-title {
    display: flex;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-header h1 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.9);
    color: #2f1e12;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    max-width: 100%;
}

.admin-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    width: 100%;
}

.admin-actions .btn,
.admin-actions .admin-user {
    width: 40px;
    min-width: 40px;
    justify-self: auto;
}

.admin-sound-enable-btn {
    color: #8a2f2f;
    border-color: rgba(181, 75, 75, 0.22);
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 236, 236, 0.98));
}

.admin-sound-enable-btn[hidden] {
    display: none !important;
}

.admin-notification-popover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.admin-notification-toggle {
    position: relative;
}

.admin-notification-toggle.has-alert {
    color: #8a2f2f;
    border-color: rgba(181, 75, 75, 0.22);
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 236, 236, 0.98));
}

.admin-header-notification-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #c04b43;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    border: 2px solid #fff;
}

.admin-header-notification-badge[hidden],
.sidebar-notification-count[hidden] {
    display: none !important;
}

.admin-notification-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 32px));
    max-height: min(70vh, 640px);
    display: grid;
    gap: 14px;
    padding: 14px;
    overflow: hidden;
    overflow-y: auto;
    border-radius: 22px;
    border: 1px solid rgba(180, 198, 183, 0.96);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 24px 48px rgba(var(--text-rgb) / 0.16);
    z-index: 35;
}

.admin-notification-panel[hidden] {
    display: none !important;
}

.admin-notification-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: -14px;
    padding-bottom: 4px;
    background: rgba(255, 252, 247, 0.98);
}

.admin-notification-panel-head strong {
    font-size: 14px;
    color: #2f1e12;
}

.admin-notification-panel-body {
    display: grid;
    gap: 14px;
}

.admin-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0;
}

.admin-user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 40px;
    padding: 0;
    font-weight: 700;
}

.admin-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.admin-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.admin-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    line-height: 0;
}

.admin-inline-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.admin-quick-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.78);
}

.admin-quick-list span {
    color: var(--muted);
    font-size: 12px;
}

.admin-quick-list strong {
    font-size: 16px;
}

.admin-sidebar-card .section-title.compact {
    margin-bottom: 10px;
}

.admin-header-title {
    display: grid;
    gap: 8px;
}

.admin-header-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(91, 68, 55, 0.1);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.admin-header p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.admin-identity-card {
    display: grid;
    gap: 14px;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 238, 0.96));
}

.admin-identity-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-identity-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2F4F3A, #5E7C60);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(91, 68, 55, 0.18);
}

.admin-identity-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-identity-copy strong {
    color: #2f1e12;
    font-size: 15px;
}

.admin-identity-copy span {
    color: var(--muted);
    font-size: 12px;
    direction: ltr;
    text-align: left;
}

.admin-identity-metrics {
    display: grid;
    gap: 10px;
}

.admin-identity-metrics div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(180, 198, 183, 0.88);
}

.admin-identity-metrics span {
    color: var(--muted);
    font-size: 11px;
}

.admin-identity-metrics strong {
    color: #2f1e12;
    font-size: 12px;
    line-height: 1.8;
    word-break: break-all;
}

.admin-command-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    margin-bottom: 18px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 24%),
        linear-gradient(135deg, rgba(250, 252, 250, 0.98), rgba(200, 216, 202, 0.96));
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: var(--shadow-soft);
}

.admin-command-copy {
    display: grid;
    gap: 8px;
    align-content: center;
}

.admin-command-kicker {
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.admin-command-copy h2 {
    margin: 0;
    font-size: 26px;
    color: #2f1e12;
}

.admin-command-copy p {
    margin: 0;
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.85;
}

.admin-command-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: min(100%, 460px);
}

.admin-command-pill {
    display: grid;
    gap: 6px;
    align-content: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(180, 198, 183, 0.86);
}

.admin-command-pill-head,
.admin-glance-card-head {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(91, 68, 55, 0.08);
    color: var(--primary-dark);
}

.admin-command-pill span {
    color: var(--muted);
    font-size: 11px;
}

.admin-command-pill strong {
    color: #2f1e12;
    font-size: 16px;
    line-height: 1.7;
    word-break: break-word;
}

.admin-command-pill-accent {
    background: linear-gradient(135deg, rgba(91, 68, 55, 0.96), rgba(122, 91, 74, 0.92));
    border-color: transparent;
}

.admin-command-pill-accent .admin-command-pill-head {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
}

.admin-command-pill-accent span,
.admin-command-pill-accent strong {
    color: rgba(255, 255, 255, 0.94);
}

.admin-glance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-glance-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.admin-glance-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-glance-card-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-glance-card-title {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.admin-glance-card span {
    color: var(--muted);
    font-size: 12px;
}

.admin-glance-card strong {
    color: #2f1e12;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.admin-glance-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.admin-glance-card.is-alert {
    background: linear-gradient(180deg, rgba(255, 244, 244, 0.98), rgba(255, 232, 232, 0.98));
    border-color: rgba(198, 40, 40, 0.28);
    box-shadow: 0 14px 30px rgba(198, 40, 40, 0.12);
}

.admin-glance-card.is-alert .admin-glance-card-head {
    background: rgba(198, 40, 40, 0.12);
    color: #c62828;
}

.admin-glance-card.is-alert span,
.admin-glance-card.is-alert small {
    color: rgba(132, 34, 34, 0.86);
}

.admin-glance-card.is-alert strong {
    color: #b71c1c;
}

.admin-glance-card.is-positive {
    background: linear-gradient(180deg, rgba(241, 255, 246, 0.98), rgba(228, 250, 235, 0.98));
    border-color: rgba(46, 125, 50, 0.24);
    box-shadow: 0 14px 30px rgba(46, 125, 50, 0.12);
}

.admin-glance-card.is-positive .admin-glance-card-head {
    background: rgba(46, 125, 50, 0.12);
    color: #2e7d32;
}

.admin-glance-card.is-positive span,
.admin-glance-card.is-positive small {
    color: rgba(36, 92, 39, 0.88);
}

.admin-glance-card.is-positive strong {
    color: #1b5e20;
}

.admin-nav-link-copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-nav-group-label {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
}

.admin-nav-item-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    font-size: 16px;
    line-height: 1;
    color: rgba(var(--primary-rgb) / 0.55);
    transition: transform 0.2s ease, color 0.2s ease;
}

.stat-card {
    padding: 22px;
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-card span {
    color: var(--muted);
}

.stat-card strong {
    font-size: 24px;
}

.stat-card.is-positive {
    background: linear-gradient(180deg, rgba(241, 255, 246, 0.98), rgba(228, 250, 235, 0.98));
    border: 1px solid rgba(46, 125, 50, 0.24);
    box-shadow: 0 16px 28px rgba(46, 125, 50, 0.12);
}

.stat-card.is-positive span,
.stat-card.is-positive small {
    color: rgba(36, 92, 39, 0.88);
}

.stat-card.is-positive strong {
    color: #1b5e20;
}

.admin-nav {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(248, 244, 238, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(180, 198, 183, 0.8);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.admin-nav a,
.admin-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-height: 54px;
    padding: 14px 16px 14px 14px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-nav-group {
    display: block;
    margin: 0;
    padding: 0;
}

.admin-nav-group[open] {
    display: grid;
    gap: 8px;
}

.admin-nav-group summary {
    list-style: none;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.admin-nav-group summary::-webkit-details-marker {
    display: none !important;
}

.admin-nav-group summary::marker {
    content: "";
    font-size: 0;
}

.admin-nav-group-summary {
    display: block;
    cursor: pointer;
}

.admin-nav-group[open] .admin-nav-item-arrow {
    transform: rotate(-90deg);
}

.admin-nav a:hover,
.admin-nav-group-summary:hover .admin-nav-trigger {
    transform: translateX(-2px);
    background: #fff;
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-nav-submenu {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 0 12px 0 0;
}

.admin-nav-submenu a {
    min-height: 48px;
    padding-right: 18px;
    border-radius: 12px;
}

.admin-nav-submenu a::after {
    display: none;
}

.admin-nav a .admin-inline-icon,
.admin-nav-trigger .admin-inline-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.admin-nav a .admin-inline-icon svg,
.admin-nav-trigger .admin-inline-icon svg {
    width: 20px;
    height: 20px;
}

.admin-nav a.is-active {
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(91, 68, 55, 0.16);
}

.admin-nav a.is-active:hover {
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    border-color: transparent;
}

.admin-nav a.is-active .admin-nav-item-arrow {
    color: rgba(255, 255, 255, 0.82);
}

.admin-quick-access-card {
    display: grid;
    gap: 0;
}

.admin-quick-access-list {
    display: grid;
    gap: 10px;
}

.admin-quick-access-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
    color: #2f1e12;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-quick-access-trigger {
    width: 100%;
    font: inherit;
    text-align: right;
    cursor: pointer;
}

.admin-quick-access-link:hover {
    transform: translateX(-2px);
    background: #fff;
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-quick-access-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-quick-access-text {
    min-width: 0;
}

.admin-quick-access-text strong {
    font-size: 13px;
}

.admin-quick-access-link .admin-inline-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.admin-quick-access-link .admin-inline-icon svg {
    width: 20px;
    height: 20px;
}

.admin-quick-access-link.is-active {
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(91, 68, 55, 0.16);
}

.admin-quick-access-link.is-active .admin-nav-item-arrow {
    color: rgba(255, 255, 255, 0.82);
}

.admin-quick-modal-dialog {
    width: min(100%, 560px);
}

.admin-quick-modal-head {
    align-items: flex-start;
}

.admin-quick-modal-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-quick-modal-stat span {
    color: rgba(242, 242, 242, 0.66);
    font-size: 12px;
    font-weight: 700;
}

.admin-quick-modal-stat strong {
    color: #f2f2f2;
    font-size: 20px;
    line-height: 1;
}

.admin-quick-modal-body {
    display: grid;
    gap: 10px;
    max-height: min(48vh, 380px);
    padding-left: 2px;
    overflow-y: auto;
}

#delayed-orders-quick-modal-body .sidebar-notification-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 242, 242, 0.1);
}

#delayed-orders-quick-modal-body .admin-delayed-order-list {
    gap: 12px;
}

#delayed-orders-quick-modal-body .admin-delayed-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#delayed-orders-quick-modal-body .sidebar-notification-item:hover {
    border-color: rgba(242, 242, 242, 0.2);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

#delayed-orders-quick-modal-body .admin-delayed-order-copy {
    display: grid;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

#delayed-orders-quick-modal-body .sidebar-notification-item strong {
    color: #f2f2f2;
}

#delayed-orders-quick-modal-body .admin-delayed-order-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #f6c27a;
    font-size: 12px;
    font-weight: 700;
}

#delayed-orders-quick-modal-body .sidebar-notification-item span,
#delayed-orders-quick-modal-body .sidebar-notification-item small,
#delayed-orders-quick-modal-body .sidebar-notification-empty {
    color: rgba(242, 242, 242, 0.74);
}

#delayed-orders-quick-modal-body .sidebar-notification-empty {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 242, 242, 0.12);
}

#delayed-orders-quick-modal-body .admin-delayed-order-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

#delayed-orders-quick-modal-body .admin-delayed-order-action {
    min-width: 88px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.admin-quick-waiter-call-list {
    gap: 12px;
}

.admin-quick-waiter-call-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-quick-waiter-call-copy {
    display: grid;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-quick-waiter-call-copy strong {
    font-size: 14px;
    color: #f2f2f2;
}

.admin-quick-waiter-call-copy span,
.admin-quick-waiter-call-copy small {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    line-height: 1.7;
}

.admin-quick-waiter-call-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.admin-quick-waiter-call-action {
    min-width: 72px;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 12px;
}

.admin-quick-waiter-call-action.is-reject {
    background: rgba(255, 255, 255, 0.06);
    color: #f2f2f2;
    border-color: rgba(242, 242, 242, 0.12);
}

.admin-quick-waiter-call-action.is-reject:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.34);
}

.admin-quick-modal-actions {
    margin-top: 4px;
}

.admin-manual-order-modal-dialog {
    width: min(100%, 720px);
}

.admin-manual-order-page-panel {
    display: grid;
    gap: 18px;
}

.admin-manual-order-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-manual-order-form {
    display: grid;
    gap: 14px;
}

.admin-manual-order-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-manual-order-step {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 14px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(242, 242, 242, 0.08);
    text-align: center;
    transition: 0.2s ease;
}

.admin-manual-order-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(242, 242, 242, 0.82);
    font-size: 13px;
    font-weight: 800;
}

.admin-manual-order-step strong {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    font-weight: 800;
}

.admin-manual-order-step.is-active {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.08));
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.admin-manual-order-step.is-active span,
.admin-manual-order-step.is-completed span {
    background: #22c55e;
    color: #052e16;
}

.admin-manual-order-step.is-active strong,
.admin-manual-order-step.is-completed strong {
    color: #f0fdf4;
}

.admin-manual-order-step.is-completed {
    border-color: rgba(34, 197, 94, 0.18);
}

.admin-manual-order-panel {
    display: grid;
    gap: 14px;
}

.admin-manual-order-panel[hidden] {
    display: none !important;
}

.admin-manual-order-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px;
}

.admin-manual-order-section-head strong {
    color: #f2f2f2;
    font-size: 15px;
    font-weight: 800;
}

.admin-manual-order-section-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(242, 242, 242, 0.84);
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-feedback {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(242, 242, 242, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 700;
}

.admin-manual-order-feedback[data-state="success"] {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.16);
    color: #dcfce7;
}

.admin-manual-order-feedback[data-state="error"] {
    border-color: rgba(239, 68, 68, 0.32);
    background: rgba(239, 68, 68, 0.16);
    color: #fee2e2;
}

.admin-manual-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-manual-order-table-picker {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-manual-order-table-head span {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.admin-manual-order-table-head small {
    color: rgba(220, 252, 231, 0.82);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-table-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-manual-order-table-option {
    display: grid;
    gap: 6px;
    justify-items: center;
    min-height: 92px;
    padding: 12px 8px;
    border-radius: 18px;
    border: 1px solid rgba(242, 242, 242, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    text-align: center;
    transition: 0.2s ease;
}

.admin-manual-order-table-option:hover {
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.08);
}

.admin-manual-order-table-option.is-active {
    border-color: rgba(34, 197, 94, 0.34);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.admin-manual-order-table-option.is-disabled,
.admin-manual-order-table-option:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.admin-manual-order-table-option-label {
    color: rgba(242, 242, 242, 0.68);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-table-option-number {
    color: #f8fafc;
    font-size: 20px;
    font-weight: 900;
}

.admin-manual-order-field {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-field span {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.admin-manual-order-field input,
.admin-manual-order-field select,
.admin-manual-order-field textarea {
    min-height: 48px;
    background: #1b1b1d;
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-manual-order-field textarea {
    min-height: 96px;
}

.admin-manual-order-builder,
.admin-manual-order-selected {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent 48%);
    border: 1px solid rgba(242, 242, 242, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 36px rgba(0, 0, 0, 0.14);
}

.admin-manual-order-inline-items {
    margin-top: 2px;
}

.admin-manual-order-builder-surface {
    display: grid;
    gap: 14px;
}

.admin-manual-order-search-field input[type="search"] {
    min-height: 54px;
}

.admin-manual-order-search-results {
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow: auto;
    padding-inline-end: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 197, 94, 0.72) rgba(242, 242, 242, 0.06);
}

.admin-manual-order-search-results::-webkit-scrollbar {
    width: 8px;
}

.admin-manual-order-search-results::-webkit-scrollbar-track {
    background: rgba(242, 242, 242, 0.06);
    border-radius: 999px;
}

.admin-manual-order-search-results::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.92), rgba(34, 197, 94, 0.88));
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.admin-manual-order-search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(134, 239, 172, 0.96), rgba(34, 197, 94, 0.96));
}

.admin-manual-order-search-result {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(242, 242, 242, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #f8fafc;
    text-align: right;
    transition: 0.2s ease;
}

.admin-manual-order-search-result:hover,
.admin-manual-order-search-result.is-active {
    border-color: rgba(34, 197, 94, 0.26);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.08));
}

.admin-manual-order-search-result strong {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.admin-manual-order-search-result span {
    color: rgba(242, 242, 242, 0.66);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-selected-product {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.08);
}

.admin-manual-order-selected-product small {
    color: rgba(220, 252, 231, 0.72);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-selected-product strong {
    color: #f0fdf4;
    font-size: 14px;
    font-weight: 800;
}

.admin-manual-order-selected-product span {
    color: rgba(220, 252, 231, 0.84);
    font-size: 12px;
    font-weight: 700;
}

.admin-manual-order-search-field input[type="search"] {
    padding-inline: 14px;
}

.admin-manual-order-items-list {
    display: grid;
    gap: 10px;
}

.admin-manual-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.1);
}

.admin-manual-order-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-manual-order-item-copy strong {
    color: #f2f2f2;
    font-size: 13px;
}

.admin-manual-order-item-copy span {
    color: rgba(242, 242, 242, 0.68);
    font-size: 12px;
}

.admin-manual-order-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.admin-manual-order-item-total {
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 800;
}

.admin-manual-order-remove {
    min-width: 54px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 12px;
}

.admin-manual-order-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-manual-order-review-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-review-card.full-span {
    grid-column: 1 / -1;
}

.admin-manual-order-review-card small {
    color: rgba(242, 242, 242, 0.62);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-review-card strong {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    word-break: break-word;
}

.admin-manual-order-item.is-review {
    align-items: center;
}

.admin-manual-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.admin-manual-order-step-actions {
    margin-inline-start: auto;
}

.admin-entry-toggle {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-entry-toggle summary {
    list-style: none;
    cursor: pointer;
}

.admin-entry-toggle summary::-webkit-details-marker {
    display: none;
}

.admin-entry-toggle summary::marker {
    content: "";
    font-size: 0;
}

.admin-entry-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-entry-summary-copy {
    display: grid;
    gap: 4px;
}

.admin-entry-summary-copy strong {
    font-size: 14px;
}

.admin-entry-summary-copy small {
    color: var(--muted);
    font-size: 12px;
}

.admin-entry-summary-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    font-size: 16px;
    line-height: 1;
    color: rgba(var(--primary-rgb) / 0.55);
    transform: rotate(180deg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.admin-entry-toggle[open] .admin-entry-summary-arrow {
    transform: rotate(90deg);
}

.admin-entry-summary:hover {
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-entry-panel {
    display: grid;
}

.admin-order-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.admin-order-edit-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-order-edit-head .section-title {
    margin-bottom: 0;
}

.admin-order-edit-head .section-title p {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-order-edit-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-order-edit-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(180, 198, 183, 0.9);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-order-edit-panel {
    padding: 22px 22px 24px;
}

.admin-order-edit-form,
.admin-order-edit-summary {
    display: grid;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 243, 238, 0.72));
    border: 1px solid rgba(180, 198, 183, 0.88);
    box-shadow: 0 12px 26px rgba(var(--text-rgb) / 0.07);
}

.admin-order-edit-form {
    order: -1;
}

.admin-order-edit-table-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(226, 208, 186, 0.96), rgba(208, 182, 151, 0.92));
    border: 1px solid rgba(176, 139, 102, 0.9);
}

.admin-order-edit-table-form {
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 0;
}

.admin-order-edit-table-box .section-title h2,
.admin-order-edit-table-box .section-title p {
    color: #111111;
}

.admin-order-edit-head .section-title,
.admin-order-edit-summary .section-title,
.admin-order-edit-form-head .section-title {
    display: grid;
    justify-content: flex-start;
    gap: 4px;
}

.admin-order-edit-form .section-title {
    margin-bottom: 0;
}

.admin-order-edit-form .section-title h2,
.admin-order-edit-summary .section-title h2 {
    font-size: 17px;
    line-height: 1.5;
}

.admin-order-edit-form .section-title p {
    margin: 0;
    color: rgba(91, 68, 55, 0.8);
    font-size: 13px;
    line-height: 1.9;
}

.admin-order-edit-form-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 16px;
}

.admin-order-edit-close {
    flex: 0 0 auto;
    min-height: 46px;
    padding-inline: 18px;
    white-space: nowrap;
    align-self: start;
}

.admin-order-edit-add-form {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-bottom: 0;
}

.admin-order-edit-form-surface {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: calc(100% + 250px);
    min-width: 0;
    max-width: none;
    justify-self: stretch;
    margin-inline-end: -250px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-order-edit-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-order-edit-field.is-item {
    min-width: 0;
}

.admin-order-edit-field.is-qty {
    min-width: 0;
    max-width: none;
    width: 100%;
    grid-template-columns: auto minmax(180px, 220px);
    justify-content: space-between;
}

.admin-order-edit-field > span {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
    color: #2F4F3A;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.admin-order-edit-field.is-item select,
.admin-order-edit-field.is-qty input {
    width: 100%;
}

.admin-order-edit-field.is-item select {
    min-width: 0;
    max-width: 100%;
    text-align: right;
}

.admin-order-edit-field.is-item select,
.admin-order-edit-field.is-qty input {
    min-height: 50px;
    padding: 0 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(180, 198, 183, 0.9);
    font-size: 15px;
    line-height: 1.4;
    color: #2f1e12;
    box-sizing: border-box;
}

.admin-order-edit-field.is-qty input {
    appearance: textfield;
    -moz-appearance: textfield;
    text-align: center;
    font-weight: 700;
}

.admin-order-edit-field.is-qty input::-webkit-outer-spin-button,
.admin-order-edit-field.is-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.admin-order-edit-qty-control {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.admin-order-edit-qty-control input {
    min-width: 0;
}

.admin-order-edit-qty-btn {
    min-height: 50px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f1e12;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-order-edit-qty-btn:hover {
    background: rgba(245, 237, 225, 0.96);
    border-color: rgba(var(--primary-rgb) / 0.26);
}

.admin-order-edit-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
}

.admin-order-edit-submit {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f8c58, #256f46);
    color: #f7faf8;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(37, 111, 70, 0.2);
}

.admin-order-edit-items {
    display: grid;
    gap: 10px;
}

.admin-order-edit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: #f8f3eb;
}

.admin-order-edit-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-order-edit-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-order-edit-item-copy small {
    color: var(--muted);
}

.admin-order-edit-item-meta {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: left;
    white-space: nowrap;
    flex: 0 0 auto;
}

.admin-order-edit-total {
    margin-top: 6px;
}

.orders-status-summary {
    margin-bottom: 16px;
}

.orders-status-board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.orders-status-board {
    display: grid;
    gap: 6px;
    align-self: start;
    padding: 10px;
}

.orders-status-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.orders-status-board-summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.orders-status-board-summary::-webkit-details-marker {
    display: none;
}

.orders-status-board-summary::marker {
    content: "";
    display: none;
}

.orders-status-board-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.orders-status-board-title-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: rgba(242, 242, 242, 0.92);
}

.orders-status-board-title-icon svg {
    width: 16px;
    height: 16px;
}

.orders-status-board-title-copy {
    display: grid;
    gap: 2px;
}

.orders-status-board-title h3 {
    margin: 0;
    font-size: 13px;
}

.orders-status-board-title-copy small {
    color: rgba(242, 242, 242, 0.66);
    font-size: 11px;
    line-height: 1.5;
}

.orders-status-board-head strong {
    font-size: 15px;
    line-height: 1;
}

.orders-status-board-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.orders-status-board-chevron {
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    opacity: 0.78;
}

.orders-status-board-collapse[open] .orders-status-board-chevron {
    transform: rotate(135deg);
}

.orders-status-board-collapse-content {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.orders-status-board-list {
    display: grid;
    gap: 6px;
}

.orders-status-board-item {
    display: grid;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.orders-status-board-item:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.orders-status-board-item-copy {
    display: grid;
    gap: 2px;
}

.orders-status-board-item-head {
    display: grid;
    gap: 3px;
}

.orders-status-board-item-copy strong {
    font-size: 13px;
    line-height: 1.25;
}

.orders-status-board-item-copy span,
.orders-status-board-item small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.orders-status-board-notes {
    display: grid;
    gap: 4px;
    grid-column: 1 / -1;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff8e8;
    border: 1px solid rgba(196, 130, 18, 0.28);
}

.orders-status-board-notes-label {
    font-size: 11px;
    font-weight: 800;
    color: #8a5a12;
}

.orders-status-board-notes p {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #4a3318;
    white-space: pre-wrap;
}

.orders-status-board-item-copy span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb) / 0.16);
    background: rgba(var(--primary-rgb) / 0.08);
}

.orders-status-board-form {
    display: grid;
    gap: 5px;
}

.orders-status-board-form select {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 10px;
}

.orders-status-board-form .order-preparation-field,
.orders-status-board-form .order-courier-fields {
    width: 100%;
}

.orders-status-board-form .order-courier-fields {
    grid-template-columns: minmax(0, 1fr);
}

.orders-status-board-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.orders-status-board-actions .admin-table-action,
.orders-status-board-actions .admin-table-action-form button {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.orders-status-board-actions .admin-inline-icon,
.orders-status-board-actions .admin-inline-icon svg {
    width: 13px;
    height: 13px;
}

.orders-status-board-empty {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.orders-status-board.status-pending {
    background: linear-gradient(180deg, rgba(255, 246, 230, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(231, 176, 67, 0.28);
}

.orders-status-board.status-preparing {
    background: linear-gradient(180deg, rgba(243, 237, 255, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(127, 88, 217, 0.26);
}

.orders-status-board.status-with-courier {
    background: linear-gradient(180deg, rgba(238, 246, 255, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(75, 143, 217, 0.24);
}

.orders-status-board.status-served,
.orders-status-board.status-settled {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.14), rgba(255, 253, 250, 0.98));
    border-color: rgba(var(--primary-rgb) / 0.22);
}

.orders-status-board .orders-status-board-list {
    gap: 10px;
}

.orders-status-board .orders-status-board-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-radius: 16px;
}

.orders-status-board .orders-status-board-item-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.orders-status-board .orders-status-board-item-copy {
    gap: 4px;
}

.orders-status-board .orders-status-board-item-copy strong {
    font-size: 14px;
}

.orders-status-board .orders-status-board-item small {
    white-space: nowrap;
}

.orders-status-board .orders-status-board-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 168px;
}

.orders-status-board .orders-status-board-form select {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.orders-status-board .orders-status-board-actions {
    justify-content: flex-end;
    gap: 6px;
}

.orders-status-board .admin-items-pagination {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 12px;
}

.orders-status-board .admin-items-pagination a,
.orders-status-board .admin-items-pagination-ellipsis {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
}

.orders-status-board.status-cancelled {
    background: linear-gradient(180deg, rgba(255, 241, 239, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(215, 93, 84, 0.24);
}

.admin-items-browser {
    display: grid;
    gap: 18px;
}

.admin-item-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-item-category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-item-category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-item-category-card.is-active {
    border-color: rgba(34, 197, 94, 0.34);
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.12);
}

.admin-item-category-card.is-empty {
    border-style: dashed;
    border-color: rgba(var(--primary-rgb) / 0.28);
    background: rgba(250, 252, 250, 0.88);
}

.admin-item-category-card.is-empty:hover {
    border-color: rgba(var(--primary-rgb) / 0.42);
    background: rgba(255, 255, 255, 0.98);
}

.admin-item-category-card.is-disabled {
    cursor: default;
    opacity: 0.58;
    box-shadow: none;
}

.admin-item-category-card.is-disabled:hover {
    transform: none;
    border-color: rgba(180, 198, 183, 0.9);
    box-shadow: none;
}

.admin-category-tree {
    display: grid;
    gap: 14px;
}

.admin-category-node {
    position: relative;
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
}

.admin-category-node summary {
    list-style: none;
    cursor: pointer;
}

.admin-category-node summary::-webkit-details-marker {
    display: none;
}

.admin-category-node summary::marker {
    content: "";
    font-size: 0;
}

.admin-category-node-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 72px;
    padding: 18px;
}

.admin-category-node-copy,
.admin-category-child-copy {
    display: grid;
    gap: 4px;
}

.admin-category-node-copy strong,
.admin-category-child-copy strong {
    font-size: 15px;
}

.admin-category-node-copy small,
.admin-category-child-copy small {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

.admin-category-node-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.admin-category-node-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    font-size: 18px;
    line-height: 1;
    color: rgba(var(--primary-rgb) / 0.55);
    transform: rotate(180deg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.admin-category-node[open] .admin-category-node-arrow {
    transform: rotate(90deg);
}

.admin-category-node-body {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
    border-top: 1px solid rgba(180, 198, 183, 0.9);
}

.admin-category-children {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.admin-category-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.82);
}

.admin-category-child--root {
    background: rgba(255, 255, 255, 0.96);
}

.admin-item-category-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-item-category-copy strong {
    font-size: 14px;
}

.admin-item-category-copy small {
    color: var(--muted);
    font-size: 12px;
}

.admin-item-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.08);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-items-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-items-results-head .section-title {
    margin-bottom: 0;
}

.admin-items-results-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

.admin-items-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.admin-items-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-items-pagination a:hover {
    transform: translateY(-1px);
}

.admin-items-pagination a.is-active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.admin-items-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--muted);
    font-weight: 700;
}

.admin-users-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(180, 198, 183, 0.22);
}

.admin-users-search-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(180, 198, 183, 0.28);
    background: rgba(255, 255, 255, 0.72);
}

.admin-users-search-field {
    display: grid;
    gap: 8px;
    flex: 1 1 280px;
}

.admin-users-search-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-users-search-field input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
}

.admin-users-search-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-users-pagination-meta {
    display: grid;
    gap: 4px;
}

.admin-users-pagination-meta strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.admin-users-pagination-meta span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-users-pagination {
    margin-top: 0;
    gap: 10px;
}

.admin-users-pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.28);
    background: rgba(255, 255, 255, 0.72);
}

.admin-users-pagination-pages .admin-items-pagination-ellipsis,
.admin-users-pagination-pages a {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 12px;
}

.admin-users-pagination-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-users-pagination-nav:hover {
    transform: translateY(-1px);
}

.admin-users-pagination-nav.is-disabled {
    opacity: 0.42;
    pointer-events: none;
}

.admin-users-pagination-icon {
    width: 16px;
    height: 16px;
}

.admin-users-pagination-icon--prev {
    transform: rotate(180deg);
}

.admin-table-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-table-action-form {
    margin: 0;
}

.admin-table-action,
.admin-table-action-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.admin-table-action:hover,
.admin-table-action-form button:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-table-action .admin-inline-icon,
.admin-table-action-form button .admin-inline-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.admin-table-action .admin-inline-icon svg,
.admin-table-action-form button .admin-inline-icon svg {
    width: 16px;
    height: 16px;
}

.admin-table-action.is-delete,
.admin-table-action-form .is-delete {
    color: #c04b43;
}

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

.admin-grid-split {
    margin-top: 18px;
    align-items: start;
}

.admin-stack {
    display: grid;
    gap: 22px;
}

.waiter-orders-list {
    display: grid;
    gap: 18px;
}

.waiter-order-card {
    display: grid;
    gap: 18px;
}

.waiter-order-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-section-group {
    padding: 22px;
    margin-bottom: 22px;
}

.admin-section-group.is-loading {
    opacity: 0.68;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.admin-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(180, 198, 183, 0.9);
}

.admin-section-heading-copy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.admin-section-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(91, 68, 55, 0.08);
    color: var(--primary-dark);
    flex: 0 0 46px;
}

.admin-section-heading-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-section-heading h2 {
    margin: 0 0 6px;
}

.admin-section-heading p {
    margin: 0;
    color: var(--muted);
}

.admin-dashboard {
    padding-bottom: 26px;
}

.dashboard-stats {
    margin-bottom: 0;
}

.dashboard-stats-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stats-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card small {
    color: var(--muted);
    font-size: 12px;
}

.stat-card-highlight {
    background: linear-gradient(135deg, rgba(91, 68, 55, 0.98), rgba(122, 91, 74, 0.96));
    color: #fff;
}

.stat-card-highlight span,
.stat-card-highlight small {
    color: rgba(255, 255, 255, 0.82);
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    margin-top: 14px;
}

.admin-dashboard-grid > .dashboard-panel {
    align-self: stretch;
    min-height: 0;
    height: 100%;
}

.admin-dashboard-grid > .admin-section-lock-shell {
    align-self: stretch;
    min-height: 0;
    height: 100%;
}

.admin-section-lock-shell {
    position: relative;
    display: grid;
    min-height: 0;
}

.admin-panel.admin-section-lock-shell {
    display: block;
}

.admin-section-lock-shell [data-admin-lock-content] {
    height: 100%;
    min-height: 0;
}

.admin-section-lock-shell.is-locked [data-admin-lock-content] {
    filter: blur(14px);
    pointer-events: none;
    user-select: none;
}

.admin-section-lock-shell.is-locked .dashboard-lock-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-section-lock-shell:not(.is-locked) .dashboard-lock-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dashboard-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 15, 17, 0.78);
    backdrop-filter: blur(8px);
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.dashboard-lock-form {
    display: grid;
    gap: 12px;
    width: min(100%, 320px);
    padding: 22px 20px;
    border-radius: 22px;
    border: 1px solid rgba(242, 242, 242, 0.12);
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(36, 36, 40, 0.98), rgba(27, 27, 29, 1));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
    text-align: center;
}

.dashboard-lock-icon {
    font-size: 28px;
    line-height: 1;
}

.dashboard-lock-title {
    color: #f2f2f2;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-lock-copy {
    margin: 0;
    color: rgba(242, 242, 242, 0.68);
    font-size: 13px;
    line-height: 1.7;
}

.dashboard-lock-field {
    display: grid;
    gap: 8px;
    text-align: right;
}

.dashboard-lock-field span {
    color: rgba(242, 242, 242, 0.62);
    font-size: 12px;
    font-weight: 700;
}

.dashboard-lock-field input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(242, 242, 242, 0.14);
    background: #1b1b1d;
    color: #f2f2f2;
    font: inherit;
    text-align: center;
    letter-spacing: 0.18em;
}

.dashboard-lock-field input[type="password"]:focus {
    border-color: rgba(34, 197, 94, 0.48);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
    outline: none;
}

.dashboard-lock-error {
    margin: 0;
    color: #fca5a5;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-lock-hint {
    color: rgba(134, 239, 172, 0.82);
    font-size: 11px;
    font-weight: 700;
}

.dashboard-panel {
    display: grid;
    align-self: start;
    gap: 12px;
}

.dashboard-panel-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dashboard-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    flex: 0 0 auto;
}

.dashboard-panel-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-panel-title-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dashboard-panel-title-copy h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

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

.dashboard-table-chip {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    width: 100%;
    min-height: 88px;
    padding: 14px 10px;
    border: 0;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-table-chip.is-status-pending,
.dashboard-table-chip.is-unreviewed-order {
    border: 1px solid rgba(220, 53, 45, 0.42);
    background: linear-gradient(180deg, rgba(255, 235, 235, 0.98) 0%, rgba(255, 214, 214, 0.94) 100%);
    box-shadow: 0 10px 22px rgba(192, 75, 67, 0.16);
    animation: dashboard-table-pending-pulse 2.2s ease-in-out infinite;
}

.dashboard-table-chip.is-status-pending span,
.dashboard-table-chip.is-unreviewed-order span {
    color: #9e2f28;
}

.dashboard-table-chip.is-status-pending strong,
.dashboard-table-chip.is-unreviewed-order strong {
    color: #7a1d18;
}

.dashboard-table-chip.is-status-pending small,
.dashboard-table-chip.is-unreviewed-order small {
    color: #b42318;
    font-weight: 800;
}

@keyframes dashboard-table-pending-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 45, 0.18), 0 10px 22px rgba(192, 75, 67, 0.16);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(220, 53, 45, 0.12), 0 12px 26px rgba(192, 75, 67, 0.22);
    }
}

.dashboard-table-chip span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-table-chip-title,
.dashboard-table-chip strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.dashboard-table-chip-status,
.dashboard-table-chip small {
    display: block;
    max-width: 100%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    opacity: 0.95;
    white-space: normal;
}

.dashboard-summary-list {
    display: grid;
    gap: 12px;
}

.dashboard-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.dashboard-summary-item span {
    display: block;
    font-weight: 700;
}

.dashboard-summary-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.dashboard-summary-item strong {
    flex: 0 0 auto;
    font-size: 24px;
    color: #2f1e12;
}

.dashboard-subtitle {
    margin-top: 8px;
    margin-bottom: 0;
}

.dashboard-summary-list {
    display: grid;
    gap: 12px;
}

.dashboard-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.dashboard-summary-item div {
    display: grid;
    gap: 2px;
}

.dashboard-summary-item span {
    font-weight: 700;
    color: #2f1e12;
}

.dashboard-summary-item small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.dashboard-summary-item strong {
    font-size: 24px;
    color: var(--primary-dark);
    white-space: nowrap;
}

.dashboard-subtitle {
    margin-bottom: -2px;
}

.dashboard-status-panel {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    height: 100%;
    min-height: 0;
}

.dashboard-status-panel .dashboard-table-grid {
    gap: 8px;
    height: 100%;
    min-height: 0;
    padding: 16px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 243, 238, 0.94) 100%);
    border: 1px solid rgba(94, 124, 96, 0.14);
    grid-auto-rows: 1fr;
    align-content: stretch;
    overflow-y: auto;
}

.dashboard-status-summary,
.dashboard-status-tables {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(94, 124, 96, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 244, 0.92) 100%);
}

.dashboard-status-summary-head,
.dashboard-status-tables-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(94, 124, 96, 0.1);
}

.dashboard-status-summary-copy,
.dashboard-status-tables-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dashboard-status-summary-title,
.dashboard-status-tables-copy > span {
    font-size: 12px;
    font-weight: 800;
    color: #2F4F3A;
    line-height: 1.35;
}

.dashboard-status-summary-copy small,
.dashboard-status-tables-copy small {
    font-size: 10px;
    color: #5A7260;
    line-height: 1.35;
}

.dashboard-status-summary-total,
.dashboard-status-tables-count {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.12);
    color: #2F4F3A;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.dashboard-status-panel .status-meter-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.dashboard-status-panel .status-meter-row {
    gap: 6px;
    min-height: 0;
    padding: 8px 9px 7px;
    border-radius: 12px;
    border: 1px solid rgba(94, 124, 96, 0.1);
    border-inline-start-width: 3px;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-status-panel .status-meter-row:not(.is-empty):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(47, 79, 58, 0.08);
}

.dashboard-status-panel .status-meter-row.is-empty {
    opacity: 0.72;
}

.dashboard-status-panel .status-meter-row--pending {
    border-inline-start-color: #eda83e;
}

.dashboard-status-panel .status-meter-row--preparing {
    border-inline-start-color: #8a74f6;
}

.dashboard-status-panel .status-meter-row--with_courier {
    border-inline-start-color: #79b5ee;
}

.dashboard-status-panel .status-meter-row--served {
    border-inline-start-color: #34a965;
}

.dashboard-status-panel .status-meter-row--settled {
    border-inline-start-color: #45beb0;
}

.dashboard-status-panel .status-meter-row--cancelled {
    border-inline-start-color: #d85e54;
}

.dashboard-status-panel .status-meter-label-group {
    gap: 6px;
}

.dashboard-status-panel .status-meter-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(94, 124, 96, 0.08);
}

.dashboard-status-panel .status-meter-head span {
    font-size: 10px;
    font-weight: 700;
    color: #5A7260;
    line-height: 1.3;
}

.dashboard-status-panel .status-meter-head strong {
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.1);
    color: #2F4F3A;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.dashboard-status-panel .status-meter-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.1);
}

.dashboard-status-panel .status-meter-fill {
    transition: width 0.35s ease;
}

.dashboard-status-panel .dashboard-table-chip {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 68px;
    align-content: center;
    padding: 8px 6px 7px;
    border-radius: 12px;
    border: 1px solid rgba(94, 124, 96, 0.12);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dashboard-status-panel .dashboard-table-chip::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: rgba(94, 124, 96, 0.35);
}

.dashboard-status-panel .dashboard-table-chip.is-status-pending::before,
.dashboard-status-panel .dashboard-table-chip.is-unreviewed-order::before {
    background: linear-gradient(90deg, #c77a15, #eda83e);
}

.dashboard-status-panel .dashboard-table-chip.is-status-preparing::before {
    background: linear-gradient(90deg, #6f57d9, #8a74f6);
}

.dashboard-status-panel .dashboard-table-chip.is-status-with_courier::before,
.dashboard-status-panel .dashboard-table-chip.is-status-served::before {
    background: linear-gradient(90deg, #1f7a45, #34a965);
}

.dashboard-status-panel .dashboard-table-chip.is-status-settled::before,
.dashboard-status-panel .dashboard-table-chip.is-status-free::before {
    background: linear-gradient(90deg, #2b8f82, #45beb0);
}

.dashboard-status-panel .dashboard-table-chip.is-status-cancelled::before {
    background: linear-gradient(90deg, #a43830, #d85e54);
}

.dashboard-status-panel .dashboard-table-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 79, 58, 0.1);
}

.dashboard-status-panel .dashboard-table-chip strong {
    font-size: 15px;
}

.dashboard-status-panel .dashboard-table-chip span {
    font-size: 10px;
}

.dashboard-status-panel .dashboard-table-chip small {
    font-size: 9px;
}

@media (max-width: 720px) {
    .dashboard-status-panel .status-meter-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.status-meter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.status-meter-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 72px;
}

.status-meter-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.status-meter-label-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.status-meter-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex: 0 0 auto;
}

.status-meter-head span {
    color: var(--muted);
    font-size: 13px;
}

.status-meter-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #f1e7da;
    overflow: hidden;
}

.status-meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.status-pending {
    background: linear-gradient(90deg, #c77a15, #eda83e);
}

.status-preparing {
    background: linear-gradient(90deg, #6f57d9, #8a74f6);
}

.status-served {
    background: linear-gradient(90deg, #1f7a45, #34a965);
}

.status-settled {
    background: linear-gradient(90deg, #2b8f82, #45beb0);
}

.status-with_courier {
    background: linear-gradient(90deg, #4a8fd2, #79b5ee);
}

.status-cancelled {
    background: linear-gradient(90deg, #a43830, #d85e54);
}

.sales-panel {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    min-height: 0;
}

.sales-panel__chart,
.sales-panel__empty {
    min-height: 0;
}

.sales-panel__ranges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(94, 124, 96, 0.08);
    border: 1px solid rgba(94, 124, 96, 0.12);
}

@media (min-width: 900px) {
    .sales-panel__ranges {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.sales-panel__ranges a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #5A7260;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sales-panel__ranges a:hover {
    color: #2F4F3A;
    background: rgba(255, 255, 255, 0.72);
}

.sales-panel__ranges a.is-active {
    background: linear-gradient(135deg, #5E7C60 0%, #2F4F3A 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(94, 124, 96, 0.24);
}

.sales-panel__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-radius: 14px;
    border: 1px solid rgba(94, 124, 96, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 244, 0.94) 100%);
    overflow: hidden;
}

.sales-panel__stat {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.sales-panel__stat:not(:last-child) {
    border-inline-end: 1px solid rgba(94, 124, 96, 0.12);
}

.sales-panel__stat::before,
.sales-panel__stat.is-featured::after {
    display: none;
}

.sales-panel__stat.is-featured {
    background: rgba(94, 124, 96, 0.08);
    border-color: transparent;
    box-shadow: none;
}

.sales-panel__stat-label {
    position: relative;
    z-index: 1;
    color: #5A7260;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-panel__stat-value {
    position: relative;
    z-index: 1;
    color: #2F4F3A;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-panel__stat.is-featured .sales-panel__stat-value {
    font-size: 15px;
    letter-spacing: -0.01em;
}

.sales-panel__stat:not(.is-featured) .sales-panel__stat-value {
    font-size: 13px;
}

.sales-panel__empty {
    margin: 0;
    padding: 20px 16px;
    text-align: center;
    font-size: 13px;
    color: #5A7260;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px dashed rgba(94, 124, 96, 0.22);
}

.sales-panel__chart {
    padding: 16px 12px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 243, 238, 0.94) 100%);
    border: 1px solid rgba(94, 124, 96, 0.14);
}

.sales-panel__chart.is-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(94, 124, 96, 0.4) transparent;
}

.sales-panel__plot {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    min-height: 200px;
    padding: 0 4px;
}

.sales-panel__chart.is-scrollable .sales-panel__plot {
    min-width: max(100%, calc(var(--point-count, 7) * 44px));
}

.sales-panel__col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sales-panel__chart.is-scrollable .sales-panel__col {
    flex: 0 0 36px;
    min-width: 36px;
}

.sales-panel__bar {
    width: 100%;
    height: 168px;
    display: flex;
    align-items: flex-end;
    border-radius: 10px;
    background: rgba(94, 124, 96, 0.06);
    overflow: hidden;
}

.sales-panel__bar span {
    display: block;
    width: 100%;
    min-height: 0;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #8FA891 0%, #5E7C60 55%, #2F4F3A 100%);
    transition: height 0.2s ease, filter 0.2s ease;
}

.sales-panel__col.has-value:hover .sales-panel__bar span {
    filter: brightness(1.06);
}

.sales-panel__amount {
    min-height: 12px;
    font-size: 9px;
    font-weight: 800;
    color: #2F4F3A;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.sales-panel__amount.is-empty {
    color: rgba(90, 114, 96, 0.45);
}

.sales-panel__label {
    min-height: 14px;
    font-size: 10px;
    font-weight: 700;
    color: #5A7260;
    text-align: center;
    white-space: nowrap;
    line-height: 1.3;
}

.sales-panel__label.is-empty {
    visibility: hidden;
}

.admin-panel {
    padding: 24px;
    background: #fffdfa;
    border: 1px solid rgba(180, 198, 183, 0.88);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(var(--text-rgb) / 0.06);
}

.full-span-panel,
.full-span {
    grid-column: 1 / -1;
}

.admin-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

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

.waiter-order-form > .full-span {
    grid-column: 1 / -1;
}

.admin-form label {
    padding: 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-form .checkbox-row {
    padding: 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form input[type="url"],
.admin-form textarea,
.admin-form select {
    background: #fff;
    border: 1px solid rgba(221, 209, 194, 0.95);
}

.admin-form > button,
.admin-form > .inline-actions,
.admin-form > .checkbox-row,
.admin-form > .full-span {
    grid-column: 1 / -1;
}

.admin-form--compact {
    gap: 12px;
    margin-bottom: 14px;
}

.admin-form--compact label {
    gap: 6px;
    padding: 10px 12px;
    border-radius: 16px;
}

.admin-form--compact label span,
.admin-form--compact .checkbox-row span {
    font-size: 12px;
    font-weight: 700;
}

.admin-form--compact input[type="text"],
.admin-form--compact input[type="number"],
.admin-form--compact input[type="password"],
.admin-form--compact input[type="file"],
.admin-form--compact input[type="url"],
.admin-form--compact textarea,
.admin-form--compact select {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 12px;
}

.admin-form--compact input[type="file"] {
    padding: 6px;
}

.admin-form--compact textarea {
    min-height: 84px;
}

.admin-form--product {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-form--product label {
    padding: 9px 10px;
}

.admin-form--product .full-span,
.admin-form--product .inline-actions {
    grid-column: 1 / -1;
}

.admin-form--product .checkbox-row {
    grid-column: span 1;
    min-height: 48px;
}

.admin-file-field {
    align-content: start;
}

.admin-file-help {
    color: var(--muted);
    font-size: 11px;
}

.admin-item-current-image {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: inherit;
}

.admin-item-current-image img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(221, 209, 194, 0.95);
}

.admin-form input[type="file"]::file-selector-button {
    margin-inline-end: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
    font-weight: 700;
    cursor: pointer;
}

.admin-form--compact .checkbox-row {
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
}

.admin-form--compact .inline-actions {
    gap: 12px;
    margin-top: 2px;
}

.inline-actions .btn {
    flex: 1 1 0;
}

@media (max-width: 1100px) {
    .admin-form--product {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .admin-form--product {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-form--product .checkbox-row {
        grid-column: 1 / -1;
    }
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.order-items-toggle {
    min-width: 320px;
}

.order-items-toggle summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(213, 174, 91, 0.3);
    background: #f9f2e6;
    color: #7b4b1e;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.order-items-toggle summary::-webkit-details-marker {
    display: none;
}

.order-items-toggle[open] summary {
    background: #f3e0bf;
    color: #5d3716;
}

.order-items-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.order-receipt {
    width: min(100%, 304px);
    margin-top: 12px;
    padding: 14px 12px;
    border: 1px dashed rgba(122, 90, 58, 0.4);
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf9 0%, #faf4eb 100%);
    box-shadow: 0 10px 24px rgba(47, 30, 18, 0.08);
}

.order-receipt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
}

.order-receipt-head strong {
    color: #2f1e12;
    font-size: 14px;
    font-weight: 800;
}

.order-receipt-head span {
    color: #7f6c5d;
    font-size: 12px;
    font-weight: 700;
}

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

.order-receipt-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    color: #6d5a4a;
    font-size: 12px;
}

.order-receipt-row span {
    color: #7f6c5d;
}

.order-receipt-row strong {
    max-width: 62%;
    color: #2f1e12;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    line-height: 1.6;
    white-space: normal;
}

.order-receipt-divider {
    border-top: 1px dashed rgba(122, 90, 58, 0.28);
    margin: 12px 0;
}

.order-items-entry {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px dashed rgba(122, 90, 58, 0.18);
    text-align: right;
}

.order-items-info {
    display: grid;
    gap: 3px;
}

.order-items-entry strong,
.order-items-meta strong {
    display: block;
    color: #2f1e12;
}

.order-items-entry span,
.order-items-entry small {
    color: #7f6c5d;
    font-size: 12px;
}

.order-items-meta {
    display: grid;
    justify-items: end;
    gap: 4px;
    flex-shrink: 0;
}

.order-receipt-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #5d3716;
}

.order-receipt-total span {
    font-size: 12px;
    font-weight: 700;
}

.order-receipt-total strong {
    font-size: 14px;
    font-weight: 800;
}

.invoice-paper-payment {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    padding-inline: 8px;
    border-top: 1px dashed rgba(122, 90, 58, 0.28);
}

.invoice-paper-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.invoice-paper-payment-label,
.invoice-paper-payment-owner {
    font-size: 11px;
    color: #6c5038;
    font-weight: 700;
}

.invoice-paper-payment-number {
    direction: ltr;
    unicode-bidi: plaintext;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #2f1e12;
    text-align: left;
}

.invoice-paper-payment-owner {
    text-align: right;
}

.order-items-empty {
    margin: 12px 0;
    color: #7f6c5d;
    font-size: 12px;
    white-space: normal;
}

.order-invoice-link {
    min-width: 128px;
}

.order-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-table-action.is-active {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.28);
}

.invoice-page-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f1e7 0%, #efe4d6 100%);
    color: #2f1e12;
    --invoice-paper-preview-width: 302px;
    --invoice-paper-print-width: 57.6mm;
}

.invoice-page-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 28px 18px 40px;
    display: grid;
    gap: 18px;
}

.invoice-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.invoice-paper {
    width: min(100%, var(--invoice-paper-preview-width));
    margin: 0 auto;
    padding: 18px 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #1b1b1d;
    box-shadow: 0 18px 36px rgba(47, 30, 18, 0.12);
}

.invoice-paper-head {
    display: grid;
    gap: 8px;
    justify-items: stretch;
    padding: 0 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #1b1b1d;
    text-align: right;
}

.invoice-paper-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.invoice-paper-logo {
    max-width: 140px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.invoice-paper-brand-copy {
    display: grid;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.invoice-paper-head strong {
    font-size: 19px;
    font-weight: 900;
}

.invoice-paper-order-title {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    text-align: center;
}

.invoice-paper-head small {
    color: #111;
    font-size: 11px;
    font-weight: 700;
}

.invoice-paper-contact-line {
    line-height: 1.5;
}

.invoice-paper-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.invoice-paper-social {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: 1px solid rgba(27, 27, 29, 0.28);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.invoice-paper-social-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.invoice-paper-social-icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.invoice-paper-social-icon svg path,
.invoice-paper-social-icon svg circle,
.invoice-paper-social-icon svg rect {
    vector-effect: non-scaling-stroke;
}

.invoice-paper-meta {
    display: grid;
    gap: 0;
    border: 1px solid #1b1b1d;
    border-radius: 12px;
    overflow: hidden;
}

.invoice-paper-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    line-height: 1.7;
    padding: 7px 9px;
    border-bottom: 1px solid rgba(27, 27, 29, 0.22);
}

.invoice-paper-row span {
    color: #111;
    font-weight: 700;
}

.invoice-paper-row strong {
    max-width: 62%;
    text-align: left;
    white-space: normal;
    font-weight: 800;
    color: #111;
}

.invoice-paper-row.is-multiline strong {
    max-width: 70%;
}

.invoice-paper-meta .invoice-paper-row:last-child,
.invoice-paper-foot .invoice-paper-row:last-child {
    border-bottom: 0;
}

.invoice-paper-divider {
    margin: 12px 0;
    border-top: 1px solid #1b1b1d;
}

.invoice-paper-notes {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #1b1b1d;
    background: #fff8e8;
}

.invoice-paper-notes-label {
    font-size: 12px;
    font-weight: 800;
    color: #111;
}

.invoice-paper-notes p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 700;
    color: #111;
    white-space: pre-wrap;
}

.invoice-paper-items {
    display: grid;
    gap: 0;
    border: 1px solid #1b1b1d;
    border-radius: 12px;
    overflow: hidden;
}

.invoice-paper-items-head,
.invoice-paper-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px 88px;
    gap: 10px;
    align-items: start;
}

.invoice-paper-items-head {
    color: #111;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 9px;
    background: #f5f5f5;
    border-bottom: 1px solid #1b1b1d;
}

.invoice-paper-items-head span:last-child {
    text-align: left;
}

.invoice-paper-item {
    padding: 8px 9px;
    border-bottom: 1px solid rgba(27, 27, 29, 0.18);
    font-size: 12px;
}

.invoice-paper-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.invoice-paper-item-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.invoice-paper-item-main strong {
    white-space: normal;
    overflow-wrap: anywhere;
}

.invoice-paper-item-main small {
    color: #111;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
}

.invoice-paper-item-note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 2px 6px;
    margin-bottom: 3px;
    border: 1px solid rgba(27, 27, 29, 0.5);
    border-radius: 8px;
    background: #fff;
}

.invoice-paper-price {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.invoice-paper-price-value {
    direction: ltr;
    unicode-bidi: isolate;
}

.invoice-paper-price-unit {
    direction: rtl;
    unicode-bidi: isolate;
}

.invoice-paper-item-qty,
.invoice-paper-item-total {
    text-align: center;
    font-weight: 800;
}

.invoice-paper-item-total {
    text-align: left;
    direction: ltr;
}

.invoice-paper-empty {
    margin: 0;
    color: #111;
    font-size: 12px;
    text-align: center;
    padding: 12px 8px;
}

.invoice-paper-foot {
    display: grid;
    gap: 10px;
    border: 1px solid #1b1b1d;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.invoice-paper-total {
    font-size: 14px;
}

.invoice-paper-total strong {
    font-size: 15px;
}

.invoice-paper-foot p {
    margin: 0;
    color: #111;
    font-size: 11px;
    text-align: center;
    padding: 0 8px 4px;
}

.invoice-paper-credit {
    margin: 8px 0 0;
    text-align: center;
    color: #111;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0;
}

@media print {
    @page {
        size: 58mm auto;
        margin: 0.5mm;
    }

    html,
    body {
        background: #fff !important;
        color: #000 !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print {
        display: none !important;
    }

    .invoice-page-shell {
        width: 100%;
        padding: 0;
        margin: 0;
        display: block;
    }

    .invoice-paper {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        min-height: auto;
        margin: 0;
        padding: 1.8mm;
        border: 0.45mm solid #000 !important;
        border-radius: 2.2mm;
        box-shadow: none;
        background: #fff;
        transform: translateX(-0.35mm);
    }

    .invoice-paper-logo {
        max-width: 44mm;
        max-height: 16mm;
        filter: grayscale(1) contrast(3) brightness(0.42);
        opacity: 1;
    }

    .invoice-paper-head,
    .invoice-paper-meta,
    .invoice-paper-items,
    .invoice-paper-foot,
    .invoice-paper-row,
    .invoice-paper-items-head,
    .invoice-paper-item,
    .invoice-paper-divider {
        border-color: #000 !important;
        color: #000 !important;
    }

    .invoice-paper-head {
        border-bottom-width: 0.35mm;
    }

    .invoice-paper-brand {
        gap: 2.4mm;
    }

    .invoice-paper-meta,
    .invoice-paper-items,
    .invoice-paper-foot {
        border-width: 0.35mm;
    }

    .invoice-paper-row,
    .invoice-paper-items-head,
    .invoice-paper-item,
    .invoice-paper-divider {
        border-bottom-width: 0.25mm;
        border-top-width: 0.25mm;
    }

    .invoice-paper-items-head,
    .invoice-paper-item {
        grid-template-columns: minmax(0, 1fr) 34px 72px;
        gap: 6px;
    }

    .invoice-paper-row span,
    .invoice-paper-row strong,
    .invoice-paper-head span,
    .invoice-paper-head small,
    .invoice-paper-social,
    .invoice-paper-item-main strong,
    .invoice-paper-item-main small,
    .invoice-paper-item-qty,
    .invoice-paper-item-total,
    .invoice-paper-empty,
    .invoice-paper-foot p {
        color: #000 !important;
    }

    .invoice-paper-social {
        border-color: #000 !important;
    }

    .invoice-paper-social-icon svg {
        stroke: #000 !important;
    }

    .invoice-paper-items-head {
        background: #fff !important;
    }
}

table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}

th,
td {
    text-align: right;
    padding: 15px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    vertical-align: middle;
}

thead {
    background: #f8f3eb;
}

th {
    font-size: 13px;
    color: #6d5a4a;
    font-weight: 800;
}

tbody tr:nth-child(even) {
    background: #fcfaf7;
}

tbody tr:hover {
    background: #f7f1e9;
}

.orders-table .order-row td {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.orders-table .order-row td:first-child {
    border-inline-end: 5px solid transparent;
    font-weight: 800;
}

.orders-table .order-row.status-pending td {
    background: #fff1c2 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(214, 166, 66, 0.34);
}

.orders-table .order-row.status-pending td:first-child {
    border-inline-end-color: #d5a12f;
}

.orders-table .order-row.status-preparing td {
    background: #eadcff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(132, 103, 228, 0.3);
}

.orders-table .order-row.status-preparing td:first-child {
    border-inline-end-color: #7f58d9;
}

.orders-table .order-row.status-with-courier td {
    background: #dcecff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(87, 145, 212, 0.3);
}

.orders-table .order-row.status-with-courier td:first-child {
    border-inline-end-color: #4b8fd9;
}

.orders-table .order-row.status-served td,
.orders-table .order-row.status-settled td {
    background: #dff5e4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(52, 169, 101, 0.28);
}

.orders-table .order-row.status-served td:first-child,
.orders-table .order-row.status-settled td:first-child {
    border-inline-end-color: #2f9b55;
}

.orders-table .order-row.status-cancelled td {
    background: #f9d9d6 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(216, 94, 84, 0.32);
}

.orders-table .order-row.status-cancelled td:first-child {
    border-inline-end-color: #d75d54;
}

.orders-table tbody tr:hover td {
    background: inherit;
}

.orders-table .order-row.status-pending:hover td {
    background: #fff1c2 !important;
}

.orders-table .order-row.status-preparing:hover td {
    background: #eadcff !important;
}

.orders-table .order-row.status-with-courier:hover td {
    background: #dcecff !important;
}

.orders-table .order-row.status-served:hover td,
.orders-table .order-row.status-settled:hover td {
    background: #dff5e4 !important;
}

.orders-table .order-row.status-resolved:hover td {
    background: #dff5e4 !important;
}

.orders-table .order-row.status-rejected:hover td {
    background: #f9d9d6 !important;
}

.orders-table .order-row.status-cancelled:hover td {
    background: #f9d9d6 !important;
}

.orders-table .order-row.status-pending .status-form {
    background: rgba(255, 244, 207, 0.96);
}

.orders-table .order-row.status-rejected td {
    background: #f9d9d6 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(216, 94, 84, 0.32);
}

.orders-table .order-row.status-rejected td:first-child {
    border-inline-end-color: #d75d54;
}

.orders-table .order-row.status-resolved td {
    background: #dff5e4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(52, 169, 101, 0.28);
}

.orders-table .order-row.status-resolved td:first-child {
    border-inline-end-color: #2f9b55;
}

.orders-table .order-row.status-preparing .status-form {
    background: rgba(239, 227, 255, 0.96);
}

.orders-table .order-row.status-with-courier .status-form {
    background: rgba(225, 239, 255, 0.96);
}

.orders-table .order-row.status-served .status-form,
.orders-table .order-row.status-settled .status-form,
.orders-table .order-row.status-resolved .status-form {
    background: rgba(227, 247, 233, 0.96);
}

.orders-table .order-row.status-rejected .status-form {
    background: rgba(252, 226, 224, 0.96);
}

.orders-table .order-row.status-cancelled .status-form {
    background: rgba(252, 226, 224, 0.96);
}

.waiter-order-card {
    position: relative;
    overflow: hidden;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(180, 198, 183, 0.88);
}

.waiter-order-card.status-pending {
    background: linear-gradient(180deg, #fff6e6 0%, #fffdfa 100%);
    border-color: rgba(231, 176, 67, 0.38);
}

.waiter-order-card.status-preparing {
    background: linear-gradient(180deg, #f3edff 0%, #fffdfa 100%);
    border-color: rgba(132, 103, 228, 0.28);
}

.waiter-order-card.status-with-courier {
    background: linear-gradient(180deg, #eef6ff 0%, #fffdfa 100%);
    border-color: rgba(87, 145, 212, 0.28);
}

.waiter-order-card.status-served {
    background: linear-gradient(180deg, #edf8f1 0%, #fffdfa 100%);
    border-color: rgba(52, 169, 101, 0.26);
}

.waiter-order-card.status-settled {
    background: linear-gradient(180deg, #ebfaf7 0%, #fffdfa 100%);
    border-color: rgba(69, 190, 176, 0.28);
}

.waiter-order-card.status-cancelled {
    background: linear-gradient(180deg, #fdeeed 0%, #fffdfa 100%);
    border-color: rgba(216, 94, 84, 0.28);
}

.waiter-order-card.status-pending .waiter-order-meta {
    color: #9b6213;
}

.waiter-order-card.status-preparing .waiter-order-meta {
    color: #6a4fc9;
}

.waiter-order-card.status-with-courier .waiter-order-meta {
    color: #2f6fae;
}

.waiter-order-card.status-served .waiter-order-meta {
    color: #1f7a45;
}

.waiter-order-card.status-settled .waiter-order-meta {
    color: #2b8f82;
}

.waiter-order-card.status-cancelled .waiter-order-meta {
    color: #a43830;
}

.status-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 16px;
    background: #f8f3eb;
}

.status-form select {
    min-width: 150px;
}

.waiter-call-status-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0;
    background: transparent;
}

.waiter-call-status-form .admin-table-action {
    width: 38px;
    height: 38px;
}

.waiter-call-status-form .admin-table-action.is-selected {
    box-shadow: inset 0 0 0 1px currentColor;
}

.waiter-call-status-form .admin-table-action:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.waiter-call-status-form .admin-table-action:disabled:hover {
    transform: none;
    box-shadow: none;
}

.waiter-call-status-form .is-accept {
    color: #2f9b55;
    border-color: rgba(47, 155, 85, 0.28);
}

.waiter-call-status-form .is-accept:hover {
    background: rgba(47, 155, 85, 0.12);
    border-color: rgba(47, 155, 85, 0.38);
}

.waiter-call-status-form .is-reject {
    color: #d75d54;
    border-color: rgba(215, 93, 84, 0.28);
}

.waiter-call-status-form .is-reject:hover {
    background: rgba(215, 93, 84, 0.12);
    border-color: rgba(215, 93, 84, 0.38);
}

.orders-status-cell {
    white-space: normal;
}

.order-status-form {
    align-items: stretch;
}

.order-preparation-field {
    display: none;
    flex: 1 1 180px;
}

.order-preparation-field.is-active {
    display: block;
}

.order-courier-fields {
    display: none;
    gap: 8px;
    width: 100%;
    flex: 1 1 100%;
}

.order-courier-fields.is-active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-preparation-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.order-preparation-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3eadc;
    color: #6d533b;
    font-size: 12px;
    line-height: 1.6;
}

.order-preparation-summary.is-live span {
    background: #efe8fb;
    color: #5a4798;
}

.order-preparation-summary.is-courier span {
    background: #e8f2fc;
    color: #2b5f96;
}

.table-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.table-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    padding: 20px;
    display: grid;
    gap: 14px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.table-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.table-card h3 {
    margin: 0;
    text-align: center;
}

.table-card-number {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto;
    border-radius: 24px;
    background: linear-gradient(135deg, #f3e6d4, #fff8ef);
    color: var(--primary-dark);
    font-size: 28px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.08);
}

.table-card-caption {
    margin: 0;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-tools-grid,
    .content-grid,
    .admin-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        flex-direction: column;
    }

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

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

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

    .sales-panel__stat {
        padding: 8px 8px;
    }

    .sales-panel__stat-label {
        font-size: 9px;
    }

    .sales-panel__stat-value,
    .sales-panel__stat.is-featured .sales-panel__stat-value,
    .sales-panel__stat:not(.is-featured) .sales-panel__stat-value {
        font-size: 12px;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
        max-width: none;
        flex: none;
    }

    .admin-shell.admin-layout {
        width: min(100% - 20px, 1280px);
    }

    .admin-content {
        width: 100%;
    }

    .admin-command-bar {
        flex-direction: column;
    }

    .admin-command-meta,
    .admin-glance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .sticky-card {
        position: static;
    }

    .admin-nav {
        backdrop-filter: none;
    }
}

@media (max-width: 768px) {
    .menu-panel {
        grid-template-columns: 1fr;
    }

    .page-shell,
    .admin-shell {
        width: min(100% - 20px, 1200px);
        padding: 16px 0 96px;
    }

    .admin-shell.admin-layout {
        padding-top: 16px;
    }

    .site-navbar {
        top: 8px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .toolbar-card,
    .info-card,
    .table-banner,
    .sticky-card,
    .subcategory-card,
    .admin-panel,
    .hero-card,
    .admin-header,
    .auth-card {
        border-radius: 18px;
        padding: 18px;
    }

    .hero-card,
    .table-banner,
    .menu-item,
    .site-footer,
    .status-form,
    .inline-actions,
    .admin-section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 8px;
    }

    .admin-header-title {
        flex: 1 1 auto;
        min-width: 0;
    }

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

    .admin-header h1 {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .admin-actions {
        gap: 4px;
    }

    .admin-actions .btn,
    .admin-actions .admin-user {
        width: 36px;
        min-width: 36px;
    }

    .admin-actions .btn,
    .admin-user {
        min-height: 36px;
    }

    .admin-notification-panel {
        width: min(360px, calc(100vw - 28px));
    }

    .admin-section-heading-copy {
        gap: 12px;
    }

    .admin-section-heading-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .admin-section-heading-icon svg {
        width: 20px;
        height: 20px;
    }

    .admin-icon-btn svg {
        width: 16px;
        height: 16px;
    }

    .admin-command-bar,
    .admin-glance-card {
        border-radius: 18px;
    }

    .admin-command-copy h2 {
        font-size: 20px;
    }

    .admin-command-meta,
    .admin-glance-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        gap: 8px;
        margin-bottom: 8px;
        padding: 10px 12px;
    }

    .table-banner {
        gap: 10px;
        padding: 14px 16px;
    }

    .table-banner-copy {
        gap: 3px;
    }

    .table-banner-title {
        font-size: 14px;
    }

    .table-banner-text {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .table-banner .badge {
        width: 100%;
        max-width: none;
        font-size: 12px;
        line-height: 1.65;
        padding: 10px 12px;
    }

    .table-banner-hint-badge {
        width: 100%;
    }

    .hero-card h1,
    .admin-header h1,
    .auth-card h1 {
        font-size: clamp(17px, 6vw, 22px);
        margin-top: 2px;
    }

    .hero-meta,
    .admin-actions {
        width: 100%;
    }

    .admin-notification-panel {
        position: fixed;
        top: 84px;
        left: 14px;
        right: 14px;
        width: auto;
        max-height: calc(100vh - 112px);
    }

    .hero-meta {
        min-width: 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-tools-grid {
        gap: 12px;
        margin-top: 10px;
        margin-bottom: 14px;
    }

    .share-actions,
    .language-switcher,
    .theme-mode-group,
    .socials {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-inline: -2px;
        scrollbar-width: none;
    }

    .share-actions::-webkit-scrollbar,
    .language-switcher::-webkit-scrollbar,
    .theme-mode-group::-webkit-scrollbar,
    .socials::-webkit-scrollbar {
        display: none;
    }

    .share-actions > *,
    .language-switcher > *,
    .theme-mode-group > *,
    .socials > * {
        flex: 0 0 auto;
    }

    .theme-mode-btn,
    .lang-chip,
    .social-link {
        min-height: 44px;
    }

    .nav-popover {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: min(60vh, 420px);
        overflow-y: auto;
    }

    .navbar-actions {
        gap: 6px;
        flex-shrink: 0;
    }

    .navbar-actions .nav-tool {
        display: block;
    }

    .nav-tool {
        position: static;
    }

    .mobile-quick-tools {
        display: none;
    }

    .share-actions,
    .language-switcher,
    .theme-mode-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
        margin-inline: 0;
    }

    .share-actions > *,
    .language-switcher > *,
    .theme-mode-group > * {
        width: 100%;
        min-width: 0;
    }

    .lang-chip,
    .theme-mode-btn,
    .social-link,
    button.social-link {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cart"
            "menu";
        gap: 14px;
    }

    .cart-panel {
        position: relative;
        z-index: 2;
    }

    .sticky-card {
        padding: 18px;
    }

    .cart-form,
    .order-form {
        gap: 14px;
    }

    .category-block {
        box-shadow: var(--shadow-soft);
    }

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

    .category-toggle {
        padding: 12px 14px;
        align-items: center;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .category-summary,
    .category-block[open] .category-summary {
        display: flex;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
        text-align: right;
    }

    .category-content {
        padding: 0 14px 14px;
    }

    .subcategory-head {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .subcategory-title {
        align-items: center;
        justify-content: flex-start;
    }

    .subcategory-title > div:last-child {
        flex: 1;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }

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

    .menu-actions {
        width: 100%;
        min-width: 0;
        justify-items: stretch;
    }

    .cart-controls {
        justify-items: stretch;
    }

    .cart-remove-btn {
        width: 100%;
    }

    .menu-item {
        grid-template-columns: 84px minmax(0, 1fr);
        grid-template-areas:
            "media copy"
            "actions actions";
        padding: 12px;
        gap: 10px;
    }

    .menu-copy,
    .menu-actions,
    .menu-actions form,
    .menu-actions .btn {
        width: 100%;
    }

    .menu-media {
        width: 84px;
        height: 84px;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .menu-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .price {
        font-size: 18px;
    }

    .rating-summary,
    .rating-form {
        gap: 6px;
    }

    .star-btn {
        font-size: 24px;
        min-width: 28px;
    }

    .theme-color-picker {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-row,
    .total-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-row > div:first-child,
    .cart-controls {
        width: 100%;
    }

    .checkout-choice {
        padding: 12px 14px;
    }

    #delivery-map {
        height: 220px;
    }

    .mobile-cart-bar {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: 12px;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 18px;
        background: var(--primary);
        color: #fff;
        box-shadow: 0 16px 36px rgba(var(--text-rgb) / 0.22);
    }

    body[data-theme="dark"] .mobile-cart-bar {
        background: #2F4F3A;
    }

    .admin-nav a::after {
        display: none;
    }

    .dashboard-summary-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-panel-title-group {
        align-items: center;
        flex-direction: row;
    }

    .sales-panel__chart {
        padding: 14px 10px 10px;
    }

    .sales-panel__bar {
        height: 148px;
    }

    .sales-panel__plot {
        gap: 8px;
    }
    .tracking-preparation-grid {
        grid-template-columns: 1fr;
    }

    .tracking-preparation-head {
        flex-direction: column;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }

    .tracking-preparation-head,
        border-radius: 18px;
    }

    .order-preparation-field {
        width: 100%;
        flex-basis: 100%;
    }

    .order-courier-fields.is-active {
        grid-template-columns: 1fr;
    }

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

    .admin-order-edit-head,
    .admin-order-edit-item-main {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-order-edit-meta {
        justify-content: flex-start;
    }

    .admin-order-edit-panel {
        padding: 22px 18px 28px;
    }

    .admin-order-edit-form,
    .admin-order-edit-summary {
        padding: 18px 16px;
    }

    .admin-order-edit-form-head {
        grid-template-columns: 1fr;
    }

    .admin-order-edit-close {
        justify-self: start;
    }

    .admin-order-edit-form-surface {
        padding: 16px;
    }

    .admin-order-edit-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .admin-order-edit-field,
    .admin-order-edit-field.is-qty {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 8px;
    }

    .admin-order-edit-field.is-qty {
        max-width: none;
    }

    .admin-order-edit-item {
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .page-shell,
    .admin-shell {
        width: min(100% - 16px, 1200px);
        padding-top: 12px;
    }

    .site-navbar {
        gap: 10px;
        padding: 9px 10px;
    }

    .toolbar-card,
    .info-card,
    .table-banner,
    .sticky-card,
    .subcategory-card,
    .hero-card {
        padding: 16px;
    }

    .hero-card::after,
    .admin-header::after {
        width: 120px;
        height: 120px;
    }

    .eyebrow {
        font-size: 10px;
        padding: 5px 8px;
    }

    .navbar-brand strong {
        font-size: 14px;
    }

    .nav-icon-btn {
        width: 40px;
        height: 40px;
    }

    .meta-chip,
    .badge,
    .info-item {
        padding: 12px 14px;
    }

    .delivery-map-head {
        flex-direction: column;
    }

    .section-title h2,
    .subcategory-head h3 {
        font-size: 18px;
    }

    .category-thumb {
        width: 44px;
        height: 44px;
    }

    .subcategory-thumb {
        width: 46px;
        height: 46px;
    }


    .category-count,
    .rating-summary,
    .rating-label,
    .helper-note,
    label span {
        font-size: 12px;
    }

    input[type="text"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    textarea,
    select,
    .btn {
        font-size: 15px;
    }

    .mobile-cart-bar {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 13px 14px;
    }
}

/* Admin-only palette override */
.admin-body,
.admin-body[data-theme="dark"],
.admin-body[data-theme="light"] {
    --bg: #2C1810;
    --surface: #2C1810;
    --surface-soft: #2C1810;
    --text: #C4A484;
    --muted: rgba(196, 164, 132, 0.72);
    --primary: #C4A484;
    --primary-dark: #C4A484;
    --accent: #C4A484;
    --primary-rgb: 196 164 132;
    --text-rgb: 196 164 132;
    --success: #C4A484;
    --warning: #C4A484;
    --danger: #C4A484;
    --border: rgba(196, 164, 132, 0.22);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 22px 46px rgba(0, 0, 0, 0.28);
    background:
        radial-gradient(circle at top right, rgba(196, 164, 132, 0.18), transparent 28%),
        linear-gradient(180deg, #2C1810 0%, #2C1810 100%);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-header,
.admin-body[data-theme="dark"] .admin-section-group,
.admin-body[data-theme="dark"] .admin-panel,
.admin-body[data-theme="dark"] .admin-nav,
.admin-body[data-theme="dark"] .admin-sidebar-card,
.admin-body[data-theme="dark"] .admin-notification-panel,
.admin-body[data-theme="dark"] .table-wrap,
.admin-body[data-theme="dark"] .order-receipt,
.admin-body[data-theme="dark"] .status-form,
.admin-body[data-theme="dark"] .waiter-order-card {
    background: #2C1810;
    border-color: rgba(196, 164, 132, 0.1);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.admin-body[data-theme="dark"] .admin-notification-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(196, 164, 132, 0.72) rgba(196, 164, 132, 0.06);
}

.admin-body[data-theme="dark"] .admin-notification-panel::-webkit-scrollbar {
    width: 10px;
}

.admin-body[data-theme="dark"] .admin-notification-panel::-webkit-scrollbar-track {
    background: rgba(196, 164, 132, 0.06);
    border-radius: 999px;
}

.admin-body[data-theme="dark"] .admin-notification-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.92), rgba(196, 164, 132, 0.88));
    border-radius: 999px;
    border: 2px solid rgba(27, 27, 29, 0.92);
}

.admin-body[data-theme="dark"] .admin-notification-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.96), rgba(196, 164, 132, 0.96));
}

.admin-body[data-theme="dark"] .admin-header,
.admin-body[data-theme="dark"] .admin-section-group,
.admin-body[data-theme="dark"] .admin-panel,
.admin-body[data-theme="dark"] .admin-nav,
.admin-body[data-theme="dark"] .table-wrap,
.admin-body[data-theme="dark"] .order-receipt {
    backdrop-filter: blur(12px);
}

.admin-body[data-theme="dark"] .admin-header::after,
.admin-body[data-theme="dark"] .admin-command::after {
    background: radial-gradient(circle, rgba(196, 164, 132, 0.18), transparent 70%);
}

.admin-body[data-theme="dark"] .admin-notification-panel-head {
    background: #2C1810;
    border-radius: 16px 16px 0 0;
}

.admin-body[data-theme="dark"] .dashboard-panel {
    position: relative;
    overflow: hidden;
    gap: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at top right, rgba(196, 164, 132, 0.16), transparent 32%),
        radial-gradient(circle at bottom left, rgba(196, 164, 132, 0.05), transparent 28%),
        linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(27, 27, 29, 1) 100%);
    border: 1px solid rgba(196, 164, 132, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(196, 164, 132, 0.04),
        0 22px 42px rgba(0, 0, 0, 0.28);
}

.admin-body[data-theme="dark"] .dashboard-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(196, 164, 132, 0.03), transparent 32%);
    pointer-events: none;
}

.admin-body[data-theme="dark"] .dashboard-panel > * {
    position: relative;
    z-index: 1;
}

.admin-body[data-theme="dark"] .dashboard-panel-icon {
    background: rgba(196, 164, 132, 0.14);
    color: #C4A484;
    border: 1px solid rgba(196, 164, 132, 0.22);
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.05);
}

.admin-body[data-theme="dark"] .dashboard-panel-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.admin-body[data-theme="dark"] .dashboard-panel-icon svg {
    width: 18px;
    height: 18px;
}

.admin-body[data-theme="dark"] .dashboard-panel-title-copy h2 {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .dashboard-status-summary,
.admin-body[data-theme="dark"] .dashboard-status-tables {
    background: linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(28, 28, 32, 0.98) 100%);
    border-color: rgba(196, 164, 132, 0.08);
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.04);
}

.admin-body[data-theme="dark"] .dashboard-status-summary-head,
.admin-body[data-theme="dark"] .dashboard-status-tables-head {
    border-bottom-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .dashboard-status-summary-title,
.admin-body[data-theme="dark"] .dashboard-status-tables-copy > span {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .dashboard-status-summary-copy small,
.admin-body[data-theme="dark"] .dashboard-status-tables-copy small {
    color: rgba(196, 164, 132, 0.58);
}

.admin-body[data-theme="dark"] .dashboard-status-summary-total,
.admin-body[data-theme="dark"] .dashboard-status-tables-count {
    background: rgba(94, 124, 96, 0.18);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row {
    padding: 8px 9px 7px;
    border-radius: 12px;
    border-color: rgba(196, 164, 132, 0.08);
    background: rgba(196, 164, 132, 0.03);
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.03);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row:not(.is-empty):hover {
    box-shadow:
        inset 0 1px 0 rgba(196, 164, 132, 0.05),
        0 10px 22px rgba(0, 0, 0, 0.22);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row.is-empty {
    opacity: 0.62;
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row--pending,
.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row--preparing,
.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row--with_courier,
.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row--served,
.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row--settled,
.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-row--cancelled {
    background: rgba(196, 164, 132, 0.03);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-head span {
    color: rgba(196, 164, 132, 0.72);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-head strong {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(196, 164, 132, 0.08);
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-track {
    height: 4px;
    background: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-dot {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-grid {
    background: linear-gradient(180deg, rgba(28, 28, 32, 0.98) 0%, rgba(18, 18, 20, 0.98) 100%);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip {
    border-color: rgba(196, 164, 132, 0.08);
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.04), rgba(196, 164, 132, 0.04));
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.03);
}

.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip:hover {
    box-shadow:
        inset 0 1px 0 rgba(196, 164, 132, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.24);
}

.admin-body[data-theme="dark"] .status-meter-row {
    position: relative;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.04), rgba(196, 164, 132, 0.02));
    border: 1px solid rgba(196, 164, 132, 0.07);
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.03);
    overflow: hidden;
}

.admin-body[data-theme="dark"] .status-meter-row::before {
    display: none;
}

.admin-body[data-theme="dark"] .status-meter-row--pending {
    background: linear-gradient(180deg, rgba(237, 168, 62, 0.1), rgba(196, 164, 132, 0.02));
}

.admin-body[data-theme="dark"] .status-meter-row--pending::before,
.admin-body[data-theme="dark"] .status-meter-row--pending .status-meter-dot {
    background: #eda83e;
}

.admin-body[data-theme="dark"] .status-meter-row--preparing {
    background: linear-gradient(180deg, rgba(138, 116, 246, 0.1), rgba(196, 164, 132, 0.02));
}

.admin-body[data-theme="dark"] .status-meter-row--preparing::before,
.admin-body[data-theme="dark"] .status-meter-row--preparing .status-meter-dot {
    background: #8a74f6;
}

.admin-body[data-theme="dark"] .status-meter-row--with_courier {
    background: linear-gradient(180deg, rgba(121, 181, 238, 0.1), rgba(196, 164, 132, 0.02));
}

.admin-body[data-theme="dark"] .status-meter-row--with_courier::before,
.admin-body[data-theme="dark"] .status-meter-row--with_courier .status-meter-dot {
    background: #79b5ee;
}

.admin-body[data-theme="dark"] .status-meter-row--served {
    background: linear-gradient(180deg, rgba(52, 169, 101, 0.1), rgba(196, 164, 132, 0.02));
}

.admin-body[data-theme="dark"] .status-meter-row--served::before,
.admin-body[data-theme="dark"] .status-meter-row--served .status-meter-dot {
    background: #34a965;
}

.admin-body[data-theme="dark"] .status-meter-row--settled {
    background: linear-gradient(180deg, rgba(69, 190, 176, 0.1), rgba(196, 164, 132, 0.02));
}

.admin-body[data-theme="dark"] .status-meter-row--settled::before,
.admin-body[data-theme="dark"] .status-meter-row--settled .status-meter-dot {
    background: #45beb0;
}

.admin-body[data-theme="dark"] .status-meter-row--cancelled {
    background: linear-gradient(180deg, rgba(216, 94, 84, 0.1), rgba(196, 164, 132, 0.02));
}

.admin-body[data-theme="dark"] .status-meter-row--cancelled::before,
.admin-body[data-theme="dark"] .status-meter-row--cancelled .status-meter-dot {
    background: #d85e54;
}

.admin-body[data-theme="dark"] .status-meter-label-group span {
    color: #C4A484;
    font-size: 12px;
    font-weight: 700;
}

.admin-body[data-theme="dark"] .status-meter-dot {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.03);
}

.admin-body[data-theme="dark"] .status-meter-head strong {
    min-width: 0;
    padding: 0 0 0 6px;
    border-radius: 0;
    background: transparent;
    border: 0;
    font-size: 18px;
    line-height: 1;
    text-align: left;
}

.admin-body[data-theme="dark"] .dashboard-status-panel .status-meter-head strong {
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(196, 164, 132, 0.08);
    font-size: 13px;
    text-align: center;
}

.admin-body[data-theme="dark"] .dashboard-table-grid {
    margin-top: 4px;
}

.admin-body[data-theme="dark"] .dashboard-table-chip {
    border: 1px solid rgba(196, 164, 132, 0.08);
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.04), rgba(196, 164, 132, 0.05));
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.03);
}

.admin-body[data-theme="dark"] .dashboard-table-chip span {
    color: rgba(196, 164, 132, 0.66);
}

.admin-body[data-theme="dark"] .dashboard-table-chip strong {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-pending,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-unreviewed-order {
    border-color: rgba(248, 113, 113, 0.62);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.34), rgba(185, 28, 28, 0.2));
    box-shadow:
        0 0 0 1px rgba(248, 113, 113, 0.18),
        0 12px 24px rgba(239, 68, 68, 0.2);
    animation: dashboard-table-pending-pulse 2.2s ease-in-out infinite;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-pending span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-unreviewed-order span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-pending strong,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-unreviewed-order strong {
    color: #ffe4e2;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-pending small,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-unreviewed-order small {
    color: #fecaca;
    font-weight: 800;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-preparing {
    border-color: rgba(138, 116, 246, 0.34);
    background: linear-gradient(180deg, rgba(138, 116, 246, 0.2), rgba(138, 116, 246, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-preparing span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-preparing strong {
    color: #ece6ff;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-with_courier,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-served {
    border-color: rgba(121, 181, 238, 0.34);
    background: linear-gradient(180deg, rgba(121, 181, 238, 0.2), rgba(121, 181, 238, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-with_courier span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-with_courier strong,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-served span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-served strong {
    color: #e1f0ff;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-free,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-settled {
    border-color: rgba(196, 164, 132, 0.34);
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.18), rgba(196, 164, 132, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-free span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-free strong,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-settled span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-settled strong {
    color: #dff8e7;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-cancelled {
    border-color: rgba(192, 75, 67, 0.28);
    background: linear-gradient(180deg, rgba(192, 75, 67, 0.18), rgba(192, 75, 67, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-cancelled span,
.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-cancelled strong {
    color: #ffe3e0;
}

.admin-body[data-theme="dark"] .dashboard-table-chip.is-status-cancelled small {
    color: rgba(255, 227, 224, 0.86);
}

.admin-body[data-theme="dark"] .dashboard-table-chip small {
    color: rgba(196, 164, 132, 0.76);
}

.admin-body[data-theme="dark"] .dashboard-table-chip:hover {
    transform: translateY(-1px);
}

.admin-body[data-theme="dark"] .dashboard-table-chip:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.34);
    outline-offset: 2px;
}

.admin-body[data-theme="dark"].is-dashboard-table-modal-open {
    overflow: hidden;
}

.admin-body[data-theme="dark"].is-dashboard-table-modal-open .admin-footer {
    visibility: hidden;
}

.admin-body[data-theme="dark"] .dashboard-table-modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal[hidden] {
    display: none !important;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 15, 0.68);
    backdrop-filter: blur(4px);
}

.admin-body[data-theme="dark"] .dashboard-table-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(196, 164, 132, 0.1);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(23, 23, 30, 0.98), rgba(18, 18, 24, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.admin-body[data-theme="dark"] .dashboard-table-modal-head,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-head,
.admin-body[data-theme="dark"] .dashboard-table-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-head strong {
    display: block;
    font-size: 19px;
    color: #f7f7f8;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-head small,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-head span {
    color: rgba(196, 164, 132, 0.66);
}

.admin-body[data-theme="dark"] .dashboard-table-modal-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item,
.admin-body[data-theme="dark"] .dashboard-table-modal-items {
    border: 1px solid rgba(196, 164, 132, 0.08);
    border-radius: 18px;
    background: rgba(196, 164, 132, 0.04);
    padding: 12px 14px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item {
    display: grid;
    gap: 6px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item span {
    color: rgba(196, 164, 132, 0.64);
    font-size: 11px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item strong,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-head strong {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-items {
    display: grid;
    gap: 12px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.16));
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-editor[hidden] {
    display: none !important;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-form {
    display: grid;
    gap: 10px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0E0E0E;
    color: #F2F2F0;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.8;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-feedback[hidden] {
    display: none !important;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-feedback[data-state="info"] {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-feedback[data-state="success"] {
    background: rgba(196, 164, 132, 0.14);
    color: #bbf7d0;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-status-feedback[data-state="error"] {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-items-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.admin-body[data-theme="dark"] .dashboard-table-modal-items-list li {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(196, 164, 132, 0.88);
}

.admin-body[data-theme="dark"] .dashboard-table-modal-actions {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .admin-body[data-theme="dark"] .dashboard-table-modal {
        padding: 14px;
        align-items: end;
    }

    .admin-body[data-theme="dark"] .dashboard-table-modal-dialog {
        width: 100%;
        max-height: min(84vh, 720px);
        overflow: auto;
        padding: 16px;
        border-radius: 22px 22px 18px 18px;
    }

    .admin-body[data-theme="dark"] .dashboard-table-modal-head,
    .admin-body[data-theme="dark"] .dashboard-table-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-body[data-theme="dark"] .dashboard-table-modal-meta {
        grid-template-columns: 1fr;
    }

    .admin-body[data-theme="dark"] .dashboard-table-modal-items-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-quick-waiter-call-item {
        display: grid;
        gap: 12px;
    }

    .admin-quick-waiter-call-form {
        justify-content: flex-start;
    }

    .admin-manual-order-grid,
    .admin-manual-order-review-grid,
    .admin-manual-order-steps {
        grid-template-columns: 1fr;
    }

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

    .admin-manual-order-builder,
    .admin-manual-order-selected {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-manual-order-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-manual-order-section-head span {
        min-height: 26px;
    }

    .admin-manual-order-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-manual-order-step-actions {
        width: 100%;
        margin-inline-start: 0;
    }

    .admin-manual-order-item {
        display: grid;
        gap: 10px;
    }

    .admin-manual-order-item-meta,
    .admin-manual-order-form .dashboard-table-modal-actions {
        justify-content: flex-start;
    }
}

.admin-body[data-theme="dark"] .admin-footer {
    margin-top: 18px;
    justify-content: center;
    border-radius: 22px;
    border: 1px solid rgba(196, 164, 132, 0.08);
    background: linear-gradient(135deg, rgba(196, 164, 132, 0.04), rgba(196, 164, 132, 0.08));
    box-shadow: inset 0 1px 0 rgba(196, 164, 132, 0.04);
    padding: 14px 18px;
    color: rgba(196, 164, 132, 0.78);
}

.admin-body[data-theme="dark"] .admin-footer h3 {
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    color: inherit;
}

.admin-body[data-theme="dark"] .admin-footer-heart {
    display: inline-block;
    margin: 0 4px;
    filter: drop-shadow(0 2px 8px rgba(239, 68, 68, 0.28));
}

.admin-body[data-theme="dark"] .sales-panel__ranges {
    background: rgba(94, 124, 96, 0.12);
    border-color: rgba(94, 124, 96, 0.18);
}

.admin-body[data-theme="dark"] .sales-panel__ranges a {
    color: rgba(196, 164, 132, 0.78);
}

.admin-body[data-theme="dark"] .sales-panel__ranges a:hover {
    color: #C4A484;
    background: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .sales-panel__ranges a.is-active {
    background: linear-gradient(135deg, #5E7C60 0%, #2F4F3A 100%);
    color: #C4A484;
    box-shadow: 0 10px 22px rgba(94, 124, 96, 0.32);
}

.admin-body[data-theme="dark"] .sales-panel__stats {
    background: linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(28, 28, 32, 0.98) 100%);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .sales-panel__stat {
    background: transparent;
    border-color: rgba(196, 164, 132, 0.08);
    box-shadow: none;
}

.admin-body[data-theme="dark"] .sales-panel__stat:not(:last-child) {
    border-inline-end-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .sales-panel__stat.is-featured {
    background: rgba(94, 124, 96, 0.14);
    box-shadow: none;
}

.admin-body[data-theme="dark"] .sales-panel__stat-label {
    color: rgba(196, 164, 132, 0.68);
}

.admin-body[data-theme="dark"] .sales-panel__stat-value {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .sales-panel__stat.is-featured .sales-panel__stat-value {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .sales-panel__empty {
    color: #C4A484;
    background: rgba(94, 124, 96, 0.16);
    border-color: rgba(143, 168, 145, 0.45);
}

.admin-body[data-theme="dark"] .sales-panel__chart {
    background: linear-gradient(180deg, rgba(28, 28, 32, 0.98) 0%, rgba(18, 18, 20, 0.98) 100%);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .sales-panel__bar {
    background: rgba(196, 164, 132, 0.05);
}

.admin-body[data-theme="dark"] .sales-panel__bar span {
    background: linear-gradient(180deg, #8FA891 0%, #5E7C60 55%, #2F4F3A 100%);
}

.admin-body[data-theme="dark"] .sales-panel__amount {
    color: #bbf7d0;
}

.admin-body[data-theme="dark"] .sales-panel__amount.is-empty {
    color: rgba(196, 164, 132, 0.34);
}

.admin-body[data-theme="dark"] .sales-panel__label {
    color: rgba(196, 164, 132, 0.65);
}

.admin-body[data-theme="dark"] .admin-header h1,
.admin-body[data-theme="dark"] .admin-section-heading h2,
.admin-body[data-theme="dark"] .section-title h2,
.admin-body[data-theme="dark"] .admin-notification-panel-head strong,
.admin-body[data-theme="dark"] .sidebar-notification-heading strong,
.admin-body[data-theme="dark"] .admin-entry-summary-copy strong,
.admin-body[data-theme="dark"] .admin-item-category-copy strong,
.admin-body[data-theme="dark"] .admin-glance-card strong,
.admin-body[data-theme="dark"] .stat-card strong,
.admin-body[data-theme="dark"] .status-meter-head strong,
.admin-body[data-theme="dark"] .orders-table th,
.admin-body[data-theme="dark"] .orders-table td,
.admin-body[data-theme="dark"] .order-receipt,
.admin-body[data-theme="dark"] .admin-form label span,
.admin-body[data-theme="dark"] .admin-form .checkbox-row span,
.admin-body[data-theme="dark"] .admin-nav a,
.admin-body[data-theme="dark"] .admin-user,
.admin-body[data-theme="dark"] .admin-icon-btn,
.admin-body[data-theme="dark"] .helper-note,
.admin-body[data-theme="dark"] .admin-header-title,
.admin-body[data-theme="dark"] .admin-section-heading-copy,
.admin-body[data-theme="dark"] .orders-table,
.admin-body[data-theme="dark"] .status-form,
.admin-body[data-theme="dark"] .order-items-toggle summary {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-header h1 {
    background: rgba(196, 164, 132, 0.04);
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] .admin-section-heading,
.admin-body[data-theme="dark"] .sidebar-notification-group,
.admin-body[data-theme="dark"] .orders-table th,
.admin-body[data-theme="dark"] .orders-table td,
.admin-body[data-theme="dark"] .admin-order-edit-item,
.admin-body[data-theme="dark"] .status-meter-row,
.admin-body[data-theme="dark"] .order-receipt {
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] .admin-section-heading-icon,
.admin-body[data-theme="dark"] .admin-glance-card-head,
.admin-body[data-theme="dark"] .stat-card-highlight,
.admin-body[data-theme="dark"] .status-meter-track,
.admin-body[data-theme="dark"] .order-preparation-field,
.admin-body[data-theme="dark"] .order-courier-fields,
.admin-body[data-theme="dark"] .delivery-map-block,
.admin-body[data-theme="dark"] .checkout-choice {
    background: rgba(196, 164, 132, 0.12);
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.2);
}

.admin-body[data-theme="dark"] .admin-nav {
    background: #2C1810;
}

.admin-body[data-theme="dark"] .admin-nav a,
.admin-body[data-theme="dark"] .admin-nav-group-summary,
.admin-body[data-theme="dark"] .admin-nav-trigger,
.admin-body[data-theme="dark"] .admin-entry-summary,
.admin-body[data-theme="dark"] .admin-item-category-card,
.admin-body[data-theme="dark"] .admin-category-node,
.admin-body[data-theme="dark"] .admin-category-child,
.admin-body[data-theme="dark"] .admin-items-pagination a,
.admin-body[data-theme="dark"] .admin-table-action,
.admin-body[data-theme="dark"] .admin-table-action-form button,
.admin-body[data-theme="dark"] .admin-glance-card,
.admin-body[data-theme="dark"] .stat-card,
.admin-body[data-theme="dark"] .sidebar-notification-item,
.admin-body[data-theme="dark"] .sidebar-notification-empty,
.admin-body[data-theme="dark"] .admin-form label,
.admin-body[data-theme="dark"] .admin-form .checkbox-row,
.admin-body[data-theme="dark"] .order-items-toggle summary {
    background: #2C1810;
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] .admin-couriers-table-wrap {
    background: #C4A4847ef;
    border-color: rgba(214, 191, 164, 0.48);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.admin-body[data-theme="dark"] .admin-couriers-table,
.admin-body[data-theme="dark"] .admin-couriers-table th,
.admin-body[data-theme="dark"] .admin-couriers-table td,
.admin-body[data-theme="dark"] .admin-couriers-table a {
    color: #000;
}

.admin-body[data-theme="dark"] .admin-couriers-table thead {
    background: #ece5d8;
}

.admin-body[data-theme="dark"] .admin-couriers-table tbody tr:nth-child(even) {
    background: #C4A484af4;
}

.admin-body[data-theme="dark"] .admin-couriers-table tbody tr:hover {
    background: #f7efe3;
}

.admin-courier-form-toggle {
    margin-bottom: 20px;
}

.admin-courier-form-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(196, 164, 132, 0.1);
    border-radius: 18px;
    background: #2C1810;
    cursor: pointer;
    list-style: none;
}

.admin-courier-form-summary::-webkit-details-marker {
    display: none;
}

.admin-courier-form-summary::marker {
    content: "";
    display: none;
}

.admin-courier-form-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-courier-form-summary-copy strong {
    color: #C4A484;
    font-size: 16px;
    font-weight: 800;
}

.admin-courier-form-summary-copy small {
    color: rgba(196, 164, 132, 0.7);
    font-size: 12px;
    line-height: 1.7;
}

.admin-courier-form-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-courier-form-summary-meta::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(196, 164, 132, 0.82);
    border-bottom: 2px solid rgba(196, 164, 132, 0.82);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.admin-courier-form-toggle[open] .admin-courier-form-summary-meta::before {
    transform: rotate(225deg);
}

.admin-courier-form-summary .btn {
    pointer-events: none;
}

.admin-courier-form-body {
    padding-top: 16px;
}

.admin-body[data-theme="dark"] .admin-nav a:hover,
.admin-body[data-theme="dark"] .admin-nav-group-summary:hover,
.admin-body[data-theme="dark"] .admin-nav-group-summary:hover .admin-nav-trigger,
.admin-body[data-theme="dark"] .admin-entry-summary:hover,
.admin-body[data-theme="dark"] .admin-item-category-card:hover,
.admin-body[data-theme="dark"] .admin-category-child:hover,
.admin-body[data-theme="dark"] .admin-items-pagination a:hover,
.admin-body[data-theme="dark"] .admin-table-action:hover,
.admin-body[data-theme="dark"] .admin-table-action-form button:hover,
.admin-body[data-theme="dark"] .admin-glance-card:hover,
.admin-body[data-theme="dark"] .stat-card:hover,
.admin-body[data-theme="dark"] .sidebar-notification-item:hover {
    background: rgba(196, 164, 132, 0.12);
    border-color: rgba(196, 164, 132, 0.3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.admin-body[data-theme="dark"] .admin-nav a.is-active,
.admin-body[data-theme="dark"] .admin-nav a.is-active:hover,
.admin-body[data-theme="dark"] .btn-primary,
.admin-body[data-theme="dark"] .sidebar-notification-count,
.admin-body[data-theme="dark"] .admin-header-notification-badge,
.admin-body[data-theme="dark"] .price,
.admin-body[data-theme="dark"] .status-meter-fill {
    background: #C4A484;
    color: #2C1810;
    border-color: transparent;
    box-shadow: none;
}

.admin-body[data-theme="dark"] .admin-nav a.is-active .admin-nav-item-arrow,
.admin-body[data-theme="dark"] .admin-nav a.is-active .admin-nav-item-arrow {
    color: rgba(196, 164, 132, 0.86);
}

.admin-body[data-theme="dark"] .admin-nav-group.is-open .admin-nav-trigger,
.admin-body[data-theme="dark"] .admin-nav-group[open] .admin-nav-trigger {
    background: #2C1810;
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.3);
    box-shadow: inset 0 0 0 1px rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .admin-nav-group.is-open .admin-nav-trigger .admin-inline-icon,
.admin-body[data-theme="dark"] .admin-nav-group[open] .admin-nav-trigger .admin-inline-icon,
.admin-body[data-theme="dark"] .admin-nav-group.is-open .admin-nav-item-arrow,
.admin-body[data-theme="dark"] .admin-nav-group[open] .admin-nav-item-arrow {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-nav-group-summary:hover .admin-nav-trigger,
.admin-body[data-theme="dark"] .admin-nav-group.is-open .admin-nav-trigger:hover,
.admin-body[data-theme="dark"] .admin-nav-group[open] .admin-nav-trigger:hover {
    background: #2a2a2f;
    border-color: rgba(196, 164, 132, 0.36);
}

.admin-body[data-theme="dark"] .admin-quick-access-link {
    background: #2C1810;
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] .admin-quick-access-link:hover {
    background: rgba(196, 164, 132, 0.12);
    border-color: rgba(196, 164, 132, 0.3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.admin-body[data-theme="dark"] .admin-quick-access-link.is-active {
    background: #C4A484;
    color: #2C1810;
    border-color: transparent;
    box-shadow: none;
}

.admin-body[data-theme="dark"] .admin-quick-access-link.is-active .admin-nav-item-arrow {
    color: rgba(27, 27, 29, 0.72);
}

.admin-body[data-theme="dark"] .admin-quick-waiter-call-action.is-reject {
    background: #2C1810;
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] .admin-quick-waiter-call-action.is-reject:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.34);
    box-shadow: none;
}

.admin-body[data-theme="dark"] .admin-entry-summary-copy small {
    color: rgba(196, 164, 132, 0.62);
}

.admin-body[data-theme="dark"] .admin-category-node-copy strong,
.admin-body[data-theme="dark"] .admin-category-child-copy strong {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-category-node-copy small,
.admin-body[data-theme="dark"] .admin-category-child-copy small {
    color: rgba(196, 164, 132, 0.62);
}

.admin-body[data-theme="dark"] .admin-item-category-copy small,
.admin-body[data-theme="dark"] .admin-items-results-meta {
    color: rgba(196, 164, 132, 0.62);
}

.admin-body[data-theme="dark"] .admin-order-edit-head .section-title p,
.admin-body[data-theme="dark"] .admin-order-edit-item-copy small,
.admin-body[data-theme="dark"] .admin-order-edit-item-meta span {
    color: rgba(196, 164, 132, 0.72);
}

.admin-body[data-theme="dark"] .admin-order-edit-form,
.admin-body[data-theme="dark"] .admin-order-edit-summary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    border-color: rgba(196, 164, 132, 0.09);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.admin-body[data-theme="dark"] .admin-order-edit-form .section-title p {
    color: rgba(196, 164, 132, 0.72);
}

.admin-body[data-theme="dark"] .admin-order-edit-form .admin-order-edit-table-box .section-title h2,
.admin-body[data-theme="dark"] .admin-order-edit-form .admin-order-edit-table-box .section-title p {
    color: #111111;
}

.admin-body[data-theme="dark"] .admin-order-edit-form-surface {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .admin-order-edit-meta span {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(196, 164, 132, 0.1);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-order-edit-field > span {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-order-edit-field.is-item select,
.admin-body[data-theme="dark"] .admin-order-edit-field.is-qty input {
    background: #2C1810;
    border-color: rgba(196, 164, 132, 0.1);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-order-edit-qty-btn {
    background: #2C1810;
    border-color: rgba(196, 164, 132, 0.1);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-order-edit-qty-btn:hover {
    background: #2a2a2f;
    border-color: rgba(196, 164, 132, 0.24);
}

.admin-body[data-theme="dark"] .admin-order-edit-submit {
    background: linear-gradient(135deg, #2f8c58, #276e46);
    color: #f6fffa;
    box-shadow: 0 14px 28px rgba(17, 61, 37, 0.32);
}

.admin-body[data-theme="dark"] .admin-order-edit-submit:hover {
    background: linear-gradient(135deg, #349964, #2a7a4d);
}

.admin-body[data-theme="dark"] .admin-entry-summary-arrow {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-category-node-arrow {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-category-node-body {
    border-top-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .admin-item-category-count {
    background: rgba(196, 164, 132, 0.12);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-entry-toggle[open] .admin-entry-summary {
    border-color: rgba(196, 164, 132, 0.3);
}

.admin-body[data-theme="dark"] .admin-item-category-card.is-active,
.admin-body[data-theme="dark"] .admin-items-pagination a.is-active {
    background: #C4A484;
    color: #2C1810;
    border-color: transparent;
}

.admin-body[data-theme="dark"] .admin-item-category-card.is-empty {
    background: rgba(196, 164, 132, 0.04);
    border-color: rgba(196, 164, 132, 0.16);
}

.admin-body[data-theme="dark"] .admin-item-category-card.is-empty:hover {
    background: rgba(196, 164, 132, 0.07);
    border-color: rgba(196, 164, 132, 0.28);
}

.admin-body[data-theme="dark"] .admin-item-category-card.is-disabled {
    background: rgba(196, 164, 132, 0.035);
    border-color: rgba(196, 164, 132, 0.08);
    color: rgba(196, 164, 132, 0.58);
}

.admin-body[data-theme="dark"] .admin-item-category-card.is-disabled .admin-item-category-copy small,
.admin-body[data-theme="dark"] .admin-item-category-card.is-disabled .admin-item-category-count {
    color: rgba(196, 164, 132, 0.42);
}

.admin-body[data-theme="dark"] .admin-item-category-card.is-active .admin-item-category-copy small,
.admin-body[data-theme="dark"] .admin-item-category-card.is-active .admin-item-category-count,
.admin-body[data-theme="dark"] .admin-items-pagination a.is-active {
    color: #2C1810;
}

.admin-body[data-theme="dark"] .orders-status-board {
    color: #C4A484;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.admin-body[data-theme="dark"] .orders-status-board.status-pending {
    background: linear-gradient(180deg, rgba(237, 168, 62, 0.12), rgba(27, 27, 29, 0.96));
    border-color: rgba(237, 168, 62, 0.22);
}

.admin-body[data-theme="dark"] .orders-status-board.status-preparing {
    background: linear-gradient(180deg, rgba(127, 88, 217, 0.14), rgba(27, 27, 29, 0.96));
    border-color: rgba(127, 88, 217, 0.22);
}

.admin-body[data-theme="dark"] .orders-status-board.status-with-courier {
    background: linear-gradient(180deg, rgba(75, 143, 217, 0.14), rgba(27, 27, 29, 0.96));
    border-color: rgba(75, 143, 217, 0.22);
}

.admin-body[data-theme="dark"] .orders-status-board.status-served,
.admin-body[data-theme="dark"] .orders-status-board.status-settled {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.14), #2C1810);
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] .orders-status-board.status-cancelled {
    background: linear-gradient(180deg, rgba(215, 93, 84, 0.14), rgba(27, 27, 29, 0.96));
    border-color: rgba(215, 93, 84, 0.22);
}

.admin-body[data-theme="dark"] .orders-status-board-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .orders-status-board-item:hover {
    border-color: rgba(196, 164, 132, 0.14);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.admin-body[data-theme="dark"] .orders-status-board-item-copy span,
.admin-body[data-theme="dark"] .orders-status-board-item small,
.admin-body[data-theme="dark"] .orders-status-board-empty {
    color: rgba(196, 164, 132, 0.72);
}

.admin-body[data-theme="dark"] .orders-status-board-item-copy span {
    border-color: rgba(var(--primary-rgb) / 0.18);
    background: rgba(var(--primary-rgb) / 0.12);
    color: #dcfce7;
}

.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-item:hover {
    border-color: rgba(var(--primary-rgb) / 0.22);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 164, 132, 0.1);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select:hover {
    border-color: rgba(var(--primary-rgb) / 0.22);
}

.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select:focus {
    border-color: rgba(var(--primary-rgb) / 0.42);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12);
}

.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination a,
.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination-ellipsis {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination a:hover {
    background: rgba(var(--primary-rgb) / 0.12);
    border-color: rgba(var(--primary-rgb) / 0.24);
}

.admin-body[data-theme="dark"] .admin-table-action.is-delete,
.admin-body[data-theme="dark"] .admin-table-action-form .is-delete {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.24);
}

.admin-body[data-theme="dark"] .admin-table-action.is-delete:hover,
.admin-body[data-theme="dark"] .admin-table-action-form .is-delete:hover {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.34);
    color: #fca5a5;
}

.admin-body[data-theme="dark"] .admin-order-edit-item {
    background: rgba(255, 255, 255, 0.03);
}

.admin-body[data-theme="dark"] .admin-table-action.is-active {
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.28);
}

.admin-body[data-theme="dark"] .admin-table-action.is-active:hover {
    background: rgba(196, 164, 132, 0.12);
    border-color: rgba(196, 164, 132, 0.4);
}

.admin-body[data-theme="dark"] .admin-notification-toggle.has-alert,
.admin-body[data-theme="dark"] .admin-glance-card.is-positive,
.admin-body[data-theme="dark"] .stat-card.is-positive {
    background: rgba(196, 164, 132, 0.14);
    border-color: rgba(196, 164, 132, 0.34);
    color: #C4A484;
}

@keyframes adminDelayedCardBlink {
    0%,
    100% {
        background: rgba(220, 38, 38, 0.16);
        border-color: rgba(252, 165, 165, 0.6);
        box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.18), 0 0 28px rgba(220, 38, 38, 0.24);
    }

    50% {
        background: rgba(127, 29, 29, 0.3);
        border-color: rgba(252, 165, 165, 0.9);
        box-shadow: 0 0 0 1px rgba(252, 165, 165, 0.3), 0 0 34px rgba(239, 68, 68, 0.38);
    }
}

.admin-body[data-theme="dark"] .admin-glance-card.is-alert {
    background: rgba(220, 38, 38, 0.14);
    border-color: rgba(248, 113, 113, 0.34);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-delayed {
    background: rgba(220, 38, 38, 0.16);
    border-color: rgba(252, 165, 165, 0.6);
    color: #C4A484;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.18), 0 0 28px rgba(220, 38, 38, 0.24);
    animation: adminDelayedCardBlink 1.05s ease-in-out infinite;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-preparing {
    background: rgba(138, 116, 246, 0.14);
    border-color: rgba(167, 139, 250, 0.34);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-positive .admin-glance-card-head {
    background: rgba(196, 164, 132, 0.18);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-alert .admin-glance-card-head {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-delayed .admin-glance-card-head {
    background: rgba(220, 38, 38, 0.24);
    color: #fecaca;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-preparing .admin-glance-card-head {
    background: rgba(138, 116, 246, 0.18);
    color: #c4b5fd;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-alert span,
.admin-body[data-theme="dark"] .admin-glance-card.is-alert small {
    color: rgba(254, 202, 202, 0.86);
}

.admin-body[data-theme="dark"] .admin-glance-card.is-delayed span,
.admin-body[data-theme="dark"] .admin-glance-card.is-delayed small {
    color: rgba(254, 226, 226, 0.9);
}

.admin-body[data-theme="dark"] .admin-glance-card.is-alert strong {
    color: #fef2f2;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-delayed strong {
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-preparing span,
.admin-body[data-theme="dark"] .admin-glance-card.is-preparing small {
    color: rgba(237, 233, 254, 0.88);
}

.admin-body[data-theme="dark"] .admin-glance-card.is-preparing strong {
    color: #f5f3ff;
}

.admin-body[data-theme="dark"] .admin-glance-card.is-positive span,
.admin-body[data-theme="dark"] .admin-glance-card.is-positive small,
.admin-body[data-theme="dark"] .stat-card span,
.admin-body[data-theme="dark"] .stat-card small,
.admin-body[data-theme="dark"] .admin-glance-card-title,
.admin-body[data-theme="dark"] .sidebar-notification-item span,
.admin-body[data-theme="dark"] .sidebar-notification-item small,
.admin-body[data-theme="dark"] .sidebar-notification-empty,
.admin-body[data-theme="dark"] .status-meter-head span,
.admin-body[data-theme="dark"] .waiter-order-meta,
.admin-body[data-theme="dark"] .helper-note,
.admin-body[data-theme="dark"] .admin-header p,
.admin-body[data-theme="dark"] .admin-section-heading p {
    color: rgba(196, 164, 132, 0.72);
}

.admin-body[data-theme="dark"] .btn-primary:hover {
    background: rgba(196, 164, 132, 0.88);
}

.admin-body[data-theme="dark"] .btn-light,
.admin-body[data-theme="dark"] .btn-danger,
.admin-body[data-theme="dark"] .admin-user,
.admin-body[data-theme="dark"] .admin-icon-btn {
    background: #2C1810;
    color: #C4A484;
    border: 1px solid rgba(196, 164, 132, 0.12);
}

.admin-body[data-theme="dark"] .btn-light:hover,
.admin-body[data-theme="dark"] .btn-danger:hover,
.admin-body[data-theme="dark"] .admin-icon-btn:hover {
    background: rgba(196, 164, 132, 0.12);
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.28);
}

.admin-body[data-theme="dark"] .admin-form input[type="text"],
.admin-body[data-theme="dark"] .admin-form input[type="number"],
.admin-body[data-theme="dark"] .admin-form input[type="password"],
.admin-body[data-theme="dark"] .admin-form input[type="file"],
.admin-body[data-theme="dark"] .admin-form input[type="url"],
.admin-body[data-theme="dark"] .admin-form textarea,
.admin-body[data-theme="dark"] .admin-form select,
.admin-body[data-theme="dark"] input[type="text"],
.admin-body[data-theme="dark"] input[type="number"],
.admin-body[data-theme="dark"] input[type="password"],
.admin-body[data-theme="dark"] input[type="file"],
.admin-body[data-theme="dark"] input[type="url"],
.admin-body[data-theme="dark"] textarea,
.admin-body[data-theme="dark"] select {
    background: #2C1810;
    color: #C4A484;
    border: 1px solid rgba(196, 164, 132, 0.14);
}

.admin-body[data-theme="dark"] select option {
    background: #2C1810;
    color: #C4A484;
}

.admin-body[data-theme="dark"] select option:checked,
.admin-body[data-theme="dark"] select option:hover {
    background: rgba(var(--primary-rgb) / 0.22);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-form input[type="file"]::file-selector-button,
.admin-body[data-theme="dark"] input[type="file"]::file-selector-button {
    background: rgba(196, 164, 132, 0.18);
    color: #C4A484;
}

.admin-body[data-theme="dark"] .admin-file-help {
    color: rgba(196, 164, 132, 0.56);
}

.admin-body[data-theme="dark"] .admin-item-current-image img {
    border-color: rgba(196, 164, 132, 0.14);
}

.admin-body[data-theme="dark"] .admin-form input:focus,
.admin-body[data-theme="dark"] .admin-form textarea:focus,
.admin-body[data-theme="dark"] .admin-form select:focus,
.admin-body[data-theme="dark"] input:focus,
.admin-body[data-theme="dark"] textarea:focus,
.admin-body[data-theme="dark"] select:focus,
.admin-body[data-theme="dark"] .admin-nav a:focus-visible {
    border-color: rgba(196, 164, 132, 0.48);
    box-shadow: 0 0 0 4px rgba(196, 164, 132, 0.16);
    outline: none;
}

.admin-body[data-theme="dark"] .orders-table th {
    background: #2C1810;
}

.admin-body[data-theme="dark"] .orders-table tbody tr:hover td {
    background: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr td,
.admin-body[data-theme="dark"] #categories .orders-table tbody tr td,
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr td,
.admin-body[data-theme="dark"] #orders .orders-table tbody tr td,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr td {
    background: #2C1810 !important;
    color: #C4A484;
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr,
.admin-body[data-theme="dark"] #categories .orders-table tbody tr,
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr,
.admin-body[data-theme="dark"] #orders .orders-table tbody tr,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr {
    background: #2C1810 !important;
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr:nth-child(even) td,
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:nth-child(even) td,
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr:nth-child(even) td,
.admin-body[data-theme="dark"] #orders .orders-table tbody tr:nth-child(even) td,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr:nth-child(even) td {
    background: #202024 !important;
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr:nth-child(even),
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:nth-child(even),
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr:nth-child(even),
.admin-body[data-theme="dark"] #orders .orders-table tbody tr:nth-child(even),
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr:nth-child(even) {
    background: #202024 !important;
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr:hover,
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:hover,
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr:hover,
.admin-body[data-theme="dark"] #orders .orders-table tbody tr:hover,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr:hover {
    background: #2a2a2f !important;
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr:hover td,
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:hover td,
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr:hover td,
.admin-body[data-theme="dark"] #orders .orders-table tbody tr:hover td,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr:hover td {
    background: #2a2a2f !important;
    color: #C4A484;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats.admin-section-group {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-bar {
    border-top-color: rgba(196, 164, 132, 0.08);
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-search-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 18px;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .table-wrap.orders-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-search-field span {
    color: rgba(196, 164, 132, 0.62);
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-search-field input[type="search"] {
    background: #2C1810;
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.14);
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-search-field input[type="search"]:focus {
    border-color: rgba(196, 164, 132, 0.48);
    box-shadow: 0 0 0 4px rgba(196, 164, 132, 0.16);
    outline: none;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-meta strong {
    color: #C4A484;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-meta span {
    color: rgba(196, 164, 132, 0.62);
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-pages {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(196, 164, 132, 0.1);
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-nav,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-pages a,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-pages .admin-items-pagination-ellipsis {
    background: #2C1810;
    border-color: rgba(196, 164, 132, 0.1);
    color: #C4A484;
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-nav:hover,
.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-pages a:hover {
    border-color: rgba(196, 164, 132, 0.28);
    background: rgba(196, 164, 132, 0.12);
}

.admin-body[data-theme="dark"] #users,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-users-pagination-pages a.is-active {
    background: #C4A484;
    color: #2C1810;
    border-color: transparent;
}

.admin-body[data-theme="dark"] #items .orders-table td a,
.admin-body[data-theme="dark"] #categories .orders-table td a,
.admin-body[data-theme="dark"] #waiter-calls .orders-table td a,
.admin-body[data-theme="dark"] #orders .orders-table td a {
    color: #C4A484;
    font-weight: 700;
}

.admin-body[data-theme="dark"] #items .orders-table td a:hover,
.admin-body[data-theme="dark"] #categories .orders-table td a:hover,
.admin-body[data-theme="dark"] #waiter-calls .orders-table td a:hover,
.admin-body[data-theme="dark"] #orders .orders-table td a:hover {
    color: #bbf7d0;
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr:hover td a,
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:hover td a,
.admin-body[data-theme="dark"] #waiter-calls .orders-table tbody tr:hover td a,
.admin-body[data-theme="dark"] #orders .orders-table tbody tr:hover td a {
    color: #bbf7d0;
}

.admin-body[data-theme="dark"] #items .orders-table td:nth-child(2),
.admin-body[data-theme="dark"] #items .orders-table td:nth-child(4),
.admin-body[data-theme="dark"] #items .orders-table td:nth-child(6),
.admin-body[data-theme="dark"] #categories .orders-table td:nth-child(2),
.admin-body[data-theme="dark"] #categories .orders-table td:nth-child(4) {
    color: rgba(196, 164, 132, 0.78);
}

.admin-body[data-theme="dark"] #items .orders-table tbody tr:hover td:nth-child(2),
.admin-body[data-theme="dark"] #items .orders-table tbody tr:hover td:nth-child(4),
.admin-body[data-theme="dark"] #items .orders-table tbody tr:hover td:nth-child(6),
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:hover td:nth-child(2),
.admin-body[data-theme="dark"] #categories .orders-table tbody tr:hover td:nth-child(4) {
    color: rgba(196, 164, 132, 0.84);
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-pending td {
    background: #3a3218 !important;
    border-bottom-color: rgba(214, 166, 66, 0.22);
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-pending td {
    background: #3a3218 !important;
    border-bottom-color: rgba(214, 166, 66, 0.22);
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-pending td:first-child {
    border-inline-end-color: #d5a12f;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-pending td:first-child {
    border-inline-end-color: #d5a12f;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-preparing td {
    background: #2e2342 !important;
    border-bottom-color: rgba(132, 103, 228, 0.22);
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-preparing td:first-child {
    border-inline-end-color: #7f58d9;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-with-courier td {
    background: #1d3046 !important;
    border-bottom-color: rgba(87, 145, 212, 0.22);
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-with-courier td:first-child {
    border-inline-end-color: #4b8fd9;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-served td,
.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-settled td {
    background: #183126 !important;
    border-bottom-color: rgba(52, 169, 101, 0.22);
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-served td:first-child,
.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-settled td:first-child {
    border-inline-end-color: #2f9b55;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-cancelled td {
    background: #3a201d !important;
    border-bottom-color: rgba(216, 94, 84, 0.22);
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-cancelled td:first-child {
    border-inline-end-color: #d75d54;
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-resolved td {
    background: #183126 !important;
    border-bottom-color: rgba(52, 169, 101, 0.22);
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-rejected td {
    background: #3a201d !important;
    border-bottom-color: rgba(216, 94, 84, 0.22);
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-resolved td:first-child {
    border-inline-end-color: #2f9b55;
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-rejected td:first-child {
    border-inline-end-color: #d75d54;
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-pending:hover td {
    background: #43391c !important;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-pending:hover td {
    background: #43391c !important;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-preparing:hover td {
    background: #382a4f !important;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-with-courier:hover td {
    background: #243a53 !important;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-served:hover td,
.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-settled:hover td {
    background: #1d3a2d !important;
}

.admin-body[data-theme="dark"] #orders .orders-table .order-row.status-cancelled:hover td {
    background: #452522 !important;
}

.admin-body[data-theme="dark"] #orders .status-form {
    background: rgba(255, 255, 255, 0.03);
}

.admin-body[data-theme="dark"] #orders .order-row.status-pending .status-form {
    background: rgba(213, 161, 47, 0.12);
}

.admin-body[data-theme="dark"] #orders .order-row.status-preparing .status-form {
    background: rgba(127, 88, 217, 0.12);
}

.admin-body[data-theme="dark"] #orders .order-row.status-with-courier .status-form {
    background: rgba(75, 143, 217, 0.12);
}

.admin-body[data-theme="dark"] #orders .order-row.status-served .status-form,
.admin-body[data-theme="dark"] #orders .order-row.status-settled .status-form {
    background: rgba(47, 155, 85, 0.12);
}

.admin-body[data-theme="dark"] #orders .order-row.status-cancelled .status-form {
    background: rgba(215, 93, 84, 0.12);
}

.admin-body[data-theme="dark"] #orders .order-preparation-summary span {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(196, 164, 132, 0.86);
}

.admin-body[data-theme="dark"] #orders .order-preparation-summary.is-live span {
    background: rgba(127, 88, 217, 0.18);
    color: #ddd6fe;
}

.admin-body[data-theme="dark"] #orders .order-preparation-summary.is-courier span {
    background: rgba(75, 143, 217, 0.18);
    color: #bfdbfe;
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-resolved:hover td {
    background: #1d3a2d !important;
}

.admin-body[data-theme="dark"] #waiter-calls .orders-table .order-row.status-rejected:hover td {
    background: #452522 !important;
}

.admin-body[data-theme="dark"] #waiter-calls .waiter-call-status-form {
    background: transparent;
}

.admin-body[data-theme="dark"] #waiter-calls .waiter-call-status-form .admin-table-action.is-selected {
    opacity: 1;
}

.admin-body[data-theme="dark"] #waiter-calls .waiter-call-status-form .is-accept {
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.24);
}

.admin-body[data-theme="dark"] #waiter-calls .waiter-call-status-form .is-accept:hover {
    background: rgba(196, 164, 132, 0.16);
    border-color: rgba(196, 164, 132, 0.36);
}

.admin-body[data-theme="dark"] #waiter-calls .waiter-call-status-form .is-reject {
    color: #fca5a5;
    border-color: rgba(252, 165, 165, 0.24);
}

.admin-body[data-theme="dark"] #waiter-calls .waiter-call-status-form .is-reject:hover {
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(252, 165, 165, 0.36);
}

.admin-body[data-theme="dark"] .orders-table .order-row.status-pending td,
.admin-body[data-theme="dark"] .orders-table .order-row.status-preparing td,
.admin-body[data-theme="dark"] .orders-table .order-row.status-with-courier td,
.admin-body[data-theme="dark"] .orders-table .order-row.status-served td,
.admin-body[data-theme="dark"] .orders-table .order-row.status-settled td {
    background: rgba(196, 164, 132, 0.06);
}

.admin-body[data-theme="dark"] .orders-table .order-row.status-cancelled td {
    background: rgba(196, 164, 132, 0.03);
}

.admin-body[data-theme="dark"] .orders-table .order-row.status-pending td:first-child,
.admin-body[data-theme="dark"] .orders-table .order-row.status-preparing td:first-child,
.admin-body[data-theme="dark"] .orders-table .order-row.status-with-courier td:first-child,
.admin-body[data-theme="dark"] .orders-table .order-row.status-served td:first-child,
.admin-body[data-theme="dark"] .orders-table .order-row.status-settled td:first-child,
.admin-body[data-theme="dark"] .orders-table .order-row.status-cancelled td:first-child {
    border-inline-start-color: rgba(196, 164, 132, 0.42);
}

.admin-body[data-theme="dark"] .order-items-toggle summary,
.admin-body[data-theme="dark"] .order-items-toggle[open] summary,
.admin-body[data-theme="dark"] .status-badge,
.admin-body[data-theme="dark"] .delivery-timing-badge {
    background: rgba(196, 164, 132, 0.12);
    color: #C4A484;
    border-color: rgba(196, 164, 132, 0.26);
}

.admin-body[data-theme="dark"] .sidebar-notification-heading a,
.admin-body[data-theme="dark"] .back-link,
.admin-body[data-theme="dark"] a:hover {
    color: #C4A484;
}

@media (max-width: 768px) {
/* Reference-inspired mobile cafe UI */
.site-body {
    background:
        radial-gradient(circle at 50% 0, rgba(var(--primary-rgb) / 0.22), transparent 20%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

.page-shell {
    width: min(100%, 430px);
    min-height: 100vh;
    padding: 18px 14px 140px;
}

.hero-shell {
    margin-bottom: 0;
    border-radius: 28px;
    /* Let mobile header popovers extend beyond the shell. */
    overflow: visible;
    background:
        radial-gradient(circle at 28% 12%, rgba(var(--primary-rgb) / 0.18), transparent 36%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    border: 0;
    box-shadow: none;
}

body[data-theme="dark"] .hero-shell {
    background: var(--bg);
}

.site-navbar {
    margin-bottom: 0;
    padding: 14px 16px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    position: relative;
    top: 0;
    backdrop-filter: none;
}

body[data-theme="dark"] .site-navbar {
    background: var(--bg);
    border: 0;
    box-shadow: none;
}

body[data-theme="dark"] .nav-icon-btn {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: none;
}

body[data-theme="dark"] .nav-popover {
    background: #2C1810;
    color: #C4A484df8;
    border-color: rgba(200, 216, 202, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .nav-popover .lang-chip,
body[data-theme="dark"] .nav-popover .theme-mode-btn,
body[data-theme="dark"] .nav-popover .social-link,
body[data-theme="dark"] .nav-popover button.social-link {
    background: rgba(250, 252, 250, 0.08);
    color: #C4A484df8;
    border-color: rgba(200, 216, 202, 0.12);
}

body[data-theme="dark"] .nav-popover .lang-chip.active,
body[data-theme="dark"] .nav-popover .theme-mode-btn.active {
    background: var(--primary);
    color: #C4A484df8;
    border-color: transparent;
}

.navbar-brand {
    gap: 8px;
}

.eyebrow {
    display: none;
}

.navbar-brand strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.34);
    border: 0;
    box-shadow: none;
    color: #51321d;
}

.nav-popover {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: min(60vh, 420px);
    overflow-y: auto;
    border-radius: 20px;
}

.hero-card {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: 0 10px 24px rgba(var(--text-rgb) / 0.08);
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(10px);
    color: #24160d;
}

.hero-card::after {
    display: none;
}

.hero-card-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    min-height: 72px;
}

.hero-card-logo {
    display: block;
    position: static;
    width: 124px !important;
    flex: 0 0 124px;
    height: auto;
    max-height: 148px !important;
    margin: 0;
    object-fit: contain;
}

.hero-card-copy-box {
    margin: 0;
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(var(--primary-rgb) / 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.hero-card-copy-box p {
    margin: 0;
}

.hero-card-copy-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    direction: rtl;
}

.hero-card-copy-label {
    color: #2a1a10;
    font-size: 11px;
    font-weight: 800;
}

.hero-card-copy-value {
    color: rgba(46, 30, 19, 0.92);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.hero-card p {
    text-align: right;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(46, 30, 19, 0.76);
    max-width: 42ch;
    margin-inline: 0 auto;
}

.hero-card > div:first-child {
    width: 100%;
    max-width: 100%;
    display: grid;
    justify-items: stretch;
    align-content: start;
    min-width: 0;
}

.hero-meta {
    margin-top: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    width: 100%;
    align-content: start;
}

.meta-chip,
.badge {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.28);
    border: 0;
    color: var(--text);
    box-shadow: none;
}

.meta-chip {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
    min-height: auto;
    position: relative;
    overflow: hidden;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(250, 252, 250, 0.56);
    border: 1px solid rgba(250, 252, 250, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-inline-start: 4px solid rgba(var(--primary-rgb) / 0.34);
}

.meta-chip-label {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.meta-chip-inline {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-chip-contact {
    gap: 8px;
}

.meta-chip-line {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    width: 100%;
    min-width: 0;
}

.meta-chip-value {
    width: 100%;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
}

.meta-chip-contact .meta-chip-label {
    white-space: nowrap;
}

.meta-chip-contact .meta-chip-value {
    width: auto;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.meta-chip-contact .meta-chip-line:last-child .meta-chip-value {
    white-space: nowrap;
}

.meta-chip strong,
.badge strong {
    font-size: 12px;
}

.meta-chip span,
.badge span {
    font-size: 11px;
}

.table-banner {
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 0;
}

.table-banner-copy {
    gap: 5px;
}

.table-banner-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.table-banner-reset-form {
    margin: 0;
}

.table-banner-reset-btn {
    min-height: auto;
    padding: 10px 14px;
    border-radius: 16px;
    white-space: nowrap;
}

.table-banner-title {
    font-size: 14px;
}

.table-banner-text {
    font-size: 12.5px;
    line-height: 1.75;
}

.table-banner .badge {
    min-height: auto;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 12px;
}

.order-step-bar {
    margin-top: 12px;
    margin-bottom: 12px;
}

.step-chip {
    border: 0;
    border-radius: 20px;
    background: rgba(250, 252, 250, 0.92);
}

.step-chip.active {
    background: var(--primary-dark);
}

.step-chip-number {
    background: rgba(var(--primary-rgb) / 0.18);
    color: var(--text);
}

.step-chip.active .step-chip-number {
    background: rgba(255, 255, 255, 0.18);
    color: #C4A484;
}

.content-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
        "menu"
        "cart";
    gap: 14px;
}

.menu-panel {
    gap: 10px;
}

.category-block,
.sticky-card,
.subcategory-card,
.site-footer {
    border: 0;
    box-shadow: 0 8px 20px rgba(var(--text-rgb) / 0.06);
}

.category-block {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
}

.category-toggle {
    padding: 10px 12px;
}

.category-thumb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 0;
}

.category-summary h2 {
    font-size: 14px;
}

.subcategory-browser {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
}

.subcategory-card {
    min-width: 0;
    border-radius: 20px;
    padding: 12px;
    background: #f8f6f2;
}

.subcategory-thumb {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 0;
}

.menu-items {
    grid-template-columns: 1fr;
    gap: 10px;
}

.menu-item {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas:
        "media copy"
        "actions actions";
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    border: 0;
    box-shadow: none;
    background: var(--surface);
}

.menu-media {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    border: 0;
}

.menu-copy h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.menu-copy p {
    font-size: 12px;
    line-height: 1.55;
}

.item-label {
    border-radius: 10px;
    background: rgba(var(--primary-rgb) / 0.18);
    color: var(--text);
}

.rating-summary,
.rating-form {
    margin-top: 6px;
}

.star-btn {
    font-size: 18px;
}

.menu-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.95) 0%, rgba(var(--text-rgb) / 0.95) 100%);
    color: #C4A484df9;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(var(--text-rgb) / 0.12);
}

.btn {
    min-height: 40px;
    border-radius: 14px;
    box-shadow: none;
}

.btn-primary {
    background: #2F4F3A;
    color: #C4A484;
}

.btn-light {
    background: #ece7e0;
}

.sticky-card {
    position: static;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
}

.cart-row {
    padding: 14px;
}

.cart-controls {
    width: 100%;
}

.total-box {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 0;
    background: #f6efe4;
}

.checkout-choice,
.delivery-map-block {
    border-radius: 18px;
    border: 0;
    background: #f6f2ec;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
textarea,
select {
    border-radius: 16px;
    border: 0;
    background: #f3efe8;
    padding: 12px 14px;
}

.site-footer {
    margin-top: 140px;
    padding-top: 12px;
    border-top: 0;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 14px;
}

.site-footer h3 {
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

.social-link {
    background: #f5f0e9;
    border: 0;
    box-shadow: none;
}

.mobile-cart-bar {
    left: 50%;
    right: auto;
    bottom: 84px;
    bottom: 96px;
    width: min(calc(100% - 28px), 402px);
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    border-radius: 999px;
    border-radius: 12px;
    color: var(--surface);
    box-shadow: 0 18px 34px rgba(var(--text-rgb) / 0.22);
    overflow: hidden;
}

#mobile-cart-count,
#mobile-cart-total {
    min-width: 0;
}

#mobile-cart-count {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
}

.bottom-app-nav {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(calc(100% - 16px), 430px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 26px;
    background: linear-gradient(180deg, #FAFCFA 0%, #EEF3EE 100%);
    border: 1px solid rgba(200, 216, 202, 0.95);
    box-shadow: 0 18px 45px rgba(47, 79, 58, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    z-index: 40;
}

.bottom-app-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.credit-toast {
        display: block;
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    width: min(calc(100% - 28px), 402px);
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(250, 252, 250, 0.95);
    border: 1px solid rgba(200, 216, 202, 0.95);
    box-shadow: 0 14px 30px rgba(47, 79, 58, 0.12);
    color: #2F4F3A;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    z-index: 41;
    animation: creditToastIn 220ms ease both;
}

@keyframes creditToastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

body[data-theme="dark"] .credit-toast {
    background: rgba(47, 79, 58, 0.92);
    border-color: rgba(250, 252, 250, 0.12);
    color: #FFFDF8;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.bottom-nav-item {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-height: 44px;
    padding: 6px 2px;
    border-radius: 16px;
    color: rgba(122, 92, 69, 0.82);
    font-size: 10px;
    line-height: 1.1;
    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.bottom-nav-item span {
    white-space: nowrap;
}

.bottom-nav-item.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.bottom-nav-item:active {
    transform: translateY(1px);
}

.bottom-nav-button {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.waiter-call-btn {
    color: #5E7C60;
}

.tracking-order-btn {
    color: #5A7260;
}

.waiter-call-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.waiter-call-sheet {
    position: fixed;
    left: 50%;
        top: auto;
    bottom: 92px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 406px);
    padding: 16px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 42%),
        linear-gradient(180deg, rgba(250, 252, 250, 0.99) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(16px);
    z-index: 45;
}

.waiter-call-sheet-form {
    display: grid;
    gap: 14px;
}

.waiter-call-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.waiter-call-sheet-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.waiter-call-sheet-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.24) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.waiter-call-sheet-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.waiter-call-sheet-head strong {
    display: block;
    font-size: 16px;
    color: var(--text);
}

.waiter-call-sheet-kicker {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.waiter-call-sheet-text {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.9;
}

.fried-platter-options {
    display: grid;
    gap: 10px;
}

.fried-platter-option {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 6px;
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    text-align: right;
    white-space: normal;
}

.fried-platter-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.fried-platter-option-name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.fried-platter-option-price {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.fried-platter-option-desc {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 400;
    text-align: right;
    white-space: normal;
}
.fried-platter-option-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.fried-platter-option-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    background: #f3f4f6;
}

.fried-platter-option-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.waiter-call-sheet-field {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.waiter-call-sheet-field span {
    color: #5E7C60;
    font-size: 11px;
    font-weight: 800;
}

.waiter-call-sheet-field select,
.waiter-call-sheet-field input {
    background: #C4A484;
    border-color: rgba(222, 208, 191, 0.95);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
}
}

.waiter-call-close-btn {
    border-radius: 999px;
    padding-inline: 14px;
    min-height: 38px;
}

.waiter-call-close-btn:hover {
    transform: translateY(-1px);
}

body[data-theme="dark"] .waiter-call-sheet {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.14), transparent 42%),
        linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb) / 0.12) 100%);
    border-color: var(--border);
}

body[data-theme="dark"] .waiter-call-sheet-icon {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--primary-dark);
}

body[data-theme="dark"] .waiter-call-sheet-head strong {
    color: var(--text);
}

body[data-theme="dark"] .waiter-call-sheet-kicker {
    color: var(--muted);
}

body[data-theme="dark"] .waiter-call-sheet-field {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .waiter-call-sheet-field span {
    color: #f0c084;
}

body[data-theme="dark"] .waiter-call-sheet-field select,
body[data-theme="dark"] .waiter-call-sheet-field input {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.bottom-nav-item svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--text);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(var(--primary-rgb) / 0.1) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bottom-nav-item:focus-visible {
    outline: 2px solid rgba(var(--primary-rgb) / 0.55);
    outline-offset: 2px;
}

body[data-theme="dark"] .hero-shell,
body[data-theme="dark"] .hero-card {
    background:
        radial-gradient(circle at 24% 10%, rgba(200, 216, 202, 0.08), transparent 22%),
        radial-gradient(circle at 82% 0, rgba(var(--primary-rgb) / 0.18), transparent 34%),
        linear-gradient(180deg, rgba(35, 57, 43, 0.98) 0%, rgba(24, 40, 31, 0.98) 100%);
}

body[data-theme="dark"] .hero-shell {
    background: var(--bg);
}

body[data-theme="dark"] .hero-card {
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(200, 216, 202, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(33, 54, 41, 0.96) 0%, rgba(24, 38, 31, 0.98) 100%);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .hero-card h1 {
    color: var(--text);
}

body[data-theme="dark"] .hero-card p {
    color: var(--muted);
}

body[data-theme="dark"] .hero-card-head::after {
    display: none;
}

body[data-theme="dark"] .hero-card-logo,
body[data-theme="dark"] .hero-card-copy-box {
    position: relative;
    z-index: 1;
}

body[data-theme="dark"] .hero-card-logo {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26)) brightness(1.22) contrast(1.08);
}

body[data-theme="dark"] .hero-card-copy-box {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .hero-card-copy-label {
    color: rgba(200, 216, 202, 0.72);
}

body[data-theme="dark"] .hero-card-copy-value {
    color: #C4A4847ef;
}

body[data-theme="dark"] .navbar-working-hours {
    color: var(--muted);
}

body[data-theme="dark"] .navbar-working-hours,
body[data-theme="dark"] .hero-social-link {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
}

body[data-theme="dark"] .hero-social-link {
    color: #C4A484df8;
}

body[data-theme="dark"] .hero-social-link:hover {
    background: rgba(250, 252, 250, 0.14);
}

body[data-theme="dark"] .mobile-tool-card {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.9) 0%, rgba(35, 60, 44, 0.96) 100%);
    border-color: rgba(200, 216, 202, 0.1);
}

body[data-theme="dark"] .mobile-tool-card strong {
    color: #C4A484df8;
}

body[data-theme="dark"] .mobile-tool-summary::after {
    border-color: #C4A484df8;
}

body[data-theme="dark"] .hero-meta .meta-chip {
    background: var(--surface-soft);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border-inline-start-color: rgba(var(--primary-rgb) / 0.42);
}

body[data-theme="dark"] .hero-meta .meta-chip-label {
    color: var(--muted);
}

body[data-theme="dark"] .hero-meta .meta-chip-value {
    color: #C4A4847ef;
}

body[data-theme="dark"] .category-block,
body[data-theme="dark"] .sticky-card,
body[data-theme="dark"] .subcategory-card,
body[data-theme="dark"] .site-footer,
body[data-theme="dark"] .bottom-app-nav,
body[data-theme="dark"] .waiter-call-sheet {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.9) 0%, rgba(37, 62, 46, 0.96) 100%);
    border-color: rgba(200, 216, 202, 0.1);
}

body[data-theme="dark"] .bottom-app-nav {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.96) 0%, rgba(47, 79, 58, 0.86) 100%);
    border-color: rgba(250, 252, 250, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .bottom-app-nav::before {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .bottom-nav-item.active,
body[data-theme="dark"] .bottom-nav-item:hover {
    color: #FFFDF8;
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.26) 0%, rgba(94, 124, 96, 0.14) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .menu-item,
body[data-theme="dark"] .table-banner,
body[data-theme="dark"] .social-link,
body[data-theme="dark"] .total-box,
body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="tel"],
body[data-theme="dark"] input[type="number"],
body[data-theme="dark"] input[type="password"],
body[data-theme="dark"] input[type="url"],
body[data-theme="dark"] textarea,
body[data-theme="dark"] select,
body[data-theme="dark"] .checkout-choice,
body[data-theme="dark"] .delivery-map-block {
    background: linear-gradient(180deg, rgba(60, 95, 70, 0.72) 0%, rgba(47, 79, 58, 0.9) 100%);
    border-color: rgba(200, 216, 202, 0.08);
}

body[data-theme="dark"] .table-banner {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.12), transparent 34%),
        linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb) / 0.1) 100%);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

body[data-theme="dark"] .table-banner-empty-tag {
    background: rgba(var(--primary-rgb) / 0.14);
    color: var(--primary-dark);
}

body[data-theme="dark"] .table-banner-countdown {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.14) 0%, rgba(var(--text-rgb) / 0.18) 100%);
    color: var(--primary-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .table-banner-empty-card {
    background: rgba(47 79 58 / 0.74);
    border-color: var(--border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 28px rgba(0, 0, 0, 0.12);
}

body[data-theme="dark"] .table-banner-inline-note {
    background: linear-gradient(180deg, rgba(47 79 58 / 0.82) 0%, rgba(47 79 58 / 0.72) 100%);
    border-color: var(--border);
    color: var(--text);
}

body[data-theme="dark"] .table-banner-hint-badge {
    background: linear-gradient(180deg, rgba(47 79 58 / 0.82) 0%, rgba(47 79 58 / 0.72) 100%);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .order-table-field {
    background: linear-gradient(180deg, rgba(47 79 58 / 0.88) 0%, rgba(47 79 58 / 0.76) 100%);
    border-color: var(--border);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .order-table-field span {
    color: var(--text);
}

body[data-theme="dark"] .order-table-field-note {
    color: var(--muted);
}

body[data-theme="dark"] .order-table-selection-status {
    background: rgba(47 79 58 / 0.7);
    border-color: var(--border);
    color: #f0c084;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .order-table-option {
    background: linear-gradient(180deg, rgba(67, 104, 77, 0.9) 0%, rgba(47, 79, 58, 0.88) 100%);
    border-color: var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .order-table-option-label {
    color: var(--muted);
}

body[data-theme="dark"] .order-table-option-number {
    color: #f0c084;
}

body[data-theme="dark"] .order-table-option.is-active {
    border-color: rgba(var(--primary-rgb) / 0.72);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.3) 0%, rgba(47, 79, 58, 0.9) 100%);
}

body[data-theme="dark"] .order-table-field select {
    background-color: rgba(47 79 58 / 0.72);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%23f0c084' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(67, 104, 77, 0.92) 0%, rgba(47, 79, 58, 0.88) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: left 14px center, center;
    background-size: 14px 14px, auto;
    border-color: var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 640px) {
    .order-table-picker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .order-table-option {
        min-height: 64px;
        padding: 8px 6px;
        border-radius: 16px;
    }

    .order-table-option-number {
        font-size: 21px;
    }
}

body[data-theme="dark"] .mobile-cart-bar {
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.96) 0%, rgba(74, 101, 76, 0.98) 100%);
    color: #C4A484df8;
    border: 1px solid rgba(200, 216, 202, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 34px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .mobile-cart-bar span,
body[data-theme="dark"] .mobile-cart-bar strong {
    color: #C4A484df8;
}

body[data-theme="dark"] a:hover {
    color: var(--primary-dark);
}

body[data-theme="dark"] .section-title h2,
body[data-theme="dark"] .subcategory-head h3,
body[data-theme="dark"] .menu-copy h4,
body[data-theme="dark"] .table-banner-title,
body[data-theme="dark"] .site-footer h3,
body[data-theme="dark"] .total-box strong,
body[data-theme="dark"] .cart-row strong,
body[data-theme="dark"] .info-item strong,
body[data-theme="dark"] .nav-popover strong,
body[data-theme="dark"] .navbar-brand strong {
    color: var(--text);
}

body[data-theme="dark"] .navbar-working-hours {
    background: rgba(47 79 58 / 0.86);
    border-color: rgba(var(--primary-rgb) / 0.24);
    color: var(--primary-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .table-banner-text,
body[data-theme="dark"] .helper-note,
body[data-theme="dark"] .empty-state,
body[data-theme="dark"] .rating-summary,
body[data-theme="dark"] .rating-label,
body[data-theme="dark"] label span,
body[data-theme="dark"] .delivery-map-head span,
body[data-theme="dark"] .flash-helper,
body[data-theme="dark"] .info-item span,
body[data-theme="dark"] .category-count,
body[data-theme="dark"] .bottom-nav-item,
body[data-theme="dark"] .site-footer {
    color: var(--muted);
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
    color: rgba(245 233 218 / 0.52);
}

body[data-theme="dark"] .price,
body[data-theme="dark"] .cart-badge,
body[data-theme="dark"] .tracking-link-box strong,
body[data-theme="dark"] .tracking-code-box strong {
    color: var(--primary-dark);
}

body[data-theme="dark"] .item-label {
    background: rgba(var(--primary-rgb) / 0.14);
    color: var(--primary-dark);
}

body[data-theme="dark"] .item-label--discount {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

body[data-theme="dark"] .price-original,
body[data-theme="dark"] .cart-price-original {
    color: rgba(255, 255, 255, 0.62);
}

body[data-theme="dark"] .cart-row {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.06) 0%, rgba(255, 253, 248, 0.03) 100%);
    border-color: rgba(255, 253, 248, 0.1);
    box-shadow: none;
}

body[data-theme="dark"] .cart-unit-price,
body[data-theme="dark"] .cart-line-total-label {
    color: var(--muted);
}

body[data-theme="dark"] .cart-line-total {
    color: var(--primary-dark);
}

body[data-theme="dark"] .cart-qty-stepper {
    background: rgba(255, 253, 248, 0.06);
    border-color: rgba(255, 253, 248, 0.1);
}

body[data-theme="dark"] .cart-qty-stepper input[type="number"] {
    background: rgba(47, 79, 58, 0.55);
    color: var(--text);
}

body[data-theme="dark"] .cart-remove-btn {
    background: rgba(248, 113, 113, 0.14);
    color: #fecaca;
}

body[data-theme="dark"] .cart-qty-btn {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
    color: #C4A484df8;
    box-shadow: none;
}

body[data-theme="dark"] .price-discounted {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

body[data-theme="dark"] .step-chip {
    background: rgba(250, 252, 250, 0.08);
    color: var(--text);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .step-chip:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .step-chip.active {
    background: rgba(200, 216, 202, 0.18);
    color: #C4A484df8;
    border-color: rgba(200, 216, 202, 0.24);
}

body[data-theme="dark"] .step-chip-number {
    background: rgba(var(--primary-rgb) / 0.14);
    color: var(--primary-dark);
}

body[data-theme="dark"] .category-block,
body[data-theme="dark"] .subcategory-block,
body[data-theme="dark"] .subcategory-card {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.88) 0%, rgba(35, 60, 44, 0.96) 100%);
    border-color: rgba(200, 216, 202, 0.1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .category-thumb,
body[data-theme="dark"] .subcategory-thumb,
body[data-theme="dark"] .menu-media {
    background: rgba(250, 252, 250, 0.06);
    border-color: rgba(200, 216, 202, 0.08);
    box-shadow: none;
}

body[data-theme="dark"] .category-summary h2,
body[data-theme="dark"] .subcategory-summary h3,
body[data-theme="dark"] .category-count {
    color: #C4A4847ef;
}

body[data-theme="dark"] .category-chevron {
    background: rgba(94, 124, 96, 0.22);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: none;
}

body[data-theme="dark"] .category-chevron::before {
    border-color: #f5e9da;
}

body[data-theme="dark"] .social-link,
body[data-theme="dark"] .btn-light {
    color: var(--text);
}

body[data-theme="dark"] .btn-light:hover {
    background: rgba(47 79 58 / 0.72);
}

body[data-theme="dark"] .alert-success {
    background: #173526;
    color: #ddf5e6;
    border-color: #2c6047;
}

body[data-theme="dark"] .alert-error {
    background: #3b2021;
    color: #ffe3e0;
    border-color: #7a4645;
}
}

@media (min-width: 769px) {
    .page-shell {
        padding-top: 24px;
    }
}

@media (min-width: 1025px) {
    .page-shell {
        width: min(1380px, calc(100% - 56px));
        padding: 32px 0 72px;
    }

    .hero-shell {
        display: grid;
        gap: 18px;
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 32px;
        background:
            radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.16), transparent 24%),
            linear-gradient(180deg, rgba(250, 252, 250, 0.96) 0%, rgba(200, 216, 202, 0.96) 100%);
        border: 1px solid rgba(180, 198, 183, 0.92);
        box-shadow: 0 26px 54px rgba(47, 79, 58, 0.1);
    }

    .site-navbar {
        margin-bottom: 0;
        padding: 14px 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.72);
    }

    body[data-theme="dark"] .hero-shell {
        background: var(--bg);
        border-color: transparent;
        box-shadow: none;
    }

    body[data-theme="dark"] .site-navbar {
        background: var(--bg);
        border-color: transparent;
        box-shadow: none;
    }

    .navbar-brand {
        gap: 4px;
    }

    .navbar-brand strong {
        font-size: 17px;
    }

    .navbar-working-hours {
        font-size: 11px;
        padding: 4px 12px;
    }

    .navbar-actions {
        gap: 10px;
    }

    .hero-card {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 360px);
        align-items: stretch;
        gap: 24px;
        padding: 24px 28px;
        margin-bottom: 0;
        border-radius: 28px;
        background:
            radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.12), transparent 30%),
            linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.98) 100%);
    }

    .hero-card > div:first-child {
        display: grid;
        align-content: center;
    }

    .hero-card h1 {
        margin: 0 0 10px;
        font-size: clamp(28px, 2.7vw, 38px);
        line-height: 1.25;
    }

    .hero-card p {
        max-width: 54ch;
        font-size: 14px;
        line-height: 1.85;
    }

    .hero-socials {
        justify-content: flex-start;
        margin-inline: 0;
        margin-top: 18px;
    }

    .hero-social-link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .hero-meta {
        width: 100%;
        min-width: 0;
        max-width: none;
        align-self: stretch;
    }

    .meta-chip.meta-chip-contact {
        justify-content: center;
        min-height: 100%;
        padding: 18px 20px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.56);
        border: 1px solid rgba(255, 255, 255, 0.42);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    }

    .meta-chip-line {
        column-gap: 12px;
    }

    .meta-chip-label {
        font-size: 11.5px;
    }

    .meta-chip-value {
        font-size: 14px;
        line-height: 1.9;
    }

    .table-banner {
        padding: 22px 26px;
        border-radius: 26px;
        margin-bottom: 20px;
    }

    .table-banner-title {
        font-size: 16px;
    }

    .table-banner-text {
        font-size: 13.5px;
    }

    .order-step-bar {
        margin-bottom: 18px;
    }

    .step-switcher {
        max-width: 620px;
        margin-inline: auto;
        gap: 8px;
    }

    .step-switcher .step-chip,
    .step-switcher .step-continue-btn {
        min-height: 44px;
    }

    .content-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(340px, 400px);
        gap: 28px;
        align-items: start;
    }

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

    .category-toggle {
        padding: 10px 12px;
    }

    .category-thumb {
        width: 48px;
        height: 48px;
    }

    .category-summary h2 {
        font-size: 15px;
    }

    .sticky-card {
        top: 20px;
        padding: 26px;
        border-radius: 26px;
    }

    .subcategory-card {
        padding: 18px;
        border-radius: 24px;
    }

    .menu-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .menu-item {
        min-height: 100%;
        padding: 14px;
        border-radius: 22px;
    }

    .menu-copy h4 {
        font-size: 16px;
    }

    .menu-copy p {
        font-size: 13px;
        line-height: 1.75;
    }
}

@media (max-width: 768px) {
    .page-shell {
        width: min(100%, 430px);
        padding: 14px 12px 138px;
    }

    .hero-shell {
        border-radius: 28px;
    }

    .tracking-hero {
        display: grid;
    }

    .site-navbar {
        top: 0;
        padding: 12px 14px;
        margin-bottom: 0;
    }

    .hero-card,
    .table-banner,
    .sticky-card,
    .subcategory-card,
    .site-footer {
        padding: 14px;
    }

    .hero-card {
        gap: 10px;
        border-radius: 18px;
    }

    .hero-card-head {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        direction: rtl;
    }

    .hero-card-logo {
        order: 1;
        flex: 0 0 124px;
        width: 124px !important;
        max-width: 124px;
        margin: 0;
    }

    .hero-card-copy-box {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        justify-items: end;
        text-align: right;
    }

    .step-switcher {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .step-switcher .step-chip {
        min-width: 0;
        padding-inline: 8px;
    }

    .step-switcher .step-continue-btn {
        margin-inline: 0;
        padding-inline: 8px;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .table-banner {
        padding: 12px;
        gap: 8px;
    }

    .table-banner-copy {
        gap: 4px;
    }

    .table-banner-actions {
        justify-content: flex-start;
    }

    .table-banner-reset-form {
        width: 100%;
    }

    .table-banner-reset-btn {
        width: 100%;
    }

    .table-banner-text {
        font-size: 12px;
        line-height: 1.7;
    }

    .table-banner-title {
        font-size: 13px;
    }

    .table-banner .badge {
        font-size: 11px;
        line-height: 1.6;
    }

    .content-grid {
        gap: 12px;
    }

    .subcategory-browser {
        gap: 10px;
    }

    .subcategory-tab-list {
        gap: 7px;
    }

    .subcategory-tab {
        padding: 8px 12px;
        min-height: 38px;
        font-size: 12.5px;
    }

    .mobile-cart-bar {
        width: min(calc(100% - 24px), 406px);
        bottom: 92px;
    }

    .bottom-app-nav {
        width: min(calc(100% - 24px), 406px);
        bottom: 10px;
    }

    .credit-toast {
        width: min(calc(100% - 24px), 406px);
        bottom: 84px;
    }

    .waiter-call-sheet {
        width: min(calc(100% - 24px), 406px);
        bottom: 82px;
    }

    .hero-card {
        gap: 12px;
        padding: 12px 14px 16px;
    }

    .hero-card h1 {
        font-size: clamp(22px, 7vw, 28px);
        line-height: 1.35;
    }

    .hero-card p {
        font-size: 12.5px;
        line-height: 1.7;
        max-width: 32ch;
        margin-inline: auto;
    }

    .meta-chip {
        min-height: 64px;
        padding: 12px;
    }

    .meta-chip-label {
        font-size: 11px;
    }

    .meta-chip-value {
        font-size: 11px;
        line-height: 1.55;
    }

    .meta-chip-address .meta-chip-value {
        font-size: 10.5px;
    }
}

@media (max-width: 560px) {
    .hero-card {
        padding: 11px 13px 15px;
    }

    .hero-card h1 {
        font-size: clamp(20px, 7.2vw, 25px);
    }

    .hero-card p {
        max-width: 28ch;
        font-size: 12px;
    }

    .hero-socials {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-social-link {
        width: 36px;
        height: 36px;
    }

    .hero-meta {
        display: flex;
        flex-direction: row;
        gap: 7px;
        width: 100%;
    }

    .meta-chip {
        flex: 1 1 0;
        min-width: 0;
        gap: 7px;
    }

    .subcategory-browser {
        padding: 0 10px 10px;
    }

    .menu-panel {
        gap: 10px;
    }

    .category-block {
        border-radius: 16px;
    }

    .category-toggle {
        padding: 10px;
    }

    .category-thumb {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .category-block[open] .category-thumb {
        width: 42px;
        height: 42px;
    }

    .category-summary h2 {
        font-size: 14px;
    }

    .category-availability-note {
        font-size: 10px;
        padding: 4px 8px;
    }

    .subcategory-tab-list {
        gap: 6px;
    }

    .subcategory-tab {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 12px;
    }

    .meta-chip {
        min-height: auto;
        padding: 10px 12px;
    }

    .meta-chip-label {
        font-size: 10.5px;
    }

    .meta-chip-line {
        gap: 5px;
    }

    .meta-chip-contact .meta-chip-label {
        white-space: nowrap;
    }

    .meta-chip-contact .meta-chip-value {
        white-space: normal;
    }

    .meta-chip-contact .meta-chip-line:last-child .meta-chip-label,
    .meta-chip-contact .meta-chip-line:last-child .meta-chip-value {
        font-size: 10px;
        white-space: nowrap;
    }

    .meta-chip-value,
    .meta-chip-address .meta-chip-value {
        font-size: 11px;
        line-height: 1.7;
    }

    .menu-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
        gap: 8px;
        width: 100%;
    }

    .menu-actions form {
        width: 100%;
        align-self: end;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn,
    .price {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        border-radius: 12px;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        padding: 6px 8px;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
        text-align: center;
    }

    .price-stack {
        width: 100%;
        align-items: stretch;
        justify-content: flex-end;
        gap: 3px;
    }

    .price {
        padding: 0 8px;
        font-size: 12px;
        align-self: end;
    }

    .menu-item {
        grid-template-columns: 68px minmax(0, 1fr);
        padding: 9px;
        gap: 8px;
        border-radius: 18px;
    }

    .menu-media {
        width: 68px;
        height: 68px;
        border-radius: 16px;
    }

    .menu-copy h4 {
        font-size: 14px;
    }

    .menu-copy p {
        font-size: 11px;
    }

    .cart-row {
        gap: 12px;
        padding: 13px;
        border-radius: 16px;
    }

    .cart-controls {
        width: 100%;
        gap: 10px;
    }

    .cart-qty-stepper {
        grid-template-columns: 34px 44px 34px;
        border-radius: 12px;
    }

    .cart-qty-stepper input[type="number"],
    .cart-controls input {
        width: 44px;
        min-width: 44px;
        height: 34px;
        border-radius: 12px;
    }

    .cart-qty-btn {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .cart-remove-btn {
        min-width: 0;
        padding: 7px 11px;
    }
}

@media (max-width: 400px) {
    .hero-card {
        padding: 10px 12px 14px;
    }

    .hero-card h1 {
        font-size: 19px;
    }

    .hero-card p {
        font-size: 11.5px;
        max-width: 26ch;
    }

    .meta-chip {
        padding: 9px 10px;
    }

    .meta-chip-value,
    .meta-chip-address .meta-chip-value {
        font-size: 10px;
    }
}

@media (min-width: 769px) {
    .site-body {
        background:
            radial-gradient(circle at 50% 0, rgba(var(--primary-rgb) / 0.22), transparent 20%),
            linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
    }

    .page-shell {
        width: min(100%, 430px);
        min-height: 100vh;
        padding: 18px 14px 140px;
    }

    .hero-shell {
        margin-bottom: 0;
        border-radius: 28px;
        overflow: visible;
        background:
            radial-gradient(circle at 28% 12%, rgba(var(--primary-rgb) / 0.18), transparent 36%),
            linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
        border: 0;
        box-shadow: none;
        padding: 0;
        display: block;
    }

    .site-navbar {
        margin-bottom: 0;
        padding: 14px 16px;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        position: relative;
        top: 0;
        backdrop-filter: none;
    }

    body[data-theme="dark"] .site-body {
        background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
    }

    body[data-theme="dark"] .hero-shell {
        background: var(--bg);
    }

    body[data-theme="dark"] .site-navbar {
        background: var(--bg);
        border-color: transparent;
        box-shadow: none;
    }

    body[data-theme="dark"] .nav-icon-btn {
        background: rgba(250, 252, 250, 0.08);
        border-color: rgba(200, 216, 202, 0.12);
        box-shadow: none;
        color: #C4A484df8;
    }

    body[data-theme="dark"] .nav-popover {
        background: #2C1810;
        color: #C4A484df8;
        border-color: rgba(200, 216, 202, 0.14);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    }

    body[data-theme="dark"] .nav-popover .lang-chip,
    body[data-theme="dark"] .nav-popover .theme-mode-btn,
    body[data-theme="dark"] .nav-popover .social-link,
    body[data-theme="dark"] .nav-popover button.social-link {
        background: rgba(250, 252, 250, 0.08);
        color: #C4A484df8;
        border-color: rgba(200, 216, 202, 0.12);
    }

    body[data-theme="dark"] .nav-popover .lang-chip.active,
    body[data-theme="dark"] .nav-popover .theme-mode-btn.active {
        background: var(--primary);
        color: #C4A484df8;
        border-color: transparent;
    }

    .navbar-brand {
        gap: 8px;
    }

    .eyebrow {
        display: none;
    }

    .navbar-brand strong {
        color: var(--text);
        font-size: 18px;
        font-weight: 800;
    }

    .nav-icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.34);
        border: 0;
        box-shadow: none;
        color: #51321d;
    }

    .hero-card {
        margin-bottom: 0;
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
        padding: 16px;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.44);
        box-shadow: 0 10px 24px rgba(var(--text-rgb) / 0.08);
        background: rgba(255, 255, 255, 0.36);
        backdrop-filter: blur(10px);
        color: #24160d;
    }

    .hero-card::after {
        display: none;
    }

    .hero-card > div:first-child {
        width: 100%;
        max-width: 100%;
        display: grid;
        justify-items: stretch;
        align-content: start;
        min-width: 0;
    }

    .hero-card-head {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        direction: rtl;
        min-height: 72px;
        padding-right: 0;
    }

    .hero-card-logo {
        position: static;
        flex: 0 0 124px;
        margin: 0;
    }

    .hero-card p {
        text-align: right;
        font-size: 13px;
        line-height: 1.75;
        color: rgba(46, 30, 19, 0.76);
        max-width: 42ch;
        margin-inline: 0 auto;
    }

    .hero-card-copy-box {
        margin: 0;
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.42);
        border: 1px solid rgba(var(--primary-rgb) / 0.12);
    }

    .hero-socials {
        justify-content: flex-start !important;
        direction: ltr;
        width: 100% !important;
        justify-self: stretch !important;
        align-self: start;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left;
    }

    .hero-social-link {
        width: 38px;
        height: 38px;
    }

    .hero-meta {
        margin-top: 4px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-width: 0;
        width: 100%;
        align-content: start;
        max-width: none;
    }

    .meta-chip,
    .badge {
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 68px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.28);
        border: 0;
        color: var(--text);
        box-shadow: none;
    }

    .meta-chip {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: right;
        min-height: auto;
        position: relative;
        overflow: hidden;
        gap: 4px;
        padding: 12px;
        border-radius: 16px;
        background: rgba(250, 252, 250, 0.56);
        border: 1px solid rgba(250, 252, 250, 0.44);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
        border-inline-start: 4px solid rgba(var(--primary-rgb) / 0.34);
    }

    .meta-chip-label {
        color: var(--muted);
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    .meta-chip-value {
        width: 100%;
        font-size: 13px;
        line-height: 1.8;
        color: var(--text);
    }

    .table-banner {
        margin-top: 14px;
        margin-bottom: 14px;
        padding: 12px 14px;
        border-radius: 18px;
        border: 0;
    }

    .table-banner-copy {
        gap: 5px;
    }

    .table-banner-title {
        font-size: 14px;
    }

    .table-banner-text {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .table-banner .badge {
        min-height: auto;
        width: 100%;
        padding: 10px 12px;
        border-radius: 16px;
        font-size: 12px;
    }

    .table-banner-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
    }

    .order-step-bar {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .step-switcher {
        max-width: none;
        margin-inline: 0;
        gap: 4px;
    }

    .step-chip {
        border: 0;
        border-radius: 20px;
        background: rgba(250, 252, 250, 0.92);
    }

    .step-chip.active {
        background: var(--primary-dark);
    }

    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "menu"
            "cart";
        gap: 14px;
        align-items: stretch;
    }

    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: start;
    }

    .category-block,
    .sticky-card,
    .subcategory-card,
    .site-footer {
        border: 0;
        box-shadow: 0 8px 20px rgba(var(--text-rgb) / 0.06);
    }

    .category-block {
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.94);
    }

    .category-block[open] {
        grid-column: 1 / -1;
    }

    .category-toggle {
        padding: 10px 12px;
        min-height: auto;
    }

    .category-summary {
        gap: 10px;
    }

    .category-toggle .section-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .category-block[open] .category-toggle {
        padding: 10px 12px 8px;
        min-height: auto;
    }

    .category-block[open] .category-summary {
        align-items: center;
        gap: 10px;
    }

    .category-thumb {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        border: 0;
    }

    .category-summary h2 {
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
    }

    .category-block[open] .category-thumb {
        width: 44px;
        height: 44px;
    }

    .subcategory-browser {
        gap: 10px;
        padding: 0 10px 10px;
    }

    .category-availability-note {
        width: fit-content;
        max-width: 100%;
        min-height: 0;
        padding: 5px 10px;
        border-radius: 14px;
        font-size: 10.5px;
        line-height: 1.7;
    }

    .subcategory-stack {
        gap: 10px;
    }

    .subcategory-card {
        min-width: 0;
        border-radius: 20px;
        padding: 12px;
        background: #f8f6f2;
    }

    .subcategory-toggle {
        padding: 10px 12px;
        gap: 10px;
    }

    .subcategory-thumb {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 0;
    }

    .subcategory-toggle h3 {
        font-size: 14px;
        line-height: 1.5;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .menu-item {
        grid-template-columns: 74px minmax(0, 1fr);
        grid-template-areas:
            "media copy"
            "actions actions";
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
        border: 0;
        box-shadow: none;
        background: var(--surface);
        min-height: auto;
    }

    .menu-media {
        width: 74px;
        height: 74px;
        border-radius: 18px;
        border: 0;
    }

    .menu-copy h4 {
        font-size: 15px;
        margin-bottom: 4px;
        line-height: 1.5;
    }

    .menu-copy p {
        font-size: 12px;
        line-height: 1.55;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .item-label {
        margin-bottom: 6px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .menu-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 8px;
        width: 100%;
    }

    .menu-actions form {
        width: auto;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        min-width: 96px;
        padding-inline: 12px;
    }

    .price-stack {
        min-width: 0;
        gap: 3px;
    }

    .price {
        font-size: 13px;
        line-height: 1.4;
    }

    .price-original {
        font-size: 11px;
    }

    .btn {
        min-height: 40px;
        border-radius: 14px;
        box-shadow: none;
    }

    .btn-primary {
        background: #2F4F3A;
        color: #C4A484;
    }

    .btn-light {
        background: #ece7e0;
    }

    .sticky-card {
        position: static;
        top: auto;
        padding: 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
    }

    .cart-row {
        padding: 13px;
        gap: 12px;
    }

    .cart-row-info {
        min-width: 0;
    }

    .cart-controls {
        width: 100%;
    }

    .cart-qty-stepper {
        grid-template-columns: 34px 44px 34px;
        border-radius: 12px;
    }

    .cart-controls input {
        width: 44px;
        min-width: 44px;
        height: 34px;
        text-align: center;
        padding-inline: 4px;
        border-radius: 12px;
    }

    .cart-qty-btn {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .cart-line-total {
        white-space: nowrap;
        font-weight: 800;
    }

    .cart-remove-btn {
        min-width: 0;
    }

    .total-box {
        margin: 14px 0;
        padding: 14px 16px;
        border-radius: 18px;
        border: 0;
        background: #f6efe4;
    }

    .checkout-choice,
    .delivery-map-block {
        border-radius: 18px;
        border: 0;
        background: #f6f2ec;
    }

    input[type="text"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    textarea,
    select {
        border-radius: 16px;
        border: 0;
        background: #f3efe8;
        padding: 12px 14px;
    }

    .site-footer {
        margin-top: 140px;
        padding-top: 12px;
        border-top: 0;
        justify-content: center;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.9);
        padding: 12px 14px;
    }

    .site-footer h3 {
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.8;
    }

    .social-link {
        background: #f5f0e9;
        border: 0;
        box-shadow: none;
    }

    .mobile-cart-bar {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 104px;
        transform: translateX(-50%);
        width: min(calc(100% - 28px), 402px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 12px;
        background: var(--primary);
        color: var(--surface);
        box-shadow: 0 18px 34px rgba(var(--text-rgb) / 0.22);
        z-index: 30;
    }

    .bottom-app-nav {
        position: fixed;
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
        width: min(calc(100% - 16px), 430px);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        padding: 8px 8px;
        border-radius: 26px;
        background: linear-gradient(180deg, #FAFCFA 0%, #EEF3EE 100%);
        border: 1px solid rgba(200, 216, 202, 0.95);
        box-shadow: 0 18px 45px rgba(47, 79, 58, 0.14);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        overflow: hidden;
        z-index: 40;
    }

    .bottom-nav-item {
        display: grid;
        justify-items: center;
        gap: 3px;
        min-height: 44px;
        padding: 6px 2px;
        border-radius: 16px;
        color: rgba(122, 92, 69, 0.82);
        font-size: 10px;
        line-height: 1.1;
    }

    .bottom-nav-item svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
    }

    .bottom-nav-item span {
        white-space: nowrap;
    }

    .credit-toast {
        display: block;
        position: fixed;
        left: 50%;
        bottom: 96px;
        transform: translateX(-50%);
        width: min(calc(100% - 28px), 402px);
        padding: 10px 12px;
        border-radius: 18px;
        background: rgba(250, 252, 250, 0.95);
        border: 1px solid rgba(200, 216, 202, 0.95);
        box-shadow: 0 14px 30px rgba(47, 79, 58, 0.12);
        color: #2F4F3A;
        font-size: 12px;
        line-height: 1.7;
        text-align: center;
        z-index: 41;
    }

    .waiter-call-sheet {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 92px;
        transform: translateX(-50%);
        width: min(calc(100% - 24px), 406px);
        padding: 16px;
        border-radius: 28px;
        z-index: 45;
    }
}

/* Final responsive menu overrides */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "menu"
            "cart";
        gap: 18px;
        align-items: stretch;
    }

    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: start;
    }

    .category-block[open] {
        grid-column: 1 / -1;
    }

    .sticky-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .step-switcher {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .step-switcher .step-chip,
    .step-switcher .step-continue-btn {
        width: 100%;
        min-width: 0;
    }

    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: start;
        justify-items: stretch;
    }

    .category-block {
        border-radius: 16px;
        display: block;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .category-block[open] {
        grid-column: 1 / -1 !important;
    }

    .category-toggle {
        min-height: auto;
        padding: 10px 12px !important;
        align-items: center;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .category-summary {
        display: flex !important;
        align-items: center;
        gap: 10px;
        text-align: right;
        width: 100%;
        min-width: 0;
    }

    .category-toggle .section-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
    }

    .category-summary h2 {
        margin: 0;
        font-size: 16px;
        line-height: 1.45;
    }

    .category-block[open] .category-toggle {
        min-height: auto;
        padding: 12px 12px 8px !important;
    }

    .category-block[open] .category-summary {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        text-align: right;
        width: 100%;
    }

    .category-thumb {
        width: 44px !important;
        height: 44px !important;
    }

    .category-block[open] .category-thumb {
        width: 42px !important;
        height: 42px !important;
    }

    .subcategory-browser {
        gap: 10px;
        padding: 0 12px 12px !important;
    }

    .category-availability-note {
        display: inline-flex;
        max-width: 100%;
        width: fit-content;
        padding: 5px 9px;
        min-height: 0;
        border-radius: 14px;
        font-size: 10px;
        line-height: 1.7;
    }

    .subcategory-stack {
        gap: 10px;
    }

    .subcategory-toggle {
        padding: 10px 12px;
        gap: 10px;
    }

    .subcategory-toggle h3 {
        font-size: 14px;
        line-height: 1.45;
    }

    .menu-items {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .menu-item {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        grid-template-areas:
            "media copy"
            "actions actions";
        gap: 9px 10px !important;
        padding: 10px !important;
        min-height: auto;
        border-radius: 18px;
    }

    .menu-media {
        width: 72px !important;
        height: 72px !important;
        border-radius: 16px;
    }

    .menu-copy {
        min-width: 0;
    }

    .menu-copy h4 {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.45;
    }

    .menu-copy p {
        margin-bottom: 0;
        font-size: 11.5px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .item-label {
        margin-bottom: 6px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .menu-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        gap: 8px !important;
        width: 100%;
    }

    .menu-actions form {
        width: auto !important;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        width: auto !important;
        min-width: 94px;
        padding-inline: 12px;
    }

    .price-stack {
        min-width: 0;
        gap: 3px;
    }

    .price {
        font-size: 13px;
        line-height: 1.4;
    }

    .price-original {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .category-block {
        border-radius: 16px;
    }

    .category-toggle {
        padding: 10px !important;
    }

    .category-thumb {
        width: 42px !important;
        height: 42px !important;
        border-radius: 11px;
    }

    .category-block[open] .category-thumb {
        width: 40px !important;
        height: 40px !important;
    }

    .category-summary h2 {
        font-size: 13px;
    }

    .subcategory-browser {
        padding: 0 10px 10px !important;
    }

    .menu-item {
        grid-template-columns: 66px minmax(0, 1fr) !important;
        padding: 9px !important;
        gap: 8px 9px !important;
    }

    .menu-media {
        width: 66px !important;
        height: 66px !important;
        border-radius: 15px;
    }

    .menu-copy h4 {
        font-size: 13px;
    }

    .menu-copy p {
        font-size: 11px;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        min-width: 88px;
        padding-inline: 10px;
        font-size: 10px;
    }

    .price {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch;
        justify-items: stretch;
    }

    .category-block {
        border-radius: 16px;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .category-toggle {
        padding: 10px !important;
        width: 100%;
    }

    .category-summary {
        gap: 10px;
        width: 100%;
    }

    .category-thumb {
        width: 42px !important;
        height: 42px !important;
        border-radius: 11px;
    }

    .category-block[open] .category-thumb {
        width: 40px !important;
        height: 40px !important;
    }

    .category-summary h2 {
        font-size: 13px;
        line-height: 1.4;
    }

    .subcategory-toggle {
        padding: 11px 12px;
    }

    .subcategory-thumb {
        width: 46px !important;
        height: 46px !important;
        border-radius: 14px;
    }

    .subcategory-toggle h3 {
        font-size: 14px;
    }

    .menu-item {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        padding: 10px !important;
        gap: 10px !important;
        border-radius: 19px;
    }

    .menu-media {
        width: 78px !important;
        height: 78px !important;
        border-radius: 17px;
    }

    .menu-copy h4 {
        font-size: 14px;
        line-height: 1.45;
    }

    .menu-copy p {
        font-size: 11.5px;
        line-height: 1.6;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        min-width: 92px;
        min-height: 38px;
        font-size: 10.5px;
    }
}

@media (max-width: 390px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .category-block,
    .category-toggle,
    .category-summary {
        width: 100%;
        min-width: 0;
    }

    .category-thumb {
        width: 42px !important;
        height: 42px !important;
    }

    .category-block[open] .category-thumb {
        width: 40px !important;
        height: 40px !important;
    }

    .menu-item {
        grid-template-columns: 74px minmax(0, 1fr) !important;
    }

    .menu-media {
        width: 74px !important;
        height: 74px !important;
    }
}

.admin-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-auth-screen {
    width: min(920px, 100%);
    display: grid;
    gap: 18px;
}

.admin-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(180, 198, 183, 0.92);
    background: #C4A484dfa;
    box-shadow: 0 24px 60px rgba(var(--text-rgb) / 0.1);
}

.admin-auth-aside {
    display: grid;
    align-content: center;
    padding: 36px 32px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(160deg, #4f6b51 0%, #2f4f3a 58%, #3d5a40 100%);
    color: #C4A484df8;
}

.admin-auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-auth-brand-copy {
    display: grid;
    gap: 4px;
}

.admin-auth-brand-copy strong {
    font-size: 22px;
    line-height: 1.3;
}

.admin-auth-brand-copy span {
    font-size: 13px;
    color: rgba(250, 252, 250, 0.78);
}

.admin-auth-main {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 36px 34px;
}

.admin-auth-form {
    display: grid;
    gap: 14px;
}

.admin-auth-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-auth-field span {
    flex: 0 0 88px;
    font-size: 13px;
    font-weight: 800;
    color: #5a4739;
    white-space: nowrap;
}

.admin-auth-field input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(221, 209, 194, 0.95);
    background: #C4A484;
    color: var(--text);
}

.admin-auth-field input:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb) / 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.08);
}

.admin-auth-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
}

.admin-auth-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 6px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 820px) {
    .admin-auth-card {
        grid-template-columns: 1fr;
    }

    .admin-auth-aside {
        padding: 28px 24px;
    }

    .admin-auth-main {
        padding: 28px 24px 32px;
    }

    .admin-auth-foot {
        justify-content: center;
        text-align: center;
    }
}


.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table td a {
    color: #C4A484;
    font-weight: 700;
}

.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table td a:hover,
.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .orders-table tbody tr:hover td a {
    color: #bbf7d0;
}

.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-stats-summary-grid .admin-panel {
    background: #2C1810;
    border: 1px solid rgba(196, 164, 132, 0.1);
    color: #C4A484;
}

.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-stats-summary-grid .admin-panel strong {
    color: rgba(196, 164, 132, 0.72);
    font-size: 13px;
}

.admin-body[data-theme="dark"] #order-stats,
.admin-body[data-theme="dark"] #product-stats .admin-stats-summary-grid .admin-panel p {
    color: #C4A484;
    font-weight: 800;
}


/* Admin theme toggle */
.admin-body .admin-theme-toggle .admin-theme-icon {
    display: none;
}

.admin-body[data-theme="dark"] .admin-theme-toggle .admin-theme-icon--sun {
    display: inline-flex;
}

.admin-body[data-theme="light"] .admin-theme-toggle .admin-theme-icon--moon {
    display: inline-flex;
}

/* Admin light mode overrides */
body.admin-body[data-theme="light"] {
    --bg: #FAFCFA;
    --surface: #FAFCFA;
    --surface-soft: #EEF3EE;
    --text: #2F4F3A;
    --muted: #5A7260;
    --primary: #5E7C60;
    --primary-dark: #2F4F3A;
    --accent: #5E7C60;
    --primary-rgb: 94 124 96;
    --text-rgb: 47 79 58;
    --success: #1f7a45;
    --warning: #c48212;
    --danger: #9e2f28;
    --border: rgba(94 124 96 / 0.18);
    --shadow: 0 18px 40px rgba(47 79 58 / 0.12);
    --shadow-soft: 0 10px 24px rgba(47 79 58 / 0.08);
    --shadow-hover: 0 24px 48px rgba(47 79 58 / 0.16);
    color: #2F4F3A;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.12), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

body.admin-body[data-theme="light"] .admin-sidebar,
body.admin-body[data-theme="light"] .admin-main,
body.admin-body[data-theme="light"] .admin-panel,
body.admin-body[data-theme="light"] .admin-header,
body.admin-body[data-theme="light"] .admin-quick-access-card,
body.admin-body[data-theme="light"] .admin-section-group,
body.admin-body[data-theme="light"] .stat-card,
body.admin-body[data-theme="light"] .admin-glance-card {
    color: var(--text);
}

body.admin-body[data-theme="light"] .admin-header,
body.admin-body[data-theme="light"] .admin-panel,
body.admin-body[data-theme="light"] .auth-card,
body.admin-body[data-theme="light"] .stat-card,
body.admin-body[data-theme="light"] .admin-quick-access-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(180, 198, 183, 0.9) !important;
    box-shadow: var(--shadow-soft);
}

body.admin-body[data-theme="light"] .admin-sidebar {
    background: transparent;
}

body.admin-body[data-theme="light"] .admin-icon-btn,
body.admin-body[data-theme="light"] .admin-user,
body.admin-body[data-theme="light"] .admin-nav a,
body.admin-body[data-theme="light"] .admin-nav-group-label,
body.admin-body[data-theme="light"] .admin-quick-access-text,
body.admin-body[data-theme="light"] .admin-quick-access-text strong,
body.admin-body[data-theme="light"] .helper-note,
body.admin-body[data-theme="light"] .admin-header-title,
body.admin-body[data-theme="light"] .admin-section-heading-copy,
body.admin-body[data-theme="light"] .admin-section-heading p,
body.admin-body[data-theme="light"] .orders-table,
body.admin-body[data-theme="light"] .status-form,
body.admin-body[data-theme="light"] .order-items-toggle summary,
body.admin-body[data-theme="light"] .site-footer h3,
body.admin-body[data-theme="light"] .admin-footer h3 {
    color: var(--text) !important;
}

body.admin-body[data-theme="light"] .admin-icon-btn {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(180, 198, 183, 0.9) !important;
}

body.admin-body[data-theme="light"] .admin-icon-btn:hover {
    background: #C4A484 !important;
    border-color: rgba(94, 124, 96, 0.35) !important;
}

body.admin-body[data-theme="light"] .admin-nav a,
body.admin-body[data-theme="light"] .admin-nav-trigger,
body.admin-body[data-theme="light"] .admin-quick-access-link {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(180, 198, 183, 0.75);
    color: var(--text);
}

body.admin-body[data-theme="light"] .admin-nav a.is-active,
body.admin-body[data-theme="light"] .admin-quick-access-link.is-active,
body.admin-body[data-theme="light"] .admin-nav-group[open] .admin-nav-trigger {
    background: rgba(94, 124, 96, 0.12);
    border-color: rgba(94, 124, 96, 0.28);
    color: var(--primary-dark);
}

body.admin-body[data-theme="light"] .orders-table th {
    background: #eef3ee !important;
    color: var(--text) !important;
}

body.admin-body[data-theme="light"] .orders-table td,
body.admin-body[data-theme="light"] .orders-table tbody tr td {
    background: #C4A484 !important;
    color: var(--text) !important;
    border-color: rgba(94, 124, 96, 0.12) !important;
}

body.admin-body[data-theme="light"] .orders-table tbody tr:nth-child(even) td {
    background: #f7faf7 !important;
}

body.admin-body[data-theme="light"] .orders-table tbody tr:hover td {
    background: #eef6ef !important;
    color: var(--text) !important;
}

body.admin-body[data-theme="light"] .orders-table td a {
    color: #2f6b3c !important;
}

body.admin-body[data-theme="light"] input,
body.admin-body[data-theme="light"] select,
body.admin-body[data-theme="light"] textarea,
body.admin-body[data-theme="light"] .admin-users-search-field input[type="search"] {
    background: #C4A484 !important;
    color: var(--text) !important;
    border-color: rgba(94, 124, 96, 0.22) !important;
}

body.admin-body[data-theme="light"] .admin-users-search-field span,
body.admin-body[data-theme="light"] .admin-users-pagination-meta span,
body.admin-body[data-theme="light"] .admin-form label span {
    color: var(--muted) !important;
}

body.admin-body[data-theme="light"] .admin-users-pagination-meta strong,
body.admin-body[data-theme="light"] .admin-stats-summary-grid .admin-panel strong {
    color: var(--text) !important;
}

body.admin-body[data-theme="light"] .admin-stats-summary-grid .admin-panel p {
    color: var(--primary-dark) !important;
}

body.admin-body[data-theme="light"] .admin-users-pagination-pages,
body.admin-body[data-theme="light"] .admin-users-pagination-nav,
body.admin-body[data-theme="light"] .admin-users-pagination-pages a {
    background: #C4A484;
    color: var(--text);
    border-color: rgba(94, 124, 96, 0.18);
}

body.admin-body[data-theme="light"] .admin-notification-panel,
body.admin-body[data-theme="light"] .dashboard-lock-form {
    background: #C4A484;
    color: var(--text);
    border-color: rgba(94, 124, 96, 0.18);
}

body.admin-body[data-theme="light"] .dashboard-lock-overlay {
    background: rgba(250, 252, 250, 0.78);
}

body.admin-body[data-theme="light"] .dashboard-lock-title,
body.admin-body[data-theme="light"] .dashboard-lock-copy {
    color: var(--text);
}

body.admin-body[data-theme="light"] .sidebar-notification-item,
body.admin-body[data-theme="light"] .sidebar-notification-empty,
body.admin-body[data-theme="light"] .sidebar-notification-title {
    color: var(--text);
}

body.admin-body[data-theme="light"] .admin-inline-icon svg {
    stroke: currentColor;
}


/* Extra light coverage for dashboard chrome */
body.admin-body[data-theme="light"] .dashboard-panel,
body.admin-body[data-theme="light"] .admin-glance-card,
body.admin-body[data-theme="light"] .admin-section-group,
body.admin-body[data-theme="light"] .admin-nav,
body.admin-body[data-theme="light"] .admin-sidebar-card,
body.admin-body[data-theme="light"] .table-wrap,
body.admin-body[data-theme="light"] .order-receipt,
body.admin-body[data-theme="light"] .status-form,
body.admin-body[data-theme="light"] .waiter-order-card,
body.admin-body[data-theme="light"] .admin-footer,
body.admin-body[data-theme="light"] .site-footer {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(94, 124, 96, 0.18) !important;
    color: #2F4F3A !important;
    box-shadow: var(--shadow-soft) !important;
}

body.admin-body[data-theme="light"] .dashboard-panel {
    background:
        radial-gradient(circle at top right, rgba(94, 124, 96, 0.10), transparent 32%),
        linear-gradient(180deg, #C4A484 0%, #f7faf7 100%) !important;
}

body.admin-body[data-theme="light"] .admin-nav a,
body.admin-body[data-theme="light"] .admin-nav-trigger,
body.admin-body[data-theme="light"] .admin-quick-access-link {
    background: #C4A484 !important;
    color: #2F4F3A !important;
    border-color: rgba(94, 124, 96, 0.16) !important;
}

body.admin-body[data-theme="light"] .admin-nav a.is-active,
body.admin-body[data-theme="light"] .admin-quick-access-link.is-active,
body.admin-body[data-theme="light"] .admin-nav-group[open] .admin-nav-trigger {
    background: rgba(94, 124, 96, 0.12) !important;
    color: #2F4F3A !important;
    border-color: rgba(94, 124, 96, 0.28) !important;
}

body.admin-body[data-theme="light"] .admin-table-card,
body.admin-body[data-theme="light"] .floor-table,
body.admin-body[data-theme="light"] [class*="table-status"],
body.admin-body[data-theme="light"] .dashboard-table-card {
    color: #2F4F3A !important;
}

body.admin-body[data-theme="light"] .dashboard-lock-form {
    background: #C4A484 !important;
    color: #2F4F3A !important;
    border-color: rgba(94, 124, 96, 0.18) !important;
    box-shadow: var(--shadow) !important;
}

body.admin-body[data-theme="light"] .dashboard-lock-title,
body.admin-body[data-theme="light"] .dashboard-lock-copy,
body.admin-body[data-theme="light"] .dashboard-lock-field span {
    color: #2F4F3A !important;
}

body.admin-body[data-theme="light"] .dashboard-lock-copy,
body.admin-body[data-theme="light"] .dashboard-lock-field span {
    color: #5A7260 !important;
}

body.admin-body[data-theme="light"] .dashboard-lock-field input[type="password"] {
    background: #C4A484 !important;
    color: #2F4F3A !important;
    border-color: rgba(94, 124, 96, 0.22) !important;
}

body.admin-body[data-theme="light"] .admin-actions,
body.admin-body[data-theme="light"] .admin-header .admin-actions {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(94, 124, 96, 0.16);
}


/* Dashboard table modal — structure must work in light and dark */
.admin-body.is-dashboard-table-modal-open {
    overflow: hidden;
}

.admin-body.is-dashboard-table-modal-open .admin-footer {
    visibility: hidden;
}

.admin-body .dashboard-table-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1800 !important;
    display: grid !important;
    place-items: center;
    padding: 24px;
}

.admin-body .dashboard-table-modal[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 15, 0.68);
    backdrop-filter: blur(4px);
}

.admin-body .dashboard-table-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.admin-body .dashboard-table-modal-head,
.admin-body .dashboard-table-modal-items-head,
.admin-body .dashboard-table-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-body .dashboard-table-modal-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-body .dashboard-table-modal-meta-item {
    display: grid;
    gap: 6px;
}

.admin-body .dashboard-table-modal-items {
    display: grid;
    gap: 12px;
}

.admin-body .dashboard-table-modal-status-editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
}

.admin-body .dashboard-table-modal-status-editor[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-status-form {
    display: grid;
    gap: 10px;
}

.admin-body .dashboard-table-modal-status-form select {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
}

.admin-body .dashboard-table-modal-status-feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.8;
}

.admin-body .dashboard-table-modal-status-feedback[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-items-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.admin-body .dashboard-table-modal-items-list li {
    padding: 10px 12px;
    border-radius: 14px;
}

.admin-body .dashboard-table-modal-actions {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .admin-body .dashboard-table-modal {
        padding: 14px;
        align-items: end;
    }

    .admin-body .dashboard-table-modal-dialog {
        width: 100%;
        max-height: min(84vh, 720px);
        overflow: auto;
        padding: 16px;
        border-radius: 22px 22px 18px 18px;
    }

    .admin-body .dashboard-table-modal-head,
    .admin-body .dashboard-table-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-body .dashboard-table-modal-meta {
        grid-template-columns: 1fr;
    }

    .admin-body .dashboard-table-modal-items-head {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Light theme colors for dashboard table modal */
body.admin-body[data-theme="light"] .dashboard-table-modal-backdrop {
    background: rgba(47, 79, 58, 0.42);
}

body.admin-body[data-theme="light"] .dashboard-table-modal-dialog {
    border: 1px solid rgba(94, 124, 96, 0.18);
    background: linear-gradient(180deg, #C4A484 0%, #f7faf7 100%);
    color: #2F4F3A;
    box-shadow: 0 24px 60px rgba(47, 79, 58, 0.18);
}

body.admin-body[data-theme="light"] .dashboard-table-modal-head strong,
body.admin-body[data-theme="light"] .dashboard-table-modal-meta-item strong,
body.admin-body[data-theme="light"] .dashboard-table-modal-items-head strong {
    color: #2F4F3A;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-head small,
body.admin-body[data-theme="light"] .dashboard-table-modal-items-head span,
body.admin-body[data-theme="light"] .dashboard-table-modal-meta-item span {
    color: #5A7260;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-meta-item,
body.admin-body[data-theme="light"] .dashboard-table-modal-items {
    border: 1px solid rgba(94, 124, 96, 0.14);
    border-radius: 18px;
    background: rgba(94, 124, 96, 0.05);
    padding: 12px 14px;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-status-editor {
    border: 1px solid rgba(94, 124, 96, 0.18);
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.08), rgba(238, 243, 238, 0.9));
}

body.admin-body[data-theme="light"] .dashboard-table-modal-status-form select {
    border: 1px solid rgba(94, 124, 96, 0.22);
    background: #C4A484;
    color: #2F4F3A;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-status-feedback[data-state="info"] {
    background: rgba(59, 130, 246, 0.10);
    color: #1e3a5f;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-status-feedback[data-state="success"] {
    background: rgba(196, 164, 132, 0.12);
    color: #166534;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-status-feedback[data-state="error"] {
    background: rgba(239, 68, 68, 0.10);
    color: #9e2f28;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-items-list li {
    background: rgba(94, 124, 96, 0.06);
    color: #2F4F3A;
}

body.admin-body[data-theme="light"] .dashboard-table-modal-close {
    color: #2F4F3A !important;
    background: #C4A484 !important;
    border-color: rgba(94, 124, 96, 0.18) !important;
}


/* Keep auth form inputs readable even if page theme is dark */
body.admin-auth-page .admin-auth-field,
body[data-theme="dark"].admin-auth-page .admin-auth-field {
    background: #f8f3eb !important;
    border-color: rgba(180, 198, 183, 0.82) !important;
}

body.admin-auth-page .admin-auth-field span,
body[data-theme="dark"].admin-auth-page .admin-auth-field span {
    color: #5a4739 !important;
}

body.admin-auth-page .admin-auth-field input,
body[data-theme="dark"].admin-auth-page .admin-auth-field input,
body[data-theme="dark"].admin-auth-page input[type="tel"],
body[data-theme="dark"].admin-auth-page input[type="text"] {
    background: #C4A484 !important;
    color: #2F4F3A !important;
    border-color: rgba(221, 209, 194, 0.95) !important;
    box-shadow: none !important;
}

body.admin-auth-page .admin-auth-main,
body[data-theme="dark"].admin-auth-page .admin-auth-main {
    background: #C4A484dfa !important;
    color: #2F4F3A !important;
}


/* Square OTP login card — brand on top (compact) */
.admin-auth-screen--square {
    width: min(360px, 100%);
}

.admin-auth-card--square {
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    grid-template-columns: none;
    overflow: hidden;
}

.admin-auth-topbrand {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
    padding: 18px 20px 16px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(160deg, #4f6b51 0%, #2f4f3a 58%, #3d5a40 100%);
    color: #C4A484df8;
}

.admin-auth-topbrand strong {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.admin-auth-topbrand span {
    font-size: 13px;
    color: rgba(250, 252, 250, 0.82);
}

.admin-auth-card--square .admin-auth-main {
    flex: 0 0 auto;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px 18px 18px;
    background: #C4A484dfa;
}

.admin-auth-card--square .admin-auth-field {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-auth-card--square .admin-auth-field span {
    flex: none;
    white-space: normal;
    margin-bottom: 6px;
}

.admin-auth-card--square .admin-auth-field input {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #C4A484 !important;
    border: 1px solid rgba(180, 198, 183, 0.85) !important;
}

.admin-auth-card--square .admin-auth-submit {
    min-height: 48px;
    margin-top: 2px;
}

.admin-auth-card--square .admin-auth-aside {
    display: none;
}

.admin-auth-screen--square .admin-auth-foot {
    margin-top: 10px;
}

@media (max-width: 520px) {
    .admin-auth-card--square {
        aspect-ratio: auto;
        max-height: none;
        min-height: 0;
    }
}


/* Notification sound volume control */
.admin-sound-volume-field {
    display: grid;
    gap: 8px;
}

.admin-sound-volume-field > span {
    font-weight: 800;
    color: inherit;
}

.admin-sound-volume-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-sound-volume-controls input[type="range"] {
    flex: 1 1 180px;
    min-width: 160px;
    accent-color: #5E7C60;
}

.admin-sound-volume-controls strong {
    min-width: 3.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

body.admin-body[data-theme="light"] .admin-sound-volume-field > span,
body.admin-body[data-theme="light"] .admin-sound-volume-controls strong {
    color: #2F4F3A !important;
}

.admin-sound-volume-status {
    min-height: 1.2em;
    font-size: 12px;
    font-weight: 700;
    color: #2f6b3c;
}

.admin-sound-volume-status[data-state="error"] {
    color: #9e2f28;
}


/* Settings form: label on the right, field in front (RTL) */
#settings-panel .admin-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#settings-panel .admin-form label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
}

#settings-panel .admin-form label > span {
    flex: 0 0 120px;
    max-width: 38%;
    margin: 0;
    font-weight: 800;
    line-height: 1.4;
    white-space: normal;
}

#settings-panel .admin-form label > input,
#settings-panel .admin-form label > textarea,
#settings-panel .admin-form label > select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
}

#settings-panel .admin-form label.full-span {
    grid-column: 1 / -1;
}

#settings-panel .admin-sound-volume-field {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

#settings-panel .admin-sound-volume-field > span {
    flex: 0 0 120px;
    max-width: 38%;
    margin: 0;
    padding-top: 10px;
    font-weight: 800;
    line-height: 1.4;
}

#settings-panel .admin-sound-volume-field .admin-sound-volume-controls,
#settings-panel .admin-sound-volume-field .helper-note,
#settings-panel .admin-sound-volume-field .admin-sound-volume-status {
    flex: 1 1 auto;
    min-width: 0;
}

#settings-panel .admin-sound-volume-field {
    flex-wrap: wrap;
}

#settings-panel .admin-sound-volume-field > span {
    flex: 0 0 120px;
}

#settings-panel .admin-sound-volume-field-main {
    flex: 1 1 220px;
    display: grid;
    gap: 8px;
    min-width: 0;
}

@media (max-width: 720px) {
    #settings-panel .admin-form {
        grid-template-columns: 1fr;
    }

    #settings-panel .admin-form label,
    #settings-panel .admin-sound-volume-field {
        flex-direction: column;
        align-items: stretch;
    }

    #settings-panel .admin-form label > span,
    #settings-panel .admin-sound-volume-field > span {
        flex: none;
        max-width: none;
        white-space: normal;
        padding-top: 0;
    }
}


/* Accounting dashboard */
.admin-accounting-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.admin-accounting-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.admin-accounting-kpi {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-accounting-kpi span,
.admin-accounting-kpi small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-accounting-kpi strong {
    font-size: 22px;
    font-weight: 800;
    color: #2F4F3A;
}

.admin-accounting-kpi.is-profit {
    background: linear-gradient(180deg, rgba(196, 164, 132, 0.14), rgba(196, 164, 132, 0.06));
    border-color: rgba(196, 164, 132, 0.28);
}

.admin-accounting-kpi.is-loss,
.admin-accounting-kpi.is-loss-soft {
    background: linear-gradient(180deg, rgba(220, 53, 45, 0.12), rgba(220, 53, 45, 0.05));
    border-color: rgba(220, 53, 45, 0.24);
}

.admin-accounting-kpi.is-sales {
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.14), rgba(94, 124, 96, 0.05));
}

.admin-accounting-kpi.is-cogs {
    background: linear-gradient(180deg, rgba(180, 140, 80, 0.14), rgba(180, 140, 80, 0.05));
}

.admin-accounting-kpi.is-best-day,
.admin-accounting-kpi.is-best-month {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
    border-color: rgba(59, 130, 246, 0.22);
}

.admin-accounting-kpi.is-best-day strong,
.admin-accounting-kpi.is-best-month strong {
    font-size: 20px;
}

.admin-accounting-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.admin-accounting-columns .admin-panel h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

body.admin-body[data-theme="dark"] .admin-accounting-kpi {
    background: #171717;
    border-color: #222;
    box-shadow: none;
}

body.admin-body[data-theme="dark"] .admin-accounting-kpi strong {
    color: #F6C457;
}

@media (max-width: 900px) {
    .admin-accounting-kpi-grid,
    .admin-accounting-columns {
        grid-template-columns: 1fr;
    }
}



@keyframes discount-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.item-label--discount {
    background: #dc2626 !important;
    color: #C4A484 !important;
    border: 1px solid #b91c1c;
    animation: discount-blink 1.1s ease-in-out infinite;
}

.special-offers-title-badge {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 0.55rem;
    background: #dc2626;
    color: #C4A484 !important;
    border: 1px solid #b91c1c;
    font-weight: 800;
    line-height: 1.35;
    animation: discount-blink 1.1s ease-in-out infinite;
}

.special-offers-category > .category-toggle .section-title h2 {
    color: inherit;
}

body[data-theme="dark"] .item-label--discount,
body[data-theme="dark"] .special-offers-title-badge {
    background: #ef4444 !important;
    color: #C4A484 !important;
    border-color: #dc2626;
}











.special-offers-category > .category-toggle .category-thumb--discount {
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

@keyframes discount-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.special-offers-category > .category-toggle .category-thumb--discount img {
    object-fit: contain;
    background: transparent;
    animation: discount-spin 4.5s linear infinite;
    transform-origin: center center;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .special-offers-category > .category-toggle .category-thumb--discount img {
        animation: none;
    }
}


/* special-offers card bg */
.special-offers-category.category-block,
.special-offers-category.category-block:hover,
details.special-offers-category.category-block {
    background: #C4A4844ca !important;
    border-color: #C4A4844ca !important;
    box-shadow: none !important;
}

.special-offers-category > .category-toggle {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.special-offers-category > .category-toggle .category-summary {
    background: transparent;
}

body[data-theme="dark"] .special-offers-category.category-block,
body[data-theme="dark"] .special-offers-category.category-block:hover,
body[data-theme="dark"] details.special-offers-category.category-block {
    background: #C4A4844ca !important;
    border-color: #C4A4844ca !important;
    box-shadow: none !important;
}


.bottom-app-nav .bottom-nav-item {
    flex: 1 1 0;
    min-width: 0;
}

.bottom-nav-discount-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}


/* removed old grey account-order-list a */

.account-orders h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.account-otp-form + .account-otp-form {
    margin-top: 0.5rem;
}



/* Account page redesign */
.account-body .page-shell.account-shell {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 14px 16px 110px;
}

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

.account-back {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.account-topbar-time {
    font-size: 0.78rem;
    opacity: 0.65;
}

.account-intro {
    margin: 0 0 1.25rem;
}

.account-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--primary);
    font-weight: 800;
}

.account-intro h1 {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.15;
    color: var(--primary-dark);
}

.account-subtitle,
.account-phone {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    color: rgba(47, 79, 58, 0.78);
}

.account-phone {
    font-weight: 700;
    direction: ltr;
    unicode-bidi: plaintext;
}

.account-login {
    padding: 1rem 0 0.25rem;
    border-top: 1px solid rgba(47, 79, 58, 0.1);
}

.account-login h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.account-login > p {
    margin: 0 0 1rem;
    opacity: 0.72;
    font-size: 0.9rem;
}

.account-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 0.85rem;
}

.account-field > span,
.account-field span {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.account-field > input,
.account-field input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    border: 1px solid rgba(47, 79, 58, 0.16);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.account-text-btn {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.account-panel {
    margin: 1.35rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(47, 79, 58, 0.1);
}

.account-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.account-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.account-panel-head span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
}

.account-empty {
    margin: 0;
    padding: 0.85rem 0;
    opacity: 0.9;
    font-size: 0.92rem;
}

.account-order-list {
    display: grid;
}

.account-order-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(47, 79, 58, 0.08);
    color: inherit;
    text-decoration: none;
}

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

.account-order-row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.28rem;
}

.account-order-row-title strong {
    font-size: 0.98rem;
}

.account-status-chip {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
}

.account-status-chip.is-current {
    background: rgba(94, 124, 96, 0.14);
    color: var(--primary-dark);
}

.account-status-chip.is-past {
    background: rgba(47, 79, 58, 0.08);
    color: rgba(47, 79, 58, 0.72);
}

.account-order-row-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    opacity: 0.72;
}

.account-order-amount {
    font-weight: 800;
    opacity: 1;
    color: var(--primary-dark);
}

.account-order-chevron {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid rgba(47, 79, 58, 0.35);
    border-bottom: 2px solid rgba(47, 79, 58, 0.35);
    transform: rotate(135deg);
    margin-left: 0.15rem;
}

.account-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(47, 79, 58, 0.14);
    font-size: 0.9rem;
}

.account-pagination a {
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.account-pagination .is-disabled {
    opacity: 0.35;
}

.account-logout {
    margin: 1.75rem 0 0;
    text-align: center;
}

.account-logout button {
    border: 0;
    background: transparent;
    color: rgba(47, 79, 58, 0.62);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

body[data-theme="dark"] .account-intro h1,
body[data-theme="dark"] .account-back,
body[data-theme="dark"] .account-order-amount,
body[data-theme="dark"] .account-pagination a {
    color: var(--text);
}

body[data-theme="dark"] .account-field input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

body[data-theme="dark"] .account-panel,
body[data-theme="dark"] .account-login,
body[data-theme="dark"] .account-order-row {
    border-color: rgba(255, 255, 255, 0.1);
}

/* account-order-row clean bg */

.account-order-list .account-order-row,
a.account-order-row {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(47, 79, 58, 0.1) !important;
    padding: 0.95rem 0 !important;
    margin: 0 !important;
}

.account-order-list .account-order-row:last-child,
a.account-order-row:last-child {
    border-bottom: 0 !important;
}

.account-order-list {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* menu-search top spacing */
.menu-panel > .menu-search-bar,
#menu-section > .menu-search-bar,
.menu-search-bar {
    margin-top: 14px;
}

/* cart-credit-overlap-fix */
/* Cart bar and DPSNS credit share the same bottom slot; hide credit while cart is open. */
.mobile-cart-bar:not(.is-hidden) ~ .credit-toast {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.mobile-cart-bar:not(.is-hidden) {
    z-index: 42;
}
/* end-cart-credit-overlap-fix */

/* account-shell-match-index */
/* Account uses same mobile chrome as index (hero + bottom nav). */
.account-body .page-shell.account-shell {
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 14px 168px;
}

.account-body .account-topbar {
    display: none;
}

.account-body .account-intro {
    margin-top: 8px;
}

.account-body .bottom-app-nav {
    display: grid;
}

/* Keep cart/order content clear of the fixed bottom nav on index. */
.page-shell {
    padding-bottom: 168px;
}

@media (max-width: 768px) {
    .page-shell {
        padding-bottom: 168px;
    }
    .account-body .page-shell.account-shell {
        padding: 14px 12px 168px;
    }
}
/* end-account-shell-match-index */
/* order-success-flash-simple */
#site-feedback.alert {
    display: grid;
    gap: 8px;
    align-content: start;
}
#site-feedback .flash-message {
    font-weight: 700;
    line-height: 1.7;
}
#site-feedback .flash-helper {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.92;
}
#site-feedback .flash-tracking-code,
#site-feedback .flash-link-row {
    display: none !important;
}
/* end-order-success-flash-simple */

/* account-page-visual-refresh */
/* Account page: real cafe-app surfaces (cards, chips, nav chrome) */
.account-body {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(200, 216, 202, 0.45) 0%, transparent 55%),
        radial-gradient(90% 60% at 0% 100%, rgba(245, 240, 233, 0.9) 0%, transparent 50%),
        linear-gradient(180deg, #f7faf7 0%, #eef3ee 100%);
    color: var(--text, #2f4f3a);
}

.account-body .page-shell.account-shell {
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 14px 168px;
}

.account-body .hero-shell {
    margin-bottom: 10px;
}

.account-body .account-intro {
    margin: 4px 0 1rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(250, 252, 250, 0.92);
    border: 1px solid rgba(200, 216, 202, 0.95);
    box-shadow: 0 12px 28px rgba(47, 79, 58, 0.08);
}

.account-body .account-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #5e7c60;
}

.account-body .account-intro h1 {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1.2;
    color: #2f4f3a;
}

.account-body .account-phone,
.account-body .account-subtitle {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    color: rgba(47, 79, 58, 0.78);
}

.account-body .account-phone {
    font-weight: 800;
    direction: ltr;
    unicode-bidi: plaintext;
}

.account-body .account-login,
.account-body .account-panel {
    margin: 0.95rem 0 0;
    padding: 1rem 1.05rem 1.05rem;
    border: 1px solid rgba(200, 216, 202, 0.95);
    border-radius: 22px;
    background: rgba(250, 252, 250, 0.94);
    box-shadow: 0 12px 28px rgba(47, 79, 58, 0.07);
}

.account-body .account-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
}

.account-body .account-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #2f4f3a;
}

.account-body .account-panel-head span {
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.14);
    color: #2f4f3a;
    font-size: 0.82rem;
    font-weight: 800;
}

.account-body .account-empty {
    margin: 0;
    padding: 0.85rem 0.2rem;
    opacity: 0.72;
    font-size: 0.92rem;
}

.account-body .account-order-list {
    display: grid;
    gap: 0.7rem;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.account-body .account-order-list .account-order-row,
.account-body a.account-order-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0.9rem 0.95rem !important;
    border: 1px solid rgba(200, 216, 202, 0.9) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #C4A484df8 0%, #f5f8f5 100%) !important;
    box-shadow: 0 8px 18px rgba(47, 79, 58, 0.06) !important;
    color: inherit !important;
    text-decoration: none !important;
}

.account-body .account-order-list .account-order-row:last-child,
.account-body a.account-order-row:last-child {
    border-bottom: 1px solid rgba(200, 216, 202, 0.9) !important;
}

.account-body .account-order-row-main {
    min-width: 0;
}

.account-body .account-order-row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

.account-body .account-order-row-title strong {
    font-size: 0.96rem;
    color: #2f4f3a;
}

.account-body .account-status-chip {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(47, 79, 58, 0.08);
    color: rgba(47, 79, 58, 0.78);
}

.account-body .account-status-chip.is-current {
    background: rgba(94, 124, 96, 0.18);
    color: #2f4f3a;
}

.account-body .account-status-chip.is-past {
    background: rgba(122, 92, 69, 0.12);
    color: rgba(90, 64, 45, 0.88);
}

.account-body .account-order-row-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(47, 79, 58, 0.68);
}

.account-body .account-order-amount {
    font-weight: 800;
    color: #2f4f3a;
}

.account-body .account-order-chevron {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid rgba(47, 79, 58, 0.4);
    border-bottom: 2px solid rgba(47, 79, 58, 0.4);
    transform: rotate(135deg);
    margin-inline-start: 0.2rem;
}

.account-body .account-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.95rem;
    padding: 0.75rem 0.2rem 0.15rem;
    border-top: 1px dashed rgba(47, 79, 58, 0.16);
    font-size: 0.9rem;
}

.account-body .account-pagination a {
    color: #2f4f3a;
    font-weight: 800;
    text-decoration: none;
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
    background: rgba(94, 124, 96, 0.12);
}

.account-body .account-pagination .is-disabled {
    opacity: 0.35;
}

.account-body .account-logout {
    margin: 1.15rem 0 0;
    text-align: center;
}

.account-body .account-logout button {
    width: 100%;
    border: 1px solid rgba(200, 216, 202, 0.95);
    border-radius: 16px;
    background: rgba(250, 252, 250, 0.95);
    color: #2f4f3a;
    font-weight: 800;
    text-decoration: none;
    padding: 0.85rem 1rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(47, 79, 58, 0.06);
}

.account-body .account-field input {
    width: 100%;
    border: 1px solid rgba(47, 79, 58, 0.16);
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    background: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.account-body .bottom-app-nav {
    display: grid !important;
    z-index: 40;
}

body[data-theme="dark"].account-body {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(94, 124, 96, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, #1d2a20 0%, #162019 100%);
}

body[data-theme="dark"].account-body .account-intro,
body[data-theme="dark"].account-body .account-login,
body[data-theme="dark"].account-body .account-panel,
body[data-theme="dark"].account-body .account-logout button {
    background: rgba(47, 79, 58, 0.42);
    border-color: rgba(250, 252, 250, 0.1);
    color: #C4A484df8;
}

body[data-theme="dark"].account-body .account-order-list .account-order-row,
body[data-theme="dark"].account-body a.account-order-row {
    background: linear-gradient(180deg, rgba(61, 86, 66, 0.95) 0%, rgba(47, 79, 58, 0.92) 100%) !important;
    border-color: rgba(250, 252, 250, 0.1) !important;
    color: #C4A484df8 !important;
}

body[data-theme="dark"].account-body .account-intro h1,
body[data-theme="dark"].account-body .account-panel-head h2,
body[data-theme="dark"].account-body .account-order-row-title strong,
body[data-theme="dark"].account-body .account-order-amount,
body[data-theme="dark"].account-body .account-pagination a {
    color: #C4A484df8;
}
/* end-account-page-visual-refresh */

/* site-grid-paper-background */
:root {
    --grid-line: rgba(120, 140, 160, 0.20);
    --grid-size: 22px;
    --grid-base: #f7f8fa;
    --grid-glow-a: rgba(140, 190, 255, 0.38);
    --grid-glow-b: rgba(255, 180, 140, 0.34);
}

html,
body,
body.site-body,
.account-body {
    position: relative;
    background-color: var(--grid-base) !important;
    background-image:
        radial-gradient(900px 520px at 8% 6%, var(--grid-glow-a), transparent 60%),
        radial-gradient(820px 480px at 92% 94%, var(--grid-glow-b), transparent 58%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    background-position: 0 0;
    opacity: 0.7;
    filter: blur(0.45px);
    -webkit-filter: blur(0.45px);
}

body[data-theme="dark"],
body.site-body[data-theme="dark"],
body[data-theme="dark"].account-body {
    --grid-line: rgba(180, 200, 210, 0.14);
    --grid-base: #12181a;
    --grid-glow-a: rgba(70, 120, 180, 0.24);
    --grid-glow-b: rgba(160, 90, 60, 0.18);
}
/* end-site-grid-paper-background */

/* tracking-items-card-beautify */
.tracking-items-card {
    gap: 14px !important;
    padding: 18px 16px 16px !important;
    border-radius: 24px !important;
    background:
        linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(245, 248, 245, 0.96) 100%) !important;
    border: 1px solid rgba(200, 216, 202, 0.95) !important;
    box-shadow:
        0 16px 34px rgba(47, 79, 58, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.tracking-items-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tracking-items-head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #2f4f3a;
}

.tracking-items-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.14);
    color: #2f4f3a;
    font-size: 0.78rem;
    font-weight: 800;
}

.tracking-items {
    display: grid;
    gap: 10px;
}

.tracking-item-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #C4A484df8 0%, #f5f8f5 100%);
    border: 1px solid rgba(200, 216, 202, 0.85);
    box-shadow: 0 6px 14px rgba(47, 79, 58, 0.05);
}

.tracking-item-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.tracking-item-name {
    font-size: 0.98rem;
    color: #2f4f3a;
    line-height: 1.35;
}

.tracking-item-unit {
    font-size: 0.8rem;
    color: rgba(47, 79, 58, 0.68);
}

.tracking-item-meta {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.tracking-item-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.14);
    color: #2f4f3a;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.tracking-item-line {
    font-size: 0.9rem;
    color: #2f4f3a;
    font-weight: 800;
}

.tracking-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
    padding: 12px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.16) 0%, rgba(94, 124, 96, 0.1) 100%);
    border: 1px solid rgba(94, 124, 96, 0.18);
    color: #2f4f3a;
}

.tracking-total-box span {
    font-weight: 700;
    font-size: 0.92rem;
}

.tracking-total-box strong {
    font-size: 1rem;
    font-weight: 800;
}

body[data-theme="dark"] .tracking-items-card {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.55) 0%, rgba(35, 58, 42, 0.7) 100%) !important;
    border-color: rgba(250, 252, 250, 0.1) !important;
}

body[data-theme="dark"] .tracking-items-head h2,
body[data-theme="dark"] .tracking-item-name,
body[data-theme="dark"] .tracking-item-line,
body[data-theme="dark"] .tracking-total-box,
body[data-theme="dark"] .tracking-items-count,
body[data-theme="dark"] .tracking-item-qty {
    color: #C4A484df8;
}

body[data-theme="dark"] .tracking-item-row {
    background: linear-gradient(180deg, rgba(61, 86, 66, 0.95) 0%, rgba(47, 79, 58, 0.9) 100%);
    border-color: rgba(250, 252, 250, 0.1);
}

body[data-theme="dark"] .tracking-item-unit {
    color: rgba(255, 253, 248, 0.7);
}

body[data-theme="dark"] .tracking-total-box {
    background: rgba(94, 124, 96, 0.28);
    border-color: rgba(250, 252, 250, 0.1);
}
/* end-tracking-items-card-beautify */

/* tracking-meta-card-beautify */
.tracking-shell .tracking-hero {
    display: grid;
    gap: 14px;
    padding: 18px 16px !important;
    border-radius: 24px !important;
    background:
        linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(245, 248, 245, 0.96) 100%) !important;
    border: 1px solid rgba(200, 216, 202, 0.95) !important;
    box-shadow: 0 16px 34px rgba(47, 79, 58, 0.08) !important;
}

.tracking-shell .tracking-hero h1 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    color: #2f4f3a;
}

.tracking-shell .tracking-hero p {
    margin: 0;
    color: rgba(47, 79, 58, 0.72);
    font-size: 0.9rem;
}

.tracking-status-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 36px;
    padding: 0.45rem 1rem !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.tracking-meta-card {
    gap: 14px !important;
    padding: 18px 16px !important;
    border-radius: 24px !important;
    background:
        linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(245, 248, 245, 0.96) 100%) !important;
    border: 1px solid rgba(200, 216, 202, 0.95) !important;
    box-shadow:
        0 16px 34px rgba(47, 79, 58, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.tracking-meta-head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #2f4f3a;
}

.tracking-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.tracking-info-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 12px 12px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #C4A484df8 0%, #f5f8f5 100%) !important;
    border: 1px solid rgba(200, 216, 202, 0.85) !important;
    box-shadow: 0 6px 14px rgba(47, 79, 58, 0.05) !important;
    min-width: 0;
}

.tracking-info-item span {
    order: 1;
    text-align: right;
}

.tracking-info-item strong {
    order: 2;
    text-align: left;
    margin-inline-start: auto;
}

.tracking-info-item span {
    color: rgba(47, 79, 58, 0.68) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}

.tracking-info-item strong {
    color: #2f4f3a !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.45;
    word-break: break-word;
}

.tracking-shell .tracking-address {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(94, 124, 96, 0.1);
    border: 1px solid rgba(94, 124, 96, 0.16);
}

.tracking-shell .tracking-address span {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(47, 79, 58, 0.7);
}

.tracking-shell .tracking-address strong {
    color: #2f4f3a;
    font-size: 0.95rem;
}

@media (max-width: 420px) {
    .tracking-info-grid {
        gap: 8px !important;
    }
    .tracking-info-item {
        padding: 11px 10px !important;
    }
}

body[data-theme="dark"] .tracking-shell .tracking-hero,
body[data-theme="dark"] .tracking-meta-card {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.55) 0%, rgba(35, 58, 42, 0.7) 100%) !important;
    border-color: rgba(250, 252, 250, 0.1) !important;
}

body[data-theme="dark"] .tracking-shell .tracking-hero h1,
body[data-theme="dark"] .tracking-meta-head h2,
body[data-theme="dark"] .tracking-info-item strong,
body[data-theme="dark"] .tracking-shell .tracking-address strong {
    color: #C4A484df8 !important;
}

body[data-theme="dark"] .tracking-info-item {
    background: linear-gradient(180deg, rgba(61, 86, 66, 0.95) 0%, rgba(47, 79, 58, 0.9) 100%) !important;
    border-color: rgba(250, 252, 250, 0.1) !important;
}

body[data-theme="dark"] .tracking-info-item span,
body[data-theme="dark"] .tracking-shell .tracking-hero p,
body[data-theme="dark"] .tracking-shell .tracking-address span {
    color: rgba(255, 253, 248, 0.72) !important;
}
/* end-tracking-meta-card-beautify */

/* tracking-hero-title-row */
.tracking-shell .tracking-hero.hero-card {
    display: block !important;
    gap: 0 !important;
}

.tracking-shell .tracking-hero-title-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
}

.tracking-shell .tracking-hero-title-row h1 {
    margin: 0 !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 8rem) !important;
}

.tracking-shell .tracking-hero-title-row .tracking-status-badge,
.tracking-shell .tracking-hero-title-row .badge {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    margin-inline-start: auto !important;
    align-self: center !important;
}
/* end-tracking-hero-title-row */


/* Account profile + wallet */
.account-profile-card {
    display: grid;
    gap: 14px;
    margin: 0 0 1.25rem;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb) / 0.14);
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 246, 0.96) 100%);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.06);
}

.account-profile-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-profile-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
}

.account-profile-avatar svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-profile-copy {
    min-width: 0;
    flex: 1;
}

.account-profile-card .account-kicker {
    margin: 0 0 2px;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 700;
}

.account-profile-card h1 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--primary-dark);
}

.account-profile-card .account-phone,
.account-profile-card .account-subtitle {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: rgba(47, 79, 58, 0.75);
}

.account-profile-card .account-phone {
    font-weight: 700;
    direction: ltr;
    unicode-bidi: plaintext;
}

.account-wallet {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(var(--primary-rgb) / 0.1);
    border: 1px solid rgba(var(--primary-rgb) / 0.12);
}

.account-wallet-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
    flex: 0 0 auto;
}

.account-wallet-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-wallet-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.account-wallet-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

.account-wallet-balance {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
    margin-inline-start: auto;
}

body[data-theme="dark"] .account-profile-card {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.22), transparent 42%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.08) 0%, rgba(255, 253, 248, 0.04) 100%);
    border-color: rgba(255, 253, 248, 0.1);
    box-shadow: none;
}

body[data-theme="dark"] .account-wallet {
    background: rgba(255, 253, 248, 0.06);
    border-color: rgba(255, 253, 248, 0.1);
}

body[data-theme="dark"] .account-wallet-icon,
body[data-theme="dark"] .account-profile-avatar {
    background: rgba(255, 253, 248, 0.08);
    color: var(--primary-dark);
}

/* DPSNS: account waiter call under wallet */
.account-waiter-call {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(var(--primary-rgb) / 0.08);
    border: 1px solid rgba(var(--primary-rgb) / 0.12);
}

.account-waiter-call-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.account-waiter-call-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.account-waiter-call-meta {
    font-size: 12px;
    color: var(--muted);
}

.account-waiter-call-btn {
    flex: 0 0 auto;
    min-height: 40px;
    padding-inline: 16px;
    border-radius: 12px;
}

.account-waiter-call-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.account-waiter-call-feedback {
    margin: -4px 0 0;
    font-size: 13px;
    color: var(--success, #1f7a45);
}

.account-waiter-call-feedback.is-error {
    color: var(--danger, #9e2f28);
}

body[data-theme="dark"] .account-waiter-call {
    background: rgba(255, 253, 248, 0.06);
    border-color: rgba(255, 253, 248, 0.1);
}


/* Cart checkout steps */
.cart-checkout-step {
    display: grid;
    gap: 14px;
}

.cart-checkout-step.is-hidden {
    display: none !important;
}

.cart-checkout-actions {
    display: grid;
    gap: 10px;
}

.cart-checkout-actions.is-split {
    grid-template-columns: 1fr 1.4fr;
}

.cart-step-note {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}



/* Hide cart items/total while choosing table/takeout */
#cart-panel.is-checkout-destination #cart-items-region,
#cart-panel.is-checkout-destination .total-box,
#cart-panel.is-checkout-destination > .sticky-card > .section-title.compact {
    display: none !important;
}

#cart-panel.is-checkout-destination .sticky-card {
    gap: 12px;
}


.account-profile-card .account-welcome {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--primary-dark);
}

.account-profile-card .account-welcome bdi {
    font-weight: 800;
    unicode-bidi: plaintext;
}


/* Account flash message box */
.account-body .flash {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(var(--primary-rgb) / 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 246, 0.98) 100%);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
}

.account-body .flash-success {
    border-color: rgba(31, 122, 69, 0.22);
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(220, 252, 231, 0.92) 100%);
    color: #166534;
}

.account-body .flash-error {
    border-color: rgba(158, 47, 40, 0.22);
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.98) 0%, rgba(254, 226, 226, 0.92) 100%);
    color: #9e2f28;
}

.account-body .flash-info,
.account-body .flash-warning {
    border-color: rgba(196, 130, 18, 0.22);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.98) 0%, rgba(254, 243, 199, 0.9) 100%);
    color: #92400e;
}


.account-login {
    padding: 0;
    border-top: 0;
}

.account-otp-request-card,
.account-otp-step-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(var(--primary-rgb) / 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 246, 0.96) 100%);
    box-shadow: 0 12px 26px rgba(var(--text-rgb) / 0.06);
}

.account-otp-step-card[hidden],
.account-otp-request-card[hidden] {
    display: none !important;
}

/* Hidden helper forms were creating empty vertical gaps */
.account-otp-step-card > #customer-resend-otp-form,
.account-otp-step-card > #customer-change-mobile-form {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.account-otp-step-card > #customer-verify-otp-form {
    margin: 0;
    display: block;
}

.account-otp-step-card .account-field {
    margin-bottom: 0;
}

.account-otp-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(var(--primary-rgb) / 0.08);
    border: 1px solid rgba(var(--primary-rgb) / 0.1);
}

.account-otp-confirm-btn {
    flex: 0 0 auto;
    min-width: 42%;
    width: auto;
    padding-inline: 18px;
    border-radius: 12px;
}

.account-otp-resend-btn {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 8px 10px;
    text-align: start;
    white-space: nowrap;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.account-otp-resend-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    text-decoration: none;
}

.account-otp-change-btn {
    margin: 0;
    border-radius: 12px;
    font-weight: 700;
}


.bottom-app-nav {
    width: min(calc(100% - 12px), 460px);
}

.bottom-nav-item {
    font-size: 9px;
    padding: 6px 1px;
}

.bottom-nav-item span {
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    max-width: 100%;
}

.bottom-nav-item[data-bottom-nav="club"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.account-body .account-profile-avatar svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}


.club-points-card,
.club-rewards-card {
    margin: 0 0 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(var(--primary-rgb) / 0.16);
    background:
        linear-gradient(145deg, rgba(255, 252, 245, 0.95) 0%, rgba(246, 249, 246, 0.98) 48%, rgba(236, 244, 238, 0.96) 100%);
    box-shadow: 0 12px 26px rgba(var(--text-rgb) / 0.06);
}

.club-points-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(196, 130, 18, 0.22);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(196, 130, 18, 0.16) 0%, transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(var(--primary-rgb) / 0.18) 0%, transparent 50%),
        linear-gradient(180deg, #FFFEFA 0%, #F4F8F4 100%);
}

.club-points-card::after {
    content: "";
    position: absolute;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #c48212 0%, #5E7C60 55%, #1f7a45 100%);
    opacity: 0.85;
}

.club-points-main {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.club-points-icon,
.club-reward-icon,
.club-rewards-title-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
}

.club-points-icon {
    background: linear-gradient(145deg, rgba(196, 130, 18, 0.28) 0%, rgba(94, 124, 96, 0.2) 100%);
    color: #9a6410;
    box-shadow: inset 0 0 0 1px rgba(196, 130, 18, 0.25);
}

.club-points-icon svg,
.club-reward-icon svg,
.club-rewards-title-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.club-points-icon svg {
    fill: rgba(196, 130, 18, 0.22);
}

.club-points-copy {
    min-width: 0;
    flex: 1;
}

.club-points-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.club-points-note {
    margin: 6px 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--muted);
}

.club-points-value {
    flex: 0 0 auto;
    min-width: 2.6ch;
    padding: 8px 12px;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1f7a45;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(31, 122, 69, 0.14) 0%, rgba(94, 124, 96, 0.1) 100%);
    box-shadow: inset 0 0 0 1px rgba(31, 122, 69, 0.18);
}

.club-rewards-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
}

.club-rewards-title-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(196, 130, 18, 0.24) 0%, rgba(158, 47, 40, 0.12) 100%);
    color: #9a6410;
    box-shadow: inset 0 0 0 1px rgba(196, 130, 18, 0.2);
}

.club-rewards-title-icon svg {
    width: 20px;
    height: 20px;
}

.club-rewards-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.club-reward-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
}

.club-reward-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    padding: 2px 0 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.club-reward-item.is-ready {
    background: transparent;
    border: none;
}

.club-reward-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.club-reward-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

.club-reward-icon svg {
    width: 20px;
    height: 20px;
}

.club-reward-water .club-reward-icon {
    background: linear-gradient(145deg, rgba(46, 140, 160, 0.24) 0%, rgba(94, 124, 96, 0.16) 100%);
    color: #1f6f7a;
    box-shadow: inset 0 0 0 1px rgba(46, 140, 160, 0.28);
}

.club-reward-cola .club-reward-icon {
    background: linear-gradient(145deg, rgba(158, 47, 40, 0.2) 0%, rgba(196, 130, 18, 0.22) 100%);
    color: #9e2f28;
    box-shadow: inset 0 0 0 1px rgba(158, 47, 40, 0.22);
}

.club-reward-body {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 5px;
}

.club-reward-title {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.35;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    border-image: none;
}

.club-reward-water .club-reward-title {
    box-shadow: inset 0 -2px 0 rgba(46, 140, 160, 0.45);
}

.club-reward-cola .club-reward-title {
    box-shadow: inset 0 -2px 0 rgba(196, 130, 18, 0.5);
}

.club-reward-cost {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
    padding: 3px 7px;
    border-radius: 999px;
    line-height: 1.2;
}

.club-reward-water .club-reward-cost {
    color: #1f6f7a;
    background: rgba(46, 140, 160, 0.14);
}

.club-reward-cola .club-reward-cost {
    color: #9a6410;
    background: rgba(196, 130, 18, 0.16);
}

.club-reward-status {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.35;
}

.club-reward-water .club-reward-status {
    color: #3d6e74;
}

.club-reward-cola .club-reward-status {
    color: #8a5a1c;
}

.club-reward-meter {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    overflow: hidden;
}

.club-reward-meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    min-width: 0;
    transition: width 0.35s ease;
}

.club-reward-water .club-reward-meter-fill {
    background: linear-gradient(90deg, #2e8ca0 0%, #5E7C60 100%);
}

.club-reward-cola .club-reward-meter-fill {
    background: linear-gradient(90deg, #c48212 0%, #9e2f28 100%);
}

.club-reward-item.is-ready .club-reward-status {
    color: #166534;
    font-weight: 700;
}

.club-reward-item.is-ready .club-reward-icon {
    background: rgba(31, 122, 69, 0.18);
    color: #166534;
    box-shadow: inset 0 0 0 1px rgba(31, 122, 69, 0.28);
}

.club-reward-item.is-ready .club-reward-title {
    box-shadow: inset 0 -2px 0 rgba(31, 122, 69, 0.55);
}

.club-reward-item.is-ready .club-reward-cost {
    color: #166534;
    background: rgba(31, 122, 69, 0.14);
}

.club-reward-item.is-ready .club-reward-meter-fill {
    background: linear-gradient(90deg, #1f7a45 0%, #5E7C60 100%);
}

body[data-theme="dark"] .club-points-card,
body[data-theme="dark"] .club-rewards-card {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.08) 0%, rgba(255, 253, 248, 0.04) 100%);
    border-color: rgba(255, 253, 248, 0.1);
    box-shadow: none;
}

body[data-theme="dark"] .club-points-card {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(196, 130, 18, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.1) 0%, rgba(255, 253, 248, 0.04) 100%);
    border-color: rgba(196, 130, 18, 0.28);
}

body[data-theme="dark"] .club-points-icon {
    background: linear-gradient(145deg, rgba(196, 130, 18, 0.3) 0%, rgba(94, 124, 96, 0.22) 100%);
    color: #f0c878;
    box-shadow: inset 0 0 0 1px rgba(240, 200, 120, 0.25);
}

body[data-theme="dark"] .club-points-value {
    color: #C4A484;
    background: rgba(31, 122, 69, 0.22);
    box-shadow: inset 0 0 0 1px rgba(196, 164, 132, 0.22);
}

body[data-theme="dark"] .club-rewards-title-icon {
    background: linear-gradient(145deg, rgba(196, 130, 18, 0.28) 0%, rgba(158, 47, 40, 0.16) 100%);
    color: #f0c878;
}

body[data-theme="dark"] .club-reward-item,
body[data-theme="dark"] .club-reward-item.is-ready {
    background: transparent;
    border: none;
    box-shadow: none;
}

body[data-theme="dark"] .club-reward-water .club-reward-icon {
    background: rgba(46, 140, 160, 0.28);
    color: #7dd3e0;
}

body[data-theme="dark"] .club-reward-cola .club-reward-icon {
    background: rgba(196, 130, 18, 0.26);
    color: #f0c878;
}

body[data-theme="dark"] .club-reward-water .club-reward-cost {
    color: #7dd3e0;
    background: rgba(46, 140, 160, 0.22);
}

body[data-theme="dark"] .club-reward-cola .club-reward-cost {
    color: #f0c878;
    background: rgba(196, 130, 18, 0.2);
}

body[data-theme="dark"] .club-reward-water .club-reward-status {
    color: rgba(125, 211, 224, 0.9);
}

body[data-theme="dark"] .club-reward-cola .club-reward-status {
    color: rgba(240, 200, 120, 0.9);
}

body[data-theme="dark"] .club-reward-meter {
    background: rgba(255, 253, 248, 0.12);
}

body[data-theme="dark"] .club-reward-item.is-ready .club-reward-icon {
    background: rgba(31, 122, 69, 0.28);
    color: #C4A484;
}

body[data-theme="dark"] .club-reward-item.is-ready .club-reward-status {
    color: #C4A484;
}


/* Admin global search (products + orders) */
.admin-global-search {
    position: relative;
    margin: 0 0 18px;
    z-index: 40;
}

.admin-global-search-field {
    position: relative;
    display: block;
}

.admin-global-search-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #2e7d4e;
    pointer-events: none;
    z-index: 1;
}

.admin-global-search-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-global-search-field input[type="text"],
.admin-global-search-field input[type="search"] {
    width: 100%;
    min-height: 52px;
    padding-block: 0;
    padding-inline-start: 48px;
    padding-inline-end: 44px;
    border-radius: 16px;
    border: 1px solid rgba(46, 125, 78, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 243, 0.96));
    color: var(--text);
    font: inherit;
    box-shadow: 0 10px 24px rgba(34, 56, 42, 0.04);
}

.admin-global-search-field input[type="text"]::placeholder,
.admin-global-search-field input[type="search"]::placeholder {
    color: var(--muted);
}

.admin-global-search-field input[type="text"]:focus,
.admin-global-search-field input[type="search"]:focus {
    outline: none;
    border-color: rgba(46, 125, 78, 0.55);
    box-shadow: 0 0 0 3px rgba(46, 125, 78, 0.12);
}

.admin-global-search-clear {
    position: absolute;
    top: 50%;
    inset-inline-end: 10px;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: rgba(180, 198, 183, 0.22);
    color: var(--text);
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.admin-global-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(62vh, 420px);
    overflow: auto;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(180, 198, 183, 0.35);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(28, 48, 36, 0.12);
}

.admin-global-search-empty {
    padding: 16px 12px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.admin-global-search-group + .admin-global-search-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(180, 198, 183, 0.28);
}

.admin-global-search-group-title {
    margin: 0 6px 8px;
    color: #2e7d4e;
    font-size: 12px;
    font-weight: 800;
}

.admin-global-search-group-list {
    display: grid;
    gap: 6px;
}

.admin-global-search-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(46, 125, 78, 0.08);
    background: rgba(244, 248, 245, 0.9);
}

.admin-global-search-item.is-order {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.95), rgba(255, 248, 235, 0.92));
}

.admin-global-search-item.is-product {
    background: linear-gradient(180deg, rgba(243, 250, 246, 0.96), rgba(232, 244, 237, 0.92));
}

.admin-global-search-item:hover {
    background: rgba(232, 242, 235, 0.95);
}

.admin-global-search-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-global-search-item-copy strong {
    color: var(--text);
    font-size: 14px;
}

.admin-global-search-item-copy span,
.admin-global-search-item-copy small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.admin-global-search-item-meta {
    display: grid;
    gap: 4px;
    text-align: start;
    flex: 0 0 auto;
}

.admin-global-search-item-meta strong {
    font-size: 13px;
    color: var(--text);
}

.admin-global-search-item-meta small {
    color: var(--muted);
    font-size: 11px;
}

.admin-body[data-theme="dark"] .admin-global-search-field input[type="text"],
.admin-body[data-theme="dark"] .admin-global-search-field input[type="search"],
.admin-body[data-theme="dark"] .admin-global-search-results {
    background: rgba(24, 30, 27, 0.96);
    border-color: rgba(120, 140, 128, 0.35);
}

.admin-body[data-theme="dark"] .admin-global-search-item,
.admin-body[data-theme="dark"] .admin-global-search-item.is-order,
.admin-body[data-theme="dark"] .admin-global-search-item.is-product {
    background: rgba(36, 44, 40, 0.92);
}

.admin-body[data-theme="dark"] .admin-global-search-item:hover {
    background: rgba(46, 58, 52, 0.95);
}

@media (max-width: 720px) {
    .admin-global-search-item {
        flex-direction: column;
    }

    .admin-global-search-item-meta {
        text-align: start;
    }
}



.admin-body .admin-theme-toggle {
    display: none !important;
}

/* Forced customer name modal on account */
.account-name-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.account-name-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 28, 22, 0.55);
    backdrop-filter: blur(4px);
}

.account-name-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 24px 20px 20px;
    border-radius: 22px;
    border: 1px solid rgba(46, 125, 78, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f3faf5 100%);
    box-shadow: 0 24px 60px rgba(20, 40, 28, 0.28);
    text-align: center;
}

.account-name-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(46, 125, 78, 0.12);
    color: #2e7d4e;
}

.account-name-modal-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-name-modal-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    color: var(--text);
}

.account-name-modal-form {
    display: grid;
    gap: 14px;
    text-align: right;
}

.account-name-modal-form .account-field,
.account-name-modal-form .account-name-field-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
}

.account-name-modal-form .account-field span,
.account-name-modal-form .account-name-field-row span {
    flex: 0 0 auto;
    min-width: 2.5rem;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

.account-name-modal-form .account-field input[type="text"],
.account-name-modal-form .account-name-field-row input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
}

.account-name-modal-form input[type="text"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(46, 125, 78, 0.28);
    background: #fff;
    font: inherit;
}

.account-name-modal-form input[type="text"]:focus {
    outline: none;
    border-color: rgba(46, 125, 78, 0.55);
    box-shadow: 0 0 0 3px rgba(46, 125, 78, 0.12);
}

body.account-name-modal-open {
    overflow: hidden;
}

body.account-name-modal-open .page-shell,
body.account-name-modal-open .bottom-app-nav {
    pointer-events: none;
    user-select: none;
}

body.account-name-modal-open .account-name-modal,
body.account-name-modal-open .account-name-modal * {
    pointer-events: auto;
    user-select: auto;
}


/* Cart discount code field */
.cart-discount-code {
    margin-top: 12px;
}

.cart-discount-code-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
}

.cart-discount-code-field span {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

.cart-discount-code-field input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
    letter-spacing: 0.04em;
}

.cart-discount-code-field input[type="text"]:focus {
    outline: none;
    border-color: rgba(46, 125, 78, 0.55);
    box-shadow: 0 0 0 3px rgba(46, 125, 78, 0.12);
}

body[data-theme="dark"] .cart-discount-code-field input[type="text"] {
    background: rgba(24, 30, 27, 0.96);
    border-color: rgba(120, 140, 128, 0.35);
    color: var(--text);
}

body[data-theme="dark"] .cart-item-thumb {
    background: rgba(36, 44, 40, 0.9);
    border-color: rgba(120, 140, 128, 0.35);
}


/* cart remove trash icon final */
#cart-panel .cart-remove-btn,
.cart-form .cart-remove-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(240, 68, 56, 0.2) !important;
    background: linear-gradient(180deg, #fff1f1 0%, #ffe4e6 100%) !important;
    color: #b42318 !important;
    box-shadow: 0 6px 14px rgba(180, 35, 24, 0.08);
    line-height: 0;
}

#cart-panel .cart-remove-btn:hover,
.cart-form .cart-remove-btn:hover,
#cart-panel .cart-remove-btn:focus-visible,
.cart-form .cart-remove-btn:focus-visible {
    background: linear-gradient(180deg, #ffe4e6 0%, #fecdd3 100%) !important;
    color: #912018 !important;
}

#cart-panel .cart-remove-btn .cart-trash-icon,
.cart-form .cart-remove-btn .cart-trash-icon,
#cart-panel .cart-remove-btn svg,
.cart-form .cart-remove-btn svg {
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body[data-theme="dark"] #cart-panel .cart-remove-btn,
body[data-theme="dark"] .cart-form .cart-remove-btn {
    background: rgba(127, 29, 29, 0.42) !important;
    border-color: rgba(253, 162, 155, 0.28) !important;
    color: #fda29b !important;
}

/* hide cart panel title/count */
#cart-panel > .sticky-card > .section-title.compact,
#cart-panel .cart-badge[hidden] {
    display: none !important;
}


/* Club lucky wheel */
.club-wheel-launch {
    margin: 14px 0 0;
}

.club-wheel-open-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    font: inherit;
    font-weight: 800;
    color: #fffaf7;
    cursor: pointer;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 48%),
        linear-gradient(135deg, #c45c26 0%, #d9782c 48%, #a84e1c 100%);
    box-shadow: 0 12px 28px rgba(168, 78, 28, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.club-wheel-open-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.club-wheel-open-btn:active {
    transform: translateY(1px);
}

.club-wheel-open-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.club-wheel-open-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.club-wheel-open-hint {
    margin: 8px 2px 0;
    font-size: 12px;
    color: rgba(90, 48, 48, 0.78);
    text-align: center;
}

.club-wheel-modal[hidden] {
    display: none !important;
}

.club-wheel-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 18px;
}

.club-wheel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(48, 28, 14, 0.48);
    backdrop-filter: blur(3px);
}

.club-wheel-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(90% 70% at 12% 8%, rgba(255, 236, 179, 0.42) 0%, transparent 52%),
        radial-gradient(80% 60% at 92% 18%, rgba(232, 140, 74, 0.28) 0%, transparent 48%),
        linear-gradient(165deg, #e8b57a 0%, #d4894f 38%, #b85d3a 72%, #8f3f2a 100%);
    box-shadow: 0 24px 60px rgba(110, 55, 25, 0.32);
    color: #fffaf3;
}

.club-wheel-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 8px;
}

.club-wheel-dialog-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.club-wheel-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.club-wheel-stage {
    position: relative;
    display: grid;
    place-items: center;
    padding: 8px 16px 6px;
}

.club-wheel-leaves {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.club-wheel-dialog-head,
.club-wheel-stage,
.club-wheel-actions {
    position: relative;
    z-index: 2;
}

.club-wheel-leaf {
    position: absolute;
    top: -48px;
    left: var(--leaf-left, 50%);
    width: var(--leaf-size, 24px);
    height: var(--leaf-size, 24px);
    opacity: 0.9;
    transform: translate3d(0, 0, 0) rotate(var(--leaf-rot, 0deg));
    animation: club-wheel-leaf-fall var(--leaf-duration, 10s) linear var(--leaf-delay, 0s) infinite;
    filter: drop-shadow(0 3px 3px rgba(70, 30, 8, 0.25));
    will-change: transform, opacity;
}

.club-wheel-leaf svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

@keyframes club-wheel-leaf-fall {
    0% {
        transform: translate3d(0, 0, 0) rotate(var(--leaf-rot, 0deg));
        opacity: 0;
    }
    8% {
        opacity: 0.95;
    }
    25% {
        transform: translate3d(var(--leaf-swing, 28px), 140px, 0) rotate(calc(var(--leaf-rot, 0deg) + 70deg));
    }
    50% {
        transform: translate3d(calc(var(--leaf-swing, 28px) * -0.5), 300px, 0) rotate(calc(var(--leaf-rot, 0deg) + 150deg));
        opacity: 0.9;
    }
    75% {
        transform: translate3d(calc(var(--leaf-swing, 28px) * 0.35), 460px, 0) rotate(calc(var(--leaf-rot, 0deg) + 230deg));
    }
    100% {
        transform: translate3d(calc(var(--leaf-swing, 28px) * -0.2), 620px, 0) rotate(calc(var(--leaf-rot, 0deg) + 320deg));
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .club-wheel-leaf {
        animation: none;
        opacity: 0.55;
        top: 18%;
        transform: rotate(var(--leaf-rot, 0deg));
    }
}

.club-wheel-canvas-wrap {
    position: relative;
    width: min(86vw, 320px);
    aspect-ratio: 1;
    filter: drop-shadow(0 14px 18px rgba(70, 20, 30, 0.28));
}

.club-wheel-rotor {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 4.2s cubic-bezier(0.12, 0.75, 0.08, 1);
    will-change: transform;
}

.club-wheel-rotor.is-spinning {
    pointer-events: none;
}

.club-wheel-pointer {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22%;
    height: 22%;
    z-index: 2;
    pointer-events: none;
}

.club-wheel-actions {
    display: grid;
    gap: 10px;
    padding: 8px 16px 18px;
}

.club-wheel-spin-btn {
    border: 0;
    border-radius: 14px;
    padding: 13px 16px;
    font: inherit;
    font-weight: 800;
    color: #7a3b18;
    background: linear-gradient(180deg, #fff8ef 0%, #f3dfc2 100%);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(110, 55, 25, 0.18);
}

.club-wheel-spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.club-wheel-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    opacity: 0.95;
}

.club-wheel-result {
    min-height: 44px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.club-wheel-result .club-wheel-code {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.04em;
    direction: ltr;
}

body[data-theme="dark"] .club-wheel-open-hint {
    color: rgba(255, 230, 230, 0.72);
}

@media (max-width: 420px) {
    .club-wheel-dialog {
        border-radius: 20px;
    }

    .club-wheel-canvas-wrap {
        width: min(88vw, 300px);
    }
}




/* Admin mockup dashboard layout — soft 4-color: #F6C457 #4B2C0A #2E6C61 #DFE0DF */
.admin-body,
.admin-body[data-theme="dark"],
.admin-body[data-theme="light"] {
    --admin-gold: #F6C457;
    --admin-brown: #4B2C0A;
    --admin-teal: #2E6C61;
    --admin-gray: #DFE0DF;
    --bg: #DFE0DF;
    --surface: #DFE0DF;
    --text: #4B2C0A;
    --muted: rgba(75, 44, 10, 0.55);
    --primary: #2E6C61;
    --primary-dark: #4B2C0A;
    --accent: #F6C457;
    --primary-rgb: 46 108 97;
    --text-rgb: 75 44 10;
    --success: #2E6C61;
    --warning: #F6C457;
    --danger: #4B2C0A;
    --border: rgba(75, 44, 10, 0.10);
    --shadow: 0 14px 32px rgba(75, 44, 10, 0.07);
    --radius: 24px;
    background: #DFE0DF !important;
    color: #4B2C0A !important;
    font-family: "YekanBakh", Tahoma, sans-serif;
}

.admin-body .admin-shell.admin-layout {
    width: min(1480px, calc(100% - 18px));
    gap: 16px;
    padding: 12px 0 24px;
    align-items: stretch;
}

/* Soft cream sidebar (gray + gold wash) — never charcoal */
.admin-body .admin-sidebar {
    background: linear-gradient(180deg, #DFE0DF 0%, rgba(246,196,87,0.14) 100%) !important;
    border: 1px solid rgba(75,44,10,0.06) !important;
    border-radius: 28px !important;
    padding: 16px 12px 14px !important;
    box-shadow: var(--shadow) !important;
    color: #4B2C0A !important;
    max-height: none;
    overflow: visible;
}
.admin-body .admin-brand-header,
.admin-body .admin-header {
    background: transparent !important; border:0 !important; box-shadow:none !important;
    padding: 4px 6px 14px !important;
}
.admin-body .admin-brand { display:flex; gap:10px; align-items:center; color:#4B2C0A; }
.admin-body .admin-brand-mark {
    width:46px; height:46px; border-radius:16px; display:grid; place-items:center;
    background: rgba(246,196,87,0.40); color:#4B2C0A;
}
.admin-body .admin-brand-mark svg { width:26px; height:26px; color:#4B2C0A; }
.admin-body .admin-brand-copy strong { display:block; font-size:1.12rem; color:#4B2C0A !important; }
.admin-body .admin-brand-copy span { font-size:11px; color:rgba(75,44,10,0.58) !important; }

.admin-body .admin-nav {
    background: transparent !important; border:0 !important; box-shadow:none !important;
    display:grid; gap:3px; padding:0 2px;
}
.admin-body .admin-nav a,
.admin-body .admin-nav .admin-nav-group-summary,
.admin-body .admin-quick-access-link {
    border-radius: 999px !important;
    color: #4B2C0A !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 11px 14px !important;
    font-weight: 700;
}
.admin-body .admin-nav a.is-active,
.admin-body .admin-nav a:hover,
.admin-body .admin-quick-access-link.is-active,
.admin-body .admin-quick-access-link:hover {
    background: #F6C457 !important;
    color: #4B2C0A !important;
}
.admin-body .admin-nav .admin-inline-icon { color:#2E6C61 !important; }
.admin-body .admin-nav a.is-active .admin-inline-icon { color:#4B2C0A !important; }

.admin-body .admin-sidebar-card,
.admin-body .admin-quick-access-card {
    background: rgba(223,224,223,0.55) !important;
    border: 1px solid rgba(75,44,10,0.06) !important;
    box-shadow: none !important; color:#4B2C0A !important;
}
.admin-body .admin-sidebar-promo {
    margin-top: 16px; padding: 16px 14px; border-radius: 20px;
    background: linear-gradient(160deg, rgba(246,196,87,0.35), rgba(46,108,97,0.12)), #DFE0DF;
    color: #4B2C0A;
}
.admin-body .admin-sidebar-promo-quote {
    margin:0 0 12px; font-size:13px; line-height:1.6; color:rgba(75,44,10,0.68);
}
.admin-body .admin-sidebar-promo-btn {
    display:inline-flex; align-items:center; justify-content:center;
    width:100%; min-height:42px; border-radius:14px;
    background:#2E6C61; color:#DFE0DF; font-weight:800; text-decoration:none;
}
.admin-body .admin-sidebar-logout {
    display:flex; align-items:center; gap:8px; margin-top:10px;
    padding:10px 12px; color:rgba(75,44,10,0.68); text-decoration:none; border-radius:12px;
}
.admin-body .admin-sidebar-logout:hover { background:rgba(246,196,87,0.25); color:#4B2C0A; }

/* Topbar */
.admin-body .admin-topbar {
    display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; margin-bottom:14px;
}
.admin-body .admin-topbar-profile {
    display:flex; gap:10px; align-items:center; padding:8px 12px; border-radius:18px;
    background:#DFE0DF; border:1px solid rgba(75,44,10,0.06); box-shadow:var(--shadow);
}
.admin-body .admin-topbar-avatar {
    width:40px; height:40px; border-radius:50%; display:grid; place-items:center;
    background:#F6C457; color:#4B2C0A; font-weight:800;
}
.admin-body .admin-topbar-profile-copy strong { display:block; color:#4B2C0A; }
.admin-body .admin-topbar-profile-copy span { color:rgba(75,44,10,0.55); font-size:12px; }
.admin-body .admin-topbar-date { justify-self:end; color:rgba(75,44,10,0.62); font-weight:700; font-size:13px; }
.admin-body .admin-topbar-actions { display:flex; gap:8px; }
.admin-body .admin-topbar-actions .admin-icon-btn,
.admin-body .admin-topbar-actions .btn {
    width:40px; height:40px; border-radius:14px !important; background:#DFE0DF !important;
    color:#2E6C61 !important; border:1px solid rgba(75,44,10,0.06) !important; box-shadow:var(--shadow);
}

/* Glance stats — soft gold / soft teal washes */
.admin-body .admin-glance-grid {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:14px;
}
.admin-body .admin-glance-card {
    background:#DFE0DF !important; border:1px solid rgba(75,44,10,0.06) !important;
    border-radius:22px !important; box-shadow:var(--shadow) !important; padding:16px !important; color:#4B2C0A !important;
}
.admin-body .admin-glance-card-title { color:rgba(75,44,10,0.55) !important; font-size:13px !important; }
.admin-body .admin-glance-card-value-col { display:grid; justify-items:end; gap:4px; }
.admin-body .admin-glance-card strong { color:#4B2C0A !important; font-size:1.55rem !important; }
.admin-body .admin-glance-trend { font-style:normal; font-size:12px; font-weight:800; color:#2E6C61; }
.admin-body .admin-glance-card-head {
    width:40px; height:40px; border-radius:14px; display:grid; place-items:center;
}
.admin-body .admin-glance-card.tone-mint,
.admin-body .admin-glance-card.tone-lavender {
    background: linear-gradient(180deg, #DFE0DF, rgba(46,108,97,0.14)) !important;
}
.admin-body .admin-glance-card.tone-apricot,
.admin-body .admin-glance-card.tone-rose {
    background: linear-gradient(180deg, #DFE0DF, rgba(246,196,87,0.30)) !important;
}
.admin-body .admin-glance-card.tone-mint .admin-glance-card-head,
.admin-body .admin-glance-card.tone-lavender .admin-glance-card-head {
    background: rgba(46,108,97,0.16); color:#2E6C61;
}
.admin-body .admin-glance-card.tone-apricot .admin-glance-card-head,
.admin-body .admin-glance-card.tone-rose .admin-glance-card-head {
    background: rgba(246,196,87,0.40); color:#4B2C0A;
}
.admin-body .admin-glance-card--compact { display:none !important; }

/* Hero — soft teal wash + gold visual (no dark) */
.admin-body .admin-hero-banner {
    display:grid; grid-template-columns:1.15fr 0.85fr; gap:18px; align-items:center;
    margin-bottom:14px; padding:22px 24px; border-radius:28px;
    background: linear-gradient(115deg, rgba(46,108,97,0.16) 0%, #DFE0DF 42%, rgba(246,196,87,0.28) 100%) !important;
    color:#4B2C0A; box-shadow:var(--shadow); min-height:160px; overflow:hidden;
}
.admin-body .admin-hero-copy h2 { margin:0 0 8px; font-size:1.5rem; color:#4B2C0A !important; }
.admin-body .admin-hero-copy p { margin:0 0 14px; color:rgba(75,44,10,0.65); max-width:36ch; }
.admin-body .admin-hero-cta {
    display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px;
    border-radius:14px; background:#2E6C61; color:#DFE0DF; text-decoration:none; font-weight:800;
}
.admin-body .admin-hero-visual {
    justify-self:end; width:min(240px,100%); aspect-ratio:1.15; border-radius:22px; position:relative;
    background:
      radial-gradient(circle at 35% 30%, rgba(223,224,223,0.75), transparent 48%),
      linear-gradient(145deg, #F6C457, rgba(46,108,97,0.55));
}
.admin-body .admin-hero-quote {
    position:absolute; inset:auto 12px 12px 12px; padding:10px 12px; border-radius:14px;
    background:rgba(223,224,223,0.92); color:#4B2C0A; font-size:12px; font-weight:700;
}

/* Panels — soft gray cards, never dark chocolate */
.admin-body .admin-panel,
.admin-body .dashboard-panel,
.admin-body .admin-content .admin-panel,
.admin-body .sales-panel,
.admin-body .dashboard-status-panel,
.admin-body .dashboard-today-stats-panel,
.admin-body .dashboard-recent-orders-panel {
    background: #DFE0DF !important;
    border: 1px solid rgba(75,44,10,0.07) !important;
    border-radius: 24px !important;
    box-shadow: var(--shadow) !important;
    color: #4B2C0A !important;
}
.admin-body .dashboard-panel-head h2,
.admin-body .admin-panel h2,
.admin-body .sales-panel h2 { color:#4B2C0A !important; }

/* Sales lock overlay — soft, not dark */
.admin-body .sales-panel,
.admin-body .admin-panel.sales-panel {
    background: linear-gradient(180deg, #DFE0DF, rgba(246,196,87,0.12)) !important;
}
.admin-body .sales-panel [class*="lock"],
.admin-body .admin-lock,
.admin-body .admin-panel-lock,
.admin-body .dashboard-panel[data-admin-lock-content],
.admin-body [data-admin-lock-content] {
    color: #4B2C0A !important;
}
.admin-body .admin-lock-overlay,
.admin-body .sales-panel .admin-lock-card,
.admin-body .admin-panel .lock-card,
.admin-body [class*="lock-card"],
.admin-body [class*="unlock"] {
    background: rgba(223,224,223,0.95) !important;
    border: 1px solid rgba(75,44,10,0.08) !important;
    color: #4B2C0A !important;
    border-radius: 18px !important;
    box-shadow: var(--shadow) !important;
}
.admin-body input[type="password"],
.admin-body .admin-lock input,
.admin-body .sales-panel input {
    background: #DFE0DF !important;
    border: 1px solid rgba(75,44,10,0.14) !important;
    color: #4B2C0A !important;
    border-radius: 12px !important;
}

.admin-body .dashboard-table-legend { display:flex; gap:10px; flex-wrap:wrap; }
.admin-body .dashboard-table-legend span {
    display:inline-flex; align-items:center; gap:6px; font-size:12px; color:rgba(75,44,10,0.68); font-weight:700;
}
.admin-body .dashboard-table-legend span::before { content:""; width:10px; height:10px; border-radius:50%; }
.admin-body .dashboard-table-legend .is-free::before { background:#2E6C61; }
.admin-body .dashboard-table-legend .is-busy::before { background:#F6C457; }
.admin-body .dashboard-table-legend .is-reserved::before { background:#4B2C0A; }

/* Table tiles — soft, not dark chips */
.admin-body .dashboard-table-grid {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px;
}
.admin-body .dashboard-table-grid article,
.admin-body .dashboard-table-card,
.admin-body .table-status-card,
.admin-body [class*="table-card"] {
    background: rgba(246,196,87,0.22) !important;
    border: 1px solid rgba(75,44,10,0.08) !important;
    border-radius: 16px !important;
    color: #4B2C0A !important;
    box-shadow: none !important;
    padding: 12px !important;
}
.admin-body .dashboard-table-grid article.is-free,
.admin-body .table-status-card.is-free,
.admin-body [class*="table-card"].is-free {
    background: rgba(46,108,97,0.14) !important; color:#2E6C61 !important;
}
.admin-body .dashboard-table-grid article.is-busy,
.admin-body .table-status-card.is-busy,
.admin-body [class*="table-card"].is-busy {
    background: rgba(246,196,87,0.40) !important; color:#4B2C0A !important;
}
.admin-body .dashboard-table-grid article.is-reserved,
.admin-body .table-status-card.is-reserved,
.admin-body [class*="table-card"].is-reserved {
    background: rgba(75,44,10,0.10) !important; color:#4B2C0A !important;
}

.admin-body .dashboard-today-stats-grid {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;
}
.admin-body .dashboard-today-stats-grid article {
    border-radius:18px; padding:14px; color:#4B2C0A;
}
.admin-body .dashboard-today-stats-grid article.tone-apricot,
.admin-body .dashboard-today-stats-grid article.tone-rose {
    background: rgba(246,196,87,0.28) !important;
}
.admin-body .dashboard-today-stats-grid article.tone-lavender,
.admin-body .dashboard-today-stats-grid article.tone-mint {
    background: rgba(46,108,97,0.14) !important;
}
.admin-body .dashboard-today-stats-grid span { color:rgba(75,44,10,0.58); font-size:12px; }
.admin-body .dashboard-today-stats-grid strong { display:block; margin-top:6px; color:#4B2C0A; font-size:1.05rem; }

.admin-body .admin-dashboard-grid {
    display:grid; grid-template-columns:1.25fr 1fr; gap:14px; margin-bottom:14px;
}
.admin-body .admin-dashboard-bottom {
    display:grid; grid-template-columns:1fr 1.25fr; gap:14px;
}

/* Tables / badges */
.admin-body table { color:#4B2C0A; }
.admin-body table th { color:rgba(75,44,10,0.58); font-weight:700; }
.admin-body .badge,
.admin-body .status-badge { border:0 !important; border-radius:999px !important; }
.admin-body .is-paid,
.admin-body .status-paid,
.admin-body .badge-success {
    background: rgba(46,108,97,0.16) !important; color:#2E6C61 !important;
}
.admin-body .is-pending,
.admin-body .status-pending,
.admin-body .badge-warning {
    background: rgba(246,196,87,0.35) !important; color:#4B2C0A !important;
}
.admin-body .is-canceled,
.admin-body .status-canceled,
.admin-body .badge-danger {
    background: rgba(75,44,10,0.12) !important; color:#4B2C0A !important;
}

.admin-body .btn-primary,
.admin-body .btn.btn-primary {
    background:#2E6C61 !important; border-color:transparent !important; color:#DFE0DF !important;
    border-radius:14px !important;
}
.admin-body .btn-primary:hover,
.admin-body .btn.btn-primary:hover {
    background:#4B2C0A !important; color:#F6C457 !important;
}
.admin-body .btn-secondary,
.admin-body .btn.btn-secondary {
    background:#F6C457 !important; border-color:transparent !important; color:#4B2C0A !important;
}
.admin-body a { color:#2E6C61; }
.admin-body a:hover { color:#4B2C0A; }

/* Kill leftover dark surfaces from older themes inside admin */
.admin-body .admin-content,
.admin-body .admin-main {
    background: transparent !important;
    color: #4B2C0A !important;
}
.admin-body [style*="background:#2"],
.admin-body [style*="background: #2"],
.admin-body [style*="background:#1"],
.admin-body [style*="background: #1"] {
    background: #DFE0DF !important;
}

@media (max-width: 1100px) {
    .admin-body .admin-dashboard-grid,
    .admin-body .admin-dashboard-bottom,
    .admin-body .admin-glance-grid,
    .admin-body .admin-hero-banner { grid-template-columns:1fr 1fr; }
    .admin-body .admin-topbar { grid-template-columns:1fr; }
}
@media (max-width: 820px) {
    .admin-body .admin-shell.admin-layout { flex-direction:column; }
    .admin-body .admin-sidebar { width:100%; max-width:none; position:relative; top:0; max-height:none; }
    .admin-body .admin-content { width:100%; }
    .admin-body .admin-glance-grid,
    .admin-body .admin-dashboard-grid,
    .admin-body .admin-dashboard-bottom,
    .admin-body .admin-hero-banner,
    .admin-body .dashboard-table-grid,
    .admin-body .dashboard-today-stats-grid { grid-template-columns:1fr; }
}


/* Soft mockup fixes — table chips + lock shell (4-color only) */
.admin-body .table-card,
.admin-body .dashboard-table-grid .table-card,
.admin-body .table-cards .table-card {
    background: rgba(246,196,87,0.22) !important;
    border: 1px solid rgba(75,44,10,0.08) !important;
    border-radius: 16px !important;
    color: #4B2C0A !important;
    box-shadow: none !important;
}
.admin-body .table-card.is-free,
.admin-body .table-card[data-status="free"] {
    background: rgba(46,108,97,0.14) !important;
    color: #2E6C61 !important;
}
.admin-body .table-card.is-busy,
.admin-body .table-card[data-status="busy"],
.admin-body .table-card.is-occupied {
    background: rgba(246,196,87,0.42) !important;
    color: #4B2C0A !important;
}
.admin-body .table-card.is-reserved,
.admin-body .table-card[data-status="reserved"] {
    background: rgba(75,44,10,0.10) !important;
    color: #4B2C0A !important;
}
.admin-body .table-card-number,
.admin-body .table-card-caption {
    color: inherit !important;
}

.admin-body .admin-section-lock-shell,
.admin-body .admin-section-lock-shell.is-locked {
    background: transparent !important;
}
.admin-body .admin-section-lock-shell .admin-panel,
.admin-body .admin-section-lock-shell .sales-panel {
    background: linear-gradient(180deg, #DFE0DF, rgba(246,196,87,0.14)) !important;
    color: #4B2C0A !important;
}
.admin-body .admin-section-lock-gate,
.admin-body .admin-lock-gate,
.admin-body .admin-section-lock-shell .admin-lock-panel,
.admin-body [data-admin-lock-gate],
.admin-body .admin-lock-card,
.admin-body .admin-section-lock-overlay {
    background: rgba(223,224,223,0.96) !important;
    border: 1px solid rgba(75,44,10,0.08) !important;
    color: #4B2C0A !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 32px rgba(75,44,10,0.08) !important;
}
.admin-body .admin-section-lock-shell button,
.admin-body .admin-lock-card .btn,
.admin-body .admin-section-lock-shell .btn {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
    border: 0 !important;
    border-radius: 12px !important;
}
.admin-body .sales-panel__ranges a {
    background: rgba(246,196,87,0.22) !important;
    color: #4B2C0A !important;
    border-radius: 999px !important;
}
.admin-body .sales-panel__ranges a.is-active {
    background: #F6C457 !important;
    color: #4B2C0A !important;
}
.admin-body .sales-panel__stat,
.admin-body .sales-panel__stats article {
    background: rgba(46,108,97,0.10) !important;
    color: #4B2C0A !important;
    border-radius: 16px !important;
}




/* admin-dashboard-grid single after sales removal */
.admin-body .admin-dashboard-grid {
    grid-template-columns: 1fr !important;
}


/* Table status UIUX soft transparent — no panel/grid dark bg */
.admin-body .admin-dashboard-grid,
.admin-body .dashboard-status-panel,
.admin-body .admin-panel.dashboard-status-panel,
.admin-body .dashboard-panel.dashboard-status-panel,
.admin-body[data-theme="dark"] .dashboard-status-panel,
.admin-body[data-theme="light"] .dashboard-status-panel {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 4px 2px 8px !important;
}

.admin-body .dashboard-status-panel .dashboard-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
    padding: 0 2px;
    background: transparent !important;
    border: 0 !important;
}

.admin-body .dashboard-status-panel .dashboard-panel-head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-table-legend {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0;
    background: transparent !important;
}

.admin-body .dashboard-status-panel .dashboard-table-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(75, 44, 10, 0.72);
}

.admin-body .dashboard-status-panel .dashboard-table-legend span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.admin-body .dashboard-status-panel .dashboard-table-legend .is-free::before { background: #2E6C61; }
.admin-body .dashboard-status-panel .dashboard-table-legend .is-busy::before { background: #F6C457; }
.admin-body .dashboard-status-panel .dashboard-table-legend .is-reserved::before { background: #4B2C0A; }

.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-grid,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-grid,
.admin-body[data-theme="dark"] .dashboard-table-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 92px !important;
    padding: 14px 14px 12px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(75, 44, 10, 0.08) !important;
    background: rgba(223, 224, 223, 0.72) !important;
    background-image: none !important;
    box-shadow: 0 8px 18px rgba(75, 44, 10, 0.05) !important;
    color: #4B2C0A !important;
    text-align: right !important;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.admin-body .dashboard-status-panel .dashboard-table-chip::before {
    content: none !important;
    display: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(75, 44, 10, 0.08) !important;
    border-color: rgba(46, 108, 97, 0.28) !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #4B2C0A !important;
    line-height: 1.25;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(46, 108, 97, 0.12);
    color: #2E6C61 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free {
    background: rgba(46, 108, 97, 0.10) !important;
    border-color: rgba(46, 108, 97, 0.16) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status {
    background: rgba(46, 108, 97, 0.14);
    color: #2E6C61 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served {
    background: rgba(246, 196, 87, 0.28) !important;
    border-color: rgba(246, 196, 87, 0.45) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status {
    background: rgba(246, 196, 87, 0.45);
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved {
    background: rgba(75, 44, 10, 0.08) !important;
    border-color: rgba(75, 44, 10, 0.16) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved .dashboard-table-chip-status {
    background: rgba(75, 44, 10, 0.12);
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order {
    outline: 2px solid rgba(246, 196, 87, 0.7);
    outline-offset: 1px;
}

@media (max-width: 900px) {
    .admin-body .dashboard-status-panel .dashboard-table-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .admin-body .dashboard-status-panel .dashboard-table-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .admin-body .dashboard-status-panel .dashboard-table-chip {
        min-height: 84px !important;
    }
}


/* Kill remaining dark shells around dashboard content */
.admin-body .admin-content,
.admin-body .admin-main,
.admin-body .admin-section-group.admin-dashboard,
.admin-body #dashboard,
.admin-body[data-theme="dark"] .admin-content,
.admin-body[data-theme="dark"] .admin-main,
.admin-body[data-theme="dark"] .admin-section-group.admin-dashboard {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
}
.admin-body[data-theme="dark"] {
    color: #4B2C0A !important;
}



/* Table status panel bg light gray (slightly lighter than sample) */
.admin-body .dashboard-status-panel,
.admin-body .admin-panel.dashboard-status-panel,
.admin-body .dashboard-panel.dashboard-status-panel,
.admin-body[data-theme="dark"] .dashboard-status-panel,
.admin-body[data-theme="light"] .dashboard-status-panel {
    background: #D7DAD3 !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 26px rgba(75, 44, 10, 0.06) !important;
    padding: 18px 16px 16px !important;
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-panel-head h2 {
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-table-legend span {
    color: rgba(75, 44, 10, 0.7) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-legend .is-free::before { background: #2E6C61; }
.admin-body .dashboard-status-panel .dashboard-table-legend .is-busy::before { background: #F6C457; }
.admin-body .dashboard-status-panel .dashboard-table-legend .is-reserved::before { background: #4B2C0A; }

.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-grid {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip {
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(75, 44, 10, 0.08) !important;
    color: #4B2C0A !important;
    box-shadow: 0 6px 14px rgba(75, 44, 10, 0.04) !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip:hover {
    background: #fff !important;
    border-color: rgba(46, 108, 97, 0.28) !important;
    box-shadow: 0 10px 20px rgba(75, 44, 10, 0.07) !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-title {
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status {
    background: rgba(46, 108, 97, 0.12) !important;
    color: #2E6C61 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free {
    background: rgba(46, 108, 97, 0.08) !important;
    border-color: rgba(46, 108, 97, 0.14) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status {
    background: rgba(46, 108, 97, 0.14) !important;
    color: #2E6C61 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served {
    background: rgba(246, 196, 87, 0.28) !important;
    border-color: rgba(246, 196, 87, 0.42) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status {
    background: rgba(246, 196, 87, 0.5) !important;
    color: #4B2C0A !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved {
    background: rgba(75, 44, 10, 0.08) !important;
    border-color: rgba(75, 44, 10, 0.14) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved .dashboard-table-chip-status {
    background: rgba(75, 44, 10, 0.12) !important;
    color: #4B2C0A !important;
}


/* Flat buttons — admin */
.admin-body .btn,
.admin-body a.btn,
.admin-body button,
.admin-body input[type="button"],
.admin-body input[type="submit"],
.admin-body input[type="reset"],
.admin-body .admin-icon-btn,
.admin-body .admin-sidebar-promo-btn,
.admin-body .admin-hero-cta,
.admin-body .admin-nav a,
.admin-body .admin-quick-access-link,
.admin-body .admin-sidebar-logout,
.admin-body .sales-panel__ranges a,
.admin-body .dashboard-table-chip,
.admin-body .dashboard-table-modal-close,
.admin-body .badge,
.admin-body .status-badge,
.admin-body [class*="btn-"] {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

.admin-body .btn:hover,
.admin-body .btn:focus,
.admin-body .btn:active,
.admin-body a.btn:hover,
.admin-body button:hover,
.admin-body button:focus,
.admin-body button:active,
.admin-body .admin-icon-btn:hover,
.admin-body .admin-sidebar-promo-btn:hover,
.admin-body .admin-hero-cta:hover,
.admin-body .admin-nav a:hover,
.admin-body .admin-nav a.is-active,
.admin-body .admin-quick-access-link:hover,
.admin-body .admin-quick-access-link.is-active,
.admin-body .dashboard-table-chip:hover,
.admin-body .sales-panel__ranges a:hover,
.admin-body .sales-panel__ranges a.is-active {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

.admin-body .btn,
.admin-body a.btn,
.admin-body button.btn,
.admin-body input[type="submit"].btn {
    border-radius: 12px !important;
    border-width: 0 !important;
    border-style: solid !important;
    font-weight: 700 !important;
}

.admin-body .btn-primary,
.admin-body .btn.btn-primary,
.admin-body button.btn-primary {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
    border-color: transparent !important;
}
.admin-body .btn-primary:hover,
.admin-body .btn.btn-primary:hover {
    background: #4B2C0A !important;
    color: #F6C457 !important;
}

.admin-body .btn-secondary,
.admin-body .btn.btn-secondary {
    background: #F6C457 !important;
    color: #4B2C0A !important;
    border-color: transparent !important;
}
.admin-body .btn-secondary:hover {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}

.admin-body .btn-light,
.admin-body .btn.btn-light,
.admin-body .btn-outline,
.admin-body .btn-ghost {
    background: #DFE0DF !important;
    color: #4B2C0A !important;
    border: 1px solid rgba(75, 44, 10, 0.12) !important;
}
.admin-body .btn-light:hover,
.admin-body .btn-outline:hover,
.admin-body .btn-ghost:hover {
    background: rgba(246, 196, 87, 0.35) !important;
    color: #4B2C0A !important;
}

.admin-body .btn-danger,
.admin-body .btn.btn-danger {
    background: #4B2C0A !important;
    color: #DFE0DF !important;
}

.admin-body .btn-success,
.admin-body .btn.btn-success {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}

.admin-body .btn-warning,
.admin-body .btn.btn-warning {
    background: #F6C457 !important;
    color: #4B2C0A !important;
}

.admin-body .admin-icon-btn,
.admin-body .admin-topbar-actions .btn {
    background: #DFE0DF !important;
    color: #2E6C61 !important;
    border: 1px solid rgba(75, 44, 10, 0.08) !important;
    box-shadow: none !important;
}

.admin-body .admin-sidebar-promo-btn {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
    box-shadow: none !important;
}
.admin-body .admin-sidebar-promo-btn:hover {
    background: #4B2C0A !important;
    color: #F6C457 !important;
}

.admin-body .admin-nav a.is-active,
.admin-body .admin-nav a:hover,
.admin-body .admin-quick-access-link.is-active,
.admin-body .admin-quick-access-link:hover {
    background: #F6C457 !important;
    color: #4B2C0A !important;
    box-shadow: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-status-panel .dashboard-table-chip:hover {
    box-shadow: none !important;
    transform: none !important;
}


/* Flat glance cards */
.admin-body .admin-glance-card,
.admin-body .admin-glance-card.tone-mint,
.admin-body .admin-glance-card.tone-lavender,
.admin-body .admin-glance-card.tone-apricot,
.admin-body .admin-glance-card.tone-rose,
.admin-body[data-theme="dark"] .admin-glance-card,
.admin-body[data-theme="light"] .admin-glance-card {
    background: #DFE0DF !important;
    background-image: none !important;
    border: 1px solid rgba(75, 44, 10, 0.10) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    color: #4B2C0A !important;
}

.admin-body .admin-glance-card.tone-mint,
.admin-body .admin-glance-card.tone-lavender {
    background: #DFE0DF !important;
    border-color: rgba(46, 108, 97, 0.22) !important;
}

.admin-body .admin-glance-card.tone-apricot,
.admin-body .admin-glance-card.tone-rose {
    background: #DFE0DF !important;
    border-color: rgba(246, 196, 87, 0.45) !important;
}

.admin-body .admin-glance-card-head {
    background: #F6C457 !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #4B2C0A !important;
    border-radius: 12px !important;
}

.admin-body .admin-glance-card.tone-mint .admin-glance-card-head,
.admin-body .admin-glance-card.tone-lavender .admin-glance-card-head {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}

.admin-body .admin-glance-card.tone-apricot .admin-glance-card-head,
.admin-body .admin-glance-card.tone-rose .admin-glance-card-head {
    background: #F6C457 !important;
    color: #4B2C0A !important;
}

.admin-body .admin-glance-card-title {
    color: rgba(75, 44, 10, 0.62) !important;
}

.admin-body .admin-glance-card strong {
    color: #4B2C0A !important;
}

.admin-body .admin-glance-trend {
    color: #2E6C61 !important;
}

.admin-body .admin-glance-card:hover,
.admin-body .admin-glance-card:focus {
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}


/* Fix pointless sidebar scroll */
.admin-body .admin-sidebar,
.admin-body[data-theme="dark"] .admin-sidebar,
.admin-body[data-theme="light"] .admin-sidebar {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.admin-body .admin-sidebar::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
.admin-body .admin-brand-header,
.admin-body .admin-header,
.admin-body .admin-brand,
.admin-body .admin-brand-copy,
.admin-body .admin-nav {
    overflow: visible !important;
    max-height: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.admin-body .admin-shell.admin-layout {
    align-items: flex-start !important;
}



/* Table chip isometric image */
.admin-body .dashboard-status-panel .dashboard-table-chip {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    min-height: 132px !important;
    padding: 14px 10px 12px !important;
    text-align: center !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-visual {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-visual img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-meta {
    display: grid;
    gap: 6px;
    justify-items: center;
    width: 100%;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-title {
    font-size: 0.95rem !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-status {
    justify-self: center;
}


/* Table chip SVG icon */
.admin-body .dashboard-status-panel .dashboard-table-chip-visual {
    background: transparent !important;
    width: 78px;
    height: 78px;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-icon {
    width: 72px;
    height: 72px;
    display: block;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-icon path[fill="#F6C457"],
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-icon path[fill="#F6C457"] {
    fill: #F6C457;
}


/* Black glossy glass cards */
.admin-body .admin-glance-card,
.admin-body .admin-glance-card.tone-mint,
.admin-body .admin-glance-card.tone-lavender,
.admin-body .admin-glance-card.tone-apricot,
.admin-body .admin-glance-card.tone-rose,
.admin-body .dashboard-status-panel,
.admin-body .admin-panel.dashboard-status-panel,
.admin-body .dashboard-panel.dashboard-status-panel,
.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body[data-theme="dark"] .admin-glance-card,
.admin-body[data-theme="light"] .admin-glance-card,
.admin-body[data-theme="dark"] .dashboard-status-panel,
.admin-body[data-theme="light"] .dashboard-status-panel,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 38%, rgba(255,255,255,0) 52%),
        linear-gradient(180deg, rgba(40,40,40,0.72) 0%, rgba(0,0,0,0.78) 100%) !important;
    background-image:
        linear-gradient(145deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 38%, rgba(255,255,255,0) 52%),
        linear-gradient(180deg, rgba(40,40,40,0.72) 0%, rgba(0,0,0,0.78) 100%) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(0,0,0,0.35),
        0 10px 28px rgba(0,0,0,0.18) !important;
    backdrop-filter: blur(18px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
    color: #DFE0DF !important;
}

.admin-body .admin-glance-card-title,
.admin-body .dashboard-status-panel .dashboard-panel-head h2,
.admin-body .dashboard-status-panel .dashboard-table-legend span {
    color: rgba(223,224,223,0.78) !important;
}

.admin-body .admin-glance-card strong,
.admin-body .dashboard-status-panel .dashboard-table-chip-title {
    color: #fff !important;
}

.admin-body .admin-glance-trend {
    color: #F6C457 !important;
}

.admin-body .admin-glance-card-head {
    background: rgba(255,255,255,0.12) !important;
    background-image: linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06)) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25) !important;
    color: #F6C457 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.admin-body .admin-glance-card.tone-mint .admin-glance-card-head,
.admin-body .admin-glance-card.tone-lavender .admin-glance-card-head {
    background: rgba(46,108,97,0.45) !important;
    color: #DFE0DF !important;
}

.admin-body .admin-glance-card.tone-apricot .admin-glance-card-head,
.admin-body .admin-glance-card.tone-rose .admin-glance-card-head {
    background: rgba(246,196,87,0.35) !important;
    color: #fff !important;
}

.admin-body .dashboard-status-panel .dashboard-table-legend .is-free::before { background: #2E6C61; }
.admin-body .dashboard-status-panel .dashboard-table-legend .is-busy::before { background: #F6C457; }
.admin-body .dashboard-status-panel .dashboard-table-legend .is-reserved::before { background: rgba(223,224,223,0.8); }

.admin-body .dashboard-status-panel .dashboard-table-grid {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status {
    background: rgba(255,255,255,0.10) !important;
    color: #F6C457 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free {
    border-color: rgba(46,108,97,0.45) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status {
    background: rgba(46,108,97,0.35) !important;
    color: #DFE0DF !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served {
    border-color: rgba(246,196,87,0.5) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status {
    background: rgba(246,196,87,0.28) !important;
    color: #F6C457 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved {
    border-color: rgba(255,255,255,0.22) !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

.admin-body .admin-glance-card:hover,
.admin-body .dashboard-status-panel .dashboard-table-chip:hover {
    border-color: rgba(255,255,255,0.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -1px 0 rgba(0,0,0,0.35),
        0 14px 32px rgba(0,0,0,0.22) !important;
    transform: none !important;
}


/* Full admin dark mode */
.admin-body,
.admin-body[data-theme="dark"],
.admin-body[data-theme="light"],
.admin-body.admin-auth-page {
    --bg: #0E0E0E;
    --surface: #171717;
    --surface-soft: #1F1F1F;
    --text: #F2F2F0;
    --muted: rgba(242,242,240,0.62);
    --primary: #2E6C61;
    --primary-dark: #245850;
    --accent: #F6C457;
    --primary-rgb: 46 108 97;
    --text-rgb: 242 242 240;
    --border: rgba(255,255,255,0.10);
    --shadow: 0 12px 30px rgba(0,0,0,0.35);
    --admin-gold: #F6C457;
    --admin-teal: #2E6C61;
    --admin-brown: #4B2C0A;
    --admin-gray: #DFE0DF;
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
    color-scheme: dark;
}

/* Keep checkered backdrop but dark-tinted */
.admin-body::before {
    background-color: #0E0E0E !important;
    background-image:
        linear-gradient(45deg, rgba(46,108,97,0.18) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(46,108,97,0.18) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(46,108,97,0.18) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(46,108,97,0.18) 75%) !important;
    filter: blur(22px) brightness(0.55) !important;
}
.admin-body::after {
    background:
        radial-gradient(circle at 20% 25%, rgba(246,196,87,0.12), transparent 46%),
        radial-gradient(circle at 78% 20%, rgba(46,108,97,0.16), transparent 42%),
        linear-gradient(180deg, rgba(14,14,14,0.55), rgba(14,14,14,0.82)) !important;
    filter: blur(24px) !important;
}

.admin-body .admin-sidebar {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        rgba(20,20,20,0.78) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 16px 40px rgba(0,0,0,0.35) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-brand-copy strong,
.admin-body .admin-brand { color: #fff !important; }
.admin-body .admin-brand-copy span { color: rgba(242,242,240,0.62) !important; }
.admin-body .admin-brand-mark {
    background: rgba(246,196,87,0.18) !important;
    color: #F6C457 !important;
}

/* DPSNS: CafeYar logo (right) + brand text beside it in RTL sidebar */
.admin-body .admin-brand-header {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 4px 2px 10px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.admin-body .admin-brand-logo-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    text-decoration: none !important;
    text-align: right !important;
}
.admin-body .admin-brand-logo {
    display: block !important;
    flex: 0 0 auto !important;
    width: 56px !important;
    height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}
.admin-body .admin-brand-logo-link .admin-brand-copy {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: right !important;
}
.admin-body .admin-brand-logo-link .admin-brand-copy strong {
    display: block !important;
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    color: #fff !important;
}
.admin-body .admin-brand-logo-link .admin-brand-copy span {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: rgba(242,242,240,0.62) !important;
}

.admin-body .admin-nav a,
.admin-body .admin-nav .admin-nav-group-summary,
.admin-body .admin-quick-access-link,
.admin-body .admin-sidebar-logout {
    color: rgba(242,242,240,0.88) !important;
    background: transparent !important;
}
.admin-body .admin-nav a.is-active,
.admin-body .admin-nav a:hover,
.admin-body .admin-quick-access-link.is-active,
.admin-body .admin-quick-access-link:hover {
    background: rgba(246,196,87,0.16) !important;
    color: #F6C457 !important;
}
.admin-body .admin-nav .admin-inline-icon,
.admin-body .admin-nav a.is-active .admin-inline-icon,
.admin-body .admin-nav a:hover .admin-inline-icon,
.admin-body .admin-quick-access-link .admin-inline-icon,
.admin-body .admin-quick-access-link.is-active .admin-inline-icon,
.admin-body .admin-quick-access-link:hover .admin-inline-icon {
    color: #F6C457 !important;
}
.admin-body .admin-nav .admin-inline-icon svg {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.admin-body .admin-sidebar-promo {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
        rgba(0,0,0,0.45) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-sidebar-promo-quote { color: rgba(242,242,240,0.62) !important; }
.admin-body .admin-sidebar-promo-btn {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}
.admin-body .admin-sidebar-card,
.admin-body .admin-quick-access-card {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #F2F2F0 !important;
}

.admin-body .admin-topbar-profile,
.admin-body .admin-topbar-actions .admin-icon-btn,
.admin-body .admin-topbar-actions .btn {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
        rgba(23,23,23,0.82) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12) !important;
    color: #F2F2F0 !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
.admin-body .admin-topbar-avatar {
    background: #F6C457 !important;
    color: #141414 !important;
}
.admin-body .admin-topbar-profile-copy strong { color: #fff !important; }
.admin-body .admin-topbar-profile-copy span,
.admin-body .admin-topbar-date { color: rgba(242,242,240,0.62) !important; }

.admin-body .admin-content,
.admin-body .admin-main,
.admin-body .admin-section-group,
.admin-body .admin-dashboard {
    background: transparent !important;
    color: #F2F2F0 !important;
}

.admin-body .admin-panel,
.admin-body .dashboard-panel,
.admin-body .admin-content .admin-panel,
.admin-body .table-wrap,
.admin-body .admin-auth-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 55%),
        rgba(20,20,20,0.78) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 34px rgba(0,0,0,0.28) !important;
    backdrop-filter: blur(16px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-panel h2,
.admin-body .dashboard-panel-head h2,
.admin-body table,
.admin-body label,
.admin-body .form-label {
    color: #F2F2F0 !important;
}
.admin-body table th { color: rgba(242,242,240,0.62) !important; }
.admin-body table td { border-color: rgba(255,255,255,0.08) !important; }

.admin-body input,
.admin-body select,
.admin-body textarea,
.admin-body .form-control {
    background: rgba(0,0,0,0.45) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
}
.admin-body input::placeholder,
.admin-body textarea::placeholder { color: rgba(242,242,240,0.4) !important; }

.admin-body .btn-light,
.admin-body .btn.btn-light,
.admin-body .btn-outline,
.admin-body .btn-ghost {
    background: rgba(255,255,255,0.08) !important;
    color: #F2F2F0 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

.admin-body .admin-modal,
.admin-body .dashboard-table-modal-dialog,
.admin-body .admin-quick-modal-dialog,
.admin-body [class*="modal-dialog"] {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
        rgba(18,18,18,0.92) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #F2F2F0 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}
.admin-body .dashboard-table-modal-backdrop,
.admin-body .admin-quick-modal-backdrop,
.admin-body [class*="modal-backdrop"] {
    background: rgba(0,0,0,0.55) !important;
}

.admin-body a { color: #F6C457; }
.admin-body a:hover { color: #fff; }

/* Auth login page too */
.admin-body.admin-auth-page .admin-auth-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)),
        rgba(20,20,20,0.85) !important;
    color: #F2F2F0 !important;
}
.admin-body.admin-auth-page .admin-auth-topbrand strong { color: #fff !important; }
.admin-body.admin-auth-page .admin-auth-topbrand span { color: rgba(242,242,240,0.62) !important; }


/* Flat everything admin — no glass, no shadow, no gradient chrome */
.admin-body,
.admin-body[data-theme="dark"],
.admin-body[data-theme="light"],
.admin-body.admin-auth-page {
    --shadow: none;
    --shadow-soft: none;
    --shadow-hover: none;
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
}

.admin-body::before,
.admin-body::after {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.admin-body *,
.admin-body *::before,
.admin-body *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.admin-body .admin-sidebar,
.admin-body .admin-panel,
.admin-body .dashboard-panel,
.admin-body .admin-content .admin-panel,
.admin-body .admin-topbar-profile,
.admin-body .admin-topbar-actions .admin-icon-btn,
.admin-body .admin-topbar-actions .btn,
.admin-body .admin-glance-card,
.admin-body .admin-glance-card.tone-mint,
.admin-body .admin-glance-card.tone-lavender,
.admin-body .admin-glance-card.tone-apricot,
.admin-body .admin-glance-card.tone-rose,
.admin-body .dashboard-status-panel,
.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .admin-sidebar-promo,
.admin-body .admin-sidebar-card,
.admin-body .admin-quick-access-card,
.admin-body .admin-auth-card,
.admin-body .table-wrap,
.admin-body .admin-modal,
.admin-body .dashboard-table-modal-dialog,
.admin-body .admin-quick-modal-dialog,
.admin-body [class*="modal-dialog"],
.admin-body .btn,
.admin-body a.btn,
.admin-body button,
.admin-body .admin-icon-btn,
.admin-body .admin-sidebar-promo-btn,
.admin-body .admin-nav a,
.admin-body .admin-quick-access-link,
.admin-body .badge,
.admin-body .status-badge,
.admin-body .dashboard-status-pill,
.admin-body input,
.admin-body select,
.admin-body textarea,
.admin-body .form-control {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
}

.admin-body .admin-sidebar {
    background: #171717 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-panel,
.admin-body .dashboard-panel,
.admin-body .admin-content .admin-panel,
.admin-body .table-wrap,
.admin-body .admin-auth-card {
    background: #171717 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-topbar-profile,
.admin-body .admin-topbar-actions .admin-icon-btn,
.admin-body .admin-topbar-actions .btn {
    background: #222222 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #F2F2F0 !important;
}

.admin-body .admin-glance-card,
.admin-body .admin-glance-card.tone-mint,
.admin-body .admin-glance-card.tone-lavender,
.admin-body .admin-glance-card.tone-apricot,
.admin-body .admin-glance-card.tone-rose,
.admin-body .dashboard-status-panel,
.admin-body .dashboard-status-panel .dashboard-table-chip {
    background: #171717 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    color: #F2F2F0 !important;
}

.admin-body .admin-glance-card-head {
    background: #222222 !important;
    border: 0 !important;
    color: #F6C457 !important;
}
.admin-body .admin-glance-card.tone-mint .admin-glance-card-head,
.admin-body .admin-glance-card.tone-lavender .admin-glance-card-head {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}
.admin-body .admin-glance-card.tone-apricot .admin-glance-card-head,
.admin-body .admin-glance-card.tone-rose .admin-glance-card-head {
    background: #F6C457 !important;
    color: #141414 !important;
}

.admin-body .admin-sidebar-promo {
    background: #222222 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
.admin-body .admin-sidebar-promo-btn,
.admin-body .btn-primary,
.admin-body .btn.btn-primary {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
    border: 0 !important;
}
.admin-body .btn-secondary {
    background: #F6C457 !important;
    color: #141414 !important;
    border: 0 !important;
}
.admin-body .admin-nav a.is-active,
.admin-body .admin-nav a:hover,
.admin-body .admin-quick-access-link.is-active,
.admin-body .admin-quick-access-link:hover {
    background: rgba(246,196,87,0.16) !important;
    color: #F6C457 !important;
    border: 0 !important;
}
.admin-body .admin-nav a.is-active .admin-inline-icon,
.admin-body .admin-nav a:hover .admin-inline-icon {
    color: #F6C457 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual {
    background: #222222 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-status {
    background: #222222 !important;
    border: 0 !important;
    color: #F6C457 !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status {
    background: #F6C457 !important;
    color: #141414 !important;
}

.admin-body .admin-modal,
.admin-body .dashboard-table-modal-dialog,
.admin-body .admin-quick-modal-dialog,
.admin-body [class*="modal-dialog"] {
    background: #171717 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    color: #F2F2F0 !important;
}
.admin-body .dashboard-table-modal-backdrop,
.admin-body .admin-quick-modal-backdrop,
.admin-body [class*="modal-backdrop"] {
    background: rgba(0,0,0,0.65) !important;
    backdrop-filter: none !important;
}

.admin-body input,
.admin-body select,
.admin-body textarea,
.admin-body .form-control {
    background: #0E0E0E !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #F2F2F0 !important;
}

.admin-body .btn-light,
.admin-body .btn.btn-light {
    background: #222222 !important;
    color: #F2F2F0 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
}

.admin-body .admin-glance-card:hover,
.admin-body .dashboard-status-panel .dashboard-table-chip:hover,
.admin-body .btn:hover,
.admin-body button:hover {
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}


/* Flat table chips forced */
.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-settled,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-table-grid .dashboard-table-chip,
.admin-body button.dashboard-table-chip {
    background: #222222 !important;
    background-color: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-top: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    outline: none !important;
    color: #F2F2F0 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip::before,
.admin-body .dashboard-status-panel .dashboard-table-chip::after,
.admin-body .dashboard-table-grid .dashboard-table-chip::before,
.admin-body .dashboard-table-grid .dashboard-table-chip::after,
.admin-body button.dashboard-table-chip::before,
.admin-body button.dashboard-table-chip::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip:hover,
.admin-body .dashboard-status-panel .dashboard-table-chip:focus,
.admin-body .dashboard-status-panel .dashboard-table-chip:active,
.admin-body .dashboard-table-grid .dashboard-table-chip:hover {
    background: #2A2A2A !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual {
    background: #171717 !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-title,
.admin-body .dashboard-table-grid .dashboard-table-chip-title {
    color: #fff !important;
    text-shadow: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip-status {
    background: #171717 !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #F6C457 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status {
    background: #F6C457 !important;
    color: #141414 !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved .dashboard-table-chip-status {
    background: rgba(255,255,255,0.12) !important;
    color: #F2F2F0 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order {
    outline: none !important;
    outline-offset: 0 !important;
}

.admin-body .dashboard-status-panel,
.admin-body .admin-panel.dashboard-status-panel {
    background: #171717 !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-grid {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Fine grid paper backdrop — like graph paper + soft glows */
.admin-body,
.admin-body[data-theme="dark"],
.admin-body[data-theme="light"] {
    background-color: #0B0D10 !important;
    background-image: none !important;
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
}

.admin-body::before {
    content: "" !important;
    position: fixed !important;
    inset: -2% !important;
    z-index: -2 !important;
    pointer-events: none !important;
    background-color: #0B0D10 !important;
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px) !important;
    background-size: 28px 28px !important;
    background-position: 0 0, 0 0 !important;
    filter: blur(1.2px) !important;
    transform: none !important;
    animation: admin-grid-drift 36s linear infinite !important;
    opacity: 0.9 !important;
}

.admin-body::after {
    content: "" !important;
    position: fixed !important;
    inset: -10% !important;
    z-index: -1 !important;
    pointer-events: none !important;
    background:
        radial-gradient(ellipse 55% 45% at 12% 18%, rgba(120, 170, 255, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 40% at 88% 82%, rgba(255, 170, 90, 0.18), transparent 58%),
        radial-gradient(ellipse 40% 35% at 70% 20%, rgba(100, 140, 255, 0.08), transparent 55%) !important;
    filter: none !important;
    transform: none !important;
    animation: admin-grid-glow 22s ease-in-out infinite alternate !important;
    opacity: 1 !important;
}

@keyframes admin-grid-drift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 28px 28px, 28px 28px; }
}

@keyframes admin-grid-glow {
    0% { opacity: 0.85; transform: translate3d(0,0,0) scale(1); }
    100% { opacity: 1; transform: translate3d(-1%, 1%, 0) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .admin-body::before,
    .admin-body::after {
        animation: none !important;
    }
}

/* Keep flat UI: do NOT let global * filter kill only these fixed layers wrongly —
   cards stay flat via existing flat rules. */



/* Grid lines soft blur override */
.admin-body::before {
    filter: blur(1.2px) !important;
}








/* table-chip user photo — white table, no background */
.admin-body .dashboard-status-panel .dashboard-table-chip-visual {
    display: grid !important;
    place-items: center !important;
    width: 84px !important;
    height: 84px !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
}
.admin-body .dashboard-status-panel .dashboard-table-chip-visual img {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    filter: none !important;
    opacity: 1 !important;
}

/* DPSNS: diagonal teal corner ribbon for table number (foreground only; no page/bg/theme edits) */
/* Ribbon clipped in corner box only — chip itself stays overflow:visible so gold outline is not clipped */
.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-table-grid .dashboard-table-chip,
.admin-body button.dashboard-table-chip {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 148px !important;
    padding: 14px 10px 12px !important;
    text-align: center !important;
    overflow: visible !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-ribbon,
.admin-body .dashboard-table-grid .dashboard-table-chip-ribbon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 78px !important;
    height: 78px !important;
    overflow: hidden !important;
    border-radius: 16px 0 0 0 !important;
    z-index: 6 !important;
    pointer-events: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    display: grid !important;
    place-items: center !important;
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual img,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual img {
    width: 88px !important;
    height: auto !important;
    max-height: 88px !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
    opacity: 1 !important;
    filter: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-number,
.admin-body .dashboard-table-grid .dashboard-table-chip-number {
    position: absolute !important;
    top: 14px !important;
    left: -38px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 6 !important;
    display: block !important;
    width: 118px !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    border-radius: 0 !important;
    background: #2E6C61 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-shadow: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25) !important;
    transform: rotate(-45deg) !important;
    transform-origin: center center !important;
    pointer-events: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-meta,
.admin-body .dashboard-table-grid .dashboard-table-chip-meta {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    inset: auto !important;
    z-index: 2 !important;
    display: grid !important;
    gap: 0 !important;
    justify-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip-status {
    pointer-events: auto !important;
    justify-self: center !important;
}

/* DPSNS: status borders on table chips (chip only — no page/bg edits) */
@keyframes dashboard-table-chip-unreviewed-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.12; }
}

.admin-body .dashboard-status-panel .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip-pulse {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 16px !important;
    border: 2px solid transparent !important;
    box-shadow: none !important;
    background: transparent !important;
    pointer-events: none !important;
    z-index: 5 !important;
    opacity: 0;
    visibility: hidden;
    display: block !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse {
    visibility: visible;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-free,
.admin-body button.dashboard-table-chip.is-status-free {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid #FFFFFF !important;
    animation: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-preparing,
.admin-body button.dashboard-table-chip.is-status-preparing {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid #8B5CF6 !important;
    animation: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-served,
.admin-body button.dashboard-table-chip.is-status-served {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid #22C55E !important;
    animation: none !important;
}

/* Unreviewed / pending: solid red chip border + blinking red overlay ring */
.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order,
.admin-body button.dashboard-table-chip.is-unreviewed-order,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending,
.admin-body button.dashboard-table-chip.is-status-pending {
    outline: none !important;
    outline-offset: 0 !important;
    border: 2px solid #E53935 !important;
    box-shadow: none !important;
    animation: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse {
    border-color: #E53935 !important;
    /* opacity must NOT be !important — keyframes animate it */
    opacity: 1;
    animation: dashboard-table-chip-unreviewed-blink 0.8s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    .admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
    .admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
    .admin-body button.dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
    .admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
    .admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
    .admin-body button.dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Give gold ring room; avoid clipping by scroll container */
.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body .dashboard-table-grid {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* hide legacy title if any cached HTML still has it */
.admin-body .dashboard-status-panel .dashboard-table-chip-title,
.admin-body .dashboard-table-grid .dashboard-table-chip-title {
    display: none !important;
}

/* DPSNS: unified flat dark nav item backgrounds */
.admin-body .admin-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.admin-body .admin-nav > a,
.admin-body .admin-nav > .admin-nav-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
}

.admin-body .admin-nav > .admin-nav-group,
.admin-body .admin-nav > .admin-nav-group[open],
.admin-body .admin-nav > .admin-nav-group.is-open {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.admin-body .admin-nav > .admin-nav-group[open],
.admin-body .admin-nav > .admin-nav-group.is-open {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
}

/* Identical painted row for dashboard links AND group headers */
.admin-body .admin-nav > a,
.admin-body .admin-nav > a:hover,
.admin-body .admin-nav > a:focus,
.admin-body .admin-nav > a:active,
.admin-body .admin-nav > a.is-active,
.admin-body .admin-nav > .admin-nav-group > .admin-nav-group-summary,
.admin-body .admin-nav > .admin-nav-group > .admin-nav-group-summary:hover,
.admin-body .admin-nav .admin-nav-submenu > a,
.admin-body .admin-nav .admin-nav-submenu > a:hover,
.admin-body .admin-nav .admin-nav-submenu > a.is-active {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background: #222222 !important;
    background-color: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
    filter: none !important;
    transform: none !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}

/* Flatten inner trigger so it cannot create a second box or extra size */
.admin-body .admin-nav .admin-nav-trigger {
    display: contents !important;
}

.admin-body .admin-nav-submenu {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 0 !important;
}

.admin-body .admin-nav a .admin-inline-icon,
.admin-body .admin-nav .admin-nav-group-summary .admin-inline-icon,
.admin-body .admin-nav .admin-nav-item-arrow {
    color: #F6C457 !important;
    flex-shrink: 0 !important;
}
.admin-body .admin-nav .admin-nav-group-label,
.admin-body .admin-nav a span {
    color: #F2F2F0 !important;
}
.admin-body .admin-nav .admin-nav-link-copy {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}


/* DPSNS: sidebar top actions */
.admin-body .admin-sidebar-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    position: relative !important;
}
.admin-body .admin-sidebar-actions .admin-icon-btn,
.admin-body .admin-sidebar-actions .admin-user.admin-icon-btn,
.admin-body .admin-sidebar-actions a.admin-icon-btn,
.admin-body .admin-sidebar-actions button.admin-icon-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-sidebar-actions .admin-icon-btn svg,
.admin-body .admin-sidebar-actions .admin-icon-btn .admin-inline-icon {
    width: 18px !important;
    height: 18px !important;
    color: #F2F2F0 !important;
    fill: currentColor !important;
}
.admin-body .admin-sidebar-actions .admin-notification-popover {
    position: relative !important;
}
.admin-body .admin-sidebar-actions .admin-notification-panel {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 80 !important;
    width: min(280px, 78vw) !important;
}

/* DPSNS: sidebar profile at top */
.admin-body .admin-sidebar-profile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 12px 0 0 !important;
    padding: 10px 12px !important;
    min-height: 52px !important;
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-sidebar-profile-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}
.admin-body .admin-sidebar-profile-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    background: #F6C457 !important;
    color: #141414 !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}
.admin-body .admin-sidebar-profile-avatar.has-image {
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
.admin-body .admin-sidebar-profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
}
.admin-body .admin-sidebar-profile-copy {
    min-width: 0 !important;
    text-align: right !important;
}
.admin-body .admin-sidebar-profile-copy strong {
    display: block !important;
    color: #F2F2F0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}
.admin-body .admin-sidebar-profile-copy span {
    display: block !important;
    color: rgba(242, 242, 240, 0.62) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}
.admin-body .admin-sidebar-profile-logout {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    background: rgba(229, 57, 53, 0.18) !important;
    border: 1px solid rgba(229, 57, 53, 0.45) !important;
    color: #FF8A80 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.admin-body .admin-sidebar-profile-logout:hover {
    background: rgba(229, 57, 53, 0.28) !important;
    color: #FFFFFF !important;
}

/* DPSNS: SMS panel balance under profile */
.admin-body .admin-sidebar-sms-balance {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 !important;
    padding: 10px 12px !important;
    min-height: 44px !important;
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-sidebar-sms-balance-label {
    color: rgba(242, 242, 240, 0.62) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    text-align: right !important;
}
.admin-body .admin-sidebar-sms-balance-value {
    color: #F6C457 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: 0.01em !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.admin-body .admin-sidebar-sms-balance.is-unavailable .admin-sidebar-sms-balance-value {
    color: rgba(242, 242, 240, 0.45) !important;
    font-weight: 700 !important;
}

/* DPSNS: nav arrow direction */
.admin-body .admin-nav .admin-nav-item-arrow {
    transform: none !important;
}
.admin-body .admin-nav .admin-nav-group[open] > .admin-nav-group-summary .admin-nav-item-arrow,
.admin-body .admin-nav .admin-nav-group.is-open > .admin-nav-group-summary .admin-nav-item-arrow {
    transform: rotate(-90deg) !important;
}

/* DPSNS: nav section locks */
.admin-body .admin-nav .admin-nav-lock-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    min-width: 16px !important;
    margin-inline-start: auto !important;
    color: #F6C457 !important;
    flex-shrink: 0 !important;
}
.admin-body .admin-nav .admin-nav-lock-icon svg {
    width: 15px !important;
    height: 15px !important;
}
.admin-body .admin-nav .is-nav-lockable.is-unlocked .admin-nav-lock-icon {
    display: none !important;
}
.admin-body .admin-nav .is-nav-lockable .admin-nav-trigger {
    gap: 8px !important;
}
.admin-body.has-nav-lock-modal {
    overflow: hidden !important;
}
.admin-body .admin-nav-lock-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1200 !important;
    display: grid !important;
    place-items: center !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.62) !important;
}
.admin-body .admin-nav-lock-modal[hidden] {
    display: none !important;
}
.admin-body .admin-nav-lock-dialog {
    width: min(360px, 92vw) !important;
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 16px !important;
    padding: 18px 16px !important;
    color: #F2F2F0 !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45) !important;
}
.admin-body .admin-nav-lock-dialog h3 {
    margin: 0 0 8px !important;
    font-size: 1.05rem !important;
}
.admin-body .admin-nav-lock-hint {
    margin: 0 0 14px !important;
    color: rgba(242,242,240,0.7) !important;
    font-size: 13px !important;
}
.admin-body #admin-nav-lock-input {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: #222 !important;
    color: #fff !important;
    padding: 0 12px !important;
    font-size: 16px !important;
    letter-spacing: 0.2em !important;
    text-align: center !important;
}
.admin-body .admin-nav-lock-error {
    margin: 10px 0 0 !important;
    color: #FF8A80 !important;
    font-size: 13px !important;
}
.admin-body .admin-nav-lock-actions {
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    margin-top: 14px !important;
}
.admin-body .admin-nav .admin-nav-trailing {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-inline-start: auto !important;
}
.admin-body .admin-nav .admin-nav-lock-icon {
    margin-inline-start: 0 !important;
}


/* DPSNS: second glance row — ops cards */
.admin-body .admin-glance-grid--ops {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}
.admin-body .admin-glance-grid--ops .admin-glance-card[role="button"] {
    cursor: pointer !important;
}
@media (max-width: 1100px) {
    .admin-body .admin-glance-grid--ops {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 820px) {
    .admin-body .admin-glance-grid--ops {
        grid-template-columns: 1fr !important;
    }
}


/* DPSNS: remove empty gap between search and table chips */
.admin-body .admin-global-search {
    margin: 0 0 8px !important;
}
.admin-body .admin-section-group.admin-dashboard,
.admin-body #dashboard.admin-section-group,
.admin-body #dashboard {
    padding: 0 !important;
    margin: 0 0 12px !important;
    min-height: 0 !important;
}
.admin-body .admin-dashboard-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 0 !important;
    min-height: 0 !important;
    align-items: start !important;
}
.admin-body .admin-dashboard-grid > .dashboard-panel,
.admin-body .admin-dashboard-grid > .admin-panel.dashboard-status-panel,
.admin-body .dashboard-status-panel {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
    padding: 0 !important;
}
.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body .dashboard-table-grid {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    align-content: start !important;
    grid-auto-rows: auto !important;
}


/* DPSNS: chip ring above ribbon + smaller chips */
.admin-body .dashboard-status-panel,
.admin-body .admin-dashboard-grid,
.admin-body .admin-section-group.admin-dashboard,
.admin-body #dashboard,
.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body .dashboard-table-grid {
    overflow: visible !important;
}

.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body .dashboard-table-grid {
    padding: 4px !important;
    gap: 10px !important;
}

/* Smaller chips */
.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-table-grid .dashboard-table-chip,
.admin-body button.dashboard-table-chip {
    min-height: 118px !important;
    padding: 10px 8px 8px !important;
    gap: 6px !important;
    border-radius: 14px !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual {
    width: 72px !important;
    height: 72px !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual img,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual img {
    width: 66px !important;
    max-height: 66px !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-ribbon,
.admin-body .dashboard-table-grid .dashboard-table-chip-ribbon {
    top: 0 !important;
    left: 0 !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 14px 0 0 0 !important;
    z-index: 3 !important;
    overflow: hidden !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-number,
.admin-body .dashboard-table-grid .dashboard-table-chip-number {
    top: 11px !important;
    left: -34px !important;
    width: 100px !important;
    padding: 4px 0 !important;
    font-size: 0.66rem !important;
    z-index: 4 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip-status {
    min-height: 22px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
}

/*
 * Permanent border ring ABOVE the ribbon (uses existing pulse span).
 * This keeps every corner continuous and visible.
 */
.admin-body .dashboard-status-panel .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip > .dashboard-table-chip-pulse {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 14px !important;
    border: 2px solid #FFFFFF !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
    z-index: 20 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-free > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-free > .dashboard-table-chip-pulse {
    border-color: #FFFFFF !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-preparing > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-preparing > .dashboard-table-chip-pulse {
    border-color: #8B5CF6 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-with_courier > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-with_courier > .dashboard-table-chip-pulse {
    border-color: #F6C457 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-served > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-served > .dashboard-table-chip-pulse {
    border-color: #22C55E !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-settled > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-settled > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-settled > .dashboard-table-chip-pulse {
    border-color: #94A3B8 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
.admin-body button.dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse {
    border-color: #E53935 !important;
    visibility: visible !important;
    opacity: 1;
    animation: dashboard-table-chip-unreviewed-blink 0.8s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    .admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
    .admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
    .admin-body button.dashboard-table-chip.is-unreviewed-order > .dashboard-table-chip-pulse,
    .admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
    .admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse,
    .admin-body button.dashboard-table-chip.is-status-pending > .dashboard-table-chip-pulse {
        animation: none !important;
        opacity: 1 !important;
    }
}


/* DPSNS: readable table ribbon labels */
.admin-body .dashboard-status-panel .dashboard-table-chip-ribbon,
.admin-body .dashboard-table-grid .dashboard-table-chip-ribbon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 14px 0 0 0 !important;
    overflow: hidden !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-number,
.admin-body .dashboard-table-grid .dashboard-table-chip-number {
    top: 13px !important;
    left: -30px !important;
    width: 112px !important;
    min-height: 22px !important;
    padding: 5px 10px !important;
    box-sizing: border-box !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    background: #2E6C61 !important;
    border-radius: 0 !important;
    transform: rotate(-45deg) !important;
    transform-origin: center center !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: geometricPrecision !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}


/* DPSNS: square table chips */
.admin-body .dashboard-status-panel .dashboard-table-grid,
.admin-body .dashboard-table-grid,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-grid,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-grid,
.admin-body[data-theme="dark"] .dashboard-table-grid,
.admin-body[data-theme="light"] .dashboard-table-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    align-content: start !important;
    gap: 10px !important;
    padding: 4px !important;
    margin: 0 !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-table-grid .dashboard-table-chip,
.admin-body button.dashboard-table-chip,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    padding: 8px 6px !important;
    gap: 4px !important;
    justify-content: center !important;
    align-items: center !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual img,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual img {
    width: 48px !important;
    max-height: 48px !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-ribbon,
.admin-body .dashboard-table-grid .dashboard-table-chip-ribbon {
    width: 58px !important;
    height: 58px !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-number,
.admin-body .dashboard-table-grid .dashboard-table-chip-number {
    top: 10px !important;
    left: -26px !important;
    width: 96px !important;
    padding: 4px 8px !important;
    font-size: 0.6rem !important;
}

@media (max-width: 900px) {
    .admin-body .dashboard-status-panel .dashboard-table-grid,
    .admin-body .dashboard-table-grid,
    .admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-grid,
    .admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-grid,
    .admin-body[data-theme="dark"] .dashboard-table-grid,
    .admin-body[data-theme="light"] .dashboard-table-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .admin-body .dashboard-status-panel .dashboard-table-grid,
    .admin-body .dashboard-table-grid,
    .admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-grid,
    .admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-grid,
    .admin-body[data-theme="dark"] .dashboard-table-grid,
    .admin-body[data-theme="light"] .dashboard-table-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* DPSNS: table status frame box */
.admin-body .dashboard-status-panel .dashboard-table-chip,
.admin-body .dashboard-table-grid .dashboard-table-chip,
.admin-body button.dashboard-table-chip,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip {
    position: relative !important;
    padding-bottom: 36px !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-meta,
.admin-body .dashboard-table-grid .dashboard-table-chip-meta,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip-meta,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip-meta {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    top: auto !important;
    inset: auto 8px 8px 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
    z-index: 8 !important;
    pointer-events: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip-status,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip-status,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-free .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-settled .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-served .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-settled .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-reserved .dashboard-table-chip-status,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 2px solid #FFFFFF !important;
    border-right: 2px solid #FFFFFF !important;
    background: #222222 !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    pointer-events: auto !important;
}


/* DPSNS: larger table icon */
.admin-body .dashboard-status-panel .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip-visual,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip-visual {
    width: 72px !important;
    height: 72px !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-visual img,
.admin-body .dashboard-table-grid .dashboard-table-chip-visual img,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip-visual img,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip-visual img {
    width: 68px !important;
    max-height: 68px !important;
    height: auto !important;
}
/* DPSNS: chip background by status */


.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-free,
.admin-body button.dashboard-table-chip.is-status-free,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-free,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-free,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-free {
    background: #1F3F3A !important;
    background-color: #1F3F3A !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending,
.admin-body button.dashboard-table-chip.is-status-pending,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-pending,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-pending {
    background: #5C2424 !important;
    background-color: #5C2424 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-preparing,
.admin-body button.dashboard-table-chip.is-status-preparing,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-preparing,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-preparing {
    background: #3A2A5C !important;
    background-color: #3A2A5C !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-with_courier,
.admin-body button.dashboard-table-chip.is-status-with_courier,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-with_courier,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-with_courier {
    background: #5C4A24 !important;
    background-color: #5C4A24 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-served,
.admin-body button.dashboard-table-chip.is-status-served,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-served,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-served,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-served {
    background: #1F4A32 !important;
    background-color: #1F4A32 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-settled,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-settled,
.admin-body button.dashboard-table-chip.is-status-settled,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-settled,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-settled,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-settled {
    background: #2F3744 !important;
    background-color: #2F3744 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-cancelled,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-cancelled,
.admin-body button.dashboard-table-chip.is-status-cancelled,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-cancelled,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-cancelled,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-cancelled {
    background: #3A3A3A !important;
    background-color: #3A3A3A !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-busy,
.admin-body button.dashboard-table-chip.is-status-busy,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-busy,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-busy {
    background: #5C4A24 !important;
    background-color: #5C4A24 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-occupied,
.admin-body button.dashboard-table-chip.is-status-occupied,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-occupied,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-occupied {
    background: #5C4A24 !important;
    background-color: #5C4A24 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-reserved,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-reserved,
.admin-body button.dashboard-table-chip.is-status-reserved,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-reserved,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-reserved,
.admin-body[data-theme="dark"] .dashboard-table-grid .dashboard-table-chip.is-status-reserved {
    background: #333840 !important;
    background-color: #333840 !important;
    background-image: none !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip-status,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-free .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-served .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-preparing .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-with_courier .dashboard-table-chip-status,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-settled .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-free .dashboard-table-chip-status,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-served .dashboard-table-chip-status {
    background: rgba(0, 0, 0, 0.40) !important;
    color: #FFFFFF !important;
    border-left: 2px solid #FFFFFF !important;
    border-right: 2px solid #FFFFFF !important;
}


/* DPSNS: flat manual-order promo button */
.admin-body .admin-sidebar-promo-btn,
.admin-body a.admin-sidebar-promo-btn,
.admin-body .admin-sidebar-promo .admin-sidebar-promo-btn,
.admin-body[data-theme="dark"] .admin-sidebar-promo-btn,
.admin-body[data-theme="light"] .admin-sidebar-promo-btn,
.admin-body .admin-sidebar-promo-btn:hover,
.admin-body .admin-sidebar-promo-btn:focus,
.admin-body .admin-sidebar-promo-btn:active {
    background: #2E6C61 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    outline: none !important;
}

.admin-body .admin-sidebar-promo-btn:hover,
.admin-body[data-theme="dark"] .admin-sidebar-promo-btn:hover {
    background: #265A51 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    transform: none !important;
}

/* DPSNS: shake table image when unreviewed */
@keyframes dashboard-table-chip-img-shake {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    12% { transform: translate3d(-2px, 0, 0) rotate(-4deg); }
    24% { transform: translate3d(2px, 0, 0) rotate(4deg); }
    36% { transform: translate3d(-2px, 1px, 0) rotate(-3deg); }
    48% { transform: translate3d(2px, 0, 0) rotate(3deg); }
    60% { transform: translate3d(-1px, 0, 0) rotate(-2deg); }
    72% { transform: translate3d(1px, 0, 0) rotate(2deg); }
    84% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual,
.admin-body button.dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual,
.admin-body button.dashboard-table-chip.is-status-pending .dashboard-table-chip-visual,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual {
    overflow: visible !important;
}

.admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
.admin-body button.dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
.admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img,
.admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img,
.admin-body button.dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
.admin-body[data-theme="dark"] .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
.admin-body[data-theme="light"] .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img {
    transform-origin: 50% 70% !important;
    animation: dashboard-table-chip-img-shake 0.75s ease-in-out infinite !important;
    will-change: transform !important;
}

@media (prefers-reduced-motion: reduce) {
    .admin-body .dashboard-status-panel .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
    .admin-body .dashboard-table-grid .dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
    .admin-body button.dashboard-table-chip.is-unreviewed-order .dashboard-table-chip-visual img,
    .admin-body .dashboard-status-panel .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img,
    .admin-body .dashboard-table-grid .dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img,
    .admin-body button.dashboard-table-chip.is-status-pending .dashboard-table-chip-visual img {
        animation: none !important;
        transform: none !important;
    }
}

/* DPSNS: settings panel flat dark colors */
.admin-body #settings-panel,
.admin-body #settings-panel .admin-panel,
.admin-body #settings-panel .full-span-panel,
.admin-body[data-theme="dark"] #settings-panel .admin-panel {
    background: #171717 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #F2F2F0 !important;
}

.admin-body #settings-panel .admin-form label,
.admin-body #settings-panel .admin-form .checkbox-row,
.admin-body[data-theme="dark"] #settings-panel .admin-form label,
.admin-body[data-theme="light"] #settings-panel .admin-form label {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}

.admin-body #settings-panel .admin-form label > span,
.admin-body[data-theme="dark"] #settings-panel .admin-form label > span,
.admin-body[data-theme="light"] #settings-panel .admin-form label > span {
    color: rgba(242, 242, 240, 0.72) !important;
    font-weight: 700 !important;
}

.admin-body #settings-panel .admin-form label > input,
.admin-body #settings-panel .admin-form label > textarea,
.admin-body #settings-panel .admin-form label > select,
.admin-body[data-theme="dark"] #settings-panel .admin-form input[type="text"],
.admin-body[data-theme="dark"] #settings-panel .admin-form input[type="url"],
.admin-body[data-theme="dark"] #settings-panel .admin-form input[type="number"],
.admin-body[data-theme="dark"] #settings-panel .admin-form input[type="password"],
.admin-body[data-theme="dark"] #settings-panel .admin-form textarea,
.admin-body[data-theme="dark"] #settings-panel .admin-form select {
    background: #0E0E0E !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
}

.admin-body #settings-panel .admin-form label > input:focus,
.admin-body #settings-panel .admin-form label > textarea:focus,
.admin-body #settings-panel .admin-form label > select:focus {
    border-color: rgba(246, 196, 87, 0.55) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(246, 196, 87, 0.18) !important;
}

.admin-body #settings-panel .admin-sound-volume-field,
.admin-body[data-theme="dark"] #settings-panel .admin-sound-volume-field,
.admin-body[data-theme="light"] #settings-panel .admin-sound-volume-field {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}

.admin-body #settings-panel .admin-sound-volume-field > span,
.admin-body[data-theme="dark"] #settings-panel .admin-sound-volume-field > span,
.admin-body[data-theme="light"] #settings-panel .admin-sound-volume-field > span {
    color: rgba(242, 242, 240, 0.72) !important;
    font-weight: 700 !important;
}

.admin-body #settings-panel .admin-sound-volume-controls strong,
.admin-body #settings-panel .admin-sound-volume-field .helper-note,
.admin-body #settings-panel .admin-sound-volume-status {
    color: rgba(242, 242, 240, 0.62) !important;
}

.admin-body #settings-panel .admin-sound-volume-status[data-state="ok"],
.admin-body #settings-panel .admin-sound-volume-status:not([data-state="error"]) {
    color: #8FCBB8 !important;
}

.admin-body #settings-panel .admin-sound-volume-status[data-state="error"] {
    color: #FF8A80 !important;
}

.admin-body #settings-panel .admin-sound-volume-controls input[type="range"] {
    accent-color: #F6C457 !important;
}

.admin-body #settings-panel .admin-sound-volume-controls .btn-light,
.admin-body #settings-panel #notification-sound-test-btn {
    background: #0E0E0E !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #F2F2F0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.admin-body #settings-panel .admin-sound-volume-controls .btn-light:hover,
.admin-body #settings-panel #notification-sound-test-btn:hover {
    background: #2A2A2A !important;
    color: #FFFFFF !important;
}

.admin-body #settings-panel .btn-primary,
.admin-body #settings-panel button.btn-primary[type="submit"] {
    background: #2E6C61 !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    filter: none !important;
}

.admin-body #settings-panel .btn-primary:hover,
.admin-body #settings-panel button.btn-primary[type="submit"]:hover {
    background: #265A51 !important;
    color: #FFFFFF !important;
}

/* DPSNS: SMS settings section title */
.admin-body #settings-panel .admin-settings-section-title,
.admin-body #settings-panel .admin-form .admin-settings-section-title.full-span {
    grid-column: 1 / -1 !important;
    margin: 8px 0 0 !important;
    padding: 10px 4px 2px !important;
    color: #F6C457 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.admin-body #settings-panel .admin-settings-section-note,
.admin-body #settings-panel .admin-form .admin-settings-section-note.full-span {
    grid-column: 1 / -1 !important;
    margin: 0 0 4px !important;
    padding: 0 4px !important;
    color: rgba(242, 242, 240, 0.55) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    background: transparent !important;
    border: 0 !important;
}

/* DPSNS: orders status board flat redesign */
.admin-body .orders-status-board-grid {
    gap: 14px !important;
}

.admin-body .orders-status-board,
.admin-body .admin-panel.orders-status-board,
.admin-body[data-theme="dark"] .orders-status-board,
.admin-body[data-theme="dark"] .orders-status-board.status-pending,
.admin-body[data-theme="dark"] .orders-status-board.status-preparing,
.admin-body[data-theme="dark"] .orders-status-board.status-with-courier,
.admin-body[data-theme="dark"] .orders-status-board.status-served,
.admin-body[data-theme="dark"] .orders-status-board.status-settled,
.admin-body[data-theme="dark"] .orders-status-board.status-cancelled {
    background: #171717 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #F2F2F0 !important;
    padding: 14px !important;
}

.admin-body .orders-status-board.status-pending { border-top: 3px solid #F6C457 !important; }
.admin-body .orders-status-board.status-preparing { border-top: 3px solid #A78BFA !important; }
.admin-body .orders-status-board.status-with-courier { border-top: 3px solid #60A5FA !important; }
.admin-body .orders-status-board.status-served { border-top: 3px solid #34D399 !important; }
.admin-body .orders-status-board.status-settled { border-top: 3px solid #2E6C61 !important; }
.admin-body .orders-status-board.status-cancelled { border-top: 3px solid #E57373 !important; }

.admin-body .orders-status-board-head,
.admin-body .orders-status-board-summary {
    gap: 12px !important;
    margin-bottom: 4px !important;
}

.admin-body .orders-status-board-title-icon {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 8px !important;
    background: #222222 !important;
    color: #F6C457 !important;
}

.admin-body .orders-status-board.status-pending .orders-status-board-title-icon { color: #F6C457 !important; }
.admin-body .orders-status-board.status-preparing .orders-status-board-title-icon { color: #A78BFA !important; }
.admin-body .orders-status-board.status-with-courier .orders-status-board-title-icon { color: #60A5FA !important; }
.admin-body .orders-status-board.status-served .orders-status-board-title-icon { color: #34D399 !important; }
.admin-body .orders-status-board.status-settled .orders-status-board-title-icon { color: #5EEAD4 !important; }
.admin-body .orders-status-board.status-cancelled .orders-status-board-title-icon { color: #FF8A80 !important; }

.admin-body .orders-status-board-title-icon svg {
    width: 15px !important;
    height: 15px !important;
}

.admin-body .orders-status-board-title h3,
.admin-body .orders-status-board-title-copy h3 {
    color: #F2F2F0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.admin-body .orders-status-board-title-copy small {
    color: rgba(242, 242, 240, 0.52) !important;
    font-size: 11px !important;
}

.admin-body .orders-status-board-head strong,
.admin-body .orders-status-board-summary-meta strong {
    min-width: 34px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #F6C457 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.admin-body .orders-status-board-empty {
    margin: 8px 0 2px !important;
    padding: 14px 12px !important;
    border-radius: 12px !important;
    background: #0E0E0E !important;
    border: 1px dashed rgba(255, 255, 255, 0.10) !important;
    color: rgba(242, 242, 240, 0.48) !important;
    font-size: 12px !important;
    text-align: center !important;
}

.admin-body .orders-status-board .orders-status-board-item,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-item,
.admin-body[data-theme="dark"] .orders-status-board-item {
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    padding: 12px 12px !important;
    gap: 10px 12px !important;
}

.admin-body .orders-status-board .orders-status-board-item:hover,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-item:hover {
    background: #262626 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
    transform: none !important;
}

.admin-body .orders-status-board-item-copy strong {
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.admin-body .orders-status-board-item-copy span,
.admin-body[data-theme="dark"] .orders-status-board-item-copy span {
    background: #0E0E0E !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: rgba(242, 242, 240, 0.78) !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
}

.admin-body .orders-status-board-item small,
.admin-body[data-theme="dark"] .orders-status-board-item small {
    color: rgba(242, 242, 240, 0.48) !important;
    font-size: 12px !important;
}

.admin-body .orders-status-board .orders-status-board-form {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 190px !important;
}

.admin-body .orders-status-board .orders-status-board-form select,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select {
    background-color: #0E0E0E !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #F2F2F0 !important;
    min-height: 36px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.admin-body .orders-status-board .orders-status-board-form select:hover,
.admin-body .orders-status-board .orders-status-board-form select:focus {
    border-color: rgba(246, 196, 87, 0.55) !important;
    box-shadow: 0 0 0 2px rgba(246, 196, 87, 0.14) !important;
    outline: none !important;
}

.admin-body .orders-status-board-actions {
    gap: 6px !important;
}

.admin-body .orders-status-board-actions .admin-table-action,
.admin-body .orders-status-board-actions .admin-table-action-form button,
.admin-body[data-theme="dark"] .orders-status-board-actions .admin-table-action,
.admin-body[data-theme="dark"] .orders-status-board-actions .admin-table-action-form button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: #0E0E0E !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(242, 242, 240, 0.78) !important;
    box-shadow: none !important;
    transform: none !important;
}

.admin-body .orders-status-board-actions .admin-table-action:hover,
.admin-body .orders-status-board-actions .admin-table-action-form button:hover {
    background: #2A2A2A !important;
    color: #F6C457 !important;
    border-color: rgba(246, 196, 87, 0.35) !important;
    transform: none !important;
    box-shadow: none !important;
}

.admin-body .orders-status-board-actions .admin-table-action.is-delete,
.admin-body .orders-status-board-actions .admin-table-action-form .is-delete,
.admin-body[data-theme="dark"] .orders-status-board-actions .admin-table-action.is-delete {
    color: #FF8A80 !important;
    border-color: rgba(229, 57, 53, 0.35) !important;
    background: rgba(229, 57, 53, 0.10) !important;
}

.admin-body .orders-status-board-actions .admin-table-action.is-delete:hover,
.admin-body .orders-status-board-actions .admin-table-action-form .is-delete:hover {
    background: rgba(229, 57, 53, 0.22) !important;
    color: #FFFFFF !important;
}

.admin-body .orders-status-board .admin-items-pagination {
    gap: 6px !important;
    margin-top: 10px !important;
    flex-wrap: wrap !important;
}

.admin-body .orders-status-board .admin-items-pagination a,
.admin-body .orders-status-board .admin-items-pagination-ellipsis,
.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination a,
.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination-ellipsis {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #F2F2F0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.admin-body .orders-status-board .admin-items-pagination a:hover,
.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination a:hover {
    background: #2A2A2A !important;
    border-color: rgba(246, 196, 87, 0.35) !important;
    color: #F6C457 !important;
}

.admin-body .orders-status-board .admin-items-pagination a.is-active,
.admin-body[data-theme="dark"] .orders-status-board .admin-items-pagination a.is-active {
    background: #F6C457 !important;
    border-color: #F6C457 !important;
    color: #141414 !important;
}

.admin-body .orders-status-board-notes {
    grid-column: 1 / -1 !important;
    background: #0E0E0E !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: rgba(242, 242, 240, 0.72) !important;
}

.admin-body .status-meter-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .admin-body .orders-status-board-grid {
        grid-template-columns: 1fr !important;
    }
    .admin-body .orders-status-board .orders-status-board-form {
        max-width: none !important;
    }
}

/* DPSNS: status select arrow padding */
.admin-body .orders-status-board .orders-status-board-form select,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select,
.admin-body .orders-status-board-form select,
.admin-body .orders-status-board .orders-status-board-form select[data-status-select],
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select[data-status-select] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 14px !important;
    padding-left: 36px !important;
    background-color: #0E0E0E !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%23F2F2F0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    background-size: 12px 8px !important;
    background-blend-mode: normal !important;
}

/* DPSNS: status select option colors */
.admin-body .orders-status-board .orders-status-board-form select,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select,
.admin-body .orders-status-board-form select,
.admin-body .orders-status-board .orders-status-board-form select[data-status-select] {
    color: #F2F2F0 !important;
    color-scheme: dark !important;
    background-color: #0E0E0E !important;
}

.admin-body .orders-status-board .orders-status-board-form select option,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select option,
.admin-body .orders-status-board-form select option,
.admin-body .orders-status-board .orders-status-board-form select[data-status-select] option {
    background-color: #171717 !important;
    background: #171717 !important;
    color: #F2F2F0 !important;
}

.admin-body .orders-status-board .orders-status-board-form select option:checked,
.admin-body .orders-status-board .orders-status-board-form select option:hover,
.admin-body .orders-status-board .orders-status-board-form select option:focus,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select option:checked,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-form select option:hover {
    background-color: #2E6C61 !important;
    background: linear-gradient(#2E6C61, #2E6C61) !important;
    color: #FFFFFF !important;
}

/* Also tone global order status selects in admin (edit forms etc.) */
.admin-body select[data-status-select],
.admin-body .order-status-form select[name="status"],
.admin-body[data-theme="dark"] select[data-status-select] {
    color: #F2F2F0 !important;
    color-scheme: dark !important;
    background-color: #0E0E0E !important;
}

.admin-body select[data-status-select] option,
.admin-body .order-status-form select[name="status"] option,
.admin-body[data-theme="dark"] select[data-status-select] option {
    background-color: #171717 !important;
    background: #171717 !important;
    color: #F2F2F0 !important;
}

.admin-body select[data-status-select] option:checked,
.admin-body .order-status-form select[name="status"] option:checked {
    background-color: #2E6C61 !important;
    background: linear-gradient(#2E6C61, #2E6C61) !important;
    color: #FFFFFF !important;
}

/* DPSNS: order card summary + time box */
.admin-body .orders-status-board .orders-status-board-item-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    grid-column: 1 / -1 !important;
}

.admin-body .orders-status-board-item-copy {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.admin-body .orders-status-board-item-summary,
.admin-body .orders-status-board-item-copy > strong.orders-status-board-item-summary {
    display: block !important;
    color: #F2F2F0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    white-space: normal !important;
}

.admin-body .orders-status-board-item-time,
.admin-body .orders-status-board .orders-status-board-item-time,
.admin-body[data-theme="dark"] .orders-status-board .orders-status-board-item-time {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
    background: #0E0E0E !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(242, 242, 240, 0.78) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

/* DPSNS: flat admin login auth */
.admin-body.admin-auth-page,
body.admin-body.admin-auth-page[data-theme="dark"] {
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
}

.admin-body.admin-auth-page .admin-auth-screen--square {
    width: min(380px, 100%) !important;
}

.admin-body.admin-auth-page .admin-auth-card,
.admin-body.admin-auth-page .admin-auth-card--square,
.admin-body.admin-auth-page[data-theme="dark"] .admin-auth-card,
.admin-body.admin-auth-page[data-theme="dark"] .admin-auth-card--square {
    background: #171717 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
    color: #F2F2F0 !important;
}

.admin-body.admin-auth-page .admin-auth-topbrand,
.admin-body.admin-auth-page[data-theme="dark"] .admin-auth-topbrand {
    background: #2E6C61 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    padding: 20px 18px 18px !important;
    color: #FFFFFF !important;
}

.admin-body.admin-auth-page .admin-auth-topbrand strong {
    color: #FFFFFF !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

.admin-body.admin-auth-page .admin-auth-topbrand span {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px !important;
}

.admin-body.admin-auth-page .admin-auth-main,
.admin-body.admin-auth-page .admin-auth-card--square .admin-auth-main,
body.admin-auth-page .admin-auth-main,
body[data-theme="dark"].admin-auth-page .admin-auth-main {
    background: #171717 !important;
    background-image: none !important;
    color: #F2F2F0 !important;
    padding: 18px !important;
    gap: 14px !important;
}

.admin-body.admin-auth-page .admin-auth-field,
.admin-body.admin-auth-page .admin-auth-card--square .admin-auth-field,
body.admin-auth-page .admin-auth-field,
body[data-theme="dark"].admin-auth-page .admin-auth-field {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.admin-body.admin-auth-page .admin-auth-field span,
body.admin-auth-page .admin-auth-field span,
body[data-theme="dark"].admin-auth-page .admin-auth-field span {
    color: rgba(242, 242, 240, 0.72) !important;
    margin-bottom: 8px !important;
}

.admin-body.admin-auth-page .admin-auth-field input,
.admin-body.admin-auth-page .admin-auth-card--square .admin-auth-field input,
.admin-body.admin-auth-page input[type="tel"],
.admin-body.admin-auth-page input[type="text"],
body.admin-auth-page .admin-auth-field input,
body[data-theme="dark"].admin-auth-page .admin-auth-field input,
body[data-theme="dark"].admin-auth-page input[type="tel"],
body[data-theme="dark"].admin-auth-page input[type="text"] {
    background: #0E0E0E !important;
    background-color: #0E0E0E !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
}

.admin-body.admin-auth-page .admin-auth-field input::placeholder,
.admin-body.admin-auth-page input[type="tel"]::placeholder {
    color: rgba(242, 242, 240, 0.40) !important;
}

.admin-body.admin-auth-page .admin-auth-field input:focus,
.admin-body.admin-auth-page input[type="tel"]:focus,
.admin-body.admin-auth-page input[type="text"]:focus {
    border-color: rgba(246, 196, 87, 0.55) !important;
    box-shadow: 0 0 0 2px rgba(246, 196, 87, 0.16) !important;
    outline: none !important;
}

.admin-body.admin-auth-page .admin-auth-submit.btn-primary,
.admin-body.admin-auth-page .btn.btn-primary.admin-auth-submit,
.admin-body.admin-auth-page button.admin-auth-submit.btn-primary {
    background: #2E6C61 !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    min-height: 48px !important;
    font-weight: 800 !important;
}

.admin-body.admin-auth-page .admin-auth-submit.btn-primary:hover,
.admin-body.admin-auth-page .btn.btn-primary.admin-auth-submit:hover {
    background: #265A51 !important;
    color: #FFFFFF !important;
}

.admin-body.admin-auth-page .admin-auth-submit.btn-light,
.admin-body.admin-auth-page .btn.btn-light.admin-auth-submit {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
}

.admin-body.admin-auth-page .admin-auth-foot,
.admin-body.admin-auth-page .admin-auth-screen--square .admin-auth-foot {
    color: rgba(242, 242, 240, 0.55) !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 12px !important;
}

.admin-body.admin-auth-page .admin-auth-foot a {
    color: #F6C457 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.admin-body.admin-auth-page .admin-auth-foot a:hover {
    color: #FFFFFF !important;
}

.admin-body.admin-auth-page .alert {
    background: #222222 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #F2F2F0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.admin-body.admin-auth-page .alert-error,
.admin-body.admin-auth-page .alert.alert-error {
    border-color: rgba(229, 57, 53, 0.45) !important;
    background: rgba(229, 57, 53, 0.12) !important;
    color: #FF8A80 !important;
}

.admin-body.admin-auth-page .alert-success,
.admin-body.admin-auth-page .alert.alert-success {
    border-color: rgba(46, 108, 97, 0.45) !important;
    background: rgba(46, 108, 97, 0.16) !important;
    color: #8FCBB8 !important;
}

/* DPSNS: flat dashboard table modal */
.admin-body .dashboard-table-modal-backdrop,
.admin-body[data-theme="dark"] .dashboard-table-modal-backdrop {
    background: rgba(0, 0, 0, 0.62) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.admin-body .dashboard-table-modal-dialog,
.admin-body[data-theme="dark"] .dashboard-table-modal-dialog,
.admin-body[data-theme="light"] .dashboard-table-modal-dialog {
    background: #171717 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #F2F2F0 !important;
    gap: 14px !important;
    padding: 18px !important;
}

.admin-body .dashboard-table-modal-head strong,
.admin-body[data-theme="dark"] .dashboard-table-modal-head strong {
    color: #FFFFFF !important;
    font-size: 18px !important;
}

.admin-body .dashboard-table-modal-head small,
.admin-body .dashboard-table-modal-items-head span,
.admin-body[data-theme="dark"] .dashboard-table-modal-head small,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-head span {
    color: rgba(242, 242, 240, 0.55) !important;
}

.admin-body .dashboard-table-modal-head .btn,
.admin-body .dashboard-table-modal-head .btn-light,
.admin-body .dashboard-table-modal-head button {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
}

.admin-body .dashboard-table-modal-meta-item,
.admin-body .dashboard-table-modal-items,
.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item,
.admin-body[data-theme="dark"] .dashboard-table-modal-items,
.admin-body[data-theme="light"] .dashboard-table-modal-meta-item,
.admin-body[data-theme="light"] .dashboard-table-modal-items {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}

.admin-body .dashboard-table-modal-meta-item span,
.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item span {
    color: rgba(242, 242, 240, 0.55) !important;
    font-size: 12px !important;
}

.admin-body .dashboard-table-modal-meta-item strong,
.admin-body .dashboard-table-modal-items-head strong,
.admin-body[data-theme="dark"] .dashboard-table-modal-meta-item strong,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-head strong {
    color: #F2F2F0 !important;
}

.admin-body .dashboard-table-modal-items-list li,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list li {
    background: #0E0E0E !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
}

.admin-body .dashboard-table-modal-status-editor,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-editor,
.admin-body[data-theme="light"] .dashboard-table-modal-status-editor {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 14px !important;
}

.admin-body .dashboard-table-modal-status-editor .dashboard-table-modal-items-head strong,
.admin-body .dashboard-table-modal-status-editor .dashboard-table-modal-items-head span {
    color: #F2F2F0 !important;
}

.admin-body .dashboard-table-modal-status-editor .dashboard-table-modal-items-head span {
    color: rgba(242, 242, 240, 0.52) !important;
}

.admin-body .dashboard-table-modal-status-form select,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select,
.admin-body[data-theme="light"] .dashboard-table-modal-status-form select,
.admin-body .dashboard-table-modal-status-form select[data-status-select],
.admin-body .dashboard-table-modal-status-form select[data-preparation-select] {
    width: 100% !important;
    min-height: 44px !important;
    background-color: #0E0E0E !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%23F2F2F0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    background-size: 12px 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    color-scheme: dark !important;
    padding: 0 14px 0 36px !important;
}

/* DPSNS: flat modal status selects — no brown #2C1810 / #C4A484 */
.admin-body .dashboard-table-modal-status-editor,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-editor,
.admin-body .dashboard-table-modal-status-form,
.admin-body .status-form.dashboard-table-modal-status-form,
.admin-body .order-status-form.dashboard-table-modal-status-form,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form,
.admin-body[data-theme="dark"] .status-form.dashboard-table-modal-status-form {
    background: #171717 !important;
    background-image: none !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #F2F2F0 !important;
}

.admin-body .dashboard-table-modal-status-form select,
.admin-body .dashboard-table-modal-status-form select[data-status-select],
.admin-body .dashboard-table-modal-status-form select[data-preparation-select],
.admin-body .dashboard-table-modal-status-form select[data-courier-select],
.admin-body .dashboard-table-modal-status-form select[data-courier-delivery-select],
.admin-body .order-status-form.dashboard-table-modal-status-form select,
.admin-body .status-form.dashboard-table-modal-status-form select,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select[data-status-select],
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select[data-preparation-select],
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select[data-courier-select],
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select[data-courier-delivery-select],
.admin-body[data-theme="dark"] #dashboard-table-modal-status-select,
.admin-body[data-theme="dark"] #dashboard-table-modal-preparation-select,
.admin-body[data-theme="dark"] #dashboard-table-modal-courier-select,
.admin-body[data-theme="dark"] #dashboard-table-modal-courier-delivery-select,
.admin-body[data-theme="light"] .dashboard-table-modal-status-form select,
#dashboard-table-modal-status-select,
#dashboard-table-modal-preparation-select,
#dashboard-table-modal-courier-select,
#dashboard-table-modal-courier-delivery-select {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    border: 1px solid #2A2A2A !important;
    border-color: #2A2A2A !important;
    outline: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    background: #0E0E0E !important;
    background-color: #0E0E0E !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%23F2F2F0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    background-size: 12px 8px !important;
    color: #F2F2F0 !important;
    -webkit-text-fill-color: #F2F2F0 !important;
    accent-color: #F2F2F0 !important;
    caret-color: #F2F2F0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    color-scheme: dark !important;
    padding: 0 14px 0 36px !important;
    filter: none !important;
}

.admin-body .dashboard-table-modal-status-form select:hover,
.admin-body .dashboard-table-modal-status-form select:focus,
.admin-body .dashboard-table-modal-status-form select:focus-visible,
.admin-body .dashboard-table-modal-status-form select:active,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select:hover,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select:focus,
.admin-body[data-theme="dark"] #dashboard-table-modal-status-select:hover,
.admin-body[data-theme="dark"] #dashboard-table-modal-status-select:focus,
.admin-body[data-theme="dark"] #dashboard-table-modal-preparation-select:hover,
.admin-body[data-theme="dark"] #dashboard-table-modal-preparation-select:focus,
#dashboard-table-modal-status-select:hover,
#dashboard-table-modal-status-select:focus,
#dashboard-table-modal-preparation-select:hover,
#dashboard-table-modal-preparation-select:focus {
    border: 1px solid #3A3A3A !important;
    border-color: #3A3A3A !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: #0E0E0E !important;
    color: #F2F2F0 !important;
}

.admin-body .dashboard-table-modal-status-form select option,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-form select option,
#dashboard-table-modal-status-select option,
#dashboard-table-modal-preparation-select option {
    background: #171717 !important;
    color: #F2F2F0 !important;
}

/* DPSNS: modal order items as name|qty table */
.admin-body .dashboard-table-modal-items,
.admin-body[data-theme="dark"] .dashboard-table-modal-items,
.admin-body[data-theme="light"] .dashboard-table-modal-items {
    overflow: hidden !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.admin-body .dashboard-table-modal-items-list,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list,
.admin-body[data-theme="light"] .dashboard-table-modal-items-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: table !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.admin-body .dashboard-table-modal-items-list tbody,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list tbody {
    display: table-row-group !important;
    width: 100% !important;
}

.admin-body .dashboard-table-modal-items-list tr,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list tr {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-body .dashboard-table-modal-items-list tr:last-child,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list tr:last-child {
    border-bottom: 0 !important;
}

.admin-body .dashboard-table-modal-items-list td,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list td {
    padding: 10px 4px !important;
    border: 0 !important;
    color: #F2F2F0 !important;
    background: transparent !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.admin-body .dashboard-table-modal-items-list .dashboard-table-modal-item-name,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list .dashboard-table-modal-item-name {
    text-align: right !important;
    width: auto !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.admin-body .dashboard-table-modal-items-list .dashboard-table-modal-item-qty,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list .dashboard-table-modal-item-qty {
    text-align: left !important;
    width: 1% !important;
    max-width: none !important;
    max-width: 3.25rem !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
    color: rgba(242, 242, 240, 0.72) !important;
}

.admin-body .dashboard-table-modal-items-list tr.is-empty td,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list tr.is-empty td {
    text-align: center !important;
    color: rgba(242, 242, 240, 0.55) !important;
}

.admin-body .dashboard-table-modal-items-list li,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list li {
    display: none !important;
}

/* DPSNS: keep masked phone LTR inside RTL customer label */
.admin-body #dashboard-table-modal-customer,
.admin-body[data-theme="dark"] #dashboard-table-modal-customer {
    unicode-bidi: isolate !important;
}

/* DPSNS: modal head actions next to close */
.admin-body .dashboard-table-modal-head,
.admin-body[data-theme="dark"] .dashboard-table-modal-head {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
}

.admin-body .dashboard-table-modal-head > div:first-child,
.admin-body[data-theme="dark"] .dashboard-table-modal-head > div:first-child {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.admin-body .dashboard-table-modal-head-actions,
.admin-body[data-theme="dark"] .dashboard-table-modal-head-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.admin-body .dashboard-table-modal-head-actions .btn,
.admin-body .dashboard-table-modal-head-actions a.btn,
.admin-body .dashboard-table-modal-head-actions .btn-light,
.admin-body .dashboard-table-modal-head-actions button,
.admin-body .dashboard-table-modal-head .dashboard-table-modal-close {
    background: #222222 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    min-height: 0 !important;
    height: auto !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    flex: 0 0 auto !important;
}

.admin-body .dashboard-table-modal-head-actions .btn-primary,
.admin-body .dashboard-table-modal-head-actions a.btn-primary {
    background: #2E6C61 !important;
    background-image: none !important;
    border: 0 !important;
    color: #FFFFFF !important;
}

.admin-body .dashboard-table-modal-head-actions .btn-primary:hover,
.admin-body .dashboard-table-modal-head-actions a.btn-primary:hover {
    background: #265A51 !important;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .admin-body .dashboard-table-modal-head,
    .admin-body[data-theme="dark"] .dashboard-table-modal-head {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .admin-body .dashboard-table-modal-head-actions,
    .admin-body[data-theme="dark"] .dashboard-table-modal-head-actions {
        width: auto !important;
        max-width: 100% !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
    }

    .admin-body .dashboard-table-modal-head-actions .btn,
    .admin-body .dashboard-table-modal-head-actions a.btn,
    .admin-body .dashboard-table-modal-head-actions button {
        flex: 0 0 auto !important;
        padding: 5px 8px !important;
        font-size: 11px !important;
        text-align: center !important;
    }
}

/* DPSNS: status editor in meta grid instead of customer card */
.admin-body .dashboard-table-modal-meta,
.admin-body[data-theme="dark"] .dashboard-table-modal-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.admin-body .dashboard-table-modal-status-meta,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-meta {
    grid-column: 1 / -1 !important;
    order: 10 !important;
    display: grid !important;
    gap: 10px !important;
    align-content: start !important;
}

.admin-body .dashboard-table-modal-status-meta[hidden],
.admin-body[data-theme="dark"] .dashboard-table-modal-status-meta[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-status-meta > span,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-meta > span {
    color: rgba(242, 242, 240, 0.55) !important;
    font-size: 12px !important;
}

.admin-body .dashboard-table-modal-status-meta .dashboard-table-modal-status-form,
.admin-body[data-theme="dark"] .dashboard-table-modal-status-meta .dashboard-table-modal-status-form,
.admin-body .dashboard-table-modal-status-meta .status-form {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Keep inactive prep/courier fields hidden (do NOT force display:grid) */
.admin-body .dashboard-table-modal-status-meta .order-preparation-field,
.admin-body .dashboard-table-modal-status-meta .order-courier-fields {
    display: none !important;
    gap: 8px !important;
    margin: 0 !important;
}

.admin-body .dashboard-table-modal-status-meta .order-preparation-field.is-active {
    display: block !important;
}

.admin-body .dashboard-table-modal-status-meta .order-courier-fields.is-active {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 768px) {
    .admin-body .dashboard-table-modal-meta,
    .admin-body[data-theme="dark"] .dashboard-table-modal-meta {
        grid-template-columns: 1fr !important;
    }

    .admin-body .dashboard-table-modal-status-meta .order-courier-fields.is-active {
        grid-template-columns: 1fr !important;
    }
}

/* DPSNS: qty label full text "تعداد N عدد" — no clipping */
.admin-body .dashboard-table-modal-items-list,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list {
    table-layout: auto !important;
}

.admin-body .dashboard-table-modal-items-list .dashboard-table-modal-item-qty,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list .dashboard-table-modal-item-qty {
    width: 1% !important;
    min-width: 9.5rem !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: left !important;
    padding-left: 4px !important;
    padding-right: 10px !important;
}

.admin-body .dashboard-table-modal-items-list .dashboard-table-modal-item-name,
.admin-body[data-theme="dark"] .dashboard-table-modal-items-list .dashboard-table-modal-item-name {
    width: auto !important;
    overflow: visible !important;
}

/* DPSNS: takeout strip under search, dashboard only, same width as search */
.admin-body .dashboard-takeout-strip {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    display: grid !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}
.admin-body .admin-global-search + .dashboard-takeout-strip {
    width: 100% !important;
}

.admin-body .dashboard-waiter-strip {
    margin-top: 0 !important;
}
.admin-body .dashboard-takeout-strip + .dashboard-waiter-strip {
    width: 100% !important;
}

.admin-body .dashboard-waiter-strip-item {
    cursor: default !important;
}

.admin-body .dashboard-waiter-strip-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.admin-body .dashboard-waiter-strip-action {
    appearance: none !important;
    border: 0 !important;
    min-height: 36px !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.admin-body .dashboard-waiter-strip-action.is-accept {
    background: #2E7D4E !important;
    color: #fff !important;
}

.admin-body .dashboard-waiter-strip-action.is-accept:hover {
    background: #256B42 !important;
}

.admin-body .dashboard-waiter-strip-action.is-reject {
    background: #C62828 !important;
    color: #fff !important;
}

.admin-body .dashboard-waiter-strip-action.is-reject:hover {
    background: #A91F1F !important;
}

.admin-body .dashboard-waiter-strip-action:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* waiter strip: no blinking pending badge */
.admin-body .dashboard-waiter-strip .dashboard-takeout-strip-status {
    display: none !important;
}


.admin-body .dashboard-takeout-strip[hidden] {
    display: none !important;
}

.admin-body .dashboard-takeout-strip-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #171717 !important;
    color: #F2F2F0 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.admin-body .dashboard-takeout-strip-item:hover {
    border-color: rgba(246, 196, 87, 0.45) !important;
    background: #1B1B1B !important;
}

.admin-body .dashboard-takeout-strip-icon {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    color: #F6C457 !important;
}

.admin-body .dashboard-takeout-strip-icon svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.admin-body .dashboard-takeout-strip-copy {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #F2F2F0 !important;
}

.admin-body .dashboard-takeout-strip-status {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #F6C457 !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(246, 196, 87, 0.35) !important;
    background: rgba(246, 196, 87, 0.08) !important;
}

.admin-body .dashboard-takeout-strip-item.is-status-pending .dashboard-takeout-strip-status {
    color: #fff !important;
    border-color: #C62828 !important;
    background: #C62828 !important;
    animation: dashboard-takeout-pending-blink 1.1s ease-in-out infinite !important;
}

.admin-body .dashboard-takeout-strip-item.is-status-preparing .dashboard-takeout-strip-status {
    color: #8FCBB8 !important;
    border-color: rgba(143, 203, 184, 0.4) !important;
    background: rgba(143, 203, 184, 0.1) !important;
}

.admin-body .dashboard-takeout-strip-item.is-status-with_courier .dashboard-takeout-strip-status {
    color: #9EC5FE !important;
    border-color: rgba(158, 197, 254, 0.4) !important;
    background: rgba(158, 197, 254, 0.1) !important;
}

@keyframes dashboard-takeout-pending-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    .admin-body .dashboard-takeout-strip-item.is-status-pending .dashboard-takeout-strip-status {
        animation: none !important;
    }
}

/* DPSNS: flat users page (#0E0E0E / #171717 / #222, gold #F6C457, teal #2E6C61) */
.admin-body #users.admin-section-group {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.admin-body #users > .admin-panel,
.admin-body #users .admin-panel.full-span-panel {
    background: #171717 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 16px !important;
}
.admin-body #users .admin-users-search-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 0 0 14px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.admin-body #users .admin-users-search-field {
    flex: 1 1 240px !important;
    display: block !important;
    gap: 0 !important;
}
.admin-body #users .admin-users-search-field > span {
    display: none !important;
}
.admin-body #users .admin-users-search-field input[type="search"],
.admin-body #users .admin-users-search-field input[type="search"]:focus {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.admin-body #users .admin-users-search-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.admin-body #users .admin-users-search-actions .btn,
.admin-body #users .admin-users-search-actions .btn-primary,
.admin-body #users .admin-users-search-actions .btn-light {
    min-height: 44px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transform: none !important;
}
.admin-body #users .admin-users-search-actions .btn-primary {
    background: #2E6C61 !important;
    color: #DFE0DF !important;
    border: 0 !important;
}
.admin-body #users .admin-users-search-actions .btn-light {
    background: #222222 !important;
    color: #F2F2F0 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}
.admin-body #users .table-wrap,
.admin-body #users .table-wrap.orders-table-wrap {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    overflow: auto !important;
}
.admin-body #users .orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
.admin-body #users .orders-table thead th,
.admin-body #users .orders-table th {
    background: #222222 !important;
    color: #F6C457 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
}
.admin-body #users .orders-table tbody tr,
.admin-body #users .orders-table tbody tr td {
    background: #171717 !important;
    color: #F2F2F0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
    padding: 12px 14px !important;
}
.admin-body #users .orders-table tbody tr:nth-child(even),
.admin-body #users .orders-table tbody tr:nth-child(even) td {
    background: #141414 !important;
}
.admin-body #users .orders-table tbody tr:hover,
.admin-body #users .orders-table tbody tr:hover td {
    background: #1B1B1B !important;
    color: #F2F2F0 !important;
}
.admin-body #users .admin-users-pagination-bar {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}
.admin-body #users .admin-users-pagination-meta strong {
    color: #F2F2F0 !important;
}
.admin-body #users .admin-users-pagination-meta span {
    color: rgba(242, 242, 240, 0.62) !important;
}
.admin-body #users .admin-users-pagination {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.admin-body #users .admin-users-pagination-pages {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.admin-body #users .admin-users-pagination-pages a,
.admin-body #users .admin-users-pagination-pages .admin-items-pagination-ellipsis,
.admin-body #users .admin-users-pagination-nav {
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    background: #222222 !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
    transform: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
.admin-body #users .admin-users-pagination-pages a.is-active {
    background: #F6C457 !important;
    color: #141414 !important;
    border-color: #F6C457 !important;
}
.admin-body #users .admin-users-pagination-nav:hover,
.admin-body #users .admin-users-pagination-pages a:hover {
    background: #2A2A2A !important;
    transform: none !important;
}
.admin-body #users .admin-users-pagination-nav.is-disabled {
    display: none !important;
}

/* DPSNS: users table actions + modal (flat) */
.admin-body #users .admin-users-table th,
.admin-body #users .admin-users-table td {
    vertical-align: top !important;
}
.admin-body #users .admin-users-phone {
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
}
.admin-body #users .admin-users-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    max-width: none !important;
}
.admin-body #users .admin-users-action-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background: #222222 !important;
    color: #F6C457 !important;
    box-shadow: none !important;
    display: inline-grid !important;
    place-items: center !important;
    cursor: pointer !important;
}
.admin-body #users .admin-users-action-btn .admin-inline-icon,
.admin-body #users .admin-users-action-btn .admin-inline-icon svg {
    width: 18px !important;
    height: 18px !important;
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
}
.admin-body #users .admin-users-action-btn:hover {
    background: #2A2A2A !important;
    border-color: rgba(246,196,87,0.45) !important;
    color: #F6C457 !important;
}
.admin-body #users .admin-users-action-btn.is-danger {
    border-color: rgba(198,40,40,0.45) !important;
    color: #FF8A80 !important;
}
.admin-body #users .admin-users-action-btn.is-danger:hover {
    background: rgba(198,40,40,0.16) !important;
}
.admin-body #users .admin-users-actions-empty {
    color: rgba(242,242,240,0.5) !important;
    font-size: 12px !important;
}
.admin-body .admin-users-modal[hidden] { display: none !important; }
.admin-body .admin-users-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1200 !important;
    display: grid !important;
    place-items: center !important;
    padding: 16px !important;
}
.admin-body .admin-users-modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.62) !important;
}
.admin-body .admin-users-modal-dialog {
    position: relative !important;
    width: min(520px, 100%) !important;
    max-height: min(80vh, 720px) !important;
    overflow: auto !important;
    background: #171717 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 16px !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-users-modal-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}
.admin-body .admin-users-modal-head strong {
    color: #fff !important;
    font-size: 1rem !important;
}
.admin-body .admin-users-modal-form {
    display: grid !important;
    gap: 12px !important;
}
.admin-body .admin-users-modal-field {
    display: grid !important;
    gap: 6px !important;
}
.admin-body .admin-users-modal-field span {
    font-size: 12px !important;
    color: rgba(242,242,240,0.62) !important;
}
.admin-body .admin-users-modal-field input,
.admin-body .admin-users-modal-field textarea {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
    box-shadow: none !important;
    font: inherit !important;
}
.admin-body .admin-users-modal-field textarea { min-height: 110px !important; resize: vertical !important; }
.admin-body .admin-users-modal-meta {
    margin: 0 !important;
    color: rgba(242,242,240,0.72) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}
.admin-body .admin-users-modal-list {
    margin: 0 !important;
    padding: 0 18px 0 0 !important;
    display: grid !important;
    gap: 8px !important;
    color: #F2F2F0 !important;
}
.admin-body .admin-users-modal-list li {
    line-height: 1.55 !important;
}
.admin-body .admin-users-modal-form .btn.is-danger,
.admin-body .admin-users-modal-form button.is-danger {
    background: #C62828 !important;
    color: #fff !important;
    border: 0 !important;
}
@media (max-width: 900px) {
    .admin-body #users .admin-users-actions { max-width: none !important; }
}

.admin-body #users #admin-users-results.is-loading {
    opacity: 0.55 !important;
    pointer-events: none !important;
    transition: opacity 0.15s ease !important;
}
.admin-body #users .admin-users-search-submit[hidden],
.admin-body #users .admin-users-search-clear[hidden] {
    display: none !important;
}

/* Wallet pay on checkout / tracking / admin invoice */
.cart-wallet-pay {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(46, 108, 97, 0.22);
    background: linear-gradient(180deg, rgba(46, 108, 97, 0.1) 0%, rgba(46, 108, 97, 0.04) 100%);
}

.cart-wallet-pay-head,
.tracking-wallet-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.cart-wallet-pay-head strong,
.tracking-wallet-form-head strong {
    font-size: 0.95rem;
}

.cart-wallet-pay-head span,
.tracking-wallet-form-head span {
    font-size: 0.85rem;
    color: #2e6c61;
    font-weight: 700;
}

.cart-wallet-pay-field,
.tracking-wallet-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-wallet-pay-field input,
.tracking-wallet-field input {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
}

.cart-wallet-pay-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #5a6b63;
}

.tracking-wallet-row,
.tracking-due-row {
    margin-top: 8px;
    border-radius: 16px;
}

.tracking-wallet-row {
    background: linear-gradient(180deg, rgba(46, 108, 97, 0.16) 0%, rgba(46, 108, 97, 0.08) 100%);
    border-color: rgba(46, 108, 97, 0.2);
    color: #1f4d45;
}

.tracking-due-row {
    background: linear-gradient(180deg, rgba(246, 196, 87, 0.22) 0%, rgba(246, 196, 87, 0.1) 100%);
    border-color: rgba(198, 149, 40, 0.28);
    color: #6a4d10;
}

.tracking-wallet-form {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(46, 108, 97, 0.18);
    background: rgba(255, 255, 255, 0.72);
    display: grid;
    gap: 10px;
}

.invoice-paper-wallet,
.invoice-paper-due {
    font-size: 13px;
}

.invoice-paper-wallet strong {
    color: #2e6c61;
}

.invoice-paper-due strong {
    color: #8a6412;
}

.admin-order-edit-wallet,
.admin-order-edit-due {
    margin-top: 8px;
}

.admin-order-edit-wallet strong {
    color: #7dcea0;
}

.admin-order-edit-due strong {
    color: #f6c457;
}

.orders-status-board-wallet {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #171717;
    border: 1px solid #222;
    color: #cfcfcf;
    font-size: 12px;
}

.orders-status-board-wallet span {
    white-space: nowrap;
}


/* ===== CafeYar accounting flat dark (DPSNS) ===== */
.admin-body #accounting-panel,
.admin-body #accounting-panel .admin-panel,
.admin-body #accounting-panel .full-span-panel,
.admin-body[data-theme="dark"] #accounting-panel .admin-panel {
    background: #171717 !important;
    background-image: none !important;
    border: 1px solid #222 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #F2F2F0 !important;
}

.admin-body #accounting-panel .admin-accounting-ranges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}

.admin-body #accounting-panel .admin-accounting-ranges .btn,
.admin-body #accounting-panel .admin-accounting-ranges .btn-light,
.admin-body #accounting-panel .admin-accounting-ranges .btn-primary {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background-image: none !important;
    font-weight: 700 !important;
}

.admin-body #accounting-panel .admin-accounting-ranges .btn-light {
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
    border: 1px solid #2A2A2A !important;
}

.admin-body #accounting-panel .admin-accounting-ranges .btn-light:hover {
    border-color: rgba(246, 196, 87, 0.35) !important;
    color: #F6C457 !important;
    background: #141414 !important;
}

.admin-body #accounting-panel .admin-accounting-ranges .btn-primary {
    background: #2E6C61 !important;
    color: #FFFFFF !important;
    border: 1px solid #2E6C61 !important;
}

.admin-body #accounting-panel .admin-accounting-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}

.admin-body #accounting-panel .admin-accounting-kpi,
.admin-body #accounting-panel .admin-accounting-kpi.is-sales,
.admin-body #accounting-panel .admin-accounting-kpi.is-cogs,
.admin-body #accounting-panel .admin-accounting-kpi.is-profit,
.admin-body #accounting-panel .admin-accounting-kpi.is-loss,
.admin-body #accounting-panel .admin-accounting-kpi.is-loss-soft,
.admin-body #accounting-panel .admin-accounting-kpi.is-best-day,
.admin-body #accounting-panel .admin-accounting-kpi.is-best-month,
.admin-body[data-theme="dark"] #accounting-panel .admin-accounting-kpi {
    display: grid !important;
    gap: 6px !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    background: #0E0E0E !important;
    background-image: none !important;
    border: 1px solid #222 !important;
    box-shadow: none !important;
}

.admin-body #accounting-panel .admin-accounting-kpi.is-profit {
    border-color: rgba(46, 108, 97, 0.45) !important;
}

.admin-body #accounting-panel .admin-accounting-kpi.is-loss,
.admin-body #accounting-panel .admin-accounting-kpi.is-loss-soft {
    border-color: rgba(198, 40, 40, 0.4) !important;
}

.admin-body #accounting-panel .admin-accounting-kpi span,
.admin-body #accounting-panel .admin-accounting-kpi small {
    color: rgba(242, 242, 240, 0.58) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.admin-body #accounting-panel .admin-accounting-kpi strong,
.admin-body[data-theme="dark"] #accounting-panel .admin-accounting-kpi strong {
    color: #F6C457 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.admin-body #accounting-panel .admin-accounting-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.admin-body #accounting-panel .admin-accounting-columns .admin-panel {
    padding: 14px !important;
    overflow: hidden !important;
}

.admin-body #accounting-panel .admin-accounting-columns .admin-panel h3 {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #F2F2F0 !important;
}

.admin-body #accounting-panel .table-wrap {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #F6C457 #171717 !important;
}

.admin-body #accounting-panel .table-wrap::-webkit-scrollbar {
    height: 8px !important;
    width: 8px !important;
}
.admin-body #accounting-panel .table-wrap::-webkit-scrollbar-track {
    background: #141414 !important;
    border-radius: 999px !important;
}
.admin-body #accounting-panel .table-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #F6C457 0%, #2E6C61 100%) !important;
    border-radius: 999px !important;
    border: 2px solid #141414 !important;
}
.admin-body #accounting-panel .table-wrap::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.admin-body #accounting-panel .table-wrap::-webkit-scrollbar-corner {
    background: transparent !important;
}

.admin-body #accounting-panel .orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
    color: #F2F2F0 !important;
}

.admin-body #accounting-panel .orders-table thead {
    background: #151515 !important;
}

.admin-body #accounting-panel .orders-table th {
    color: rgba(246, 196, 87, 0.85) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #222 !important;
    padding: 10px 12px !important;
    white-space: nowrap !important;
    background: #151515 !important;
}

.admin-body #accounting-panel .orders-table td {
    color: #F2F2F0 !important;
    border-bottom: 1px solid #1c1c1c !important;
    padding: 10px 12px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.admin-body #accounting-panel .orders-table tbody tr {
    background: #0E0E0E !important;
}
.admin-body #accounting-panel .orders-table tbody tr:nth-child(even) {
    background: #121212 !important;
}
.admin-body #accounting-panel .orders-table tbody tr:hover {
    background: #181818 !important;
}

.admin-body #accounting-panel .helper-note {
    color: rgba(242, 242, 240, 0.7) !important;
    background: #0E0E0E !important;
    border: 1px solid #222 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    box-shadow: none !important;
}

@media (max-width: 960px) {
    .admin-body #accounting-panel .admin-accounting-kpi-grid,
    .admin-body #accounting-panel .admin-accounting-columns {
        grid-template-columns: 1fr !important;
    }
}

.admin-body #accounting-panel .admin-accounting-columns.is-single {
    grid-template-columns: 1fr !important;
}


/* Accounting list filters */
.admin-body #accounting-panel .admin-accounting-panel-head {
    display: grid !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}
.admin-body #accounting-panel .admin-accounting-panel-head h3 {
    margin: 0 !important;
}
.admin-body #accounting-panel .admin-accounting-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: end !important;
}
.admin-body #accounting-panel .admin-accounting-filter-bar label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    min-width: 140px !important;
}
.admin-body #accounting-panel .admin-accounting-filter-bar label.is-grow {
    flex: 1 1 180px !important;
    min-width: min(100%, 200px) !important;
}
.admin-body #accounting-panel .admin-accounting-filter-bar label span {
    color: rgba(242,242,240,0.62) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
.admin-body #accounting-panel .admin-accounting-filter-bar select,
.admin-body #accounting-panel .admin-accounting-filter-bar input[type="search"] {
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    border: 1px solid #2A2A2A !important;
    background: #0E0E0E !important;
    color: #F2F2F0 !important;
    font: inherit !important;
    box-shadow: none !important;
}
.admin-body #accounting-panel .admin-accounting-filter-bar .btn {
    min-height: 40px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

