/* Shared accessibility and layout layer; loaded after each page's material styles. */
.site-theme-control{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;font:14px/1.5 system-ui,sans-serif;color:var(--ink);min-width:0;margin:12px 0 0}
.site-theme-control select{width:auto;max-width:100%;min-width:0;min-height:44px;font:inherit;padding:8px 12px;border:1px solid var(--line,#8a8099);border-radius:12px;background:var(--paper,#fafaff);color:var(--ink,#302d42)}
:where(body){--ui-surface:#ffffff;--ui-border:#8a8099}
body[data-site-tone="night"]{color-scheme:light;--ui-gradient-start:#b89b5e;--ui-gradient-end:#002366;--ui-background:#181627;--ui-surface:#f8edcf;--ui-input:#fff8e8;--ui-text:#302d42;--ui-muted:#5e5b6c;--ui-accent:#704b86;--ui-border:#806e58;--ui-neon:#f6c66f;--ui-glow:inset 0 1px 0 #fff9,0 0 0 1px #ffde9b70,0 0 18px #ffc26040,0 12px 32px #07061345;--ui-button-text:#ffffff}
body.glass-zodiac[data-site-tone="night"]{--ui-gradient-start:var(--zodiac-night-gradientStartColor,#b89b5e);--ui-gradient-end:var(--zodiac-night-gradientEndColor,#002366);--ui-background:var(--zodiac-night-backgroundColor,#181627);--ui-surface:var(--zodiac-night-surfaceColor,#f8edcf);--ui-text:var(--zodiac-night-textColor,var(--zodiac-textColor,#302d42));--ui-muted:color-mix(in srgb,var(--ui-text) 78%,var(--zodiac-surfaceColor,#ffffff));--ui-accent:var(--zodiac-night-accentColor,var(--zodiac-accentColor,#704b86));--ui-card:color-mix(in srgb,var(--ui-surface) var(--zodiac-night-opacity,92%),transparent)}
body[data-site-tone="night"],body[data-site-tone="night"].photo-background{--paper:var(--ui-surface);--ink:var(--ui-text);--muted:var(--ui-muted);--red:var(--ui-accent);--plum:var(--ui-accent);--gold:var(--ui-accent);--rose:var(--ui-accent);--accent:var(--ui-accent);--green:#386b50;--line:var(--ui-border);--surface:var(--ui-surface);--a-fill:var(--ui-surface);--header-bg:var(--ui-surface);--header-text:var(--ui-text);--header-accent:var(--ui-accent);--slides-bg:var(--ui-surface);--slides-text:var(--ui-text);--slides-accent:var(--ui-accent);--menu-bg:transparent;--menu-text:var(--ui-text);--menu-accent:var(--ui-accent);--items-bg:var(--ui-surface);--items-text:var(--ui-text);--items-accent:var(--ui-accent);--categories-bg:var(--ui-surface);--categories-text:var(--ui-text);--categories-accent:var(--ui-accent);--news-bg:var(--ui-surface);--news-text:var(--ui-text);--promotions-bg:var(--ui-surface);--promotions-text:var(--ui-text);--footer-bg:transparent;--footer-text:var(--ui-text);--buttons-bg:var(--ui-accent);--buttons-text:var(--ui-button-text);--group-head-titleColor:var(--ui-text);--group-head-subtitleColor:var(--ui-muted);--group-head-labelColor:var(--ui-accent);--group-head-countColor:var(--ui-muted);--group-head-backgroundStart:var(--ui-surface);--group-head-backgroundEnd:var(--ui-surface);--group-head-shadeOpacity:0;--immersive-label:var(--ui-accent);--immersive-secondary:var(--ui-muted);--immersive-border:var(--ui-border);--immersive-card:var(--ui-card,var(--ui-surface));--immersive-input:var(--ui-input);--immersive-tools:var(--ui-surface);--immersive-dialog:var(--ui-surface);--vision-edge:var(--ui-border);background:var(--ui-background);background-image:linear-gradient(90deg,color-mix(in srgb,var(--ui-gradient-start) 12%,transparent) 0%,color-mix(in srgb,var(--ui-gradient-end) 12%,transparent) 100%),url('/assets/zodiac-night-neon.png?v=1.23.2');background-size:cover;background-position:center top;background-attachment:fixed;color:var(--ink);font-size:16px}
body.glass-zodiac[data-site-tone="night"]{background-image:linear-gradient(90deg,color-mix(in srgb,var(--ui-gradient-start) 12%,transparent) 0%,color-mix(in srgb,var(--ui-gradient-end) 12%,transparent) 100%),url('/assets/zodiac-night-neon.png?v=1.23.2');background-size:cover;background-position:center top;background-attachment:fixed}
body[data-site-tone="night"] :is(.topbar,.hero-carousel,.menu-tools,.slogan,.posts,.post-card,.visit,.spatial-select){background:var(--ui-card,var(--ui-surface));color:var(--ink);border:1px solid var(--line);box-shadow:var(--ui-glow)}
body[data-site-tone="night"] :is(.brand-caption,.header-meta,.hero-description,.hero-info,.menu-meta,.menu-heading>p,.media-caption,.item-description,.stock-label,.pending,.section-count,.post-card p,.post-card small,.visit-details p,.visit-details a){color:var(--muted);opacity:1}
body[data-site-tone="night"] :is(.searchbox,.chip,.add,.carousel-arrows button,.slide-tabs button){color:var(--ink);background:var(--ui-surface);border-color:var(--line)}
body[data-site-tone="night"] :is(.chip.selected,.slide-tabs button[aria-selected=true],.primary){background:var(--ui-accent);color:var(--ui-button-text);border-color:var(--ui-accent)}
body[data-site-tone="night"] :is(dialog,.card,.panel,.stat,.account-card,.access-summary,.narrow,.panel-card,.item-card,.actionbar,.admin-header,.op-header){background:var(--ui-surface);color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] :is(input,select,textarea){color-scheme:light;background:var(--ui-input);color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] :is(.secondary,.password-field button,.badge,.selection-tools,.contrast-notice,.locked-copy,.check-issues li.warning){background:#f5e4bd;color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] :is(.error,.check-issues li.error,.order-card.order-overdue){color:#a52619;background:#fff0ed;border-color:#bd685c}
body[data-site-tone="night"] :is(.success,.check-ok){color:#386b50}
body[data-site-tone="night"] .order-overdue .reference{color:#a52619}
body[data-site-tone="night"] .table-check-notice{color:var(--ink);background:var(--ui-input);border-color:var(--line)}
/* Viewer and reorder inherit the night material instead of the saved day palette. */
body[data-site-tone="night"] #media-viewer{--viewer-backgroundColor:var(--ui-surface);--viewer-contentBackground:var(--ui-surface);--viewer-textColor:var(--ui-text);--viewer-quoteBackground:var(--ui-input);--viewer-quoteColor:var(--ui-text);--viewer-dialogBorderColor:var(--ui-border);--viewer-mediaBorderColor:var(--ui-border);--viewer-contentBorderColor:var(--ui-border);--viewer-accentColor:var(--ui-accent);--viewer-mutedColor:var(--ui-muted);background:var(--ui-surface);color:var(--ink)}
/* Keep the owner's repaired day foregrounds and button palette in the table card. */
body[data-site-tone="night"] .reorder-card{--reorder-bg:var(--ui-surface);--reorder-border:var(--ui-neon);--reorder-input-bg:var(--ui-input);background:var(--ui-surface);border-color:var(--ui-neon);box-shadow:var(--ui-glow)}
/* Visit uses its day foregrounds over the shared warm night material. */
body[data-site-tone="night"][data-site-theme-mode] #visit.visit[data-visit-colors="true"]{--visit-bg:var(--ui-surface);--visit-text:var(--visit-day-textColor);--visit-muted:var(--visit-day-mutedColor);--visit-accent:var(--visit-day-accentColor);--visit-border:var(--ui-neon);background:var(--visit-bg);color:var(--visit-text);border-color:var(--visit-border)}
body[data-site-tone="day"]{color-scheme:light;--ui-surface:#ffffff;--ui-border:#8a8099}
body[data-site-tone="day"]:has(.op-shell){--ink:#302d42;--muted:#59576d;--line:#8a8099;--rose:#704b86;--gold:#704b86;--surface:#ffffff;background:#fafaff;color:var(--ink)}
body[data-site-tone="day"]:has(.op-shell) :is(.op-header,.card,.panel,.stat,dialog,.work-card,.work-lane,.money-panel,.shift-close-panel){background:#fff;color:var(--ink);border-color:var(--line)}
body[data-site-tone="day"]:has(.op-shell) :is(input,select,textarea,button){background:#fafaff;color:var(--ink);border-color:var(--line)}
body[data-site-tone="day"]:has(.op-shell) button.primary{background:#704b86;color:#fff}
body[data-site-tone="day"]:has(.op-shell) :is(.badge,.paid,.void,.approval,.approval-impact,.one-time-code){color:#704b86;border-color:#8a8099}
body[data-site-tone="day"]:has(.op-shell) :is(.error,.order-overdue .reference,button.danger){color:#a52619;background:#fff0ed}
body[data-site-tone="day"] .table-check-notice{background:#edf5ff;color:#263b55;border-color:#708eae}
/***** Corners, readable labels, and keyboard controls *****/
body :is(.dialog-head button,.stepper button){color:inherit;background:var(--paper);border:1px solid var(--line);border-radius:12px;min-width:44px;min-height:44px;flex-shrink:0}
body :is(.topbar,.slogan){border-radius:var(--glass-radius,26px)}
body[data-menu-experience="immersive"] .topbar{padding:20px 24px;margin-top:16px}
body[data-menu-experience="immersive"] .spatial-section{border:1px solid var(--line);border-radius:20px;padding:20px;min-width:0;overflow:visible;background:var(--immersive-card,var(--paper))}
body[data-menu-experience="immersive"] .spatial-section .section-head{border-radius:20px;padding:10px 0;min-width:0}
body[data-menu-experience="immersive"] .spatial-counter{border-radius:20px;min-width:0}
body :is(.spatial-select,.post-card,.menu-section,.food-section,.card,.panel,.panel-card){border-radius:20px}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:12px}
body :is(.topbar .brand-caption,.eyebrow,.section-head .eyebrow,.hero-info,.viewer-section-label,#media-viewer .dialog-head .eyebrow,.item-description,.stock-label,.pending,.section-count,.header-meta,.basket-row small,.help,.hint,.field small,.theme-option small,.header-layout-choice small,.header-label){font-size:14px;line-height:1.6}
body :is(.hero-description,.post-card p,.visit-details p,.searchbox input,.basket-row,.viewer-copy){font-size:16px}
body .hero-heading,body .hero-description{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible}
body :is(.hero-copy,.hero-panel,.brand-copy,.header-main,.menu-heading,.spatial-section,.viewer-grid,.dialog-head>div,.basket-row>div,.checkout-line>div,.workspace-top>div,.card-top>div){min-width:0}
body :is(.header-name,.hero-heading,.hero-description,.spatial-item-name,.basket-row strong,.checkout-line strong,.post-card h3,.card h3,.workspace-top h2){overflow-wrap:anywhere}
body :is(.header-main,.workspace-top,.action-buttons,.card-top){flex-wrap:wrap}
body :is(.topbar nav,.header-meta,.dialog-actions,.checkout-line){flex-wrap:wrap}
body .topbar nav{max-width:100%}
body .menu-heading>p{max-width:none;font-size:14px}
body .section-head{flex-wrap:wrap}
body :is(.dialog-head,.basket-row,.checkout-line){gap:12px}
body dialog{max-width:calc(100% - 24px);max-height:90dvh;overflow:auto;overscroll-behavior:contain;border-radius:20px}
body .searchbox{min-width:0}
body :is(.searchbox input,.password-field input){min-width:0}
body :is(.site-theme-control select,.searchbox,.chip,input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--line,var(--ui-border))}
body :focus-visible{outline:3px solid var(--red,var(--accent,#704b86));outline-offset:3px}
body.admin-aurora[data-site-tone="day"]{--paper:#fafaff;--ink:#302d42;--muted:#59576d;--red:#704b86;--green:#386b50;--line:#8a8099;--a-fill:#ffffff;background:#fafaff;color:var(--ink)}
body.admin-aurora[data-site-tone="day"] :is(.admin-header,.panel-card,.item-card,.actionbar,.nav-group,.admin-preview,.locked-copy,.selection-tools){background:#fff;color:var(--ink);border-color:var(--line)}
body.admin-aurora[data-site-tone="day"] :is(input,select,textarea){background:#fff;color:var(--ink);border-color:var(--line)}
body.admin-aurora[data-site-tone="day"] :is(.logo,.logo span,.nav-group summary,#tabs button,#tabs button span,.field>span,.check,.help,.section-help,.account-box){color:var(--ink)}
body.admin-aurora :is(.check-issues li.error,.check-issues li.warning,.selection-tools,.contrast-notice){color:var(--ink)}
body :is(.admin-header,.op-header,header:has(.site-theme-control)){height:auto;min-height:72px;flex-wrap:wrap}
body .admin-header .site-theme-control,body .op-header .site-theme-control{margin:0}
@media(max-width:760px){
 .site-theme-control{justify-content:flex-start;width:100%}
 body .topbar .header-main{gap:14px}
 body .topbar nav{gap:8px;width:100%;justify-content:flex-start}
 body .topbar nav a{font-size:14px;min-height:44px}
 body[data-menu-experience="immersive"] .topbar{padding:18px;margin-top:14px}
 body[data-menu-experience="immersive"] .spatial-section{padding:16px}
 body[data-menu-experience="immersive"] .spatial-section .section-head{padding:0 0 18px}
 body[data-menu-experience="immersive"] .immersive-intro{overflow:visible}
 body[data-menu-experience="immersive"] .spatial-select{padding:10px}
 body .spatial-item-name{font-size:16px;line-height:1.5}
 body :is(.narrow,.wide){width:auto;max-width:calc(100% - 28px);margin-left:14px;margin-right:14px}
 body :is(.header-layout-choices,.theme-options,.viewer-preview-grid){grid-template-columns:minmax(0,1fr)}
 body .item-card.quick-item{grid-template-columns:24px minmax(0,1fr)}
 body .quick-item :is(.quick-price,.price-editor,.card-actions){grid-column:2/-1}
 body .actionbar{position:sticky;bottom:0;flex-wrap:wrap;gap:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));width:100%}
 body .actionbar>div{min-width:0;flex-wrap:wrap}
 body .spatial-products{gap:18px 10px}
 body.glass-zodiac[data-site-tone="night"]{background-attachment:scroll;background-size:100% auto;background-repeat:repeat-y}
}
@media(max-width:480px){
 body[data-menu-experience="immersive"] .spatial-products{grid-template-columns:minmax(0,1fr)}
 body .basket-row{flex-wrap:wrap;align-items:flex-start}
 body .basket-row>div:first-child{flex:1 1 160px}
 body .basket-row .stepper{margin-left:auto}
 body .dialog-actions button{min-width:0;flex:1 1 130px}
 body .table-picker{grid-template-columns:minmax(0,1fr)}
 body .dialog-head h2{font-size:22px;overflow-wrap:anywhere}
 body .item-card.quick-item{grid-template-columns:24px minmax(0,1fr)}
 body .quick-item input{width:100%;min-width:0}
 body .permissions,body .topping-controls{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-transparency:reduce){body.glass-zodiac[data-site-tone="night"]{--ui-card:var(--ui-surface)}body[data-site-tone="night"] :is(.card,.panel,.topbar,.spatial-select){backdrop-filter:none;-webkit-backdrop-filter:none}}
@media print{.site-theme-control{display:none!important}body[data-site-tone]{background:#fff;color:#000}body[data-site-tone] dialog{background:#fff;color:#000}}
/* Fixed-color operation subpanels use the same mode as the surrounding workspace. */
body[data-site-tone="night"] :is(.work-card,.money-summary,.money-entry,.work-payment,.admin-preview){background:var(--ui-surface);color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] :is(.work-time,.work-progress,.work-lines p,.work-payment small){color:var(--muted)}
body[data-site-tone="night"] :is(.work-top h3,.work-time strong,.work-quantity,.work-note,.work-details summary,.money-warning,.work-payment>span){color:var(--ui-accent)}
body[data-site-tone="day"]:has(.op-shell) :is(.work-payment,.money-summary,.money-entry,.approval-compare>section){background:#f3f2f8;color:var(--ink);border-color:var(--line)}
body[data-site-tone="day"]:has(.op-shell) :is(.work-top h3,.work-time strong,.work-quantity,.work-note,.work-details summary,.money-warning,.work-payment>span,.work-unpaid){color:#704b86}
body[data-site-tone="day"]:has(.op-shell) :is(.work-reference strong,.work-payment>strong,.work-lines p){color:var(--ink)}
body[data-site-tone="day"]:has(.op-shell) :is(.work-time,.work-progress,.work-payment small){color:var(--muted)}
body[data-site-tone="day"]:has(.op-shell) .work-done-label{color:#286145}
body[data-site-tone="day"]:has(.op-shell) :is(.work-stage,.work-order-note,.work-unpaid){background:#eee8f5}
body[data-site-tone="day"]:has(.op-shell) .work-card.order-overdue :is(.work-top h3,.work-time strong){color:#a52619}
body[data-site-tone="night"] .work-card.order-overdue :is(.work-top h3,.work-time strong){color:#a52619}
body[data-site-tone="day"] .site-theme-control select{background:#fafaff;color:#302d42;border-color:#8a8099}
body.glass-aurora[data-site-tone="day"]{--paper:#fafaff;--ink:#302d42;--muted:#59576d;--red:#704b86;--plum:#704b86;--gold:#704b86;--line:#8a8099;--header-text:#302d42;--slides-text:#302d42;--items-text:#302d42;--menu-text:#302d42;--categories-text:#302d42;--news-text:#302d42;--promotions-text:#302d42;--footer-text:#302d42;--header-accent:#704b86;--slides-accent:#704b86;--items-accent:#704b86;--categories-accent:#704b86;--buttons-bg:#704b86;--buttons-text:#fff;--group-head-titleColor:#302d42;--group-head-subtitleColor:#59576d;--group-head-labelColor:#704b86;--group-head-countColor:#59576d;--group-head-backgroundStart:#eee8f5;--group-head-backgroundEnd:#fafaff;--group-head-shadeOpacity:0;--a-fill:#ffffffe8;--immersive-card:#ffffffe8;--immersive-input:#f5f3fa;--immersive-dialog:#fff;--immersive-tools:#ffffffe8;--immersive-label:#704b86;--immersive-secondary:#59576d;background:radial-gradient(ellipse at top left,#f0ddea,transparent 65%),#fafaff;color:var(--ink)}
body.glass-aurora[data-site-tone="day"] :is(.topbar,.menu-tools,.hero-carousel,.slogan,.posts,.post-card,.visit,.spatial-select){background:#ffffffe8;color:var(--ink);border-color:var(--line)}
body.glass-aurora[data-site-tone="day"] :is(.searchbox,.chip,.add){background:#f5f3fa;color:var(--ink);border-color:var(--line)}
body.glass-aurora[data-site-tone="day"] :is(.chip.selected,.primary){background:#704b86;color:#fff}
body.glass-aurora[data-site-tone="day"] :is(.header-meta,.brand-caption,.hero-description,.post-card p,.visit-details p,.visit-details a){color:var(--muted)}
body[data-site-tone="night"] :is(.spatial-price,.price){color:var(--ui-accent)}
body[data-site-tone="night"] .spatial-item-description{background:var(--ui-surface);color:var(--muted)}
body[data-site-tone="night"] .spatial-item-cue{background:var(--ui-accent);color:var(--ui-button-text)}
body[data-site-tone="day"]:not(.glass-zodiac) :is(.searchbox,.chip,.add){border-color:#8a8099}
body[data-site-tone="day"] :is(.dialog-head button,.stepper button,input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#8a8099}
body[data-site-tone="night"] :is(.dialog-head button,.stepper button){background:var(--ui-input);color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] .dialog-actions{background:var(--ui-surface)}
body .spatial-item-cue{white-space:normal;overflow-wrap:anywhere}
body .work-top{flex-wrap:wrap}
body .work-stage{white-space:normal}
@media(max-width:760px){
 body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){font-size:16px}
 body[data-menu-layout="spatial"] #item-detail{width:calc(100% - 24px);max-width:calc(100% - 24px);margin:auto;border-radius:20px;border:1px solid var(--line)}
 body .quick-item .field{grid-column:2/-1;min-width:0}
 body .quick-item .item-select{grid-column:1;grid-row:1;padding-top:28px}
 body :is(.actionbar small,.account-box strong,.account-box a,#tabs button span,.quick-toggles .check){font-size:14px}
}
/* Explicit foregrounds for Aurora controls, including its more specific input rules. */
body.admin-aurora[data-site-tone="day"] button{background:#fafaff;color:var(--ink);border-color:var(--line)}
body.admin-aurora[data-site-tone="day"] .primary{background:#704b86;color:#fff;border-color:#704b86}
body.admin-aurora[data-site-tone="night"] button{color:var(--ink);border-color:var(--line)}
body.admin-aurora[data-site-tone="night"] .primary{background:var(--ui-accent);color:var(--ui-button-text);border-color:var(--ui-accent)}
body.admin-aurora[data-site-tone="day"] input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),body.admin-aurora[data-site-tone="day"] :is(textarea,select){background:#fff;color:var(--ink);border-color:var(--line)}
body.admin-aurora[data-site-tone="night"] input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),body.admin-aurora[data-site-tone="night"] :is(textarea,select){background:var(--ui-input);color:var(--ink);border-color:var(--line)}
body.admin-aurora[data-site-tone] :is(.actionbar small,.workspace-top .eyebrow,.draft-badge,.nav-group summary,.field>span,.check,.help,.section-help){color:var(--muted)}
body.admin-aurora[data-site-tone="night"] :is(.nav-group,.undo-bar,.draft-badge){background:var(--ui-surface);border-color:var(--line)}
body[data-site-tone="night"] .hero-media{box-shadow:inset 0 1px 0 #ffffff40}
body[data-site-tone] .dialog-head button:focus-visible,body[data-site-tone] .stepper button:focus-visible{outline:3px solid var(--red,var(--accent,#704b86));outline-offset:3px}
@media(max-width:760px){body[data-menu-layout="spatial"] .spatial-select:focus-visible{outline:3px solid var(--red);outline-offset:3px}}
body button{color:inherit}
body[data-site-tone] :is(.dialog-actions,.dialog-bottom) button:not(.primary):not(.danger){background:var(--ui-surface,var(--paper));color:var(--ink);border:1px solid var(--line);border-radius:12px;min-height:44px}
body[data-site-tone="night"] :is(.status-pills span,.thumb.blank){background:var(--ui-input);color:#386b50}
body[data-site-tone="night"] .status-pills .off{background:var(--ui-input);color:var(--ui-muted)}
body[data-site-tone] :is(.topbar .brand-caption,.post-kind,.post-date,.status-pills span,.item-copy small,.quick-toggles .check,.field>label){font-size:14px;line-height:1.6}
body.glass-zodiac[data-site-tone="night"] :is(.topbar,.hero-carousel,.menu-tools,.slogan,.posts,.visit,.spatial-select){backdrop-filter:blur(min(var(--glass-blur,20px),16px));-webkit-backdrop-filter:blur(min(var(--glass-blur,20px),16px))}
@media(max-width:760px){body.glass-zodiac[data-site-tone="night"] :is(.topbar,.hero-carousel,.menu-tools,.slogan,.posts,.visit,.spatial-select){backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}}
@media(prefers-reduced-transparency:reduce){body.glass-zodiac[data-site-tone="night"] :is(.topbar,.hero-carousel,.menu-tools,.slogan,.posts,.visit,.spatial-select){background:var(--ui-surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.glass-zodiac[data-site-tone="night"] :is(.topbar,.hero-carousel,.menu-tools,.slogan,.posts,.visit,.spatial-select){background:var(--ui-surface)}}
@media print{body[data-site-tone]{--paper:#fff;--ink:#000;--muted:#333;--line:#aaa;--ui-background:#fff;--ui-surface:#fff;--ui-text:#000;--ui-muted:#333;--ui-accent:#000;--ui-border:#aaa;--ui-card:#fff}}

/* Keep foreground text on readable glass over the brighter gold end of the gradient. */
body[data-site-tone="night"] :is(.immersive-intro-copy,.menu-heading,.workspace-top,.workspace-title,main.wide,footer){background:var(--ui-card,var(--ui-surface));color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:20px}
body[data-site-tone="night"] :is(.shell>aside,.op-shell>aside),body[data-site-tone="night"]>header{background:var(--ui-surface);color:var(--ink);border-color:var(--line)}
@media(max-width:760px){body[data-site-tone="night"],body[data-site-tone="night"].photo-background{background-attachment:scroll;background-size:100% auto;background-repeat:repeat-y;background-position:center top}body[data-site-tone="night"] :is(.immersive-intro-copy,.menu-heading,.workspace-top,.workspace-title,main.wide,footer){padding:16px}}
@media print{body[data-site-tone="night"]{background-image:none}body[data-site-tone="night"] footer{background:#fff;color:#000}}

/* Mode-neutral geometry: Immersive must not flatten the rounded material. */
body[data-site-tone] :is(.topbar,.slogan){border:1px solid var(--line);border-radius:var(--glass-radius,26px)}
body[data-site-tone] .topbar{width:calc(100% - 40px);margin:20px auto 0}
body[data-site-tone] .slogan{width:calc(100% - 40px);margin:20px auto 0}
body[data-site-tone] .order-hours-notice{background:var(--paper);color:var(--ink);overflow-wrap:anywhere;border-radius:var(--glass-radius,26px)}
body[data-site-tone] main>#order-hours-notice,body[data-site-tone] main>.reorder-card{width:calc(100% - 40px);max-width:var(--page-width,1200px);margin:16px auto;padding:18px 24px}
body[data-site-tone] .searchbox{border-radius:24px;min-height:48px}
body[data-site-tone] .searchbox input{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;flex:1 1 0;min-width:0;color:var(--ink);height:auto;min-height:44px}
body[data-site-tone] .searchbox button{flex:none;color:var(--muted);background:transparent}
body[data-site-tone] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
/* Every text-bearing panel has a warm backing; glow stays outside its content. */
body[data-site-tone="night"] :is(.topbar,.hero-carousel,.slogan,.menu-tools,.menu-section,.food-section,.spatial-section,.spatial-select,.posts,.post-card,.visit,.order-hours-notice,.reorder-card,.menu-heading,.immersive-intro-copy,.menu-meta,footer){background:var(--ui-card,var(--ui-surface));border:1px solid var(--ui-neon);box-shadow:var(--ui-glow);color:var(--ink)}
body[data-site-tone="night"] :is(.topbar,.hero-carousel,.slogan){border-radius:var(--glass-radius,26px)}
body[data-site-tone="night"] :is(.menu-meta,.food-toppings,.carousel-controls,.viewer-copy,.dialog-description){background:var(--ui-surface);color:var(--muted);border-radius:12px}
body[data-site-tone="night"] .menu-meta{padding:12px 16px;margin-top:16px;flex-wrap:wrap}
body[data-site-tone="night"] :is(.section-head,.spatial-counter,.menu-item,#item-info,#item-option-fields fieldset,.food-toppings,.checkout-section,.payment-choice,.payment-methods,.voucher-offer,.transfer-card){background:var(--ui-surface);color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] :is(.searchbox,.chip,.secondary,.immersive-shortcuts button,.immersive-pause,.work-stage,.work-order-note,.work-unpaid,.approval-compare>section){background:var(--ui-input);color:var(--ink);border-color:var(--line)}
body[data-site-tone="night"] :is(.searchbox input,#item-options-form select,#order-form select),body.admin-aurora[data-site-tone="night"] :is(input,select,textarea){color-scheme:light;color:var(--ink)}
body[data-site-tone="night"] .searchbox input{background:transparent}
body[data-site-tone="night"] :is(input,select,textarea,option){color-scheme:light}
body[data-site-tone="night"] :is(#item-detail option,#order-form option){background:var(--ui-input);color:var(--ink)}
body[data-site-tone="night"] :is(.chip.selected,.primary,.header-menu,.spatial-item-cue){background:var(--ui-accent);color:var(--ui-button-text);border-color:var(--ui-accent)}
body[data-site-tone="night"] .reorder-card .primary{background:var(--reorder-button-bg);color:var(--reorder-button-text)}
body[data-site-tone="night"] :is(.spatial-item-name,.header-name,.slogan){color:var(--ink)}
body[data-site-tone="night"] :is(.spatial-item-description,.stock-label,.pending,.header-meta,.brand-caption){color:var(--muted)}
body[data-site-tone="night"] :is(.header-directions,.header-basket){border:1px solid var(--line)}
body[data-site-tone="night"] .immersive-shortcuts button:is(:hover,:focus-visible){background:var(--ui-accent);color:#fff}
body[data-site-tone="night"] .empty{background:var(--ui-surface);color:var(--ink);padding:24px;border-radius:20px}
/* Fixed Aurora headings/navigation and native options need explicit warm-palette ink. */
body.admin-aurora[data-site-tone] :is(.logo,.logo span,.panel-card h3,.item-copy strong,.item-copy small,.field>small,.field>label,.header-label,.account-box strong,.account-box a,.account-box>span,.glass-demo-link){color:var(--ink)}
body.admin-aurora[data-site-tone] #tabs button,body.admin-aurora[data-site-tone] #tabs button span{color:var(--ink)}
body.admin-aurora[data-site-tone] #tabs .active{background:var(--red);border-color:var(--red)}
body.admin-aurora[data-site-tone] #tabs .active,body.admin-aurora[data-site-tone] #tabs .active span{color:#fff}
body.admin-aurora[data-site-tone] select option{background:var(--paper);color:var(--ink)}
body.admin-aurora[data-site-tone] :is(.draft-badge.changed,.delete){color:#a52619;background:#fff0ed;border-color:#bd685c}
body[data-site-tone="night"] :is(.panel-card,.item-card,.card,.panel,.stat,dialog,.admin-header,.op-header,.actionbar,.workspace-preview){background:var(--ui-surface);border-color:var(--ui-neon);box-shadow:var(--ui-glow)}
body[data-site-tone="night"] :is(.paid,.work-done-label){color:#286145}
body[data-site-tone="night"] :is(.void,button.danger){color:#a52619;background:#fff0ed;border-color:#bd685c}
@media(max-width:760px){
 body[data-site-tone] :is(.topbar,.slogan){width:calc(100% - 28px);margin:14px auto 0}
 body[data-site-tone] main>#order-hours-notice,body[data-site-tone] main>.reorder-card{width:calc(100% - 28px);margin:14px auto;padding:16px}
 body[data-site-tone] :is(.table-picker>label,.reorder-actions>a){min-width:0;overflow-wrap:anywhere}
 body[data-site-tone] .table-picker select{max-width:100%}
 body[data-site-tone] .menu-heading{flex-wrap:wrap}
 body[data-site-tone] .menu-heading>p{flex:1 1 200px;padding-top:0}
}
@media(prefers-reduced-transparency:reduce){body[data-site-tone="night"]{--ui-card:var(--ui-surface)}}
@media print{body[data-site-tone="night"]{--ui-glow:none;--ui-neon:#aaa}}

/* One welcome frame combines the existing header and introduction in Immersive. */
body[data-menu-experience="immersive"] #menu-welcome{
 width:calc(100% - 40px);max-width:var(--page-width,1200px);margin:20px auto 36px;
 background:var(--zodiac-card,var(--immersive-card,var(--paper)));color:var(--ink);
 border:1px solid var(--line);border-radius:var(--glass-radius,26px);
 box-shadow:inset 0 1px 0 #fff8,0 12px 38px #76648e16;
 backdrop-filter:blur(min(var(--glass-blur,20px),16px));-webkit-backdrop-filter:blur(min(var(--glass-blur,20px),16px));
}
body[data-menu-experience="immersive"][data-site-tone="night"] #menu-welcome{background:var(--ui-card,var(--ui-surface));border-color:var(--ui-neon);box-shadow:var(--ui-glow)}
body[data-menu-experience="immersive"] #menu-welcome>.topbar{
 width:100%;max-width:none;margin:0;padding:24px;border:0;border-radius:0;
 background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
body[data-menu-experience="immersive"] #menu-welcome #immersive-intro{max-width:none;width:100%;margin:0;border:0}
body[data-menu-experience="immersive"] #menu-welcome .immersive-intro-copy{
 padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
/* Notice content and ordering stay intact after the two sections share a parent. */
body[data-site-tone] #menu-welcome>#order-hours-notice{width:calc(100% - 40px);max-width:var(--page-width,1200px);margin:16px auto;padding:18px 24px}
body[data-menu-experience="immersive"] #menu-welcome>#order-hours-notice{width:calc(100% - 48px);max-width:none}
@media(max-width:760px){
 body[data-menu-experience="immersive"] #menu-welcome{width:calc(100% - 28px);margin:14px auto 28px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
 body[data-menu-experience="immersive"] #menu-welcome>.topbar{padding:18px}
 body[data-site-tone] #menu-welcome>#order-hours-notice{width:calc(100% - 28px);margin:14px auto;padding:16px}
 body[data-menu-experience="immersive"] #menu-welcome>#order-hours-notice{width:calc(100% - 36px)}
}
@media(prefers-reduced-transparency:reduce){body[data-menu-experience="immersive"] #menu-welcome{background:var(--ui-surface,var(--zodiac-surfaceColor,var(--paper)));backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body[data-menu-experience="immersive"] #menu-welcome{background:var(--ui-surface,var(--zodiac-surfaceColor,var(--paper)))}}

/* The table card sits below the brand; these dimensions affect only that slot. */
body[data-menu-experience="immersive"] #menu-welcome .immersive-intro-copy{width:100%;display:flex;flex-direction:column}
body[data-menu-experience="immersive"] #menu-welcome #reorder{width:100%;max-width:100%;margin:0;padding:16px;min-width:0}
body[data-menu-experience="immersive"] #menu-welcome #reorder p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
body[data-menu-experience="immersive"] #menu-welcome #reorder .eyebrow{font-size:12px;line-height:1.5;letter-spacing:.08em;color:var(--reorder-eyebrow,#714344)}
body[data-menu-experience="immersive"] #menu-welcome #reorder-title{font-size:18px;line-height:1.4;margin:4px 0 8px}
body[data-menu-experience="immersive"] #menu-welcome #reorder .table-picker{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px}
body[data-menu-experience="immersive"] #menu-welcome #reorder .table-picker>label{display:grid;gap:4px;min-width:0;font-size:14px;line-height:1.5}
body[data-menu-experience="immersive"] #menu-welcome #reorder select{width:100%;max-width:100%;min-width:0;min-height:44px;font-size:16px;padding:8px 12px}
body[data-menu-experience="immersive"] #menu-welcome #reorder-promotion{padding:10px 0}
body[data-menu-experience="immersive"] #menu-welcome #reorder .reorder-actions{gap:8px 14px}
body[data-menu-experience="immersive"] #menu-welcome #reorder .reorder-actions>a{font-size:14px;min-height:44px;display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere}
body[data-menu-experience="immersive"] #menu-welcome #reorder .reorder-actions>.primary{padding:10px 14px}
body[data-menu-experience="immersive"] #menu-welcome #immersive-slogan{font-size:13px;line-height:1.5;width:100%;max-width:none;margin:16px 0 0;overflow-wrap:anywhere}

/* Kibou controls its own day/night palette; do not auto-invert the customer menu. */
:root:has(body[data-site-theme-controls="hidden"]){color-scheme:only light}
@media(max-width:760px){
 /* Text over the daylight artwork needs the same material backing as night text. */
 body.glass-zodiac:not([data-site-tone="night"]) :is(#menu,#food-menu)>.menu-heading,
 body.glass-zodiac:not([data-site-tone="night"]) :is(#menu,#food-menu)>.menu-meta{
  background:var(--zodiac-card);color:var(--zodiac-textColor,#302d42);
  border:1px solid var(--zodiac-line);border-radius:20px;padding:16px;
 }
 body.glass-zodiac:not([data-site-tone="night"]) :is(#menu,#food-menu)>.menu-meta{margin-top:16px;padding:12px 16px;flex-wrap:wrap;gap:6px 12px}
 body.glass-zodiac:not([data-site-tone="night"]) :is(#menu,#food-menu)>.menu-heading>p{color:var(--zodiac-muted);padding-top:0;overflow-wrap:anywhere}
 /* Tabs and playback buttons have independent rows. Long tab labels stay inside their button. */
 body #hero-carousel>.carousel-controls{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px}
 body #hero-carousel #slide-tabs{display:flex;flex-wrap:nowrap;gap:8px;width:100%;max-width:100%;min-width:0;overflow-x:auto;padding:4px;scroll-padding-inline:4px}
 body #hero-carousel #slide-tabs>button{flex:0 0 auto;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5;padding:10px 14px}
 body #hero-carousel .carousel-arrows{align-self:flex-end;flex:none;gap:8px}
 body #hero-carousel .carousel-arrows>button{flex:none;min-width:44px;min-height:44px}
}

/* Internal workspaces: every text area sits on a warm, opaque surface at night. */
:root:has(:is(.shell,.op-shell,body[data-page="users"])){color-scheme:only light}
body[data-site-tone="night"] :is(.shell,.op-shell)>main{background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-neon);border-radius:20px;box-shadow:var(--ui-glow)}
body[data-site-tone="night"]:has(.shell) :is(.undo-bar,.toolbar,.section-help){color:var(--ui-muted);border-radius:12px}
body[data-site-tone="night"]:has(.shell) .undo-bar{padding:12px;border:1px solid var(--ui-border);background:var(--ui-input)}
body[data-site-tone="night"]:is(:has(.shell),:has(.op-shell),[data-page="users"]) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}
body[data-site-tone="night"]:is(:has(.shell),:has(.op-shell),[data-page="users"]) :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}
body[data-site-tone="night"]:is(:has(.shell),:has(.op-shell),[data-page="users"]) button:not(.primary):not(.danger):not(.delete){background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}
body[data-site-tone="night"]:is(:has(.shell),:has(.op-shell),[data-page="users"]) button.primary{background:var(--ui-accent);color:#fff;border-color:var(--ui-accent)}
body[data-site-tone="night"]:is(:has(.shell),:has(.op-shell),[data-page="users"]) button:disabled{opacity:1;background:#e3dccb;color:#625d66;border-color:#aaa18e;cursor:not-allowed;box-shadow:none}
body[data-site-tone="night"]:has(.shell) :is(#tabs button.active,.preview-devices button[aria-pressed=true]),body[data-site-tone="night"] .op-shell nav button[aria-current=page]{background:var(--ui-accent);color:#fff;border-color:var(--ui-accent)}
body[data-site-tone="night"]:has(.shell) #tabs button.active span{color:#fff}
body[data-site-tone="night"]:has(.op-shell) :is(.work-lane,.work-stage,.work-order-note,.work-unpaid,.approval,.approval-compare>section,.stat:first-child,.one-time-code){background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}
body[data-site-tone="night"]:has(.op-shell) :is(.work-reference strong,.work-payment>strong){color:var(--ui-text)}
body[data-site-tone="night"][data-page="users"] :is(.access-summary,#account-permissions){background:var(--ui-surface);border-color:var(--ui-border)}
body[data-site-tone="night"]:is(:has(.shell),:has(.op-shell),[data-page="users"]) :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}
@media(max-width:700px){body[data-site-tone="night"] :is(.shell,.op-shell)>main{border-radius:16px}body[data-site-tone="night"]:has(.shell) .undo-bar .help{width:100%;margin:0}}
body[data-site-tone="night"]:has(.op-shell) .work-controls button[aria-pressed=true]{background:var(--ui-accent);color:#fff;border-color:var(--ui-accent)}
body[data-site-tone="night"]:has(.op-shell) .work-line-toggle[aria-pressed=true]{background:#d9ecdf;color:#20563b;border-color:#568969}
body[data-site-tone="night"]:has(.op-shell) :is(.work-lines li,.work-details,.timeline){border-color:var(--ui-border)}
body[data-site-tone="night"]:has(.op-shell) .work-payment[data-paid=confirmed]>span{color:#286145}

/* Group heading glass: inset copy stays clear of the rounded metallic rim. */
body[data-site-tone] .menu-section>.section-head,body .group-header-preview{
 position:relative;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
 width:100%;min-width:0;min-height:0;height:auto;gap:16px;margin:0 0 20px;padding:28px;
 border:2px solid var(--group-head-borderColor,#b89b5e);border-radius:26px;
 background:color-mix(in srgb,var(--group-head-frameColor,#f8edcf) 94%,transparent);
 box-shadow:inset 0 1px 2px var(--group-head-highlightColor,#fff4cf),inset 0 -2px 4px color-mix(in srgb,var(--group-head-borderColor,#b89b5e) 45%,transparent),0 0 12px color-mix(in srgb,var(--group-head-highlightColor,#fff4cf) 32%,transparent),0 10px 24px #302d4224;
 backdrop-filter:blur(14px) saturate(115%);-webkit-backdrop-filter:blur(14px) saturate(115%);
}
body[data-site-tone] .menu-section>.section-head::before,body .group-header-preview::before{
 content:"";position:absolute;inset:-2px;border-radius:inherit;padding:2px;pointer-events:none;
 background:linear-gradient(125deg,var(--group-head-highlightColor,#fff4cf),var(--group-head-borderColor,#b89b5e) 28%,var(--group-head-highlightColor,#fff4cf) 52%,var(--group-head-borderColor,#b89b5e) 78%);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
}
body[data-site-tone] .menu-section>.section-head>div,body .group-header-preview>div{width:100%;min-width:0}
body[data-site-tone] .menu-section>.section-head :is(h3,p,.eyebrow,.section-count),body .group-header-preview :is(h3,p,.group-header-label,.group-header-count){position:relative;max-width:100%;overflow-wrap:anywhere;white-space:normal}
body[data-site-tone] .menu-section>.section-head h3{margin:12px 0;font-size:clamp(26px,3vw,38px);line-height:1.25}
body[data-site-tone] .menu-section>.section-head p{margin:0;line-height:1.65}
body[data-site-tone] .menu-section>.section-head :is(.eyebrow,.section-count){display:block;margin:0;line-height:1.6}
@media(max-width:760px){body[data-site-tone] .menu-section>.section-head,body .group-header-preview{padding:24px 22px;border-radius:22px;gap:14px}}
@supports not (mask-composite:exclude){body[data-site-tone] .menu-section>.section-head::before,body .group-header-preview::before{display:none}}
/* Group typography shares one heading and grows with its content. */
body[data-site-tone] .menu-section>.section-head h3,body .group-header-preview h3{font-family:var(--group-head-titleFont,var(--font-heading));font-size:var(--group-head-titleSize,30px);line-height:1.3;margin:0 0 14px;letter-spacing:normal}
body[data-site-tone] .menu-section>.section-head p,body .group-header-preview p{font-family:var(--group-head-subtitleFont,var(--font-body));font-size:var(--group-head-subtitleSize,16px);line-height:1.65;margin:0;white-space:pre-line}
body[data-site-tone] .menu-section>.section-head .section-count,body .group-header-preview .group-header-count{font-family:var(--font-body);font-size:var(--group-head-countSize,14px);line-height:1.6}
body[data-site-tone] .menu-section>.section-head,body .group-header-preview{height:auto;max-height:none;min-width:0;overflow:visible}
@media(max-width:760px){body[data-site-tone] .menu-section>.section-head h3,body .group-header-preview h3{font-size:var(--group-head-mobileTitleSize,26px)}}

/* One discovery card holds the section title, search and category filters. */
body[data-site-tone] :is(#menu,#food-menu)>.menu-discovery{min-width:0;width:100%;box-sizing:border-box;padding:24px;border:1px solid var(--line);border-radius:26px;background:var(--zodiac-card,var(--paper));box-shadow:inset 0 1px 0 #fff8,0 10px 28px #302d421c;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);margin-bottom:18px}
body[data-site-tone="night"] :is(#menu,#food-menu)>.menu-discovery{background:var(--ui-card,var(--ui-surface));border-color:var(--ui-neon);box-shadow:var(--ui-glow)}
body[data-site-tone] :is(#menu,#food-menu)>.menu-discovery>.menu-heading,body[data-site-tone] :is(#menu,#food-menu)>.menu-discovery>.menu-tools{position:static;min-height:0;height:auto;max-height:none;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-site-tone] :is(#menu,#food-menu)>.menu-discovery>.menu-heading{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px;align-items:flex-start}
body[data-site-tone] :is(#menu,#food-menu)>.menu-discovery>.menu-heading>p{padding:0;max-width:none;flex:1 1 100%;margin:0}
body[data-site-tone] #menu>.menu-discovery>.menu-heading>p{display:none}
body[data-site-tone] .menu-discovery .menu-tools::before,body[data-site-tone] .menu-discovery .menu-tools::after{display:none}
body[data-site-tone] .menu-discovery .searchbox{box-sizing:border-box;width:100%;overflow:hidden;border:1.5px solid var(--search-border-color,#b89b5e);border-radius:24px;box-shadow:0 2px 8px #302d4214;transition:box-shadow .18s ease}
body[data-site-tone] .menu-discovery .searchbox:focus-within{border-color:var(--search-border-color,#b89b5e);outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--search-border-color,#b89b5e) 32%,transparent),0 4px 12px #302d421c}
body[data-site-tone] .menu-discovery .searchbox input:focus,body[data-site-tone] .menu-discovery .searchbox input:focus-visible{outline:none;box-shadow:none;border:0;background:transparent}
body[data-site-tone] .menu-discovery .categories{max-width:100%;min-width:0}
@media(max-width:760px){body[data-site-tone] :is(#menu,#food-menu)>.menu-discovery{padding:20px 16px;border-radius:22px}body[data-site-tone] .menu-discovery .menu-heading h2{overflow-wrap:anywhere}}
