:root{color-scheme:dark;--bg:#101413;--panel:#19201d;--line:#2c3833}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:var(--bg);color:#edf3ef;font-family:Arial,sans-serif}a{color:inherit;text-decoration:none}.shell{display:flex;min-height:100vh}.sidebar{width:240px;padding:32px 24px;border-right:1px solid var(--line)}.sidebar h1{margin:8px 0 48px;font-size:24px}.eyebrow{margin:0;color:var(--accent);font-size:11px;letter-spacing:.16em}nav{display:grid;gap:8px}nav a{padding:12px;border-radius:8px;color:var(--muted)}nav a.active,nav a:hover{background:var(--panel);color:#fff}.content{flex:1 1;padding:48px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:28px}.topbar h2{margin:10px 0 0;font-size:36px;font-weight:500}.status{border:1px solid #536b42;border-radius:999px;padding:8px 12px;color:var(--accent);font-size:11px;letter-spacing:.12em}.cards{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px}.cards,article{display:grid;gap:16px}article{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}article small,article span{color:var(--muted)}article strong{font-size:42px;font-weight:400}@media (max-width:720px){.sidebar{width:180px}.content{padding:28px 20px}.cards{grid-template-columns:1fr}}button,input,select{font:inherit}button{cursor:pointer}.workbench-shell{display:flex;min-height:100vh}.import-content{max-width:1500px}.sidebar-footnote{display:flex;align-items:center;gap:8px;margin-top:48px;color:var(--muted);font-size:12px}.signal-dot,.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #26351f}.lede{max-width:620px;margin:16px 0 0;color:var(--muted);line-height:1.6}.import-layout{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(420px,1.15fr);gap:16px;margin-top:32px}.empty-workflow,.panel,.workflow-section{border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#1b2420,#151b19)}.panel{padding:24px}.panel-heading,.subheading,.workflow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-kicker{display:block;color:var(--accent);font-size:10px;letter-spacing:.16em}.panel h3,.workflow-heading h3{margin:8px 0 0;font-size:22px;font-weight:500}.file-rule,.muted-label{color:var(--muted);font-size:12px}.drop-zone{display:grid;justify-items:center;gap:10px;min-height:180px;margin:24px 0 16px;padding:32px 24px;border:1px dashed #536b42;border-radius:12px;background:#141b18;text-align:center;transition:background .2s,border-color .2s}.drop-zone:hover{background:#1c2821;border-color:var(--accent)}.drop-zone strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}.drop-zone span:last-of-type,.helper-text{color:var(--muted);font-size:12px;line-height:1.5}.upload-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #536b42;border-radius:50%;color:var(--accent);font-size:24px}.drop-zone input{position:absolute;width:1px;height:1px;opacity:0}.primary-button,.secondary-button{min-height:42px;padding:0 18px;border-radius:8px;border:1px solid transparent;font-size:13px;transition:opacity .2s,transform .2s,background .2s}.primary-button{background:var(--accent);color:#142014;font-weight:700}.primary-button:hover:not(:disabled){transform:translateY(-1px);background:#d2f38f}.secondary-button{border-color:#536b42;background:transparent;color:var(--accent)}.secondary-button:hover:not(:disabled){background:#26351f}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.45}.full-width{width:100%}.helper-text{margin:12px 0 0}.count-pill{padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px}.job-list{display:grid;gap:8px;margin-top:20px;max-height:260px;overflow-y:auto}.job-item{display:grid;gap:7px;padding:13px 14px;border:1px solid transparent;border-radius:9px;background:#141b18;color:#edf3ef;text-align:left}.job-item.selected,.job-item:hover{border-color:#536b42;background:#223027}.job-file{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.status-dot{background:#91a29a;box-shadow:none}.status-completed,.status-success{color:var(--accent)}.status-processing,.status-running{color:#e3bb70}.status-failed,.status-invalid{color:#f28686}.status-duplicate,.status-partial_success{color:#e3bb70}.status-mapping,.status-queued,.status-ready{color:#a5c8ee}.empty-state{margin:30px 0 12px;color:var(--muted);font-size:13px}.workflow-section{margin-top:16px;padding:26px}.workflow-heading{align-items:center}.large-status{padding:7px 11px;border:1px solid;border-radius:999px;font-size:11px;letter-spacing:.08em}.stepper{grid-template-columns:repeat(6,1fr);margin:28px 0;padding-bottom:20px;border-bottom:1px solid var(--line)}.step,.stepper{display:grid;gap:8px}.step{justify-items:center;color:#53635b;text-align:center}.step span{display:grid;place-items:center;width:27px;height:27px;border:1px solid #425048;border-radius:50%;font-size:11px}.step strong{font-size:11px;font-weight:500}.step.current,.step.done{color:var(--accent)}.step.current span,.step.done span{border-color:var(--accent)}.step.done span{background:#2b401e}.workflow-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:24px}.workflow-main{min-width:0}.action-card,.mapping-card,.progress-card,.rows-card{padding:20px;border:1px solid var(--line);border-radius:11px;background:#141b18}.action-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.action-card p,.progress-copy p,.ready-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.action-card.compact{margin-top:12px}.mapping-card{display:grid;gap:20px}.subheading h4{margin:7px 0 0;font-size:16px;font-weight:500}.mapping-table,.rows-table{display:grid;gap:1px;background:var(--line)}.mapping-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;min-height:45px;padding:0 12px;background:#1a221f}.mapping-header{min-height:32px;background:#202b26;color:var(--muted);font-size:11px}.mapping-row code{overflow:hidden;text-overflow:ellipsis;color:#cbd9d1;font-family:monospace;font-size:12px;white-space:nowrap}.mapping-row select{width:100%;padding:7px 8px;border:1px solid #3a4a42;border-radius:6px;background:#101613;color:#edf3ef;font-size:12px}.ready-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.ready-card>div:first-child{display:flex;align-items:center;gap:12px}.ready-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#304a23;color:var(--accent);font-size:18px}.ready-card strong{display:block;margin-bottom:5px;font-size:15px;font-weight:500}.progress-card{display:flex;justify-content:space-between;gap:20px}.progress-copy{max-width:520px}.progress-copy h4{margin:8px 0 7px;font-size:18px;font-weight:500}.progress-metrics{display:flex;align-items:center;gap:22px}.progress-metrics strong{display:grid;gap:4px;color:var(--accent);font-size:26px;font-weight:400}.progress-metrics small{color:var(--muted);font-size:10px;white-space:nowrap}.workflow-side{display:grid;align-content:start;gap:12px}.stat-stack{display:grid;gap:1px;background:var(--line)}.stat-stack div{display:flex;justify-content:space-between;align-items:baseline;padding:13px 12px;background:#1a221f}.stat-stack span{color:var(--muted);font-size:11px}.stat-stack strong{color:var(--accent);font-size:22px;font-weight:400}.error-box{margin:0;padding:12px;border:1px solid #6d3d3d;border-radius:8px;background:#2a1d1e;color:#f0a8a8;font-size:12px;line-height:1.5}.page-boundary{display:grid;justify-items:start;align-content:center;gap:16px;min-height:100vh;padding:48px}.page-boundary h1{max-width:620px;margin:0;font-size:36px;font-weight:500}.page-boundary p:not(.eyebrow){max-width:620px;margin:0;color:var(--muted);line-height:1.6}.page-loading{justify-items:center;text-align:center}.loading-pulse{width:56px;height:8px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 6px #26351f;animation:loading-pulse 1.1s ease-in-out infinite alternate}@keyframes loading-pulse{0%{opacity:.35;transform:scaleX(.65)}to{opacity:1;transform:scaleX(1)}}.rows-card{margin-top:16px}.rows-table{margin-top:18px;overflow-x:auto}.rows-header,.rows-line{display:grid;grid-template-columns:45px minmax(120px,1.3fr) 90px 90px minmax(180px,2fr);gap:12px;align-items:center;min-width:680px;padding:11px 12px;background:#1a221f;font-size:12px}.rows-header{background:#202b26;color:var(--muted);font-size:11px}.rows-line+.rows-line{border-top:1px solid #27332e}.row-number{color:var(--muted);font-family:monospace}.row-status{font-size:11px}.row-error{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.empty-workflow{display:grid;justify-items:center;margin-top:16px;padding:80px 24px;text-align:center}.empty-orbit{color:var(--accent);font-size:40px}.empty-workflow h3{margin:18px 0 8px;font-size:20px;font-weight:500}.empty-workflow p{margin:0;color:var(--muted);font-size:13px}.ai-task-layout{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(420px,1.15fr);gap:16px;margin-top:32px}.ai-product-input{display:block;width:100%;margin:24px 0 16px;padding:14px;resize:vertical;border:1px solid #3a4a42;border-radius:8px;outline:none;background:#101613;color:#edf3ef;font-size:12px;line-height:1.6}.ai-product-input:focus{border-color:var(--accent)}.ai-progress-track{height:8px;margin:28px 0 16px;overflow:hidden;border-radius:999px;background:#27332e}.ai-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .3s ease}.ai-progress-card{align-items:center}.ai-actions{display:flex;gap:10px;margin:16px 0}.ai-job-row{grid-template-columns:minmax(180px,1.4fr) 150px 90px 70px minmax(150px,1.2fr) minmax(180px,2fr)}.ai-job-row code{overflow:hidden;color:#cbd9d1;font-family:monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.ai-job-row .request-id,.toast{color:var(--accent)}.toast{position:fixed;right:28px;bottom:24px;max-width:420px;padding:13px 16px;border:1px solid #536b42;border-radius:8px;background:#223027;font-size:13px;box-shadow:0 10px 30px #0006}.toast-error{border-color:#6d3d3d;background:#2a1d1e;color:#f0a8a8}.score-lookup-panel{margin-top:32px}.score-lookup-form{display:flex;gap:10px;margin-top:24px}.score-lookup-form input{flex:1 1;min-width:0;padding:0 12px;border:1px solid #3a4a42;border-radius:8px;background:#101613;color:#edf3ef}.score-error,.score-result{margin-top:16px}.score-hero{display:flex;align-items:center;justify-content:space-between;gap:24px}.score-hero p{margin:12px 0 0;color:var(--muted);font-size:13px}.score-hero-number{display:grid;justify-items:end}.score-hero-number strong{color:var(--accent);font-size:64px;font-weight:400;line-height:1}.score-hero-number span,.score-summary-grid small{color:var(--muted);font-size:11px}.score-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.score-summary-grid article{gap:10px}.score-summary-grid article strong{font-size:28px}.score-detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:16px;margin-top:16px}.gate-list,.score-bars{display:grid;gap:16px;margin-top:22px}.score-bar{display:grid;gap:7px}.score-bar>div:first-child{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.score-bar strong{color:#edf3ef;font-weight:500}.score-bar-track{height:7px;overflow:hidden;border-radius:99px;background:#2c3833}.score-bar-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.gate-pill{padding:5px 9px;border:1px solid #536b42;border-radius:999px;color:var(--accent);font-size:11px}.gate-pill.blocked{border-color:#6d3d3d;color:#f28686}.gate-item{display:grid;gap:5px;padding:12px;border-left:2px solid #f28686;background:#241b1c}.gate-item strong{color:#f0a8a8;font-size:12px}.gate-item span{color:var(--muted);font-size:11px}.score-strengths{margin:16px 0 0;color:var(--muted);font-size:12px}.ranking-filter-panel{margin-top:32px}.ranking-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin-top:24px}.ranking-filters input,.ranking-filters select{min-width:0;min-height:42px;padding:0 10px;border:1px solid #3a4a42;border-radius:8px;background:#101613;color:#edf3ef}.ranking-error{margin-top:16px}.ranking-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;margin-top:16px}.ranking-table{min-width:0;padding:0;overflow-x:auto}.ranking-row{display:grid;grid-template-columns:38px minmax(220px,2fr) 78px 78px 78px 78px 80px 80px 52px;gap:10px;align-items:center;min-width:850px;padding:13px 16px;color:#edf3ef;font-size:12px;text-align:left}.ranking-header{color:var(--muted);background:#202b26;font-size:11px}.ranking-line{width:100%;border:0;border-top:1px solid #27332e;background:#1a221f}.ranking-line.selected,.ranking-line:hover{background:#223027}.rank-number{color:var(--muted);font-family:monospace}.ranking-product{display:flex;align-items:center;gap:10px;min-width:0}.ranking-product>span:last-child{display:grid;gap:4px;min-width:0}.ranking-product strong{font-weight:500}.ranking-product small,.ranking-product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranking-product small{color:var(--muted)}.ranking-thumb{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;overflow:hidden;border-radius:7px;background:#2c3833;color:var(--accent)}.ranking-thumb img{width:100%;height:100%;object-fit:cover}.ranking-score{color:var(--accent);font-size:16px;font-weight:500}.ranking-grade{font-weight:700}.grade-a,.grade-a_plus{color:var(--accent)}.grade-b{color:#e3bb70}.grade-c,.grade-d{color:var(--muted)}.ranking-drawer{align-self:start;min-height:380px}.drawer-heading{display:flex;justify-content:space-between;gap:12px}.drawer-heading h3{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-close{width:28px;height:28px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted)}.drawer-image{width:100%;max-height:190px;margin-top:20px;border-radius:9px;object-fit:cover}.drawer-score{display:grid;gap:4px;margin-top:18px}.drawer-score strong{color:var(--accent);font-size:42px;font-weight:400}.drawer-breakdown,.drawer-meta,.drawer-score span{color:var(--muted);font-size:11px}.drawer-breakdown,.drawer-meta{display:grid;gap:9px;margin-top:18px}.drawer-breakdown div,.drawer-meta span{display:flex;justify-content:space-between}.drawer-breakdown strong,.drawer-meta strong{color:#edf3ef;font-weight:500}.drawer-link{display:inline-block;margin-top:22px;padding-top:11px;padding-bottom:11px}.candidate-layout{display:grid;grid-template-columns:minmax(240px,.35fr) minmax(0,1fr);gap:16px;margin-top:32px}.candidate-lists-panel{align-self:start}.candidate-add-form,.candidate-create-form{display:grid;gap:10px;margin-top:22px}.candidate-add-form input,.candidate-controls select,.candidate-create-form input,.candidate-item-card select,.candidate-item-edit input,.candidate-item-edit select{min-width:0;min-height:40px;padding:0 10px;border:1px solid #3a4a42;border-radius:8px;background:#101613;color:#edf3ef}.candidate-item-stack,.candidate-list-stack{display:grid;gap:8px;margin-top:18px}.candidate-list-item{display:grid;gap:5px;padding:13px;border:1px solid transparent;border-radius:9px;background:#141b18;color:#edf3ef;text-align:left}.candidate-list-item.selected,.candidate-list-item:hover{border-color:#536b42;background:#223027}.candidate-list-item small,.candidate-list-item span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.candidate-main{display:grid;align-content:start;gap:16px;min-width:0}.candidate-add-form{grid-template-columns:minmax(180px,1.2fr) 100px minmax(160px,1fr) auto;align-items:center}.candidate-items-panel{min-width:0}.candidate-controls{display:flex;flex-wrap:wrap;gap:8px}.candidate-controls select{min-height:34px;font-size:11px}.candidate-item-card{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(230px,.8fr) minmax(280px,1.2fr);gap:16px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:10px;background:#141b18}.candidate-item-product{display:flex;align-items:center;gap:10px;min-width:0}.candidate-item-product>div{display:grid;gap:4px;min-width:0}.candidate-item-product strong{overflow:hidden;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.candidate-item-product code,.candidate-item-product small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.candidate-item-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;color:var(--muted);font-size:11px}.candidate-item-metrics span{display:flex;justify-content:space-between;gap:8px}.candidate-item-metrics strong{color:#edf3ef;font-weight:500}.candidate-item-edit{display:grid;grid-template-columns:105px 75px minmax(100px,1fr) auto auto;gap:7px;align-items:center}.candidate-item-edit input,.candidate-item-edit select{min-height:36px;font-size:11px}.candidate-add-dialog-trigger{display:inline-flex;align-items:center;gap:8px}.candidate-dialog-success{color:var(--accent);font-size:11px;white-space:nowrap}.candidate-dialog-backdrop{position:fixed;z-index:30;inset:0;display:grid;place-items:center;padding:20px;background:rgb(5 10 8/78%)}.candidate-dialog{width:min(100%,480px);padding:24px;border-color:#526c57;box-shadow:0 24px 80px rgb(0 0 0/35%)}.candidate-dialog-product{margin:16px 0 20px;color:#e3ece6;font-size:14px}.candidate-dialog-form{display:grid;gap:14px}.candidate-dialog-form label{display:grid;gap:7px;color:var(--muted);font-size:11px}.candidate-dialog-form input,.candidate-dialog-form select,.candidate-dialog-form textarea{width:100%;min-height:38px;padding:8px 10px;border:1px solid #3a4a42;border-radius:8px;background:#101613;color:#edf3ef;font:inherit;resize:vertical}.candidate-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.danger-button{min-height:36px;padding:0 10px;border:1px solid #6d3d3d;border-radius:8px;background:transparent;color:#f0a8a8;font-size:11px}.danger-button:hover:not(:disabled){background:#2a1d1e}.dashboard-error{margin-top:16px}.login-shell{display:grid;place-items:center;min-height:100vh;padding:24px}.login-panel{width:min(100%,440px)}.login-panel h1{margin:12px 0 0;font-size:30px;font-weight:500}.login-form{display:grid;gap:16px;margin-top:28px}.login-form label{display:grid;gap:8px;color:var(--muted);font-size:12px}.login-form input{min-height:44px;padding:0 12px;border:1px solid #3a4a42;border-radius:8px;background:#101613;color:#edf3ef}.dashboard-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:32px}.dashboard-metric{gap:9px;padding:18px}.dashboard-metric.primary{border-color:#536b42;background:linear-gradient(145deg,#223027,#19221e)}.dashboard-metric strong{font-size:28px}.dashboard-metric.primary strong{color:var(--accent)}.dashboard-metric small{font-size:10px}.dashboard-actions{margin-top:16px}.dashboard-action-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.dashboard-action-links a{display:inline-flex;align-items:center;justify-content:center}.dashboard-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.distribution-panel.wide{grid-column:1/-1}.distribution-list{display:grid;gap:15px;margin-top:24px}.distribution-row{display:grid;gap:7px}.distribution-row>div:first-child{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.distribution-row strong{color:#edf3ef;font-weight:500}.distribution-track{height:7px;overflow:hidden;border-radius:99px;background:#2c3833}.distribution-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.product-filter-panel{margin-top:32px}.product-filters{display:grid;grid-template-columns:minmax(220px,1fr) 180px 180px auto;gap:10px;margin-top:22px}.product-filters input,.product-filters select{min-width:0;min-height:42px;padding:0 10px;border:1px solid #3a4a42;border-radius:8px;background:#101613;color:#edf3ef}.product-filter-toggle{justify-self:start}.bulk-action-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.bulk-action-bar>strong{margin-right:auto;color:#edf3ef;font-size:12px}.product-notice{margin-top:12px}.product-advanced-filters{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:6px}.product-advanced-filters label,.product-range-field{display:grid;gap:7px;color:var(--muted);font-size:11px}.product-range-field>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.product-advanced-filters input,.product-advanced-filters select{width:100%}.product-error{margin-top:16px}.product-table-panel,.supplier-table-panel{margin-top:16px;padding:0;overflow-x:auto}.product-editor-panel{display:grid;gap:18px;margin-top:22px}.product-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-editor-grid label{display:grid;gap:6px;color:var(--muted);font-size:11px}.product-editor-grid input,.product-editor-grid select,.product-editor-grid textarea{width:100%;min-height:38px;padding:8px 9px;border:1px solid #3a4a42;border-radius:7px;background:#101613;color:#edf3ef;font-size:12px}.product-editor-grid textarea{min-height:88px;resize:vertical}.product-notes-field{grid-column:1/-1}.product-editor-actions{display:flex;justify-content:flex-end;gap:8px}.profit-editor{display:grid;gap:14px;margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:8px;background:rgba(18,27,22,.55)}.profit-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profit-editor-grid label{display:grid;gap:6px;color:var(--muted);font-size:11px}.profit-editor-grid input{width:100%;min-height:36px;padding:0 9px;border:1px solid #3a4a42;border-radius:7px;background:#101613;color:#edf3ef;font-size:12px}.profit-editor-actions{display:flex;justify-content:flex-end}.supplier-table{display:grid;grid-template-columns:minmax(190px,1.4fr) minmax(110px,.9fr) 90px minmax(220px,1.6fr) 65px 100px 90px;gap:14px;align-items:center;min-width:980px;padding:13px 16px;font-size:12px}.supplier-header{background:#202b26;color:var(--muted);font-size:11px}.supplier-line{border-top:1px solid #27332e;background:#1a221f}.supplier-name-cell,.supplier-product-copy{display:grid;gap:4px;min-width:0}.supplier-name-cell small,.supplier-name-cell strong,.supplier-score-summary,.supplier-table>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.supplier-name-cell small,.supplier-product-copy small{color:var(--muted);font-size:10px}.supplier-name-cell a,.supplier-product-row{color:inherit;text-decoration:none}.supplier-name-cell a:hover strong,.supplier-product-row:hover strong{color:var(--accent)}.supplier-score-summary{color:#d5e0da;font-size:11px}.supplier-actions{display:flex;gap:8px}.supplier-editor{display:grid;gap:16px;margin-top:16px;padding:20px;border:1px solid var(--line);border-radius:11px;background:#141b18}.supplier-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.supplier-editor-grid label{display:grid;gap:6px;color:var(--muted);font-size:11px}.supplier-editor-grid input,.supplier-editor-grid textarea{width:100%;min-height:36px;padding:8px 9px;border:1px solid #3a4a42;border-radius:7px;background:#101613;color:#edf3ef;font-size:12px}.supplier-editor-grid textarea{min-height:74px;resize:vertical}.supplier-checkbox-field{align-content:center}.supplier-checkbox-field>span:last-child{color:#d5e0da}.supplier-checkbox-field input{width:auto;min-height:0}.supplier-notes-field{grid-column:1/-1}.supplier-editor-actions{display:flex;justify-content:flex-end;gap:8px}.supplier-detail-topbar{align-items:center}.supplier-detail-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin-top:32px;background:var(--line)}.supplier-metric{display:grid;gap:7px;padding:16px;background:#1a221f}.supplier-fact span,.supplier-metric span,.supplier-score-row span{color:var(--muted);font-size:11px}.supplier-metric strong{color:var(--accent);font-size:22px;font-weight:400}.supplier-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.supplier-fact-grid,.supplier-score-grid{display:grid;gap:14px;margin-top:22px}.supplier-fact-grid{grid-template-columns:1fr 1fr}.supplier-fact,.supplier-score-row{display:grid;gap:6px;min-width:0}.supplier-fact strong{overflow:hidden;color:#edf3ef;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.supplier-score-row{grid-template-columns:1fr auto;align-items:baseline;padding-bottom:10px;border-bottom:1px solid var(--line)}.supplier-score-row strong{color:var(--accent);font-size:18px;font-weight:500}.supplier-notes-panel,.supplier-products-panel{min-width:0}.supplier-product-list{display:grid;gap:8px;margin-top:18px}.supplier-product-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.supplier-product-thumb{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:7px;background:#101613;color:var(--muted)}.supplier-product-thumb img{width:100%;height:100%;object-fit:cover}.supplier-notes-copy{margin:22px 0 0;color:#d5e0da;font-size:13px;line-height:1.7;white-space:pre-wrap}.product-table{display:grid;grid-template-columns:42px minmax(260px,1.6fr) minmax(130px,.8fr) 100px 100px 90px 90px 90px minmax(130px,.9fr) 120px 100px minmax(220px,1fr);gap:14px;align-items:center;min-width:950px;padding:13px 16px;font-size:12px}.product-header{color:var(--muted);background:#202b26;font-size:11px}.product-select-cell{display:grid;place-items:center}.product-select-cell input{accent-color:var(--accent)}.product-line{border-top:1px solid #27332e;background:#1a221f;color:#edf3ef}.product-line:hover{background:#223027}.product-score-cell{display:grid;gap:2px}.product-score-cell small,.product-similarity-high small{color:#e3bb70;font-size:10px}.product-similarity-high{display:grid;gap:2px;color:#e3bb70}.product-name-cell{display:flex;align-items:center;gap:10px;min-width:0}.product-name-cell>span:last-child{display:grid;gap:4px;min-width:0}.product-name-cell small,.product-name-cell strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-name-cell strong{font-weight:500}.product-name-cell small{color:var(--muted);font-size:10px}.product-status{color:var(--accent);font-size:11px}.status-analysis_failed,.status-scoring_failed{color:#f0a8a8}.status-draft,.status-imported,.status-ready_for_analysis{color:#e3bb70}.product-actions{display:flex;flex-wrap:wrap;gap:6px}.product-actions .secondary-button{min-height:32px;padding:0 9px;font-size:11px}.pagination-bar{display:flex;justify-content:center;gap:14px;padding:18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.pagination-bar,.product-detail-topbar{align-items:center}.product-detail-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.product-detail-actions a,.product-detail-actions button{display:inline-flex;align-items:center;justify-content:center}.product-top-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:12px}.product-notice{margin-top:16px}.notice-box{padding:12px 14px;border:1px solid #536b42;border-radius:8px;background:#223027;color:var(--accent);font-size:12px}.product-detail-hero{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);gap:16px;margin-top:32px}.product-gallery{display:grid;justify-items:stretch;align-content:start;min-height:360px;padding:18px;overflow:hidden}.product-gallery>img{width:100%;height:320px;border-radius:10px;object-fit:contain;background:#101613}.product-gallery-strip{display:flex;gap:8px;width:100%;margin-top:10px;overflow-x:auto}.product-gallery-strip img{width:52px;height:52px;flex:0 0 auto;border:1px solid var(--line);border-radius:7px;object-fit:cover}.product-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:14px}.product-gallery-heading h4{margin:4px 0 0;font-size:14px}.image-upload-button{position:relative;overflow:hidden;cursor:pointer}.image-upload-button input{position:absolute;inset:0;width:100%;height:100%;cursor:pointer;opacity:0}.image-url-form{display:flex;gap:8px;width:100%;margin-top:10px}.image-url-form input{min-width:0;flex:1 1}.product-gallery-item{display:grid;gap:5px;min-width:72px;flex:0 0 auto}.product-gallery-thumb{padding:0;border:1px solid var(--line);border-radius:7px;background:transparent;cursor:pointer}.product-gallery-thumb.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.product-gallery-thumb img{display:block;width:70px;height:52px;border:0}.product-gallery-item-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;color:var(--muted);font-size:10px}.gallery-icon-button{padding:0;border:0;background:transparent;color:var(--muted);font-size:10px;cursor:pointer}.gallery-icon-button:hover:not(:disabled){color:var(--accent)}.gallery-icon-button:disabled{cursor:not-allowed;opacity:.4}.gallery-delete-button:hover:not(:disabled){color:#df8f7b}.product-facts h3{margin:8px 0 0;font-size:24px;font-weight:500}.product-ai-details,.product-fact-grid,.product-profit-details,.product-sku-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:26px}.product-fact{display:grid;gap:6px}.product-ai-details small,.product-fact span,.product-profit-details small{color:var(--muted);font-size:11px}.product-fact strong{overflow:hidden;color:#edf3ef;font-size:16px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.accent-text{color:var(--accent)!important}.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.product-ai-details,.product-profit-details,.product-sku-summary{align-items:start}.detail-copy,.product-ai-details small,.product-profit-details small{grid-column:1/-1}.detail-copy{display:grid;gap:7px}.detail-copy span{color:var(--muted);font-size:11px}.detail-copy p{margin:0;color:#d5e0da;font-size:12px;line-height:1.6}.ai-score-copy{gap:12px}.ai-score-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.ai-score-bar{display:grid;gap:6px}.ai-score-bar>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.ai-score-bar strong{color:var(--accent);font-weight:500}.ai-score-track{height:6px;overflow:hidden;border-radius:99px;background:#2c3833}.ai-score-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.ai-metadata{display:grid;gap:4px;padding-top:4px}.ai-metadata,.product-ai-history-panel,.product-history-panel,.product-score-panel,.product-similar-panel,.product-sku-panel{grid-column:1/-1}.product-score-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:24px;margin-top:22px}.product-score-layout .score-bars{margin-top:0}.product-score-summary{display:grid;align-content:start;grid-template-columns:1fr 1fr;gap:16px}.product-score-explanation{display:grid;gap:18px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.product-sku-panel .subheading{align-items:center}.sku-editor{display:grid;gap:14px;margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:8px;background:rgba(18,27,22,.55)}.sku-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sku-editor-grid label{display:grid;gap:6px;color:var(--muted);font-size:11px}.sku-editor-grid input,.sku-editor-grid select{width:100%;min-height:36px;padding:0 9px;border:1px solid #3a4a42;border-radius:7px;background:#101613;color:#edf3ef;font-size:12px}.sku-editor-actions{display:flex;justify-content:flex-end;gap:8px}.sku-table-wrap{margin-top:18px;overflow-x:auto;border:1px solid var(--line);border-radius:8px}.sku-table{display:grid;grid-template-columns:minmax(110px,1.1fr) minmax(90px,1fr) minmax(130px,1.3fr) 90px 90px 65px 70px 90px;gap:10px;align-items:center;min-width:850px;padding:11px 12px;font-size:11px}.sku-table-header{background:#202b26;color:var(--muted);font-size:10px}.sku-table-row{border-top:1px solid #27332e;background:#1a221f;color:#edf3ef}.sku-table-row strong,.sku-table-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sku-status{color:var(--accent)}.sku-actions{display:flex;gap:8px}.ai-run-list,.score-history-list,.similar-product-list{display:grid;gap:8px;margin-top:18px}.ai-run-row{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:rgba(18,27,22,.45)}.ai-run-main,.ai-run-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}.ai-run-main strong{color:var(--accent);font-size:12px;font-weight:500}.ai-run-main span,.ai-run-meta,.ai-run-row small{color:var(--muted);font-size:11px}.ai-run-row small{color:#dfaaa0}.score-history-row,.similar-product-row{display:grid;align-items:center;gap:12px;min-width:0;padding:10px 0;border-bottom:1px solid var(--line)}.similar-product-row{grid-template-columns:42px minmax(0,1fr) auto;color:inherit;text-decoration:none}.similar-product-row:hover strong{color:var(--accent)}.similar-product-thumb{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:7px;background:#101613;color:var(--muted)}.similar-product-thumb img{width:100%;height:100%;object-fit:cover}.similar-product-copy{display:grid;gap:4px;min-width:0}.similar-product-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-history-row small,.similar-product-copy small,.similar-product-reasons,.similar-product-signals{color:var(--muted);font-size:11px}.similar-product-reasons{color:#d5e0da}.similar-product-result{display:grid;justify-items:end;gap:4px;min-width:120px}.similar-product-result small{color:var(--muted);font-size:11px;text-align:right}.similarity-warning{padding:3px 6px;border:1px solid #80653b;border-radius:999px;color:#f0c889;font-size:10px;white-space:nowrap}.similarity-warning.duplicate{border-color:#6d3d3d;color:#f28686}.score-history-row{grid-template-columns:48px 80px minmax(0,1fr)}.score-history-row strong{color:var(--accent)}.score-history-row span{color:#edf3ef;font-size:13px}.product-history-panel .secondary-button{padding:7px 10px}.settings-tabs{display:flex;gap:4px;margin-top:28px;border-bottom:1px solid var(--line)}.settings-tabs button{padding:11px 14px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:12px}.settings-tabs button.active{border-bottom-color:var(--accent);color:var(--accent)}.settings-panel{margin-top:18px}.provider-list,.score-config-editor-grid,.score-config-list,.settings-form,.system-setting-list{display:grid;gap:12px;margin-top:22px}.score-config-editor{display:grid;gap:14px;margin-top:22px;padding:16px;border:1px solid var(--line);border-radius:8px;background:rgba(18,27,22,.55)}.score-config-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}.score-config-editor-grid:first-of-type{grid-template-columns:1fr 1fr}.score-config-actions,.score-config-editor-actions{display:flex;flex-wrap:wrap;gap:8px}.score-config-editor-actions{justify-content:flex-end}.settings-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.settings-field{display:grid;gap:7px}.provider-copy small,.provider-title small,.settings-field small,.settings-field>span,.system-setting-row small{color:var(--muted);font-size:11px}.settings-field input{width:100%}.provider-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.provider-editor input:not([type=checkbox]),.provider-editor select,.provider-editor textarea{width:100%}.provider-editor textarea{min-height:110px;padding:10px;border:1px solid #3a4a42;border-radius:7px;background:#101613;color:#edf3ef;font-family:monospace;font-size:12px;resize:vertical}.provider-active-toggle{display:inline-flex;align-items:center;gap:8px;color:#d5e0da;font-size:12px}.provider-active-toggle input{accent-color:var(--accent)}.provider-editor-actions{display:flex;justify-content:flex-end;gap:8px}.settings-field small{line-height:1.4}.provider-row,.score-config-row,.system-setting-row{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:rgba(18,27,22,.55)}.provider-row{grid-template-columns:minmax(0,1fr) auto}.provider-copy,.provider-title,.system-setting-row>div{display:grid;gap:5px;min-width:0}.provider-title{justify-content:space-between}.provider-state,.provider-title{display:flex;align-items:center;gap:10px}.provider-state{justify-content:flex-end}.configured-chip,.missing-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:10px}.configured-chip{background:#263d2b;color:var(--accent)}.missing-chip{background:#3d2f29;color:#e9b48d}.probe-failure,.probe-success{grid-column:1/-1;margin:0;font-size:12px}.probe-success{color:var(--accent)}.probe-failure{color:#e9b48d}.score-config-row{gap:14px}.score-config-row.active{border-color:#536b42}.score-config-row .provider-title>div{display:grid;gap:4px}.score-config-actions{justify-content:flex-end}.config-gate-list,.config-value-grid{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:11px}.config-value-grid strong{color:#edf3ef;font-weight:500}.system-setting-row{grid-template-columns:minmax(160px,.35fr) minmax(0,1fr);align-items:center}.system-setting-row>span{overflow:hidden;color:#d5e0da;font-family:monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}@media (max-width:900px){.candidate-item-card,.candidate-layout,.product-score-layout,.ranking-layout,.score-detail-grid{grid-template-columns:1fr}.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.product-advanced-filters,.product-filters{grid-template-columns:1fr 1fr}.product-detail-grid,.product-detail-hero,.supplier-detail-grid{grid-template-columns:1fr}.supplier-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:620px){.score-hero,.score-lookup-form{align-items:stretch;flex-direction:column}.score-lookup-form input{min-height:42px}.score-hero-number{justify-items:start}.score-summary-grid{grid-template-columns:1fr}.profit-editor-grid,.ranking-filters,.supplier-detail-metrics,.supplier-editor-grid,.supplier-fact-grid{grid-template-columns:1fr 1fr}.candidate-add-form,.candidate-item-edit{grid-template-columns:1fr}.candidate-controls{width:100%}.dashboard-chart-grid,.dashboard-metrics,.product-advanced-filters,.product-filters{grid-template-columns:1fr}.product-detail-topbar{align-items:stretch}.product-detail-actions{justify-content:flex-start}.product-ai-details,.product-fact-grid,.product-profit-details,.product-sku-summary{grid-template-columns:1fr}.product-score-summary{grid-template-columns:1fr 1fr}.ai-score-grid{grid-template-columns:1fr}.sku-editor-grid{grid-template-columns:1fr 1fr}.distribution-panel.wide{grid-column:auto}}@media (max-width:980px){.ai-task-layout,.import-layout,.workflow-grid{grid-template-columns:1fr}.workflow-side{grid-template-columns:repeat(3,1fr)}}@media (max-width:720px){.workbench-shell{display:block}.sidebar{width:auto;padding:24px 20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar h1{margin-bottom:20px}.sidebar-footnote{display:none}.content{padding:28px 20px}.topbar{display:grid;gap:20px}.topbar h2{font-size:28px}.ai-task-layout,.import-layout{grid-template-columns:1fr}.panel,.workflow-section{padding:18px}.stepper{gap:3px}.step strong{font-size:10px}.action-card,.progress-card,.ready-card{display:grid}.workflow-side{grid-template-columns:1fr}.progress-metrics{justify-content:space-between}.settings-tabs{overflow-x:auto}.settings-tabs button{flex:0 0 auto}.provider-editor-grid,.provider-row,.settings-field-grid,.system-setting-row{grid-template-columns:1fr}.provider-state{justify-content:flex-start}}:root{--bg:#0b100e;--canvas-soft:#101714;--panel:#18221d;--line:#314038;--muted:#91a29a;--accent:#b9e769;--flax:#f3efe2;--clay:#d78361;--font-body:"Avenir Next","PingFang SC","Noto Sans CJK SC",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}html{background:var(--bg)}body,html{overflow-x:hidden}body{background-color:var(--bg);background-image:linear-gradient(rgba(185,231,105,.018) 1px,transparent 0),linear-gradient(90deg,rgba(185,231,105,.018) 1px,transparent 0),radial-gradient(circle at 74% 0,rgba(185,231,105,.055),transparent 28rem);background-size:34px 34px,34px 34px,auto;color:var(--flax);font-family:var(--font-body)}button,input,select,textarea{font-family:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.workbench-shell{min-width:0}.workbench-shell .sidebar{flex:0 0 224px;width:224px;min-width:0;min-height:100vh;padding:28px 18px 24px;border-right:1px solid rgba(49,64,56,.9);background:linear-gradient(180deg,rgba(14,21,18,.96),rgba(11,16,14,.9))}.workbench-shell .sidebar h1{margin:10px 0 48px;color:var(--flax);font-size:25px;font-weight:650;letter-spacing:.06em;line-height:1.25}.workbench-shell .sidebar nav{gap:6px}.workbench-shell .sidebar nav a{min-height:42px;padding:11px 14px;border:1px solid transparent;border-radius:10px;color:var(--muted);font-size:13px;transition:background .2s ease,border-color .2s ease,color .2s ease}.workbench-shell .sidebar nav a.active,.workbench-shell .sidebar nav a:hover{border-color:rgba(185,231,105,.14);background:rgba(185,231,105,.08);color:var(--flax)}.workbench-shell .content{flex:1 1 auto;min-width:0;width:100%;padding:clamp(28px,4vw,52px)}.workbench-shell .import-content{max-width:1600px}.workbench-shell .topbar{min-width:0;gap:28px;padding-bottom:30px;border-color:rgba(49,64,56,.78)}.workbench-shell .topbar>:first-child{min-width:0}.workbench-shell .topbar h2{color:var(--flax);font-size:clamp(32px,3.2vw,48px);font-weight:650;letter-spacing:-.04em}.workbench-shell .eyebrow,.workbench-shell .panel-kicker{font-family:var(--font-mono);font-weight:650;letter-spacing:.16em}.workbench-shell .lede{max-width:680px;color:#a7b6ae;font-size:14px}.workbench-shell .product-top-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px;min-width:0}.workbench-shell .status{min-height:36px;padding:9px 13px;border-color:rgba(185,231,105,.45);color:var(--accent);font-family:var(--font-mono);font-size:10px;font-weight:700}.workbench-shell .empty-workflow,.workbench-shell .panel{min-width:0;border-color:rgba(49,64,56,.92);border-radius:18px;background:linear-gradient(145deg,rgba(26,36,31,.94),rgba(18,26,22,.96));box-shadow:0 18px 44px rgba(0,0,0,.12)}.workbench-shell .product-filter-panel{margin-top:28px;padding:clamp(20px,2.4vw,30px)}.workbench-shell .panel-heading h3{margin:9px 0 0;color:var(--flax);font-size:25px;letter-spacing:-.03em}.workbench-shell .product-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:24px}.workbench-shell .product-filter-fields{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(132px,.8fr));gap:10px;min-width:0}.workbench-shell .product-filter-actions>*,.workbench-shell .product-filter-fields>*{min-width:0}.workbench-shell .product-filters input,.workbench-shell .product-filters select{width:100%;min-height:46px;padding:0 14px;border-color:#3a4a42;border-radius:10px;background:rgba(9,15,12,.76);color:var(--flax)}.workbench-shell .product-filters input::placeholder{color:#78887f}.workbench-shell .product-filter-actions{display:flex;flex-wrap:wrap;gap:10px}.workbench-shell .product-filter-actions .primary-button{min-width:150px}.workbench-shell .danger-button,.workbench-shell .primary-button,.workbench-shell .secondary-button{border-radius:10px;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.workbench-shell .danger-button:hover:not(:disabled),.workbench-shell .primary-button:hover:not(:disabled),.workbench-shell .secondary-button:hover:not(:disabled){transform:translateY(-1px)}.workbench-shell .primary-button{background:var(--accent);color:#182313}.workbench-shell .secondary-button{border-color:rgba(185,231,105,.38);color:var(--accent)}.workbench-shell .secondary-button:hover:not(:disabled){border-color:rgba(185,231,105,.7);background:rgba(185,231,105,.09)}.workbench-shell .product-advanced-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:8px}.workbench-shell .product-advanced-filters input,.workbench-shell .product-advanced-filters select{min-height:42px}.workbench-shell .product-table-panel{min-width:0;margin-top:18px;padding:0;overflow-x:auto;overscroll-behavior-x:contain}.workbench-shell .product-table{grid-template-columns:40px minmax(230px,1.7fr) minmax(130px,.9fr) minmax(152px,1fr) 92px 92px minmax(220px,1.45fr) 116px minmax(220px,1.35fr);gap:16px;min-width:1100px;padding:16px 18px}.workbench-shell .product-header{position:sticky;top:0;z-index:1;border-bottom:1px solid rgba(49,64,56,.85);background:#1d2923;color:#9caf9f;font-family:var(--font-mono);font-size:10px;letter-spacing:.04em}.workbench-shell .product-line{min-height:88px;border-top-color:rgba(49,64,56,.72);background:rgba(22,31,27,.84)}.workbench-shell .product-line:hover{background:rgba(35,49,41,.92)}.workbench-shell .product-margin-cell,.workbench-shell .product-score-cell,.workbench-shell .product-signal-cell,.workbench-shell .product-status,.workbench-shell .product-supplier-cell{min-width:0}.workbench-shell .product-supplier-cell{overflow:hidden;color:#c3d0c8;text-overflow:ellipsis;white-space:nowrap}.workbench-shell .product-money-cell,.workbench-shell .product-signal-cell{display:grid;gap:6px}.workbench-shell .product-money-cell>span,.workbench-shell .product-signal-cell>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;min-width:0}.workbench-shell .product-money-cell small,.workbench-shell .product-signal-cell small{color:var(--muted);font-family:var(--font-mono);font-size:9px;letter-spacing:.03em}.workbench-shell .product-money-cell strong{color:var(--flax);font-family:var(--font-mono);font-size:11px}.workbench-shell .product-margin-cell{color:var(--accent);font-family:var(--font-mono);font-size:12px}.workbench-shell .product-score-cell strong{color:var(--flax);font-family:var(--font-mono);font-size:17px}.workbench-shell .product-signal-cell{color:#c3d0c8;font-size:11px;line-height:1.35}.workbench-shell .product-signal-cell .product-similarity-high,.workbench-shell .product-signal-cell .product-similarity-high small:last-child{color:var(--clay)}.workbench-shell .product-actions{min-width:0;gap:6px}.workbench-shell .product-actions .danger-button,.workbench-shell .product-actions .secondary-button{min-height:32px;padding:0 9px;font-size:10px}.workbench-shell .product-empty-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:170px;padding:30px 24px;background:linear-gradient(110deg,rgba(185,231,105,.055),transparent 55%)}.workbench-shell .empty-mark{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(185,231,105,.45);border-radius:50%;color:var(--accent);font-size:21px}.workbench-shell .product-empty-state h3{margin:8px 0 5px;color:var(--flax);font-size:19px}.workbench-shell .product-empty-state p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.workbench-shell .empty-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}@media (max-width:1100px){.workbench-shell .product-filter-fields{grid-template-columns:minmax(0,1fr) repeat(2,minmax(132px,.8fr))}.workbench-shell .product-filter-fields>:first-child{grid-column:1/-1}}@media (max-width:820px){.workbench-shell .product-table-panel{overflow-x:visible}.workbench-shell .product-header{display:none}.workbench-shell .product-line{grid-template-columns:28px minmax(0,1fr) auto;gap:10px 12px;min-width:0;min-height:0;padding:17px 16px}.workbench-shell .product-line>.product-select-cell{grid-column:1;grid-row:1/span 5;align-self:start}.workbench-shell .product-line>.product-name-cell{grid-column:2;grid-row:1}.workbench-shell .product-line>.product-supplier-cell{grid-column:2;grid-row:2}.workbench-shell .product-line>.product-money-cell{grid-column:2;grid-row:3}.workbench-shell .product-line>.product-margin-cell{grid-column:3;grid-row:3}.workbench-shell .product-line>.product-score-cell{grid-column:3;grid-row:1;justify-items:end}.workbench-shell .product-line>.product-signal-cell{grid-column:2/-1;grid-row:4;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:4px;border-top:1px solid rgba(49,64,56,.65)}.workbench-shell .product-line>.product-status{grid-column:3;grid-row:2;justify-self:end}.workbench-shell .product-line>.product-actions{grid-column:2/-1;grid-row:5;justify-content:flex-start;padding-top:4px;border-top:1px solid rgba(49,64,56,.65)}}@media (max-width:720px){.workbench-shell .sidebar{width:100%;min-height:0;padding:18px 16px 14px;border-right:0;border-bottom:1px solid rgba(49,64,56,.9)}.workbench-shell .sidebar h1{margin:6px 0 16px;font-size:21px}.workbench-shell .sidebar nav{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.workbench-shell .sidebar nav::-webkit-scrollbar{display:none}.workbench-shell .sidebar nav a{flex:0 0 auto;min-height:40px;padding:10px 13px}.workbench-shell .content{padding:26px 16px 48px}.workbench-shell .topbar{gap:18px}.workbench-shell .product-top-actions{justify-content:space-between}.workbench-shell .product-top-actions .primary-button{flex:1 1 auto;text-align:center}.workbench-shell .product-advanced-filters,.workbench-shell .product-filter-fields{grid-template-columns:1fr}.workbench-shell .product-filter-fields>:first-child{grid-column:auto}.workbench-shell .product-filter-actions>*{flex:1 1 160px;text-align:center}.workbench-shell .product-empty-state{grid-template-columns:1fr;justify-items:center;padding:30px 20px;text-align:center}.workbench-shell .empty-actions{width:100%;justify-content:center}.workbench-shell .empty-actions>*{flex:1 1 140px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}