
:root{--navy:#040823;--bg:#f5f6f9;--line:#e6e8ee;--muted:#788194;--blue:#3864e7;--green:#279c76;--red:#dc4054}*{box-sizing:border-box}body{margin:0;font:14px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#232939;background:var(--bg)}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{border:1px solid var(--line);background:white;border-radius:8px;padding:10px 14px;color:#40495c;transition:.15s}button:hover{background:#f2f4fa;border-color:#b9c1d4}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #93b2ff;outline-offset:2px}input,select,textarea{border:1px solid #dce0e9;border-radius:7px;background:white;padding:9px 12px;color:#283147}input:focus,select:focus,textarea:focus{outline:2px solid #b2c4ff}h1,h2,p{margin:0}h1{font-size:26px;letter-spacing:-.7px}h2{font-size:16px;letter-spacing:-.2px}small,.muted{color:var(--muted)}.primary{background:var(--navy);border-color:var(--navy);color:white}.primary:hover{background:#1c244a;color:white}.danger{color:var(--red)}.shell{display:flex;min-height:100vh}.sidebar{width:232px;background:white;border-right:1px solid var(--line);padding:28px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:50}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;margin-bottom:42px}.logo{width:43px;height:43px;background:#e63843;color:white;font-size:20px;font-weight:800;display:grid;place-items:center;border-radius:3px;letter-spacing:-2px}.brand-name{font-size:17px;font-weight:750;line-height:1.1}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#929aad;text-transform:uppercase;margin:0 12px 14px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;text-align:left;display:flex;align-items:center;gap:12px;background:transparent;padding:13px 14px;font-size:13px}.nav button.active{background:var(--navy);color:white}.nav svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:25px}.profile{display:flex;gap:10px;align-items:center;padding:16px 8px;border-top:1px solid var(--line)}.avatar{width:35px;height:35px;border-radius:50%;background:#e9edf6;display:grid;place-items:center;font-size:12px;font-weight:700}.profile strong{display:block;font-size:12px}.profile small{font-size:11px}.collapse{margin-top:15px;width:100%;font-size:12px}.content{margin-left:232px;width:calc(100% - 232px)}.topbar{height:70px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;color:#8991a1;font-size:12px}.topbar strong{color:#333d51;font-weight:500}.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:5px 9px;background:#eff3ff;color:#5064a3;border-radius:6px}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:currentColor}.green{background:#eaf7f0;color:#258364}.gray{background:#f0f1f5;color:#81889a}.main{padding:30px 34px 45px;max-width:1700px;margin:auto}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.subtitle{margin-top:8px;color:#81899a;font-size:13px}.actions{display:flex;gap:8px;align-items:center}.hero{background:var(--navy);color:white;border-radius:12px;padding:27px 30px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;overflow:hidden;position:relative}.hero p{font-size:13px;color:#aab1cd;margin-top:9px}.hero h2{font-size:21px;font-weight:550}.hero-mark{font-size:57px;font-weight:800;color:#343b5a;letter-spacing:-5px}.filterbar{background:white;border:1px solid var(--line);border-radius:10px;padding:16px 20px;display:flex;align-items:center;gap:14px;margin-bottom:20px}.filterbar .label{font-size:12px;margin-right:12px;font-weight:600}.filterbar select{font-size:12px;min-width:130px}.filterbar .right{margin-left:auto;font-size:11px;color:#81899a}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.kpi{background:white;border:1px solid var(--line);border-radius:10px;padding:21px}.kpi-top{display:flex;justify-content:space-between;align-items:center;color:#778194;font-size:12px}.kpi-icon{width:34px;height:34px;background:#edf2ff;color:#5474d6;border-radius:9px;display:grid;place-items:center}.kpi-icon svg{width:18px;height:18px}.kpi-number{font-size:30px;font-weight:650;letter-spacing:-1px;margin:15px 0 7px}.kpi-foot{font-size:11px;color:#9299a9}.kpi-foot strong{color:var(--green);font-weight:500}.grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.panel-head{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head p{margin-top:5px;font-size:11px;color:#949bad}.chart{padding:0 20px 10px}.chart svg{width:100%;height:220px}.legend{display:flex;justify-content:center;gap:22px;padding:8px 0 18px;font-size:11px;color:#7d8597}.legend i{width:8px;height:8px;display:inline-block;border-radius:50%;margin-right:6px}.funnel{padding:0 23px 22px}.funnel-row{margin:16px 0}.funnel-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.track{background:#f1f3f8;border-radius:3px;height:6px}.track span{display:block;height:100%;border-radius:3px;background:#3b65e5}.table-wrap{overflow:auto}.simple{width:100%;border-collapse:collapse;text-align:left}.simple th{color:#8b93a3;font-size:11px;font-weight:500;background:#fafbfc;padding:12px 22px;border-block:1px solid var(--line)}.simple td{padding:16px 22px;font-size:12px;border-bottom:1px solid #f0f1f5}.simple tr:last-child td{border-bottom:0}.simple td.num,.simple th.num{text-align:right;font-variant-numeric:tabular-nums}.product-name{font-weight:550}.product-name small{display:block;font-size:10px;margin-top:5px;font-weight:400}.progress{width:70px;display:inline-block;vertical-align:middle;margin-right:9px;background:#edf0f6;height:4px;border-radius:4px}.progress span{display:block;background:#4a6ce0;height:100%;border-radius:4px}.note{padding:12px 16px;border-radius:8px;background:#edf2ff;color:#526995;font-size:12px;line-height:1.6;margin-bottom:16px}.warning{background:#fff5e3;color:#967028}.error{background:#fff0f0;color:#bd3a4f}.weekly{max-height:65vh;overflow:auto;border:1px solid var(--line);border-radius:10px;background:white}.weekly table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px;font-variant-numeric:tabular-nums}.weekly th,.weekly td{min-width:94px;padding:10px 8px;border-bottom:1px solid var(--line);border-right:1px solid #eff0f5;text-align:center}.weekly thead th{position:sticky;top:0;background:#f8f9fc;z-index:5;color:#7c8599;font-weight:500;height:60px}.weekly th:first-child,.weekly td:first-child{position:sticky;left:0;min-width:300px;max-width:300px;text-align:left;z-index:4;background:var(--row,#fff);padding-left:20px}.weekly thead th:first-child{z-index:8;background:#f8f9fc}.weekly td{background:var(--row,#fff)}.weekly td input{width:74px;padding:3px 4px;text-align:center;border:1px solid transparent;background:transparent;font-size:11px}.weekly td input:hover:not(:disabled){background:white;border-color:#c9d4ee}.weekly td input:disabled{opacity:1;color:#596276;cursor:default}.weekly .latest{border-left:2px solid var(--navy);border-right:2px solid var(--navy);background:#edf2ff}.weekly .product-row td{padding:13px 8px;background:#fff;--row:#fff}.product-row button{padding:2px 3px;border:0;background:transparent;font-size:12px}.product-row small{display:block;font-size:10px;margin-left:22px;margin-top:4px}.weekly .changed{background:#e2edff}.weekly .retro{background:#ffe1e6}.metric-name{display:flex;align-items:center;justify-content:space-between;color:#626c7f}.metric-name span:last-child{color:#969eb0;font-size:10px}.table-footer{display:flex;justify-content:space-between;color:#949bad;font-size:11px;margin-top:14px}.version{position:fixed;bottom:13px;right:18px;font-size:10px;color:#9ba1af;background:#fff9;padding:4px 8px;border-radius:5px}.empty{padding:50px;text-align:center;color:#8b93a6}.snapshot{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.snapshot p{font-size:13px;font-weight:550}.snapshot small{display:block;margin-top:7px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#19223d;color:white;padding:13px 22px;border-radius:9px;box-shadow:0 5px 30px #0002;z-index:100}.settings{padding:24px;display:grid;gap:20px}.settings label{display:flex;justify-content:space-between;align-items:center;gap:20px}.login-screen{min-height:100vh;display:grid;place-items:center;background:#f3f5f9}.login-box{background:white;border:1px solid var(--line);padding:40px;border-radius:14px;width:min(420px,95vw);box-shadow:0 14px 50px #1b274009}.login-box .brand{padding:0;margin-bottom:30px}.login-box h1{font-size:23px;margin-bottom:12px}.login-box form{display:grid;gap:14px;margin:25px 0}.login-box label{font-size:12px;display:grid;gap:7px}.login-box .credentials{font-size:11px;color:#8390a8;background:#f6f8fc;padding:14px;line-height:1.8;border-radius:8px}.collapsed .sidebar{width:76px;padding:28px 10px}.collapsed .brand-name,.collapsed .eyebrow,.collapsed .nav span,.collapsed .profile div:last-child{display:none}.collapsed .brand{padding:0 6px}.collapsed .nav button{justify-content:center;padding:13px}.collapsed .content{margin-left:76px;width:calc(100% - 76px)}.collapsed .profile{padding:16px 8px}.collapsed .collapse{font-size:0}.collapsed .collapse:after{content:'→';font-size:15px}@media(max-width:1100px){.main{padding:24px}.topbar{padding:0 24px}.grid{grid-template-columns:minmax(0,1fr)}.funnel-panel{display:none}.kpis{gap:10px}.kpi{padding:16px}.kpi-number{font-size:26px}.filterbar{flex-wrap:wrap}.filterbar .right{display:none}.sidebar{width:200px}.content{margin-left:200px;width:calc(100% - 200px)}}@media(max-width:760px){.sidebar{width:64px;padding:20px 6px}.brand-name,.eyebrow,.nav span,.profile div:last-child{display:none}.brand{padding:0 4px;margin-bottom:30px}.logo{width:40px}.nav button{padding:13px;justify-content:center}.profile{padding:12px 4px}.collapse{display:none}.content{margin-left:64px;width:calc(100% - 64px)}.main{padding:20px 15px}.topbar{padding:0 15px}.topbar>span{display:none}.heading{align-items:flex-start;flex-direction:column}h1{font-size:23px}.hero{padding:23px}.hero-mark{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.filterbar{gap:8px;padding:12px}.filterbar .label{width:100%}.filterbar select{min-width:100px;max-width:100%}.actions{flex-wrap:wrap}.panel-head{padding:18px}.simple th,.simple td{padding:13px}.legend{gap:12px;flex-wrap:wrap}.snapshot{align-items:flex-start;gap:12px;flex-direction:column}}@media print{.sidebar,.topbar,.heading .actions,.filterbar,.hero,.version,.table-footer,.note,button{display:none!important}.content{margin:0;width:100%}.main{padding:0}.weekly{max-height:none;overflow:visible}.weekly th,.weekly td{position:static!important;min-width:60px;font-size:9px}.weekly td input{border:0;width:50px}.weekly th:first-child,.weekly td:first-child{min-width:190px}.kpis{grid-template-columns:repeat(4,1fr)}.panel{break-inside:avoid}}

.sidebar{padding-top:18px}.sidebar .collapse{margin:0 0 22px;text-align:right;font-size:11px;padding:7px 10px}.brand{padding:0 4px;margin-bottom:30px}.brand-image{width:100%;height:60px;object-fit:contain;object-position:left center}.collapsed .brand-image{width:44px;height:44px;object-fit:cover;object-position:left}.profile{flex-wrap:wrap}.logout{width:100%;font-size:11px;margin-top:6px;padding:7px}.collapsed .logout{font-size:0}.collapsed .logout:after{content:'⇥';font-size:16px}.topbar{justify-content:flex-end;height:56px}.page-title{margin-right:auto;font-size:15px!important;font-weight:600!important}.shell:not(.collapsed) .page-title{visibility:hidden}.weekly-title{font-size:16px;font-weight:600}.weekly td{padding:3px 8px}.weekly td input{padding:2px 4px;height:23px;appearance:textfield;-moz-appearance:textfield}.weekly input::-webkit-inner-spin-button,.weekly input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.weekly td.latest{background:var(--row,#fff)}.weekly tr.paired td{border-bottom:0}.weekly .product-row td{padding:9px 8px}.product-row button{font-size:22px;min-width:28px;min-height:28px;padding:0;vertical-align:middle}.weekly .product-row small{margin-left:30px}.status-select{padding:5px 25px 5px 8px;border:1px solid;border-radius:5px;font-size:11px;appearance:auto}.status-select.accepting{background:#eaf7f0;color:#258364;border-color:#badfce}.status-select.finished{background:#fff0f2;color:#c3384b;border-color:#f0bac3}.weekly .changed{background:#e2edff!important}.weekly .retro{background:#ffe1e6!important}.grid.no-funnel{grid-template-columns:minmax(0,1fr)}.hero{padding:22px 28px}.user-form{padding:22px;display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.user-form label{display:grid;gap:6px;font-size:11px;min-width:150px;flex:1}.user-form label.wide{flex-basis:100%}.user-form button{align-self:end}.user-row input{max-width:150px}.credentials-issued{background:#eef7f3;border:1px solid #bbdfce;padding:18px;margin-bottom:18px;border-radius:8px}.credentials-issued code{display:block;user-select:all;margin:10px 0;font-size:17px;overflow-wrap:anywhere}.account-password{display:grid;gap:12px;max-width:420px}.account-password label{display:grid;gap:7px}.single-chart{padding:5px 24px 25px;display:grid;gap:18px}.bar-row{display:grid;grid-template-columns:85px 1fr 45px;align-items:center;gap:15px;font-size:12px}.bar-track{height:19px;background:#f5f6fa;border-radius:4px;overflow:hidden}.bar-track span{display:block;height:100%;border-radius:4px}.login-box .brand-image{max-width:230px}.login-box .credentials{display:none}@media(max-width:760px){.brand-image{width:40px;height:44px;object-fit:cover;object-position:left}.topbar>span{display:block}.topbar .badge{display:none}.page-title{visibility:visible!important;font-size:13px!important}.shell:not(.collapsed) .page-title{visibility:visible}.logout{font-size:0}.logout:after{content:'⇥';font-size:16px}.user-form{padding:15px}.sidebar .collapse{display:none}.heading .actions button{padding:8px;font-size:11px}.weekly-title{font-size:14px}.user-row select{max-width:120px}}

@media(max-width:1100px){.funnel-panel{display:block}.grid:not(.no-funnel){grid-template-columns:minmax(0,1fr) 240px}}@media(max-width:760px){.grid:not(.no-funnel){grid-template-columns:minmax(0,1fr)}}

.status-dropdown{display:inline-block;position:relative;vertical-align:middle}.status-dropdown summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:5px 8px}.status-dropdown summary::-webkit-details-marker{display:none}.status-options{position:absolute;left:0;top:calc(100% + 4px);width:170px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #04082322;padding:5px;z-index:30}.status-options button{display:block;width:100%;font-size:12px!important;text-align:left;padding:8px!important;border-radius:5px;min-height:30px!important}.status-options .accepting{color:#258364;background:#eaf7f0}.status-options .finished,.closed-badge{color:#c3384b;background:#fff0f2}.weekly .product-row td:first-child:has(details[open]){z-index:10}

.heading:has(.weekly-title){flex-wrap:wrap;gap:14px}.heading:has(.weekly-title)>div:first-child{flex:1 0 100%}.heading .actions{flex-wrap:wrap;justify-content:flex-start}.heading .actions button{white-space:nowrap}

/* v0.03: compact workspace and unified file export */
.page-title,.shell:not(.collapsed) .page-title{visibility:visible!important}.topbar{height:52px;padding:0 24px}.main{padding:18px 24px 28px}.heading{margin-bottom:14px;gap:10px;min-height:0}.heading>div:empty{display:none}.heading .actions{gap:6px}.heading button{padding:8px 11px;font-size:12px}.subtitle{margin-top:0;font-size:12px}.filterbar{padding:11px 15px;gap:10px;margin-bottom:14px}.filterbar select{padding:7px 10px}.filterbar .label{margin-right:6px}.note{padding:9px 13px;margin-bottom:12px;font-size:11px}.weekly thead th{height:48px;padding:7px}.weekly td{padding:2px 7px}.weekly td input{height:21px;padding:1px 3px}.weekly .product-row td{padding:7px}.weekly .product-row small{margin-top:2px}.weekly{max-height:calc(100vh - 232px)}.kpis{gap:12px;margin-bottom:16px}.kpi{padding:16px}.kpi-number{margin:10px 0 5px;font-size:27px}.hero{padding:18px 22px;margin-bottom:16px}.panel-head{padding:15px 18px}.grid{gap:16px;margin-bottom:16px}.legend{padding-bottom:12px}.heading .actions .icon-action{font-size:21px;line-height:1;padding:5px;width:34px;height:34px;display:grid;place-items:center}.export-menu{position:relative;z-index:25}.export-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:8px;font-size:12px;padding:8px 11px;min-height:34px;white-space:nowrap}.export-menu summary::-webkit-details-marker{display:none}.export-menu summary:hover{border-color:#b9c1d4;background:#f2f4fa}.export-menu summary:focus-visible{outline:3px solid #93b2ff;outline-offset:2px}.export-options{position:absolute;left:0;top:calc(100% + 5px);padding:5px;min-width:225px;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 24px #04082322}.export-options button{display:block;width:100%;border:0;text-align:left;padding:9px 10px}.export-options strong{display:block;font-size:12px}.export-options small{display:block;margin-top:3px;font-size:11px}.chevron{color:var(--muted);margin-left:5px}@media(max-width:760px){.main{padding:14px 12px}.topbar{padding:0 12px}.heading{align-items:stretch;gap:8px}.heading .actions{flex-direction:row}.weekly{max-height:calc(100vh - 260px)}}@media print{.export-menu,.icon-action{display:none!important}.weekly{max-height:none}}

/* v0.04: personal ordering, dates, clear validation and compact controls */
.sidebar .collapse{width:32px;height:28px;padding:4px;margin:0 0 18px auto;display:grid;place-items:center;font-size:0;border-radius:6px}.sidebar .collapse svg{width:21px;height:21px}.collapsed .collapse:after{content:none}.shell:not(.collapsed) .page-title{visibility:hidden!important}.shell.collapsed .page-title{visibility:visible!important}.kpi-top{justify-content:flex-start;gap:10px}.kpi-icon{flex-shrink:0}.heading:has(>.export-menu){justify-content:flex-end}.chart{position:relative}.chart-guide{opacity:0}.chart-period:hover .chart-guide,.chart-period:focus .chart-guide{opacity:1}.chart-period{outline:none}.chart-tooltip{position:absolute;pointer-events:none;z-index:15;padding:10px 12px;background:white;border:1px solid #dce1eb;border-radius:8px;box-shadow:0 5px 18px #10233b20;min-width:165px;font-size:11px}.chart-tooltip[hidden]{display:none}.chart-tooltip>strong{display:block;margin-bottom:8px}.chart-tooltip>div{display:flex;align-items:center;gap:6px;line-height:1.8}.chart-tooltip i{width:7px;height:7px;border-radius:50%}.chart-tooltip b{margin-left:auto}.bar-row{grid-template-columns:110px minmax(0,1fr) 45px;gap:12px}.bar-row>span{white-space:nowrap}.table-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:0 0 10px;flex-wrap:wrap}.table-toolbar .icon-action{font-size:21px;line-height:1;padding:5px;width:34px;height:34px;display:grid;place-items:center}.table-toolbar button{padding:8px 11px;font-size:12px}.table-toolbar .export-options{left:auto;right:0}.weekly{max-height:calc(100vh - 240px)}.product-group:not(:first-of-type) .product-row td{border-top:12px solid var(--bg)}.weekly .product-row td:first-child{padding:8px 10px;min-width:330px;max-width:330px}.weekly th:first-child,.weekly td:first-child{min-width:330px;max-width:330px}.product-title{display:flex;align-items:center;gap:4px}.product-title strong{font-size:12px}.product-row .drag-handle{color:#939bae;font-size:22px;cursor:grab;touch-action:none;min-width:20px;width:20px;flex-shrink:0}.product-row .drag-handle:active{cursor:grabbing}.weekly .product-row small{margin-left:24px}.acceptance-dates{display:flex;gap:8px;align-items:center;margin:5px 0 0 24px}.acceptance-dates label{display:flex;align-items:center;gap:4px;font-size:10px;color:#7e879b}.weekly .acceptance-dates input{width:115px;height:25px;min-width:0;font-size:10px;padding:2px 3px;text-align:left;border-color:#e0e4ec;background:white}.weekly .acceptance-dates input:disabled{background:#f8f9fb;color:#7e879b}.weekly .changed,.weekly .retro{background-color:var(--row,#fff)!important}.weekly input.cell-error{border-color:#e3a4ab!important;box-shadow:0 0 0 1px #e3a4ab40;background:transparent!important}.dragging-products,.dragging-products *{cursor:grabbing!important;user-select:none}.weekly .drag-placeholder td{background:#edf0f5;border:2px dashed #b9c3d6;pointer-events:none}.drag-preview{position:fixed;z-index:200;pointer-events:none;border-collapse:separate;border-spacing:0;background:white;box-shadow:0 8px 30px #10182730;opacity:.85;font-size:11px;max-height:70vh;overflow:hidden}.drag-preview td{background:var(--row,#fff);padding:2px 7px;border-bottom:1px solid #e6e8ee;text-align:center}.drag-preview td:first-child{text-align:left;min-width:330px}.drag-preview input{width:74px;font-size:11px;padding:1px 3px;border:0;background:transparent}.drag-preview .acceptance-dates input{width:115px}.assignment-field[hidden]{display:none!important}.assignment-field{align-self:end;min-width:210px}.product-picker{position:relative;min-width:190px}.product-picker summary{border:1px solid #dce0e9;padding:9px 12px;border-radius:7px;cursor:pointer;list-style:none;font-size:12px;white-space:nowrap}.picker-options{position:absolute;top:calc(100% + 4px);left:0;min-width:260px;max-height:280px;overflow:auto;z-index:40;padding:8px;background:white;border:1px solid var(--line);box-shadow:0 8px 25px #14213a20;border-radius:8px}.picker-options label{display:flex;align-items:center;gap:8px;padding:7px 5px;font-size:12px}.picker-options input{width:15px;height:15px;accent-color:var(--navy)}.user-form .picker-options label{min-width:0}.user-row td:has(details[open]){position:relative;z-index:20}.user-form .assignment-field{flex:1 0 210px}.user-row .product-picker{display:inline-block;margin-right:6px}.settings .account-password label{display:grid;align-items:start}@media(max-width:760px){.shell:not(.collapsed) .page-title{visibility:visible!important}.sidebar .collapse{display:none}.table-toolbar{justify-content:flex-end}.bar-row{grid-template-columns:100px minmax(0,1fr) 35px;gap:8px}}@media print{.table-toolbar,.drag-handle,.chart-tooltip{display:none!important}.product-group{break-inside:avoid}.weekly .acceptance-dates input{width:100px}}

.navigation-overlay{position:fixed;inset:0;background:#0c173b55;z-index:500;display:grid;place-items:center;padding:20px}.navigation-dialog{background:white;max-width:460px;width:100%;padding:24px;border-radius:14px;box-shadow:0 16px 70px #08133430}.navigation-dialog h2{font-size:20px;margin:0 0 12px}.navigation-dialog p{font-size:14px;line-height:1.6;color:#626e86;margin:0 0 22px}.navigation-dialog .actions{justify-content:flex-end;gap:10px}

/* v0.06: headers and validation do not consume table space. */
.shell:not(.collapsed) .topbar{display:none!important}.collapsed .profile>div:not(.avatar),.collapsed .profile .logout{display:none!important}#validation{position:fixed;right:24px;bottom:30px;width:min(440px,calc(100vw - 40px));max-height:55vh;overflow:auto;z-index:80;background:white;padding:14px;border:1px solid #e0e5ef;border-radius:12px;box-shadow:0 10px 40px #15223d25}#validation[hidden],#review-validation[hidden]{display:none!important}.validation-window-head{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:10px}.validation-window-head button{font-size:20px;padding:0 7px;border:0}#validation .note{margin-bottom:0}#validation .note+.note{margin-top:10px}.weekly input[data-cell]{text-align:center}@media print{#validation,#review-validation{display:none!important}}

#review-validation{position:fixed;right:24px;bottom:30px;z-index:79;box-shadow:0 6px 24px #14213a20}

.collapsed .sidebar-bottom .logout{display:none!important}.collapsed .logout:after{content:none!important}

/* v0.07 */
.collapsed .brand-image.compact-brand{width:38px;height:48px;object-fit:contain;object-position:center}.filterbar .export-menu{margin-left:8px;flex-shrink:0}.weekly{width:fit-content;max-width:100%}.weekly table{width:max-content;table-layout:fixed}.weekly th,.weekly td{width:76px;min-width:76px;max-width:76px;padding-left:4px;padding-right:4px}.weekly th:first-child,.weekly td:first-child,.weekly .product-row td:first-child{width:270px;min-width:270px;max-width:270px}.weekly td input[data-cell]{width:64px}.weekly .acceptance-dates{margin-left:16px;gap:5px}.weekly .acceptance-dates input{width:96px}.weekly .latest{border-left:2px dashed var(--navy);border-right:2px dashed var(--navy)}.weekly.viewer-table thead th{background:#f8f9fc}.retro-reason{padding:10px;font-size:11px;display:grid;grid-template-columns:1fr auto;gap:7px}.retro-reason>div{grid-column:1/-1}.retro-reason #reason{padding:7px 9px;font-size:12px;width:100%;min-width:0}.retro-cancel{font-size:11px;padding:6px 9px}.validation-actions{display:flex;justify-content:flex-end;margin-top:10px}.validation-actions button{font-size:12px;padding:8px 14px}.picker-options[popover]{position:fixed;inset:auto;margin:0;min-width:0;padding:7px;max-height:240px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dce0e9;background:white;border-radius:9px;box-shadow:0 10px 36px #101e3a30}.picker-options[popover]:not(:popover-open){display:none}.picker-options[popover]:popover-open{display:block}.picker-options::backdrop{background:transparent}.picker-options label{font-size:12px;padding:8px 6px}.picker-options label:hover{background:#f5f7fc}.drag-preview td:first-child{min-width:270px}.drag-preview .acceptance-dates input{width:96px}

/* v0.08: 1 px strokes, 5 px dash / 9 px gap, independent of row fills. */
.weekly .latest,.weekly td.latest,.weekly .product-row td.latest{border-left:1px solid transparent;border-right:1px solid transparent;background-image:repeating-linear-gradient(to bottom,#596275 0 5px,transparent 5px 14px),repeating-linear-gradient(to bottom,#596275 0 5px,transparent 5px 14px);background-size:1px 100%,1px 100%;background-position:left top,right top;background-repeat:no-repeat}.product-expansion{display:flex;gap:6px;margin-right:auto}.current-version{background:#f1f8f5}.snapshot p .badge{margin-left:8px}.version-note{padding:12px 18px;font-size:12px;color:var(--muted)}.metrika-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:16px 0;display:grid;gap:10px}.metrika-settings p{font-size:12px}.metrika-settings button{justify-self:start}

.product-expansion button{display:flex;align-items:center;gap:7px}.product-expansion svg{width:16px;height:16px}.catalog-settings{display:grid;gap:14px}.catalog-settings form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.catalog-settings form label{display:grid;gap:6px}.catalog-list>div{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.catalog-list small{display:block;margin-top:4px}.catalog-list .actions{flex-wrap:wrap}
/* v0.16: product cards, compact editor access, optional personal design previews. */
.user-row .product-picker{display:inline-block;vertical-align:middle;min-width:135px;margin:0}.user-row .product-picker summary{padding:7px 10px;font-size:11px}.user-row td:has(.product-picker){white-space:nowrap}.user-row [data-user-access]{vertical-align:middle;margin-left:6px;padding:7px 9px;font-size:11px}
.design-preview{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 12px;font-size:11px;color:#7c8598}.design-preview [role=radiogroup]{display:inline-flex;border:1px solid var(--line);border-radius:8px;background:#fff;padding:3px;gap:2px}.design-preview button{border:0;background:transparent;padding:5px 10px;font-size:11px;border-radius:5px;color:#6d778b}.design-preview button[aria-checked=true]{background:var(--navy);color:#fff}.design-preview button:focus-visible{outline:2px solid #6689d9;outline-offset:2px}.main:has(.design-preview) .weekly{max-height:calc(100vh - 280px)}
.weekly{border:0;border-radius:0;background:transparent}.weekly table{border-collapse:separate;border-spacing:0}.weekly thead th{border-top:1px solid var(--line)}.weekly thead th:first-child{border-left:1px solid var(--line);border-radius:11px 0 0 11px}.weekly thead th:last-child{border-right:1px solid var(--line);border-radius:0 11px 11px 0}.product-group .product-row td,.product-group:not(:first-of-type) .product-row td{border-top:14px solid var(--bg);background-clip:padding-box}.product-group .product-row td:first-child{border-top-left-radius:26px;border-left:1px solid var(--line)}.product-group .product-row td:last-child{border-top-right-radius:26px;border-right:1px solid var(--line)}.product-group td:first-child{border-left:1px solid var(--line)}.product-group td:last-child{border-right:1px solid var(--line)}.product-group tr:last-child td{border-bottom:1px solid #dce2ed}.product-group tr:last-child td:first-child{border-bottom-left-radius:12px}.product-group tr:last-child td:last-child{border-bottom-right-radius:12px}.weekly .metric-name span:last-child{margin-left:8px;flex-shrink:0;text-align:right}
@media(max-width:760px){.design-preview{justify-content:flex-start;gap:7px;flex-wrap:wrap}.design-preview button{padding:6px 8px}.user-row td:has(.product-picker){white-space:normal}.user-row [data-user-access]{margin:5px 0 0}}@media print{.design-preview{display:none!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.user-row .assignment-field{display:inline-block;vertical-align:middle;margin:0}.user-row td:has(.product-picker){padding-right:14px;padding-left:14px}
.user-row .assignment-field{min-width:0;width:auto;flex:none}/* Smaller application intake controls, shared across all three designs. */
.weekly .product-row td:first-child{padding-top:6px;padding-bottom:6px}.weekly .product-row small{margin-top:2px;font-size:9px}.weekly .status-menu summary{font-size:9px;padding:3px 6px;line-height:1.2}.weekly .acceptance-dates{margin-top:3px;gap:4px}.weekly .acceptance-dates label{font-size:9px;gap:3px}.weekly .acceptance-dates input{height:21px;width:91px;font-size:9px;padding:1px 3px}.design-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 22px}.design-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600}.design-intro h1{margin-top:7px}.design-intro-note{font-size:12px;color:var(--muted)}
/* Editorial: horizontal navigation, warm paper, oversized serif headings. */
html[data-design=editorial]{--bg:#f3efe7;--navy:#292c28;--line:#dedacf;--muted:#7c7a6f;--blue:#a15029}html[data-design=editorial] body{color:#292c28}html[data-design=editorial] .shell{flex-direction:column}html[data-design=editorial] .sidebar{position:relative;inset:auto;width:100%;padding:14px 30px;border-right:0;border-bottom:1px solid #d9d5ca;display:grid;grid-template-columns:180px 1fr 170px;align-items:center;background:#faf8f3;gap:24px}html[data-design=editorial] .sidebar .collapse{display:none}html[data-design=editorial] .brand{margin:0;padding:0}html[data-design=editorial] .brand-image{width:168px;max-height:60px}html[data-design=editorial] .nav{flex-direction:row;justify-content:center;gap:4px;flex-wrap:wrap}html[data-design=editorial] .nav button{padding:9px 10px;font-size:11px;border-radius:0;border-bottom:2px solid transparent}html[data-design=editorial] .nav button.active{background:transparent;color:#a15029;border-bottom-color:#a15029}html[data-design=editorial] .nav svg{width:15px;height:15px}html[data-design=editorial] .sidebar-bottom{padding:0;margin:0}html[data-design=editorial] .profile{border:0;padding:0;gap:7px;flex-wrap:wrap}html[data-design=editorial] .avatar{width:28px;height:28px;background:#e9e4d8}html[data-design=editorial] .logout{width:auto;margin:0 0 0 35px;padding:3px 10px;border-radius:3px}html[data-design=editorial] .content,html[data-design=editorial] .collapsed .content{width:100%;margin-left:0}html[data-design=editorial] .main{padding:20px 36px 32px;max-width:1600px}html[data-design=editorial] .design-intro{padding-bottom:18px;border-bottom:1px solid #b7b7a6}html[data-design=editorial] .design-intro h1{font-family:Georgia,'Times New Roman',serif;font-size:36px;font-weight:500;letter-spacing:-1px}html[data-design=editorial] .design-eyebrow{color:#a15029}html[data-design=editorial] .design-preview [role=radiogroup]{border-radius:0;background:#faf8f3}html[data-design=editorial] .design-preview button{border-radius:0}html[data-design=editorial] .hero{background:transparent;color:#292c28;border-radius:0;padding:0;margin:0 0 20px}html[data-design=editorial] .hero h2{font-size:15px;font-weight:400}html[data-design=editorial] .filterbar,html[data-design=editorial] .panel,html[data-design=editorial] .kpi{border-radius:3px;background:#fffefa;box-shadow:none}html[data-design=editorial] .kpis{gap:0;border-block:1px solid #bbb7ab}html[data-design=editorial] .kpi{border:0;border-right:1px solid #dedacf;padding:18px 24px;background:transparent}html[data-design=editorial] .kpi:last-child{border-right:0}html[data-design=editorial] .kpi-number{font-family:Georgia,'Times New Roman',serif;font-size:42px;font-weight:400}html[data-design=editorial] .kpi-icon{border-radius:0;background:#e8e1d3;color:#8a5f36}html[data-design=editorial] .panel-head h2{font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:400}html[data-design=editorial] button,html[data-design=editorial] input,html[data-design=editorial] select{border-radius:3px}html[data-design=editorial] .note{border-left:3px solid #a15029;background:#ebe4d8;color:#6d5945;border-radius:0}html[data-design=editorial] .weekly thead th{background:#333b33;color:#f7f5ec;border-color:#586054;height:48px}html[data-design=editorial] .weekly thead small{color:#c4c9bd}html[data-design=editorial] .weekly .product-row td{background:#fffefa}html[data-design=editorial] .product-title strong{font-family:Georgia,'Times New Roman',serif;font-size:15px;font-weight:600}html[data-design=editorial] .weekly input[data-cell]{font-family:Georgia,'Times New Roman',serif;font-size:12px}html[data-design=editorial] .simple th{background:#e8e3d7;color:#686a59}html[data-design=editorial] .weekly{max-height:calc(100vh - 415px)}html[data-design=editorial] .snapshot{padding:23px 26px}
/* Cards: dark rail, bright accent surfaces, a distinct dashboard composition. */
html[data-design=cards]{--bg:#edf2fb;--navy:#1c2c66;--line:#dfe6f4;--muted:#7381a2;--blue:#5365e8}html[data-design=cards] body{color:#233454}html[data-design=cards] .sidebar{background:#16234a;border:0;width:220px;padding:26px 16px}html[data-design=cards] .brand-image{filter:brightness(0) invert(1)}html[data-design=cards] .sidebar .collapse{background:#26355b;color:#dae6ff;border-color:#425079}html[data-design=cards] .sidebar .nav{gap:10px}html[data-design=cards] .nav button{color:#b9c5e2;border-radius:13px;padding:14px 12px}html[data-design=cards] .nav button.active{background:#c4f2dc;color:#173c38;box-shadow:0 5px 14px #080f2126}html[data-design=cards] .profile{color:#fff;border-color:#3c4a6e}html[data-design=cards] .profile small{color:#acbddc}html[data-design=cards] .avatar{background:#3b4d77;color:#e0e7fa}html[data-design=cards] .logout{color:#d7e1f8;background:#26365c;border-color:#445578}html[data-design=cards] .content{margin-left:220px;width:calc(100% - 220px)}html[data-design=cards] .collapsed .sidebar{width:76px}html[data-design=cards] .collapsed .content{margin-left:76px;width:calc(100% - 76px)}html[data-design=cards] .main{padding:22px 26px 36px}html[data-design=cards] .design-intro{padding:22px 26px;border-radius:22px;background:#dfe7ff;box-shadow:inset 0 0 0 1px #cdd9ff}html[data-design=cards] .design-intro h1{font-size:29px;font-weight:750;color:#243668;letter-spacing:-1px}html[data-design=cards] .design-eyebrow{color:#6378b3}html[data-design=cards] .design-intro-note{background:#ffffff9c;padding:9px 12px;border-radius:20px;color:#6072a0}html[data-design=cards] .hero{background:transparent;color:#496089;padding:0 4px;margin-bottom:18px}html[data-design=cards] .hero h2{font-size:14px;font-weight:500}html[data-design=cards] .kpis{gap:14px}html[data-design=cards] .kpi{border:0;border-radius:22px;padding:22px;box-shadow:0 6px 18px #23355506}html[data-design=cards] .kpi:nth-child(1){background:#dce6ff}html[data-design=cards] .kpi:nth-child(2){background:#d9f1e4}html[data-design=cards] .kpi:nth-child(3){background:#fff0d3}html[data-design=cards] .kpi:nth-child(4){background:#f6dfed}html[data-design=cards] .kpi-top{font-weight:650;color:#536487}html[data-design=cards] .kpi-icon{background:#ffffff80;border-radius:50%;width:30px;height:30px}html[data-design=cards] .kpi-number{font-size:34px;font-weight:750;color:#243555;margin-top:20px}html[data-design=cards] .panel,html[data-design=cards] .filterbar{border-radius:18px;border-color:#e5eaf5;box-shadow:0 5px 22px #30416b06}html[data-design=cards] .panel-head h2{font-size:19px;letter-spacing:-.5px}html[data-design=cards] .note{border-radius:13px;background:#f9fbff;color:#6680a6;border:1px solid #e1e9f7}html[data-design=cards] button,html[data-design=cards] select,html[data-design=cards] input{border-radius:10px}html[data-design=cards] .weekly thead th{background:#dce5fa;color:#5b6d9c;border-color:#cbd7f2}html[data-design=cards] .weekly .product-row td{background-color:#fbfcff;padding-top:9px;padding-bottom:9px}html[data-design=cards] .product-title strong{color:#344b81;font-size:13px}html[data-design=cards] .product-group .product-row td{border-top-width:18px}html[data-design=cards] .product-group .product-row td:first-child{border-top-left-radius:34px;border-left:3px solid #adbbf1}html[data-design=cards] .product-group td:first-child{border-left:3px solid #adbbf1}html[data-design=cards] .weekly input[data-cell]{border-color:transparent;border-radius:5px}html[data-design=cards] .simple th{background:#f0f4fd;color:#7083aa}html[data-design=cards] .simple td{padding-block:20px}html[data-design=cards] .design-preview [role=radiogroup]{border-radius:20px;padding:4px}html[data-design=cards] .design-preview button{border-radius:16px}html[data-design=cards] .design-preview button[aria-checked=true]{background:#5365e8}html[data-design=cards] .weekly{max-height:calc(100vh - 395px)}
@media(max-width:1000px){html[data-design=editorial] .sidebar{grid-template-columns:140px 1fr;padding:12px 18px;gap:12px}html[data-design=editorial] .brand-image{width:135px}html[data-design=editorial] .sidebar-bottom{display:none}html[data-design=editorial] .nav{justify-content:flex-end}.design-intro-note{display:none}}@media(max-width:760px){html[data-design=editorial] .sidebar{position:relative;display:block;width:100%;height:auto}html[data-design=editorial] .brand{display:none}html[data-design=editorial] .nav{justify-content:flex-start}html[data-design=editorial] .nav button{padding:8px}html[data-design=editorial] .content,html[data-design=cards] .content{margin-left:0;width:100%}html[data-design=cards] .sidebar{width:100%;background:#16234a}html[data-design=editorial] .main,html[data-design=cards] .main{padding:16px 12px}html[data-design=editorial] .design-intro h1{font-size:28px}html[data-design=cards] .design-intro h1{font-size:23px}html[data-design=cards] .design-intro{padding:16px}.design-intro{margin-bottom:14px}}@media print{.design-intro{display:none!important}}
.weekly .status-dropdown summary,.weekly .product-row .badge{font-size:9px;padding:3px 6px;line-height:1.2}.weekly .status-dropdown summary span{margin-left:4px}
/* v0.18: compact primary header and table. */
.mobile-menu-toggle{display:none}html[data-design=base] .shell{flex-direction:column}html[data-design=base] .sidebar,html[data-design=base] .collapsed .sidebar{position:sticky;inset:auto;top:0;width:100%;height:54px;padding:6px 18px;display:flex;align-items:center;gap:20px;background:#fff;border-right:0;border-bottom:1px solid var(--line);transition:transform .2s ease;z-index:60}html[data-design=base] .sidebar.header-hidden{transform:translateY(-110%)}html[data-design=base] .sidebar:has(:focus-visible){transform:none}html[data-design=base] .sidebar .collapse{display:none}html[data-design=base] .brand,html[data-design=base] .collapsed .brand{margin:0;padding:0;flex:0 0 130px}html[data-design=base] .brand-image,html[data-design=base] .brand-image.compact-brand{width:130px;height:34px;max-width:none;object-fit:contain;object-position:left center}html[data-design=base] .nav{display:flex;flex-direction:row;align-items:center;gap:3px;flex:1;justify-content:center}html[data-design=base] .nav button{padding:8px 11px;gap:7px;border-radius:6px;min-height:34px;font-size:11px;white-space:nowrap}html[data-design=base] .nav span,html[data-design=base] .collapsed .nav span{display:inline}html[data-design=base] .nav svg{width:16px;height:16px}html[data-design=base] .sidebar-bottom{padding:0;margin:0;flex-shrink:0}html[data-design=base] .profile{padding:0;border:0;gap:8px;flex-wrap:nowrap}html[data-design=base] .avatar{width:26px;height:26px;font-size:10px}html[data-design=base] .logout{display:block!important;width:auto;margin:0;font-size:11px;padding:7px 10px}html[data-design=base] .content,html[data-design=base] .collapsed .content{width:100%;margin:0}html[data-design=base] .main{padding:6px 16px 16px;max-width:none}html[data-design=base] .design-preview{margin:0 0 5px;font-size:10px;gap:7px}html[data-design=base] .design-preview [role=radiogroup]{padding:2px}html[data-design=base] .design-preview button{padding:3px 8px;font-size:10px}html[data-design=base] .note{padding:5px 10px;margin-bottom:6px;font-size:10px;line-height:1.4}html[data-design=base] .filterbar{padding:5px 10px;gap:8px;margin-bottom:6px;min-height:40px}html[data-design=base] .filterbar select{padding:5px 8px;min-height:28px;font-size:11px}html[data-design=base] .filterbar .label{margin-right:5px;font-size:11px}html[data-design=base] .table-toolbar{margin-bottom:5px;gap:5px}html[data-design=base] .table-toolbar button,html[data-design=base] .export-menu>summary{padding:6px 9px;font-size:11px}html[data-design=base] .table-toolbar .icon-action{height:29px;width:29px;padding:3px;font-size:19px}html[data-design=base] .weekly{width:100%;max-height:calc(100dvh - 191px);overscroll-behavior:contain}html[data-design=base] .weekly table{width:100%}html[data-design=base] .weekly thead th{height:42px;padding-block:6px}html[data-design=base] .weekly tbody td{padding-top:1px;padding-bottom:1px}html[data-design=base] .weekly input[data-cell]{height:20px;padding:1px 3px}html[data-design=base] .weekly .product-row td{padding-top:5px;padding-bottom:5px;border-top-width:10px}html[data-design=base] .table-footer{margin-top:6px;font-size:10px}html[data-design=base] .heading:has(>div:empty){display:none}html[data-design=base] .kpis{margin-bottom:14px}html[data-design=base] .hero{padding:15px 20px;margin-bottom:10px}
.mobile-week-bar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:10px 0}.mobile-week-bar>button{width:44px;height:44px;font-size:24px;padding:0}.mobile-week-bar label{flex:1;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.mobile-week-bar select{width:100%;min-width:0;font-size:16px;padding:8px;min-height:44px}.mobile-table-actions{display:flex;align-items:center;gap:6px}.mobile-table-actions>.export-menu{margin-right:auto}.mobile-table-actions button{min-height:40px;padding:8px 10px;font-size:12px}.mobile-edit-note{font-size:10px;color:var(--muted);line-height:1.5;margin:8px 2px}.mobile-product{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:visible;margin:12px 0;box-shadow:0 2px 6px #04082303}.mobile-product-head{padding:12px;display:flex;gap:8px;justify-content:space-between;align-items:center}.mobile-product-head h2{font-size:14px;line-height:1.4;letter-spacing:0}.mobile-product-head small{font-size:10px}.mobile-product-head .status-select{padding:8px;font-size:10px;white-space:nowrap;min-height:38px}.mobile-intake{padding:0 12px 7px}.mobile-intake>summary{font-size:11px;color:var(--muted);padding:7px 0;min-height:32px;cursor:pointer}.mobile-intake .acceptance-dates{margin:0;display:flex;flex-wrap:wrap;gap:8px}.mobile-intake .acceptance-dates input{font-size:16px;min-height:44px;width:140px}.mobile-metrics{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums}.mobile-metrics th,.mobile-metrics td{background:var(--row,#fff);border-top:1px solid #edf0f4;padding:4px 8px;text-align:right}.mobile-metrics th{width:43%;font-size:11px;color:#647088;text-align:left;font-weight:400;line-height:1.4;padding-left:12px}.mobile-metrics td{width:28.5%;position:relative}.mobile-metrics td small{display:block;font-size:9px;color:#8b95a7}.mobile-metrics input{width:100%;min-width:0;border:1px solid transparent;background:transparent;text-align:right;padding:3px 0;font-size:16px;height:31px;color:#27324b}.mobile-metrics input:disabled{opacity:1;-webkit-text-fill-color:#52617a}.mobile-metrics input:not(:disabled):focus{background:#fff;border-color:#b5c6ea}.mobile-metrics input:not(:disabled):hover{border-color:#d3ddef}.mobile-metrics [data-conversion]{display:block;min-height:34px;line-height:34px;font-size:14px}.mobile-metrics tr:last-child th{border-bottom-left-radius:13px}.mobile-metrics tr:last-child td:last-child{border-bottom-right-radius:13px}.mobile-metrics td.changed{box-shadow:inset 0 0 0 1px #9fb6ef}
@media(max-width:1150px) and (min-width:761px){html[data-design=base] .sidebar{gap:10px;padding-inline:12px}html[data-design=base] .nav button{padding-inline:7px;font-size:10px}html[data-design=base] .brand{flex-basis:105px}html[data-design=base] .brand-image{width:105px}html[data-design=base] .avatar{display:none}}
@media(max-width:760px){html{scroll-padding-top:65px}body{overflow-x:hidden}.shell{flex-direction:column}.sidebar,html[data-design=cards] .sidebar,html[data-design=editorial] .sidebar,html[data-design=base] .sidebar{position:sticky;inset:auto;top:0;width:100%;height:56px;min-height:56px;padding:5px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);z-index:70}.sidebar .brand,html[data-design=editorial] .brand,html[data-design=base] .brand{display:flex;margin:0;padding:0;flex:0 0 100px}.brand-image,html[data-design=base] .brand-image,html[data-design=editorial] .brand-image{height:32px;width:100px;object-fit:contain;object-position:left center}.sidebar .collapse{display:none!important}.mobile-menu-toggle{display:flex;align-items:center;gap:6px;min-height:44px;font-size:18px;padding:7px 12px}.mobile-menu-toggle span{font-size:12px}.sidebar .nav,html[data-design=base] .nav,html[data-design=editorial] .nav{display:none;position:absolute;top:100%;left:0;width:100%;padding:10px 12px 14px;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 18px #04082312;gap:5px}.sidebar.mobile-menu-open .nav,html[data-design=base] .sidebar.mobile-menu-open .nav,html[data-design=editorial] .sidebar.mobile-menu-open .nav{display:grid}.sidebar .nav button,html[data-design=base] .nav button{min-height:56px;display:flex;flex-direction:column;gap:6px;padding:7px 4px;font-size:10px;text-align:center;justify-content:center;white-space:normal}.sidebar .nav span{display:block!important}.sidebar .nav svg{width:18px;height:18px}.sidebar-bottom,html[data-design=editorial] .sidebar-bottom{display:block;padding:0;margin:0}.profile{padding:0;border:0}.profile .avatar{display:none}.sidebar .logout{display:block!important;margin:0;width:auto;font-size:11px;padding:9px;min-height:40px}.content,html[data-design=cards] .content,html[data-design=editorial] .content,html[data-design=base] .content{width:100%;margin:0}.main,html[data-design=base] .main,html[data-design=cards] .main,html[data-design=editorial] .main{padding:9px 12px calc(20px + env(safe-area-inset-bottom))}.design-preview,html[data-design=base] .design-preview{justify-content:flex-end;flex-wrap:nowrap;gap:4px;margin-bottom:8px}.design-preview>span{display:none}.design-preview button,html[data-design=base] .design-preview button{font-size:10px;padding:6px 8px;min-height:30px}.filterbar,html[data-design=base] .filterbar{display:grid;grid-template-columns:1fr 1fr;padding:9px;gap:8px;margin-bottom:8px;border-radius:12px}.filterbar .label,.filterbar .right{display:none}.filterbar select,html[data-design=base] .filterbar select{min-width:0;max-width:100%;width:100%;min-height:44px;font-size:16px;padding:7px}.filterbar [data-filter=product]{grid-column:1/-1;grid-row:1}.filterbar .export-menu{grid-column:1/-1;margin:0;justify-self:end}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{padding:14px;min-width:0}.kpi-top{font-size:11px}.kpi-number{font-size:27px;overflow-wrap:anywhere}.kpi-foot{line-height:1.4}.kpi-icon{width:25px;height:25px}.hero{display:none!important}.panel-head{padding:14px}.panel-head h2{font-size:15px}.chart{padding:0 8px}.chart svg{height:190px}.table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.simple{min-width:530px}.simple th,.simple td{padding:12px;font-size:11px}.settings{padding:16px;gap:16px}.settings label{gap:8px;flex-wrap:wrap}.account-password input,.settings input,.settings select,.user-form input,.user-form select{font-size:16px;max-width:100%;min-height:44px}.user-form{display:grid;gap:10px;padding:14px}.user-form label{min-width:0}.user-form button{min-height:44px}.snapshot{padding:16px;gap:12px}.snapshot .actions{width:100%}.snapshot .actions button{flex:1;min-height:44px}.catalog-list>div{align-items:start;gap:8px}.catalog-list .actions{justify-content:flex-end}.catalog-list button{padding:9px;font-size:11px;min-height:40px}.catalog-settings form label{width:100%}.catalog-settings form input{width:100%}.design-intro{margin-bottom:12px}.design-intro h1{font-size:24px}.version{display:none}.toast{width:calc(100% - 24px);font-size:12px;text-align:center;bottom:calc(16px + env(safe-area-inset-bottom))}html[data-design=cards] .sidebar .nav{background:#16234a}html[data-design=cards] .mobile-menu-toggle{background:#26355b;color:#fff;border-color:#445578}html[data-design=editorial] .kpi-number{font-size:29px}html[data-design=cards] .kpi-number{font-size:29px}html[data-design=cards] .simple td{padding-block:14px}}
@media(prefers-reduced-motion:reduce){html[data-design=base] .sidebar{transition:none}}
html[data-design=base] .sidebar{flex-direction:row}html[data-design=base] .profile>div:not(.avatar){display:none}html[data-design=base] .main:has(.design-preview) .weekly{max-height:calc(100dvh - 226px)}
@media(max-width:760px){.sidebar,html[data-design=cards] .sidebar,html[data-design=editorial] .sidebar,html[data-design=base] .sidebar{flex-direction:row}.sidebar .profile>div:not(.avatar){display:none}}
/* v0.19: one primary design, compact overview and account controls. */
.dashboard-summary{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;margin:8px 0 12px;align-items:stretch}.dashboard-summary .kpis{display:grid;grid-template-columns:1fr;gap:7px;margin:0}.dashboard-summary .kpi{padding:9px 12px;position:relative;min-height:60px}.dashboard-summary .kpi-top{justify-content:flex-start;gap:8px;font-size:11px;padding-right:85px}.dashboard-summary .kpi-icon{width:23px;height:23px;border-radius:6px;flex-shrink:0}.dashboard-summary .kpi-icon svg{width:14px;height:14px}.dashboard-summary .kpi-number{position:absolute;right:12px;top:13px;font-size:23px;line-height:1.2;margin:0;letter-spacing:-.5px}.dashboard-summary .kpi-foot{font-size:9px;margin-top:4px}.dashboard-summary .grid{margin:0;gap:12px}.dashboard-summary .panel-head{padding:13px 18px 4px}.dashboard-summary .panel-head h2{font-size:14px}.dashboard-summary .panel-head p{margin-top:3px;font-size:10px}.dashboard-summary .chart svg{height:180px}.dashboard-summary .legend{font-size:10px;padding:4px 0 10px}.dashboard-summary .funnel{padding:0 14px 8px}.dashboard-summary .funnel-row{margin:12px 0}.simple th{padding-top:9px;padding-bottom:9px}.simple td{padding-top:8px;padding-bottom:8px;font-size:12px}.simple .product-name small{margin-top:2px;font-size:10px}.snapshot{padding:10px 18px;gap:10px}.snapshot p{font-size:12px}.snapshot small{font-size:10px}.snapshot .actions button{padding:7px 10px;font-size:11px}.snapshot.current-version{background:#f0f4f8}html[data-design=base] .main .weekly{max-height:calc(100dvh - 198px)}.weekly .product-title{align-items:center;gap:5px}.weekly .product-title strong{font-size:11px}.product-resolution{font-size:9px;font-weight:400;color:var(--muted);white-space:nowrap}.product-intake-line{display:flex;align-items:center;gap:6px;margin:4px 0 0 24px;white-space:nowrap}.weekly .product-intake-line .acceptance-dates{display:flex;align-items:center;gap:4px;margin:0}.weekly .product-intake-line .acceptance-dates input{width:84px;font-size:9px}.weekly .product-intake-line .badge{font-size:9px;padding:3px 6px}.product-intake-line .status-dropdown{flex-shrink:0}.product-intake-line .status-select{white-space:nowrap}.password-field{display:flex;align-items:center;position:relative;width:100%;min-width:0}.password-field input{width:100%;padding-right:43px!important}.password-visibility{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:38px;height:36px;padding:8px;border:0;background:transparent;color:var(--muted)}.password-visibility svg{width:20px;height:20px}.password-visibility:hover{background:#edf1f7}.login-box label .password-field{margin-top:8px}.login-box label .password-field input{margin-top:0}.account-password .password-field{max-width:320px}html[data-design=base] button.avatar{padding:0;border:0;cursor:pointer;display:grid;place-items:center}html[data-design=base] button.avatar:hover{background:#d5dced}.hero{display:block!important}
@media(max-width:1050px) and (min-width:761px){.dashboard-summary{grid-template-columns:235px minmax(0,1fr)}.dashboard-summary .grid{grid-template-columns:1fr}.dashboard-summary .funnel-panel{display:none}.dashboard-summary .kpi-number{font-size:20px}.dashboard-summary .kpi-top{padding-right:75px}}
@media(max-width:760px){.dashboard-summary{grid-template-columns:1fr;gap:10px;margin-top:8px}.dashboard-summary .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-summary .kpi{min-height:87px;padding:10px}.dashboard-summary .kpi-top{padding:0;font-size:10px}.dashboard-summary .kpi-number{position:static;margin:6px 0 4px;font-size:22px}.dashboard-summary .kpi-foot{font-size:8px}.dashboard-summary .grid{grid-template-columns:1fr}.dashboard-summary .chart svg{height:170px}.hero{padding:12px!important;margin-bottom:8px!important}.hero h2{font-size:14px}.simple td{padding-top:8px;padding-bottom:8px}.snapshot{padding:10px 12px}.snapshot .actions button{min-height:36px}.password-visibility{height:40px;width:40px}.account-password .password-field{max-width:100%}html[data-design=base] button.avatar{display:none}.account-password label{align-items:flex-start}}

#app{container:phone / inline-size}.phone-preview{width:402px;max-width:100%;margin:12px auto;border:1px solid #dce1eb;border-radius:24px;box-shadow:0 18px 60px #16213b20;overflow:clip}.mobile-preview-settings{padding-block:12px;border-block:1px solid var(--line)}
@container phone (max-width:760px){.sidebar{width:64px;padding:20px 6px}.brand-name,.eyebrow,.nav span,.profile div:last-child{display:none}.brand{padding:0 4px;margin-bottom:30px}.logo{width:40px}.nav button{padding:13px;justify-content:center}.profile{padding:12px 4px}.collapse{display:none}.content{margin-left:64px;width:calc(100% - 64px)}.main{padding:20px 15px}.topbar{padding:0 15px}.topbar>span{display:none}.heading{align-items:flex-start;flex-direction:column}h1{font-size:23px}.hero{padding:23px}.hero-mark{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.filterbar{gap:8px;padding:12px}.filterbar .label{width:100%}.filterbar select{min-width:100px;max-width:100%}.actions{flex-wrap:wrap}.panel-head{padding:18px}.simple th,.simple td{padding:13px}.legend{gap:12px;flex-wrap:wrap}.snapshot{align-items:flex-start;gap:12px;flex-direction:column}}
@container phone (max-width:760px){.brand-image{width:40px;height:44px;object-fit:cover;object-position:left}.topbar>span{display:block}.topbar .badge{display:none}.page-title{visibility:visible!important;font-size:13px!important}.shell:not(.collapsed) .page-title{visibility:visible}.logout{font-size:0}.logout:after{content:'⇥';font-size:16px}.user-form{padding:15px}.sidebar .collapse{display:none}.heading .actions button{padding:8px;font-size:11px}.weekly-title{font-size:14px}.user-row select{max-width:120px}}
@container phone (max-width:760px){.grid:not(.no-funnel){grid-template-columns:minmax(0,1fr)}}
@container phone (max-width:760px){.main{padding:14px 12px}.topbar{padding:0 12px}.heading{align-items:stretch;gap:8px}.heading .actions{flex-direction:row}.weekly{max-height:calc(100vh - 260px)}}
@container phone (max-width:760px){.shell:not(.collapsed) .page-title{visibility:visible!important}.sidebar .collapse{display:none}.table-toolbar{justify-content:flex-end}.bar-row{grid-template-columns:100px minmax(0,1fr) 35px;gap:8px}}
@container phone (max-width:760px){.design-preview{justify-content:flex-start;gap:7px;flex-wrap:wrap}.design-preview button{padding:6px 8px}.user-row td:has(.product-picker){white-space:normal}.user-row [data-user-access]{margin:5px 0 0}}
@container phone (max-width:760px){html[data-design=editorial] .sidebar{position:relative;display:block;width:100%;height:auto}html[data-design=editorial] .brand{display:none}html[data-design=editorial] .nav{justify-content:flex-start}html[data-design=editorial] .nav button{padding:8px}html[data-design=editorial] .content,html[data-design=cards] .content{margin-left:0;width:100%}html[data-design=cards] .sidebar{width:100%;background:#16234a}html[data-design=editorial] .main,html[data-design=cards] .main{padding:16px 12px}html[data-design=editorial] .design-intro h1{font-size:28px}html[data-design=cards] .design-intro h1{font-size:23px}html[data-design=cards] .design-intro{padding:16px}.design-intro{margin-bottom:14px}}
@container phone (max-width:760px){html{scroll-padding-top:65px}body{overflow-x:hidden}.shell{flex-direction:column}.sidebar,html[data-design=cards] .sidebar,html[data-design=editorial] .sidebar,html[data-design=base] .sidebar{position:sticky;inset:auto;top:0;width:100%;height:56px;min-height:56px;padding:5px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);z-index:70}.sidebar .brand,html[data-design=editorial] .brand,html[data-design=base] .brand{display:flex;margin:0;padding:0;flex:0 0 100px}.brand-image,html[data-design=base] .brand-image,html[data-design=editorial] .brand-image{height:32px;width:100px;object-fit:contain;object-position:left center}.sidebar .collapse{display:none!important}.mobile-menu-toggle{display:flex;align-items:center;gap:6px;min-height:44px;font-size:18px;padding:7px 12px}.mobile-menu-toggle span{font-size:12px}.sidebar .nav,html[data-design=base] .nav,html[data-design=editorial] .nav{display:none;position:absolute;top:100%;left:0;width:100%;padding:10px 12px 14px;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 18px #04082312;gap:5px}.sidebar.mobile-menu-open .nav,html[data-design=base] .sidebar.mobile-menu-open .nav,html[data-design=editorial] .sidebar.mobile-menu-open .nav{display:grid}.sidebar .nav button,html[data-design=base] .nav button{min-height:56px;display:flex;flex-direction:column;gap:6px;padding:7px 4px;font-size:10px;text-align:center;justify-content:center;white-space:normal}.sidebar .nav span{display:block!important}.sidebar .nav svg{width:18px;height:18px}.sidebar-bottom,html[data-design=editorial] .sidebar-bottom{display:block;padding:0;margin:0}.profile{padding:0;border:0}.profile .avatar{display:none}.sidebar .logout{display:block!important;margin:0;width:auto;font-size:11px;padding:9px;min-height:40px}.content,html[data-design=cards] .content,html[data-design=editorial] .content,html[data-design=base] .content{width:100%;margin:0}.main,html[data-design=base] .main,html[data-design=cards] .main,html[data-design=editorial] .main{padding:9px 12px calc(20px + env(safe-area-inset-bottom))}.design-preview,html[data-design=base] .design-preview{justify-content:flex-end;flex-wrap:nowrap;gap:4px;margin-bottom:8px}.design-preview>span{display:none}.design-preview button,html[data-design=base] .design-preview button{font-size:10px;padding:6px 8px;min-height:30px}.filterbar,html[data-design=base] .filterbar{display:grid;grid-template-columns:1fr 1fr;padding:9px;gap:8px;margin-bottom:8px;border-radius:12px}.filterbar .label,.filterbar .right{display:none}.filterbar select,html[data-design=base] .filterbar select{min-width:0;max-width:100%;width:100%;min-height:44px;font-size:16px;padding:7px}.filterbar [data-filter=product]{grid-column:1/-1;grid-row:1}.filterbar .export-menu{grid-column:1/-1;margin:0;justify-self:end}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{padding:14px;min-width:0}.kpi-top{font-size:11px}.kpi-number{font-size:27px;overflow-wrap:anywhere}.kpi-foot{line-height:1.4}.kpi-icon{width:25px;height:25px}.hero{display:none!important}.panel-head{padding:14px}.panel-head h2{font-size:15px}.chart{padding:0 8px}.chart svg{height:190px}.table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.simple{min-width:530px}.simple th,.simple td{padding:12px;font-size:11px}.settings{padding:16px;gap:16px}.settings label{gap:8px;flex-wrap:wrap}.account-password input,.settings input,.settings select,.user-form input,.user-form select{font-size:16px;max-width:100%;min-height:44px}.user-form{display:grid;gap:10px;padding:14px}.user-form label{min-width:0}.user-form button{min-height:44px}.snapshot{padding:16px;gap:12px}.snapshot .actions{width:100%}.snapshot .actions button{flex:1;min-height:44px}.catalog-list>div{align-items:start;gap:8px}.catalog-list .actions{justify-content:flex-end}.catalog-list button{padding:9px;font-size:11px;min-height:40px}.catalog-settings form label{width:100%}.catalog-settings form input{width:100%}.design-intro{margin-bottom:12px}.design-intro h1{font-size:24px}.version{display:none}.toast{width:calc(100% - 24px);font-size:12px;text-align:center;bottom:calc(16px + env(safe-area-inset-bottom))}html[data-design=cards] .sidebar .nav{background:#16234a}html[data-design=cards] .mobile-menu-toggle{background:#26355b;color:#fff;border-color:#445578}html[data-design=editorial] .kpi-number{font-size:29px}html[data-design=cards] .kpi-number{font-size:29px}html[data-design=cards] .simple td{padding-block:14px}}
@container phone (max-width:760px){.sidebar,html[data-design=cards] .sidebar,html[data-design=editorial] .sidebar,html[data-design=base] .sidebar{flex-direction:row}.sidebar .profile>div:not(.avatar){display:none}}
@container phone (max-width:760px){.dashboard-summary{grid-template-columns:1fr;gap:10px;margin-top:8px}.dashboard-summary .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-summary .kpi{min-height:87px;padding:10px}.dashboard-summary .kpi-top{padding:0;font-size:10px}.dashboard-summary .kpi-number{position:static;margin:6px 0 4px;font-size:22px}.dashboard-summary .kpi-foot{font-size:8px}.dashboard-summary .grid{grid-template-columns:1fr}.dashboard-summary .chart svg{height:170px}.hero{padding:12px!important;margin-bottom:8px!important}.hero h2{font-size:14px}.simple td{padding-top:8px;padding-bottom:8px}.snapshot{padding:10px 12px}.snapshot .actions button{min-height:36px}.password-visibility{height:40px;width:40px}.account-password .password-field{max-width:100%}html[data-design=base] button.avatar{display:none}.account-password label{align-items:flex-start}}
.weekly{--product-width:350px;--week-width:max(76px,calc((100vw - 382px)/10))}.weekly table.weekly-fixed{table-layout:fixed;width:calc(var(--product-width) + var(--week-count)*var(--week-width));min-width:0}.weekly .product-col{width:var(--product-width)}.weekly .week-col{width:var(--week-width)}.weekly th:first-child,.weekly td:first-child,.weekly .product-row td:first-child{width:var(--product-width);min-width:var(--product-width);max-width:var(--product-width)}
@media(max-width:760px){.sidebar .logout:after{content:none!important}.sidebar .mobile-menu-toggle{order:3;margin-left:0;padding:8px;width:40px;height:40px;min-height:40px;border-radius:12px;background:#f3f5fa;color:#101936}.mobile-menu-toggle svg{width:22px;height:22px}.sidebar-bottom{margin-left:auto!important}.filterbar,html[data-design=base] .filterbar{background:#fff}.filterbar select,html[data-design=base] .filterbar select{font-size:12px;min-height:34px}.weekly{--product-width:210px;--week-width:84px;max-height:calc(100dvh - 250px)!important}.weekly .product-title strong{font-size:11px}.weekly .product-intake-line{margin-left:0;flex-wrap:wrap;gap:4px}.weekly .acceptance-dates{margin:0;gap:3px}.weekly .acceptance-dates input{width:82px!important;font-size:9px}.weekly .metric-name{font-size:10px}.table-toolbar{gap:4px}.table-toolbar button{font-size:10px;padding:7px}.product-expansion{gap:4px}.note{font-size:9px}.weekly td input{font-size:11px}.weekly .product-row td{padding:7px 5px}.weekly th:first-child{font-size:10px}}

@container phone (max-width:760px){.sidebar .logout:after{content:none!important}.sidebar .mobile-menu-toggle{order:3;margin-left:0;padding:8px;width:40px;height:40px;min-height:40px;border-radius:12px;background:#f3f5fa;color:#101936}.mobile-menu-toggle svg{width:22px;height:22px}.sidebar-bottom{margin-left:auto!important}.filterbar,html[data-design=base] .filterbar{background:#fff}.filterbar select,html[data-design=base] .filterbar select{font-size:12px;min-height:34px}.weekly{--product-width:210px;--week-width:84px;max-height:calc(100dvh - 250px)!important}.weekly .product-title strong{font-size:11px}.weekly .product-intake-line{margin-left:0;flex-wrap:wrap;gap:4px}.weekly .acceptance-dates{margin:0;gap:3px}.weekly .acceptance-dates input{width:82px!important;font-size:9px}.weekly .metric-name{font-size:10px}.table-toolbar{gap:4px}.table-toolbar button{font-size:10px;padding:7px}.product-expansion{gap:4px}.note{font-size:9px}.weekly td input{font-size:11px}.weekly .product-row td{padding:7px 5px}.weekly th:first-child{font-size:10px}}

.phone-preview .sidebar{width:100%!important}.phone-preview .weekly{--product-width:210px;--week-width:84px}.phone-preview .main{min-width:0}.phone-preview .shell{flex-direction:column}
html[data-design=base] .weekly table.weekly-fixed{width:calc(var(--product-width) + var(--week-count)*var(--week-width));min-width:0}

/* Keep change review in the label column, away from numeric inputs. */
#validation{left:24px;right:auto;width:300px;max-width:calc(100vw - 48px)}#review-validation{left:24px;right:auto}
@media(max-width:760px){#validation{position:relative;inset:auto;width:100%;max-width:100%;max-height:none;margin-bottom:8px;box-shadow:none}#review-validation{position:static;box-shadow:none}}
@container phone (max-width:760px){#validation{position:relative;inset:auto;width:100%;max-width:100%;max-height:none;margin-bottom:8px;box-shadow:none}#review-validation{position:static;box-shadow:none}}

.validation-window-head{cursor:move;touch-action:none;user-select:none}.validation-window-head button{cursor:pointer}.kpi-track{height:3px;border-radius:4px;background:#edf0f7;margin-top:5px;overflow:hidden}.kpi-track span{display:block;height:100%;border-radius:4px}.dashboard-summary .kpi{padding-bottom:9px;min-height:65px}.weekly thead th.sticky-product-slot{text-align:left;padding:6px 8px;background:#fff;vertical-align:middle}.sticky-product-slot .product-title strong{font-size:11px}.sticky-product-slot .product-intake-line{margin-top:4px}.weekly-tail td{padding:0!important;border:0!important;background:var(--bg)!important}.weekly-tail{pointer-events:none}

.sticky-product-slot .drag-handle{display:inline-flex;align-items:center;justify-content:center;color:#939bae;font-size:22px;cursor:grab;touch-action:none;min-width:20px;width:20px;vertical-align:middle}.sticky-product-slot .drag-handle:active{cursor:grabbing}

/* Header and source rows have fixed geometry: switching product cannot shift the scroll threshold. */
.weekly thead th{height:76px!important}.weekly .product-row td{height:76px!important}.weekly .product-group[data-sticky-first]>.product-row{display:none}.weekly .sticky-product-slot{color:var(--navy)}.sticky-product-slot [data-toggle]{border:0;background:transparent;padding:0;min-width:18px;height:22px}.chart svg{display:block;width:100%;height:auto!important;max-height:245px;min-height:160px}.chart{padding-inline:12px}.support-overview{width:max-content!important;min-width:0!important;table-layout:auto}.support-overview th,.support-overview td,.support-overview .num{text-align:left!important;white-space:nowrap}.support-overview .progress{margin-left:0;margin-right:8px}.support-overview th,.support-overview td{padding-inline:12px}

.dashboard-summary .chart svg{height:220px!important;max-height:none;min-height:0}
.panel:has(.support-overview){width:fit-content;max-width:100%}

.chart-range{display:flex;align-items:center;gap:8px;padding:0 18px 5px;font-size:10px;color:var(--muted)}.chart-range button{padding:3px 7px;font-size:10px}.dashboard-summary .chart svg{height:222px!important}.chart-period{cursor:pointer}.selected-overview-product td{background:#eef2ff!important}.selected-overview-product td:first-child{box-shadow:inset 3px 0 #5474d6}.toggle-products{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.toggle-products svg{width:15px;height:15px}.filterbar .toggle-products{margin-right:4px}
@media(max-width:760px){.filterbar .toggle-products{grid-column:1/-1;grid-row:1;justify-self:start}.filterbar:has(.toggle-products) [data-filter=product]{grid-row:2}.chart-range{font-size:9px;padding-inline:12px;flex-wrap:wrap}}
@container phone (max-width:760px){.filterbar .toggle-products{grid-column:1/-1;grid-row:1;justify-self:start}.filterbar:has(.toggle-products) [data-filter=product]{grid-row:2}.chart-range{font-size:9px;padding-inline:12px;flex-wrap:wrap}}

.filter-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.filter-actions .export-menu{margin-left:0}.filter-actions .icon-action{font-size:21px;line-height:1;padding:5px;width:32px;height:32px;display:grid;place-items:center}.filter-actions button{font-size:11px;padding:7px 10px}.filter-actions .export-options{left:auto;right:0}html[data-design=base] .weekly thead th.week-column{background:#fff!important}
@media(max-width:760px){.filter-actions{grid-column:1/-1;justify-self:end;margin:0;flex-wrap:wrap}.filter-actions .export-menu{margin:0}.filter-actions .icon-action{width:30px;height:30px}.filter-actions button{font-size:10px}.weekly{max-height:calc(100dvh - 245px)!important}}
@container phone (max-width:760px){.filter-actions{grid-column:1/-1;justify-self:end;margin:0;flex-wrap:wrap}.filter-actions .export-menu{margin:0}.filter-actions .icon-action{width:30px;height:30px}.filter-actions button{font-size:10px}.weekly{max-height:calc(100dvh - 245px)!important}}

.catalog-list .archived-product>span,.catalog-list .archived-product strong,.catalog-list .archived-product small{color:#9299a6}.date-control{display:inline-flex;align-items:center;position:relative;min-width:0}.date-control input{padding-right:26px!important}.date-control input::-webkit-calendar-picker-indicator{display:none}.date-calendar-trigger{position:absolute;right:3px;padding:2px!important;width:20px;height:22px;min-height:0!important;border:0;background:transparent;display:grid;place-items:center}.date-calendar-trigger svg{width:14px;height:14px}.date-calendar{position:fixed;width:280px;padding:12px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #04082324;z-index:200;font-size:12px}.date-calendar-head,.date-calendar-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.date-calendar-head button{padding:4px 10px;font-size:20px}.date-calendar-head strong{text-transform:capitalize}.date-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-block:10px;text-align:center}.date-calendar-grid button{padding:7px 0;font-size:12px;border:0}.date-calendar-grid [aria-pressed=true]{background:var(--navy);color:white}.date-calendar-foot{border-top:1px solid var(--line);padding-top:8px}.date-calendar-foot button{padding:6px 9px;font-size:12px}

.excel-settings{display:grid;gap:12px}.excel-settings p{line-height:1.5}.excel-settings form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.excel-settings form label{display:grid;gap:6px;align-items:start!important}.excel-settings textarea{min-width:260px;min-height:65px}.button-link{display:inline-block;justify-self:start;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:var(--navy);text-decoration:none;background:white}#excel-preview{display:grid;gap:10px}#excel-preview>button{justify-self:start}

.excel-error-note{background:#fff3f5;color:#b4233d;border:1px solid #f4ccd3;border-radius:8px;padding:12px}.excel-errors tbody td{background:#fff3f5!important}.excel-errors td:last-child{white-space:normal;min-width:250px}

.excel-settings #excel-reason,.excel-settings #excel-file,.excel-settings form>button{height:38px;min-height:38px}.excel-settings #excel-reason{min-width:260px}
