/* Approved FLS presentation. Screen-only: archive exports and printing stay unchanged. */
@media screen {
body[data-format-brand]{--ui-bg:#f5f2ed;--ui-surface:#fffdf9;--ui-soft:#eee8df;--ui-text:#32271f;--ui-muted:#796b60;--ui-line:#dfd5c6;--ui-accent:#a43420;--ui-on-accent:#fff4d8;--ui-hero:#49271c;--ui-hero-text:#ffe7af;--ui-radius:5px;--bg:var(--ui-bg);--panel:var(--ui-surface);--panel2:var(--ui-soft);--txt:var(--ui-text);--muted:var(--ui-muted);--line:var(--ui-line);--accent:var(--ui-accent);--ok:#24603a;--warn:#86540c;--bad:#b12839;background:var(--ui-bg)!important;color:var(--ui-text)!important;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.5;color-scheme:light}
html:has(body[data-format-brand]){background:#f5f2ed!important}
body[data-format-brand="kfc"]{--ui-bg:#f5f4f2;--ui-surface:#fff;--ui-soft:#f0ecee;--ui-text:#282328;--ui-muted:#756c73;--ui-line:#e3dce0;--ui-accent:#c8102e;--ui-on-accent:#fff;--ui-hero:#b80e2d;--ui-hero-text:#fff;--ui-radius:3px}
body[data-format-brand="alice"]{--ui-bg:#f8f7f3;--ui-surface:#fff;--ui-soft:#eeefe9;--ui-text:#282d26;--ui-muted:#697263;--ui-line:#e0e4da;--ui-accent:#bd2d33;--ui-on-accent:#fff;--ui-hero:#fff;--ui-hero-text:#2a3226;--ui-radius:15px}
body[data-format-brand] .app{display:block;min-height:100vh}
body[data-format-brand] .app>aside{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px 28px;position:relative;z-index:20;height:auto;overflow:visible;padding:20px max(24px,calc((100vw - 1450px)/2));background:var(--ui-surface)!important;border:0!important;border-bottom:2px solid var(--ui-accent)!important;box-shadow:0 3px 14px #31281c06!important}
body[data-format-brand] aside .logo{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;margin:0;color:var(--ui-text)!important;font-size:12px;letter-spacing:.13em}
body[data-format-brand] aside .logo>span{color:var(--ui-muted)!important;font-size:10px;letter-spacing:.11em;flex:0}
body[data-format-brand] .format-brand-mark{order:-1;width:215px;height:48px;padding:0;justify-content:flex-start;background:none}
body[data-format-brand] .format-brand-mark img{width:auto;max-width:100%;height:100%;object-fit:contain;object-position:left center;filter:none!important}
body[data-format-brand="kfc"] .format-brand-mark{height:57px;width:66px}
body[data-format-brand="alice"] .format-brand-mark{height:70px;width:80px;padding:6px;background:#282d26;border-radius:8px;justify-content:center}
body[data-format-brand] .format-brand-mark .format-brand-fallback{color:var(--ui-text)!important;text-align:left;font-family:Georgia,serif}
body[data-format-brand] .location-switcher{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 16px;align-content:center;border:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;color:var(--ui-text)!important}
body[data-format-brand] .location-switcher .switch-label{font-size:10px;letter-spacing:.13em;color:var(--ui-muted)!important;font-weight:600}
body[data-format-brand] .location-switcher .switch-label:nth-of-type(1){grid-area:1/1}body[data-format-brand] #formatSelect{grid-area:2/1}
body[data-format-brand] .location-switcher .switch-label:nth-of-type(2){grid-area:1/2}body[data-format-brand] #companySelect{grid-area:2/2}
body[data-format-brand] .location-switcher .switch-label:nth-of-type(3){grid-area:1/3}body[data-format-brand] #locationSelect{grid-area:2/3}
body[data-format-brand] .active-location-label{grid-column:1/-1;font-size:11px;margin-top:4px;color:var(--ui-muted)!important;overflow-wrap:anywhere}
body[data-format-brand] .app>aside>nav{grid-column:1/-1;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:6px;overflow:visible;min-width:0;padding:0;margin:0;flex:none}
body[data-format-brand] nav .nav-core{display:flex;gap:6px;padding:0;align-items:center}
body[data-format-brand] nav .nav-group{position:relative;border:0;margin:0;padding:0}
body[data-format-brand] nav button{width:auto;display:inline-flex;align-items:center;gap:8px;margin:0;padding:10px 13px;border-radius:var(--ui-radius);font-size:12px;font-weight:600;line-height:1.4;background:transparent!important;color:var(--ui-muted)!important;border:1px solid transparent!important;box-shadow:none!important}
body[data-format-brand] nav button:hover{background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] nav button.active{background:var(--ui-accent)!important;color:var(--ui-on-accent)!important;border-color:var(--ui-accent)!important;box-shadow:none!important}
body[data-format-brand] nav .nav-group summary{padding:10px 14px;min-height:39px;border-radius:var(--ui-radius);color:var(--ui-muted);font-size:11px;letter-spacing:.09em;border:1px solid transparent;gap:18px}
body[data-format-brand] nav .nav-group[open]>summary{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-text)}
body[data-format-brand] nav .nav-group summary:after{color:var(--ui-accent)}
body[data-format-brand] nav .nav-group-body{position:absolute;top:calc(100% + 8px);left:0;z-index:50;width:250px;max-height:65vh;overflow:auto;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-radius);padding:8px;box-shadow:0 12px 36px #231a1920}
body[data-format-brand] nav .nav-group-body button{display:flex;width:100%;text-align:left;padding:11px 12px}
body[data-format-brand] .app>aside>.license{grid-column:2;grid-row:3;justify-self:end;margin:0;padding:0;border:0!important;box-shadow:none;font-size:10px;line-height:1.5;background:none!important;color:var(--ui-muted)!important}
body[data-format-brand] .license br{display:none}body[data-format-brand] .license b,body[data-format-brand] .license span{margin-left:8px}body[data-format-brand] .license button{margin-left:8px}
body[data-format-brand] main{max-width:1500px;margin:0 auto;padding:28px 32px 42px}
body[data-format-brand] .view{min-width:0}
body[data-format-brand] h1,body[data-format-brand] h2,body[data-format-brand] h3,body[data-format-brand] .title{color:var(--ui-text)!important;letter-spacing:-.035em}
body[data-format-brand] h1{font-size:31px;font-weight:650;line-height:1.2}
body[data-format-brand] .title{border-left-color:var(--ui-accent)!important;font-size:17px}
body[data-format-brand] :is(.small,.sub,.mini,.label,.switch-label){color:var(--ui-muted)!important}
body[data-format-brand] .card{background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius);box-shadow:none;padding:20px}
body[data-format-brand] :is(input,select,textarea){background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-line)!important;border-radius:6px;min-height:37px;font:inherit;line-height:1.3;accent-color:var(--ui-accent)}
body[data-format-brand] :is(input,textarea)::placeholder{color:#81796f!important;opacity:1}
body[data-format-brand] input[type=checkbox],body[data-format-brand] input[type=radio]{min-height:0;width:auto}
body[data-format-brand] :is(input,select,textarea):focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:2px;border-color:var(--ui-accent)!important;box-shadow:none!important}
body[data-format-brand] button:focus-visible,body[data-format-brand] summary:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
body[data-format-brand] .btn{background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius);padding:10px 14px;font-size:12px;box-shadow:none}
body[data-format-brand] .btn:hover{border-color:var(--ui-accent)!important;background:var(--ui-soft)!important}
body[data-format-brand] .btn.primary{background:var(--ui-accent)!important;color:var(--ui-on-accent)!important;border-color:var(--ui-accent)!important;font-weight:650}
body[data-format-brand] .btn.bad{background:#fff0f0!important;color:#9d1e2d!important;border-color:#e4b5bc!important}
body[data-format-brand] .note{background:#fff4dd!important;color:#6f4a18!important;border:1px solid #e8d2a9!important;border-left:3px solid var(--ui-accent)!important;border-radius:var(--ui-radius)}
body[data-format-brand] .badge{background:var(--ui-soft)!important;color:var(--ui-text)!important;border:1px solid var(--ui-line)!important}
body[data-format-brand] .master-login{background:var(--ui-bg);color:var(--ui-text)}
body[data-format-brand] .master-login-card{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-line);border-radius:var(--ui-radius);box-shadow:0 24px 70px #31281c14}
body[data-format-brand] .master-brand span{color:var(--ui-accent)}
body[data-format-brand] .table,body[data-format-brand] table{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] :is(.table th,table th,thead th){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;font-weight:650}
body[data-format-brand] :is(.table td,table td,tbody td){border-color:var(--ui-line)!important}
body[data-format-brand] table:not(.timeline):not(.kfc-timeline):not(.inv-table) td{background:var(--ui-surface)!important;color:var(--ui-text)!important}
body[data-format-brand] table:not(.timeline):not(.kfc-timeline):not(.inv-table) tr:hover td{background:var(--ui-soft)!important}
body[data-format-brand] :is(.inv-major,.inv-sub).yellow td{background:#8b5a00!important;color:#fff!important}
body[data-format-brand] :is(.inv-major,.inv-sub).blue td{background:#243447!important;color:#fff!important}
body[data-format-brand] :is(.inv-major,.inv-sub).orange td{background:#7a3519!important;color:#fff!important}
body[data-format-brand] :is(.inv-major,.inv-sub).green td{background:#274a35!important;color:#fff!important}
body[data-format-brand] :is(.inv-toolbar,.sales-toolbar,.inv-actions,.sales-actions,.inv-summary,.sales-summary){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] :is(.inv-table td,.sales-table td){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] :is(.inv-summary b,.staff-list-title){color:var(--ui-text)!important}
body[data-format-brand] :is(.inv-major td,.inv-sub td){color:#fff!important}
body[data-format-brand] .staff-view-tabs .btn.active{background:var(--ui-accent)!important;color:var(--ui-on-accent)!important;border-color:var(--ui-accent)!important}
body[data-format-brand] #dash{--muted:var(--ui-muted);--line:var(--ui-line);--accent:var(--ui-accent);color:var(--ui-text)}
body[data-format-brand] #dash .dash-head{position:relative;overflow:hidden;align-items:center;padding:32px 30px;border:1px solid #ffffff18;border-radius:var(--ui-radius);background:var(--ui-hero);color:var(--ui-hero-text);min-height:165px;margin-bottom:20px;gap:22px}
body[data-format-brand] #dash .dash-head h1{color:var(--ui-hero-text)!important;font-size:33px;line-height:1.17;letter-spacing:-.035em;max-width:760px}
body[data-format-brand] #dash .dash-head .sub{color:var(--ui-hero-text)!important;opacity:.8;font-size:12px;max-width:650px;margin-top:10px!important;line-height:1.6}
body[data-format-brand] #dash .dash-date{color:var(--ui-hero-text);flex-shrink:0;font-size:11px}
body[data-format-brand] #dash .dash-date b{color:var(--ui-hero-text);font-size:14px}
body[data-format-brand] #dash .dash-kpis{gap:0;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-radius);padding:4px 0;margin-bottom:22px;grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-format-brand] #dash .dash-kpi{min-height:118px;border:0;border-radius:0;background:none;padding:18px 22px;box-shadow:none;overflow:visible}
body[data-format-brand] #dash .dash-kpi+.dash-kpi{border-left:1px solid var(--ui-line)}
body[data-format-brand] #dash .dash-kpi-label{color:var(--ui-muted);font-weight:600;font-size:10px;letter-spacing:.1em}
body[data-format-brand] #dash .dash-kpi-value{color:var(--ui-text);font-size:30px;font-weight:650;letter-spacing:-.04em}
body[data-format-brand] #dash .dash-kpi-meta{color:var(--ui-muted);font-size:11px;line-height:1.5}
body[data-format-brand] #dash .dash-panel{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-radius);padding:23px;color:var(--ui-text)}
body[data-format-brand] #dash .dash-panel-title{font-size:18px;font-weight:650;color:var(--ui-text)}
body[data-format-brand] #dash :is(.dash-action,.dash-staff-row,.dash-food-item,.dash-shortcut){background:var(--ui-surface);border-color:var(--ui-line);border-radius:var(--ui-radius);color:var(--ui-text)}
body[data-format-brand] #dash :is(.dash-action-title,.dash-shortcut,.dash-staff-shift){color:var(--ui-text)}
body[data-format-brand] #dash :is(.dash-action-meta,.dash-staff-role,.dash-empty,.dash-legend,.dash-day-total){color:var(--ui-muted)}
body[data-format-brand] #dash .dash-day-label{color:var(--ui-text)}
body[data-format-brand] #dash .dash-action-icon{background:var(--ui-soft);color:var(--ui-text)}
body[data-format-brand] #dash .dash-action.warn .dash-action-icon{background:#ffebc7;color:#855312}
body[data-format-brand] #dash .dash-action.bad .dash-action-icon{background:#ffe0e4;color:#a8283c}
body[data-format-brand] #dash .dash-action.ok .dash-action-icon{background:#e0efdf;color:#27613c}
body[data-format-brand] #dash .dash-panel-link{color:var(--ui-accent)}
body[data-format-brand] #dash .dash-shortcut:hover{background:var(--ui-soft);border-color:var(--ui-accent)}
body[data-format-brand] #dash .dash-empty{border-color:var(--ui-line);padding:20px}
body[data-format-brand] #dash .dash-bar,body[data-format-brand] #dash .dash-legend span:before{background:var(--ui-accent)}
body[data-format-brand] #dash .dash-bar.dinner,body[data-format-brand] #dash .dash-legend span:last-child:before{background:#a0927a}
body[data-format-brand] #dashTurnover{border-top:3px solid var(--ui-accent)}
body[data-format-brand] #dashTurnover .turnover-total{font-size:37px;margin-top:20px}
body[data-format-brand] #dashTurnover .turnover-chart{background:#080b09;border-radius:var(--ui-radius);padding:16px;margin-top:20px;overflow-x:auto}
body[data-format-brand] #dashTurnover .turnover-data-tools{border-top:1px solid var(--ui-line);padding-top:12px;margin-top:16px}
body[data-format-brand] #dashTurnover .turnover-data-tools summary{color:var(--ui-muted);font-size:12px;cursor:pointer}
body[data-format-brand] #planning>.sub{max-width:850px;margin-bottom:24px}
body[data-format-brand] #planning :is(.planning-step-card,.planning-settings,.planning-results-overview,.coverage-box,.shift-editor){background:var(--ui-surface)!important;border-color:var(--ui-line)!important;border-radius:var(--ui-radius);color:var(--ui-text)!important}
body[data-format-brand] #planning :is(.planning-step-head,.planning-settings summary,.planning-stat,.coverage-chip){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] #planning .timeline-wrap{border-color:var(--ui-line);border-radius:var(--ui-radius);box-shadow:none}
body[data-format-brand] #planning .timeline :is(th.name,td.name){color:#352b20!important;background:#fff9eb!important}
body[data-format-brand] #planning .timeline .headtime{background:var(--ui-soft)!important;color:var(--ui-text)!important}
body[data-format-brand] #planning .timeline .section td{background:var(--ui-hero)!important;color:var(--ui-hero-text)!important}
body[data-format-brand] #planning .timeline .on{background:#e7bf78!important;color:#3b2c16!important}
body[data-format-brand] #planning .timeline .off{background:#fffdf7!important;color:#34291d!important}
body[data-format-brand] #planning .timeline .summary{background:#f4e5bd!important;color:#4c391d!important}
body[data-format-brand] #kfcPlanning :is(.kfc-timeline th,.kfc-timeline td){font-size:10px;height:30px}
body[data-format-brand] #kfcPlanning .kfc-timeline th:first-child{background:var(--ui-soft)!important;color:var(--ui-text)!important}
body[data-format-brand] #kfcPlanning .kfc-timeline td:first-child{color:#222!important}
body[data-format-brand] #network :is(.network-format,.network-company,.format-company-create,.network-location-card,.supervisor-card){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] #network :is(.network-format-title,.inherit-chip){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
body[data-format-brand] #network :is(.network-company-name,.format-company-create-title){color:var(--ui-text)!important}
body[data-format-brand="oww"] :is(h1,h2,h3,.dash-panel-title){font-family:Georgia,'Times New Roman',serif;font-weight:700!important}
body[data-format-brand="oww"] #dash .dash-head{background:linear-gradient(110deg,#2e1d14,#5b3020);box-shadow:inset 0 0 0 7px #ffffff05,inset 0 0 0 8px #d4b07535}
body[data-format-brand="oww"] #dash .dash-head:after{content:'OWW';font:900 140px/.9 Georgia,serif;color:#f4d7a60a;position:absolute;right:35px;bottom:-15px;pointer-events:none}
body[data-format-brand="oww"] #dash .dash-kpi-value{font-family:Georgia,serif;font-weight:700}
body[data-format-brand="kfc"] #dash .dash-head{border-right:12px solid #fff;box-shadow:12px 0 0 #c8102e}
body[data-format-brand="kfc"] #dash .dash-head h1{font-weight:800;text-transform:uppercase;font-size:31px}
body[data-format-brand="alice"] #dash .dash-head{border:1px solid var(--ui-line);border-left:6px solid #d53238}
body[data-format-brand="alice"] #dash .dash-head h1,body[data-format-brand="alice"] #dash .dash-panel-title{font-family:Georgia,serif;font-weight:500;font-size:34px}
body[data-format-brand="alice"] #dash .dash-panel-title{font-size:22px}
body[data-format-brand="alice"] .btn.primary{background:#2c3328!important;border-color:#2c3328!important;border-radius:22px}
body[data-format-brand="alice"] #planning .timeline .on{background:#d9e4cd!important;color:#34482a!important}
@media(min-width:1100px){body[data-format-brand] .app>aside>nav{padding-right:280px}body[data-format-brand] .app>aside>.license{grid-row:2;align-self:center;max-width:275px;text-align:right}}
@media(max-width:1100px){body[data-format-brand] .app>aside{grid-template-columns:180px minmax(0,1fr);padding:18px 22px;gap:13px 20px}body[data-format-brand] .format-brand-mark{width:175px}body[data-format-brand] .app>aside>.license{grid-column:1/-1;grid-row:3}body[data-format-brand] #dash .dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px}body[data-format-brand] #dash .dash-kpi{border:0}body[data-format-brand] #dash .dash-kpi+.dash-kpi{border-left:0}body[data-format-brand] main{padding:24px}body[data-format-brand] #dash .dash-head{padding:26px}}
@media(max-width:700px){body[data-format-brand] .app>aside{grid-template-columns:1fr;padding:16px;gap:14px}body[data-format-brand] aside .logo{grid-row:1;flex-direction:row;align-items:center;justify-content:space-between;font-size:10px}body[data-format-brand] .format-brand-mark{height:35px;width:170px}body[data-format-brand="kfc"] .format-brand-mark{height:44px;width:50px}body[data-format-brand="alice"] .format-brand-mark{height:54px;width:62px;padding:4px}body[data-format-brand] aside .logo>span{max-width:110px;flex:initial;font-size:9px}body[data-format-brand] .location-switcher{grid-area:2/1;gap:4px 8px}body[data-format-brand] .location-switcher select{padding:8px 6px;font-size:12px}body[data-format-brand] .app>aside>nav{grid-area:3/1;gap:4px}body[data-format-brand] .app>aside>.license{grid-area:4/1;justify-self:start}body[data-format-brand] nav button,body[data-format-brand] nav .nav-group summary{padding:10px;font-size:11px;min-height:44px}body[data-format-brand] nav .nav-group-body{width:230px;max-width:calc(100vw - 36px)}body[data-format-brand] nav .nav-group:last-of-type .nav-group-body{left:auto;right:0}body[data-format-brand] main{padding:22px 16px}body[data-format-brand] #dash .dash-head{display:block;padding:25px 23px;min-height:0}body[data-format-brand] #dash .dash-head h1{font-size:28px}body[data-format-brand] #dash .dash-date{text-align:left;margin-top:18px}body[data-format-brand] #dash .dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-format-brand] #dash .dash-kpi{padding:16px;min-height:114px}body[data-format-brand] #dash .dash-kpi-value{font-size:26px}body[data-format-brand] #dash .dash-panel{padding:18px}body[data-format-brand] #dash .dash-panel-head{flex-wrap:wrap}body[data-format-brand] .btn{min-height:40px}body[data-format-brand] .form{grid-template-columns:1fr 1fr}}
@media(max-width:420px){body[data-format-brand] #dash .dash-kpis{grid-template-columns:1fr}body[data-format-brand] #dash .dash-kpi{display:grid;grid-template-columns:1fr auto;gap:4px;align-items:center;min-height:0;padding:15px 18px;border-bottom:1px solid var(--ui-line)}body[data-format-brand] #dash .dash-kpi-value{margin:0}body[data-format-brand] #dash .dash-kpi-meta{grid-column:1/-1;margin:0}body[data-format-brand] .form{grid-template-columns:1fr}body[data-format-brand] #dashTurnover .turnover-total{font-size:30px}}
@media(prefers-reduced-motion:no-preference){body[data-format-brand] .btn,body[data-format-brand] nav button{transition:background-color .16s ease,border-color .16s ease}}
}
