:root{color-scheme:light;--ink:#172b3a;--muted:#647684;--line:#e4eaf0;--green:#04785e;--green-soft:#e7f5ef;--red:#bd475a;--nav:#102932;--bg:#f3f6f8;font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4ea995;outline-offset:3px}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.sidebar{width:208px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#e9f0f0;padding:34px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 12px 60px}.brand-mark{display:grid;place-items:center;background:#99e4c8;color:#143c3a;border-radius:12px;width:43px;height:43px;font-size:23px;font-weight:700}.brand b{font-size:23px;letter-spacing:3px}.brand div>span{display:block;font-size:12px;color:#aac0c5;margin-top:5px}.nav-label{color:#8ba7af;font-size:12px;letter-spacing:2px;padding:0 16px;margin-bottom:14px}.nav-item{width:100%;border:0;background:transparent;color:#b9ccd2;display:flex;align-items:center;gap:12px;text-align:left;padding:15px 16px;border-radius:9px;margin-bottom:6px;font-size:14px}.nav-item>span{font-size:21px;line-height:18px;width:22px}.nav-item.active{background:#24464c;color:#fff;font-weight:600}.nav-item:hover{background:#1e3d46}.nav-item i{font-style:normal;font-size:12px;padding:2px 6px;background:#36575c;border-radius:4px;margin-left:auto}.sidebar-foot{margin-top:auto;font-size:14px;padding:20px 12px 0;border-top:1px solid #29444b}.sidebar-foot>div{font-size:12px;color:#8ba7af;padding:8px 0 0 14px}.status-dot{width:7px;height:7px;border-radius:50%;background:#46be97;display:inline-block;margin-right:5px}main{margin-left:208px;min-width:0}header{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;font-size:14px}.breadcrumb{color:var(--muted)}.breadcrumb span{margin:0 15px;color:#aab6c1}.breadcrumb b{font-weight:500;color:var(--ink)}.header-status{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:13px}.avatar{margin-left:18px;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#e8efef;color:#285b56}.workspace{padding:30px 36px 16px;max-width:1760px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--green);margin-bottom:9px}h1{font-size:27px;letter-spacing:1px;margin:0;font-weight:650}h2{font-size:17px;margin:0;font-weight:600}h3{font-size:16px;margin:0}.page-heading p{font-size:13px;color:var(--muted);margin:10px 0 0}.page-actions{display:flex;align-items:center;gap:10px}.date-control{display:flex;align-items:center;gap:12px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:7px;font-size:13px;color:var(--muted)}select{height:38px;padding:0 28px 0 10px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:6px;font-size:14px;max-width:100%}.date-control select{border:0;font-weight:600}.button{border:1px solid #d7e2e7;border-radius:7px;background:#fff;color:var(--ink);padding:10px 15px;font-size:14px;white-space:nowrap}.button:hover{background:#eef4f3}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.compact{padding:6px 12px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stat{padding:21px 22px;background:#fff;border:1px solid var(--line);border-radius:10px;position:relative}.stat:first-child{background:var(--nav);color:white;border:0}.stat-label{font-size:14px;color:var(--muted);display:flex;justify-content:space-between}.stat:first-child .stat-label{color:#b8cdd3}.stat-value{font-size:34px;font-weight:650;font-variant-numeric:tabular-nums;margin:13px 0 10px;line-height:1}.stat-note{font-size:12px;color:var(--muted)}.stat:first-child .stat-note{color:#b8cdd3}.stat-indicator{font-size:18px;color:var(--green)}.stat:first-child .stat-indicator{color:#9de8ce}.day-strip{display:flex;gap:10px;margin:0 0 20px;align-items:stretch;flex-wrap:wrap}.day-card{padding:11px 18px;border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:7px;text-align:left;min-width:170px;font-size:13px}.day-card strong{font-weight:600;color:var(--ink);margin-right:13px}.day-card.active{background:#eaf5f0;border-color:#7eb9a4;color:#236b55}.day-card.active strong{color:#096345}.day-strip>.subtle{display:flex;align-items:center;margin-left:auto;font-size:12px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 22px 18px}.panel-heading>div{display:flex;align-items:center;gap:13px}.panel-heading span{font-size:13px;color:var(--muted)}.subtle{color:var(--muted);font-size:13px}.filter-row{padding:0 22px 16px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.searchbox{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;padding:0 11px;flex:1;min-width:230px;gap:8px;height:38px}.searchbox>span{font-size:24px;color:var(--muted)}input{min-width:0;font-size:14px;color:var(--ink)}.searchbox input{border:0;outline:0;width:100%;height:34px;background:transparent}.price-filter{display:flex;gap:7px;align-items:center;font-size:13px;color:var(--muted)}.price-filter input{width:73px;height:38px;border:1px solid var(--line);border-radius:6px;padding:8px}.text-button{border:0;background:transparent;color:var(--green);font-size:13px;padding:6px}.quick-row{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;background:#fcfdfd;border-top:1px solid #f0f3f5;border-bottom:1px solid var(--line);gap:12px;flex-wrap:wrap}.quick-tabs{display:flex;gap:8px;flex-wrap:wrap}.quick-tabs button{border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);padding:6px 11px;font-size:13px}.quick-tabs button.active{border-color:#b9ddce;color:var(--green);background:var(--green-soft);font-weight:600}.quick-tabs button:hover{background:#eef5f1}.sort-control{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:9px}.sort-control select{height:30px;background:transparent;border:0;font-size:13px;padding-left:0}.table-scroll{overflow:auto}.product-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}.product-table th{background:#f7f9fa;padding:14px 13px;text-align:right;font-weight:500;color:#687c88;font-size:12px;border-bottom:1px solid var(--line)}.product-table td{padding:17px 13px;border-bottom:1px solid #edf1f4;text-align:right;font-variant-numeric:tabular-nums;vertical-align:middle}.product-table tr:last-child td{border-bottom:0}.product-table th:first-child,.product-table td:first-child{padding-left:22px;text-align:left;min-width:260px;max-width:365px;white-space:normal}.product-table th:nth-last-child(2),.product-table td:nth-last-child(2){text-align:left}.product-table th:last-child,.product-table td:last-child{padding-right:22px}.product-table tbody tr:hover{background:#f7fbf9}.product-info{display:flex;gap:11px;align-items:flex-start}.product-monogram{background:#eff4f4;border:1px solid #e4ecea;color:#63837a;width:35px;height:38px;flex-shrink:0;border-radius:7px;display:grid;place-items:center;font-size:13px}.product-name{border:0;background:transparent;padding:0;color:var(--ink);font-size:14px;text-align:left;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:500}.product-name:hover{color:var(--green)}.product-meta{font-size:12px;color:#7a8b97;margin-top:6px;line-height:1.7}.product-meta .category-label{color:#59746b;margin-right:8px}.cart-number{font-size:16px;font-weight:650;color:#124c3f}.rise{color:var(--green)}.fall{color:var(--red)}.cell-secondary{font-size:12px;display:block;color:#8a9aa3;margin-top:5px}.delta .cell-secondary.rise{color:var(--green)}.delta .cell-secondary.fall{color:var(--red)}.badge{display:inline-block;font-size:12px;padding:4px 7px;border-radius:4px;background:#f0f3f5;color:#6e808e;line-height:1.3}.badge.green{color:#237854;background:#ebf7ef}.badge.amber{color:#9b6a16;background:#fff7e2}.badge.blue{color:#44729d;background:#edf4fa}.mini-select{width:98px;height:31px;font-size:12px;padding-left:7px;border-color:#e6ecef}.star{border:0;color:#9eafb8;background:transparent;padding:4px;font-size:23px}.star.saved{color:#b7811b}.table-footer{padding:17px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.table-footer>div{display:flex;align-items:center;gap:14px}.footnote{font-size:12px;color:var(--muted);line-height:1.8}.empty{text-align:center;padding:65px 20px;color:var(--muted);font-size:15px}.source-intro{padding:25px;line-height:1.9;font-size:14px}.source-intro h2{margin-bottom:12px}.source-list{padding:24px;margin-top:18px}.source-list table{width:100%;border-collapse:collapse;font-size:14px;margin-top:20px}.source-list th,.source-list td{text-align:left;padding:16px 12px;border-bottom:1px solid var(--line)}.source-list th{font-size:13px;color:var(--muted);font-weight:500}.source-notes{margin:20px 0;color:var(--muted);font-size:14px;line-height:1.9}.source-notes strong{color:var(--ink)}dialog{border:0;border-radius:14px;box-shadow:0 20px 80px #081b3b33;padding:0;width:min(740px,94vw);max-height:92vh;color:var(--ink)}dialog::backdrop{background:#0e253b65;backdrop-filter:blur(2px)}.detail-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 25px;background:#fff;position:sticky;top:0;z-index:2;font-size:14px}.icon-button{background:transparent;border:0;color:var(--muted);font-size:26px;width:32px;height:32px}.detail-body{padding:25px}.detail-body h2{font-size:21px;line-height:1.65;margin:10px 0}.detail-body p{font-size:14px;color:var(--muted);line-height:1.8}.detail-links{display:flex;gap:17px;font-size:14px;margin:14px 0 23px}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#f3f7f6;border:1px solid #e5eeea;border-radius:8px;padding:19px}.detail-metrics small{display:block;font-size:13px;color:var(--muted);margin-bottom:9px}.detail-metrics b{font-size:22px;font-weight:600}.history-block{margin-top:25px}.history-table{width:100%;font-size:13px;border-collapse:collapse;white-space:nowrap;margin:12px 0}.history-table th,.history-table td{padding:12px 8px;text-align:right;border-bottom:1px solid var(--line)}.history-table th:first-child,.history-table td:first-child{text-align:left}.history-table th{font-weight:500;color:var(--muted);background:#f8fafb}.history-table td small{font-size:11px;display:block;color:var(--muted);margin-top:5px}.note-form{margin-top:25px}.note-form-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.note-form textarea{display:block;width:100%;min-height:100px;border:1px solid var(--line);border-radius:7px;resize:vertical;padding:12px;font-size:14px;line-height:1.7}.note-form-foot{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:12px;color:var(--muted)}.provenance{margin-top:23px;font-size:12px;color:var(--muted);line-height:1.9}.provenance details{margin:12px 0}.provenance summary{cursor:pointer;color:#486b62}.raw-fields{display:grid;grid-template-columns:130px 1fr;font-size:12px;gap:6px;overflow-wrap:anywhere;margin-top:12px}.raw-fields dt{color:var(--muted)}.raw-fields dd{margin:0;color:var(--ink)}.spark{margin:16px 0;background:#fafcfb;border:1px solid var(--line);border-radius:6px;padding:16px}.spark-bars{display:flex;gap:20px;height:96px;align-items:flex-end;justify-content:center}.spark-item{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;width:90px;height:100%;font-size:12px;color:var(--muted)}.spark-bar{width:40px;background:#52a98d;border-radius:4px 4px 0 0;min-height:2px}.spark-labels{display:flex;justify-content:center;gap:20px;margin-top:10px}.spark-labels span{width:90px;text-align:center;font-size:12px;color:var(--muted)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 24px;background:#153c35;color:white;box-shadow:0 4px 20px #123b3526;border-radius:8px;font-size:14px;z-index:100}.error{color:var(--red)}@media(min-width:1600px){.product-table th:first-child,.product-table td:first-child{max-width:480px;width:33%}.workspace{padding-top:36px}}@media(max-width:1250px){.sidebar{width:180px;padding-left:12px;padding-right:12px}main{margin-left:180px}.workspace{padding:24px}header{padding:0 24px}.page-heading{align-items:flex-start}.page-actions{flex-direction:column;align-items:stretch}.stat{padding:19px}.product-table th:first-child,.product-table td:first-child{min-width:285px}.stats{gap:12px}.day-strip>.subtle{margin-left:0}}@media(max-width:800px){.sidebar{position:relative;width:100%;height:auto;padding:14px 16px;flex-direction:row;align-items:center;gap:20px}.brand{margin:0}.brand div>span,.nav-label,.sidebar-foot{display:none}.brand-mark{width:32px;height:32px;font-size:19px}.brand b{font-size:18px}.sidebar nav{display:flex;margin-left:auto}.nav-item{margin:0;padding:10px;font-size:13px;width:auto}.nav-item>span,.nav-item i{display:none}main{margin-left:0}header{height:55px;padding:0 18px}.header-status{font-size:12px}.avatar{display:none}.workspace{padding:22px 16px}.page-heading{flex-wrap:wrap}.page-actions{flex-direction:row}.stats{grid-template-columns:repeat(2,1fr)}.stat-value{font-size:29px}.panel-heading{padding:20px 15px}.filter-row,.quick-row{padding-left:15px;padding-right:15px}.searchbox{min-width:100%}.table-footer{padding:15px;gap:10px}.table-footer>div{gap:8px}.day-card{min-width:145px}.product-table th:first-child,.product-table td:first-child{padding-left:15px}.detail-body{padding:18px}.source-list{padding:15px;overflow:auto}.source-intro{padding:20px}.page-heading p{line-height:1.7}.coverage{display:none}}

/* Comparison, judgment and trend controls. */
html,body{min-width:0;max-width:100%}
.workspace,.page-heading,.page-heading>div,.page-actions,.panel,.filter-row,.quick-row,.table-scroll,.detail-body,.history-block,.note-form,.provenance{min-width:0;max-width:100%}
.product-info>div{min-width:0}.product-name,.product-meta,.detail-body h2,.detail-body p,.provenance,.source-intro{overflow-wrap:anywhere}
.detail-links{flex-wrap:wrap}.detail-links>*{max-width:100%;overflow-wrap:anywhere}
.sales-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:15px 18px;margin:0 0 20px;border:1px solid #cce5da;border-radius:9px;background:linear-gradient(110deg,#f0faf5,#fff);font-size:13px}
.summary-title{min-width:0;line-height:1.7;color:#345e51}.summary-title strong,.summary-title b{color:#1b5040;font-weight:600}.summary-title small,.summary-title>span{color:var(--muted)}
.sales-summary-items{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.sales-summary-items>span,.sales-summary-items>div{line-height:1.6}
.sales-summary-items button{display:flex;align-items:center;gap:9px;min-height:36px;padding:7px 11px;border:1px solid #d7e7e0;background:#fff;color:#536d64;border-radius:6px;font-size:12px;white-space:nowrap}
.sales-summary-items button:hover,.sales-summary-items button.active{border-color:#8ec6b0;background:#e8f5ee;color:var(--green)}
.sales-summary-items b{font-size:18px;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--ink)}
.sales-summary-items .rise,.sales-summary-items .rise b,.sales-summary-items b.rise{color:var(--green)}
.sales-summary-items .fall,.sales-summary-items .fall b,.sales-summary-items b.fall{color:var(--red)}
.cart-filter{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;max-width:100%}
.cart-filter input{width:96px;min-width:0;height:38px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff}
.table-options{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.check-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;line-height:1.6;cursor:pointer}
.check-label input{width:15px;height:15px;margin:0;accent-color:var(--green);flex:none}
.product-table th.sales-change-heading{background:#eaf5ef;color:#2b6852}
.product-table td.sales-change{background:#f5fbf7;font-weight:600}
.product-table tbody tr:hover td.sales-change{background:#eaf6ef}
.product-table td.sales-change .cell-secondary{font-weight:400}
.sales-change.rise,.sales-change .rise{color:var(--green)}.sales-change.fall,.sales-change .fall{color:var(--red)}
.seen-marker{display:block;width:max-content;max-width:100%;margin-top:6px;color:#7a8f86;font-size:11px;font-weight:400;line-height:1.5}
.detail-metrics.grid4{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.detail-metrics.grid4>div{min-width:0}.detail-metrics.grid4 b{font-size:21px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.sales-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:20px 0 8px;border:1px solid #cde5d9;border-radius:9px;background:#f4faf6;overflow:hidden}
.comparison-item{min-width:0;padding:16px 18px}.comparison-item+.comparison-item{border-left:1px solid #dcece3}
.comparison-item small{display:block;color:#607a6e;font-size:12px;line-height:1.7;margin-bottom:7px}
.comparison-item b{display:block;font-size:25px;line-height:1.3;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.comparison-item span{display:block;color:var(--muted);font-size:12px;line-height:1.7;margin-top:6px;overflow-wrap:anywhere}
.comparison-item .rise,.comparison-item.rise b{color:var(--green)}.comparison-item .fall,.comparison-item.fall b{color:var(--red)}
.comparison-caption{margin:8px 0 20px;font-size:12px!important;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.decision-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0}
.decision-buttons button[data-decision]{min-height:39px;padding:9px 8px;border:1px solid #dfe8e5;border-radius:7px;background:#fff;color:#587066;font-size:13px;font-weight:500;line-height:1.5}
.decision-buttons button[data-decision]:hover{border-color:#9dcbb7;background:#f4faf6}
.decision-buttons button[data-decision].active{border-color:var(--green);background:var(--green-soft);color:var(--green);font-weight:650;box-shadow:inset 0 0 0 1px #04785e12}
.trend-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.trend-tabs{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #e1eae6;border-radius:7px;background:#f5f8f6;max-width:100%;flex-wrap:wrap}
.trend-tabs button{border:1px solid transparent;border-radius:5px;background:transparent;color:#6c7f75;padding:6px 13px;font-size:12px;line-height:1.5}
.trend-tabs button.active{border-color:#d6e7de;background:#fff;color:var(--green);font-weight:600;box-shadow:0 1px 3px #213b2b08}
.trend-tabs button:hover{color:var(--green);background:#ebf5ef}
.trend-chart{min-width:0;width:100%;margin-top:10px;padding:13px 10px 7px;border:1px solid #e0ebe5;border-radius:8px;background:#fbfdfc;overflow:hidden}
.trend-chart svg{display:block;width:100%;height:auto;max-width:100%;overflow:visible}
.trend-chart svg text{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:12px;fill:#607b6e}
.trend-note{margin:9px 0 15px;font-size:12px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.note-form-foot{gap:12px}.note-form-foot>span{min-width:0;line-height:1.7}
@media(max-width:1100px){.sales-summary{gap:12px}.sales-summary-items{gap:8px}.table-options{gap:10px}}
@media(max-width:800px){.sales-summary{padding:14px 15px}.sales-summary-items{width:100%;gap:7px}.sales-summary-items button{flex:1;justify-content:center}.table-options{width:100%;justify-content:space-between}.panel-heading{gap:12px;flex-wrap:wrap}.panel-heading>div{min-width:0;flex-wrap:wrap}.page-actions{max-width:100%;flex-wrap:wrap}.page-heading>div{max-width:100%}.table-footer{flex-wrap:wrap}.detail-metrics.grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.note-form-foot{flex-wrap:wrap}.note-form-foot>span{flex:1 1 190px}.comparison-item{padding:14px 12px}.comparison-item b{font-size:22px}.trend-chart{padding:10px 5px 5px}}
@media(max-width:480px){.sidebar{gap:10px;flex-wrap:wrap}.sidebar .brand{gap:7px}.sidebar nav{min-width:0;gap:2px}.nav-item{padding:9px 7px;font-size:12px}.brand b{font-size:17px;letter-spacing:1px}.brand-mark{width:29px;height:29px;font-size:17px}.breadcrumb{font-size:12px}.breadcrumb span{margin:0 8px}.header-status{font-size:11px}.workspace{padding:19px 12px}.stat{padding:16px 13px}.stat-label{font-size:12px}.stat-note{font-size:11px;line-height:1.6}.stats{gap:10px}.stat-value{font-size:27px}.date-control{gap:5px;padding:0 7px}.page-actions{gap:7px}.sales-summary-items button{flex:1 1 110px;white-space:normal}.sales-summary-items b{font-size:17px}.cart-filter input{width:90px}.table-options{align-items:flex-start}.sort-control{min-width:0;max-width:100%}.sort-control select{min-width:0;max-width:calc(100vw - 105px)}.table-footer>div{width:100%;justify-content:space-between}.detail-top{padding:12px 16px}.detail-body{padding:16px}.detail-body h2{font-size:19px}.detail-metrics{padding:15px}.comparison-item{padding:12px 8px}.comparison-item small{font-size:11px}.comparison-item b{font-size:20px}.comparison-item span{font-size:11px}.decision-buttons{gap:6px}.decision-buttons button[data-decision]{padding:9px 4px;font-size:12px}.trend-tabs button{padding:6px 10px}.trend-chart svg text{font-size:13px}.raw-fields{grid-template-columns:90px minmax(0,1fr)}.toast{max-width:calc(100vw - 28px);width:max-content;padding:12px 16px;font-size:13px;overflow-wrap:anywhere}.note-form-foot .button{margin-left:auto}}
@media(max-width:350px){.sidebar nav{width:100%;margin-left:0;justify-content:space-between}.header-status{display:none}.sales-comparison{grid-template-columns:1fr}.comparison-item+.comparison-item{border-left:0;border-top:1px solid #dcece3}.comparison-item{padding:12px 15px}.decision-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep summary labels and panel options aligned with the table controls. */
.summary-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.table-options{padding:0 22px 16px}
@media(max-width:800px){.table-options{padding-left:15px;padding-right:15px}}

/* Date navigation and history range for multi-month imports. */
.day-strip{display:block}.history-range{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:12px;color:var(--muted)}.history-range b{font-weight:500;color:#365e52}.day-navigation{display:flex;gap:10px;align-items:stretch}.day-arrow{flex:0 0 30px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--green);font-size:24px}.day-cards{display:flex;gap:10px;overflow:auto;min-width:0;flex:1;scrollbar-width:thin;padding-bottom:3px}.day-cards .day-card{flex:1;min-width:115px;padding:11px 12px}.day-cards .day-card strong{display:block;margin:0 0 6px}.day-cards .day-card span{white-space:nowrap;font-size:12px}.report-links{text-align:left;max-width:360px;font-size:12px;line-height:1.8;white-space:normal;overflow-wrap:anywhere}.report-links summary{cursor:pointer;color:var(--green)}.trend-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.trend-range{height:32px;font-size:12px}.history-table-container{max-height:520px;overflow:auto}.history-table-container thead{position:sticky;top:0;z-index:1}.history-table-container .history-table{margin-top:0}
@media(max-width:800px){.day-cards .day-card{min-width:105px}.day-navigation{gap:6px}.day-cards{gap:7px}.history-range{align-items:flex-start}.trend-head{align-items:flex-start;gap:12px}.trend-controls{justify-content:flex-end}.trend-tabs button{padding:7px 9px}.trend-range{max-width:108px}}

.summary-source-note{flex-basis:100%;font-size:12px;line-height:1.7;color:#846019;border-top:1px solid #dce8df;padding-top:9px}

.raw-fields .raw-link{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.raw-fields .raw-link:hover{color:#005b49}.raw-fields .raw-link:focus-visible{outline:2px solid #078065;outline-offset:3px;border-radius:2px}
.upload-panel{padding:26px;margin-bottom:24px}.upload-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.upload-heading h2{margin:0 0 8px}.upload-heading p,.upload-guidance p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.upload-heading .button{white-space:nowrap}.upload-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:28px}.upload-drop{border:1.5px dashed #a9cfc1;background:#f5fbf8;border-radius:10px;display:flex;min-height:192px;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;cursor:pointer;text-align:center;overflow:hidden}.upload-drop.dragging,.upload-drop:focus-within{border-color:#078065;background:#e6f6ee;outline:2px solid #b5ddcc;outline-offset:2px}.upload-drop>span:last-of-type{color:var(--muted);font-size:12px}.upload-icon{font-size:23px;color:#078065;border-radius:10px;background:#def0e7;width:40px;height:40px;display:grid;place-items:center}.upload-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-drop.disabled{opacity:.65;cursor:wait}.upload-files{list-style:none;padding:0;margin:12px 0 0;max-height:170px;overflow:auto}.upload-files li{display:flex;justify-content:space-between;gap:12px;padding:7px 2px;font-size:13px}.upload-files li span{overflow-wrap:anywhere}.upload-files small{white-space:nowrap;color:var(--muted)}.upload-guidance>label{display:block;font-weight:600;margin-bottom:8px}.upload-guidance label .subtle{font-weight:400;margin-left:8px}.upload-guidance>input{height:40px;border:1px solid var(--line);border-radius:7px;padding:0 12px;max-width:100%;margin-bottom:10px;font:inherit;color:inherit;background:white}.upload-guidance p+p{margin-top:8px}.upload-actions{display:flex;align-items:center;gap:16px;margin-top:18px}.upload-alert{background:#fff9ec;border:1px solid #edd9a7;border-radius:7px;padding:12px 14px;color:#78581b;font-size:13px;line-height:1.7;margin-top:16px;overflow-wrap:anywhere}.upload-alert.error{background:#fff1f2;border-color:#f1c8cd;color:#9e3949}.upload-progress{display:flex;gap:10px;align-items:center;padding:16px 0 0;color:#17674f;font-size:13px}.upload-preview{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.upload-preview-heading,.upload-preview-foot{display:flex;justify-content:space-between;gap:16px;align-items:center}.upload-preview-heading h3{margin:0;font-size:15px}.upload-preview-heading>span,.upload-date-range{font-size:12px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.upload-summary{display:flex;gap:26px;flex-wrap:wrap;margin-top:20px;font-size:13px}.upload-summary b{font-size:24px;color:#075e4a;margin-right:5px}.upload-sample{width:100%;border-collapse:collapse;min-width:600px;font-size:12px}.upload-sample th,.upload-sample td{text-align:left;border-bottom:1px solid var(--line);padding:12px 10px}.upload-sample th{background:#f6f9f8;color:var(--muted);font-weight:500}.upload-sample td:nth-child(2){max-width:280px;overflow-wrap:anywhere}.upload-preview-foot{margin-top:16px}.upload-preview-foot .button{white-space:nowrap}.upload-warnings{font-size:13px;color:#78581b;line-height:1.8;padding-left:20px}.upload-success{margin-top:18px;background:#ecf8f1;border:1px solid #bddfce;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px}.upload-success strong{color:#086749}.upload-success p{font-size:13px;line-height:1.7;margin:6px 0 0}.upload-success .button{white-space:nowrap}.local-source-name{font-size:12px;overflow-wrap:anywhere}.local-source-name small{color:var(--muted);white-space:nowrap}
@media(max-width:900px){.upload-layout{grid-template-columns:1fr}.upload-drop{min-height:170px}.upload-heading{flex-wrap:wrap}.upload-panel{padding:20px}.upload-preview-heading,.upload-preview-foot,.upload-success{align-items:flex-start;flex-direction:column}.upload-guidance>input{min-width:200px}}

.auth-locked .sidebar,.auth-locked main,.auth-locked .data-loading-indicator{display:none}
.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#edf5f2,#f4f6f8)}
.login-screen[hidden]{display:none}.login-card{width:min(420px,100%);background:white;border:1px solid #dce8e4;border-radius:18px;padding:36px;box-shadow:0 18px 60px #153c3510}.login-card h1{margin-top:24px;font-size:25px}.login-card p,.login-card small{color:#6a8090;line-height:1.8}.account-form{display:grid;gap:18px}.account-form label{display:grid;gap:8px}.account-form input{width:100%;height:42px;padding:8px 12px;border:1px solid #cfdcd9;border-radius:7px}.account-form [role=alert]{color:#a13443;margin:0}.account-form button{min-height:42px}.login-card small{display:block;margin-top:24px}.account-actions{flex-wrap:wrap;gap:14px}.account-dialog{width:min(480px,94vw);max-height:90vh;border:1px solid #dce8e4;border-radius:14px;padding:0;color:#193d48}.account-dialog-body{padding:24px}.account-dialog p{line-height:1.8}.data-loading-indicator{display:none}.data-loading .data-loading-indicator{display:block;position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:1000;background:#143f38;color:white;border-radius:8px;padding:14px 24px}.data-loading main,.data-loading .sidebar{pointer-events:none;opacity:.65}

/* Prominent product destination above the daily provenance table. */
.product-link-card{margin-top:25px;padding:18px;border:1px solid #cde5dc;border-radius:9px;background:#f3faf7}
.product-link-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.product-link-head h3{margin:0}.product-link-head .button{flex-shrink:0}
.product-source-url{display:block;margin-top:12px;font-size:13px;line-height:1.7;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.product-link-card p{margin:10px 0 0}
