@charset "UTF-8";
:root{--ink:#192a30;--muted:#7e8c91;--line:#e5ebeb;--teal:#167c6c;--teal-light:#edf7f3;--fixed:476px;--row:42px;--head:90px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:13px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#f6f8f8}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit}button:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #1b8b76;outline-offset:3px}button{transition:background .15s,border-color .15s}button:disabled{opacity:.5;cursor:default}.app-header{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.brand,.header-right{display:flex;align-items:center;gap:16px}.brand strong{font-size:16px;letter-spacing:.5px}.brand-mark{background:#146e60;color:#fff;width:32px;height:32px;display:grid;place-items:center;font-size:25px;border-radius:8px}.separator{height:20px;border-left:1px solid var(--line);margin:0 3px}.workspace-name{color:#64757a}.demo-pill{font-size:12px;color:#98702c;background:#fcf6e8;border:1px solid #eee3c8;padding:5px 10px;border-radius:20px;display:flex;align-items:center;gap:6px}.demo-pill i{width:5px;height:5px;border-radius:50%;background:#b58a3e}.icon-button{border:1px solid var(--line);background:white;border-radius:50%;width:27px;height:27px;font-size:15px;color:#748487}.icon-button:hover{background:#f1f5f4}.avatar{background:#eaf0ef;border:1px solid #dee7e4;color:#59716b;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:12px}main{padding:22px 32px 0;max-width:2200px;margin:auto}.breadcrumb{display:flex;gap:12px;color:#8a9799;font-size:12px}.breadcrumb b{font-weight:500;color:#4e6367}.heading{display:flex;justify-content:space-between;align-items:center;margin:23px 0 20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#83968f;font-weight:600;margin-bottom:7px}h1{font-size:28px;font-weight:650;letter-spacing:1px;margin:0;display:flex;align-items:center;gap:12px}.scope-badge{font-size:11px;letter-spacing:0;background:#e8f2ed;color:#4c7967;font-weight:500;border:1px solid #d4e8dc;padding:4px 8px;border-radius:4px}.heading p{color:#7c8b8e;font-size:12px;margin:10px 0 0}.heading-actions{display:flex;gap:10px}.button{height:36px;border-radius:6px;padding:0 14px;border:1px solid #dbe3e0;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500}.button:hover{background:#f0f5f3}.button.primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 2px 3px #0f544515}.button.primary:hover{background:#126757}.primary span{font-size:18px}.notice{background:#fffbf1;border:1px solid #f0e8ce;border-radius:6px;padding:10px 13px;display:flex;align-items:center;gap:9px;color:#9b8254;font-size:11px;line-height:1.6}.notice strong{font-weight:600;color:#8b713f}.notice-symbol{border:1px solid #c2ad75;border-radius:50%;width:14px;height:14px;line-height:12px;text-align:center;flex-shrink:0}.notice button{border:0;background:none;color:#9b8254;margin-left:auto;white-space:nowrap;font-size:11px}.report{margin-top:20px;border:1px solid #dfe7e4;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 5px #24382e03}.report-bar{padding:17px 18px;display:flex;justify-content:space-between;align-items:center;gap:14px}.report-title{display:flex;align-items:center;gap:9px;white-space:nowrap}.report-title strong{font-size:14px;font-weight:600}.table-icon{font-size:19px;color:var(--teal)}.report-title>span:last-child{font-size:11px;color:#8f9c9e;background:#f4f6f5;padding:3px 7px;border-radius:4px}.period-controls{display:flex;gap:10px;align-items:center;color:#859294;font-size:11px}.period-controls select{height:30px;background:#fff;font-weight:550;color:#435953}.vertical-line{height:18px;border-left:1px solid var(--line);margin:0 2px}.segmented{display:flex;padding:3px;background:#f2f5f3;border-radius:5px}.segmented button{height:25px;padding:0 10px;font-size:11px;color:#7d8d88;border:0;border-radius:4px;background:none;white-space:nowrap}.segmented button.active{background:white;color:#256e5e;box-shadow:0 1px 4px #203c2310}.filters{padding:0 18px 16px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line)}select{border:1px solid #e0e6e4;border-radius:5px;padding:0 23px 0 9px;height:32px;color:#566a6b;font-size:11px;background:#fff;max-width:180px}.search{width:235px;min-width:160px;display:flex;align-items:center;gap:8px;border:1px solid #e0e6e4;border-radius:5px;height:32px;padding:0 9px}.search>span{font-size:20px;color:#8e9e9c;line-height:1}.search input{min-width:0;flex:1;border:0;background:none;font-size:11px;color:#405653;outline:none}.search input::placeholder{color:#98a5a5}.search:focus-within{border-color:#429382;box-shadow:0 0 0 2px #1b8b7610}kbd{font-size:10px;border:1px solid #e5eae7;border-radius:3px;color:#aab4b0;padding:1px 4px}.checkbox{display:flex;align-items:center;gap:4px;font-size:11px;color:#70817c;white-space:nowrap}.checkbox input,.heat-label input{accent-color:var(--teal);width:12px;height:12px;margin:0 4px 0 0}.text-button{padding:4px 6px;border:0;background:transparent;color:#7a8e87;font-size:11px;white-space:nowrap}.text-button:hover{color:var(--teal);background:#eef6f2;border-radius:4px}.filter-spacer{flex:1}.sort-label{display:flex;gap:7px;align-items:center;font-size:11px;white-space:nowrap;color:#8b9994}.sort-label select{border:0;background:#f5f7f6}.table-context{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:#fcfdfc;color:#8d9b98;font-size:10px;gap:10px}.table-context>span,.table-context>div{display:flex;align-items:center;gap:8px}.teal-dot{height:5px;width:5px;border-radius:50%;background:#4a9780;display:inline-block}.context-divider{color:#c2cbc6;margin:0 5px}.heat-label{display:flex;align-items:center;white-space:nowrap}.heat-scale{width:49px;height:7px;border-radius:2px;background:linear-gradient(90deg,#f8fcfa,#addac6)}.muted{color:#97a6a0}.viewport{height:clamp(310px,calc(100vh - 370px),800px);min-height:310px;overflow:auto;position:relative;overscroll-behavior:contain;background:white;border-top:1px solid var(--line);scrollbar-color:#b6c6bf #f4f7f5;scrollbar-width:thin}#grid{position:relative;min-width:100%}#gridHead{height:90px;position:sticky;top:0;z-index:20;background:#f5f8f6;border-bottom:1px solid #d6e4dc}.head-labels{height:50px;position:relative;width:100%;background:#f6f8f7}.head-totals{height:40px;position:relative;background:#eef6f0;border-top:1px solid #dfebe3}.fixed-group{position:sticky;left:0;width:var(--fixed);min-width:var(--fixed);height:100%;display:flex;z-index:5;background:#fff;box-shadow:5px 0 6px -6px #15332666}.head-labels .fixed-group{background:#f6f8f7}.head-totals .fixed-group{background:#edf5ef}.fixed-cell,.date-cell{display:flex;align-items:center;height:100%;border-right:1px solid #edf1ee;overflow:hidden;white-space:nowrap;flex-shrink:0}.fixed-cell{padding:0 12px;font-size:11px}.c-status{width:142px}.c-kind{width:48px;justify-content:center;color:#87958f;padding:0}.c-product{width:180px}.c-stock{width:106px;justify-content:flex-end;font-variant-numeric:tabular-nums;font-weight:500;padding-right:16px}.head-labels .fixed-cell{font-size:10px;color:#85978c;font-weight:500}.head-labels .c-stock{color:#6c8477}.head-totals .fixed-cell{font-weight:600;color:#346c53;font-size:12px}.head-totals .total-label{width:370px;gap:9px}.total-label small{font-size:10px;color:#8aa28f;font-weight:400}.date-cell{position:absolute;top:0;width:80px;justify-content:flex-end;padding:0 13px;font-size:12px;font-variant-numeric:tabular-nums;color:#4e6458}.head-labels .date-cell{justify-content:center;flex-direction:column;gap:4px;padding:0;color:#617568;font-size:11px}.head-labels .date-cell small{font-size:9px;font-weight:400;color:#9aac9e}.head-labels .date-cell.today{background:#e6f1e9;color:#23714e;font-weight:650}.head-labels .date-cell.weekend small{color:#c2996a}.head-totals .date-cell{font-weight:600;color:#327551;background:#edf5ef}.grid-row{position:absolute;left:0;width:100%;display:flex;align-items:center;border-bottom:1px solid #eef1ee;height:var(--row)}.grid-row .date-cell{height:100%}.grid-row:hover .fixed-group,.grid-row:hover{background:#f2f7f4}.grid-row .fixed-cell{height:100%;color:#5d7166}.grid-row .c-stock{color:#596d60;font-size:11px}.grid-row .c-kind{color:#99a59d}.status-tag{padding:3px 6px;border-radius:3px;font-size:10px;color:#7b8d80;background:#f3f6f3;overflow:hidden;text-overflow:ellipsis}.status-tag.hot{color:#ad7d32;background:#fbf4df}.status-tag.new{color:#4b8b71;background:#edf7f0}.status-tag.clearance{color:#a78070;background:#f9f0eb}.product-btn{font:inherit;border:0;background:none;padding:0;color:#2f6751;cursor:pointer;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-align:left;display:flex;align-items:center;gap:7px}.product-btn:hover{text-decoration:underline}.product-btn span{font-size:9px;color:#94b5a2;opacity:0}.grid-row:hover .product-btn span{opacity:1}.zero-cell{color:#bac5be}.missing-cell{color:#b6bdb8;background:repeating-linear-gradient(135deg,#fbfbf8,#fbfbf8 5px,#f6f6f0 5px,#f6f6f0 6px)!important}.table-footer{height:44px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 18px;color:#92a197;font-size:10px}.scroll-controls{display:flex;align-items:center;gap:10px}.scroll-controls button{width:24px;height:24px;border:1px solid #e1e8e2;background:white;border-radius:4px;color:#80978a}.scroll-controls button:hover{background:#edf5ef}.page-footer{display:flex;justify-content:space-between;padding:15px 1px 20px;font-size:10px;color:#a1afa7}#empty{position:absolute;inset:90px 0 0;text-align:center;padding:50px 15px;min-width:100%;background:white;color:#899b91}#empty[hidden]{display:none}#empty>span{display:block;font-size:35px;margin-bottom:10px}#empty strong{display:block;font-weight:500;font-size:14px}#empty p{font-size:12px}.details{margin:0 0 0 auto;top:0;right:0;height:100dvh;max-height:100dvh;width:480px;max-width:100vw;border:0;padding:25px 28px;box-shadow:-10px 0 40px #182e1d15;color:var(--ink)}dialog::backdrop{background:#142e2440;backdrop-filter:blur(2px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;color:#839389;font-size:12px}.dialog-top .icon-button{font-size:20px;border:0}.details h2{font-size:25px;font-weight:600;margin:32px 0 10px}.detail-meta{display:flex;gap:8px;align-items:center;color:#8e9b92;font-size:11px}.detail-stats{margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-stats small{display:block;font-size:11px;color:#85968b;margin-bottom:9px}.detail-stats b{font-size:25px;font-weight:600}.detail-section{margin:30px 0 15px;font-size:13px;font-weight:500}.chart{width:100%;height:180px;overflow:visible}.chart-labels{display:flex;justify-content:space-between;font-size:10px;color:#97a79c}.detail-hint{background:#f5f8f5;border-radius:6px;padding:12px;font-size:11px;color:#889b8c;line-height:1.7;margin-top:25px}.detail-days{margin-top:20px;max-height:230px;overflow:auto}.detail-day{display:flex;justify-content:space-between;border-bottom:1px solid #edf1ed;padding:11px 0;font-size:12px}.detail-day span{color:#8e9f92}.info{border:1px solid var(--line);border-radius:12px;padding:22px 26px;width:500px;max-width:calc(100vw - 30px);color:#536b5c}.info-body{font-size:13px;line-height:1.9}.info-body ul{padding-left:20px}.info-body li{margin:6px 0}.info-note{font-size:11px;color:#91a095;border-top:1px solid var(--line);padding-top:12px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(15px);background:#244c3e;color:#fff;border-radius:8px;padding:12px 20px;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:12px;box-shadow:0 3px 20px #163e281f}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.trend-instruction{display:flex;justify-content:space-between;gap:10px;color:#8c9f93;font-size:10px;margin:-3px 0 20px}.trend-chart{position:relative}.interactive-chart{display:block;height:auto;aspect-ratio:400/180}.trend-point{cursor:pointer;outline:none}.point-dot{fill:white;stroke:#27856a;stroke-width:1.4;pointer-events:none;transition:r .12s,fill .12s}.trend-point.highlight .point-dot,.trend-point:focus-visible .point-dot{r:4;fill:#27856a;stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 2px #27856a80)}.trend-missing .point-dot{stroke:#a8b4aa;stroke-dasharray:2 1}.trend-missing.highlight .point-dot{fill:#a8b4aa}.trend-tooltip{position:absolute;transform:translateX(-50%);pointer-events:none;background:#254e3e;color:#fff;padding:7px 11px;border-radius:6px;box-shadow:0 3px 10px #1230211c;min-width:108px;text-align:center;z-index:2;font-variant-numeric:tabular-nums}.trend-tooltip span{display:block;font-size:10px;color:#c7ded1}.trend-tooltip strong{display:block;font-size:13px;margin-top:3px;font-weight:600}.trend-tooltip:after{content:"";position:absolute;bottom:-4px;left:calc(50% - 4px);width:8px;height:8px;background:#254e3e;transform:rotate(45deg)}.trend-readout{margin-top:15px;padding:10px 12px;background:#eef6f0;border-radius:5px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#4f7961;font-variant-numeric:tabular-nums}.trend-readout small{font-size:10px;color:#8da392;margin-left:8px}.trend-readout strong{font-weight:600;color:#28734f}
@media(min-width:1700px){:root{--fixed:506px}.c-product{width:210px}.head-totals .total-label{width:400px}}
@media(max-width:1150px){main{padding:18px 20px 0}.app-header{padding:0 20px}.filters{flex-wrap:wrap}.filter-spacer{display:none}.sort-label{margin-left:auto}.viewport{height:450px}.report-bar{flex-wrap:wrap}.table-footer>span:nth-child(2){display:none}}
@media(max-width:700px){.app-header{padding:0 14px;height:56px}.brand{gap:9px}.brand strong{font-size:13px}.workspace-name,.separator,.header-right .icon-button{display:none}.header-right{gap:8px}.demo-pill{font-size:10px;padding:4px 6px}.avatar{display:none}main{padding:16px 12px 0}.heading{margin:20px 0 15px;align-items:flex-start;gap:10px}h1{font-size:24px}.heading p{font-size:11px;line-height:1.6;max-width:210px}.heading-actions{flex-direction:column;gap:7px}.button{padding:0 9px;font-size:11px;height:32px}.notice{align-items:flex-start;font-size:10px}.notice button{display:none}.report-bar,.filters{padding-left:12px;padding-right:12px}.period-controls{flex-wrap:wrap;gap:7px;width:100%}.period-controls>label,.vertical-line{display:none}.period-controls select{font-size:10px;max-width:130px}.segmented{margin-left:auto}.segmented button{font-size:10px;padding:0 8px}.filters{gap:8px}.search{width:100%}.filters select{max-width:110px}.checkbox{font-size:10px}.sort-label{display:none}.table-context{padding:10px 12px;flex-wrap:wrap;font-size:9px}.table-context>div{gap:6px}.table-context .text-button{font-size:10px}:root{--fixed:186px}.fixed-cell.c-status,.fixed-cell.c-kind{display:none}.c-product{width:112px;padding-left:10px}.c-stock{width:74px;padding:0 8px!important;font-size:10px!important}.head-totals .total-label{width:112px;padding-left:10px;font-size:11px}.total-label small{display:none}.product-btn{font-size:10px}.viewport{height:460px}.table-footer{padding:0 10px;font-size:9px}.scroll-controls{gap:5px}.scroll-controls span{display:none}.page-footer{font-size:9px;gap:15px}.page-footer>span:last-child{text-align:right;max-width:180px}.scope-badge{font-size:10px}.details{padding:20px}}

/* Compact, table-first local workspace. */
main{padding:16px 24px 0}.report{margin-top:0}.period-controls{margin-left:auto}.report-actions{display:flex;gap:8px;align-items:center}.report-actions .button{height:32px;font-size:11px}.viewport{height:calc(100dvh - 270px);min-height:310px}.page-footer{align-items:center}.page-footer .text-button{font-size:10px;padding:0 4px}
@media(max-width:1150px){main{padding:14px 16px 0}.report-bar{gap:10px}.report-actions{margin-left:auto}.viewport{height:calc(100dvh - 310px)}}
@media(max-width:700px){main{padding:10px 10px 0}.period-controls{order:3}.report-actions{gap:5px}.report-actions .button{padding:0 8px;font-size:10px}.viewport{height:calc(100dvh - 350px)}}

/* Readable data workspace: clear type, restrained color, responsive date widths. */
:root{--ink:#203044;--muted:#5f6e7e;--line:#dfe6ec;--teal:#0f766e;--row:48px;--head:60px;--product-width:220px;--stock-width:150px;--status-width:142px;--kind-width:64px;--date-width:96px;font-size:14px;font-family:"Segoe UI","Microsoft YaHei",sans-serif}
[hidden]{display:none!important}
body{background:#f2f5f8}
main{padding:20px 24px 0;max-width:2400px}
.report{border-color:#d8e1e8;border-radius:12px;box-shadow:0 4px 20px #21364a06}
.report-bar{padding:20px 22px 18px;gap:16px}
.report-title{gap:12px}.report-title strong{font-size:19px;font-weight:650;letter-spacing:.3px}
.table-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#e9f4f1;font-size:23px}
.report-title>span:last-child{font-size:12px;color:#526477;background:#edf1f5;padding:5px 9px;border-radius:5px}
.period-controls{font-size:13px;color:var(--muted);gap:12px}
select,.period-controls select{height:38px;font-size:13px;border-color:#ccd6df;color:#33465a;border-radius:6px;padding-left:11px}
.segmented{padding:4px;background:#edf1f5;border-radius:7px}
.segmented button{height:30px;font-size:13px;padding:0 13px;color:#546579}
.segmented button.active{background:white;color:#0c6b60;font-weight:650;box-shadow:0 1px 5px #20364a18}
.report-actions .button,.button{height:38px;font-size:13px;padding:0 14px;border-color:#ccd6df;font-weight:600}
.button.primary{border-color:var(--teal)}
.filters{padding:0 22px 20px;gap:12px}
.search{height:40px;width:300px;border-color:#cbd6df;border-radius:7px;padding:0 12px;background:#fff}
.search input{font-size:14px;color:var(--ink)}.search input::placeholder{color:#758393}.search>span{color:#617487}
kbd{font-size:11px;color:#718196;border-color:#d7e0e8;background:#f7f9fb}
.checkbox,.sort-label{font-size:13px;color:#546579;gap:7px}
.checkbox input,.heat-label input{width:15px;height:15px}
.text-button{font-size:13px;color:#566c7d;padding:6px 8px}
.sort-label select{border:1px solid #d9e2ea;background:#f8fafc;max-width:160px}
.table-context{min-height:46px;padding:8px 22px;background:#f8fafc;font-size:12px;color:#546579}
#dateCaption{font-weight:600;color:#43586c;font-variant-numeric:tabular-nums}.teal-dot{width:6px;height:6px;background:#258879}
.muted{color:#607183}.context-divider{color:#a9b8c6}.heat-scale{width:58px;background:linear-gradient(90deg,#f0f8f5,#93cbb3)}
.viewport{height:calc(100dvh - 286px);min-height:320px;background:#fff;scrollbar-color:#9dafbd #edf2f6;scrollbar-width:auto}
#gridHead{height:var(--head);background:#f0f4f8;border-bottom:1px solid #bdd8cf}
.head-labels{height:60px;background:#f0f4f8}.head-labels .fixed-group{background:#f0f4f8}
.head-totals{height:44px;background:#e4f2ec;border-top:1px solid #cbded5}
.head-totals .fixed-group,.head-totals .date-cell{background:#e4f2ec}
.fixed-group{box-shadow:5px 0 8px -6px #31465b66}
.fixed-cell,.date-cell{border-right:1px solid #e2e8ee}
.fixed-cell{font-size:14px;padding:0 20px}
.fixed-cell.c-status{display:flex;width:var(--status-width)}.fixed-cell.c-kind{display:flex;width:var(--kind-width);padding:0}
.c-product{width:var(--product-width)}.c-stock{width:var(--stock-width);padding-right:22px}
.head-labels .fixed-cell,.head-labels .c-stock{font-size:14px;font-weight:650;color:#405368}
.head-totals .fixed-cell,.head-totals .date-cell{font-size:15px;font-weight:700;color:#0e6557}
.head-totals .total-label{width:calc(var(--fixed) - var(--stock-width));gap:10px}
.total-label small{font-size:11px;color:#4f756b;font-weight:400}
.date-cell{width:var(--date-width);font-size:14px;color:#253e50;padding:0 22px;letter-spacing:.1px}
.head-labels .date-cell{font-size:14px;font-weight:650;color:#405368;gap:5px}
.head-labels .date-cell small{font-size:11px;color:#66798a}
.head-labels .date-cell.today{background:#dceee7;color:#0b6656;box-shadow:inset 0 3px #17816c}
.head-labels .date-cell.today small{color:#367b69}
.head-labels .date-cell.weekend small{color:#9a602c}
.grid-row{background:#fff;border-bottom:1px solid #e4eaf0}
.grid-row.alternate,.grid-row.alternate .fixed-group{background:#f8fafc}
.grid-row:hover,.grid-row:hover .fixed-group{background:#edf5f9}
.grid-row .fixed-cell{color:#354b60}.grid-row .c-stock{font-size:14px;color:#34485d}
.product-btn{font-size:14px;font-weight:600;color:#086f65;gap:10px;width:100%;justify-content:space-between}
.product-btn span{font-size:12px;color:#4b8e82}.product-btn:focus-visible span{opacity:1}
.zero-cell{color:#7c8b9a}.missing-cell{color:#69798b}
.status-tag{font-size:12px}.grid-row .c-kind{color:#607183}
.table-footer{height:46px;padding:0 22px;font-size:12px;color:#64768a}
.scroll-controls button{width:28px;height:28px;color:#526c80;border-color:#cfdbe5}
.page-footer{padding:14px 2px 18px;font-size:11px;color:#667a8d;gap:20px}
.page-footer .text-button{font-size:11px;color:#17786c}
#empty{inset:60px 0 0;color:#63778b}#empty strong{font-size:17px}
.details{width:500px;padding:28px 30px}.dialog-top{font-size:13px;color:#607386}
.details h2{font-size:28px;color:#203044}.detail-meta{font-size:13px;color:#607386}
.detail-stats small{font-size:13px;color:#607386}.detail-stats b{font-size:28px;color:#203044}
.detail-section{font-size:15px;font-weight:600}.detail-section small{color:#607386!important}
.chart-labels{font-size:12px;color:#607386}.trend-instruction{font-size:12px;color:#607386;margin-bottom:28px}
.detail-hint{font-size:12px;color:#526c7d;background:#f1f6f8;padding:14px;line-height:1.9}
.detail-day{font-size:14px;padding:13px 0}.detail-day span{color:#607386}.detail-days{max-height:300px}
.trend-tooltip span{font-size:12px}.trend-tooltip strong{font-size:15px}.trend-readout{font-size:14px;padding:13px 14px}.trend-readout small{font-size:12px;color:#58796d}
.info{color:#40576a}.info-note{font-size:12px;color:#607386}
@media(max-width:1250px){main{padding:16px 16px 0}.report-bar{flex-wrap:wrap}.period-controls{order:3;width:100%;margin-left:0}.report-actions{margin-left:auto}.filters{flex-wrap:wrap}.search{width:260px}.viewport{height:calc(100dvh - 340px)}.table-footer>span:nth-child(2){display:none}}
@media(max-width:700px){:root{--product-width:144px;--stock-width:126px}main{padding:10px 8px 0}.report{border-radius:8px}.report-bar,.filters{padding-left:12px;padding-right:12px}.report-title{gap:8px}.report-title strong{font-size:16px}.table-icon{display:none}.report-actions .button{font-size:12px;padding:0 9px}.period-controls{gap:8px}.period-controls select{font-size:12px;max-width:122px}.segmented button{font-size:12px;padding:0 8px}.search{width:100%}.filters select{max-width:150px}.checkbox{font-size:12px}.table-context{padding:8px 12px;gap:8px;font-size:11px}.table-context .text-button{font-size:12px}.fixed-cell{padding:0 12px}.c-stock{font-size:13px!important;padding:0 12px!important}.head-totals .total-label{font-size:14px}.product-btn{font-size:14px}.total-label small{display:none}.date-cell{padding:0 18px}.viewport{height:calc(100dvh - 370px)}.table-footer{padding:0 12px;font-size:11px}.page-footer{font-size:11px;line-height:1.7;flex-wrap:wrap;gap:4px}.page-footer>span:last-child{text-align:left;max-width:none}.details{padding:22px}.table-context .muted,.heat-scale{display:none}}

/* Dense working view with one shared toolbar at desktop widths. */
:root{--row:34px;--head:44px;--product-width:172px;--stock-width:126px;--status-width:156px;--kind-width:60px}
main{height:100dvh;display:flex;flex-direction:column;padding:10px 12px 0}
.report{flex:1;min-height:0;display:flex;flex-direction:column;border-radius:8px}
.report-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px 8px;padding:10px 12px;border-bottom:1px solid var(--line);flex-shrink:0}
.report-bar,.filters{display:contents}
.report-title{order:0;gap:7px;margin-right:4px}.report-title strong{font-size:15px;letter-spacing:0}.table-icon{width:24px;height:24px;font-size:18px;border-radius:5px}.report-title>span:last-child{font-size:10px;padding:3px 5px}
.search{order:1;width:170px;min-width:140px;height:30px;padding:0 8px;gap:4px}.search input{font-size:12px}.search kbd{display:none}
#category{order:2;width:105px}#status{order:3;width:135px}#kind{order:4;width:85px}
.report-toolbar select{height:30px;font-size:12px;padding-left:8px;padding-right:18px;border-radius:5px;max-width:none}
.report-toolbar .checkbox{order:5;font-size:11px;gap:3px}.report-toolbar .checkbox input{width:13px;height:13px;margin-right:2px}
#reset{order:6;padding:4px;font-size:11px}.filter-spacer{display:none}.sort-label{order:7;font-size:11px;margin-left:0;gap:4px}.sort-label select{width:105px}
.period-controls{order:8;width:auto;margin-left:auto;gap:7px;flex-wrap:nowrap}.period-controls>label,.vertical-line{display:none}.period-controls select{width:112px;max-width:none}
.segmented{padding:2px;border-radius:5px;margin-left:0}.segmented button{height:26px;font-size:11px;padding:0 8px}
.report-actions{order:9;margin-left:0;gap:6px}.report-actions .button{height:30px;font-size:11px;padding:0 9px;gap:4px}.primary span{font-size:15px}
.table-context{min-height:32px;flex-shrink:0;padding:4px 12px;font-size:11px}.table-context .text-button{font-size:11px;padding:4px 6px}.heat-label input{width:13px;height:13px}
.viewport{height:auto;flex:1;min-height:160px}.head-labels{height:44px}.head-labels .date-cell{gap:2px;font-size:12px}.head-labels .date-cell small{font-size:10px}.head-labels .fixed-cell{font-size:12px}
.fixed-cell{font-size:12px;padding:0 12px}.date-cell{font-size:13px;padding:0 16px}.grid-row .c-stock{font-size:12px}.c-stock{padding-right:16px}.product-btn{font-size:12px}.status-tag{font-size:11px;padding:2px 5px}.grid-row .c-kind{font-size:12px}
.table-footer{height:30px;flex-shrink:0;padding:0 12px;font-size:10px;gap:8px}.scroll-controls{gap:6px}.scroll-controls button{width:22px;height:22px}
.page-footer{flex-shrink:0;padding:5px 2px 7px;font-size:10px;line-height:1.5;gap:12px}.page-footer .text-button{font-size:10px}
#empty{inset:44px 0 0}
.has-photo{cursor:zoom-in}.has-photo .status-tag{position:relative;padding-right:10px}.has-photo .status-tag:after{content:"";position:absolute;right:0;top:0;border-top:5px solid #268779;border-left:5px solid transparent}
.photo-preview{position:fixed;z-index:80;width:min(300px,calc(100vw - 16px));padding:8px;background:#fff;border:1px solid #cbd7df;border-radius:9px;box-shadow:0 8px 30px #21394d30;pointer-events:none}
.photo-preview-stage{height:220px;display:flex;align-items:center;justify-content:center;background:#f4f6f8;border-radius:5px;overflow:hidden}.photo-preview img{display:block;width:100%;height:100%;object-fit:contain}.photo-preview strong{display:block;padding:8px 4px 2px;font-size:13px;color:#263e50}.photo-preview-stage span{font-size:12px;color:#697d8c}
.detail-photo{margin-top:18px;background:#f4f6f8;border:1px solid #e0e7eb;border-radius:8px;overflow:hidden;display:flex;justify-content:center}.detail-photo img{width:100%;max-height:260px;object-fit:contain}
.kind-filter{position:relative;flex-shrink:0;z-index:40}.kind-filter#kind{width:102px}
.kind-filter summary{height:30px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:0 8px;border:1px solid #ccd6df;border-radius:5px;background:#fff;color:#33465a;font-size:12px;cursor:pointer;list-style:none;user-select:none}
.kind-filter summary::-webkit-details-marker{display:none}.kind-filter summary:focus-visible{outline:2px solid #1b8b76;outline-offset:2px}.kind-filter[open] summary,.kind-filter[data-active="true"] summary{border-color:#178575;background:#f0f8f5;color:#116d5e}
#kindCaption,#statusCaption{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.kind-arrow{font-size:14px;color:#657b89;flex-shrink:0}
.kind-menu{position:absolute;left:0;top:calc(100% + 6px);min-width:174px;background:#fff;padding:6px;border:1px solid #d3dee6;border-radius:7px;box-shadow:0 5px 20px #203c5026}
.kind-menu-heading{font-size:11px;color:#6c7e8c;padding:5px 8px 7px}.kind-option{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:4px;cursor:pointer;font-size:12px;color:#344c5d}.kind-option:hover{background:#f0f6f7}.kind-option input{width:14px;height:14px;accent-color:var(--teal);margin:0}.kind-menu .text-button{display:block;width:100%;margin-top:5px;border-top:1px solid #e6ecef;border-radius:0;padding:8px;font-size:11px;text-align:left;color:#167567}
.status-menu{min-width:250px;max-width:calc(100vw - 24px)}.multi-options{max-height:min(310px,45dvh);overflow:auto;overscroll-behavior:contain}.select-all{border-bottom:1px solid #e2e9ed;margin-bottom:4px;font-weight:600}.kind-option input{flex-shrink:0}.kind-menu .kind-option span{overflow-wrap:anywhere}
.filter-menu-actions{display:flex;align-items:center;gap:5px;border-top:1px solid #e6ecef;padding-top:8px;margin-top:6px;white-space:nowrap}
.filter-menu-actions .text-button{width:auto;flex:1;border:0;margin:0;padding:4px 2px;font-size:10px}
.filter-action{height:27px;padding:0 8px;border:1px solid #cbd6de;border-radius:5px;background:#fff;font-size:11px;color:#405769}
.filter-action:hover{background:#f1f5f7}.filter-confirm{background:var(--teal);border-color:var(--teal);color:#fff}.filter-confirm:hover{background:#0c655d}
@media(max-width:700px){.fixed-group{position:relative;left:auto}.period-controls{max-width:100%;flex-wrap:wrap}}
@media(max-width:1500px){.report-title{margin-right:0}.report-title .table-icon{display:none}.report-toolbar{gap:6px}.period-controls{margin-left:0}.search{width:150px}}
@media(max-width:700px){:root{--product-width:130px;--stock-width:112px;--status-width:146px;--kind-width:54px}main{padding:6px 6px 0}.report-toolbar{padding:8px}.report-title{margin-right:auto}.report-actions{order:0}.search{min-width:140px;width:calc(100% - 115px)}#category{width:105px}.period-controls{order:8}.report-toolbar .sort-label{display:flex}.table-context{padding:4px 8px;gap:4px}.table-context>div{gap:4px}.table-context .context-divider{margin:0}.table-footer{padding:0 8px}.page-footer{font-size:9px;gap:2px;padding:3px 2px 4px}.page-footer>span:last-child{display:none}.table-footer>span:nth-child(2){display:none}.photo-preview{width:260px}.photo-preview-stage{height:195px}}

.maintenance-controls{display:flex;gap:8px;align-items:center}.editing #editMode{color:#fff;background:#087f73;border-radius:4px;padding:4px 8px}.maintain-row{border:1px solid #bdd5d0;border-radius:4px;background:white;color:#087f73;margin-left:auto;padding:0 7px;cursor:pointer}.c-product .product-btn{min-width:0}.catalog-dialog{position:fixed;inset:0;margin:auto;width:min(540px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4e1e5;border-radius:12px;padding:24px;color:#203747;box-shadow:0 20px 80px #1235}.catalog-dialog::backdrop{background:#172d4655}.catalog-dialog h2{font-size:19px;margin:0 0 8px}.catalog-dialog p{font-size:13px;line-height:1.6;color:#607484}.catalog-dialog label{display:block;margin:12px 0;font-size:13px}.catalog-dialog input:not([type=checkbox]),.catalog-dialog select{display:block;width:100%;height:36px;margin-top:6px;border:1px solid #bdcdd8;border-radius:5px;padding:6px 9px;background:white}.catalog-dialog input[readonly]{background:#f0f4f6;color:#607484}.catalog-pair{display:flex;gap:12px}.catalog-pair>label{flex:1;min-width:0}.catalog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.catalog-dialog #catalogError{color:#bb3535}.catalog-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.catalog-row-actions button{padding:12px;background:#eff8f5;border:1px solid #c5dbd4;border-radius:6px;cursor:pointer}#editPreview{max-width:100%;max-height:160px;object-fit:contain}.catalog-dialog [hidden]{display:none!important}

.channel-tabs{display:flex;gap:4px;padding:8px 14px;border-bottom:1px solid #dce5e9;flex-shrink:0;flex-wrap:wrap}.channel-tabs a{padding:7px 14px;color:#456075;text-decoration:none;border-radius:5px;font-size:13px}.channel-tabs a.active{background:#087f73;color:white;font-weight:600}.channel-tabs button{margin-left:auto}.platform-info{padding:6px 16px;background:#fff9ed;color:#7a6031;font-size:11px;flex-shrink:0}.platform-review{margin:auto;width:min(1000px,94vw);max-height:85vh;overflow:auto;border:1px solid #d4e1e5;border-radius:12px;padding:20px}.platform-review::backdrop{background:#172d4655}.platform-review p{font-size:13px;color:#657786}.platform-review table{border-collapse:collapse;width:100%;margin-top:14px;font-size:12px}.platform-review th,.platform-review td{padding:9px;border-bottom:1px solid #e0e7eb;text-align:left}.platform-review th{background:#edf5f4;position:sticky;top:0}

.extra-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#526b70}.head-labels .extra-cell{font-weight:600;color:#345865}.extra-expanded .fixed-group{position:relative;left:auto}.extra-editor{border-top:1px solid #dce5e9;margin-top:16px;padding-top:10px}.extra-editor h3{font-size:14px}#columnsChoices{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#columnsChoices label{font-size:12px}#showColumns{white-space:nowrap}.table-context{flex-wrap:wrap}.fixed-group .extra-cell{display:flex;align-items:center}

/* Compact report surface with clear text and table boundaries. */
:root{--ink:#24374a;--muted:#52677b;--line:#cbd6e1;--teal:#126f60}
body{background:#f5f6f8}
main{padding:12px 16px 0}
.report{border-color:#c8d3df;box-shadow:none;border-radius:8px;overflow:visible}
.channel-tabs{align-items:center;flex-wrap:nowrap;gap:3px;padding:0 16px;height:49px;min-height:49px;border-color:var(--line)}
.channel-tabs .report-title{margin-right:24px;gap:9px;order:0}
.channel-tabs .report-title strong{font-size:17px;letter-spacing:1px;color:#233544}
.report-title .table-icon{display:none}
.report-title>span:last-child{color:#61758a;background:none;padding:0;font-size:11px}
.channel-tabs a{height:49px;display:flex;align-items:center;padding:0 15px;font-size:13px;color:#445a70;border-radius:0;border-bottom:2px solid transparent;white-space:nowrap}
.channel-tabs a:hover{color:var(--teal);background:#fafcfc}
.channel-tabs a.active{color:var(--teal);background:#eaf4f0;border-bottom-color:var(--teal);font-weight:650}
#morePlatforms{height:29px;border:0;background:transparent;font-size:12px;width:114px;max-width:none;color:#485f76;margin-left:7px}
.channel-tabs .data-notice{margin-left:auto;border:0;background:transparent;color:#94713a;font-size:11px;white-space:nowrap;padding:5px 0 5px 14px;position:relative}
.data-notice:before{content:"";width:5px;height:5px;background:#c29a54;border-radius:50%;position:absolute;left:3px;top:50%;transform:translateY(-50%)}
.report-toolbar{padding:11px 16px;gap:8px;border-color:var(--line);min-height:54px}
.search{width:190px;height:30px;border-color:#b9c9d8;border-radius:5px}
.search input{font-size:12px;color:#293e52}.search input::placeholder{color:#6b7e90}
#status{width:136px}#kind{width:105px}
.kind-filter summary{border-color:#b9c9d8;color:#3d556c}
.report-toolbar .checkbox{color:#4d6277;font-size:11px;margin:0 2px 0 4px}
#reset{color:#506c81;margin-left:0}
.period-controls{gap:8px;margin-left:auto}
.period-controls select{border-color:#b9c9d8;color:#3d556c;width:136px;max-width:none;flex-shrink:0;font-size:11px}
.segmented{background:#e8eef3;padding:2px;border-radius:5px}
.segmented button{font-size:11px;color:#536b80;padding:0 9px}
.segmented button.active{color:#086654;font-weight:650;box-shadow:0 1px 3px #2534441a}
.report-actions .button{border-color:#b9c9d8;font-weight:500;background:white;color:#3d556c;box-shadow:none}
.report-actions #export{padding:0 13px}
.view-options{position:relative;order:10;z-index:45;flex-shrink:0}
.view-options>summary{list-style:none;cursor:pointer;user-select:none;display:flex;align-items:center;gap:10px;height:30px;padding:0 10px;color:#3d556c;font-size:11px;border:1px solid #b9c9d8;border-radius:5px;background:white}
.view-options>summary::-webkit-details-marker{display:none}
.view-options>summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.view-options[open]>summary{border-color:#8dbbb2;color:var(--teal)}
.view-options-panel{position:absolute;right:0;top:calc(100% + 7px);width:230px;padding:8px;background:white;border:1px solid #e2e7ec;border-radius:8px;box-shadow:0 8px 30px #25344416;max-height:70dvh;overflow:auto}
.options-heading{font-size:10px;color:#9ba3ad;padding:5px 8px 7px;letter-spacing:1px}
.options-section{display:flex;flex-direction:column;align-items:stretch;gap:2px;padding-bottom:7px}
.options-section+.options-heading{padding-top:10px;border-top:1px solid #edf0f3}
.options-section .sort-label{justify-content:space-between;margin:0;padding:4px 8px;color:#66727f;font-size:12px}
.options-section select{height:28px;background:#f9fafb;width:125px;border-color:#e6eaee}
.options-section .heat-label{font-size:12px;color:#66727f;padding:8px;gap:7px}
.options-section>.text-button,.maintenance-controls .text-button{width:100%;text-align:left;padding:8px;font-size:12px;border-radius:4px;color:#66727f;margin:0}
.options-section .text-button:hover{background:#f5f8f8;color:var(--teal)}
.options-section .maintenance-controls{display:flex;flex-direction:column;gap:2px;align-items:stretch}
.options-section .heat-scale,.options-section .muted{display:none}
.options-section>*{order:0!important}
.options-section .checkbox,.options-section .heat-label{display:flex;align-items:center;gap:7px;min-height:32px;padding:6px 8px;margin:0;color:#3d556c;font-size:12px;cursor:pointer}
.options-section .checkbox input,.options-section .heat-label input{width:14px;height:14px;margin:0;accent-color:var(--teal)}
.options-period{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 8px;font-size:12px;color:#3d556c}
.options-period select{width:136px;max-width:none;padding:0 8px;font-size:11px;color:#3d556c;flex-shrink:0}
.options-section>#export,.options-section>#storeExport{width:100%;height:32px;border:0;background:white;text-align:left;justify-content:flex-start;padding:6px 8px;font-size:12px;font-weight:400;color:#3d556c}
.options-section>#export:hover,.options-section>#storeExport:hover{background:#f5f8f8;color:var(--teal)}
.sort-controls{display:flex;align-items:center;gap:8px;order:7}
.sort-controls>.sort-label,.sort-controls>#reset{order:0;margin:0}
.report-toolbar .period-controls>.maintenance-controls{order:0;flex-shrink:0;gap:6px}
.report-toolbar .period-controls>.maintenance-controls .text-button{width:auto;height:30px;padding:0 10px;border:1px solid #b9c9d8;border-radius:5px;font-size:11px;color:#3d556c;white-space:nowrap}
.report-toolbar .period-controls>.maintenance-controls .text-button:hover{background:#f0f6f4}
.report-toolbar .period-controls>.maintenance-controls #editMode[aria-pressed=true]{color:white;background:#087f73;border-color:#087f73}
.head-labels,.head-labels .fixed-group,#gridHead{background:#e9eff5}
#gridHead{border-bottom:1px solid #b6c7d5;border-radius:0}
.head-labels .fixed-cell,.head-labels .date-cell,.head-labels .c-stock{color:#354e65;font-size:12px;font-weight:650}
.head-labels .date-cell.today{background:#d9eee4;color:#0d654e;box-shadow:inset 0 3px #258167}
.head-labels .date-cell small{font-size:11px;color:#60768b}
.head-labels .date-cell.today small{color:#286b56}
.head-labels .date-cell.weekend small{color:#9a6934}
.grid-row,.grid-row .fixed-group{background:white}
.grid-row.alternate,.grid-row.alternate .fixed-group{background:#f3f6fa}
.grid-row{border-bottom-color:#d6e0e9}
.grid-row:hover,.grid-row:hover .fixed-group{background:#e4f1ec}
.fixed-cell,.date-cell{border-right-color:#d2dde7}
.grid-row .fixed-cell{color:#3b5268;font-size:13px}.grid-row .extra-cell{color:#536b7f}
.grid-row .date-cell{color:#243d55;font-size:13px;font-weight:500}
.grid-row .c-stock{color:#2a435a;font-weight:500;font-size:13px}
.product-btn{font-weight:600;color:#174e65;font-size:13px}
.product-btn:hover{color:var(--teal)}
.status-tag,.status-tag.new,.status-tag.clearance,.status-tag.hot{background:transparent;color:#4e6579;padding:0;font-size:12px}
.status-tag.new{color:#22705f}.status-tag.clearance{color:#946043}.status-tag.hot{color:#9b6614}
.zero-cell{color:#718193!important;font-weight:400!important}
.missing-cell{background:#edf1f5!important;color:#6b7f91!important;font-weight:400!important}
.fixed-group{box-shadow:4px 0 6px -4px #425c7870}
#groupMerges{position:sticky;left:0;height:0;z-index:8;pointer-events:none}
.merged-group{position:absolute;left:0;width:100%;background:#f3eddd;border-right:1px solid #bdc9d3;border-bottom:2px solid #b7c5d1;overflow:hidden}
.merged-group>span{position:absolute;left:8px;right:8px;text-align:center;line-height:22px;font-size:13px;font-weight:650;color:#3b4b58;overflow-wrap:anywhere;max-height:calc(100% - 8px);overflow:hidden}
.extra-expanded #groupMerges{position:relative;left:auto}
@media(max-width:700px){#groupMerges{position:relative;left:auto}}
.viewport{border-top:0;border-bottom-left-radius:8px;border-bottom-right-radius:8px}
.table-footer{height:32px;border-top-color:var(--line);color:#667c91;font-size:10px;padding:0 14px}
.footer-meta{display:flex;align-items:center;gap:16px;white-space:nowrap}
.footer-meta #dateCaption{font-size:10px;color:#667c91;font-weight:400}
.table-footer .scroll-controls{color:#667c91}
.table-footer .scroll-controls>span{display:none}
.page-footer{padding:5px 2px 6px;color:#6d8194;font-size:10px;min-height:23px}
.page-footer .text-button{color:#4b6e83;font-size:10px}
@media(max-width:1250px){.channel-tabs .report-title{margin-right:10px}.channel-tabs a{padding:0 10px}.report-toolbar{gap:7px;padding:10px 12px}.period-controls{margin-left:auto;order:8;width:auto;flex-wrap:nowrap}.search{width:160px}.report-toolbar .checkbox{font-size:10px}.report-actions{margin-left:0}}
@media(max-width:1000px){.period-controls{margin-left:0}.channel-tabs{padding:0 10px}.channel-tabs a{padding:0 9px;font-size:12px}.channel-tabs .report-title{margin-right:5px}.data-notice{font-size:10px!important}.footer-hint{display:none}}
@media(max-width:700px){main{padding:6px 6px 0}.channel-tabs{overflow-x:auto;height:45px;min-height:45px}.channel-tabs a{height:45px}.channel-tabs .report-title strong{font-size:14px}.report-title>span:last-child{display:none}.channel-tabs .data-notice{margin-left:8px}.report-toolbar{padding:8px;gap:6px}.search{width:170px}.report-actions{order:9}.period-controls{max-width:100%;order:8;flex-wrap:wrap}.report-toolbar .checkbox{font-size:11px}.view-options{margin-left:0}.view-options-panel{right:0}.footer-meta{gap:8px}.footer-meta #dateCaption{font-size:9px}.table-footer{padding:0 8px}.table-footer .scroll-controls{gap:4px}.grid-row .fixed-cell.c-status,.grid-row .fixed-cell.c-kind{display:flex}}

/* Store daily sales shares the report surface and preserves the personnel roster. */
.store-report .report-toolbar{gap:8px}
.trend-tooltip{min-width:180px;max-width:220px}
.trend-tooltip span{line-height:1.5}
.trend-readout{flex-wrap:wrap;gap:8px}
.trend-readout>span{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px}
.trend-readout small{margin-left:0}
.detail-section small{line-height:1.7}
#details .detail-stats b{font-size:20px}
.store-report .store-column-toggle{order:2;display:flex;align-items:center;gap:6px;height:30px;white-space:nowrap;cursor:pointer}
.store-column-toggle input{accent-color:var(--teal)}
.store-report .report-toolbar>select{order:2;color:#3d556c;border-color:#b9c9d8;max-width:125px}
.store-report .report-toolbar>.text-button{order:3}
.store-report .report-actions{order:9}
.store-search .search-clear{display:flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;padding:0;border:0;border-radius:4px;background:transparent;color:#526c80;font-size:18px;line-height:1}
.store-search .search-clear:hover:not(:disabled){background:#e8eef3;color:#244a60}
.store-search .search-clear:disabled{color:#a2b0bd;opacity:1;cursor:default}
#storeSearch::-webkit-search-cancel-button,#storeSearch::-webkit-search-decoration{-webkit-appearance:none}
#storeGrid{position:relative;min-width:100%}
#storeHead{position:sticky;top:0;z-index:20;height:80px;background:#e9eff5;border-bottom:1px solid #b6c7d5}
.store-report .fixed-group{width:var(--store-fixed);min-width:var(--store-fixed)}
.store-report .head-labels{height:44px}
.store-report .head-totals{height:36px;position:relative}
.store-report .head-totals .fixed-group,.store-report .head-totals .date-cell{background:#e4f1eb}
.store-report .head-totals .date-cell{font-size:13px;font-weight:650;color:#145f4e}
.store-report .store-total-label{gap:14px;justify-content:flex-start;font-size:12px}
.store-total-label small{font-size:11px;color:#8d672b;font-weight:400}
.store-report .store-groupLabel{justify-content:center;color:#526577}
.store-report .store-shopName{position:relative;gap:8px;min-width:0}
.store-report .store-shopName.has-remark{padding-right:24px}
.store-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#254a60}
.store-open{min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer}
.store-open:hover{color:#0e7661;text-decoration:underline;text-underline-offset:3px}
.store-note-mark{position:absolute;top:0;right:0;width:16px;height:16px;padding:0;border:0;background:transparent;cursor:pointer}
.store-note-mark::before{content:"";position:absolute;top:1px;right:1px;width:0;height:0;border-top:10px solid #cf4f43;border-left:10px solid transparent}
.store-note-mark:hover::before{border-top-color:#a92d26}
.store-note-mark:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.store-detail h2{font-size:20px;line-height:1.5;margin:22px 0 16px;overflow-wrap:anywhere}
.store-detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;padding-bottom:20px;border-bottom:1px solid #d7e1e9}
.store-detail-meta small{display:block;font-size:11px;color:#788b9c;margin-bottom:4px}
.store-detail-meta span{font-size:13px;color:#344e63}
.store-detail-section{padding-top:20px}
.store-detail-section h3{font-size:14px;color:#344e63;margin:0 0 12px;font-weight:600}
.store-detail-section h3 small{font-size:11px;color:#8294a3;font-weight:400;margin-left:7px}
#storeMappingDetail p{font-size:12px;line-height:1.8;margin:5px 0;color:#3f5a6e;overflow-wrap:anywhere}
#storeMappingDetail p>span{display:inline-block;color:#7d8e9b;min-width:90px}
#storeMappingDetail .store-mapping-hint{color:#788d9c;font-size:11px;margin-top:8px}
.store-source-comment{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:12px;color:#4c6476;background:#f3f6f8;border:1px solid #e0e7ec;border-radius:6px;padding:12px}
#storeNoteForm>label{display:block;font-size:12px;color:#667e8e;margin-bottom:7px}
#storeNoteText{display:block;width:100%;min-height:104px;resize:vertical;border:1px solid #bdcdd8;border-radius:6px;padding:10px;font:inherit;font-size:13px;line-height:1.7;color:#2d485e}
.store-note-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:9px}
.store-note-actions .button{height:31px;font-size:12px;padding:0 10px}
#storeNoteStatus{margin-right:auto;font-size:11px;color:#277661;line-height:1.6}
#storeNoteStatus.error{color:#ac4e3d}
#storeNoteUpdated{display:block;margin-top:8px;color:#667e8e;font-size:11px}
#storeNoteActions[hidden]{display:none}
.store-note-item{padding:15px 0;border-bottom:1px solid #e1e8ed}
.store-note-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:#7c8e9c;flex-wrap:wrap}
.store-note-meta .text-button{margin-left:auto;padding:2px 4px;font-size:11px}
.store-note-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#385267;margin-top:8px}
.store-notes-empty,#storeNotesOffline{font-size:12px;color:#8092a0;line-height:1.8}
.store-badge{flex-shrink:0;font-size:10px;color:#6f7c87;border:1px solid #bdc6ce;border-radius:3px;padding:1px 4px;line-height:16px}
.store-badge.pending{color:#98691f;border-color:#dcc492;background:#fff9ec}
.store-report .store-row.cancelled,.store-report .store-row.cancelled .fixed-group{background:#e4e7eb}
.store-report .store-row.cancelled:hover,.store-report .store-row.cancelled:hover .fixed-group{background:#dce1e7}
.store-report .store-row.cancelled .fixed-cell,.store-report .store-row.cancelled .store-name,.store-report .store-row.cancelled .date-cell{color:#77828d!important}
.store-report .store-row.cancelled .missing-cell{background:#e4e7eb!important}
.store-report .store-row.cancelled .fixed-cell,.store-report .store-row.cancelled .date-cell{border-right-color:#cbd2da}
.store-report .store-row.cancelled{border-bottom-color:#cbd2da}
#storeEmpty{position:absolute;inset:80px 0 0;padding:70px 20px;text-align:center;background:white;color:#60768b}
.store-total-note{color:#61788d}
@media(max-width:1100px){.store-report .period-controls{margin-left:0}.store-total-note{display:none}}

/* Owner daily sales: the same compact grid, aggregated once per store manager. */
#ownerGrid{position:relative;min-width:100%}
#ownerHead{position:sticky;top:0;z-index:20;height:80px;background:#e9eff5;border-bottom:1px solid #b6c7d5}
#ownerEmpty{position:absolute;inset:80px 0 0;padding:70px 20px;text-align:center;background:white;color:#60768b}
.operator-page .report-toolbar>.sort-label{order:3;margin:0}
.owner-shopCount{justify-content:center;font-variant-numeric:tabular-nums}
.owner-platforms{color:#526b7d!important;font-size:11px!important}
.owner-unassigned .fixed-group,.owner-unassigned{background:#fff8eb!important}
.owner-summary{font-size:12px;line-height:1.8;color:#60768b}
.owner-platform-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #dfe7ed;font-size:13px;color:#344f63}
.owner-platform-row small{font-size:11px;color:#708397;margin-left:6px}
.owner-store-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e1e7ee;font-size:12px;line-height:1.7;color:#3f5c70}
.owner-store-item small{white-space:nowrap;font-size:10px;color:#6f8292}
.owner-comparison{width:min(1140px,95vw)}
.owner-comparison h3{font-size:14px;margin:22px 0 9px;color:#345267}
.owner-comparison th:not(:first-child),.owner-comparison td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
#ownerSearch::-webkit-search-cancel-button,#ownerSearch::-webkit-search-decoration{-webkit-appearance:none}

/* Platform groups precede their manager rows; personal totals remain a separate view. */
.operator-page .report-toolbar>.owner-view-switch{order:0;flex-shrink:0}
.operator-page .owner-platform-total,.operator-page .owner-platform-total .fixed-group,.operator-page .owner-platform-total:hover,.operator-page .owner-platform-total:hover .fixed-group{background:#dbece4;border-bottom-color:#9bbfad;border-top:1px solid #9bbfad}
.operator-page .owner-platform-total .date-cell{color:#155a45;font-weight:700}
.operator-page .owner-platform-total .owner-group-label{color:#155a45;gap:12px}
.owner-group-label small{font-size:11px;color:#466d5d;font-weight:400}

/* Keep product details scrollable without a visible scrollbar. */
#details{overflow-y:auto;scrollbar-width:none}
#details::-webkit-scrollbar{display:none}

.sales-load-status{position:absolute;z-index:35;width:100%;height:100%;min-height:180px;display:flex;align-items:center;justify-content:center;gap:12px;background:#fffffff5;color:#31566a;font-size:13px}.sales-load-status button,.sales-start-error button{border:1px solid #9fb9b0;background:white;padding:5px 12px;border-radius:5px;color:#146e5e}.sales-start-error{padding:20px;background:#fff6e6;color:#824b21}
