:root{--wine:#4a151d;--wine2:#5e2028;--accent:#e84b3a;--ink:#172231;--muted:#606d7e;--green:#239c5b;--line:#e6e9ef;--bg:#f3f5f8;--red:#e94c46;font-family:'Segoe UI',Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);font-size:14px}
button,input,select{font:inherit}
button,a,input,select{outline-offset:3px}
button,a{touch-action:manipulation}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button{border:0;background:none;color:inherit}
input,select{border:1px solid var(--line);border-radius:6px;padding:9px 11px;background:#fff;color:var(--ink);max-width:100%}
input:focus,select:focus{outline:2px solid #c9a9ac}
button:disabled{cursor:default;opacity:.55}
.app-shell{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:100vh}
.sidebar{background:linear-gradient(145deg,#5e2028,#351016);color:#f0f4f8;padding:18px 10px 15px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}
.brand{font-size:22px;letter-spacing:1.2px;font-weight:800;padding:0 10px}
.slogan{font-size:12px;line-height:1.45;color:#c9a9ac;padding:8px 10px 18px;max-width:170px}
.nav{display:flex;flex-direction:column;gap:5px}
.nav a{padding:10px 10px;border-radius:6px;display:flex;gap:11px;align-items:center;font-size:14px;transition:background .15s}
.nav a:hover{background:#ffffff12}
.nav a.active{background:var(--accent);box-shadow:0 3px 12px #21070b35}
.nav-icon{width:17px;height:17px;flex:none}
.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff16;padding:14px 10px 0;display:grid;gap:13px;font-size:13px;color:#e8d8da}
.logout{padding:0;text-align:left;color:#fff;display:flex;gap:10px;align-items:center}
.workspace{padding:0 16px 18px;min-width:0}
.header{min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--line);margin-bottom:12px}
.store-title{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.store-title h1{font-size:23px;line-height:1.1;margin:0;font-weight:750;letter-spacing:-.6px}
.store-status{font-size:12px;color:var(--green);font-weight:600}
.store-status:before{content:'●';font-size:8px;margin-right:7px}
.store-meta{color:var(--muted);font-size:12px;margin-top:9px;display:flex;gap:10px}
.store-meta span+span{border-left:1px solid #d6dbe4;padding-left:10px}
.header-controls{display:flex;align-items:center;gap:14px}
.period-nav{display:flex;align-items:center;gap:8px}
.arrow{border:1px solid var(--line);background:#fff;border-radius:6px;width:25px;height:27px;font-size:18px}
.period-input{font-size:13px;font-weight:700;width:148px;border:0;background:transparent;padding:5px}
.segments{display:flex;background:#eef0f4;border:1px solid var(--line);padding:2px;border-radius:6px;gap:2px}
.segments button{font-size:13px;padding:7px 15px;border-radius:4px;white-space:nowrap}
.segments .active{background:var(--wine2);color:#fff;box-shadow:0 2px 5px #4a151d20}
.breadcrumbs{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.breadcrumbs a:hover{color:var(--wine);text-decoration:underline}
.view-title{font-size:17px;margin:0 0 14px}
.kpi-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-bottom:12px}
.kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.kpi{border:1px solid var(--line);border-radius:8px;background:linear-gradient(#fff,#fcfcfe);padding:11px 10px;min-height:90px;display:block;transition:box-shadow .15s}
.kpi:hover{box-shadow:0 3px 12px #2b344b0c}
.kpi-label{font-size:13px;color:#657183;margin-bottom:8px;line-height:1.2}
.kpi-value{font-size:23px;font-weight:700;letter-spacing:-.6px;white-space:nowrap}
.kpi-sub{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.4}
.positive{color:var(--green)!important}
.negative{color:var(--red)!important}
.muted{color:var(--muted)}
.home-main{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:10px;align-items:stretch}
.home-bottom{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1.15fr) minmax(0,.85fr) minmax(0,1.05fr);gap:10px;align-items:stretch}
.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;min-width:0}
.panel h2,.panel-title{font-size:14px;font-weight:700;margin:0 0 14px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.panel-head a{font-size:12px;color:var(--wine2)}
.panel-note{color:var(--muted);font-size:12px;line-height:1.5;margin-top:12px}
.chart-legend{display:flex;align-items:center;gap:12px;font-size:12px;color:#5c697a;flex-wrap:wrap;margin:0 0 8px}
.chart-legend span:before{content:'';display:inline-block;vertical-align:middle;width:12px;height:2px;background:var(--accent);margin-right:4px}
.chart-legend .plan:before{background:#667792}
.chart-legend .ly:before{background:#b7c1d1}
.chart{width:100%;height:210px;display:block;overflow:visible}
.chart text{fill:#5f6d80;font-size:16px;font-variant-numeric:tabular-nums}
.chart .grid{stroke:#edf0f4;stroke-width:1}
.chart .point{cursor:pointer;stroke:#fff;stroke-width:1}
.chart .point:hover,.chart .point:focus{r:6;outline:none;stroke:var(--wine);stroke-width:2}
.chart.empty{display:grid;place-items:center;background:#fbfcfe;border-radius:5px;height:190px;fill:none}
.empty{min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;text-align:center;color:var(--muted);padding:20px;font-size:12px}
.empty strong{font-size:13px;color:#657183}
.loading{padding:70px;text-align:center;color:var(--muted)}
.forecast-value{font-size:25px;letter-spacing:-1px;font-weight:750;margin:10px 0 7px}
.progress{height:12px;background:#f3e8e9;border-radius:12px;overflow:hidden;margin:16px 0 14px}
.progress span{display:block;height:100%;background:var(--accent);border-radius:12px}
.pairs{display:grid;gap:10px;font-size:13px}
.pair{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.pair span:first-child{color:var(--muted)}
.pair strong{font-size:13px;white-space:nowrap}
.today-pairs{gap:12px;margin-top:12px}
.today-date{font-size:11px;color:var(--muted)}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
th{font-size:12px;font-weight:500;color:#637086;background:#f7f8fb;padding:8px 7px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:10px 7px;border-bottom:1px solid #eff1f5;white-space:nowrap}
tr:last-child td{border-bottom:0}
th.num,td.num{text-align:right}
tbody tr.clickable{cursor:pointer}
tbody tr.clickable:hover{background:#fff6f3}
.spark{width:64px;height:22px;display:block}
.compact td{padding:8px 5px;font-size:12px}
.compact th{padding:8px 5px;font-size:12px}
.home-bottom .panel{min-height:225px}
.small-chart{height:62px;margin-top:12px}
.donut{width:138px;height:138px;border-radius:50%;position:relative;margin:15px auto;display:grid;place-items:center;background:#edf0f5}
.donut:before{content:'';position:absolute;inset:20px;background:#fff;border-radius:50%}
.donut-center{position:relative;text-align:center;font-size:24px;font-weight:700}
.donut-center small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}
.donut-mini{width:100px;height:100px}
.donut-mini:before{inset:13px}
.donut-mini .donut-center{font-size:21px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;background:var(--wine2);color:#fff;padding:11px 17px;font-size:13px}
.button.accent{background:var(--accent)}
.button.secondary{background:#f2f4f7;color:#5b6678;border:1px solid var(--line)}
.wide{width:100%}
.focus-list{display:grid;gap:11px;font-size:12px}
.focus-item{display:flex;gap:8px;line-height:1.5}
.focus-dot{background:#fef0e9;color:var(--accent);padding:2px 5px;border-radius:4px;height:20px}
.source-footer{font-size:11px;color:var(--muted);margin-top:17px;display:flex;justify-content:space-between;gap:10px;line-height:1.5}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.product-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:13px;align-items:start}
.tabs-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:13px}
.filters{display:flex;gap:10px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.filters select,.filters input{font-size:13px;min-width:160px;padding:9px}
.structure{display:flex;align-items:center;gap:18px;min-height:200px}
.structure .donut{flex:none}
.structure-legend{display:grid;gap:12px;font-size:12px;flex:1}
.structure-legend a{display:flex;align-items:center;justify-content:space-between;gap:10px}
.swatch{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}
.dynamics-layout{display:grid;grid-template-columns:3fr 1fr;gap:13px;margin-bottom:13px}
.large-chart{height:285px}
.metric-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}
.metric-tabs button{padding:8px 13px;border-radius:5px;border:1px solid var(--line);background:#fff;font-size:13px}
.metric-tabs button.active{color:#fff;background:var(--wine2);border-color:var(--wine2)}
.status{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;background:#eef1f5;color:#687487}
.status.done{background:#e8f6ef;color:var(--green)}
.status.pending,.status.overdue{background:#fff0ef;color:var(--red)}
.entry-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:15px}
.entry-form{display:grid;grid-template-columns:1fr 1fr;gap:15px 17px}
.field{display:grid;gap:8px;font-size:13px}
.field small{color:var(--muted)}
.field input{width:100%}
.computed{background:#f2f4f7;border:1px solid var(--line);border-radius:5px;padding:10px;color:#687487;min-height:36px}
.span-two{grid-column:span 2}
.form-message{font-size:12px;line-height:1.5;min-height:17px}
.error-box{border:1px solid #f2c6c1;background:#fff7f6;color:#9b362d;padding:25px;border-radius:9px;display:grid;gap:14px}
.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}
.login-brand{background:linear-gradient(150deg,#5e2028,#351016);color:white;display:flex;flex-direction:column;justify-content:space-between;padding:60px}
.login-brand h1{font-size:36px;line-height:1.25;max-width:410px}
.login-brand p{color:#c9a9ac;line-height:1.7;max-width:400px}
.login-side{display:grid;place-items:center;padding:35px}
.login-card{width:330px;max-width:100%}
.login-card h2{font-size:26px;margin:0 0 12px}
.login-card>p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:30px}
.login-form{display:grid;gap:19px}
.login-form input{height:43px}
.login-foot{font-size:11px;color:var(--muted);line-height:1.6;margin-top:25px}
.modal-overlay{position:fixed;inset:0;background:#17223166;z-index:100;display:grid;place-items:center;padding:25px}
.modal{background:#fff;border-radius:12px;max-width:850px;width:100%;max-height:90vh;overflow:auto;padding:24px;box-shadow:0 20px 80px #0003}
.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.modal-head h2{margin:0;font-size:19px}
.modal-close{font-size:26px;color:var(--muted)}
.modal .kpi-grid{grid-template-columns:repeat(4,1fr)}
.notice{background:#fdf7f1;color:#7b6249;border:1px solid #f1e3d6;padding:11px 14px;border-radius:6px;font-size:11px;line-height:1.5;margin-bottom:14px}
.import-preview{margin-top:15px}
.no-shrink{white-space:nowrap}
.date-link{color:var(--wine2)}
.menu-toggle{display:none}
.footer-links{display:flex;gap:15px}
.footer-links a:hover{text-decoration:underline}
.login-kicker{font-size:11px;color:#c9a9ac;letter-spacing:2px}
.sbp-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:13px}
.panel .segments{width:max-content;margin-bottom:12px}
.table-empty{white-space:normal}
.summary-list{display:grid;gap:22px;margin-top:25px}
.summary-list strong{font-size:17px;display:block;margin-top:7px}
.subtle{font-size:12px;line-height:1.5;color:var(--muted)}
.row-link{border:0;padding:0;text-align:left;color:inherit}
.upload-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.upload-form .field{min-width:190px}
.section-gap{margin-top:16px}


/* Layout follows the approved store dashboard; fonts remain readable. */
.home-overview .panel-head h2{margin-bottom:12px;line-height:1.35}
.home-overview .panel-note{font-size:12px;line-height:1.4;margin-top:10px}
.home-overview .kpi-label{font-size:12px;min-height:16px}
.home-overview .kpi-sub{font-size:11px;line-height:1.35;margin-top:6px}
.home-overview .kpi-value.long{font-size:20px}
.home-overview .forecast-value{font-size:24px}
.home-overview .chart-legend{font-size:11px;gap:9px;margin-bottom:9px}
.home-overview .compact td:first-child{white-space:normal;max-width:115px;line-height:1.3}
.home-overview .compact .spark{width:52px}
.home-overview .today-date{display:block;margin-top:0;margin-bottom:12px;font-size:12px}
.home-overview .today-panel .pair span{font-size:12px}
.home-overview .today-panel .pair strong{font-size:13px}
.home-overview .home-sbp .pairs{gap:7px;font-size:12px}
.home-overview .home-sbp .pair strong{font-size:13px}
.home-overview .home-checklists .donut-mini{width:92px;height:92px;margin:12px auto 17px}
.home-overview .home-checklists .button{padding:9px 7px;font-size:12px}
.home-overview .home-focus .focus-dot{font-size:11px}
.home-overview .home-focus .focus-list{margin-top:2px}
.home-overview .home-focus .focus-item{align-items:flex-start}
.table-wrap{max-height:450px;overscroll-behavior:contain}
th{position:sticky;top:0;z-index:1}
.home-bottom .table-wrap{max-height:255px}
.modal .table-wrap{max-height:400px}
.kpi-value.long{font-size:21px}
.nav a{line-height:1.35}
.structure-legend a{line-height:1.45}
.field input{font-size:14px}
@media(max-width:1399px){
 .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .home-overview .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .home-bottom{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
 .home-bottom .home-focus{grid-column:1/-1;min-height:0}
 .home-focus .focus-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home-overview .home-main .chart{height:210px}
 .home-overview .forecast-value{font-size:22px}
}
@media(max-width:1100px){
 .app-shell{grid-template-columns:166px minmax(0,1fr)}
 .sidebar{padding-left:8px;padding-right:8px}
 .brand{font-size:21px}
 .nav a{font-size:13px;padding:10px 8px;gap:9px}
 .workspace{padding:0 14px 18px}
 .header{gap:10px;flex-wrap:wrap;padding:12px 0;min-height:78px}
 .header-controls{gap:6px}
 .store-title{gap:10px}.store-title h1{font-size:22px}
 .store-meta{font-size:11px;gap:7px}
 .segments button{padding:7px 10px}
 .home-overview .home-main{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}
 .home-overview .home-main .home-sbp{grid-column:1/-1}
 .home-overview .today-pairs{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0;gap:10px 18px}
 .home-overview .today-panel .panel-head{float:left;margin-right:22px}
 .home-overview .today-panel .today-date{margin-bottom:10px}
 .home-overview .home-bottom{grid-template-columns:minmax(0,2.1fr) minmax(0,1fr)}
 .home-bottom .home-checklists{grid-column:2;grid-row:2}
 .home-bottom .home-focus{grid-column:1;grid-row:2}
 .home-focus .focus-list{grid-template-columns:1fr 1fr}
 .two-col,.product-layout{grid-template-columns:1fr 1fr}
 .entry-layout,.sbp-grid{grid-template-columns:1fr 1fr}
 .dynamics-layout{grid-template-columns:minmax(0,2.5fr) minmax(0,1fr)}
 .home-overview .home-checklists{min-height:180px}
 .home-checklists .donut-mini{float:left;margin-right:18px!important}
 .home-checklists .button{width:auto;max-width:100%;margin-top:10px}
}
@media(max-width:780px){
 .app-shell{grid-template-columns:1fr}
 .sidebar{position:fixed;z-index:60;left:0;width:190px;transform:translateX(-100%);transition:transform .2s}
 .app-shell.menu-open .sidebar{transform:translateX(0);box-shadow:20px 0 60px #0005}
 .menu-toggle{display:inline-block;font-size:22px;margin-right:8px}
 .header{padding:14px 0;gap:12px}
 .header-controls{justify-content:space-between;width:100%;flex-wrap:wrap}
 .store-title h1{font-size:23px}.store-status{font-size:11px}
 .store-meta{font-size:11px;flex-wrap:wrap}
 .kpi-grid,.kpi-grid.four,.home-overview .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-overview .home-main,.home-overview .home-bottom,.two-col,.product-layout,.sbp-grid,.entry-layout,.dynamics-layout{grid-template-columns:1fr}
 .home-bottom .home-checklists,.home-bottom .home-focus,.home-overview .today-panel{grid-column:auto;grid-row:auto}
 .home-overview .today-pairs{grid-template-columns:1fr 1fr}
 .home-overview .today-panel .panel-head{float:none;margin-right:0}
 .home-focus .focus-list{grid-template-columns:1fr}
 .home-checklists .donut-mini{float:none;margin:12px auto 17px!important}
 .home-checklists .button{width:100%}
 .login-page{grid-template-columns:1fr}.login-brand{padding:25px;min-height:170px}
 .login-brand h1{font-size:24px;margin:20px 0}.login-brand p,.login-brand .login-kicker{display:none}
 .login-side{padding:35px 24px}.login-card{width:380px}
 .source-footer{flex-direction:column}
 .tabs-row{flex-wrap:wrap}
 .entry-form{grid-template-columns:1fr 1fr}
 .modal{padding:17px}.modal .kpi-grid{grid-template-columns:repeat(2,1fr)}
 .modal-overlay{padding:12px}
 .structure{gap:12px}.large-chart{height:230px}
 .summary-list{grid-template-columns:1fr 1fr;gap:15px}
}

.product-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:13px;align-items:start}
.product-column{display:grid;gap:13px;min-width:0}
@media(max-width:760px){.product-panels{grid-template-columns:1fr}}

.year-comparison{border-bottom:1px solid #e2e7ef;margin-bottom:20px;padding-bottom:14px}.year-comparison h3{font-size:15px;margin:0 0 12px}.year-comparison .summary-list{gap:14px}

.dynamics-layout{align-items:start;grid-template-columns:minmax(0,3fr) minmax(290px,1fr)}
.dynamics-layout>.panel{min-height:0}
.dynamics-layout .large-chart{height:300px;margin:12px 0 0}
.dynamics-layout .summary-list{margin-top:12px;gap:12px}
.dynamics-layout .summary-list strong{font-size:20px;color:#152638;margin-top:5px}
.dynamics-layout .summary-list strong.positive{color:#009a58}
.dynamics-layout .summary-list strong.negative{color:#ff343f}
.dynamics-layout .year-comparison{padding-bottom:12px;margin-bottom:12px}
.dynamics-layout .year-comparison h3{font-size:14px;margin-bottom:10px}
.dynamics-layout .year-comparison .summary-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dynamics-layout .year-comparison .summary-list strong{margin:0;font-size:18px;white-space:nowrap}
.dynamics-layout .dynamics-stats{grid-template-columns:1fr 1fr;gap:14px 12px}
.dynamics-layout .dynamics-stats strong{font-size:17px}
.dynamics-layout .panel-note{font-size:12px;line-height:1.5}
@media(max-width:900px){.dynamics-layout{grid-template-columns:1fr}.dynamics-layout .large-chart{height:240px}}

.period-date-control{position:relative}.period-date-control.is-week{min-width:228px}.is-week .period-input{width:228px;color:transparent!important}.is-week .period-input::-webkit-datetime-edit{opacity:0}.week-range{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:13px;font-weight:600;color:#152638;pointer-events:none;white-space:nowrap}

.period-date-control.is-week{min-width:350px}.is-week .period-input{width:350px}@media(max-width:600px){.period-date-control.is-week{min-width:310px}.is-week .period-input{width:310px}.week-range{font-size:12px}}

.sidebar-information{display:flex;align-items:center;gap:7px;color:#dac6c8;font-size:12px;padding:7px 8px;margin-top:16px;text-decoration:none;border-radius:5px}.sidebar-information span{font-size:15px}.sidebar-information:hover,.sidebar-information.active{color:white;background:#ffffff12}
.information-page{max-width:1300px;margin:0 auto}.information-heading{display:flex;align-items:center;justify-content:space-between;margin:10px 0 20px}.information-heading h2{font-size:28px;margin:0 0 8px}.information-heading p{color:#657183;margin:0;font-size:15px}.information-version{background:#e7edf4;padding:8px 12px;border-radius:7px;font-size:13px}.information-intro{font-size:16px;line-height:1.6;margin:6px 0}.information-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.information-grid .panel{padding:22px}.information-row{display:grid;grid-template-columns:145px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #e9edf3;font-size:14px;line-height:1.6}.information-row:last-of-type{border-bottom:0}.information-row span{color:#526176}.information-flow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0}.information-flow span{padding:12px;background:#f1f4f8;border-radius:7px;font-size:14px}.information-flow b{color:#5e2028}@media(max-width:900px){.information-grid{grid-template-columns:1fr}}@media(max-width:500px){.information-row{grid-template-columns:1fr;gap:5px}}

/* Keep the information link visible on short screens. */
.sidebar .brand,.sidebar .slogan,.sidebar-bottom{flex-shrink:0}
.sidebar .nav{min-height:0;overflow-y:auto}
.sidebar-bottom{gap:8px;padding-top:10px}
.sidebar-information{margin-top:4px}

.sidebar .nav{flex:1}
.sidebar-bottom{margin-top:12px}
.sidebar-information{padding:6px 0;color:#f0dfe1}

.information-icon{width:18px;height:18px;flex:none;display:block;color:#f4e8ea}

.chart-tooltip{position:fixed;z-index:2000;pointer-events:none;min-width:230px;padding:14px 16px;border:1px solid #e4d8da;border-top:3px solid #5e2028;border-radius:10px;background:#fff;box-shadow:0 8px 26px #35101624;font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums}
.chart-tooltip[hidden]{display:none}
.chart-tooltip-date{font-size:13px;font-weight:600;color:#5e2028;padding-bottom:9px;margin-bottom:8px;border-bottom:1px solid #eceef2}
.chart-tooltip-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:4px 0;color:#606d7e}
.chart-tooltip-row strong{font-size:17px;font-weight:700;color:#172231}
.chart-tooltip-row.current strong{color:#e84b3a}.chart-tooltip-row.previous strong{color:#758599}.chart-tooltip-row.positive strong{color:#009a58}.chart-tooltip-row.negative strong{color:#e94c46}

.info-redesign{font-family:"Segoe UI",Arial,sans-serif;padding:12px 0 8px}
.info-hero{background:#5e2028;color:white;border-radius:14px;padding:30px 32px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.info-eyebrow{font-size:13px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#e7bbc1}
.info-hero h2{font-size:clamp(26px,2.5vw,36px);line-height:1.2;margin:17px 0 14px;letter-spacing:-.7px}
.info-hero p{font-size:18px;line-height:1.55;color:#f1dce0;margin:0}
.info-version{background:#79323c;padding:10px 15px;border-radius:9px;font-size:14px;white-space:nowrap}
.info-section-title{font-size:22px;margin:26px 0 16px}
.info-roles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.info-role,.info-card{background:white;border:1px solid #e6e9ef;border-radius:14px;padding:22px}
.info-symbol{width:40px;height:40px;border-radius:10px;color:white;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.info-symbol .nav-icon{width:23px;height:23px}
.info-redesign .coral{background:#e84b3a}.info-redesign .blue{background:#4c789e}.info-redesign .green{background:#239c5b}.info-redesign .wine{background:#5e2028}
.info-role h4{font-size:17px;margin:0 0 10px;line-height:1.4}.info-role>strong{font-size:14px;color:#5e2028}.info-role p{font-size:14px;color:#606d7e;line-height:1.6;margin:9px 0 0}
.info-details{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.info-card h3{font-size:22px;margin:0 0 20px;line-height:1.3}
.info-source{display:grid;grid-template-columns:8px 130px 1fr;gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid #edf0f4}
.info-source:last-child{border:0}.info-dot{width:8px;height:8px;border-radius:50%;margin-top:7px}.info-source strong{font-size:15px;line-height:1.5}.info-source p{margin:0;color:#606d7e;font-size:14px;line-height:1.6}
.info-schedule{display:flex;align-items:center;gap:28px;margin:25px 0}.info-schedule>strong{color:#5e2028;font-size:46px;letter-spacing:-1px}.info-schedule b{font-size:17px}.info-schedule p{font-size:14px;color:#606d7e;margin:8px 0 0}
.info-flow{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f7eff1;padding:15px;border-radius:9px;color:#5e2028;font-size:15px;font-weight:600}
.info-condition,.info-periods{font-size:14px;color:#606d7e;line-height:1.6;margin:18px 0}.info-notification{display:flex;gap:12px;color:#239c5b;background:#edf8f2;padding:14px;border-radius:9px}.info-notification .nav-icon{margin-top:3px}.info-notification p{margin:0;color:#365c48;font-size:14px;line-height:1.6}
.info-author{background:#f0e5e7;border-radius:14px;padding:25px;margin-top:20px;color:#5e2028}.info-author-main{display:flex;gap:22px;align-items:center}.info-avatar{width:66px;height:66px;background:#5e2028;color:white;border-radius:14px;display:grid;place-items:center;font-size:27px;font-weight:700;flex:none}.info-author .info-eyebrow{color:#915e67}.info-author h3{font-size:28px;margin:8px 0 7px;letter-spacing:-.4px}.info-author-main p{font-size:17px;line-height:1.5;margin:0}.info-rights{font-size:13px;line-height:1.6;margin:22px 0 0;color:#79515a}
@media(max-width:1050px){.info-roles{grid-template-columns:repeat(2,minmax(0,1fr))}.info-source{grid-template-columns:8px 110px 1fr}.info-schedule{gap:18px}.info-schedule>strong{font-size:38px}}
@media(max-width:750px){.info-details{grid-template-columns:1fr}.info-hero{padding:24px;flex-direction:column}.info-desktop-break{display:none}.info-author-main{align-items:flex-start}.info-hero p{font-size:16px}}
@media(max-width:450px){.info-roles{grid-template-columns:1fr}.info-source{grid-template-columns:8px 1fr}.info-source p{grid-column:2}.info-card{padding:18px}.info-author h3{font-size:23px}.info-author-main{gap:14px}.info-avatar{width:48px;height:48px;font-size:21px}.info-author-main p{font-size:15px}.info-flow{font-size:13px;padding:12px}}

.info-roles{grid-template-columns:repeat(5,minmax(0,1fr))}.info-redesign .violet{background:#77558e}
@media(max-width:1150px){.info-roles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.info-roles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.info-roles{grid-template-columns:1fr}}

.delivery-status-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px}.delivery-status-button{padding:15px 12px;border-radius:9px;font-size:15px;font-weight:600;line-height:1.5;border:2px solid transparent}.delivery-status-button.delivered{background:#e7f5ed;color:#087942;border-color:#b4dfc5}.delivery-status-button.not-delivered{background:#fceceb;color:#c53631;border-color:#f0bfba}.delivery-status-button.delivered.selected{background:#239c5b;color:white;border-color:#087942}.delivery-status-button.not-delivered.selected{background:#e94c46;color:white;border-color:#b52621}.delivery-status-button.selected{box-shadow:0 0 0 3px #17223112}.delivery-status-picker .panel-note{margin:0}@media(max-width:600px){.delivery-status-picker{grid-template-columns:1fr}}

.home-sbp-ring-link{display:block;border-radius:10px}.home-sbp-ring{display:flex;justify-content:center;padding:12px 0 18px}.home-sbp-ring .ops-ring{width:154px;height:154px;margin:0}.home-sbp-values{margin-bottom:12px}.home-sbp-ring-link:hover .ops-ring{filter:brightness(.97)}

.delivery-explanation{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px;border:1px solid #f0bfba;border-radius:9px;background:#fff5f4}.delivery-explanation[hidden]{display:none}.delivery-explanation h3{grid-column:1/-1;font-size:16px;color:#b52621;margin:0}.delivery-explanation textarea{font:inherit;padding:10px;border:1px solid var(--line);border-radius:6px;resize:vertical;width:100%;background:white;line-height:1.5}

.delivery-dashboard-reason{grid-column:1/-1;flex-basis:100%;width:100%;color:#a52c28;line-height:1.5;font-size:12px}.ops-delivery-line:has(.delivery-dashboard-reason){flex-wrap:wrap;gap:5px}

.chart-viewport{min-width:0;max-width:100%}.mobile-menu-backdrop{display:none}
@media(max-width:600px){
 body{-webkit-text-size-adjust:100%}.workspace{padding:0 12px 20px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
 .header{display:flex;flex-direction:column;align-items:stretch;gap:14px}.header>div{min-width:0}.store-title{gap:8px}.store-title h1{font-size:22px}.menu-toggle{min-width:44px;min-height:44px;margin-right:0}.store-status{font-size:12px}
 .header-controls{display:flex;flex-direction:column;align-items:stretch;gap:10px}.header-controls select{width:100%;max-width:100%;min-height:44px;font-size:16px}
 .period-nav{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px}.arrow{min-height:44px;min-width:44px}.period-date-control,.period-date-control.is-week{min-width:0;width:100%;max-width:100%}.period-input,.is-week .period-input{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px}.week-range{font-size:12px;white-space:normal;line-height:1.4;max-width:calc(100% - 30px)}
 .header-controls>.segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.header-controls>.segments button{min-height:44px;font-size:14px;padding:7px 5px}
 .sidebar{height:100dvh;width:min(280px,85vw);padding-bottom:max(15px,env(safe-area-inset-bottom));z-index:70}.sidebar .nav a{min-height:44px}.mobile-menu-backdrop{display:block;position:fixed;inset:0;z-index:65;background:#17223170;backdrop-filter:blur(2px)}
 .panel,.ops-panel{min-width:0;padding:14px}.panel-head{gap:8px;flex-wrap:wrap}.kpi-card{min-width:0;padding:13px 11px}.kpi-card strong{font-size:22px;overflow-wrap:anywhere}.kpi-card .subtle{line-height:1.5}
 .table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}th,td{padding:11px 10px;white-space:nowrap}.chart-viewport{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.chart-viewport .chart{min-width:540px;height:240px}.chart-viewport .large-chart{min-width:700px;height:270px}
 .metric-tabs,.tabs-row,.filters{max-width:100%;flex-wrap:wrap}.metric-tabs{gap:7px}.metric-tabs button{min-height:44px;font-size:14px}.filters .field{width:100%;min-width:0}.filters input,.filters select{width:100%}
 input,select,textarea,.ops-store-entry .field input,.ops-entry-form input,.ops-entry-form textarea{font-size:16px!important;min-height:44px}.button{min-height:44px}.entry-no-delivery{min-height:48px}.entry-no-delivery input{min-height:20px}.delivery-explanation{grid-template-columns:1fr}.delivery-explanation .span-two{grid-column:1}
 .ops-delivery-body{flex-wrap:wrap}.ops-delivery-list{width:100%;text-align:left}.ops-facts{gap:10px}.ops-facts strong{font-size:19px}.ops-card p{font-size:12px}.ops-panel-head h2{font-size:16px}.entry-progress{grid-template-columns:1fr}
 .structure{flex-wrap:wrap}.structure-legend{min-width:0;width:100%}.modal-overlay{padding:10px}.modal{max-height:calc(100dvh - 20px);padding:16px;width:100%}.source-footer{font-size:11px;line-height:1.6;gap:6px}.chart-tooltip{min-width:0;max-width:calc(100vw - 16px)}
}

.kpi-comparison{margin-top:9px;padding-top:8px;border-top:1px solid #edf0f5;font-size:13px;font-weight:700;line-height:1.4}.kpi-comparison.subtle{font-size:12px;font-weight:400}

@media(min-width:1201px){.home-overview .kpi-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}

.completion-panel{margin:0 0 14px}.completion-counts{display:flex;flex-wrap:wrap;gap:12px 28px;margin:12px 0;font-size:14px}.completion-panel summary{cursor:pointer;font-weight:600;color:#60212b;padding:10px 0}.completion-days{max-height:230px;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.completion-day{background:#f6f8fb;border-radius:8px;padding:10px;display:flex;gap:12px;font-size:13px}.labor-budget{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#eaf5ee;color:#008554;border-radius:9px;padding:12px;margin:12px 0}.labor-budget strong{font-size:20px}.labor-budget.over{background:#ffeded;color:#dc3838}@media(max-width:600px){.completion-days{grid-template-columns:1fr}.completion-panel .panel-head{align-items:flex-start;flex-direction:column;gap:10px}.completion-panel h2{font-size:16px}}

.workflow-grid{display:grid;grid-template-columns:1fr;gap:16px}.workflow-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #edd5d7;border-left:4px solid #60212b;background:#fff6f5;border-radius:10px;padding:16px;margin:0 0 16px}.workflow-notice p{font-size:13px;line-height:1.6;margin:6px 0 0}.issue-list{display:grid;gap:10px;margin-top:14px}.issue-item{display:block;width:100%;text-align:left;border:1px solid #e3e8ef;border-radius:10px;background:#f8fafc;padding:16px;color:#172638;cursor:pointer;white-space:normal}.issue-item:hover{border-color:#60212b}.issue-item.overdue{border-left:4px solid #f44738}.issue-head,.issue-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.issue-head strong{font-size:16px}.issue-item p{font-size:13px;color:#63748c}.issue-footer{font-size:13px;color:#63748c}.workflow-form{display:grid;gap:15px;margin:18px 0}.workflow-form form{display:grid;gap:12px}.workflow-form textarea{min-height:90px}.workflow-form hr{width:100%;border:0;border-top:1px solid #e3e8ef}.workflow-form .tabs-row{flex-wrap:wrap}.workflow-response{background:#f5f7fa;border-radius:9px;padding:12px;margin:12px 0}.workflow-response p,.issue-detail p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.workflow-photos{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.workflow-photos img{width:100px;height:100px;object-fit:cover;border-radius:8px}.workflow-events{margin-top:18px;border-top:1px solid #e3e8ef;padding-top:12px}.workflow-events summary{cursor:pointer;font-weight:600}.workflow-events>div{border-left:2px solid #e3e8ef;padding:12px;margin:8px 0}.workflow-events small{display:block;color:#63748c;margin:5px 0}.workflow-events p{font-size:13px;margin:6px 0}.workflow-form .form-message{font-size:14px;overflow-wrap:anywhere}@media(max-width:600px){.workflow-notice,.issue-head,.issue-footer{align-items:flex-start;flex-direction:column}.workflow-notice .button{width:100%}.workflow-form .tabs-row{display:grid;grid-template-columns:1fr}.issue-item{padding:12px}.issue-head .status{white-space:normal}.workflow-form input,.workflow-form select{min-width:0;width:100%}.workflow-grid{gap:12px}}

.delivery-mobile{display:none}@media(max-width:600px){.delivery-desktop{display:none}.delivery-mobile{display:grid;gap:10px}.delivery-mobile article{border:1px solid #e3e8ef;border-radius:10px;padding:12px}.delivery-mobile article p{font-size:13px;line-height:1.6}.delivery-mobile .button{width:100%}}

.freshness-panel{background:#fff;border:1px solid #dfe5ed;border-radius:9px;padding:14px 16px;margin-bottom:12px}.freshness-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.freshness-heading>span,.freshness-foot{color:#73839a;font-size:11px}.freshness-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.freshness-item{display:flex;align-items:flex-start;gap:8px;min-width:0}.freshness-dot{width:7px;height:7px;border-radius:50%;background:#a6b1bf;flex:none;margin-top:5px}.freshness-dot.has-data{background:#4b789d}.freshness-dot.is-late{background:#d68a23}.freshness-label{display:block;color:#73839a;font-size:11px;margin-bottom:4px}.freshness-item strong{display:block;font-size:12px;line-height:1.5}.freshness-item small{display:block;font-size:10px;color:#73839a;line-height:1.5;margin-top:3px}.freshness-foot{margin-top:12px;line-height:1.5}@media(max-width:900px){.freshness-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.freshness-heading{align-items:flex-start;flex-direction:column;gap:4px}}@media(max-width:380px){.freshness-grid{grid-template-columns:1fr}}

.freshness-inline{display:flex;align-items:center;flex-wrap:wrap;gap:5px 15px;padding:1px 2px 9px;color:#7b8798;font-size:10px;line-height:1.6}.freshness-caption{color:#8793a3}.freshness-inline-item{white-space:nowrap}.freshness-inline-item>span{color:#64758a;margin-left:4px}@media(max-width:600px){.freshness-inline{gap:3px 12px;font-size:10px;padding-bottom:8px}.freshness-caption{width:100%}}

.sb-live-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.sb-live-head h2{margin:0 0 6px}.sb-live-result{text-align:right;flex:none}.sb-live-result>span{display:block;color:#728197;font-size:12px}.sb-live-result strong{font-size:30px}.sb-live-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.sb-live-item{margin-bottom:12px}.sb-live-item-title{display:flex;justify-content:space-between;gap:20px}.sb-live-description{padding:12px;margin:12px 0;background:#f5f7fa;border-radius:6px;line-height:1.6}.sb-live-description small{color:#687b91}.sb-live-description p{margin:6px 0;white-space:pre-line}.sb-live-answers{display:flex;gap:10px;margin-bottom:10px}.sb-live-answers button{padding:10px 14px;border:1px solid #dce3ec;border-radius:6px;background:#fff;color:#183047}.sb-live-answers button[data-sb-answer=ok][aria-pressed=true]{background:#009b59;color:#fff;border-color:#009b59}.sb-live-answers button[data-sb-answer=bad][aria-pressed=true]{background:#ed433f;color:#fff;border-color:#ed433f}.sb-live-item textarea{width:100%;box-sizing:border-box;min-height:80px;padding:12px;border:1px solid #dce3ec;border-radius:6px;font:inherit}.sb-live-detail{padding:14px 0;border-bottom:1px solid #e2e7ee}.sb-live-detail>span{display:block;margin-top:6px}.sb-publication-toast{position:fixed;right:20px;bottom:20px;z-index:1200;width:360px;max-width:calc(100vw - 40px);box-sizing:border-box;background:#fff;border:1px solid #dce3ec;border-top:4px solid #60202b;box-shadow:0 8px 28px #15263825;border-radius:10px;padding:18px;color:#182c43}.sb-publication-toast p{font-size:13px;line-height:1.5}.sb-publication-toast .button{margin-right:8px}@media(max-width:600px){.sb-live-head{align-items:center}.sb-live-head h2{font-size:18px}.sb-live-result strong{font-size:24px}.sb-live-item-title{font-size:13px}.sb-live-answers button{min-height:44px}}

.sbp-grid-staff>section:nth-child(1){grid-column:1;grid-row:1}.sbp-grid-staff>section:nth-child(2){grid-column:1;grid-row:2}.sbp-grid-staff>section:nth-child(3){grid-column:2;grid-row:1 / span 2}.sbp-grid-staff>section:nth-child(3) .table-wrap{max-height:780px}@media(max-width:600px){.sbp-grid-staff>section:nth-child(n){grid-column:auto;grid-row:auto}.sbp-grid-staff>section:nth-child(3){order:2}.sbp-grid-staff>section:nth-child(2){order:3}.sbp-grid-staff>section:nth-child(3) .table-wrap{max-height:520px}}

.forgot-password{display:block;margin:16px auto 0;padding:8px;border:0;background:transparent;color:#60202b;text-decoration:underline;font:inherit;font-size:13px}
.login-side,.login-card,.login-form,.login-form .field{min-width:0}.login-card{width:100%;max-width:330px}.login-form input{width:100%;min-width:0;box-sizing:border-box}.login-card .login-foot,.login-card small{overflow-wrap:anywhere}@media(max-width:600px){.login-page{grid-template-columns:minmax(0,1fr)}.login-card{width:100%;max-width:380px}}

.ops-labor .labor-daily-chart{height:200px}.ops-labor .labor-daily-chart text{font-size:16px}@media(max-width:600px){.ops-labor .labor-daily-chart{min-width:540px;height:220px}}

.home-bottom .today-panel .today-pairs{grid-template-columns:1fr;gap:10px}.home-bottom .today-panel .panel-head{float:none}.home-main .home-sbp .home-sbp-ring{padding:4px 0 10px}.home-main .home-sbp .ops-ring{width:130px;height:130px}@media(max-width:600px){.home-overview .home-main .home-sbp{grid-column:auto}.home-bottom .today-panel .today-pairs{grid-template-columns:1fr}}

.home-main .home-sbp .home-sbp-ring{padding:8px 0 16px}.home-main .home-sbp .ops-ring{width:144px;height:144px}.home-main .home-sbp .ops-ring>div{width:78%;height:78%;gap:0}.home-main .home-sbp .ops-ring strong{font-size:26px;line-height:1.1;white-space:nowrap;letter-spacing:-.4px}.home-main .home-sbp .ops-ring span{font-size:11px;line-height:1.3;max-width:86px;margin-top:6px}.home-main .home-sbp .home-sbp-values{gap:9px;margin-top:0}.home-main .home-sbp .panel-note{margin-top:10px}

.ops-sbp .sbp-daily-chart{height:200px}.ops-sbp .sbp-daily-chart text{font-size:16px}.ops-sbp .sbp-daily-chart rect.point{fill:revert-layer}.ops-sbp .sbp-daily-chart rect.point[fill="#009b59"]{fill:#009b59}.ops-sbp .sbp-daily-chart rect.point[fill="#e84b3a"]{fill:#e84b3a}.ops-sbp .sbp-daily-chart rect.point[fill="#9aa7b7"]{fill:#9aa7b7}.ops-sbp .sbp-daily-chart polyline[stroke="#778599"],.ops-sbp .sbp-daily-chart line[stroke="#778599"]{stroke:#667792;stroke-width:2}@media(max-width:600px){.ops-sbp .sbp-daily-chart{min-width:540px;height:220px}}
