:root {
    --bg: #07101a;
    --bg-soft: rgba(10, 19, 33, 0.72);
    --bg-panel: rgba(10, 18, 31, 0.72);
    --bg-panel-strong: rgba(8, 14, 24, 0.84);
    --border: rgba(130, 216, 255, 0.2);
    --border-strong: rgba(126, 229, 255, 0.42);
    --text: #f3f8ff;
    --muted: #a8bdd2;
    --accent: #7bf3ff;
    --accent-strong: #86a8ff;
    --accent-warm: #ffd476;
    --danger: #ff7a7a;
    --success: #7fe8b0;
    --warning: #ffd97d;
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
    --glow: 0 0 0 1px rgba(123, 243, 255, 0.12), 0 0 24px rgba(123, 243, 255, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(123, 243, 255, 0.12), transparent 25%),
        radial-gradient(circle at top right, rgba(134, 168, 255, 0.12), transparent 25%),
        linear-gradient(180deg, #050b14 0%, #0a1220 100%);
}

body.brand-shell {
    position: relative;
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    border: none;
    border-radius: 16px;
    padding: 0.9rem 1.25rem;
    color: #041019;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 0 18px rgba(123, 243, 255, 0.25);
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

button:hover:not(:disabled),
.link-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(123, 243, 255, 0.3);
}

button:disabled {
    opacity: 0.55;
    cursor: default;
    box-shadow: none;
}

button.secondary {
    color: var(--text);
    background: linear-gradient(135deg, rgba(45, 62, 91, 0.92) 0%, rgba(24, 35, 52, 0.92) 100%);
    box-shadow: none;
}

button.danger {
    color: #fff;
    background: linear-gradient(135deg, #cf5d6d 0%, #ff8b8b 100%);
    box-shadow: 0 0 16px rgba(255, 122, 122, 0.18);
}

a {
    color: inherit;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(128, 177, 214, 0.25);
    border-radius: 16px;
    padding: 1rem 1rem;
    color: var(--text);
    background: rgba(5, 12, 22, 0.72);
    backdrop-filter: blur(10px);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(123, 243, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(123, 243, 255, 0.12);
}

textarea {
    resize: vertical;
}

.scene-backdrop {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.scene-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) brightness(0.48);
}

.scene-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(6, 17, 29, 0.2), rgba(3, 8, 15, 0.82) 70%),
        linear-gradient(180deg, rgba(3, 8, 15, 0.35) 0%, rgba(3, 8, 15, 0.78) 100%);
}

.staff-overlay {
    background:
        radial-gradient(circle at center, rgba(6, 17, 29, 0.15), rgba(3, 8, 15, 0.86) 72%),
        linear-gradient(180deg, rgba(3, 8, 15, 0.42) 0%, rgba(3, 8, 15, 0.84) 100%);
}

.scene-stars,
.scene-stars::before,
.scene-stars::after {
    position: absolute;
    inset: 0;
    content: "";
    background-repeat: repeat;
    opacity: 0.42;
}

.scene-stars {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(123, 243, 255, 0.7) 0 1px, transparent 1.5px);
    background-size: 180px 180px, 260px 260px;
    animation: driftStars 22s linear infinite;
}

.scene-stars::before {
    background-image: radial-gradient(circle, rgba(134, 168, 255, 0.45) 0 1px, transparent 1.4px);
    background-size: 220px 220px;
    animation: driftStarsReverse 32s linear infinite;
}

.scene-stars::after {
    background-image: radial-gradient(circle, rgba(255, 212, 118, 0.4) 0 1px, transparent 1.5px);
    background-size: 320px 320px;
    animation: pulseStars 9s ease-in-out infinite;
}

.content-shell {
    position: relative;
    z-index: 1;
}

.page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.page-menu {
    width: min(1180px, calc(100% - 2rem));
}

.brand-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 30px rgba(123, 243, 255, 0.18);
}

.brand-title {
    margin: 0.15rem 0 0;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(123, 243, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 18, 31, 0.55);
    color: var(--accent);
    text-transform: lowercase;
    letter-spacing: 0.08em;
}

.hidden-access-trigger {
    cursor: pointer;
    user-select: none;
}

.hidden-access-trigger:focus-visible {
    outline: 2px solid rgba(123, 243, 255, 0.45);
    outline-offset: 3px;
}

.hero {
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
}

.hero-card {
    border: 1px solid rgba(123, 243, 255, 0.12);
    border-radius: 28px;
    background: rgba(8, 14, 24, 0.44);
    box-shadow: var(--glow);
    backdrop-filter: blur(12px);
}

.hero-space {
    position: relative;
}

.hero-space::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: -1rem;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 243, 255, 0.18) 0%, rgba(123, 243, 255, 0) 70%);
    pointer-events: none;
}

.hero h1,
.hero h2 {
    margin: 0.2rem 0 0.55rem;
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
    gap: 1.2rem;
    align-items: start;
}

.hero-copy {
    display: grid;
    gap: 0.65rem;
}

