:root{--ink:#182b3b;--ink-2:#3e5264;--muted:#647789;--line:#dce4e8;--surface:#fff;--canvas:#f5f7f8;--navy:#173849;--navy-deep:#102b39;--teal:#137866;--teal-pale:#e7f5f0;--amber:#9b6214;--amber-pale:#fff4db;--red:#ad4841;--red-pale:#fff0ed;--shadow:0 12px 38px rgba(17,41,57,.08);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;font-size:15px;line-height:1.5}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.48}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #e8a539;outline-offset:2px}
svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.shell{min-height:100vh;display:grid;grid-template-columns:256px minmax(0,1fr)}
.sidebar{background:var(--navy-deep);color:#d9e7ea;display:flex;flex-direction:column;min-height:100vh;padding:27px 17px 19px;position:sticky;top:0;height:100vh;z-index:20}
.brand{display:flex;align-items:center;gap:12px;padding:0 13px 24px;text-decoration:none;color:#fff}
.brand-mark{width:37px;height:37px;border-radius:11px;background:#e4ad55;display:grid;place-items:center;position:relative;box-shadow:inset 0 -3px 0 rgba(33,52,60,.15)}
.brand-mark::before,.brand-mark::after{content:"";position:absolute;background:#153543;border-radius:2px}
.brand-mark::before{width:15px;height:15px;left:8px;top:8px}
.brand-mark::after{width:8px;height:8px;right:7px;bottom:7px;background:#fff8df}
.brand-home{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent}
.brand-home:hover{background:#244553}
.brand-copy strong{display:block;font-size:18px;line-height:1.1;letter-spacing:.05em;color:#fff}
.brand-copy small{display:block;font-size:10px;letter-spacing:.19em;color:#99b1b7;margin-top:5px}
.side-section-title{font-size:12px;font-weight:700;letter-spacing:.13em;color:#81a2ab;margin:27px 13px 10px}
.side-nav{display:grid;gap:5px}
.side-link,.order-link{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#bfd2d6;border-radius:11px;text-align:left;padding:11px 13px;min-height:43px}
.side-link svg{width:17px;height:17px}
.side-link.active,.side-link:hover,.order-link.active,.order-link:hover{background:#244553;color:#fff}
.side-link span,.order-link span{flex:1}
.nav-count{min-width:24px;padding:2px 6px;border-radius:7px;background:#365666;color:#d9e9ed;text-align:center;font-size:12px}
.order-link{align-items:flex-start;gap:10px;padding:10px 12px}
.order-dot{width:7px;height:7px;background:#e1aa56;border-radius:50%;margin-top:7px;flex:none}
.order-link span{font-size:12px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-link small{display:block;color:#96b1b9;font-size:11px;margin-top:3px}
.side-empty{font-size:12px;line-height:1.6;color:#9db4ba;padding:0 13px}
.sidebar-bottom{margin-top:auto;padding:15px 12px 0;border-top:1px solid #36505a}
.sidebar-bottom p{margin:0 0 12px;font-size:12px;line-height:1.55;color:#a9c1c5}
.sidebar-bottom button{border:0;padding:0;color:#d9e7ea;background:none;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.main{min-width:0}
.topbar{height:72px;background:rgba(255,255,255,.8);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,3vw,48px);gap:15px;backdrop-filter:blur(12px)}
.topbar-left{display:flex;align-items:center;gap:14px;min-width:0}
.breadcrumb{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.breadcrumb strong{color:var(--ink-2);font-weight:600}
.topbar-actions{display:flex;align-items:center;gap:10px}
.demo-pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid #ead8ad;background:#fff8e7;color:#87601b;padding:7px 11px;border-radius:999px;font-weight:700;font-size:12px}
.demo-pill::before{content:"";width:6px;height:6px;background:#e4a52f;border-radius:50%}
.icon-button.menu-button{display:none}
.content{max-width:1500px;margin:auto;padding:35px clamp(22px,3vw,48px) 76px}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:23px}
.eyebrow{margin:0 0 7px;color:var(--teal);font-size:12px;font-weight:800;letter-spacing:.14em}
h1,h2,h3,p{overflow-wrap:anywhere}
h1{font-size:clamp(26px,2.3vw,36px);line-height:1.22;letter-spacing:-.035em;margin:0 0 9px;font-weight:750}
h2{font-size:21px;line-height:1.3;margin:0}
h3{font-size:15px;line-height:1.35;margin:0}
.subline{color:var(--muted);font-size:13px;margin:0;line-height:1.65}
.head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.button{border-radius:10px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:9px 14px;font-weight:700;font-size:12px;white-space:nowrap;transition:background .18s,border-color .18s,transform .18s,color .18s}
.button:not(:disabled):hover{transform:translateY(-1px)}
.button-primary{background:var(--navy);color:#fff}
.button-primary:hover{background:#24536a}
.button-accent{background:var(--teal);color:#fff}
.button-accent:hover{background:#0b6554}
.button-secondary{background:#fff;color:var(--navy);border-color:#c9d7dd}
.button-secondary:hover{background:#f0f6f7}
.button-ghost{background:transparent;color:var(--ink-2)}
.button-ghost:hover{background:#edf2f4}
.button-danger{background:var(--red-pale);color:var(--red);border-color:#f2c9c4}
.button svg{width:16px;height:16px}
.icon-button{width:38px;height:38px;border:0;background:transparent;color:var(--muted);border-radius:9px;display:grid;place-items:center}
.icon-button:hover{background:#eef3f5;color:var(--ink)}
.notice{display:flex;gap:12px;align-items:flex-start;background:#fff9e9;border:1px solid #f0dfa9;border-radius:12px;padding:14px 17px;margin-bottom:23px;color:#72551d}
.notice svg{margin-top:1px;color:#a77716}
.notice strong{font-size:12px}
.notice span{font-size:12px;line-height:1.65}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:25px}
.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 18px;min-width:0}
.metric-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:700;margin-bottom:13px}
.metric-label svg{width:16px;height:16px;color:#76949e}
.metric-value{font-size:23px;font-weight:750;letter-spacing:-.035em;color:var(--ink);line-height:1.2}
.metric-value small{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:0}
.metric-foot{font-size:12px;color:#7b8e9a;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tabs{display:flex;gap:3px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{border:0;background:none;color:#687d89;white-space:nowrap;padding:13px 18px 15px;font-size:13px;font-weight:700;position:relative}
.tab:hover{color:var(--ink)}
.tab.active{color:var(--teal)}
.tab.active::after{content:"";position:absolute;bottom:0;left:17px;right:17px;height:3px;border-radius:3px 3px 0 0;background:var(--teal)}
.tab-count{font-size:11px;display:inline-grid;place-items:center;min-width:21px;height:20px;margin-left:6px;background:#edf3f4;border-radius:6px;color:#637d86}
.tab.active .tab-count{background:#dff0ea;color:var(--teal)}
.section-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px}
.section-top h2{font-size:19px}
.section-top p{margin:5px 0 0;font-size:12px;color:var(--muted)}
.section-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:10px;min-width:0}
.toolbar-right{justify-content:flex-end}
.search-input{position:relative}
.search-input svg{position:absolute;left:12px;top:11px;width:16px;height:16px;color:#8297a1}
.search-input input{width:236px;max-width:100%;height:39px;padding:8px 12px 8px 37px;border:1px solid var(--line);border-radius:9px;background:#fff;outline:none;color:var(--ink)}
.search-input input:focus{border-color:var(--teal)}
.control-select{height:39px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 27px 0 10px;color:var(--ink-2);font-size:12px;max-width:170px}
.small-check{display:flex;align-items:center;gap:8px;color:var(--ink-2);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.small-check input,.product-check input{accent-color:var(--teal);width:17px;height:17px;margin:0;cursor:pointer}
.small-check input:disabled,.product-check input:disabled{cursor:not-allowed}
.selection-bar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:12px;border-radius:11px;background:#e6f3ef;border:1px solid #c8e5db;box-shadow:0 3px 8px rgba(16,50,43,.08);color:#116b59;padding:10px 14px;margin-bottom:14px;font-size:12px;font-weight:700}
.selection-bar .button{min-height:35px;padding:7px 11px}
.product-list{display:grid;gap:11px}
.product-card{display:grid;grid-template-columns:24px 118px minmax(0,1fr) auto;gap:17px;align-items:center;padding:15px 17px;background:#fff;border:1px solid var(--line);border-radius:14px;transition:border-color .18s,box-shadow .18s}
.product-card:hover{border-color:#bbd4d4;box-shadow:0 6px 18px rgba(25,60,68,.045)}
.product-card.selected{border-color:#71b9a6;background:#fbfefd}
.product-check{align-self:flex-start;padding-top:6px}
.product-art{height:108px;width:118px;border-radius:10px;background:linear-gradient(140deg,#edf3f2,#dae5e3);position:relative;display:grid;place-items:center;overflow:hidden}
.product-art::after{content:"模拟图片";position:absolute;left:7px;bottom:6px;color:#536b72;font-size:10px;font-weight:700;opacity:.78}
.product-art svg{width:81px;height:84px;stroke:#4c646d;stroke-width:2;fill:none}
.product-art.alt-1{background:linear-gradient(140deg,#e8eff2,#d4e2e8)}
.product-art.alt-2{background:linear-gradient(140deg,#eff0e6,#e1e4d5)}
.product-art.alt-3{background:linear-gradient(140deg,#f1ece8,#e9ddd4)}
.product-art.alt-4{background:linear-gradient(140deg,#e9e7f0,#dcd9e8)}
.product-art.alt-5{background:linear-gradient(140deg,#e9f0ec,#d8e4dc)}
.product-body{min-width:0}
.product-overline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:5px}
.source-label{font-size:11px;font-weight:800;letter-spacing:.08em;color:#627988}
.status-chip{font-size:11px;font-weight:800;padding:3px 7px;border-radius:6px}
.status-good{color:#13765f;background:var(--teal-pale)}
.status-check{color:#a06b18;background:var(--amber-pale)}
.status-bad{color:#aa4b42;background:var(--red-pale)}
.product-title{font-size:15px;font-weight:750;margin:0 0 8px;line-height:1.35}
.product-meta{display:flex;gap:13px 17px;flex-wrap:wrap;color:#647886;font-size:12px}
.product-meta span{display:inline-flex;align-items:center;gap:5px}
.product-meta svg{width:13px;height:13px}
.product-reason{margin-top:8px;color:#758b95;font-size:12px}
.product-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:118px}
.price{font-size:23px;line-height:1;font-weight:800;color:var(--ink);letter-spacing:-.04em;white-space:nowrap}
.price small{font-size:12px;font-weight:600;margin-right:1px}
.seller{font-size:12px;color:var(--muted);white-space:nowrap}
.text-button{padding:0;border:0;background:none;color:var(--teal);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.text-button:hover{color:#095647}
.empty-state{background:#fff;border:1px dashed #cbd8dc;border-radius:14px;padding:46px 18px;text-align:center;color:var(--muted)}
.empty-state svg{width:25px;height:25px;color:#87a4a9;margin-bottom:10px}
.empty-state h3{color:var(--ink);margin-bottom:5px}
.empty-state p{font-size:12px;margin:0 0 16px}
.task-list{display:grid;gap:10px}
.task-row{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px 19px;display:grid;grid-template-columns:minmax(0,1fr) 115px 96px auto;gap:16px;align-items:center}
.task-row:hover{border-color:#b9d0d3}
.task-title{font-weight:750;font-size:14px;margin:0 0 5px}
.task-sub{color:var(--muted);font-size:12px}
.task-step{display:flex;align-items:center;gap:7px;color:var(--ink-2);font-size:12px}
.task-step svg{width:15px;height:15px;color:#8da2a9}
.task-status{font-size:12px;font-weight:750;white-space:nowrap}
.task-status.waiting{color:#93661c}
.task-status.recorded{color:var(--teal)}
.task-status.ready{color:#536f8c}
.task-cta{white-space:nowrap}
.timeline{display:grid;gap:13px}
.timeline-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.timeline-top{display:flex;justify-content:space-between;gap:15px;align-items:center}
.timeline-top h3{font-size:14px}
.timeline-top small{color:var(--muted)}
.timeline-preview{font-size:12px;color:var(--ink-2);margin:11px 0 0;padding-left:12px;border-left:2px solid #bedbd2}
.archive-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:14px}
.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}
.panel h3{font-size:14px;margin-bottom:15px}
.criteria-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.criteria-item small{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}
.criteria-item strong{font-size:12px;font-weight:700}
.task-conditions{margin-bottom:24px}
.task-conditions h2{font-size:16px;margin:0 0 12px}
.task-conditions .criteria-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px}
.task-conditions .criteria-item{min-width:0}
.task-conditions .criteria-item small{font-size:13px;margin-bottom:2px}
.task-conditions .criteria-item strong{font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.sort-buttons{flex-wrap:wrap}
.tab[data-tab="invalid"]{cursor:help}
@media(max-width:900px){.task-conditions .criteria-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.task-conditions .criteria-grid{grid-template-columns:1fr}.task-conditions{padding:18px}.sort-buttons{display:flex;gap:8px}.sort-button{min-height:44px}}
.archive-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.archive-caption{color:var(--muted);font-size:12px;line-height:1.6;margin-top:12px}
.archive-list{display:grid;gap:12px}
.archive-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.archive-card h3{margin-bottom:6px}
.archive-card p{margin:0;color:var(--muted);font-size:12px}
.rule-list{display:grid;gap:10px;margin:0;padding-left:19px;color:var(--ink-2);font-size:12px}
.rule-list li::marker{color:var(--teal)}
.drawer-overlay{position:fixed;inset:0;background:rgba(13,31,43,.37);z-index:39}
.task-drawer{position:fixed;right:0;top:0;bottom:0;width:min(480px,100vw);background:#fff;z-index:40;box-shadow:-20px 0 65px rgba(15,39,48,.18);overflow:auto;transform:translateX(105%);transition:transform .24s ease;visibility:hidden}
.task-drawer.open{transform:translateX(0);visibility:visible}
.drawer-head{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:20px 23px 16px;z-index:2}
.drawer-head-row{display:flex;justify-content:space-between;gap:16px}
.drawer-head h2{font-size:19px;margin-top:3px}
.drawer-product{font-size:12px;color:var(--muted);margin-top:5px}
.drawer-body{padding:20px 23px 110px}
.drawer-section{margin-bottom:22px}
.drawer-section h3{font-size:13px;margin-bottom:11px}
.question-list{display:grid;gap:8px}
.question{background:#f4f7f7;padding:10px 12px;border-radius:9px;font-size:12px;color:var(--ink-2)}
.chat-box{border:1px solid var(--line);border-radius:12px;background:#fafbfb;padding:14px;display:grid;gap:12px;min-height:132px}
.chat-empty{display:grid;place-items:center;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}
.bubble-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.bubble-wrap.buyer{align-items:flex-end}
.bubble{max-width:88%;border-radius:12px 12px 12px 3px;background:#eaf1f2;padding:10px 12px;color:var(--ink-2);font-size:12px;line-height:1.6;white-space:pre-wrap}
.buyer .bubble{background:#e0f1eb;border-radius:12px 12px 3px 12px;color:#1e5d50}
.bubble-wrap small{color:#95a3aa;font-size:11px}
.drawer-field{display:grid;gap:6px;margin-bottom:11px}
.drawer-field label{font-weight:700;color:var(--ink-2);font-size:12px}
.drawer-field input,.drawer-field select,.drawer-field textarea{width:100%;border:1px solid #d5e0e4;border-radius:9px;background:#fff;padding:9px 11px;min-height:40px;color:var(--ink);font-size:12px}
.drawer-field textarea{min-height:72px;resize:vertical}
.drawer-help{font-size:12px;color:var(--muted);line-height:1.6}
.drawer-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:14px 23px;display:flex;gap:8px;z-index:2}
.drawer-actions .button{flex:1}
.order-dialog{border:0;border-radius:18px;padding:0;width:min(690px,calc(100vw - 22px));max-height:min(92vh,940px);box-shadow:0 25px 80px rgba(10,31,42,.25)}
.order-dialog::backdrop{background:rgba(10,29,41,.5)}
.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 28px 17px;border-bottom:1px solid var(--line)}
.dialog-head h2{font-size:22px}
.dialog-body{padding:21px 28px;max-height:calc(92vh - 165px);overflow:auto}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 13px}
.field{min-width:0}
.field-wide{grid-column:1/-1}
.field label{display:block;font-size:12px;color:var(--ink-2);font-weight:750;margin-bottom:7px}
.field input,.field select{width:100%;min-height:41px;border:1px solid #cbd9de;border-radius:9px;background:#fff;color:var(--ink);padding:9px 10px;outline:none;font-size:13px}
.field input:focus,.field select:focus{border-color:#1b8c75;box-shadow:0 0 0 3px rgba(19,120,102,.11)}
.field small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.required{color:#b7534a}
.field-heading{font-size:12px;font-weight:750;color:var(--ink-2);padding-top:2px;margin-bottom:-8px}
.field-heading span{font-size:11px;color:var(--muted);font-weight:400;margin-left:8px}
.form-note{display:flex;gap:7px;align-items:flex-start;margin:20px 0 0;color:#85641c;background:#fff8e6;border-radius:8px;padding:10px 11px;font-size:12px}
.form-note svg{width:14px;height:14px;margin-top:1px}
.form-error{font-size:12px;color:var(--red);margin:9px 0 0}
.dialog-footer{border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;padding:14px 28px}
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,15px);background:var(--navy-deep);color:#fff;border-radius:10px;box-shadow:var(--shadow);padding:11px 15px;font-size:12px;z-index:70;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(90vw,450px);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}
.mobile-scrim{display:none}
@media(max-width:1120px){.shell{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.content{padding-left:24px;padding-right:24px}.topbar{padding-left:24px;padding-right:24px}.product-card{grid-template-columns:22px 100px minmax(0,1fr) auto;gap:13px}.product-art{width:100px}.product-side{min-width:90px}.product-meta{gap:8px 12px}.task-row{grid-template-columns:minmax(0,1fr) 90px auto}.task-step{display:none}}
@media(max-width:900px){.shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:256px;transform:translateX(-105%);transition:transform .22s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.mobile-scrim.show{display:block;position:fixed;inset:0;background:rgba(11,35,47,.45);z-index:19}.icon-button.menu-button{display:grid}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-layout{grid-template-columns:1fr}}
@media(max-width:680px){body{font-size:14px}.topbar{height:61px;padding:0 16px}.demo-pill{padding:6px 8px;font-size:11px}.topbar-actions>.button{display:none}.content{padding:24px 15px 58px}.page-head{display:block;margin-bottom:17px}.page-head h1{font-size:26px}.head-actions{justify-content:flex-start;margin-top:13px}.notice{padding:11px 12px;margin-bottom:17px}.notice span{font-size:12px}.metrics{gap:8px;margin-bottom:18px}.metric{padding:13px}.metric-label{margin-bottom:8px}.metric-value{font-size:19px}.metric-foot{font-size:11px}.tabs{margin:0 -15px 19px;padding-left:10px}.tab{padding:12px 10px 14px;font-size:12px}.tab.active::after{left:10px;right:10px}.toolbar{display:block}.toolbar-left{margin-bottom:10px}.toolbar-right{justify-content:space-between}.search-input{flex:1}.search-input input{width:100%}.control-select{min-width:118px}.product-card{grid-template-columns:22px 78px minmax(0,1fr);gap:10px;align-items:start;padding:12px}.product-art{width:78px;height:88px}.product-art svg{width:62px;height:66px}.product-title{font-size:13px}.product-meta{font-size:11px;gap:5px 9px}.product-side{grid-column:3;min-width:0;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;margin-top:-2px}.price{font-size:19px}.seller{display:none}.product-side .button{min-height:31px;padding:5px 9px;font-size:11px}.product-reason{font-size:11px}.source-label,.status-chip{font-size:10px}.selection-bar{display:block}.selection-bar .button{margin-top:8px}.task-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:13px}.task-row .task-status{grid-column:1}.task-cta{grid-row:1/3;grid-column:2}.timeline-item{padding:14px}.archive-card{display:block}.archive-card .button{margin-top:12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field-wide{grid-column:1/-1}.dialog-head{padding:18px 18px 14px}.dialog-body{padding:16px 18px}.dialog-footer{padding:12px 18px}.drawer-head{padding:16px}.drawer-body{padding:16px 16px 95px}.drawer-actions{padding:12px 16px}}
@media(max-width:390px){.form-grid{grid-template-columns:1fr}.field-wide{grid-column:1}.head-actions .button{font-size:12px;padding:8px 10px}.product-card{grid-template-columns:20px 68px minmax(0,1fr);gap:8px}.product-art{width:68px;height:79px}.product-art svg{width:53px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important}}
.button,.side-link,.order-link,.tab{min-height:44px}
.icon-button{width:44px;height:44px}
.search-input input,.control-select{height:44px}
.search-input svg{top:14px}
.product-check{min-height:44px;display:flex;align-items:flex-start}
@media(max-width:680px){.product-side .button{min-height:44px}}
.source-card{border:1px solid #cfe0e3;background:#f8fbfb;border-radius:11px;padding:13px;margin-bottom:15px}
.source-card-top{display:flex;align-items:flex-start;gap:9px}
.source-card-top>svg{color:var(--teal);margin-top:1px}
.source-card-top strong,.source-photo-head strong{display:block;font-size:12px;color:var(--ink)}
.source-card-top small,.source-photo-head small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.source-link{display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-size:12px;font-weight:750;text-underline-offset:3px;margin:10px 0 0 27px;word-break:break-all}
.source-link svg{width:14px;height:14px}
.source-photo-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
.source-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.source-gallery>button{display:block;width:100%;padding:0;cursor:zoom-in;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#f1f4f4;aspect-ratio:1.5}
.source-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.source-placeholder{display:flex;align-items:center;gap:12px;border:1px dashed #cfdbdf;border-radius:10px;padding:10px;width:100%;grid-column:1/-1;color:var(--muted);font-size:12px}
.source-placeholder .product-art{width:84px;height:72px;flex:none}
.source-placeholder .product-art svg{width:58px;height:60px}
.source-entry{margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}
.source-entry .button{width:100%}
.source-entry .drawer-help{margin:9px 0 0}
.photo-art img{width:100%;height:100%;object-fit:cover}
.photo-art::after{display:none}
.photo-art small{position:absolute;left:5px;bottom:5px;background:rgba(16,43,57,.78);color:#fff;padding:2px 5px;border-radius:4px;font-size:10px}
.source-upload{margin-top:15px}
.source-upload input[type=file]{padding:8px;min-height:45px;cursor:pointer}
.source-upload input[type=file]::file-selector-button{border:1px solid #c9d7dd;border-radius:7px;background:#fff;color:var(--navy);padding:6px 9px;margin-right:8px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.button{text-decoration:none}
.field textarea{width:100%;border:1px solid #cbd9de;border-radius:9px;padding:10px;font:inherit;font-size:13px;color:var(--ink);resize:vertical}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:28px 16px;background:radial-gradient(ellipse at 15% 10%,#dcece6 0,transparent 45%),var(--canvas)}
.login-card{width:min(100%,440px);background:#fff;border:1px solid var(--line);border-radius:20px;padding:36px;box-shadow:var(--shadow)}
.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:30px;font-size:20px}
.login-card h1{font-size:27px;margin-bottom:12px}
.login-card form{margin-top:25px}.login-card .button{width:100%}.login-card .drawer-field input{font-size:15px;min-height:46px}
.login-lock{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:24px;border-top:1px solid var(--line);padding-top:17px;font-size:12px;color:var(--muted)}
.login-lock svg{width:14px;height:14px}
.password-panel{max-width:480px;width:100%}.password-panel form{margin-top:23px}.password-panel h2{margin-bottom:10px}
.chat-lock{display:flex;align-items:center;gap:7px;color:#e5c891;font-size:12px;margin-bottom:13px}
.chat-lock svg{width:15px;height:15px}.sync-state{display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-size:12px;font-weight:700;white-space:nowrap}
.sync-state svg{width:14px;height:14px}
.welcome{max-width:850px;padding-top:35px}.welcome h1{font-size:42px;line-height:1.3;letter-spacing:-.04em;margin-bottom:18px}
.welcome>.subline{max-width:550px;font-size:15px;line-height:1.9}.welcome>.button{margin-top:25px}
.welcome-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:40px 0 25px}.welcome-steps>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}
.welcome-steps b{display:block;font-size:12px;color:var(--teal);letter-spacing:.1em;margin-bottom:18px}.welcome-steps strong{display:block;font-size:15px}.welcome-steps p{font-size:12px;color:var(--muted);margin:7px 0 0}
.search-guide{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#edf5f2;border:1px solid #d4e6df;border-radius:12px;padding:15px 17px;margin-bottom:20px}
.search-guide>div{display:flex;align-items:flex-start;gap:10px}.search-guide>div>svg{margin-top:2px;color:var(--teal)}
.search-guide strong{font-size:12px;color:#246353}.search-guide p{font-size:12px;color:#5b7c74;margin:4px 0 0;max-width:550px}.search-guide .button{flex:none;background:#fff}
.no-photo{display:flex;flex-direction:column;gap:9px;color:#7e919a}.no-photo svg{width:27px;height:27px;stroke-width:1.5}.no-photo span{font-size:11px}.no-photo::after{display:none}
.locked-panel{display:flex;gap:11px;background:#fff8e9;border:1px solid #eee0bc;border-radius:10px;padding:15px;margin-top:24px;color:#8c6b28}.locked-panel>svg{margin-top:2px}.locked-panel strong{font-size:12px}.locked-panel p{font-size:12px;margin:5px 0 0;line-height:1.7}
.remote-photo-row{display:flex;gap:7px;align-items:center;margin:10px 0 14px}.remote-photo-row input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;height:44px;padding:9px;font-size:12px}.remote-photo-row .button{font-size:12px;padding:8px}
.source-placeholder{min-height:105px;justify-content:center;flex-direction:column}.source-placeholder>svg{width:26px;height:26px;color:#8ca4aa}
.drawer-field small{font-size:11px;color:var(--muted)}
.collection-panel{background:#edf5f2;border:1px solid #cde1d8;border-radius:14px;padding:22px;margin-bottom:28px}
.collection-title{display:flex;align-items:flex-start;gap:13px}.collection-title .eyebrow{margin:0 0 5px}.collection-title h2{font-size:20px;margin:0 0 7px}.collection-title p:last-child{font-size:12px;color:#57736b;margin:0;line-height:1.8}.collection-emblem{display:grid;place-items:center;flex:none;width:43px;height:43px;background:#dcebe4;border-radius:12px;color:var(--teal)}.collection-emblem svg{width:21px;height:21px}
.connection-dot{margin-left:auto;white-space:nowrap;color:#8a692c;font-size:12px;padding:6px 9px;background:#fff6e4;border-radius:20px;display:flex;align-items:center;gap:6px}.connection-dot::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.connection-dot.connected{color:#1f6d58;background:#dceee4}
.collection-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0;padding:17px 0;border-top:1px solid #d7e4dd;border-bottom:1px solid #d7e4dd}.collection-facts small{display:block;color:#657c74;font-size:12px;margin-bottom:7px}.collection-facts strong{display:block;font-size:13px;color:#234a3e;font-weight:650}.collection-facts select{font:inherit;font-size:12px;min-height:36px;padding:7px 28px 7px 10px;border:1px solid #c6d7cf;border-radius:8px;background:#fff;color:#234a3e}
.collection-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.collection-actions .button{font-size:12px}.collection-note{font-size:12px;color:#698277;line-height:1.9;margin:15px 0 0}.is-running .collection-emblem{outline:2px solid #79b6a1;outline-offset:3px}
.updates-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.update-card{background:#fff;border:1px solid var(--line);padding:20px;border-radius:12px;margin-bottom:12px}.update-top{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:13px}.update-top time,.run-card time{font-size:12px;color:var(--muted)}.update-tag{background:#e8f1ec;color:var(--teal);font-size:12px;padding:4px 7px;border-radius:5px;font-weight:650}.update-card h3{font-size:14px;margin:0 0 10px;line-height:1.7}.update-card>p{font-size:12px;color:var(--muted);line-height:1.8}.update-card .text-button{display:flex;align-items:center;gap:5px;font-size:12px;margin-top:13px}.change-list{padding:0;margin:0;list-style:none}.change-list li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;border-top:1px solid #edf1f0;padding:9px 0;font-size:12px;line-height:1.8}.change-list li strong{font-weight:650;color:#415d51}.change-list li span{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;color:#637268}.run-history{background:#f2f5f3;padding:18px;border-radius:12px}.run-history h3{font-size:14px;margin:0 0 14px}.run-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:12px;margin-bottom:9px}.run-card summary{cursor:pointer;line-height:1.9}.run-card summary time{display:block;padding-left:15px}.run-state{font-size:12px;color:#8b6a2c}.run-state.ok{color:var(--teal)}.run-card p{font-size:12px;line-height:1.8;color:#63736a;margin:9px 0 0;word-break:break-word}.run-card .run-warning{color:#926c27}.run-counts{font-size:12px;line-height:1.9;margin-top:9px;color:#607869}.run-counts b{color:var(--teal)}.source-settings{margin-bottom:18px}.source-settings h2{font-size:21px;margin-bottom:12px}.source-settings .drawer-help{margin:18px 0 0;line-height:1.9}
.collector-dialog{width:min(1100px,calc(100vw - 24px));max-height:94vh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:#fff}.collector-dialog::backdrop{background:rgba(11,35,47,.5)}.collector-dialog .dialog-head{position:sticky;top:0;background:#fff;z-index:1}.collector-dialog .dialog-footer{position:sticky;bottom:0;background:#fff;z-index:1;flex-wrap:wrap}.login-screen{position:relative;display:flex;align-items:center;justify-content:center;min-height:180px;background:#f5f7f6;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:14px 0}.login-screen img{display:block;width:100%;height:auto;touch-action:none;user-select:none;cursor:pointer}.login-screen img[hidden]{display:none}.login-screen>span{font-size:12px;color:var(--muted);padding:25px}.collector-dialog .drawer-help{font-size:12px;line-height:1.8}.drawer-update{border-left:2px solid #b6d6c7;padding:0 0 0 12px;margin:14px 0 20px}.drawer-update small{font-size:12px;color:var(--teal)}.drawer-update p{font-size:12px;color:#63736a;line-height:1.8;max-height:160px;overflow:auto;white-space:pre-wrap;word-break:break-word}
@media(max-width:1160px){.updates-layout{grid-template-columns:minmax(0,1fr) 260px}.connection-dot{display:none}}
@media(max-width:760px){.collection-panel{padding:17px}.collection-title h2{font-size:18px}.collection-facts{gap:15px;grid-template-columns:repeat(2,minmax(0,1fr))}.collection-facts>div:last-child{grid-column:1/-1}.collection-facts select{min-height:44px}.collection-actions .button{font-size:12px;padding:8px 11px}.updates-layout{grid-template-columns:1fr}.collection-emblem{width:36px;height:36px}.collection-note{font-size:12px}.update-card{padding:16px}.tabs{overflow-x:auto;white-space:nowrap}.tab{flex:none}.collector-dialog .dialog-body{padding:15px}.collector-dialog .dialog-head{padding:16px}.collector-dialog h2{font-size:19px}}
@media(max-width:680px){.welcome{padding-top:10px}.welcome h1{font-size:32px}.welcome-steps{grid-template-columns:1fr;gap:9px;margin:28px 0 20px}.welcome-steps>div{padding:16px}.welcome-steps b{float:left;margin:3px 16px 0 0}.welcome-steps p{margin-left:34px}.search-guide{display:block;padding:13px}.search-guide .button{margin-top:12px}.login-card{padding:27px 22px}.source-photo-head{display:block}.search-guide p{font-size:12px}.password-panel{padding:18px}}
/* Source freshness, evidence and private service settings. */
.collection-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
.collection-facts label{display:block;font-size:12px;color:var(--muted,#5d707c);margin-bottom:7px}
.collection-facts input{width:108px;min-height:38px;border:1px solid var(--line,#d7e1e5);border-radius:7px;padding:7px 10px;background:#fff;color:inherit}
.freshness-summary{font-size:12px;color:#44636b;margin:14px 0 0;line-height:1.7}
.freshness-row{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:12px;line-height:1.6;margin-top:7px;color:#627580}
.freshness-row>span:first-child,.freshness-row>strong{font-weight:600;color:#9b5c14}
.freshness-row.ok>span:first-child,.freshness-row.ok>strong{color:#087969}
.settings-layout{align-items:start}
.settings-panel{margin-bottom:20px}
.settings-panel h2{font-size:21px;margin-bottom:9px}
.settings-panel form{margin-top:22px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.checkbox-field{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;line-height:1.6;margin:4px 0 12px;color:#294653}
.checkbox-field input{width:16px;height:16px;flex:none;accent-color:#087969}
.settings-grid>.checkbox-field{grid-column:1/-1}
.notice-history{border-top:1px solid #e1e8ec;margin-top:20px;padding-top:8px}
.notice-history p{font-size:12px;line-height:1.8;color:#5b6e79;overflow-wrap:anywhere}
.spec-panel h3{margin-top:7px}
.spec-quote{display:block;font-size:12px;line-height:1.8;color:#627580;margin-top:8px}
.spec-fact{padding:13px 0;border-bottom:1px solid #e1e8ec}
.spec-fact>strong,.spec-fact>span{display:block;font-size:13px;line-height:1.8}
.spec-fact>span{font-size:12px;color:#5b6e79}
.spec-fact blockquote{border-left:3px solid #d5e6df;margin:9px 0;padding:6px 10px;font-size:12px;line-height:1.8;overflow-wrap:anywhere;background:#f4f8f6}
.spec-fact a{font-size:12px;color:#087969}
.spec-adopt{margin:16px 0}
.attention-dialog{width:min(520px,calc(100vw - 24px));border:1px solid #dbe4e8;border-radius:14px;padding:0;color:#173442}
.attention-dialog::backdrop{background:rgba(17,39,50,.45)}
.settings-panel .drawer-field input{min-width:0}
@media(max-width:1000px){.collection-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:1fr}}
@media(max-width:600px){.settings-grid{grid-template-columns:1fr}.freshness-row{display:block}.freshness-row time{display:block}.collection-facts{gap:16px}.settings-panel{padding:20px}.settings-panel .archive-actions>.button{width:100%}.attention-dialog .dialog-footer{flex-wrap:wrap}.attention-dialog .dialog-footer .button{flex:1}}
.preview-banner{margin:18px 3.4vw 0;padding:12px 16px;background:#fff2d7;border:1px solid #e5c47f;border-radius:9px;color:#715018;font-size:13px;font-weight:600;line-height:1.7}

/* Prominent observed price and same-page photo viewer. */
.drawer-product{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:10px}
.drawer-price{font-size:25px;line-height:1.2;font-weight:800;color:#b64a2b;letter-spacing:-.02em}
.photo-dialog{width:min(960px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);border:0;border-radius:16px;background:#fff;color:var(--ink);padding:0;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.3)}
.photo-dialog::backdrop{background:rgba(8,24,29,.78)}
.photo-dialog-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
.photo-dialog-head h2{font-size:16px;margin:0}.photo-dialog-head span{font-size:13px;color:var(--muted)}
.photo-close{margin-left:auto;border:0;background:transparent;color:var(--ink);font-size:28px;line-height:1;cursor:pointer;padding:0 8px}
.photo-view{display:flex;align-items:center;justify-content:center;height:min(68dvh,720px);background:#edf1f1;padding:12px}
.photo-view img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.photo-dialog-controls{display:flex;justify-content:center;gap:12px;padding:12px}
@media(max-width:680px){.drawer-price{font-size:23px}.photo-view{height:65dvh}}
/* Each search criterion can be turned on independently. */
.field-label-row{display:flex;justify-content:space-between;align-items:center;gap:7px}
.field .enable-filter{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-weight:600;color:var(--teal)}
.field .enable-filter input{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--teal);box-shadow:none}
.field input:disabled,.field select:disabled{background:#f2f5f5;color:#8a9ba0;cursor:not-allowed}
.category-extras:not(:empty){border:1px solid #cfe1da;border-radius:12px;background:#f3f9f6;padding:16px}
.category-extra-grid{margin-top:20px}.category-extra-note{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 0}
#custom-city:not([hidden]),#custom-district:not([hidden]){margin-top:8px}
.order-dialog{overflow:hidden}
.order-dialog>form{display:flex;flex-direction:column;max-height:min(92dvh,940px)}
.order-dialog .dialog-head,.order-dialog .dialog-footer{flex-shrink:0}
.order-dialog .dialog-body{min-height:0;max-height:none;overflow:auto;flex:1 1 auto}

/* Work-order and candidate details: one step larger for easier reading. */
.order-link span{font-size:13px;white-space:normal;overflow-wrap:anywhere}
.order-link small{font-size:12px}
.order-status{display:inline-block;margin-top:6px;padding:2px 7px;border-radius:6px;background:#205b51;color:#d6fff2;font-size:12px;line-height:1.4;font-weight:700}
.order-status.running{background:#2f7366;color:#fff}
.order-status.paused{background:#435865;color:#f0f5f6}
.order-status.attention{background:#765726;color:#fff4d5}
.source-label,.status-chip{font-size:12px}
.product-meta,.product-reason,.freshness-row{font-size:13px}
.sidebar-bottom .version-link{display:block;min-height:36px;margin:5px 0 8px;text-align:left;font-size:13px}
.version-dialog{display:none;flex-direction:column;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);color:var(--ink)}
.version-dialog[open]{display:flex}
.version-dialog .dialog-head,.version-dialog .dialog-footer{flex-shrink:0}
.version-history{overflow:auto;min-height:0;max-height:none}
.version-entry+.version-entry{border-top:1px solid var(--line);margin-top:17px;padding-top:17px}
.version-entry h3{font-size:16px;margin:0 0 4px}
.version-entry time,.version-entry .version-time{font-size:13px;color:var(--ink-2)}
.version-entry ul{margin:9px 0 0;padding-left:20px;color:var(--ink-2);font-size:14px;line-height:1.7}
@media(max-width:680px){.source-label,.status-chip{font-size:11px}.product-meta,.product-reason{font-size:12px}}
.candidate-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:12px 0;color:var(--ink-2);font-size:13px}
.candidate-pagination>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.candidate-pagination label{display:inline-flex;align-items:center;gap:6px}
.candidate-pagination select{min-height:40px;padding:6px 8px;border:1px solid #c9d7dd;border-radius:8px;background:#fff;color:var(--ink)}
.candidate-pagination .button{min-height:40px;padding:7px 12px}
@media(max-width:680px){.candidate-pagination{align-items:flex-start}.candidate-pagination>div{width:100%}.candidate-pagination .button{min-height:44px}}
.invalid-detail{padding:14px 16px;border:1px solid #ecd0c8;border-radius:10px;background:#fff8f6}
.invalid-detail h3{margin-bottom:8px}.invalid-detail p{font-size:13px;line-height:1.7;margin:7px 0;color:#793c34;overflow-wrap:anywhere}.invalid-detail small{color:#876e69}
.invalidation-dialog{width:min(510px,calc(100vw - 24px));color:var(--ink)}
.invalidation-dialog .drawer-field textarea{width:100%;min-height:110px}
.invalidation-presets{display:flex;flex-wrap:wrap;gap:8px;margin:3px 0 12px}
.invalidation-preset{border:1px solid #c7dcd4;border-radius:999px;background:#f2f8f5;color:#215e50;padding:7px 12px;font-size:13px;line-height:1.3;cursor:pointer}
.invalidation-preset:hover{border-color:#79b5a3;background:#e6f3ed}
.invalidation-preset:focus-visible{outline:2px solid #238874;outline-offset:2px}
@media(max-width:680px){.invalidation-preset{min-height:40px}}
.selection-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:420px){.drawer-actions{flex-wrap:wrap}.drawer-actions .button{min-width:135px}}

/* AI simulation and update notices */
.simulation-layout{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:18px;align-items:start}
.simulation-chat{min-height:220px;max-height:480px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:12px 0}
.simulation-turn{max-width:85%;padding:12px 15px;border-radius:14px;background:#eef4f3;align-self:flex-start}
.simulation-turn.buyer{align-self:flex-end;background:#e5f4ed}
.simulation-turn small,.ai-detail small{display:block;color:#637e88}.simulation-turn p{margin:5px 0 0;white-space:pre-wrap}
.ai-detail{padding:7px 0}.upgrade-banner{padding:10px 24px;background:#fff3d8;color:#6f5015}.upgrade-banner button{margin-left:10px}
@media(max-width:680px){.simulation-layout{grid-template-columns:1fr}.simulation-turn{max-width:95%}}

.order-mail-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:14px 0 2px}.order-mail-controls>.checkbox-field{margin:0}.order-mail-interval{display:flex;align-items:center;gap:8px;font-size:13px;color:#294653}.order-mail-interval input{width:82px;min-height:40px;padding:7px 10px;border:1px solid #c6d7cf;border-radius:8px;background:#fff;font:inherit;color:inherit}.order-mail-interval input:disabled{background:#edf1ef;color:#778981}.order-mail-status{font-size:12px;color:#7a6041}@media(max-width:600px){.order-mail-controls{align-items:flex-start;gap:8px 12px}.order-mail-interval input{min-height:44px}.order-mail-status{flex-basis:100%}}

.dimension-range{display:flex;align-items:center;gap:5px}.dimension-range input{min-width:0;flex:1;padding:9px 7px}.dimension-range span{color:var(--muted)}.button-danger-solid{background:#b83f36;color:#fff;border-color:#b83f36}.button-danger-solid:hover{background:#9d3029}

.tag-entry{display:flex;align-items:stretch;gap:8px}.tag-entry input{flex:1;min-width:0}.tag-entry .button{min-width:64px}.filter-tags{display:flex;flex-wrap:wrap;gap:6px}.filter-tags:not(:empty){margin-bottom:8px}.filter-tag{display:inline-flex;align-items:center;gap:5px;padding:4px 5px 4px 7px;border:1px solid #cde1d8;border-radius:8px;background:#edf5f2;font-size:13px;color:#234a3e}.filter-tag button{width:26px;height:26px;border:0;background:transparent;color:#49645e;font-size:19px;line-height:1;border-radius:6px}.filter-tag button:hover{background:#d6ebe3}.brand-logo{display:inline-grid;place-items:center;flex:none;width:25px;height:25px;background:#fff;border:1px solid #dce7e3;border-radius:6px;color:#214c41}.brand-logo svg{width:18px;height:18px;fill:currentColor;stroke:none}.brand-fallback{font-size:9px;font-weight:800}.brand-suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:6px;padding:6px;border:1px solid #d8e4df;border-radius:10px;background:#fff}.brand-suggestions[hidden]{display:none}.brand-option{display:flex;align-items:center;gap:8px;padding:7px;border:0;border-radius:7px;background:#f7faf8;text-align:left;color:var(--ink);min-width:0}.brand-option:hover,.brand-option:focus-visible{background:#e7f5f0}.brand-option span:last-child{min-width:0}.brand-option strong,.brand-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-option small{color:var(--muted);font-size:11px}.product-art.photo-art{border:0;padding:0;cursor:zoom-in}.product-art.photo-art:focus-visible{outline-offset:3px}@media(max-width:390px){.brand-suggestions{grid-template-columns:1fr}}
.keyword-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.keyword-inputs>div{min-width:0}.keyword-inputs input{min-height:44px;width:100%;min-width:0}
.keyword-field .keyword-mode{display:flex;align-items:center;gap:8px;min-height:44px;margin:6px 0 0;font-size:13px}
.keyword-field .keyword-mode input{width:17px;height:17px;min-height:0;margin:0;padding:0;flex:none}
.keyword-field .field-label-row>span{font-size:13px;font-weight:700;color:var(--ink-2)}

.criteria-results{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:7px;font-size:13px;line-height:1.6}.criteria-result.good{color:#176b59}.criteria-result.pending{color:#7b6a48}.criteria-result.bad{color:#a43b32}@media(max-width:680px){.criteria-results{font-size:12px;gap:3px 9px}}

.sort-buttons{display:flex;gap:6px}.sort-button{min-height:40px;border:1px solid #c9d7dd;border-radius:8px;background:#fff;padding:7px 13px;color:#315063;font-size:13px}.sort-button.active{background:#e6f3ef;border-color:#81b9a7;color:#0c6d5b;font-weight:700}.sort-button:hover{background:#edf7f3}@media(max-width:680px){.sort-button{min-height:44px;flex:1}.sort-buttons{width:100%}}

.dashboard-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}.dashboard-card{padding:21px;border:1px solid var(--line);border-radius:14px;background:#fff}.dashboard-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dashboard-top h2{margin:9px 0 5px;font-size:18px}.dashboard-top p{margin:0;color:var(--muted);font-size:13px}.dashboard-progress{margin:18px 0}.dashboard-progress div{display:flex;justify-content:space-between;gap:8px;color:var(--ink-2);font-size:13px}.dashboard-progress span{color:var(--muted)}.dashboard-progress progress{display:block;width:100%;height:8px;margin-top:9px;accent-color:var(--teal)}.dashboard-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;font-size:12px;color:var(--muted)}.dashboard-facts strong{display:block;margin-top:3px;color:var(--ink-2)}.dashboard-actions{display:flex;gap:8px;margin-top:17px}.trash-history{margin-top:24px}.trash-history h2{margin-bottom:12px}.trash-product{border:1px solid var(--line);border-radius:10px;background:#fff;padding:13px 16px;margin-bottom:9px}.trash-product summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px}.trash-product p{color:var(--muted);font-size:13px}.trash-photos{display:flex;gap:8px;flex-wrap:wrap}.trash-photos button{width:80px;height:70px;padding:0;border:0;border-radius:8px;overflow:hidden;cursor:zoom-in}.trash-photos img{width:100%;height:100%;object-fit:cover}@media(max-width:600px){.dashboard-card{padding:16px}.dashboard-top{flex-wrap:wrap}.dashboard-facts{grid-template-columns:1fr 1fr}.dashboard-actions .button{min-height:44px;flex:1}.trash-product summary{flex-wrap:wrap}}

#collection-interval,#collection-candidates{cursor:help}

/* Independent task navigation and schedule controls in the sidebar. */
.order-entry{display:flex;align-items:center;min-width:0;border-radius:11px}
.sidebar{min-height:0;height:100dvh;max-height:100dvh;overflow-y:auto}
.sidebar>.brand,.sidebar>nav,.sidebar>.side-section-title,.sidebar-bottom{flex:0 0 auto}
.task-list-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#72959a transparent}
.task-list-nav::-webkit-scrollbar{width:6px}
.task-list-nav::-webkit-scrollbar-thumb{background:#72959a;border-radius:8px}
.sidebar-bottom{margin-top:0}
.order-entry.active,.order-entry:hover{background:#244553}
.order-entry .order-link{flex:1;min-width:0;width:auto;background:transparent}
.order-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin-right:3px;padding:0;border:0;border-radius:9px;background:transparent;color:#d9e7ea}
.order-toggle svg{width:17px;height:17px}
.order-toggle:hover,.order-toggle:focus-visible{background:#365d6a;color:#fff}
.order-toggle:disabled{opacity:.55;cursor:wait}

/* The status explanation is available to pointer, keyboard and touch users. */
.status-help{position:relative;cursor:help}
.status-help::after{content:attr(data-help);display:none;position:absolute;z-index:25;top:calc(100% + 8px);left:0;width:max-content;max-width:min(280px,70vw);padding:9px 11px;border-radius:8px;background:#173d4c;color:#fff;font-size:12px;font-weight:400;line-height:1.55;white-space:normal;box-shadow:0 5px 16px rgba(9,28,37,.22);pointer-events:none}
.status-help:hover::after,.status-help:focus::after{display:block}
.status-help:focus-visible{outline:2px solid #279e87;outline-offset:3px}
.brand-copy .version-link{display:block;min-height:32px;margin-top:4px;padding:4px 0;border:0;background:none;color:#c4dbe0;font-size:12px;text-align:left;text-decoration:underline;text-underline-offset:3px;letter-spacing:0;white-space:nowrap}
.candidate-count{font-weight:inherit}
.candidate-count.at-capacity{color:var(--red)}
.dashboard-actions .button{width:104px;min-height:44px}
.collection-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(116px,.8fr) auto}
.collection-cap-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.collection-cap-controls input{width:88px;min-height:44px}
.collection-cap-controls .button{min-height:44px}
.sort-buttons{align-items:center}
.sort-label{color:var(--muted);font-size:13px;margin-right:4px;white-space:nowrap}
.drawer-disclosure{border-top:1px solid var(--line);padding-top:8px}
.drawer-disclosure>summary{cursor:pointer;min-height:44px;align-content:center;font-size:13px;font-weight:700;color:var(--ink)}
.drawer-disclosure>summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:4px}
.disclosure-body{padding-top:8px}
@media(max-width:1000px){.collection-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-actions .button{width:0;min-width:0;flex:1}.sort-label{flex-basis:100%}.brand-copy .version-link{min-height:44px}}

/* Keep the original image pannable when it is enlarged. */
.photo-view{display:block;overflow:auto;overscroll-behavior:contain}
.photo-stage{display:flex;align-items:center;justify-content:center;width:max-content;height:max-content;min-width:100%;min-height:100%}
.photo-view img{max-width:none;max-height:none;height:auto;flex:none}
.photo-view.can-pan{cursor:grab;user-select:none}.photo-view.is-dragging{cursor:grabbing}.photo-view img{-webkit-user-drag:none}
.collector-save-button{min-width:128px}.button-spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:button-spin .8s linear infinite;flex:none}
@keyframes button-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.button-spinner{animation:none!important;border-right-color:currentColor;opacity:.7}}
.action-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:5px 2px;border:0;border-radius:3px;background:transparent;box-shadow:none;color:var(--teal);font-size:12px;font-weight:700;text-decoration:none}.action-link:not(:disabled):hover{text-decoration:underline;text-underline-offset:4px;background:transparent}.action-link svg{width:15px;height:15px}
.queue-activity{display:inline-flex;align-items:center;justify-content:center;flex:none}.queue-activity svg{width:15px;height:15px}.queue-activity.is-running{color:var(--teal)}.queue-activity.is-running svg{fill:currentColor}.queue-activity.is-waiting{color:var(--amber)}.queue-activity.is-waiting svg{stroke-width:2.5}
.candidate-pagination{justify-content:flex-end}.section-top>.product-sort{margin-left:auto;flex:none}
.photo-dialog-controls{flex-wrap:wrap;gap:8px}
.photo-zoom-button{min-width:44px;font-size:20px}
.photo-control-divider{width:1px;align-self:stretch;background:var(--line);margin:2px 3px}
@media(max-width:480px){.photo-dialog-controls{gap:5px}.photo-dialog-controls .button{padding-inline:10px}}

.ai-usage{border-top:1px solid var(--line,#dbe4e8);margin-top:20px;padding-top:16px}.usage-scroll{overflow-x:auto}.ai-usage-table{width:100%;border-collapse:collapse;font-size:13px}.ai-usage-table caption{text-align:left;color:var(--muted,#607785);padding:8px 0}.ai-usage-table th,.ai-usage-table td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--line,#dbe4e8);white-space:nowrap}.ai-usage-table thead{background:#f4f8f8}
.server-resources-bar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 24px;padding:10px 38px;background:#fff;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.6}
.server-resources-bar strong{color:var(--ink-2);font-variant-numeric:tabular-nums;font-weight:600}
.server-resources-bar time{margin-left:auto;font-size:12px}
.recent-found{display:inline-block;margin-left:16px;color:var(--muted);font-size:13px;font-weight:400}
@media(max-width:680px){.server-resources-bar{padding:10px 15px;gap:5px 14px}.server-resources-bar time{margin-left:0}.recent-found{display:block;margin:5px 0 0}}
@media(max-width:680px){.status-help::after{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto;max-width:none}}

.resource-values{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;flex:1;min-width:0}.server-resources-bar time{white-space:nowrap}.resource-refresh-label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px}.resource-refresh-label select{width:auto;min-height:36px;padding:6px 28px 6px 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink-2);font:inherit}.price-filter .dimension-range{max-width:420px}.head-actions{flex-wrap:wrap}.server-resources-bar{gap:10px 20px}@media(max-width:680px){.resource-refresh-label{width:100%;justify-content:flex-end}.resource-values{gap:5px 12px}.page-head .head-actions{width:100%}}

.price-changed{display:inline-block;color:#7c4a06;background:#fff2d5;border:1px solid #f0d7a3;border-radius:5px;padding:2px 7px;font-size:13px;font-weight:600}.selling-days{color:var(--muted);font-weight:400;white-space:normal}.selling-duration{margin:0 0 12px;font-size:14px}.price-history{margin-top:18px;padding:14px 12px;background:#f6f9fa;border:1px solid var(--line);border-radius:10px}.price-history h4{margin:0 0 6px;font-size:15px}.price-history p{margin:0;color:var(--muted);font-size:13px}.price-history svg{width:100%;height:auto;display:block;overflow:visible;margin:8px 0}.price-history text{font-size:12px;fill:var(--muted);stroke:none;font-family:inherit}.chart-axis{stroke:#ccd9df;stroke-width:1}.price-line{fill:none;stroke:#117a67;stroke-width:2.5;stroke-linejoin:round}.price-history circle{fill:#117a67;stroke:#fff;stroke-width:1.5}.price-history circle:focus{outline:2px solid #193e51;outline-offset:4px}.price-history summary{cursor:pointer;color:#117a67;padding:8px 0;font-size:13px}.price-history-table{overflow:auto;max-height:280px}.price-history table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.price-history th,.price-history td{padding:8px 5px;border-bottom:1px solid var(--line)}.price-history td:last-child{font-variant-numeric:tabular-nums}.freshness-row{flex-wrap:wrap}

/* Detailed locations and collection policy keep the existing visual system. */
.collection-control-help{position:relative;display:inline-flex}.collection-tooltip{display:none;position:absolute;z-index:40;top:calc(100% + 9px);left:0;width:min(540px,calc(100vw - 48px));padding:14px 16px;color:#fff;background:#173d4c;border-radius:9px;font-size:12px;font-weight:400;line-height:1.85;box-shadow:0 6px 24px #102e3c33;max-height:50vh;overflow:auto}.collection-control-help:hover .collection-tooltip,.collection-control-help:focus-within .collection-tooltip{display:block}.collection-control-help:focus-within{z-index:41}.is-unavailable{color:#8b979d}.is-unavailable input,.is-unavailable select,.is-unavailable textarea{background:#eef2f3;color:#8b979d;cursor:not-allowed}.seller-location{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;color:#246958;font-size:12px;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}.seller-location small{color:var(--muted)}.seller-location a{color:#087969;text-decoration:underline;text-underline-offset:3px}.location-action{display:inline-flex;flex-direction:column;align-items:center;gap:3px}.location-action small{font-size:11px;color:#7c8b91}.product-side .location-action{margin:7px 0}.product-side .button{min-height:44px}.selection-actions{align-items:center}.criteria-result{overflow-wrap:anywhere}.baidu-map-link{display:block;color:#087969;font-size:13px;margin-top:12px}.baidu-map-image{display:block;width:100%;height:auto;min-height:160px;border:1px solid #d8e5e3;border-radius:9px;margin-bottom:8px}.baidu-map-image[hidden]{display:none}.personal-only-field{margin:-4px 0 6px}
@media(max-width:680px){.collection-tooltip{position:fixed;left:16px;right:16px;top:auto;bottom:20px;width:auto;max-height:55vh}.selection-actions .location-action{flex:1}.selection-actions .location-action>.button{width:100%}.seller-location{font-size:12px}.product-side .location-action{margin:0 6px 0 0}}

.collector-image-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.collector-image-tools[hidden]{display:none}.collector-image-tools .button{min-height:44px}.collector-image-tools output{font-size:12px;color:var(--muted)}.login-screen.is-interactive{display:block;max-height:65vh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.login-screen img{flex:none;max-width:none}.simulation-status{min-height:24px}.simulation-preview button:disabled{cursor:not-allowed}

.collection-facts select,.collection-cap-controls input,.collection-cap-controls .button{height:44px;min-height:44px;box-sizing:border-box}.collection-facts select{padding-top:0;padding-bottom:0}.collection-facts .collection-cap>label{display:block;line-height:normal;margin-bottom:7px}
.task-section-heading{flex:0 0 auto;font-size:15px;font-weight:400;margin:22px 0 5px;color:#bfd2d6;min-height:44px}
.task-list-nav{margin-left:14px;padding-left:9px;border-left:1px solid #36505a;width:calc(100% - 14px)}
.task-list-nav .order-link{font-size:13px;padding-left:9px;gap:8px;min-height:76px}
.sidebar-more{display:flex;align-items:center;gap:10px;min-height:44px;color:#d9e7ea}
.sidebar-more select{flex:1;min-width:0;width:100%;min-height:44px;border:1px solid #36505a;border-radius:8px;padding:8px 24px 8px 10px;color:#d9e7ea;background:#173849;font-size:14px;cursor:pointer}
.sidebar-more option{color:#d9e7ea;background:#173849}

.collection-facts small,.collection-facts .collection-cap>label{font-size:12px;line-height:18px;margin-bottom:7px}

/* Connection management and task feedback remain reachable on small screens. */
.source-manage{min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;font:inherit;font-size:12px;color:var(--muted);cursor:pointer;white-space:nowrap}
.source-manage.connected{color:var(--teal)}.source-manage:hover{background:#edf6f3;border-color:#c6ded5}.source-manage:focus-visible,.task-queue-toggle:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.task-queue-toggle{display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px;border:0;background:none;padding:8px 0;min-height:44px;color:var(--muted);font:inherit;font-size:13px;text-align:left;cursor:pointer}.task-queue-toggle strong{color:var(--ink-2)}.task-queue-toggle svg{width:16px;height:16px;transform:rotate(90deg);margin-left:4px}.task-queue-toggle[aria-expanded=true] svg{transform:rotate(-90deg)}
.task-queue-panel{margin:0 clamp(22px,3vw,48px);padding:18px 20px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:#fff}.task-queue-panel[hidden]{display:none}.task-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-queue-head h2{font-size:16px}.task-queue-head p,.task-queue-note,.task-queue-time{color:var(--muted);font-size:12px;margin:6px 0;line-height:1.6}.task-queue-list{list-style:none;padding:0;margin:12px 0 0;max-height:370px;overflow:auto;overscroll-behavior:contain}.queue-item{padding:12px 0;border-top:1px solid var(--line)}.queue-item-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px}.queue-state{margin-left:auto;color:var(--muted);font-size:12px}.queue-priority{font-size:11px;color:#0b7460;background:#e4f3ed;padding:2px 6px;border-radius:4px}.queue-item-heading small{font-size:12px;color:var(--muted)}.queue-item.running .queue-state{color:#0c7964;font-weight:700}.queue-item.failed .queue-state{color:#a34a20}.queue-item-detail{display:flex;gap:5px 12px;margin:5px 0;color:var(--ink-2);font-size:12px;overflow-wrap:anywhere}.queue-item-detail span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.queue-item p{color:var(--muted);font-size:12px;margin:4px 0 0;line-height:1.6}.queue-empty{color:var(--muted);font-size:13px;padding:12px 0}.task-queue-time{text-align:right}
.location-status.status-help::after{left:auto;right:0;max-width:min(320px,75vw);text-align:left}.location-status.status-help{min-height:24px;display:inline-flex;align-items:center;justify-content:center}
.inquiry-dialog{max-width:440px}.inquiry-dialog .dialog-body{text-align:center;padding:26px 28px 20px}.inquiry-feedback-icon{display:inline-grid;place-items:center;width:64px;height:64px;margin-bottom:15px;border-radius:50%}.inquiry-feedback-icon svg{width:32px;height:32px}.inquiry-feedback-icon.success{background:#e3f4eb;color:#11805c}.inquiry-feedback-icon.pending{background:#eef3f5;color:var(--muted)}.inquiry-feedback-icon.warning{background:#fff2dd;color:#9b641b}.inquiry-dialog h3{font-size:21px;margin-bottom:12px}.inquiry-dialog .dialog-body p{color:var(--ink-2);font-size:14px;line-height:1.8;margin:0}.inquiry-dialog ul{text-align:left;font-size:13px;line-height:1.7;color:#9b4b28;padding-left:20px}.inquiry-dialog .dialog-footer{justify-content:center}.inquiry-dialog .dialog-footer .button{min-width:120px;min-height:44px}
@media(max-width:680px){.source-manage{padding-inline:7px}.task-queue-panel{margin-inline:16px;padding:16px}.task-queue-toggle{font-size:12px}.task-queue-list{max-height:48vh}.queue-item-detail{flex-wrap:wrap}.queue-item-detail span:last-child{width:100%}.location-status.status-help::after{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto;max-width:none}.inquiry-dialog{width:calc(100% - 32px)}.inquiry-dialog .dialog-body{padding:24px 20px}}

/* Compact task headers; details stay available without hiding the actions. */
.topbar{height:54px}
.topbar-left{flex:1;min-width:0}
.topbar-actions{flex:none}
.topbar{height:auto;min-height:54px;padding-block:4px}
.topbar-actions{min-width:0;flex:1 1 auto;justify-content:flex-end}
.topbar-hardware{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:2px 16px;min-width:0;color:var(--muted);font-size:12px;line-height:1.55}
.topbar-hardware>span{white-space:nowrap}
.topbar-hardware strong{font-weight:650;color:var(--ink-2)}
.topbar-left{flex:0 1 auto}
.dashboard-card{display:flex;flex-direction:column}
.dashboard-top{flex-wrap:nowrap}
.dashboard-top>div{min-width:0}
.dashboard-toggle{margin:-5px -5px 0 auto;color:var(--ink-2)}
.dashboard-actions{justify-content:flex-end;margin-top:auto;padding-top:17px}
.dashboard-actions .button{flex:none;width:auto;min-width:104px}
.dashboard-summary{display:flex;flex-wrap:wrap;gap:3px 14px}
.dashboard-found{white-space:nowrap}
.source-manage{gap:2px}
.server-resources-bar{padding-block:3px;row-gap:2px}
.task-queue-toggle svg{width:25px;height:25px;margin-left:5px;padding:4px;border-radius:50%;background:#d6eee5;color:#0c7461;stroke-width:2.2}
.task-queue-toggle:hover svg,.task-queue-toggle:focus-visible svg{background:#bce3d5}
.collection-panel{padding:10px 18px;margin-bottom:16px}
.collection-title{align-items:center;gap:12px}
.collection-title h2{flex:1 1 230px;min-width:0;margin:0;font-size:16px}
.panel-disclosure{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:700;text-align:left}
.panel-disclosure>svg:last-child{width:17px;height:17px;flex:none;color:var(--teal);transform:rotate(90deg)}
.panel-disclosure[aria-expanded=true]>svg:last-child{transform:rotate(-90deg)}
.panel-disclosure:hover{color:var(--teal)}
.collection-disclosure{width:100%}
.collection-title-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 9px;min-width:0}
.collection-title-label{font-size:16px;white-space:nowrap}
.collection-current-status{color:#57736b;font-size:12px;font-weight:500;line-height:1.45}
.collection-title .connection-dot{margin-left:0}
.collection-actions{justify-content:flex-end;margin-left:auto;flex:none}
.collection-control-help .collection-tooltip{left:auto;right:0}
.collection-details[hidden],.task-conditions-content[hidden]{display:none}
.collection-description{margin:12px 0 0;color:#57736b;font-size:12px;line-height:1.7}
.collection-details .collection-facts{margin-bottom:6px}
.task-conditions{padding:8px 18px;margin-bottom:16px}
.task-conditions-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.task-conditions-header h2{margin:0}
.task-conditions-content{padding:10px 0 8px}
@media(max-width:680px){
  .topbar{height:auto;flex-wrap:wrap;gap:0 8px;padding-block:4px}
  .topbar-left{flex-basis:100%}
  .topbar-actions{width:100%;gap:4px}
  .topbar-hardware{flex:1;justify-content:flex-start;gap:2px 10px;font-size:11px}
  .topbar .source-login-hint{display:none}
  .topbar .source-manage{white-space:nowrap}
  .dashboard-actions .button{flex:none;width:auto;min-width:104px}
  .server-resources-bar{padding:3px 15px;row-gap:2px}
  .collection-panel,.task-conditions{padding:10px 14px}
  .collection-tooltip{left:16px;right:16px}
}
@media(max-width:520px){
  .collection-title{flex-wrap:wrap;gap:4px 8px}
  .collection-title h2{flex-basis:100%}
  .collection-actions{margin-left:auto}
  .topbar{padding-inline:10px;gap:4px}
  .topbar-left{gap:4px}
  .topbar-actions{gap:0}
  .source-manage{padding-inline:3px}
}
/* Quiet product controls; focus remains visible and targets stay usable. */
.product-list-toolbar{justify-content:flex-end;margin:0 0 2px}
.product-sort{display:inline-flex;align-items:center;gap:4px;color:var(--ink-2);font-size:13px}
.product-sort select,.candidate-pagination select{min-height:44px;border:0;background:transparent;color:var(--ink-2);padding:6px 24px 6px 8px;border-radius:6px}
.pagination-link{min-height:44px;min-width:44px;padding:6px 10px;border:0;border-radius:6px;color:var(--ink-2);background:transparent;font:inherit;cursor:pointer}
.pagination-link:disabled{opacity:.45;cursor:default}
.pagination-link:not(:disabled):hover,.product-sort select:hover{background:#eaf0f1}
.pagination-link:focus-visible,.product-sort select:focus-visible,.candidate-pagination select:focus-visible,.location-map-button:focus-visible,.map-thumbnail:focus-visible{outline:2px solid #147d68;outline-offset:2px}
.favorite-time{display:inline-block;margin-left:12px;color:var(--muted);font-size:12px;font-weight:400}
.location-map-button{padding:6px 2px;min-height:44px;min-width:44px;border:0;background:transparent;color:#087969;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}
.driving-distance{color:#246958;font-weight:600}.driving-distance.pending{color:var(--muted);font-weight:400}
.map-thumbnail{display:block;width:100%;text-align:left;border:0;padding:0;margin:12px 0 0;background:transparent;color:#087969;font:inherit;font-size:13px;cursor:zoom-in}
.map-thumbnail span{display:flex;align-items:center;gap:5px;min-height:44px}.map-thumbnail svg{width:14px;height:14px}
.route-map-dialog{width:min(1180px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 24px 80px #0d2f3d55;overflow:auto}
.route-map-dialog::backdrop{background:#102e3cb3}.route-map-dialog .dialog-head{padding:12px 18px}.route-map-dialog h2{font-size:18px}.route-map-dialog .icon-button{min-width:44px;min-height:44px}
.route-map-info{padding:0 18px 10px;overflow-wrap:anywhere}.route-map-info p{margin:4px 0;font-size:13px}.route-map-info #route-map-summary{font-weight:600;color:#246958}
.route-map-view{margin:0 12px;overflow:auto;max-height:60dvh;background:#eef3f4;border-radius:7px;overscroll-behavior:contain}
.route-map-view img{display:block;width:100%;max-width:none;height:auto}.route-map-view img[hidden]{display:none}.route-map-view p{padding:24px}
.route-map-controls{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px;flex-wrap:wrap}.route-map-controls .button{min-width:44px;min-height:44px}.route-map-controls a{font-size:13px;color:#087969;padding:10px}
@media(max-width:600px){.route-map-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.route-map-view{max-height:55dvh}.favorite-time{display:block;margin:4px 0 0}.product-list-toolbar{justify-content:flex-start}.seller-location .driving-distance{flex-basis:100%}}
.route-map-view img{margin-inline:auto}
.route-map-view img{transition:none}
/* Actionable reminders stay at the bottom without moving page content. */
.web-alert-region{position:fixed;right:20px;bottom:20px;z-index:1500;width:min(420px,calc(100% - 32px));max-height:48dvh;overflow:auto;display:grid;gap:10px;margin:0;padding:4px;overscroll-behavior:contain}
.web-alert-region[hidden]{display:none}
.web-alert{display:grid;grid-template-columns:22px minmax(0,1fr) 44px;gap:10px;border:1px solid #e2c590;border-left:4px solid #a86812;border-radius:12px;background:#fffdf7;padding:14px 10px 10px 14px;box-shadow:0 10px 34px #102b3930;color:var(--ink);text-align:left}
.web-alert-icon{color:#986015;margin-top:2px;width:21px;height:21px}
.web-alert h2{margin:0;font-size:15px;line-height:1.5}
.web-alert p{margin:5px 0 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.web-alert-action{min-height:44px;padding:5px 0;border:0;background:transparent;color:var(--teal);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.web-alert-dismiss{width:44px;min-height:44px;margin-top:-8px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--ink-2);font-size:24px;align-self:start}
.web-alert-dismiss:hover{background:var(--amber-pale)}
@media(max-width:600px){.web-alert-region{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px)}.web-alert{grid-template-columns:20px minmax(0,1fr) 44px;gap:8px;padding-left:10px}}
/* Shared system navigation on the sign-in page and below the sidebar version. */
.brand{position:relative;align-items:flex-start}
.brand-home{margin-top:2px}
.brand-copy{min-width:0}
.brand-copy .version-link{min-height:25px;margin-top:3px;padding:2px 0}
.system-switcher-trigger{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:2px 0;border:0;background:transparent;color:#c4dbe0;font-size:12px;text-align:left}
.system-switcher-trigger svg{width:14px;height:14px;transform:rotate(90deg)}
.system-switcher-trigger[aria-expanded=true] svg{transform:rotate(-90deg)}
.system-switcher-trigger:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.system-switcher-panel{position:absolute;inset:calc(100% - 24px) 0 auto;z-index:3;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 12px 30px #08212b40}
.system-switcher-panel[hidden]{display:none}
.system-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;color:var(--teal);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.system-link svg{width:14px;height:14px}
.system-switcher-panel .system-link{display:flex;justify-content:space-between;padding:8px;border-radius:5px;text-decoration:none;line-height:1.5}
.system-switcher-panel .system-link:hover{background:var(--teal-pale)}
.login-content{display:flex;flex-direction:column;align-items:center;gap:20px;width:min(100%,820px)}
.login-systems{width:100%}
.login-systems nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 22px}
.login-systems .system-link:hover{color:var(--navy)}
@media(max-width:600px){
  .system-switcher-trigger{min-height:44px}
  .login-content{gap:16px}
  .login-systems nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
  .login-systems .system-link{font-size:12px;text-align:center}
}
