:root{--format-accent:#f36b21;--format-tint:#24140d}
body[data-format-brand]{background:radial-gradient(circle at top right,var(--format-tint) 0,#111114 32%,#09090b 75%)!important}
aside .logo{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
aside .logo>span{flex:1;font-size:12px;color:var(--format-accent)!important}
.format-brand-mark{display:flex;align-items:center;justify-content:center;width:90px;height:64px;padding:3px;background:transparent;flex:none;box-sizing:border-box}
.format-brand-mark img{width:100%;height:100%;object-fit:contain}
.format-brand-mark [hidden]{display:none!important}
.format-brand-mark .format-brand-fallback{font-size:13px;color:#fff!important;text-align:center;font-weight:800}
body[data-format-brand="alice"] .format-brand-mark img{filter:brightness(0) invert(1)}
nav button:disabled{opacity:.35;cursor:not-allowed}
body[data-format-brand] nav button.active,body[data-format-brand] .btn.primary{background:var(--format-accent)!important;border-color:var(--format-accent)!important;color:#fff!important}
body[data-format-brand] .active-location-label,body[data-format-brand] .switch-label{color:var(--format-accent)!important}
body[data-format-brand] .card{border-top-color:var(--format-accent)!important}
body[data-format-brand] input:focus,body[data-format-brand] select:focus{outline:2px solid var(--format-accent);outline-offset:2px}
/* Dashboard: neutral surfaces, with colour reserved for meaningful signals. */
#dash .dash-kpi,#dash .dash-panel{background:#18181c;border:1px solid #303035;border-radius:13px;box-shadow:none}
.dash-kpi{padding:18px;min-height:126px}
#dash .dash-kpi:before{display:none}
.dash-kpi-label{color:#b5b5bd;letter-spacing:.06em}
.dash-kpi-value{color:#fafafa;font-size:29px;letter-spacing:-.5px}
.dash-kpi-meta,.dash-action-meta,.dash-staff-role,.dash-date,.dash-legend{color:#aaaab3}
#dash .dash-action,#dash .dash-staff-row,#dash .dash-food-item,#dash .dash-shortcut{background:#1e1e23;border-color:#333339;box-shadow:none}
#dash .dash-action-title{color:#eeeef2}
.dash-action-icon{background:#303036;color:#c5c5cd}
.dash-action.warn .dash-action-icon{background:#3b2a1f;color:#f3a35b}
.dash-action.bad .dash-action-icon{background:#3c2327;color:#ff8790}
.dash-action.ok .dash-action-icon{background:#21372d;color:#7ed5a1}
.dash-panel-link{color:#f3a35b}
.dash-empty{border-color:#3c3c44;color:#aaaab3}
.dash-day-label{color:#c2c2ca}.dash-day-total{color:#9999a4}
#dash .dash-bar,#dash .dash-legend span:before{background:#b0b0ba}
#dash .dash-bar.dinner,#dash .dash-legend span:last-child:before{background:#73737f}
.dash-shortcut{color:#eeeeF2}
#dash .dash-shortcut:hover{background:#29292f;border-color:#f3a35b}
/* Higher specificity also overrides the older inline dashboard theme. */
#dash{--muted:#aaa;--line:#333;--accent:#f36b21;color:#f5f5f5}
#dash .dash-kpi,#dash .dash-panel{background:#181818;border-color:#333}
#dash .dash-action,#dash .dash-staff-row,#dash .dash-food-item,#dash .dash-shortcut{background:#202020;border-color:#383838}
#dash .dash-kpi-label,#dash .dash-kpi-meta,#dash .dash-action-meta,#dash .dash-staff-role,#dash .dash-date,#dash .dash-legend,#dash .dash-empty{color:#aaa}
#dash .dash-kpi-value,#dash .dash-action-title,#dash .dash-shortcut{color:#f5f5f5}
#dash .dash-empty{border-color:#444}
#dash .dash-day-label{color:#ccc}#dash .dash-day-total{color:#999}
#dash .dash-bar,#dash .dash-legend span:before{background:#31c7d9}
#dash .dash-bar.dinner,#dash .dash-legend span:last-child:before{background:#f36b21}
#dash .dash-panel-link{color:#f36b21}
#dash .dash-action-icon{background:#333;color:#ccc}
#dash .dash-action.warn .dash-action-icon{background:#3b2a1f;color:#f3a35b}
#dash .dash-action.bad .dash-action-icon{background:#3c2327;color:#ff8790}
#dash .dash-action.ok .dash-action-icon{background:#21372d;color:#7ed5a1}
#dash .dash-shortcut:hover{background:#292929;border-color:#f36b21}