.hero-rules-card {
    position: relative;
    justify-self: end;
    align-self: start;
    width: min(100%, 300px);
    padding: 0.8rem;
    margin-top: -0.45rem;
    margin-right: -0.15rem;
    border-radius: 24px;
    border: 1px solid rgba(123, 243, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 19, 32, 0.72) 0%, rgba(8, 14, 24, 0.86) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 26px rgba(123, 243, 255, 0.12);
}

.hero-rules-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

.eyebrow,
.caption {
    margin: 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-warm);
    font-size: 0.8rem;
}

.subtle {
    margin: 0;
    max-width: 68ch;
    color: var(--muted);
    line-height: 1.55;
}

.panel {
    margin-top: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(11, 19, 32, 0.76) 0%, rgba(8, 14, 24, 0.84) 100%);
    box-shadow: var(--shadow), var(--glow);
    backdrop-filter: blur(12px);
}

.glass-panel {
    border-color: var(--border-strong);
}

.service-panel {
    background:
        radial-gradient(circle at top right, rgba(123, 243, 255, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(11, 19, 32, 0.8) 0%, rgba(8, 14, 24, 0.88) 100%);
}

.panel h2,
.panel h3,
.panel h4 {
    margin-top: 0;
}

.panel-header,
.section-title,
.toolbar,
.status-row,
.table-card-header,
.order-card-header,
.panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.stack {
    display: grid;
    gap: 0.9rem;
}

.hidden {
    display: none !important;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.status-pill.muted {
    background: rgba(37, 49, 69, 0.9);
    color: var(--muted);
}

.status-pill.new {
    background: rgba(88, 166, 255, 0.16);
    color: #a7ccff;
}

.status-pill.in_progress {
    background: rgba(255, 217, 125, 0.18);
    color: #ffe7a6;
}

.status-pill.ready {
    background: rgba(127, 232, 176, 0.16);
    color: #b8ffd8;
}

.status-pill.completed {
    background: rgba(175, 192, 214, 0.15);
    color: #dbe6f5;
}

.status-pill.hookah-running {
    background: rgba(123, 243, 255, 0.16);
    color: #c5f7ff;
    border: 1px solid rgba(123, 243, 255, 0.2);
}

.status-pill.hookah-warning {
    background: rgba(255, 217, 125, 0.2);
    color: #ffe9b4;
    border: 1px solid rgba(255, 217, 125, 0.24);
}

.status-pill.hookah-expired {
    background: rgba(255, 122, 122, 0.18);
    color: #ffd6d6;
    border: 1px solid rgba(255, 122, 122, 0.24);
}

.empty-state {
    padding: 1.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(7, 12, 18, 0.28);
}

.order-card,
.table-card,
.catalog-item,
.cart-item,
.archive-session {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(10, 17, 28, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(123, 243, 255, 0.06);
}

.muted-text {
    color: var(--muted);
}

.staff-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.menu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.95fr);
    gap: 1rem;
    margin-top: 1rem;
}

.catalog-panel,
.orders-section,
.cart-panel {
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(123, 243, 255, 0.1);
    background: rgba(8, 14, 24, 0.42);
}

.catalog-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.catalog-section {
    display: grid;
    gap: 0.9rem;
}

.catalog-item-header,
.catalog-item-footer,
.cart-item-main,
.cart-item-actions,
.cart-total-row,
.order-meta,
.order-line,
.order-line-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.catalog-item-header,
.cart-item-main {
    align-items: flex-start;
}

.catalog-item-header .price-tag {
    display: none;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #fff0c0;
    background: rgba(255, 212, 118, 0.12);
    border: 1px solid rgba(255, 212, 118, 0.22);
    white-space: nowrap;
}

.catalog-item-options {
    display: grid;
    gap: 0.55rem;
    margin: 0.85rem 0;
}

.catalog-item-footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(123, 243, 255, 0.08);
}

.catalog-price-tag {
    padding-inline: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.catalog-item-footer button {
    min-width: 132px;
}

.cosmo-slider {
    display: grid;
    gap: 0.55rem;
}

.cosmo-slider input[type="range"] {
    width: 100%;
    appearance: none;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(123, 243, 255, 0.35), rgba(134, 168, 255, 0.58));
    outline: none;
}

.cosmo-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #ffffff 100%);
    box-shadow: 0 0 18px rgba(123, 243, 255, 0.38);
    border: 2px solid rgba(6, 16, 28, 0.9);
}

.cosmo-slider input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #ffffff 100%);
    box-shadow: 0 0 18px rgba(123, 243, 255, 0.38);
    border: 2px solid rgba(6, 16, 28, 0.9);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.slider-current {
    color: var(--accent);
    font-size: 0.92rem;
}

.cart-panel {
    position: sticky;
    top: 1rem;
    height: fit-content;
}

.cart-footer {
    margin-top: 1rem;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.qty-controls button {
    min-width: 2.4rem;
    padding: 0.55rem 0.75rem;
}

.order-items {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.order-line {
    align-items: flex-start;
}

.order-line-main {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.line-text {
    overflow-wrap: anywhere;
}

.line-price {
    white-space: nowrap;
}

.line-note {
    font-size: 0.88rem;
    color: var(--muted);
}

.order-line.cancelled .line-text,
.order-line.cancelled .line-price {
    color: rgba(168, 189, 210, 0.7);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.cancel-reason {
    color: #ffd9a1;
}

.order-cancel-note {
    margin: 0.8rem 0 0;
    color: #ffd9a1;
}

.order-comment {
    margin: 0.8rem 0 0;
    color: #fff0c0;
}

.order-meta {
    margin-top: 0.8rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.order-actions,
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.order-actions button {
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
}

.compact-button {
    min-height: 2.15rem;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.order-actions button.current {
    outline: 2px solid rgba(123, 243, 255, 0.42);
}

.call-banner {
    margin-top: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    color: #fff3cc;
    background: rgba(255, 212, 118, 0.12);
    border: 1px solid rgba(255, 212, 118, 0.18);
}

.hookah-timer-banner {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.8rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(123, 243, 255, 0.14);
    background: rgba(10, 17, 28, 0.58);
}

.hookah-timer-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hookah-timer-value {
    font-size: 1rem;
    line-height: 1.35;
}

.hookah-timer-banner.hookah-idle {
    border-color: rgba(128, 177, 214, 0.16);
    background: rgba(20, 30, 44, 0.54);
}

.hookah-timer-banner.hookah-running {
    border-color: rgba(123, 243, 255, 0.2);
    background: rgba(11, 27, 38, 0.7);
    box-shadow: 0 0 0 1px rgba(123, 243, 255, 0.05), 0 0 22px rgba(123, 243, 255, 0.08);
}

.hookah-timer-banner.hookah-warning {
    border-color: rgba(255, 217, 125, 0.24);
    background: rgba(43, 33, 16, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 217, 125, 0.05), 0 0 22px rgba(255, 217, 125, 0.08);
}

.hookah-timer-banner.hookah-expired {
    border-color: rgba(255, 122, 122, 0.24);
    background: rgba(44, 18, 24, 0.74);
    box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.05), 0 0 22px rgba(255, 122, 122, 0.08);
}

.hookah-timer-inline {
    margin-top: 0.7rem;
    margin-bottom: 0.55rem;
    padding: 0.7rem 0.85rem;
}

.hookah-timer-inline .hookah-timer-value {
    font-size: 0.95rem;
}

.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.05rem;
    border-radius: 16px;
    text-decoration: none;
    color: #041019;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 0 18px rgba(123, 243, 255, 0.24);
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.secondary-link {
    color: var(--text);
    background: linear-gradient(135deg, rgba(45, 62, 91, 0.92) 0%, rgba(24, 35, 52, 0.92) 100%);
    box-shadow: none;
}

.setup-link {
    max-width: 320px;
    text-align: center;
}

.archive-panel {
    margin-top: 1rem;
}

.archive-session {
    padding: 0;
    overflow: hidden;
}

.archive-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
}

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

.archive-summary-meta,
.table-card-side {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.archive-body {
    padding: 0 1rem 1rem;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 7, 13, 0.72);
    backdrop-filter: blur(10px);
}

.modal-card {
    width: min(100%, 420px);
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(123, 243, 255, 0.18);
    background: linear-gradient(180deg, rgba(11, 19, 32, 0.92) 0%, rgba(8, 14, 24, 0.96) 100%);
    box-shadow: var(--shadow), var(--glow);
}

.modal-error {
    margin: 0;
    color: #ffd4d4;
}

.page-menu {
    --menu-shell: rgba(5, 10, 20, 0.74);
    --menu-shell-strong: rgba(8, 14, 28, 0.9);
    --menu-card: rgba(12, 20, 35, 0.82);
    --menu-card-soft: rgba(10, 18, 31, 0.68);
    --menu-edge: rgba(122, 213, 255, 0.14);
    --menu-edge-strong: rgba(122, 213, 255, 0.28);
    --menu-violet: rgba(144, 122, 255, 0.16);
    --menu-cyan: rgba(110, 240, 255, 0.16);
    --menu-glow: 0 18px 45px rgba(2, 7, 13, 0.4), 0 0 0 1px rgba(122, 213, 255, 0.08);
}

.page-menu .brand-topbar {
    margin-bottom: 1.6rem;
}

.page-menu .brand-lockup {
    gap: 1.15rem;
}

.page-menu .brand-title {
    letter-spacing: -0.02em;
}

.page-menu .brand-chip {
    background:
        linear-gradient(135deg, rgba(10, 21, 36, 0.88) 0%, rgba(16, 24, 42, 0.7) 100%);
    border-color: rgba(125, 213, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 18px rgba(98, 219, 255, 0.08);
}

.page-menu .menu-hero-card {
    padding: 1.8rem 1.9rem;
    border-color: rgba(126, 229, 255, 0.18);
    background:
        radial-gradient(circle at top left, rgba(110, 240, 255, 0.08), transparent 34%),
        radial-gradient(circle at bottom left, rgba(144, 122, 255, 0.1), transparent 28%),
        linear-gradient(145deg, rgba(8, 15, 28, 0.88) 0%, rgba(9, 18, 30, 0.62) 52%, rgba(7, 13, 25, 0.82) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(122, 213, 255, 0.08);
}

.page-menu .hero-copy {
    align-content: start;
    gap: 0.95rem;
    max-width: 40rem;
}

.page-menu .hero-copy h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.page-menu .hero-copy .subtle {
    max-width: 54ch;
    font-size: 1rem;
    color: rgba(223, 235, 248, 0.8);
}

.hero-kicker {
    margin: 0;
    color: rgba(198, 212, 255, 0.82);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-signal {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(122, 213, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(231, 241, 252, 0.78);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.page-menu .hero-rules-card {
    display: grid;
    gap: 0.75rem;
    overflow: hidden;
}

.hero-rules-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-rules-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(144, 122, 255, 0.2);
    background: rgba(144, 122, 255, 0.1);
    color: rgba(222, 215, 255, 0.9);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.hero-rules-note {
    margin: 0;
    color: rgba(223, 235, 248, 0.68);
    font-size: 0.92rem;
    line-height: 1.45;
}

.page-menu #table-app.panel {
    padding: 1.25rem;
    border-color: rgba(126, 229, 255, 0.16);
    background:
        radial-gradient(circle at top right, rgba(110, 240, 255, 0.05), transparent 26%),
        linear-gradient(180deg, rgba(8, 15, 28, 0.9) 0%, rgba(7, 14, 25, 0.84) 100%);
}

.menu-command-deck {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.15fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.table-spotlight-card,
.menu-status-card {
    border-radius: 24px;
    border: 1px solid var(--menu-edge);
    background:
        linear-gradient(180deg, rgba(11, 20, 34, 0.86) 0%, rgba(9, 15, 26, 0.82) 100%);
    box-shadow: var(--menu-glow);
}

.table-spotlight-card {
    display: grid;
    gap: 0.6rem;
    padding: 1.2rem 1.25rem;
    min-height: 100%;
}

.page-menu #table-title {
    margin: 0.15rem 0 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.menu-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.menu-status-card {
    display: grid;
    gap: 0.65rem;
    align-content: start;
    padding: 1rem 1.05rem;
}

.metric-label {
    color: rgba(196, 211, 228, 0.64);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-menu .menu-status-card .status-pill {
    width: fit-content;
    min-height: 2.3rem;
    font-weight: 600;
}

.call-action-row {
    margin-bottom: 1.25rem;
    align-items: center;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid var(--menu-edge);
    background: rgba(255, 255, 255, 0.03);
}

.call-action-note {
    margin: 0;
    color: rgba(223, 235, 248, 0.72);
    max-width: 36rem;
    line-height: 1.45;
}

.page-menu #call-button {
    min-width: 220px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.page-menu #call-button.call-button-live {
    box-shadow: 0 0 22px rgba(255, 217, 125, 0.25);
    background: linear-gradient(135deg, rgba(255, 217, 125, 0.9) 0%, rgba(255, 190, 108, 0.92) 100%);
}

.page-menu .menu-layout {
    gap: 1.15rem;
    align-items: start;
}

.page-menu .catalog-panel,
.page-menu .orders-section,
.page-menu .cart-panel {
    padding: 1.15rem;
    border-color: rgba(122, 213, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 20, 34, 0.8) 0%, rgba(8, 15, 27, 0.88) 100%);
    box-shadow: var(--menu-glow);
}

.page-menu .cart-panel {
    border-color: rgba(126, 229, 255, 0.22);
    background:
        radial-gradient(circle at top, rgba(110, 240, 255, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(11, 20, 34, 0.92) 0%, rgba(8, 15, 27, 0.95) 100%);
}

.panel-section-head {
    margin-bottom: 0.9rem;
}

.panel-section-head h3 {
    margin-bottom: 0;
}

.panel-section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(144, 122, 255, 0.18);
    background: rgba(144, 122, 255, 0.08);
    color: rgba(224, 216, 255, 0.88);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-menu .catalog-panel-body {
    display: grid;
    grid-template-columns: minmax(136px, 164px) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.page-menu .catalog-panel-content {
    min-width: 0;
}

.page-menu .catalog-quick-nav-shell {
    position: sticky;
    top: 1rem;
    z-index: 4;
    padding: 0.2rem 0;
    border-radius: 20px;
    border: 1px solid rgba(122, 213, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(10, 18, 31, 0.92) 0%, rgba(9, 16, 28, 0.82) 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(122, 213, 255, 0.05);
    backdrop-filter: blur(12px);
}

.page-menu .catalog-quick-nav {
    display: grid;
    gap: 0.45rem;
    padding: 0.1rem;
}

.page-menu .catalog-quick-nav-divider {
    height: 1px;
    margin: 0.35rem 0 0.2rem;
    background: linear-gradient(90deg, rgba(122, 213, 255, 0), rgba(122, 213, 255, 0.22), rgba(144, 122, 255, 0.24), rgba(122, 213, 255, 0));
}

.page-menu .catalog-quick-nav-pill {
    display: grid;
    justify-items: start;
    align-content: center;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.58rem 0.78rem;
    border-radius: 15px;
    color: rgba(223, 235, 248, 0.8);
    background:
        linear-gradient(135deg, rgba(25, 37, 57, 0.92) 0%, rgba(15, 24, 39, 0.9) 100%);
    border: 1px solid rgba(122, 213, 255, 0.08);
    box-shadow: none;
    white-space: normal;
    text-align: left;
    line-height: 1.2;
    font-size: 0.88rem;
}

.page-menu .catalog-quick-nav-label {
    display: block;
}

.page-menu .catalog-quick-nav-note {
    display: block;
    margin-top: 0.18rem;
    color: rgba(196, 211, 228, 0.58);
    font-size: 0.72rem;
    line-height: 1.2;
}

.page-menu .catalog-quick-nav-pill-orders {
    margin-top: 0.05rem;
    min-height: 3.05rem;
    border-color: rgba(144, 122, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(27, 31, 54, 0.94) 0%, rgba(15, 23, 40, 0.92) 100%);
}

.page-menu .catalog-quick-nav-pill:hover:not(:disabled) {
    border-color: rgba(122, 213, 255, 0.18);
    color: #eef8ff;
    box-shadow: 0 0 18px rgba(110, 240, 255, 0.08);
    transform: translateX(2px);
}

.page-menu .catalog-quick-nav-pill.active {
    color: #041019;
    border-color: rgba(122, 213, 255, 0.22);
    background: linear-gradient(135deg, rgba(122, 242, 255, 0.95) 0%, rgba(142, 126, 255, 0.88) 100%);
    box-shadow: 0 0 24px rgba(110, 240, 255, 0.16);
}

.page-menu .catalog-quick-nav-pill.active .catalog-quick-nav-note {
    color: rgba(4, 16, 25, 0.72);
}

.page-menu .catalog-quick-nav-pill-orders.orders-status-new:not(.active) {
    border-color: rgba(110, 240, 255, 0.24);
    box-shadow: 0 0 20px rgba(110, 240, 255, 0.08);
}

.page-menu .catalog-quick-nav-pill-orders.orders-status-in_progress:not(.active) {
    border-color: rgba(96, 168, 255, 0.28);
    box-shadow: 0 0 22px rgba(96, 168, 255, 0.1);
}

.page-menu .catalog-quick-nav-pill-orders.orders-status-ready:not(.active) {
    border-color: rgba(109, 232, 177, 0.34);
    box-shadow: 0 0 24px rgba(109, 232, 177, 0.12);
}

.page-menu .catalog-section {
    gap: 0.8rem;
    scroll-margin-top: 1.35rem;
}

.catalog-section-title {
    padding-bottom: 0.15rem;
}

.catalog-section-title h4 {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0;
    font-size: 1.08rem;
}

.catalog-section-title h4::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(110, 240, 255, 0.9) 0%, rgba(144, 122, 255, 0.95) 100%);
    box-shadow: 0 0 18px rgba(110, 240, 255, 0.35);
}

.page-menu .catalog-section[data-section-code="hookah"] .catalog-section-title h4::before {
    background: linear-gradient(135deg, rgba(255, 212, 118, 0.95) 0%, rgba(110, 240, 255, 0.95) 100%);
    box-shadow: 0 0 18px rgba(255, 212, 118, 0.25);
}

.page-menu .catalog-item {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1rem 1.05rem;
    border-color: rgba(122, 213, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(14, 23, 38, 0.92) 0%, rgba(9, 17, 30, 0.88) 100%);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-menu .catalog-item:hover {
    transform: translateY(-2px);
    border-color: rgba(122, 213, 255, 0.18);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(122, 213, 255, 0.1);
}

.page-menu .featured-catalog-item {
    border-color: rgba(255, 212, 118, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 212, 118, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(18, 28, 43, 0.96) 0%, rgba(10, 17, 29, 0.92) 100%);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 212, 118, 0.08);
}

.page-menu .featured-catalog-item .catalog-item-header strong {
    font-size: 1.1rem;
}

.page-menu .catalog-item-header .price-tag {
    display: none;
}

.page-menu .catalog-item-options {
    gap: 0.7rem;
    padding: 0.9rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(122, 213, 255, 0.08);
}

.page-menu .catalog-item-footer {
    margin-top: 0.25rem;
}

.page-menu .catalog-price-tag {
    color: #fef4d0;
    background: rgba(255, 212, 118, 0.14);
}

.page-menu .cosmo-slider {
    gap: 0.75rem;
}

.page-menu .cosmo-slider input[type="range"] {
    height: 10px;
    background:
        linear-gradient(90deg, rgba(119, 237, 255, 0.68) 0%, rgba(146, 129, 255, 0.72) 55%, rgba(255, 212, 118, 0.75) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 16px rgba(110, 240, 255, 0.12);
}

.page-menu .cosmo-slider input[type="range"]:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 4px rgba(110, 240, 255, 0.12), 0 0 16px rgba(110, 240, 255, 0.18);
}

.page-menu .cosmo-slider input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 4px rgba(110, 240, 255, 0.14), 0 0 24px rgba(110, 240, 255, 0.28);
}

.page-menu .cosmo-slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 4px rgba(110, 240, 255, 0.14), 0 0 24px rgba(110, 240, 255, 0.28);
}

.page-menu .slider-labels span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.6rem;
    padding: 0.32rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.page-menu .slider-current {
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(110, 240, 255, 0.08);
    border: 1px solid rgba(110, 240, 255, 0.12);
    color: #d9fbff;
}

.page-menu .cart-panel {
    top: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-self: start;
    min-height: 0;
    max-height: calc(100vh - 2.3rem);
    overflow: hidden;
}

.page-menu #cart-empty {
    padding: 1.35rem 1.15rem;
    border-style: solid;
    background:
        radial-gradient(circle at top left, rgba(110, 240, 255, 0.06), transparent 35%),
        rgba(8, 14, 24, 0.55);
}

.page-menu #cart-list {
    flex: 1 1 auto;
    gap: 0.8rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 213, 255, 0.35) rgba(255, 255, 255, 0.04);
}

.page-menu #cart-list::-webkit-scrollbar {
    width: 8px;
}

.page-menu #cart-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.page-menu #cart-list::-webkit-scrollbar-thumb {
    background: rgba(122, 213, 255, 0.32);
    border-radius: 999px;
}

.page-menu .cart-item {
    border-color: rgba(122, 213, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(15, 25, 41, 0.88) 0%, rgba(10, 18, 31, 0.85) 100%);
}

.page-menu #order-comment {
    min-height: 7.2rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: 20px;
    border-color: rgba(122, 213, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(8, 14, 24, 0.92) 0%, rgba(10, 17, 29, 0.84) 100%);
}

.page-menu .cart-total-row {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(122, 213, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(110, 240, 255, 0.08) 0%, rgba(144, 122, 255, 0.1) 100%);
}

.page-menu .cart-footer {
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(122, 213, 255, 0.1);
    background: linear-gradient(180deg, rgba(8, 15, 27, 0) 0%, rgba(8, 15, 27, 0.28) 18%);
}

.page-menu .cart-total-row span {
    color: rgba(223, 235, 248, 0.72);
}

.page-menu #cart-total {
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.cart-cta-row {
    align-items: stretch;
}

.page-menu #submit-order-button {
    flex: 1 1 auto;
    min-height: 3.35rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 0 24px rgba(110, 240, 255, 0.2);
}

.page-menu #clear-cart-button {
    min-height: 3.35rem;
    border: 1px solid rgba(122, 213, 255, 0.1);
    background: linear-gradient(135deg, rgba(27, 38, 58, 0.92) 0%, rgba(16, 24, 40, 0.92) 100%);
}

.page-menu .orders-section .order-card {
    border-color: rgba(122, 213, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(14, 23, 39, 0.92) 0%, rgba(10, 17, 30, 0.88) 100%);
}

.page-menu #orders-empty {
    padding: 1.4rem 1.2rem;
    background:
        radial-gradient(circle at top left, rgba(144, 122, 255, 0.08), transparent 38%),
        rgba(8, 14, 24, 0.54);
}

.toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    min-width: 240px;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 0.95rem 1rem;
    border-radius: 18px;
    color: #041019;
    background: linear-gradient(135deg, #b4fbff 0%, #d9e3ff 100%);
    box-shadow: var(--shadow);
    z-index: 5;
}

.staff-note-block {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(122, 213, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.staff-note-label {
    color: var(--muted);
    font-size: 0.88rem;
}

.staff-note-input {
    min-height: 4.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
}

.staff-note-actions {
    display: flex;
    justify-content: flex-end;
}

.card-surface {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(10, 17, 28, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(123, 243, 255, 0.05);
}

.menu-editor-add {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.menu-editor-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
}

.staff-shell {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.staff-main-sections {
    min-width: 0;
}

.staff-side-nav {
    position: sticky;
    top: 1rem;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem;
    max-height: calc(100vh - 1.25rem);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(12, 21, 35, 0.9) 0%, rgba(10, 17, 29, 0.82) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(123, 243, 255, 0.06);
}

.staff-side-nav-head h3 {
    margin: 0.25rem 0 0;
}

.menu-editor-main {
    min-width: 0;
}

.menu-editor-nav {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.9rem;
}

.menu-editor-nav-head h3 {
    margin: 0.2rem 0 0;
}

.menu-editor-nav-list {
    display: grid;
    gap: 0.8rem;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(123, 243, 255, 0.28) rgba(255, 255, 255, 0.04);
}

.menu-editor-nav-list::-webkit-scrollbar {
    width: 8px;
}

.menu-editor-nav-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.menu-editor-nav-list::-webkit-scrollbar-thumb {
    background: rgba(123, 243, 255, 0.28);
    border-radius: 999px;
}

.menu-editor-nav-group {
    display: grid;
    gap: 0.5rem;
}

.menu-editor-nav-group-title {
    color: rgba(223, 235, 248, 0.46);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu-editor-nav-link {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.82rem 0.95rem;
    color: rgba(233, 241, 250, 0.92);
    background: linear-gradient(135deg, rgba(26, 37, 56, 0.88) 0%, rgba(16, 24, 40, 0.86) 100%);
    border: 1px solid rgba(123, 243, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.menu-editor-nav-link:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(123, 243, 255, 0.16);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(123, 243, 255, 0.1);
}

.menu-editor-nav-link.active {
    color: #041019;
    border-color: rgba(123, 243, 255, 0.18);
    box-shadow: 0 0 20px rgba(123, 243, 255, 0.18);
    background: linear-gradient(135deg, rgba(123, 243, 255, 0.96) 0%, rgba(185, 232, 255, 0.94) 100%);
}

.menu-editor-nav-link:focus-visible {
    outline: 2px solid rgba(123, 243, 255, 0.35);
    outline-offset: 2px;
}

.menu-editor-nav-link.is-hidden {
    color: rgba(168, 189, 210, 0.72);
    border-style: dashed;
}

.staff-scroll-target {
    scroll-margin-top: 1rem;
}

.menu-editor-section-form {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.menu-editor-add-form {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.menu-editor-add-actions {
    display: flex;
    align-items: flex-end;
}

.menu-editor-section {
    display: grid;
    gap: 1rem;
}

.menu-editor-section-head {
    margin-bottom: 0;
}

.menu-editor-section-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.menu-editor-section-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.menu-editor-items {
    display: grid;
    gap: 0.9rem;
}

.menu-editor-item {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(122, 213, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.menu-editor-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.menu-editor-code {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
}

.menu-editor-fields {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1.8fr) minmax(160px, 0.7fr);
}

.menu-editor-item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.menu-editor-protected {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 212, 118, 0.22);
    background: rgba(255, 212, 118, 0.08);
    color: #ffe7a6;
    font-size: 0.9rem;
}

.menu-editor-disabled-delete {
    opacity: 0.78;
}

.staff-order-entry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1rem;
    align-items: start;
}

.staff-order-meta-card,
.staff-order-catalog-card,
.staff-order-cart-card {
    display: grid;
    gap: 1rem;
}

.staff-order-meta-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.staff-order-status-note {
    min-height: 56px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(123, 243, 255, 0.1);
    border-radius: 16px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
}

.staff-order-cart-card {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: calc(100vh - 1.25rem);
    min-height: 0;
}

.staff-order-cart-head,
.staff-order-section-head,
.staff-order-cart-item-head,
.staff-order-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.staff-order-cart-list {
    display: grid;
    gap: 0.8rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.staff-order-cart-item {
    display: grid;
    gap: 0.8rem;
    padding: 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(123, 243, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.staff-order-cart-item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.staff-order-cart-footer {
    display: grid;
    gap: 0.9rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(123, 243, 255, 0.08);
    flex-shrink: 0;
}

.staff-order-total-line strong {
    font-size: 1.2rem;
}

.staff-order-cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.staff-order-section {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(123, 243, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.staff-order-section-switcher {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.staff-order-section-pill {
    min-height: 2.5rem;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
}

.staff-order-section-pill.active {
    color: #041019;
}

.staff-order-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.8rem;
}

.staff-order-item {
    display: grid;
    gap: 0.8rem;
    padding: 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(123, 243, 255, 0.09);
    background: linear-gradient(180deg, rgba(16, 28, 44, 0.8) 0%, rgba(9, 17, 29, 0.78) 100%);
}

.staff-order-item.is-hookah {
    border-color: rgba(123, 243, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 0 1px rgba(123, 243, 255, 0.08);
}

.staff-order-item-copy {
    display: grid;
    gap: 0.45rem;
}

.staff-order-strength-control {
    display: grid;
    gap: 0.5rem;
}

.staff-order-strength-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.staff-order-strength-control input[type="range"] {
    width: 100%;
    margin: 0;
    accent-color: #7bf3ff;
}

.staff-order-strength-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.archive-month,
.archive-day {
    padding: 0.35rem;
    border: 1px solid rgba(123, 243, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.archive-group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 0.8rem 0.9rem;
}

.archive-group-summary::-webkit-details-marker {
    display: none;
}

.archive-month-days,
.archive-day-sessions {
    padding: 0.25rem 0.5rem 0.6rem;
}

.order-staff-note {
    margin: 0.8rem 0 0;
    color: #d6e6ff;
}

.page-menu .menu-hero-card {
    background:
        radial-gradient(circle at top left, rgba(110, 240, 255, 0.06), transparent 34%),
        radial-gradient(circle at bottom left, rgba(144, 122, 255, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(8, 15, 28, 0.68) 0%, rgba(9, 18, 30, 0.42) 52%, rgba(7, 13, 25, 0.6) 100%);
}

.page-menu #table-app.panel {
    background:
        radial-gradient(circle at top right, rgba(110, 240, 255, 0.04), transparent 26%),
        linear-gradient(180deg, rgba(8, 15, 28, 0.74) 0%, rgba(7, 14, 25, 0.62) 100%);
}

.page-menu .catalog-panel,
.page-menu .orders-section,
.page-menu .cart-panel {
    background:
        linear-gradient(180deg, rgba(11, 20, 34, 0.62) 0%, rgba(8, 15, 27, 0.7) 100%);
}

.page-menu .cart-panel {
    background:
        radial-gradient(circle at top, rgba(110, 240, 255, 0.06), transparent 36%),
        linear-gradient(180deg, rgba(11, 20, 34, 0.76) 0%, rgba(8, 15, 27, 0.82) 100%);
}

.page-menu .table-spotlight-card,
.page-menu .menu-status-card {
    background:
        linear-gradient(180deg, rgba(11, 20, 34, 0.72) 0%, rgba(9, 15, 26, 0.68) 100%);
}

.page-menu .hero-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 390px);
    gap: 1.45rem;
}

.page-menu .hero-rules-card {
    width: min(100%, 390px);
    padding: 0.95rem;
    margin-top: -0.2rem;
}

.page-menu .hero-rules-image {
    min-height: 280px;
    object-fit: cover;
}

.page-menu .catalog-section {
    position: relative;
    overflow: hidden;
    padding: 0.95rem 1rem 1rem;
    border-radius: 24px;
    border: 1px solid rgba(122, 213, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(9, 17, 30, 0.58) 0%, rgba(8, 15, 27, 0.48) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-menu .catalog-section::before {
    content: "";
    position: absolute;
    left: -28%;
    top: 0;
    width: 42%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(110, 240, 255, 0), rgba(110, 240, 255, 0.85), rgba(144, 122, 255, 0.65), rgba(110, 240, 255, 0));
    filter: blur(0.2px);
    opacity: 0.72;
    animation: menuSectionSweep 9s linear infinite;
}

.page-menu .catalog-section::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(110, 240, 255, 0.03);
}

@keyframes driftStars {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-80px, 40px, 0);
    }
}

@keyframes driftStarsReverse {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(70px, -50px, 0);
    }
}

@keyframes pulseStars {
    0%,
    100% {
        opacity: 0.28;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes menuSectionSweep {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.82;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(390%);
        opacity: 0;
    }
}

@media (max-width: 860px) {
    .menu-layout {
        grid-template-columns: 1fr;
    }

    .cart-panel {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-rules-card {
        justify-self: stretch;
        width: 100%;
        max-width: 360px;
    }

    .menu-command-deck,
    .menu-status-grid {
        grid-template-columns: 1fr;
    }

    .call-action-row,
    .cart-cta-row {
        align-items: stretch;
        flex-direction: column;
    }

    .page-menu .hero-split {
        grid-template-columns: 1fr;
    }

    .page-menu .hero-rules-card {
        width: 100%;
        max-width: 430px;
    }

    .page-menu .hero-rules-image {
        min-height: 0;
    }

    .page-menu .catalog-panel-body {
        grid-template-columns: 1fr;
    }

    .page-menu .catalog-quick-nav-shell {
        position: static;
        margin-bottom: 0.8rem;
        padding: 0.45rem;
    }

    .page-menu .catalog-quick-nav {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.1rem;
    }

    .page-menu .catalog-quick-nav-pill {
        flex: 0 0 auto;
        width: auto;
        min-height: 2.45rem;
        padding: 0.62rem 0.9rem;
        border-radius: 999px;
        white-space: nowrap;
    }

    .page-menu .catalog-section {
        scroll-margin-top: 7rem;
    }

    .page-menu .cart-panel {
        display: block;
        max-height: none;
        min-height: auto;
    }

    .page-menu #cart-list {
        overflow: visible;
        padding-right: 0;
        max-height: none;
    }

    .menu-editor-add-form,
    .menu-editor-section-form,
    .menu-editor-fields {
        grid-template-columns: 1fr;
    }

    .staff-shell,
    .menu-editor-layout {
        grid-template-columns: 1fr;
    }

    .staff-order-entry-layout,
    .staff-order-meta-grid {
        grid-template-columns: 1fr;
    }

    .staff-side-nav,
    .menu-editor-nav,
    .staff-order-cart-card {
        position: static;
    }

    .staff-side-nav {
        max-height: none;
        overflow: visible;
    }

    .staff-order-cart-card {
        max-height: none;
    }

    .menu-editor-nav-list,
    .staff-order-cart-list {
        overflow: visible;
        padding-right: 0;
        max-height: none;
    }
}

@media (max-width: 720px) {
    .page,
    .page-menu {
        width: min(100%, calc(100% - 1rem));
    }

    .brand-topbar,
    .brand-lockup,
    .panel-header,
    .section-title,
    .toolbar,
    .status-row,
    .table-card-header,
    .order-card-header,
    .panel-actions,
    .catalog-item-header,
    .catalog-item-footer,
    .cart-item-main,
    .cart-item-actions,
    .cart-total-row,
    .order-meta,
    .order-line,
    .order-line-side,
    .archive-summary,
    .archive-summary-meta,
    .table-card-side,
    .slider-labels {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand-chip {
        align-self: flex-start;
    }

    .modal-card {
        padding: 1rem;
    }
}
