:root{--ink:#233b2e;--muted:#7b8978;--line:#e2e8d8;--canvas:#f9faf6;--green:#28543f;--green-soft:#e9efdf;--lime:#dceba9;--purple:#9b8ac0;--blue:#7aa4b7;--gold:#bda16e;--radius:15px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.65;color:var(--ink);background:var(--canvas)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.dropzone:focus-visible{outline:3px solid #94b779;outline-offset:3px}button svg,a svg{pointer-events:none}.hidden{display:none!important}.icon{display:block;flex:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:210px;z-index:10;padding:30px 18px 0;background:#f0f3eb;border-right:1px solid #e0e5d8;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;padding:0 8px}.brand-symbol{display:block;flex:none;width:44px;height:44px;object-fit:contain;border-radius:12px}.brand strong{display:block;font-size:20px;letter-spacing:1px;line-height:1.2;white-space:nowrap}.brand small{display:block;font-size:8px;font-weight:700;letter-spacing:2px;margin-top:5px}.workspace-label{margin:40px 10px 15px;font-size:10px;color:#8a9483;display:flex;justify-content:space-between;align-items:center}.workspace-label>span{font-size:8px;letter-spacing:1px;border:1px solid #d3dcc8;border-radius:4px;padding:0 4px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;border-radius:9px;margin:6px 0;padding:13px;color:#66745d;text-align:left;font-size:13px}.nav-item:hover{background:#e6ecdf}.nav-item.active{background:#dfe9d4;color:#2a5136;font-weight:600}.nav-item small{margin-left:auto;font-size:10px;color:#8a9a79}.nav-item i{height:6px;width:6px;background:#c2b07a;border-radius:50%;margin-left:auto}.nav-item i.ready{background:#75a76b}.sidebar-bottom{margin:auto 10px 28px;padding-top:40px}.sidebar-bottom>.icon{color:#7c9969;margin-bottom:12px}.sidebar-bottom strong{display:block;font-size:12px;font-weight:500}.sidebar-bottom p{font-size:11px;color:#8d987f;line-height:1.9;margin:7px 0 18px}.sidebar-bottom a{font-size:10px;color:#6b8358}.workspace-foot{display:flex;align-items:center;gap:10px;font-size:11px;border-top:1px solid #dce3d3;padding:20px 3px}.workspace-foot small{display:block;font-size:9px;color:#96a089}.avatar{display:grid;place-items:center;background:#dfe8d3;color:#637d4b;border-radius:50%;width:32px;height:32px}.main-shell{margin-left:210px;width:calc(100% - 210px);min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.breadcrumb{display:flex;gap:15px;color:#98a08e;font-size:12px;white-space:nowrap}.breadcrumb strong{color:#53644a;font-weight:500}.top-actions{display:flex;align-items:center;gap:18px;font-size:11px;color:#7a896b}.local-pill{display:flex;align-items:center;gap:5px;background:#f2f6eb;border-radius:20px;padding:4px 9px}.local-pill .icon{width:13px;height:13px}.connection-label{display:flex;align-items:center;gap:7px}.connection-label i{width:6px;height:6px;border-radius:50%;background:#c7b270}.connection-label.ready i{background:#79a970}.icon-button{border:0;background:transparent;border-radius:7px;display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;color:#7c8c6d}.icon-button:hover{background:#edf2e5;color:var(--green)}main{padding:32px 38px 24px;max-width:1800px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#8b9d78;margin-bottom:8px}.page-heading h1{font-size:29px;font-weight:600;letter-spacing:.3px;line-height:1.45;margin:0 0 9px}.page-heading h1>span{color:#99af7f}.page-heading p{margin:0;font-size:12px;color:#7f8d73}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:7px;border:1px solid transparent;font-size:12px;line-height:1.5;white-space:nowrap;font-weight:500}.button .icon{width:16px;height:16px}.button.primary{background:var(--green);color:#f6f8ee;border-color:var(--green)}.button.primary:not(:disabled):hover{background:#19472d}.button.secondary{background:#fff;border-color:#dce5d2;color:#70865a}.button.secondary:not(:disabled):hover{background:#f3f7ec;border-color:#bbccab}.source-strip{display:flex;align-items:center;gap:14px;background:linear-gradient(110deg,#edf3e5,#f6f8ef);border:1px solid #dfe8d4;border-radius:10px;padding:16px 19px;margin-bottom:8px}.source-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#e1ebd4;color:#7c995f;flex:none}.source-strip strong{font-size:12px;font-weight:600;color:#5c7847}.source-strip p{margin:3px 0 0;font-size:10px;color:#8c9b7b;overflow-wrap:anywhere}.source-strip>div:nth-child(2){min-width:0}.coverage{margin-left:auto;display:flex;flex-direction:column;text-align:right;white-space:nowrap;flex:none}.coverage strong{font-size:17px;font-variant-numeric:tabular-nums}.coverage span{font-size:9px;color:#91a17d}.auth-notice{font-size:10px;color:#9a8453;padding:1px 1px 8px;line-height:1.8}.workbench{display:grid;grid-template-columns:288px minmax(0,1fr);gap:30px;margin-top:24px;align-items:start}.query-panel{padding:21px 20px;background:#fff;border:1px solid #e1e7d8;border-radius:12px;position:sticky;top:20px}.panel-title{display:flex;align-items:center;gap:9px}.panel-title h2{font-size:14px;font-weight:600;margin:0}.panel-title .tiny-pill{margin-left:auto}.step-label{font-size:9px;font-weight:600;display:grid;place-items:center;width:22px;height:22px;background:#edf3e5;color:#859c6a;border-radius:6px}.tiny-pill{display:inline-block;padding:3px 7px;font-size:9px;color:#83966c;background:#f1f5e9;border:1px solid #e2e9d7;border-radius:5px;white-space:nowrap}.subtle{font-size:11px;color:#8c9980}.query-panel>.subtle{font-size:10px;margin:11px 0 15px}.query-preview{height:192px;background:#f2f4ed;border-radius:9px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#99aa86}.query-preview>img{width:100%;height:100%;object-fit:contain}.query-preview.empty>.icon{width:36px;height:36px;color:#b0bd9d;margin-bottom:13px;stroke-width:1.2}.query-preview strong{font-size:12px;font-weight:500}.query-preview small{font-size:9px;margin-top:4px;color:#a3ad94}.query-preview .preview-label{position:absolute;bottom:0;left:0;right:0;padding:8px 10px;background:#fbfdf5eb;color:#74865e;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.query-thumbnails{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.query-thumbnails:empty{display:none}.thumb-wrap{position:relative}.thumb{padding:2px;border:1px solid #dce4d1;background:#f4f6ee;border-radius:5px;width:44px;height:44px;overflow:hidden;display:block}.thumb.active{border-color:#7c9d5d;box-shadow:0 0 0 1px #a8c58b}.thumb img{width:100%;height:100%;object-fit:contain}.thumb-remove{position:absolute;top:-5px;right:-4px;border:1px solid #dde5d3;background:#fff;color:#849772;width:16px;height:16px;border-radius:50%;font-size:12px;line-height:12px;display:grid;place-items:center;padding:0}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px dashed #cbd9bc;border-radius:8px;padding:19px 8px;margin-top:14px;background:#fcfdf9;cursor:pointer;transition:.15s}.dropzone:hover,.dropzone.dragover{background:#eef5e4;border-color:#8eaf6f}.dropzone input{display:none}.dropzone>.icon{color:#8eaa70;width:22px;height:22px;margin-bottom:3px}.dropzone strong{font-size:11px;font-weight:500;color:#94a282}.dropzone strong>span{color:#6e8e50}.dropzone small{font-size:8px;color:#a2ad94;text-align:center}.field-notice{font-size:10px;color:#8c956e;line-height:1.8;margin-top:7px;overflow-wrap:anywhere}.field-notice:empty{display:none}.error-text{color:#a66752!important}.query-options{margin:19px 0 20px}.field-label{display:block;font-size:11px;color:#748763;margin-bottom:6px}select{border:1px solid #dce5d2;background:#fff;border-radius:6px;padding:7px 9px;font-size:11px;color:#748762;max-width:100%}.query-options select{width:100%}.weights-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9eedf;padding-top:17px;font-size:11px;margin-bottom:13px}.weights-heading strong{font-weight:500}.text-button{border:0;background:none;padding:0;color:#8d9f7a;font-size:10px}.text-button:hover{color:var(--green);text-decoration:underline}.weight-field{margin:11px 0}.weight-field label{font-size:10px;color:#8a977c;display:flex;gap:7px;align-items:center}.weight-field output{margin-left:auto;color:#667e51;font-size:10px;font-variant-numeric:tabular-nums}.dot{display:inline-block;flex:none;width:6px;height:6px;border-radius:50%}.upper{background:var(--purple)}.shape{background:var(--blue)}.pattern{background:var(--gold)}input[type=range]{accent-color:#819d65;cursor:pointer}.weight-field input{display:block;width:100%;margin:8px 0 0;height:3px}.weight-help{font-size:9px;line-height:1.8;color:#9aa58d;margin:15px 0 18px}.search-button{width:100%;padding:12px 13px}.search-button>span:last-child{margin-left:auto}.search-button>span:nth-child(2){margin-right:auto}.privacy-note{font-size:8px;color:#9daa8d;display:flex;align-items:center;justify-content:center;gap:4px;margin:11px 0 0}.privacy-note .icon{width:11px;height:11px}.results-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.results-heading .eyebrow{margin-bottom:5px}.results-heading h2{font-size:20px;font-weight:600;margin:0}.results-heading h2>span,.catalog-heading h2>span{font-size:11px;font-weight:500;vertical-align:middle;background:#edf3e4;color:#7a955d;padding:2px 6px;border-radius:5px;margin-left:7px}.score-note{display:flex;gap:8px;padding:11px 13px;border:1px solid #e6eadf;background:#f4f6ef;border-radius:8px;color:#97a28b;font-size:10px;margin-bottom:20px}.score-note>.icon{width:14px;height:14px;margin-top:2px;color:#a2ae94}.score-note p{margin:0}.score-note strong{font-weight:500;color:#788b65;margin-right:8px}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2e8da;padding-bottom:13px}.threshold-label{display:flex;align-items:center;gap:10px;font-size:10px;color:#8b9a7a}.threshold-label input{height:3px;width:98px;margin:0}.threshold-label output{color:#6e8b52;min-width:27px;font-size:10px;font-variant-numeric:tabular-nums}.result-toolbar>select{font-size:10px;padding:6px 8px}.result-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:12px 0 15px;font-size:10px;color:#91a07f}.result-summary p{margin:0;line-height:1.7}.check-label{display:flex;align-items:center;gap:4px;white-space:nowrap;cursor:pointer;font-size:10px}.check-label input{accent-color:#708d54;width:12px;height:12px;margin:1px 0 0}.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.product-card{background:#fff;border:1px solid #e0e7d7;border-radius:11px;overflow:hidden;min-width:0;transition:box-shadow .2s,border-color .2s}.product-card:hover{box-shadow:0 7px 18px #304e230b;border-color:#b4c8a0}.product-card.is-best{border-color:#aec596}.product-visual{position:relative;background:#edf0e8;height:200px;overflow:hidden}.product-visual>button.visual-open{width:100%;height:100%;border:0;background:transparent;padding:0;display:block}.product-visual img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s}.product-card:hover .product-visual img{transform:scale(1.025)}.image-fallback{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#a5b297;font-size:11px}.image-fallback .icon{width:30px;height:30px;stroke-width:1.3}.match-badge{position:absolute;top:11px;left:11px;background:#fbfdf5ed;color:#81966a;border:1px solid #dce8d0;border-radius:5px;padding:3px 7px;font-size:9px;pointer-events:none}.bookmark-button{position:absolute;top:9px;right:9px;width:29px;height:29px;border:1px solid #e0e8d5;background:#fffffff0;border-radius:50%;display:grid;place-items:center;color:#9aab86;padding:0}.bookmark-button .icon{width:14px;height:14px}.bookmark-button.marked{color:#638741;background:#e6f0d7;border-color:#c4d8a9}.bookmark-button.marked .icon{fill:#c9dfac}.product-body{padding:15px}.product-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.product-title{font-size:12px;font-weight:600;line-height:1.6;color:#526b43;background:none;border:0;padding:0;text-align:left;overflow-wrap:anywhere}.product-title:hover{color:#2d622d}.score{font-size:25px;line-height:1.1;color:#5f843e;letter-spacing:-.5px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.score small{font-size:10px;letter-spacing:0;font-weight:400;margin-left:1px}.sku-row{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:9px;color:#93a380;margin-bottom:13px}.sku-row>span{overflow-wrap:anywhere}.sku-row>span:last-child{color:#9ead8d}.component-scores{display:flex;gap:11px;margin-bottom:12px}.component-scores>div{flex:1;min-width:0;font-size:9px;color:#97a489}.component-scores strong{float:right;font-size:9px;color:#7f946a;font-weight:500;font-variant-numeric:tabular-nums}.mini-track{height:3px;background:#eff3e8;border-radius:5px;overflow:hidden;display:block;margin-top:6px}.mini-track>i{display:block;height:100%;opacity:.75}.card-evidence{display:flex;align-items:flex-start;gap:5px;color:#8a9b78;font-size:10px;line-height:1.7;min-height:34px;margin:0 0 12px}.card-evidence .icon{width:12px;height:12px;margin-top:2px;color:#9bb283}.card-footer{border-top:1px solid #edf1e5;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:9px;color:#a3ae94}.detail-button{background:none;border:0;padding:0;color:#7e9a60;font-size:10px;white-space:nowrap}.detail-button:hover{text-decoration:underline}.algorithm-note{font-size:10px;color:#98a58a;line-height:1.9;margin-top:17px;overflow-wrap:anywhere}.algorithm-note:empty{display:none}.empty-state{grid-column:1/-1;min-height:340px;padding:35px 25px;background:#fbfcf8;border:1px dashed #d7e2ca;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-graphic{display:grid;place-items:center;width:66px;height:66px;border-radius:19px;background:#edf3e3;color:#9bb67d;margin-bottom:20px}.empty-graphic .icon{width:29px;height:29px;stroke-width:1.2}.empty-state h3{font-weight:500;font-size:15px;color:#6d8756;margin:0 0 10px}.empty-state p{font-size:11px;color:#98a589;max-width:330px;line-height:1.9;margin:0 0 20px}.empty-state .button{font-size:11px}.loading-state{grid-column:1/-1;min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8c9e7a;font-size:12px;text-align:center;padding:24px}.loading-state p{font-size:10px;color:#a3ae94;max-width:300px}.spinner{width:32px;height:32px;border:2px solid #dfe7d3;border-top-color:#7d9b60;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:15px}@keyframes spin{to{transform:rotate(360deg)}}.notice{display:flex;align-items:flex-start;gap:9px;border-radius:8px;padding:12px 15px;font-size:11px;margin-bottom:20px;line-height:1.9}.notice>.icon{width:15px;height:15px;margin-top:3px}.notice.error{background:#f8eee6;border:1px solid #ead4c4;color:#a17455}.notice.neutral{background:#eef3e6;border:1px solid #dde7d1;color:#849a6b}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.catalog-grid .product-visual{height:215px}.marked-query{font-size:9px;color:#9ca98d;border-bottom:1px solid #edf1e5;padding-bottom:8px;margin-bottom:9px;overflow-wrap:anywhere}.review-chip{font-size:9px;color:#8d9e78}.review-chip.confirmed{color:#658548}.review-chip.rejected{color:#aa8968}.heading-actions{display:flex;gap:10px}.library-overview{border:1px solid #dee7d3;border-radius:12px;background:#fff;overflow:hidden}.library-source{display:flex;gap:16px;align-items:center;padding:25px;background:linear-gradient(120deg,#edf4e5,#f9fbf4)}.library-source>.icon{width:30px;height:30px;color:#94ac77}.library-source>div{min-width:0}.library-source .eyebrow{display:block;font-size:8px;margin-bottom:6px}.library-source strong{font-size:14px;font-weight:500;color:#68834f;display:block;overflow-wrap:anywhere}.library-source p{font-size:10px;margin:6px 0 0;color:#97a383;line-height:1.8}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0}.metric-grid>div{padding:0 27px;border-right:1px solid #e6ebde}.metric-grid>div:last-child{border-right:0}.metric-grid span{display:block;font-size:11px;color:#94a282;margin-bottom:5px}.metric-grid strong{display:block;font-size:27px;font-weight:500;line-height:1.4;color:#6b8754;font-variant-numeric:tabular-nums}.index-coverage{padding:0 27px 25px}.index-coverage>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#91a17f;margin-bottom:8px}.index-coverage strong{font-weight:500;color:#708e53}.progress-track{height:5px;border-radius:8px;background:#eaf0e1;overflow:hidden}.progress-track>i{display:block;height:100%;width:0;background:#9fbf7c;border-radius:8px;transition:width .25s}.sync-panel{padding:18px 21px;background:#fff;border:1px solid #e2e8d9;border-radius:9px;margin-top:17px}.sync-heading{display:flex;align-items:center;gap:13px}.sync-heading>.icon{width:23px;height:23px;color:#9db383}.sync-heading strong{font-size:12px;font-weight:500;color:#788e61}.sync-heading p{font-size:10px;color:#a1ad92;margin:3px 0 0}.sync-heading>.subtle{margin-left:auto;white-space:nowrap;font-size:9px}.sync-panel>.progress-track{margin-top:14px}.engine-line{display:flex;gap:7px;align-items:flex-start;font-size:10px;color:#94a482;margin:14px 2px 31px}.engine-line>.icon{width:13px;height:13px;margin-top:2px}.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.catalog-heading h2{font-size:20px;font-weight:500;margin:0 0 6px}.catalog-heading p{font-size:11px;color:#93a183;margin:0}.brand-filter{font-size:11px;color:#95a681;display:flex;align-items:center;gap:9px}.brand-filter select{min-width:130px}.catalog-product-name{font-size:12px;font-weight:500;color:#637e4d;margin:0 0 7px;line-height:1.7;overflow-wrap:anywhere}.catalog-path{font-size:9px;color:#a1ac94;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:29px;margin:10px 0 13px}.catalog-card .button{width:100%;font-size:10px;padding:7px}.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:23px;font-size:11px;color:#91a17e}.catalog-pagination:empty{display:none}.cache-section{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #e1e7d8;background:#f3f6ee;border-radius:9px;margin-top:30px;padding:20px}.cache-section strong{font-size:12px;font-weight:500;color:#788d65}.cache-section p{font-size:10px;color:#9aa68d;max-width:620px;margin:6px 0 0;line-height:1.8}.page-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #e4eadb;padding:22px 0 0;margin-top:34px;font-size:9px;color:#a6b098}.page-footer a{color:#869b6e}.page-footer a:hover{text-decoration:underline}dialog{border:1px solid #dde6d1;border-radius:15px;box-shadow:0 30px 100px #20321b40;padding:0;color:var(--ink);max-height:93vh;overflow:auto}dialog::backdrop{background:#1f30247d;backdrop-filter:blur(4px)}.detail-dialog{width:1060px;max-width:95vw}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 27px;border-bottom:1px solid #e7eddf}.dialog-header h2{font-size:18px;font-weight:500;margin:0;overflow-wrap:anywhere}.dialog-header .eyebrow{font-size:8px;margin-bottom:4px}.detail-scorebar{display:flex;align-items:center;gap:16px;background:#f6f9f0;border-bottom:1px solid #e6edda;padding:13px 27px;font-size:11px;color:#92a17d}.detail-scorebar strong{font-size:26px;font-weight:500;color:#638543;letter-spacing:-.5px}.detail-scorebar>span:last-child{margin-left:auto}.detail-notice{font-size:10px;color:#9b8a5c;background:#faf7e9;padding:10px 27px}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px 27px 0;align-items:start}.comparison-cell{border:1px solid #e2e9d8;background:#eff3e9;border-radius:9px;overflow:hidden;min-width:0}.comparison-cell header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#8b9d78;background:#f8fbf2;padding:10px 13px}.comparison-cell header>span:last-child{font-size:9px;color:#a0ad91;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:65%}.image-plane{position:relative;width:100%;min-height:100px;background:#edf0e8}.image-plane>img{width:100%;height:auto;display:block}.match-box{position:absolute;border:2px solid #b2c37a;background:#c4db7b0b;box-shadow:0 0 0 1px #ffffffa6;pointer-events:none;min-width:2px;min-height:2px}.match-box>span{position:absolute;top:3px;left:3px;font-size:9px;background:#638345e8;color:#fff;padding:2px 6px;border-radius:3px;white-space:nowrap;line-height:1.5}.photo-caption{padding:8px 12px;color:#a2ad93;font-size:9px;line-height:1.8}.detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:27px;padding:23px 27px}.detail-grid h3{font-size:12px;font-weight:500;margin:0 0 11px;color:#71895a}.evidence-list{margin:0;padding:0;list-style:none}.evidence-list li{display:flex;gap:8px;margin:8px 0;font-size:11px;color:#8a9d76;line-height:1.9}.evidence-list .evidence-num{height:18px;min-width:18px;border-radius:4px;background:#edf3e3;color:#98ae7c;display:grid;place-items:center;font-size:9px;margin-top:2px}.limitations{font-size:10px;line-height:1.9;color:#9a9f86;background:#f7f7ef;border-radius:7px;padding:13px 15px}.limitations p{margin:0 0 7px}.limitations p:last-child{margin:0}.detail-dimensions{margin-top:20px}.detail-dimensions .component-scores{gap:20px}.detail-dimensions .component-scores>div,.detail-dimensions .component-scores strong{font-size:11px}.detail-path{display:flex;gap:8px;padding:13px 27px;border-top:1px solid #e7eddf;font-size:10px;color:#98a78a;overflow-wrap:anywhere}.detail-path .icon{width:13px;height:13px;margin-top:2px}.review-panel{padding:19px 27px 23px;background:#f4f7ec;border-top:1px solid #e1e9d5}.review-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;font-size:11px;color:#8d9e79}.review-heading strong{font-weight:500;color:#718c57}.review-heading span{font-size:9px}.review-fields{display:grid;grid-template-columns:165px minmax(0,1fr) auto;gap:10px;align-items:start}.review-fields select{height:38px}.review-fields textarea{height:38px;min-height:38px;max-height:140px;resize:vertical;border:1px solid #dbe5cf;border-radius:6px;background:#fff;padding:8px 10px;font-size:10px;line-height:1.8;color:#7c906a}.review-fields textarea::placeholder{color:#a8b398}.review-fields .button{height:38px;font-size:10px}.detail-query-id{font-size:8px;color:#a9b49a;margin-top:10px;overflow-wrap:anywhere}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);background:#2d5038;color:#f6f9ee;font-size:12px;border-radius:8px;box-shadow:0 4px 25px #1a30242a;max-width:min(90vw,600px);padding:11px 20px;opacity:0;pointer-events:none;transition:.2s;z-index:1000;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.workbench{grid-template-columns:305px minmax(0,1fr);gap:34px}.results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.query-preview{height:210px}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-visual{height:215px}}
@media(max-width:1250px){.sidebar{width:185px;padding:27px 13px 0}.main-shell{margin-left:185px;width:calc(100% - 185px)}main{padding:28px}.topbar{padding:0 28px}.workbench{grid-template-columns:265px minmax(0,1fr);gap:22px}.query-panel{padding:18px 16px}.page-heading h1{font-size:25px}.product-visual{height:170px}.catalog-grid .product-visual{height:180px}.product-body{padding:13px}.threshold-label input{width:73px}.heading-actions{flex-direction:column}.score{font-size:23px}.component-scores{gap:8px}.privacy-note{font-size:8px}}
@media(max-width:1050px){.sidebar{width:77px;padding:25px 10px 0}.brand{padding:0;justify-content:center}.brand>span:last-child,.workspace-label,.sidebar-bottom,.workspace-foot,.nav-item>span:not([data-icon]),.nav-item small,.nav-item i{display:none}.sidebar nav{margin-top:35px}.nav-item{justify-content:center;padding:14px 0;margin:9px 0}.nav-item .icon{width:21px;height:21px}.main-shell{margin-left:77px;width:calc(100% - 77px)}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid .product-visual{height:215px}.page-heading p{font-size:11px}.top-actions{gap:13px}.review-fields{grid-template-columns:150px 1fr}.review-fields .button{grid-column:2;justify-self:end}.detail-grid{gap:20px}}
@media(max-width:820px){main{padding:24px}.topbar{padding:0 24px;height:59px}.workbench{grid-template-columns:235px minmax(0,1fr);gap:20px}.query-panel{padding:17px 13px}.query-preview{height:170px}.query-panel>.subtle{font-size:9px}.results-grid{grid-template-columns:1fr}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading h1{font-size:22px}.page-heading>.button{padding:9px 10px;font-size:10px}.results-heading h2{font-size:18px}.result-toolbar{flex-wrap:wrap;gap:10px}.result-toolbar>select{font-size:10px}.source-strip{padding:13px;gap:10px}.source-strip strong{font-size:11px}.coverage strong{font-size:15px}.coverage span{font-size:8px}.product-visual{height:210px}.score-note{padding:10px;font-size:9px}.score-note strong{display:block}.result-summary{flex-direction:column}.page-heading{gap:15px}.metric-grid>div{padding:0 20px}.metric-grid strong{font-size:23px}.metric-grid span{font-size:10px}.sync-heading>.subtle{display:none}.detail-grid{grid-template-columns:1fr;gap:17px}.top-actions .local-pill{display:none}.page-footer>span:last-child{display:none}}
@media(max-width:640px){.sidebar{inset:auto 0 0 0;width:100%;height:65px;padding:4px 12px;z-index:20;background:#f4f7eef5;border-top:1px solid #dbe5d0;border-right:0;backdrop-filter:blur(8px)}.sidebar .brand{display:none}.sidebar nav{display:flex;margin:0;width:100%;height:100%;justify-content:space-around}.nav-item{width:auto;min-width:86px;gap:3px;flex-direction:column;margin:0;padding:7px 12px;font-size:10px}.nav-item>span:not([data-icon]){display:block}.nav-item .icon{width:19px;height:19px}.main-shell{margin:0;width:100%;padding-bottom:65px}main{padding:24px 17px}.topbar{height:55px;padding:0 17px;gap:10px}.breadcrumb{font-size:11px;gap:10px}.connection-label{font-size:9px;gap:5px}.top-actions{gap:6px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:21px}.page-heading h1{font-size:23px;letter-spacing:0}.page-heading p{font-size:11px;line-height:1.9}.page-heading>.button{display:none}.eyebrow{font-size:8px;letter-spacing:1.8px}.source-strip{padding:13px;align-items:flex-start;gap:11px}.source-icon{width:31px;height:31px;border-radius:8px}.source-icon .icon{width:16px;height:16px}.source-strip strong{font-size:11px}.source-strip p{font-size:9px}.coverage strong{font-size:14px}.coverage span{font-size:8px;white-space:normal;max-width:76px}.coverage{min-width:71px}.auth-notice{font-size:9px;padding-top:3px}.workbench{display:flex;flex-direction:column;gap:28px;margin-top:20px}.query-panel{position:static;width:100%;padding:20px}.query-preview{height:230px}.query-panel>.subtle{font-size:10px}.query-thumbnails{margin:12px 0}.thumb{width:48px;height:48px}.dropzone{padding:20px 12px}.dropzone small{font-size:9px}.dropzone strong{font-size:12px}.query-options{margin:20px 0}.field-label,.weights-heading{font-size:12px}.weight-field label,.weight-field output{font-size:11px}.weight-field{margin:15px 0}.weight-help,.privacy-note{font-size:10px}.text-button{font-size:10px}.search-button{font-size:13px;padding:13px}.results-panel{width:100%}.results-heading h2{font-size:21px}.result-toolbar{flex-wrap:nowrap;gap:10px}.threshold-label{font-size:10px;gap:7px}.threshold-label input{width:70px}.result-toolbar>select{font-size:10px;padding:6px}.score-note{font-size:10px;padding:12px}.score-note strong{display:inline}.result-summary{flex-direction:row;font-size:10px}.result-summary p{flex:1}.check-label{font-size:9px}.product-visual,.catalog-grid .product-visual{height:238px}.results-grid,.catalog-grid{grid-template-columns:1fr;gap:18px}.product-body{padding:17px}.product-title,.catalog-product-name{font-size:14px}.score{font-size:28px}.sku-row,.sku-row>span:last-child{font-size:11px}.component-scores>div,.component-scores strong{font-size:11px}.component-scores{gap:16px}.card-evidence{font-size:11px;min-height:0;margin-bottom:14px}.card-footer,.detail-button{font-size:11px}.match-badge{font-size:10px}.bookmark-button{width:32px;height:32px}.bookmark-button .icon{width:16px;height:16px}.algorithm-note{font-size:10px}.notice{font-size:10px}.page-footer{font-size:8px;margin-top:28px;padding-top:20px}.heading-actions{gap:7px}.heading-actions .button{font-size:9px;padding:8px;gap:5px}.heading-actions .icon{width:13px;height:13px}.library-source{padding:20px 17px;gap:12px;align-items:flex-start}.library-source strong{font-size:12px}.library-source>.icon{width:25px;height:25px;margin-top:5px}.library-source p{font-size:9px}.metric-grid{grid-template-columns:1fr 1fr;gap:20px;padding:20px 0}.metric-grid>div{padding:0 22px}.metric-grid>div:nth-child(2){border:0}.metric-grid strong{font-size:26px}.metric-grid span{font-size:11px}.index-coverage{padding:0 22px 22px}.index-coverage>div:first-child{font-size:9px}.sync-panel{padding:15px}.sync-heading{gap:10px}.sync-heading p{font-size:10px}.engine-line{font-size:9px;line-height:1.8;margin-bottom:24px}.catalog-heading{flex-direction:column;align-items:flex-start;gap:13px}.catalog-heading h2{font-size:20px}.catalog-heading p{font-size:10px}.brand-filter{width:100%}.brand-filter select{flex:1}.catalog-path{font-size:10px;min-height:0}.catalog-card .button{font-size:11px;padding:9px}.cache-section{align-items:flex-start;flex-direction:column;gap:14px;padding:17px}.cache-section p{font-size:10px}.cache-section .button{font-size:11px}.detail-dialog{max-width:96vw;max-height:95vh;border-radius:12px}.dialog-header{padding:18px;gap:12px}.dialog-header h2{font-size:16px}.detail-scorebar{padding:12px 18px;gap:10px;font-size:10px}.detail-scorebar strong{font-size:24px}.detail-scorebar>span:last-child{display:none}.detail-notice{padding:10px 18px;font-size:9px;line-height:1.8}.comparison-grid{grid-template-columns:1fr;padding:18px 18px 0;gap:15px}.detail-grid{padding:20px 18px}.detail-path{padding:12px 18px;font-size:9px}.review-panel{padding:17px 18px 20px}.review-heading{gap:10px}.review-heading span{font-size:8px}.review-fields{grid-template-columns:1fr}.review-fields .button{grid-column:auto;width:100%}.review-fields textarea{height:64px}.toast{bottom:79px;font-size:11px;max-width:90vw}.empty-state{min-height:300px;padding:30px 20px}.empty-state h3{font-size:14px}.empty-state p{font-size:11px}.field-notice{font-size:11px}}
.image-plane .image-fallback{min-height:210px}.variants-panel{padding:0 27px 23px}.variants-panel h3{font-size:12px;font-weight:500;color:#71895a;margin:0 0 6px}.variants-panel h3>span{font-size:10px;background:#edf3e4;border-radius:4px;padding:1px 5px;margin-left:6px}.variants-panel p{font-size:10px;color:#99a78a;margin:0 0 13px;line-height:1.8}.variant-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.variant-thumb{display:block;border:1px solid #dfe7d5;background:#f5f8ef;border-radius:7px;overflow:hidden;min-width:0}.variant-thumb:hover{border-color:#9ebc82}.variant-thumb>img{display:block;width:100%;height:94px;object-fit:contain;background:#eef2e7}.variant-thumb>span{display:block;padding:7px;font-size:9px;color:#8fa378;overflow-wrap:anywhere;line-height:1.6}.variant-thumb>.image-fallback{height:94px;font-size:8px}.variant-thumb>.image-fallback .icon{width:20px;height:20px}
@media(max-width:820px){.variant-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.variants-panel{padding:0 18px 20px}.variant-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.variant-thumb>img{height:82px}.variant-thumb>span{font-size:8px;padding:6px}}
/* Keep Chinese copy readable on desktop and small screens. */
:root{--muted:#64735e}
.workspace-label,.sidebar-bottom strong,.sidebar-bottom p,.sidebar-bottom a,.workspace-foot,.workspace-foot small,.breadcrumb,.top-actions,.connection-label{font-size:12px}
.workspace-label,.sidebar-bottom p,.sidebar-bottom a,.workspace-foot small,.breadcrumb,.top-actions,.connection-label{color:#64735e}
.page-heading p{font-size:13px;color:#64735e;line-height:1.85}
.button,.page-heading>.button,.heading-actions .button,.catalog-card .button,.cache-section .button,.empty-state .button,.review-fields .button{font-size:13px}
.button.secondary,.text-button,.detail-button{color:#587048}
.source-strip strong{font-size:13px;color:#526c40}.source-strip p{font-size:12px;color:#64735e;line-height:1.8}
.coverage span{font-size:12px;color:#64735e}.auth-notice{font-size:12px;color:#815e3a;line-height:1.85;padding-top:4px}
.subtle,.query-panel>.subtle,.tiny-pill,.field-label,.weights-heading,.weight-field label,.weight-field output,.weight-help,.privacy-note,.text-button,.field-notice{font-size:12px;color:#64735e}
.weights-heading,.field-label,.weight-field label{font-size:13px}.tiny-pill{color:#61794c}.query-preview strong{font-size:14px;color:#61794e}.query-preview small,.query-preview .preview-label{font-size:12px;color:#64735e}
.dropzone strong{font-size:13px;color:#64735e}.dropzone strong>span{color:#526f3b}.dropzone small{font-size:12px;color:#64735e;line-height:1.7}
.paste-hint{display:block;font-size:11px;line-height:1.8;color:#526f3b;margin:5px 0 3px}.paste-hint kbd{font:inherit;font-weight:600;background:#edf3e5;border:1px solid #d9e3cf;border-radius:4px;padding:1px 4px;white-space:nowrap}
select,.query-options select,.result-toolbar>select,.review-fields select,.review-fields textarea{font-size:13px;color:#586f49}
.review-fields textarea::placeholder{color:#77876b}.weight-help,.privacy-note{line-height:1.8}
.score-note{font-size:13px;color:#64735e;line-height:1.85}.score-note strong{color:#526c41}.score-note>.icon{color:#748b60;margin-top:4px}
.threshold-label,.threshold-label output,.check-label{font-size:12px;color:#64735e}.result-summary{font-size:13px;color:#64735e}.result-summary p{line-height:1.85}
.product-title,.catalog-product-name{font-size:14px;color:#455f37}.score small{font-size:12px}.sku-row,.sku-row>span:last-child{font-size:12px;color:#64735e}
.component-scores>div,.component-scores strong,.detail-dimensions .component-scores>div,.detail-dimensions .component-scores strong{font-size:12px;color:#64735e}
.component-scores>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px}.component-scores .mini-track{width:100%;flex-basis:100%;margin-top:4px}.component-scores strong{float:none;color:#587146}
.card-evidence{font-size:13px;color:#64735e;line-height:1.8}.card-evidence .icon{color:#7b9566;margin-top:4px}
.card-footer,.detail-button,.review-chip,.marked-query,.match-badge{font-size:12px;color:#64735e}.review-chip.confirmed{color:#4d7136}.review-chip.rejected{color:#8b6544}
.algorithm-note{font-size:13px;color:#64735e;line-height:1.85}.empty-state h3{color:#576f43}.empty-state p,.loading-state p,.image-fallback,.variant-thumb>.image-fallback{font-size:12px;color:#64735e}.loading-state{font-size:13px;color:#64735e}
.notice{font-size:12px}.notice.neutral{color:#64735e}.notice.error{color:#8b5d3e}.error-text{color:#95533d!important}
.library-source strong{color:#526c40}.library-source p,.metric-grid span,.index-coverage>div:first-child,.sync-heading p,.sync-heading>.subtle,.engine-line,.catalog-heading p,.brand-filter,.catalog-path,.catalog-pagination,.cache-section p{font-size:12px;color:#64735e;line-height:1.8}
.sync-heading strong,.cache-section strong{font-size:13px;color:#536e41}.page-footer,.page-footer a{font-size:12px;color:#64735e}
.detail-scorebar{font-size:12px;color:#64735e}.detail-notice{font-size:13px;color:#82613c;line-height:1.85}
.comparison-cell header,.comparison-cell header>span:last-child,.photo-caption,.detail-path{font-size:12px;color:#64735e}.photo-caption{line-height:1.8}.match-box>span{font-size:12px}
.detail-grid h3,.variants-panel h3{font-size:13px;color:#526c41}.evidence-list li,.limitations{font-size:13px;color:#64735e;line-height:1.85}
.review-heading,.review-heading span{font-size:12px;color:#64735e}.review-heading strong{font-size:13px;color:#526c41}
.variants-panel p,.variant-thumb>span{font-size:12px;color:#64735e;line-height:1.8}.toast{font-size:13px}
@media(max-width:820px){.result-toolbar{flex-wrap:wrap}.result-summary{gap:12px}.query-panel>.subtle{line-height:1.8}.privacy-note{align-items:flex-start}.privacy-note .icon{margin-top:5px}}
@media(max-width:640px){.nav-item{font-size:12px}.topbar{min-height:55px;height:auto;padding-top:10px;padding-bottom:10px;align-items:center}.connection-label{font-size:12px;line-height:1.6}.breadcrumb{font-size:12px}.top-actions{min-width:0}.source-strip{flex-wrap:wrap}.source-strip>div:nth-child(2){flex:1}.coverage{margin-left:0;padding-left:42px;box-sizing:border-box;text-align:left;flex-direction:row;align-items:center;gap:8px;flex-basis:100%}.coverage span{max-width:none;white-space:normal}.source-strip p{font-size:12px}.auth-notice{font-size:12px}.dropzone small{font-size:12px}.result-toolbar{flex-wrap:wrap;gap:13px}.result-toolbar>select{font-size:13px}.threshold-label{font-size:12px}.result-summary{flex-direction:column;gap:8px}.result-summary p{font-size:13px}.heading-actions .button{font-size:13px;white-space:normal}.heading-actions{min-width:117px}.page-footer{flex-wrap:wrap;row-gap:8px}.review-heading{align-items:flex-start;flex-wrap:wrap;gap:6px}.review-fields textarea{font-size:13px}.variant-thumb>span{font-size:12px}.detail-scorebar{flex-wrap:wrap}.card-evidence{font-size:13px}.component-scores>div,.component-scores strong{font-size:12px}}
/* Multiple recursive NAS sources share one searchable local library. */
.background-notice{font-size:13px;color:#5d754c;line-height:1.85;background:#eff5e7;border:1px solid #dce7d0;border-radius:8px;padding:11px 14px;margin:8px 0 0}
.scope-note{font-size:12px;line-height:1.8;color:#64735e;margin:8px 0 16px}.query-options>select{width:100%}
.source-overview{margin-top:25px}.source-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.source-overview-heading h2{font-size:18px;font-weight:500;margin:0;white-space:nowrap}.source-overview-heading h2>span{font-size:12px;background:#e9f0e1;color:#627e4d;border-radius:5px;padding:2px 6px;margin-left:6px}.source-overview-heading p{font-size:12px;color:#64735e;line-height:1.8;margin:0}
.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.source-card{background:#fff;border:1px solid #dfe7d5;border-radius:10px;padding:17px 18px;min-width:0}.source-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.source-card-heading strong{font-size:14px;font-weight:500;color:#4f693e;overflow-wrap:anywhere}.source-state{flex:none;font-size:12px;color:#6b7e58;background:#f0f5e9;border-radius:5px;padding:2px 6px;white-space:nowrap}.source-state.running{color:#567b35;background:#e7f1da}.source-state.error{color:#92613c;background:#f8efe4}.source-card-path{font-size:12px;color:#64735e;overflow-wrap:anywhere;line-height:1.8;margin:7px 0 12px}.source-card-path>span{color:#7c896f;white-space:nowrap}.source-card-counts{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#64735e;margin:0 0 10px;flex-wrap:wrap}.source-card-counts b{font-size:14px;font-weight:500;color:#557141;margin-left:3px;font-variant-numeric:tabular-nums}.source-card>.progress-track{height:4px}.source-card>.text-button{margin-top:12px;font-size:12px;color:#5c7c43}.source-card-error{font-size:12px;color:#955f3d;line-height:1.8;margin:10px 0 0;overflow-wrap:anywhere}.source-list-empty{grid-column:1/-1;border:1px dashed #dce6cf;border-radius:8px;padding:20px;font-size:13px;color:#64735e;background:#f6f9f1}
.scan-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid #e5ecdd;margin-top:17px;padding-top:16px}.scan-counts>div{min-width:0}.scan-counts span{display:block;font-size:12px;color:#64735e;line-height:1.8}.scan-counts strong{display:block;font-size:22px;font-weight:500;color:#577341;font-variant-numeric:tabular-nums;margin-top:3px}.sync-current-folder{font-size:12px;line-height:1.8;color:#64735e;background:#f5f8ef;border-radius:6px;padding:9px 11px;margin:14px 0 0;overflow-wrap:anywhere}.sync-heading>div{min-width:0}.sync-heading p{line-height:1.85}
.catalog-heading{flex-wrap:wrap}.catalog-filters{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.catalog-filters .brand-filter{font-size:12px}.catalog-filters select{max-width:220px;min-width:130px}.catalog-filters .button{padding:7px 11px}.product-source{display:flex;align-items:flex-start;gap:6px;color:#64735e;font-size:12px;line-height:1.75;margin:0 0 12px;overflow-wrap:anywhere}.product-source .icon{width:13px;height:13px;margin-top:4px;color:#7c9269}.product-source>span{min-width:0}.catalog-card .product-source{margin:4px 0 7px}.detail-source-root{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 27px;border-top:1px solid #e7eddf;font-size:12px;color:#64735e}.detail-source-root>strong{font-size:13px;font-weight:500;color:#536f40}.detail-source-root .product-source{margin:0}.detail-source-root>span{overflow-wrap:anywhere}
@media(min-width:1600px){.source-list{grid-template-columns:repeat(4,minmax(0,1fr))}.source-card{padding:15px}.source-card-counts{gap:6px}.source-card-counts span{display:flex;flex-direction:column}.source-card-counts b{margin:1px 0 0;font-size:17px}}
@media(max-width:820px){.source-overview-heading{align-items:flex-start;flex-direction:column;gap:6px}.catalog-filters{justify-content:flex-start}.source-card{padding:15px}.source-card-counts{gap:7px}.source-card-counts b{font-size:13px}}
@media(max-width:640px){.source-list{grid-template-columns:1fr}.source-overview-heading h2{font-size:18px}.source-overview-heading p{font-size:12px}.source-card{padding:17px}.source-card-counts b{font-size:15px}.background-notice{font-size:13px;padding:11px 12px}.scan-counts{gap:11px}.scan-counts span{font-size:12px}.scan-counts strong{font-size:21px}.catalog-filters{width:100%;flex-direction:column;align-items:stretch;gap:10px}.catalog-filters .brand-filter{width:100%;gap:12px}.catalog-filters select{max-width:none;width:100%;min-width:0}.catalog-filters .button{align-self:flex-end;padding:8px 12px}.detail-source-root{padding:12px 18px;gap:8px}.scope-note{font-size:12px}.source-card-counts{gap:10px}.sync-current-folder{font-size:12px}}
.other-assets-note{font-size:13px;line-height:1.85;color:#815f3d;background:#faf5e9;border:1px solid #eadfc9;border-radius:8px;padding:12px 15px;margin-top:15px}.source-card-unhandled{font-size:12px;line-height:1.8;color:#866542;background:#faf6ec;border-radius:5px;padding:7px 9px;margin:10px 0 0}.heading-actions{flex-wrap:wrap}.heading-actions #pause-button{border-color:#d9c9a9;color:#81653e;background:#fbf8ef}.heading-actions #pause-button:disabled{opacity:.75;cursor:wait}.variant-empty{font-size:12px;color:#64735e;background:#f4f7ed;border-radius:6px;padding:11px 13px}.variants-panel h3>span{font-size:12px}
@media(max-width:640px){.other-assets-note{font-size:13px;padding:11px 13px}.heading-actions #pause-label{white-space:normal}.heading-actions{max-width:155px}.source-card-unhandled{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}

/* Source cards expose the same saved sync scope and one-time scan draft. */
.source-manage-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:0 0 14px;padding:15px 17px;border:1px solid #d4e1c9;border-radius:10px;background:#f0f6e9;min-width:0}
#source-selection-note{flex:1 1 310px;margin:0;font-size:13px;line-height:1.85;color:#5d7151;min-width:0}
.source-manage-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;min-width:0}
.source-manage-actions .button{font-size:13px;min-height:42px;padding:10px 13px;white-space:normal}
#source-batch-status{flex-basis:100%;margin:0;padding-top:10px;border-top:1px solid #dce7d2;color:#4d6c3e;font-size:13px;line-height:1.85;overflow-wrap:anywhere}
#source-batch-status:empty{display:none}
.source-card-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid #e4ebdd;margin-top:14px;padding-top:14px}
.source-card-choice{display:flex;align-items:center;gap:8px;min-width:0;min-height:42px;padding:9px 10px;border:1px solid #dbe5d1;border-radius:7px;background:#fafcf7;color:#566e46;font-size:13px;line-height:1.7;cursor:pointer;user-select:none}
.source-card-choice input{width:17px;height:17px;margin:0;flex:none;accent-color:#47793c;cursor:pointer}
.source-card-choice>span{min-width:0;overflow-wrap:anywhere}
.source-card-choice:has(input:checked){border-color:#9fbd89;background:#edf5e5;color:#3f6334}
.source-card-choice:has(input:not(:disabled)):hover{border-color:#a9c197;background:#f1f7eb}
.source-card-choice:focus-within{outline:2px solid #7d9f64;outline-offset:2px}
.source-card-choice:has(input:disabled){background:#f3f5f0;border-color:#e1e6dc;color:#7d8975;cursor:not-allowed}
.source-card-choice input:disabled{cursor:not-allowed;opacity:.65}
.source-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:10px}
.source-card-actions .source-rescan{width:100%;min-height:42px;padding:10px 12px;font-size:13px;white-space:normal}
.source-manage-actions .button:disabled,.source-card-actions .source-rescan:disabled{opacity:1;background:#edf0e8;border-color:#dce3d5;color:#839078;box-shadow:none;cursor:not-allowed}
.source-card-selection-note{margin:8px 0 0;font-size:12px;line-height:1.85;color:#64735e;overflow-wrap:anywhere}
.source-card-selection-note:empty{display:none}
@media(max-width:820px){.source-manage-toolbar{align-items:flex-start;gap:11px;padding:14px 15px}#source-selection-note{flex-basis:100%}.source-manage-actions{width:100%;justify-content:flex-end}}
@media(max-width:640px){.source-manage-toolbar{padding:13px}.source-manage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.source-manage-actions .button{width:100%;padding:10px 8px;gap:6px}.source-card-controls{gap:8px}.source-card-choice{padding:10px;min-height:44px}.source-card-actions .source-rescan{min-height:44px}#source-selection-note,#source-batch-status{font-size:13px}}
@media(max-width:380px){.source-manage-actions{grid-template-columns:1fr}.source-card-controls{grid-template-columns:1fr}}
/* Continuous NAS updates are directory polling, not a whole-library countdown. */
.live-sync-panel{margin:0 0 24px;padding:23px 25px;border:1px solid #cbdcc1;border-radius:12px;background:linear-gradient(135deg,#f1f7eb,#fbfcf8);min-width:0}.live-sync-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.live-sync-heading>div:first-child{min-width:0}.live-sync-heading h2{font-size:20px;line-height:1.55;font-weight:600;color:#3e633d;margin:4px 0 6px}.live-sync-heading h2>span{font-size:14px;font-weight:500;white-space:nowrap}.live-sync-heading p{font-size:13px;color:#64735e;margin:0;line-height:1.85}.live-sync-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex:none}.live-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.7;padding:4px 9px;border-radius:30px;background:#e7eedf;color:#607152;white-space:nowrap}.live-state::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.live-state.active{color:#42723b;background:#e4efd9}.live-state.warning{color:#8a6336;background:#f8edda}.live-interval-note{font-size:12px;color:#64735e;line-height:1.85;margin:16px 0}.live-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border-top:1px solid #dce7d2;border-bottom:1px solid #dce7d2;padding:16px 0}.live-metrics>div{min-width:0}.live-metrics span{display:block;font-size:12px;color:#64735e}.live-metrics strong{display:block;font-size:23px;font-weight:500;color:#46653c;font-variant-numeric:tabular-nums;margin-top:4px;overflow-wrap:anywhere}.live-check-times{display:flex;gap:9px 24px;flex-wrap:wrap;font-size:12px;color:#64735e;line-height:1.85;padding:13px 0}.live-check-times b{font-weight:500;margin-left:5px;color:#4e6644}.live-changes-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #e0e8d7;padding-top:13px;margin-top:2px;font-size:12px;color:#64735e}.live-changes-heading strong{font-size:13px;color:#4c6542;font-weight:500}.live-recent-changes{margin-top:9px;max-height:200px;overflow:auto}.live-change{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#64735e;line-height:1.8;padding:5px 0}.live-change-type{flex:none;min-width:36px;color:#517642}.live-change-type.removed{color:#91694c}.live-change-path{min-width:0;overflow-wrap:anywhere;flex:1}.live-change time{flex:none;font-size:12px;color:#738269;font-variant-numeric:tabular-nums}.live-empty{font-size:12px;color:#64735e;margin:3px 0}.live-footnote{font-size:12px;line-height:1.85;color:#64735e;margin:14px 0 0}.live-sync-panel .error-text{font-size:13px;margin-top:10px}.catalog-auto-note{font-size:12px;color:#64735e;margin:-7px 0 17px;line-height:1.8}
@media(max-width:1100px){.live-sync-heading{flex-direction:column;gap:15px}.live-sync-actions{width:100%;justify-content:flex-start}.live-metrics{gap:12px}.live-metrics strong{font-size:21px}}
@media(max-width:640px){.live-sync-panel{padding:18px 16px}.live-sync-heading h2{font-size:19px}.live-sync-heading h2>span{font-size:13px}.live-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.live-metrics strong{font-size:22px}.live-changes-heading{align-items:flex-start;flex-direction:column;gap:3px}.live-change{flex-wrap:wrap;gap:2px 7px}.live-change time{flex-basis:100%;padding-left:43px}.live-check-times{flex-direction:column;gap:5px}.live-sync-actions .button{font-size:13px}.live-interval-note,.live-footnote,.catalog-auto-note{font-size:12px}}

/* Scope drafts are independent of saved background job settings. */
.scope-picker{margin-top:20px;padding:18px 0 0;border-top:1px solid #dce7d2}.scope-picker-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.scope-picker-heading h3{font-size:14px;font-weight:600;color:#46663d;margin:0 0 4px}.scope-picker-heading h2{font-size:20px;font-weight:600;color:#46663d;margin:4px 0}.scope-picker-heading p{font-size:12px;line-height:1.85;color:#64735e;margin:0}.scope-selection-count{font-size:12px;color:#557044;flex:none;background:#e9f0e0;padding:3px 8px;border-radius:6px;font-variant-numeric:tabular-nums}.scope-picker-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0 10px}.scope-picker-tools .text-button{font-size:12px;color:#537645}.scope-saved{font-size:12px;color:#64735e;margin-left:auto}.scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.scope-option{display:flex;align-items:flex-start;gap:9px;padding:9px 11px;background:#ffffffd9;border:1px solid #dce6d3;border-radius:7px;cursor:pointer;min-width:0;font-size:13px;color:#546d46;line-height:1.75}.scope-option:has(input:checked){border-color:#b2c99e;background:#f4f9ee}.scope-option:focus-within{outline:2px solid #9bbd7d;outline-offset:2px}.scope-option input{width:15px;height:15px;margin:4px 0 0;accent-color:#618b49;flex:none}.scope-option span{overflow-wrap:anywhere;min-width:0}.scope-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:13px}.scope-picker-footer p{font-size:12px;line-height:1.85;color:#64735e;margin:0;max-width:540px}.scope-picker-footer .button{flex:none;font-size:13px}.scope-picker-footer p.unsaved{color:#896334}.manual-scan-panel{border:1px solid #dbe5d1;border-radius:12px;background:#fff;padding:22px 25px;margin-bottom:24px;min-width:0}.manual-progress{margin-top:17px;border:1px solid #dfe8d5;background:#f5f8f0;border-radius:8px;padding:15px 17px}.manual-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.manual-progress-heading strong{font-size:14px;font-weight:500;color:#4f6f3e}.manual-progress-heading .text-button{font-size:12px;color:#8d643b}.manual-progress-roots{font-size:12px;color:#64735e;margin:8px 0 10px;overflow-wrap:anywhere;line-height:1.85}.manual-progress-counts{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:12px;color:#64735e}.manual-progress-counts b{font-size:15px;font-weight:500;color:#4b6d3b;margin-left:6px;font-variant-numeric:tabular-nums}#manual-progress-note{font-size:12px;color:#64735e;line-height:1.85;margin:9px 0 0}.scope-options:empty::after{content:'正在读取来源目录';font-size:12px;color:#64735e;grid-column:1/-1;padding:10px 0}
@media(max-width:1100px){.scope-picker-footer{align-items:flex-start;flex-direction:column;gap:10px}.scope-picker-footer .button{align-self:flex-end}}
@media(max-width:640px){.manual-scan-panel{padding:18px 16px}.scope-options{grid-template-columns:1fr}.scope-picker-heading{gap:10px}.scope-selection-count{font-size:12px;white-space:nowrap}.scope-saved{margin-left:0;flex-basis:100%}.scope-option{font-size:13px}.manual-progress{padding:13px}.manual-progress-heading{align-items:flex-start}.manual-progress-counts{gap:8px 16px}.scope-picker-footer .button{width:100%;justify-content:center}.scope-picker-heading h2{font-size:19px}}

.live-active-scope-summary{font-size:13px;font-weight:500;color:#4c6a3e;margin:13px 0 7px;line-height:1.85}

/* LAN members share retrieval while host-only controls stay hidden. */
.member-hidden{display:none!important}.access-pending [data-host-only]{display:none!important}.search-queue-note{display:flex;gap:10px;background:#f4f6ee;border:1px solid #e0e6d7;border-radius:8px;color:#64735e;padding:10px 13px;margin-top:10px;font-size:12px;line-height:1.8}.search-queue-note>.icon{width:17px;height:17px;color:#6c8756;margin-top:3px}.search-queue-note p{margin:0}.search-queue-note span#search-queue-counts{display:block;font-size:12px;color:#526d43;margin-top:3px;font-variant-numeric:tabular-nums}.share-panel{background:#fff;border:1px solid #cddfc1;border-radius:12px;padding:23px 25px;margin-bottom:24px;min-width:0}.share-heading{display:flex;gap:14px;align-items:flex-start}.share-symbol{display:grid;place-items:center;flex:none;width:42px;height:42px;background:#eaf2e2;border:1px solid #d9e7cc;border-radius:10px;color:#588244}.share-symbol>.icon{width:21px;height:21px}.share-heading>div{min-width:0;flex:1}.share-heading h2{margin:4px 0 6px;font-size:20px;font-weight:600;color:#42633a}.share-heading p{font-size:13px;color:#64735e;line-height:1.85;margin:0}.access-badge{font-size:12px;color:#557544;background:#edf4e6;border-radius:6px;padding:4px 8px;white-space:nowrap;flex:none}.share-url-list{margin-top:17px;display:grid;gap:9px}.share-address-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border:1px solid #dce7d2;background:#f7faf2;border-radius:8px;padding:12px 14px;min-width:0}.share-address{min-width:0;flex:1;color:#406b39;text-decoration:underline;text-underline-offset:4px;font-size:16px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.share-address-row>.button{flex:none;font-size:13px;padding:7px 12px}.share-fallback{flex-basis:100%;width:100%;min-width:0;border:1px solid #acc994;border-radius:5px;padding:8px 10px;background:#fff;font-size:13px;color:#3f6339}.share-help{font-size:12px;line-height:1.9;color:#64735e;margin:12px 0 0}.share-no-address{background:#f6f8f1;border-radius:7px;padding:13px 15px;font-size:13px;color:#64735e;line-height:1.85}.member-access-notice{display:flex;align-items:flex-start;gap:12px;padding:18px 20px;margin-bottom:24px;background:#f0f5e9;border:1px solid #dce6d1;border-radius:10px}.member-access-notice>.icon{flex:none;color:#63884e;margin-top:2px}.member-access-notice strong{font-size:15px;font-weight:500;color:#44673b}.member-access-notice p{font-size:13px;color:#64735e;line-height:1.85;margin:5px 0 0}
@media(max-width:640px){.share-panel{padding:18px 16px}.share-heading{gap:10px;flex-wrap:wrap}.share-heading .access-badge{margin-left:52px}.share-heading h2{font-size:19px}.share-address-row{padding:11px 12px;gap:11px}.share-address{font-size:14px;flex-basis:100%}.share-address-row>.button{margin-left:auto}.member-access-notice{padding:15px 16px}.search-queue-note{font-size:12px}.query-panel .privacy-note{font-size:12px}}
.batch-builder{border-top:1px solid #e7ecdf;margin-top:21px;padding-top:17px}.batch-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.batch-builder-heading strong{font-size:13px;color:#506944;font-weight:600}.batch-builder>p{font-size:11px;color:#71806a;line-height:1.8;margin:6px 0 12px}.batch-name-input{width:100%;height:36px;border:1px solid #dbe5cf;border-radius:6px;padding:7px 10px;font-size:12px;background:#fff;margin:5px 0 10px}.batch-add-button,.batch-run-button{width:100%;font-size:12px;margin-top:7px}.batch-task-list{display:grid;gap:7px;margin-top:11px}.batch-empty{font-size:11px;color:#89977d;background:#f7f9f3;border-radius:6px;padding:10px;margin:0!important}.batch-task-item{display:flex;align-items:center;gap:9px;border:1px solid #e1e8d8;border-radius:7px;padding:7px;min-width:0;background:#fbfcf8}.batch-task-thumb{width:39px;height:39px;flex:none;border-radius:5px;overflow:hidden;background:#f0f3e9}.batch-task-thumb img{width:100%;height:100%;object-fit:cover}.batch-task-info{min-width:0;flex:1}.batch-task-info strong,.batch-task-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-task-info strong{font-size:11px;color:#566f46;font-weight:500}.batch-task-info span,.batch-remove{font-size:10px;color:#849277}.batch-status{font-size:11px!important;color:#587149!important;margin:8px 0 0!important;line-height:1.7}.batch-result-group{border:1px solid #e1e8d8;background:#fff;border-radius:10px;padding:14px;margin:0 0 17px;min-width:0}.batch-result-group>header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf1e7;padding:0 0 11px;margin-bottom:12px}.batch-result-group>header>div{display:flex;align-items:center;gap:9px;min-width:0}.batch-result-group>header strong{font-size:13px;color:#526c41;overflow-wrap:anywhere}.batch-result-number{display:grid;place-items:center;width:24px;height:24px;flex:none;background:#edf3e5;border-radius:6px;color:#718b56;font-size:10px}.batch-result-state{font-size:10px;color:#879779;white-space:nowrap}.batch-result-group .results-grid{margin:0}.batch-result-group .product-card{min-width:0}.batch-result-group .loading-state{min-height:150px}.batch-error{font-size:11px;line-height:1.8;color:#8b755b;margin:0;padding:6px}.batch-result-group .results-grid>.batch-error{grid-column:1/-1}
@media(max-width:640px){.batch-builder{margin-top:18px}.batch-result-group{padding:10px}.batch-result-group>header{align-items:flex-start}.batch-result-group>header strong{font-size:12px}.batch-result-state{white-space:normal;text-align:right}.batch-task-item{padding:6px}}
.mobile-upload-hint{display:none}
@media(max-width:640px){
  .mobile-upload-hint{display:block}.desktop-paste-hint{display:none}
  .sidebar{height:calc(65px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
  .sidebar nav{height:65px;flex:0 0 65px}
  .main-shell{padding-bottom:calc(65px + env(safe-area-inset-bottom))}
  .dropzone{min-height:132px;padding:22px 14px;gap:9px;touch-action:manipulation}
  .dropzone>.icon{width:27px;height:27px}
  .dropzone strong{font-size:14px}
  .dropzone small{font-size:11px}
  .mobile-upload-hint{font-size:12px;line-height:1.7;color:#526f3b}
  .batch-name-input,.query-options select,.review-fields select{min-height:44px;font-size:16px}
  .batch-add-button,.batch-run-button,.search-button,.catalog-card .button,.share-address-row>.button,.scope-picker-footer .button,.manual-scan-panel .button{min-height:44px}
  .result-toolbar{flex-wrap:wrap;align-items:stretch;gap:11px}
  .threshold-label{flex:1 1 100%;font-size:12px}
  .threshold-label input{flex:1;width:auto;min-width:80px;height:24px}
  .result-toolbar>select{width:100%;min-height:42px;font-size:13px}
  .result-summary{flex-direction:column;align-items:flex-start;gap:8px}
  .check-label{min-height:38px;font-size:12px;gap:8px}
  .check-label input{width:18px;height:18px}
  .thumb{width:54px;height:54px}
  .thumb-remove{width:27px;height:27px;top:-9px;right:-8px;font-size:17px;line-height:22px}
  .nav-item{min-height:56px;touch-action:manipulation}
  .icon-button{width:40px;height:40px}
  .toast{bottom:calc(79px + env(safe-area-inset-bottom))}
  .share-address-row{flex-wrap:wrap}
  .share-address{overflow-wrap:anywhere;word-break:break-all}
  .source-manage-actions{width:100%;flex-direction:column}
  .source-manage-actions .button{width:100%;min-height:44px}
  .scope-option{min-height:44px}
  .source-card-controls button,.source-card-controls label{min-height:42px}
}
@media(min-width:641px){#search-scope-note{display:none}}

.install-app-button{min-height:36px;padding:7px 11px}.install-help{padding:10px 12px;background:#f4f7ee;border-radius:8px}


.mobile-brand{display:none}
.desktop-task-panel,#desktop-batch-slot,#desktop-weight-slot{display:none}
@media(max-width:640px){
  .mobile-brand{display:flex;align-items:center;gap:8px;min-width:0;color:#233b2e}
  .mobile-brand img{display:block;width:34px;height:34px;flex:none;border-radius:9px;object-fit:contain}
  .mobile-brand span{display:flex;flex-direction:column;gap:2px}
  .mobile-brand strong{font-size:14px;line-height:1.2;letter-spacing:.02em}
  .mobile-brand small{font-size:9px;line-height:1.3;color:#84917f}
  .topbar{height:60px;min-height:60px;padding:8px 16px;justify-content:space-between;gap:8px;background:#f9faf6}
  .breadcrumb{display:none}
  .top-actions{gap:8px}
  .local-pill{display:none}
  .connection-label{padding:5px 8px;border:1px solid #dfe8d8;background:#f1f5eb;border-radius:20px;color:#557752;white-space:nowrap}
}

/* Formal mobile search home: match the selected upload-first mobile design while
   keeping the live NAS search, multi-shoe queue, filters and review flow intact. */
.mobile-upload-card{display:contents}
.mobile-compare-note{display:none}
.mobile-upload-copy{display:none}
@media(max-width:640px){
  .app-shell{min-height:100vh}
  .main-shell{padding-bottom:calc(65px + env(safe-area-inset-bottom) + 82px)}
  .topbar{height:60px;min-height:60px;padding:8px 16px;gap:8px}
  .mobile-brand img{width:38px;height:38px;border-radius:11px}
  .mobile-brand strong{font-size:16px;letter-spacing:.03em}
  .mobile-brand small{font-size:9px;letter-spacing:.1em;font-weight:700}
  .connection-label{padding:8px 11px;border:1px solid #e5ebdd;background:#edf2e6;border-radius:16px;color:#4e7047;white-space:nowrap}
  .top-actions{gap:7px}
  #search-page{padding:17px 16px calc(65px + env(safe-area-inset-bottom) + 82px)}
  #search-page>.page-heading{display:block;margin:8px 0 14px}
  #search-page>.page-heading .eyebrow{display:none}
  #search-page>.page-heading h1{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:39px;line-height:1.16;letter-spacing:.07em;color:#214a38;margin:0 0 5px}
  #search-page>.page-heading p{font-size:12px;line-height:1.55;color:#697a77;margin:0}
  #search-page>.page-heading p .hero-tagline{display:block;font-size:19px;line-height:1.4;margin-bottom:4px;color:#697a77}
  #search-page>.page-heading>.button,#search-page>.source-strip,#search-page>.search-queue-note{display:none}
  #search-page>.auth-notice,#search-page>.background-notice{margin:8px 0;padding:10px 12px;font-size:12px;line-height:1.7}
  .workbench{display:flex;flex-direction:column;gap:18px;margin-top:0}
  .query-panel{position:static;width:100%;padding:0;background:transparent;border:0;border-radius:0;display:flex;flex-direction:column;min-width:0}
  .query-panel>.panel-title,.query-panel>.subtle{display:none}
  .mobile-upload-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:19px 16px 15px;border:1.5px dashed #b5c7a8;border-radius:23px;background:linear-gradient(145deg,#fafbf7,#f7f9f3)}
  .query-preview.empty{height:auto;min-height:0;overflow:visible;padding:0 0 2px;background:transparent;border-radius:0;color:inherit}
  .query-preview.empty>.icon{display:none}
  .shoe-art{display:grid;place-items:center;width:112px;height:112px;flex:none;margin:0 auto 10px;border-radius:50%;background:radial-gradient(circle at 50% 42%,#f3f6ee,#edf2e8)}
  .shoe-art svg{width:104px;height:78px;fill:none;stroke:#9aaf94;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
  .query-preview.empty strong{margin:0 0 4px;font-size:18px;color:#315d47;letter-spacing:.02em}
  .query-preview.empty small{font-size:12px;line-height:1.55;color:#75837f}
  .query-preview:not(.empty){height:210px;margin-bottom:6px;border-radius:13px}
  .query-thumbnails{margin:9px 0 0;gap:7px}
  .query-thumbnails:empty{display:none}
  .thumb{width:54px;height:54px}
  .dropzone{min-height:0;margin:11px 0 0;padding:0;border:0;border-radius:0;background:transparent;gap:8px;touch-action:manipulation}
  .dropzone>.icon{display:none}
  .dropzone strong{display:flex;align-items:center;justify-content:center;width:100%;height:54px;padding:0 10px;border:0;border-radius:16px;background:linear-gradient(110deg,#28543f,#315e47);color:#fff;font-size:16px;letter-spacing:.02em;box-shadow:0 4px 12px #23473119}
  .desktop-upload-copy,.desktop-click-copy{display:none}
  .mobile-upload-copy{display:inline;color:#fff!important}
  .paste-hint{margin:0;text-align:center;font-size:10px;line-height:1.55;color:#75837f}
  .desktop-paste-hint{display:none}
  .mobile-upload-hint{display:block;font-size:10px;color:#75837f}
  .dropzone small{margin:0;text-align:center;font-size:10px;line-height:1.5;color:#75837f}
  .field-notice:empty{display:none}
  .field-notice{margin:7px 0 0;font-size:11px;line-height:1.6}
  .add-shoe-button{display:flex;width:100%;min-height:46px;margin:11px 0 0;padding:8px 12px;align-items:center;justify-content:center;gap:8px;border:1.5px solid #9aae91;border-radius:15px;background:transparent;color:#315843;font-size:14px}
  .add-shoe-button>span:first-child{font-size:22px;line-height:1;font-weight:400}
  .mobile-compare-note{display:flex;align-items:center;gap:10px;margin:13px 0 3px;padding:12px 14px;border-radius:16px;background:linear-gradient(110deg,#eff4e7,#f2f5ea);color:#667b58;font-size:12px;line-height:1.65}
  .compare-shoe{display:grid;place-items:center;width:34px;height:34px;flex:none;color:#688655}
  .compare-shoe svg{width:32px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .batch-builder{margin:12px 0 0;padding:14px;border:1px solid #e1e8d8;border-radius:14px;background:#fff}
  #search-page .batch-builder:has(.batch-empty){display:none}
  .batch-builder>p{font-size:11px;line-height:1.7;margin:6px 0 10px}
  .batch-name-input{min-height:44px;font-size:16px}
  .batch-add-button,.batch-run-button{min-height:46px;font-size:14px}
  .batch-task-list{margin-top:10px}
  .query-options{margin:18px 0}
  .weights-heading{margin-top:16px}
  .query-panel .search-button{position:fixed;z-index:9;left:16px;right:16px;bottom:calc(65px + env(safe-area-inset-bottom) + 12px);width:calc(100% - 32px);min-height:56px;padding:12px;border-radius:17px;font-size:18px;box-shadow:0 5px 15px #2347312b}
  .results-panel{margin-top:8px}
  .sidebar{z-index:10;height:calc(65px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);background:#fbfcf8;border-top:1px solid #e9ece5}
  .sidebar nav{height:65px;flex:0 0 65px;width:100%;margin:0;display:flex;align-items:center;justify-content:space-around}
  .sidebar .nav-item{position:relative;display:flex;flex:1;min-width:0;height:64px;min-height:64px;margin:0;padding:3px 0 5px;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:0;border-radius:0;background:transparent;color:#7e8a87;font-size:12px}
  .sidebar .nav-item>.icon{box-sizing:content-box;width:23px;height:23px;padding:7px;border-radius:50%}
  .sidebar .nav-item.active{background:transparent;color:#315b45;font-weight:650}
  .sidebar .nav-item.active>.icon{background:#edf2e5}
  .sidebar .nav-item.active:after{content:"";position:absolute;bottom:1px;width:29px;height:4px;border-radius:4px;background:#315b45}
  .sidebar .nav-item small,.sidebar .nav-item i{display:none}
  .sidebar-bottom,.workspace-label,.workspace-foot{display:none}
}
@media(max-width:640px){
  #search-page>.auth-notice,#search-page>.background-notice{display:none!important}
  #search-page>.page-heading p .desktop-description{display:none}
  #search-page>.page-heading p .hero-description{display:block}
  #search-page .search-button{justify-content:center;gap:10px;font-weight:600}
  #search-page .search-button>span:last-child{display:none}
  .sidebar .nav-item[data-page="search"]>span:nth-child(2){font-size:0}
  .sidebar .nav-item[data-page="search"]>span:nth-child(2):after{content:"检索";font-size:12px}
}
@media(max-width:640px){
  .query-panel .search-button:disabled{opacity:1;background:#b8c6b8;border-color:#b8c6b8;color:#fff;box-shadow:none}
  .query-panel .search-button>span:last-child{display:none!important}
  .sidebar .nav-item[data-page="search"]>span:nth-child(2):after{content:"检索";font-size:12px}
}

/* Mobile multi-style selection and weight editor, matched to the selected reference. */
.mobile-selection-panel,.mobile-pending-panel{display:none}
.mobile-weight-card{display:contents}
.mobile-weight-heading{display:none}
.mobile-weight-name{display:none}
@media(max-width:640px){
  #search-page{padding-top:17px}
  #search-page>.page-heading{margin-bottom:18px}
  .mobile-selection-panel,.mobile-pending-panel{display:none}
  .mobile-weight-card{display:none}
  #search-page.has-mobile-selection .mobile-upload-card,
  #search-page.has-mobile-selection .mobile-compare-note{display:none!important}
  #search-page.has-mobile-selection .mobile-selection-panel{display:block;order:1;margin:0;padding:14px 14px 13px;border:1px solid #e4ebe0;border-radius:18px;background:#f5f8f1}
  .mobile-selection-panel>header,.mobile-pending-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;margin:0 0 10px}
  .mobile-selection-panel>header>strong,.mobile-pending-panel>header>strong{font-size:17px;color:#234b3b;font-weight:700}
  #mobile-selection-count{color:#657879;font-weight:500}
  #mobile-add-task{min-height:40px;padding:7px 11px;border:1px solid #91a58d;border-radius:12px;background:#fff;color:#254f3d;font-size:13px;white-space:nowrap}
  #mobile-add-task>span{font-size:17px;vertical-align:-1px}
  .mobile-selection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .mobile-style-card{position:relative;min-width:0;aspect-ratio:1.08;overflow:hidden;border:1px solid #e4e8df;border-radius:14px;background:#f3f1ee}
  .mobile-style-image{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:#f4f2ef}
  .mobile-style-image>img{width:100%;height:100%;object-fit:contain}
  .mobile-style-image .image-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;font-size:10px;color:#82917f}
  .mobile-style-number{display:inline-grid;place-items:center;min-width:34px;height:32px;padding:0 7px;border-radius:10px;background:#edf2e5;color:#5e794b;font-size:13px;font-weight:700;font-style:italic}
  .mobile-style-card>.mobile-style-number{position:absolute;top:9px;right:9px}
  .mobile-style-check{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:34px;height:34px;border:2px solid #fff;border-radius:50%;background:#245b45;color:white;box-shadow:0 1px 5px #1d3b2a20}
  .mobile-style-check>.icon{width:20px;height:20px;stroke-width:2.7}
  .mobile-selection-empty{grid-column:1/-1;margin:0;padding:12px 4px;color:#718078;font-size:12px}
  #search-page.has-mobile-selection .mobile-weight-card{display:block;order:2;margin:0;padding:15px 13px 8px;border:1px solid #e3e9e2;border-radius:18px;background:#fff}
  .mobile-weight-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;padding:0 3px 12px;border-bottom:1px solid #edf0eb}
  .mobile-weight-heading>strong{display:flex;align-items:center;gap:8px;color:#234b3b;font-size:17px}
  .mobile-weight-heading .mobile-info-icon{display:inline-flex;color:#77868a}
  .mobile-weight-heading .icon{width:17px;height:17px}
  .mobile-weight-heading>span:last-child{color:#728087;font-size:11px;white-space:nowrap}
  .mobile-weight-card .weights-heading{display:none}
  .mobile-weight-card .weight-field{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:9px;row-gap:3px;padding:10px 4px 12px;margin:0;border-bottom:1px solid #edf0eb}
  .mobile-weight-card .weight-field:last-of-type{border-bottom:0}
  .mobile-weight-card .weight-field>label{grid-column:1/-1;display:flex;align-items:center;gap:7px;margin:0;color:#24483a;font-size:14px;font-weight:650}
  .mobile-weight-card .desktop-weight-name{display:none}
  .mobile-weight-card .mobile-weight-name{display:inline}
  .mobile-weight-card .weight-field>label .dot{width:8px;height:8px;flex:none}
  .mobile-weight-card .weight-field output{margin-left:auto;color:#24483a;font-size:14px;font-weight:650}
  .weight-description{grid-column:1/-1;color:#748087;font-size:11px;line-height:1.5}
  .mobile-weight-card .weight-field>input[type=range]{grid-column:2;grid-row:2;align-self:center;width:100%;min-width:92px;height:5px;margin:0;appearance:none;border:0;border-radius:999px;background:linear-gradient(90deg,#3d765f var(--weight-value,40%),#edf1eb var(--weight-value,40%));touch-action:pan-y}
  .mobile-weight-card .weight-field:nth-of-type(4)>input[type=range]{background:linear-gradient(90deg,#96b19b var(--weight-value,40%),#edf1eb var(--weight-value,40%))}
  .mobile-weight-card .weight-field:nth-of-type(5)>input[type=range]{background:linear-gradient(90deg,#bed2bd var(--weight-value,20%),#edf1eb var(--weight-value,20%))}
  .mobile-weight-card .weight-field>input[type=range]::-webkit-slider-thumb{width:15px;height:15px;appearance:none;border:0;border-radius:50%;background:#789969;box-shadow:0 0 0 2px #fff}
  .mobile-weight-card .weight-field>input[type=range]::-moz-range-thumb{width:15px;height:15px;border:0;border-radius:50%;background:#789969;box-shadow:0 0 0 2px #fff}
  .mobile-weight-card .weight-help{margin:0;padding:4px 4px 2px;color:#738077;font-size:10px;line-height:1.6}
  #search-page.has-mobile-selection .mobile-pending-panel{display:block;order:3;margin:0;padding:13px 13px 5px;border:1px solid #e3e9e2;border-radius:18px;background:#fff}
  .mobile-pending-panel>header{margin-bottom:5px}
  .mobile-pending-panel>header>strong{display:flex;align-items:center;gap:8px}
  .mobile-pending-panel .tiny-pill{display:inline-grid;place-items:center;min-width:26px;height:25px;background:#eff4e8;border-radius:8px;color:#5f7c4e;font-size:13px}
  #mobile-edit-selection{min-height:38px;padding:6px 11px;border-radius:11px;background:#fff;color:#385744;font-size:12px}
  .mobile-pending-list{display:grid;gap:0}
  .mobile-pending-row{display:grid;grid-template-columns:65px 31px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:57px;padding:7px 0;border-top:1px solid #edf0eb}
  .mobile-pending-thumb{display:grid;place-items:center;width:65px;height:48px;overflow:hidden;border-radius:8px;background:#f3f1ee}
  .mobile-pending-thumb>img{width:100%;height:100%;object-fit:contain}
  .mobile-pending-thumb .image-fallback{display:grid;place-items:center;width:100%;height:100%;color:#899889}
  .mobile-pending-thumb .image-fallback .icon{width:20px;height:20px}
  .mobile-pending-row>.mobile-style-number{min-width:30px;height:27px;border-radius:8px;font-size:12px}
  .mobile-pending-name{display:flex;flex-direction:column;gap:2px;min-width:0}
  .mobile-pending-name>strong{overflow:hidden;color:#28483a;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
  .mobile-pending-name>small{color:#7b8883;font-size:10px}
  .mobile-pending-state{display:flex;align-items:center;gap:5px;color:#71827e;font-size:11px;white-space:nowrap}
  .mobile-pending-state>.icon{width:19px;height:19px;padding:3px;border-radius:50%;background:#ebf2e5;color:#648455;stroke-width:2.5}
  .mobile-row-remove{grid-column:4;min-height:32px;padding:4px 8px;border:1px solid #e2e8e1;border-radius:8px;background:#fff;color:#8c6356;font-size:11px}
  .mobile-pending-panel:not(.is-editing) .mobile-row-remove{display:none}
  #search-page.has-mobile-selection .batch-builder{display:none!important}
  #search-page.has-mobile-selection .query-options{display:grid;order:4;gap:7px;margin:0;padding:13px;border:1px solid #e3e9e2;border-radius:16px;background:#fff}
  #search-page.has-mobile-selection .query-options .field-label{margin:0;font-size:12px}
  #search-page.has-mobile-selection .query-options select{min-height:42px;border-radius:9px;font-size:14px}
  #search-page.has-mobile-selection .query-options .scope-note{margin:0 0 5px;font-size:10px;line-height:1.5}
  #search-page.has-mobile-selection .search-button{order:5}
  #search-page.has-mobile-selection .privacy-note{order:6;margin:0 0 8px}
  #search-page .search-button{bottom:calc(65px + env(safe-area-inset-bottom) + 12px);min-height:58px;border-radius:15px;font-size:19px}
}
@media(max-width:640px){
  #search-page{padding-top:7px}
  #search-page>.page-heading{margin:0 0 13px!important}
  #search-page>.page-heading h1{font-size:34px;line-height:1.12}
  #search-page.has-mobile-selection .mobile-selection-panel{padding:10px 11px;border-radius:16px}
  .mobile-selection-panel>header,.mobile-pending-panel>header{min-height:30px;margin-bottom:7px}
  #mobile-add-task{min-height:36px;padding:5px 10px;border-radius:11px;font-size:12px}
  .mobile-selection-grid{grid-template-columns:repeat(2,minmax(0,126px));gap:8px}
  .mobile-style-card{aspect-ratio:1.05;border-radius:13px}
  #search-page.has-mobile-selection .mobile-weight-card{padding:13px 11px 7px;border-radius:16px}
  .mobile-weight-card .weight-field{grid-template-columns:minmax(96px,1fr) minmax(80px,1.45fr) 34px;grid-template-rows:22px auto;column-gap:6px;row-gap:1px;padding:7px 3px 8px}
  .mobile-weight-card .weight-field>label{grid-column:1;grid-row:1;gap:5px;font-size:12px}
  .mobile-weight-card .weight-field output{grid-column:3;grid-row:1;margin-left:0;font-size:12px;text-align:right}
  .weight-description{grid-column:1;grid-row:2;font-size:9px;line-height:1.35}
  .mobile-weight-card .weight-field>input[type=range]{grid-column:2;grid-row:1;min-width:72px}
  #search-page.has-mobile-selection .mobile-pending-panel{padding:10px 11px 4px;border-radius:16px}
  .mobile-pending-row{grid-template-columns:56px 28px minmax(0,1fr) auto;gap:7px;min-height:48px;padding:6px 0}
  .mobile-pending-thumb{width:56px;height:38px}
  .mobile-pending-row>.mobile-style-number{min-width:27px;height:24px;font-size:11px}
  .mobile-pending-name>strong{font-size:12px}
  .mobile-pending-name>small,.mobile-pending-state{font-size:9px}
  .mobile-pending-state>.icon{width:17px;height:17px}
  #search-page .search-button{bottom:calc(65px + env(safe-area-inset-bottom) + 10px);min-height:52px;border-radius:14px;font-size:17px}
}
@media(max-width:640px){
  #search-page.has-mobile-selection .mobile-selection-panel{padding:8px 10px;border-radius:15px}
  .mobile-selection-panel>header{min-height:28px;margin-bottom:5px}
  .mobile-weight-card .weight-field{grid-template-columns:18px minmax(70px,1fr) minmax(82px,1.45fr) 34px;grid-template-rows:22px auto;column-gap:5px;row-gap:1px;padding:5px 3px 6px}
  .mobile-weight-card .weight-field>label{display:contents}
  .mobile-weight-card .weight-field>label .dot{grid-column:1;grid-row:1;align-self:center;width:8px;height:8px}
  .mobile-weight-card .weight-field .mobile-weight-name{grid-column:2;grid-row:1;align-self:center;color:#24483a;font-size:13px;font-weight:650;white-space:nowrap}
  .mobile-weight-card .weight-field>label>span:not(.desktop-weight-name):not(.mobile-weight-name){grid-column:2;grid-row:1;align-self:center;color:#24483a;font-size:13px;font-weight:650;white-space:nowrap}
  .mobile-weight-card .weight-field output{grid-column:4;grid-row:1;align-self:center;margin:0;color:#24483a;font-size:13px;font-weight:650;text-align:right}
  .mobile-weight-card .weight-field>input[type=range]{grid-column:3;grid-row:1;min-width:68px}
  .mobile-weight-card .weight-field .weight-description{grid-column:2/4;grid-row:2;font-size:10px;line-height:1.35;white-space:nowrap}
  .mobile-weight-heading{margin-bottom:4px;padding-bottom:7px}
  #search-page.has-mobile-selection .mobile-weight-card{padding-top:9px;padding-bottom:4px}
  .mobile-weight-card .weight-help{display:none}
  .mobile-pending-row{grid-template-columns:50px 26px minmax(0,1fr) auto;gap:6px;min-height:32px;padding:2px 0}
  .mobile-pending-thumb{width:50px;height:30px;border-radius:6px}
  .mobile-pending-row>.mobile-style-number{min-width:25px;height:23px}
  #search-page.has-mobile-selection .mobile-pending-panel{padding:6px 10px 2px}
  .mobile-pending-panel>header{min-height:24px;margin-bottom:2px}
  .mobile-pending-panel>header>strong{font-size:15px}
}
@media(max-width:640px){
  #results-panel{scroll-margin-top:12px}
  #results-panel .score-note,#results-panel .result-summary,#results-panel .algorithm-note{display:none}
  #results-grid.results-grid,.batch-result-group .results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  #results-grid>.empty-state,#results-grid>.loading-state,.batch-result-group>.loading-state,.batch-result-group .results-grid>.batch-error{grid-column:1/-1}
  #results-panel .product-card{min-width:0;border-radius:9px;overflow:hidden}
  #results-panel .product-visual{height:auto;aspect-ratio:1/1;position:relative}
  #results-panel .visual-open,#results-panel .visual-open img{width:100%;height:100%;object-fit:cover}
  #results-panel .match-badge{display:none}
  #results-panel .bookmark-button{width:27px;height:27px;right:5px;top:5px;background:#fffE}
  #results-panel .bookmark-button .icon{width:14px;height:14px}
  #results-panel .product-body{padding:6px 7px 8px}
  #results-panel .product-title-row{gap:3px;align-items:center}
  #results-panel .product-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4}
  #results-panel .score{font-size:12px;white-space:nowrap}
  #results-panel .score small{font-size:8px}
  #results-panel .sku-row,#results-panel .source-row,#results-panel .product-source,#results-panel .component-scores,#results-panel .card-evidence,#results-panel .card-footer,#results-panel .marked-query{display:none}
  .batch-result-group{padding:9px;margin-bottom:12px}
  .batch-result-group>header{padding-bottom:7px;margin-bottom:8px;gap:5px}
  .batch-result-group>header strong{font-size:11px}
  .batch-result-state{font-size:9px}
}
@media(min-width:1024px){
  .app-shell{display:block;position:relative;min-height:100vh}
  .sidebar{position:relative;inset:auto;display:flex;flex-direction:row;align-items:center;gap:34px;width:100%;height:70px;padding:0 36px;background:#fff;border-right:0;border-bottom:1px solid #e3e8dd}
  .sidebar .brand{padding:0;flex:none}
  .brand-symbol{width:43px;height:43px}
  .brand strong{font-size:19px}
  .sidebar .workspace-label,.sidebar .sidebar-bottom,.sidebar .workspace-foot{display:none}
  .sidebar nav{display:flex;align-items:center;gap:8px;flex:1;height:100%;margin:0;padding:0 390px 0 0}
  .nav-item{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:112px;margin:0;padding:10px 14px;border-radius:8px;font-size:13px;white-space:nowrap}
  .nav-item .icon{width:17px;height:17px}
  .nav-item small{display:none}
  .nav-item i{margin-left:4px}
  .main-shell{position:static;margin:0;width:100%;min-width:0}
  .topbar{position:absolute;top:0;right:34px;width:auto;height:70px;padding:0;background:transparent;border:0;z-index:25}
  .breadcrumb{display:none}
  .top-actions{gap:12px;font-size:12px}
  .local-pill{display:none}
  main{max-width:1800px;padding:24px 36px 36px}
  #search-page>.page-heading,#search-page>.source-strip{display:none}
  #search-page>.search-queue-note{display:none}
  #search-page>.search-queue-note:has(#search-queue-counts:not(.hidden)){display:flex;max-width:1800px;margin:0 auto 12px;padding:8px 12px;border-radius:8px;font-size:11px}
  #search-page>.background-notice:not(.error){display:none}
  #search-page>.auth-notice{max-width:1800px;margin:0 auto 12px}
  .workbench{display:block;margin:0;}
  .query-panel{position:static;display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-areas:"upload start" "queue queue" "filters filters" "weights weights";align-items:center;gap:12px 18px;width:100%;margin:0 0 23px;padding:15px 18px;background:#fff;border:1px solid #e3e8dc;border-radius:13px}
  .query-panel>.panel-title,.query-panel>.subtle{display:none}
  .query-panel>.mobile-upload-card{grid-area:upload;display:flex;flex-direction:row;align-items:center;gap:12px;min-width:0;padding:0;border:0;background:transparent}
  .query-panel>.mobile-upload-card:before{content:"上传参考鞋款";flex:none;width:86px;color:#65735d;font-size:12px;font-weight:600;line-height:1.5}
  #query-preview{display:none!important}
  #query-thumbnails:empty{display:none}
  #query-thumbnails{display:flex;align-items:center;gap:9px;flex:1;min-width:0;min-height:92px;margin:0}
  .thumb-wrap{position:relative;flex:none}
  .thumb{width:128px;height:88px;border:1px solid #e3e8dd;border-radius:9px;background:#f3f4ef}
  .thumb.active{border:2px solid #7f9b6c}
  .thumb-remove{top:-5px;right:-5px;width:20px;height:20px;background:#fff;border:1px solid #e0e6d8;box-shadow:0 1px 4px #1e332511}
  .dropzone{display:flex;flex:none;align-items:center;justify-content:center;gap:4px;width:150px;min-height:88px;height:88px;padding:8px;border:1px dashed #b8c9ad;border-radius:9px;background:#fcfdf9;text-align:center}
  .dropzone>.icon{width:19px;height:19px}
  .dropzone strong{font-size:12px;line-height:1.45}
  .dropzone .desktop-upload-copy{display:none}
  .dropzone .desktop-click-copy{display:inline}
  .dropzone .paste-hint,.dropzone small{display:none}
  #upload-notice:not(.error-text){display:none}
  .batch-add-button{display:none;width:auto;min-height:40px;margin:0;padding:8px 12px;white-space:nowrap;font-size:12px}
  .query-panel:has(#query-thumbnails:not(:empty)) .batch-add-button{display:inline-flex}
  .query-panel>.search-button{grid-area:start;align-self:stretch;width:100%;min-height:88px;margin:0;padding:14px;border-radius:10px;font-size:16px;box-shadow:none}
  .query-panel>.search-button>span:last-child{display:none}
  .query-panel>.privacy-note,.query-panel>.mobile-selection-panel,.query-panel>.mobile-pending-panel,.query-panel>.mobile-compare-note{display:none}
  .query-panel>.batch-builder{grid-area:queue;display:none}
  .query-panel>.batch-builder:has(.batch-task-item){display:grid;grid-template-columns:auto minmax(150px,220px) minmax(0,1fr) 176px;align-items:center;gap:8px 12px;margin:0;padding:12px 0 0;border-top:1px solid #edf0e9}
  .batch-builder-heading{justify-content:flex-start;gap:8px;white-space:nowrap}
  .batch-builder-heading strong{font-size:12px}
  .batch-builder>p{display:none}
  .batch-name-input{height:38px;margin:0;font-size:12px}
  .batch-task-list{display:flex;gap:7px;min-width:0;max-height:54px;margin:0;overflow:auto}
  .batch-task-item{flex:0 0 170px;padding:5px}
  .batch-task-thumb{width:36px;height:36px}
  .batch-task-info strong{font-size:10px}
  .batch-task-info span,.batch-remove{font-size:9px}
  .batch-run-button{width:176px;min-height:38px;margin:0;font-size:12px}
  .batch-status{grid-column:1/-1;margin:0!important;font-size:10px!important}
  .query-panel>.query-options{grid-area:filters;display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:12px 0 0;border-top:1px solid #edf0e9}
  .query-options>.field-label{flex:none;margin:0;font-size:12px}
  .query-options select{flex:1;min-width:150px;max-width:300px;height:39px;padding:7px 10px;border-radius:7px;background:#fff;font-size:12px}
  #search-scope-note{display:none}
  .query-panel>.mobile-weight-card{grid-area:weights;display:grid;grid-template-columns:110px repeat(3,minmax(0,1fr));align-items:center;gap:10px 16px;margin:0;padding:12px 0 0;border:0;border-top:1px solid #edf0e9;border-radius:0;background:transparent}
  .mobile-weight-heading{display:none}
  .weights-heading{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0;padding:0;border:0;font-size:12px}
  .weights-heading .text-button{padding:0;font-size:10px}
  .weight-field{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 5px;align-items:center;gap:5px 8px;margin:0;padding:0;border:0}
  .weight-field label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;white-space:nowrap}
  .weight-field label .desktop-weight-name{overflow:hidden;text-overflow:ellipsis}
  .weight-field output{font-size:11px;font-weight:600}
  .weight-description,.weight-help{display:none}
  .weight-field input[type=range]{grid-column:1/-1;width:100%;height:5px;margin:0}
  .results-panel{width:100%;min-width:0}
  .results-heading{margin:0 0 12px;padding:0}
  .results-heading h2{font-size:19px;letter-spacing:0}
  .results-heading .eyebrow{display:none}
  .result-toolbar{display:flex;align-items:center;gap:14px;margin:0 0 13px;padding:10px 0;border-top:1px solid #e8ece3;border-bottom:1px solid #e8ece3}
  .threshold-label{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}
  .threshold-label input{width:136px}
  .result-toolbar>select{min-width:168px;height:36px;padding:6px 10px;border-radius:7px;font-size:12px}
  .result-summary{display:flex;align-items:center;justify-content:flex-end;margin:0 0 9px;min-height:22px;pointer-events:none}
  .result-summary p{display:none}
  .result-summary .check-label{pointer-events:auto;font-size:11px}
  .results-grid,.batch-result-group .results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .product-card{min-width:0;overflow:hidden;border:1px solid #e5e9e1;border-radius:10px;background:#fff;box-shadow:none;transition:border-color .18s,transform .18s}
  .product-card:hover{border-color:#bacbab;transform:translateY(-2px)}
  .product-visual{height:248px;background:#f0f1ec}
  .product-visual .visual-open,.product-visual .visual-open img{width:100%;height:100%}
  .product-visual .visual-open img{object-fit:contain}
  .match-badge{display:none}
  .bookmark-button{width:30px;height:30px;top:10px;right:10px;background:#fff;border:1px solid #e6eadf}
  .product-body{display:grid;gap:2px;padding:10px 13px 12px}
  .product-title-row{align-items:center;gap:8px}
  .product-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
  .score{flex:none;font-size:25px;line-height:1.1}
  .sku-row{margin:0;font-size:10px;color:#778278}
  .sku-row>span:last-child{display:none}
  .product-source,.component-scores,.card-evidence,.card-footer,.marked-query{display:none}
  .batch-result-group{padding:14px;margin-bottom:16px;border-radius:11px}
  .batch-result-group>header{margin-bottom:12px}
}
@media(min-width:1024px){
  .app-shell{display:flex;min-height:100vh}
  .sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;align-items:stretch;gap:0;width:250px;height:100vh;padding:24px 20px 18px;background:#f0f3eb;border-right:1px solid #dce4d8;border-bottom:0;overflow:auto}
  .sidebar .brand{padding:0 4px;margin-bottom:26px}
  .brand-symbol{width:48px;height:48px}.brand strong{font-size:19px}
  .sidebar .workspace-label{display:flex;margin:10px 8px 14px;font-size:12px}
  .sidebar nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;height:auto;margin:0;padding:0}
  .nav-item{justify-content:flex-start;width:100%;min-width:0;margin:0;padding:12px;border-radius:9px;font-size:13px}
  .nav-item small{display:block}.nav-item i{margin-left:auto}
  .sidebar .sidebar-bottom,.sidebar .workspace-foot{display:none}
  .desktop-task-panel{display:block;margin:24px 4px 14px;padding-top:14px;border-top:1px solid #dce4d8}
  #desktop-batch-slot,#desktop-weight-slot{display:block}
  .desktop-task-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#34483d;font-size:12px}
  .desktop-task-panel>header span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:7px;background:#e4eddb;color:#567448;font-size:11px;font-weight:650}
  #desktop-task-list{display:grid;gap:8px;max-height:265px;overflow:auto}
  #desktop-task-list>p{margin:0;padding:13px 9px;color:#83907f;font-size:11px;line-height:1.7}
  .desktop-task-row{display:flex;align-items:center;gap:8px;min-width:0;padding:7px;border:1px solid #dce5d8;border-radius:8px;background:#f8faf5}
  .desktop-task-row:first-child{border-color:#82a178;background:#f4f8f0}
  .desktop-task-thumb{width:56px;height:48px;flex:none;overflow:hidden;border-radius:6px;background:#e9ece6}
  .desktop-task-thumb img{width:100%;height:100%;object-fit:cover}
  .desktop-task-info{min-width:0}.desktop-task-info strong,.desktop-task-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .desktop-task-info strong{font-size:10px;color:#46564a}.desktop-task-info span{margin-top:3px;color:#758273;font-size:9px}
  #desktop-add-image{width:100%;min-height:38px;margin-top:8px;padding:7px 10px;font-size:11px}
  #desktop-batch-slot .batch-builder{margin:0 4px 16px;padding:13px 0 0;border-top:1px solid #dce4d8}
  #desktop-batch-slot .batch-builder-heading strong{font-size:11px}
  #desktop-batch-slot .batch-builder>p{font-size:10px;line-height:1.6;margin:5px 0}
  #desktop-batch-slot .batch-name-input{height:34px;font-size:11px}
  #desktop-batch-slot .batch-task-list{max-height:160px;overflow:auto}
  #desktop-batch-slot .batch-task-item{gap:6px;padding:5px}
  #desktop-batch-slot .batch-run-button{min-height:36px;font-size:11px}
  #desktop-weight-slot{margin:auto 4px 0;padding-top:14px;border-top:1px solid #dce4d8}
  #desktop-weight-slot .mobile-weight-card{display:block;margin:0;padding:0;border:0;background:transparent}
  #desktop-weight-slot .mobile-weight-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0;border:0;font-size:12px}
  #desktop-weight-slot .mobile-weight-heading>span{font-size:9px;color:#86927d}
  #desktop-weight-slot .weights-heading{display:none}
  #desktop-weight-slot .weight-field{display:grid;grid-template-columns:1fr auto;gap:5px;margin:13px 0}
  #desktop-weight-slot .weight-field label{font-size:10px;color:#71806d}
  #desktop-weight-slot .weight-field output{font-size:10px}
  #desktop-weight-slot .weight-field input{grid-column:1/-1;width:100%;margin:0}
  #desktop-weight-slot .weight-description,#desktop-weight-slot .weight-help{display:none}
  .main-shell{width:calc(100% - 250px);min-width:0;margin-left:250px}
  .topbar{position:relative;inset:auto;width:100%;height:72px;padding:0 32px;background:#fff;border-bottom:1px solid #e2e7df;z-index:5}
  .breadcrumb{display:flex}.top-actions{gap:14px;font-size:11px}
  main{max-width:none;padding:26px 38px 36px}
  #search-page>.page-heading{display:flex;margin-bottom:18px}
  #search-page>.page-heading h1{font-size:31px;line-height:1.25;margin:0 0 8px}
  #search-page>.page-heading p{font-size:12px}
  #search-page>.source-strip{display:none}
  #search-page>.search-queue-note{display:none}
  #search-page>.search-queue-note:has(#search-queue-counts:not(.hidden)){display:none}
  #search-page>.background-notice:not(.error){display:none}
  .workbench{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;margin:0}
  .query-panel{position:static;display:grid;grid-template-columns:minmax(0,1fr) 184px;grid-template-areas:"upload start" "filters filters";gap:12px 16px;margin:0;padding:12px 0;background:transparent;border:0;border-radius:0}
  .query-panel>.panel-title,.query-panel>.subtle{display:none}
  .query-panel>.mobile-upload-card{grid-area:upload;display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;margin:0;padding:0;border:0;background:transparent}
  .query-panel>.mobile-upload-card:before{content:"上传参考鞋款";flex:none;width:86px;color:#66745f;font-size:11px;font-weight:650}
  #query-preview{display:none!important}#query-thumbnails:empty{display:none}
  #query-thumbnails{display:flex;align-items:center;gap:7px;min-width:0;min-height:66px;margin:0}
  .thumb{width:88px;height:62px;border-radius:7px}
  .dropzone{display:flex;flex:none;align-items:center;justify-content:center;gap:4px;width:130px;height:62px;min-height:62px;margin:0;padding:6px;border-radius:8px;text-align:center}
  .dropzone>.icon{width:17px;height:17px;margin:0}.dropzone strong{font-size:10px}.dropzone .desktop-upload-copy,.dropzone .paste-hint,.dropzone small{display:none}
  .query-panel>.search-button{grid-area:start;align-self:stretch;width:100%;min-height:62px;margin:0;padding:10px;border-radius:9px;font-size:14px}
  .query-panel>.search-button>span:last-child{display:none}
  .query-panel>.privacy-note,.query-panel>.mobile-selection-panel,.query-panel>.mobile-pending-panel,.query-panel>.mobile-compare-note{display:none}
  .query-panel>.batch-builder{display:none}
  .query-panel>.query-options{grid-area:filters;display:flex;align-items:center;gap:10px;margin:0;padding:12px 0 13px;border-top:1px solid #e4e9e1;border-bottom:1px solid #e4e9e1}
  .query-options>.field-label{flex:none;margin:0;font-size:11px}
  .query-options select{width:auto;min-width:170px;height:36px;padding:6px 10px;font-size:11px}
  #search-scope-note{display:none}
  .results-panel{width:100%;min-width:0}
  .results-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 11px;padding:0}
  .results-heading .eyebrow{display:none}
  .results-heading h2{font-size:16px;letter-spacing:0}
  .score-note{display:none}
  .result-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:0;border:0}
  .threshold-label{flex:1;max-width:300px;gap:8px;font-size:10px}
  .threshold-label input{width:100%;max-width:150px}
  .result-toolbar>select{width:auto;min-width:135px;height:35px;padding:6px 9px;font-size:10px}
  .result-summary{display:flex;align-items:center;justify-content:flex-end;margin:0 0 10px;min-height:22px;pointer-events:none}
  .result-summary p{display:none}
  .result-summary .check-label{pointer-events:auto;font-size:10px}
  .results-grid,.batch-result-group .results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .product-card{min-width:0;overflow:hidden;border:1px solid #e6eae3;border-radius:9px;background:#fff;box-shadow:none}
  .product-visual{height:clamp(190px,19vw,255px);background:#f0f1ee}
  .product-visual .visual-open,.product-visual .visual-open img{width:100%;height:100%}
  .product-visual .visual-open img{object-fit:contain}
  .product-body{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 10px;padding:9px 12px 10px}
  .product-title-row{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}
  .product-title-row .score{grid-column:1;grid-row:1;color:#28563e;font-size:24px;line-height:1}
  .product-title-row .product-title{grid-column:2;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}
  .product-title-row .score small{font-size:10px}
  .sku-row{grid-column:2;margin:0;color:#839083;font-size:9px}
  .sku-row>span:last-child{display:none}
  .match-badge{display:none}
  .bookmark-button{width:27px;height:27px;top:8px;right:8px;background:#fff;border:1px solid #e3e8df}
  .product-source,.component-scores,.card-evidence,.card-footer,.marked-query{display:none}
  .batch-result-group{padding:12px;border-radius:9px}
  .batch-result-group>header{margin-bottom:10px}
}


/* PC search layout aligned to the selected discovery-board reference. */
.desktop-brand-nav,.desktop-upload-label,.desktop-filter-row,.desktop-weights-details{display:none}
@media (min-width:1024px){
  :root{--green:#285440;--ink:#243e34}
  .app-shell{display:block;min-height:100vh;background:#f4f6f1}
  .sidebar{display:none!important}
  .main-shell{position:static;width:100%;min-width:0;margin:0}
  .topbar{position:sticky;top:0;inset:auto;z-index:40;display:flex;align-items:center;justify-content:space-between;width:100%;height:72px;padding:0 clamp(24px,2.5vw,38px);background:#fff;border-bottom:1px solid #dfe5dc}
  .desktop-brand-nav{display:flex;align-items:center;gap:44px;min-width:0;height:100%}
  .desktop-brand-nav>.brand{display:flex;align-items:center;gap:10px;flex:none;padding:0;margin:0;text-decoration:none}
  .desktop-brand-nav .brand-symbol{width:44px;height:44px}
  .desktop-brand-nav .brand strong{font-size:18px;line-height:1.2;letter-spacing:.02em}
  .desktop-brand-nav .brand small{font-size:8px;letter-spacing:.2em}
  .desktop-brand-nav nav{display:flex;align-items:center;gap:30px;height:100%}
  .desktop-brand-nav .nav-item{position:relative;display:flex;align-items:center;justify-content:center;width:auto;min-width:0;height:100%;margin:0;padding:0;border-radius:0;background:transparent;color:#47564d;font-size:13px;font-weight:500;white-space:nowrap}
  .desktop-brand-nav .nav-item.active{color:#264f3c;font-weight:700}
  .desktop-brand-nav .nav-item.active:after{position:absolute;right:0;bottom:0;left:0;height:2px;background:#345d46;content:""}
  .desktop-brand-nav .nav-item .icon,.desktop-brand-nav .nav-item small{display:none}
  .desktop-brand-nav .nav-item i{margin-left:8px}
  .mobile-brand,.breadcrumb{display:none!important}
  .top-actions{display:flex;align-items:center;gap:15px;margin-left:auto;font-size:12px}
  .local-pill{display:inline-flex}
  main{width:100%;max-width:1740px;margin:0 auto;padding:24px clamp(24px,2.5vw,38px) 44px}
  #search-page>.page-heading,#search-page>.source-strip{display:none}
  #search-page>.search-queue-note{display:none}
  #search-page>.search-queue-note:has(#search-queue-counts:not(.hidden)){display:flex;max-width:1740px;margin:0 auto 12px;padding:8px 12px;border-radius:8px;font-size:11px}
  #search-page>.background-notice:not(.error){display:none}
  #search-page>.auth-notice{max-width:1740px;margin:0 auto 12px}
  .workbench{display:flex;flex-direction:column;gap:0;margin:0}
  .query-panel{position:sticky;top:82px;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) 210px;grid-template-areas:"upload start" "queue queue";align-items:center;gap:12px 22px;width:100%;margin:0 0 18px;padding:13px 18px;background:#fff;border:1px solid #e5e9e2;border-radius:13px;box-shadow:0 8px 24px #1c302218}
  .query-panel>.panel-title,.query-panel>.subtle{display:none}
  .query-panel>.mobile-upload-card{grid-area:upload;display:flex;flex-direction:row;align-items:center;gap:16px;min-width:0;margin:0;padding:0;border:0;background:transparent}
  .desktop-upload-label{display:flex;flex:none;flex-direction:column;gap:4px;width:128px;color:#566852;font-size:12px;line-height:1.35}
  .desktop-upload-label strong{font-weight:650}
  .desktop-upload-label span{color:#84917f;font-size:11px}
  #query-preview{display:none!important}
  #query-thumbnails:empty{display:none}
  #query-thumbnails{display:flex;align-items:center;gap:9px;flex:1;min-width:0;min-height:92px;margin:0}
  .thumb-wrap{position:relative;flex:none}
  .thumb{width:154px;height:88px;border:1px solid #e3e8dd;border-radius:9px;background:#f0f1ee}
  .thumb.active{border:2px solid #829a72}
  .thumb-remove{top:-5px;right:-5px;width:20px;height:20px;background:#fff;border:1px solid #e0e6d8;box-shadow:0 1px 4px #1e332511}
  .dropzone{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:158px;min-height:88px;height:88px;padding:8px;border:1px dashed #c2d0b9;border-radius:9px;background:#fff;text-align:center}
  .dropzone>.icon{width:18px;height:18px;margin:0;color:#587853}
  .dropzone strong{font-size:12px;line-height:1.45}
  .dropzone .desktop-upload-copy{display:none}
  .dropzone .desktop-click-copy{display:inline}
  .dropzone .paste-hint,.dropzone small{display:none}
  #upload-notice:not(.error-text){display:none}
  .batch-add-button{display:none;width:auto;min-height:38px;margin:0;padding:7px 11px;white-space:nowrap;font-size:11px}
  .query-panel:has(#query-thumbnails:not(:empty)) .batch-add-button{display:inline-flex}
  .query-panel>.search-button{grid-area:start;align-self:center;justify-self:end;width:210px;min-height:66px;margin:0;padding:14px;border-radius:10px;background:#285440;color:#fff;font-size:15px;box-shadow:0 2px 4px #1835261a}
  .query-panel>.search-button:hover:not(:disabled){background:#1f4735}
  .query-panel>.search-button:disabled{opacity:.48;color:#fff}
  .query-panel>.search-button>span:last-child{display:none}
  .query-panel>.privacy-note,.query-panel>.mobile-selection-panel,.query-panel>.mobile-pending-panel,.query-panel>.mobile-compare-note{display:none}
  .query-panel>.batch-builder{grid-area:queue;display:none}
  .query-panel>.batch-builder:has(.batch-task-item){display:grid;grid-template-columns:auto minmax(150px,220px) minmax(0,1fr) 176px;align-items:center;gap:8px 12px;margin:0;padding:12px 0 0;border-top:1px solid #edf0e9}
  .batch-builder-heading{justify-content:flex-start;gap:8px;white-space:nowrap}
  .batch-builder-heading strong{font-size:12px}
  .batch-builder>p{display:none}
  .batch-name-input{height:38px;margin:0;font-size:12px}
  .batch-task-list{display:flex;gap:7px;min-width:0;max-height:54px;margin:0;overflow:auto}
  .batch-task-item{flex:0 0 170px;padding:5px}
  .batch-task-thumb{width:36px;height:36px}
  .batch-task-info strong{font-size:10px}
  .batch-task-item .batch-task-info span,.batch-remove{font-size:9px}
  .batch-run-button{width:176px;min-height:38px;margin:0;font-size:12px}
  .batch-status{grid-column:1/-1;margin:0!important;font-size:10px!important}
  #desktop-filter-slot{flex:1;min-width:0}
  .desktop-filter-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:50px;margin:0 0 14px}
  .desktop-filter-row .query-options{display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:0;border:0;background:transparent}
  .desktop-filter-row .query-options>.field-label{flex:none;margin:0;color:#6c786c;font-size:12px}
  .desktop-filter-row .query-options select{width:auto;min-width:157px;height:38px;padding:7px 11px;border:1px solid #dfe6dc;border-radius:8px;background:#fff;color:#33453a;font-size:12px}
  #search-scope-note{display:none}
  .desktop-filter-row .pc-sort-label{display:block}
  .desktop-result-meta{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex:none;color:#69776b;font-size:12px;white-space:nowrap}
  .view-toggle{display:flex;overflow:hidden;border:1px solid #e1e6dd;border-radius:8px;background:#fff}
  .view-toggle button{display:grid;place-items:center;width:43px;height:38px;padding:0;border:0;background:#fff;color:#707c71;cursor:pointer}
  .view-toggle button+button{border-left:1px solid #e1e6dd}
  .view-toggle button.active{background:#e7efdf;color:#3d684b}
  .view-toggle .icon{width:17px;height:17px}
  .desktop-weights-details{display:block;margin:-3px 0 16px;color:#627060;font-size:11px}
  .desktop-weights-details summary{width:max-content;cursor:pointer;list-style-position:inside}
  .desktop-weights-details[open]{padding:10px 13px;border:1px solid #e2e8dc;border-radius:9px;background:#fff}
  #desktop-weight-slot .mobile-weight-card{display:grid;grid-template-columns:110px repeat(3,minmax(0,1fr));align-items:center;gap:10px 16px;margin:10px 0 0;padding:12px 0 0;border-top:1px solid #edf0e9;background:transparent}
  #desktop-weight-slot .mobile-weight-heading{display:none}
  #desktop-weight-slot .weights-heading{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0;padding:0;border:0;font-size:12px}
  #desktop-weight-slot .weights-heading .text-button{padding:0;font-size:10px}
  #desktop-weight-slot .weight-field{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 5px;align-items:center;gap:5px 8px;margin:0;padding:0;border:0}
  #desktop-weight-slot .weight-field label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;white-space:nowrap}
  #desktop-weight-slot .weight-field output{font-size:11px;font-weight:600}
  #desktop-weight-slot .weight-description,#desktop-weight-slot .weight-help{display:none}
  #desktop-weight-slot .weight-field input[type=range]{grid-column:1/-1;width:100%;height:5px;margin:0}
  #results-panel{width:100%;min-width:0}
  #results-panel>.results-heading,#results-panel>.score-note,#results-panel>.result-toolbar,#results-panel>.result-summary,#results-panel>.algorithm-note{display:none}
  #results-grid.results-grid,.batch-result-group .results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  #results-grid>.empty-state,#results-grid>.loading-state,.batch-result-group>.loading-state,.batch-result-group .results-grid>.batch-error{grid-column:1/-1}
  #results-panel .product-card{min-width:0;overflow:hidden;border:1px solid #e5e9e1;border-radius:11px;background:#fff;box-shadow:none;transition:border-color .18s,transform .18s}
  #results-panel .product-card:hover{border-color:#bacbab;transform:translateY(-2px)}
  #results-panel .product-visual{height:clamp(190px,16vw,230px);background:#ececea}
  #results-panel .product-visual .visual-open,#results-panel .product-visual .visual-open img{width:100%;height:100%}
  #results-panel .product-visual .visual-open img{object-fit:contain}
  #results-panel .match-badge{display:none}
  #results-panel .bookmark-button{width:31px;height:31px;top:10px;right:10px;background:#fff;border:1px solid #e6eadf}
  #results-panel .product-body{display:grid;grid-template-columns:minmax(64px,auto) minmax(0,1fr);align-items:center;gap:2px 12px;padding:9px 12px 10px}
  #results-panel .product-title-row{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
  #results-panel .product-title-row .score{grid-column:1;grid-row:1;min-width:65px;padding:7px 11px;border-radius:22px;background:#eaf1e3;color:#315d43;font-size:19px;line-height:1;text-align:center}
  #results-panel .product-title-row .score small{font-size:10px}
  #results-panel .product-title-row .product-title{grid-column:2;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#303b34;font-size:12px;font-weight:650}
  #results-panel .sku-row{grid-column:2;margin:0;color:#7e887e;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #results-panel .sku-row>span:last-child{display:none}
  #results-panel .product-source,#results-panel .component-scores,#results-panel .card-evidence,#results-panel .card-footer,#results-panel .marked-query{display:none}
  #results-grid.list-view,.batch-result-group .results-grid.list-view{grid-template-columns:1fr;gap:10px}
  #results-panel #results-grid.list-view .product-card,.batch-result-group .results-grid.list-view .product-card{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);min-height:160px}
  #results-panel #results-grid.list-view .product-visual,.batch-result-group .results-grid.list-view .product-visual{height:100%;min-height:160px}
  #results-panel #results-grid.list-view .product-body,.batch-result-group .results-grid.list-view .product-body{align-content:center;padding:18px}
  #results-panel .batch-result-group{padding:12px;border:1px solid #e6eadf;border-radius:11px;background:#fff}
  #results-panel .batch-result-group>header{margin-bottom:10px}
}
@media (max-width:1023px){.pc-sort-label{display:none!important}}
@media (min-width:1024px){
  .query-panel{grid-template-areas:"upload start" "queue queue" "preferences preferences"}
  .query-panel>.desktop-weights-details{grid-area:preferences;display:block;width:100%;margin:0;padding:10px 14px;border-top:1px solid #e8eee5;color:#315642;font-size:12px}
  .query-panel>.desktop-weights-details[open]{padding:10px 14px 12px;border:1px solid #dce8d9;border-radius:9px;background:#f7faf5}
  .query-panel>.desktop-weights-details summary{display:flex;align-items:center;gap:10px;width:100%;font-weight:700;list-style:none;cursor:pointer}
  .query-panel>.desktop-weights-details summary::-webkit-details-marker{display:none}
  .query-panel>.desktop-weights-details summary:before{content:"⚙";font-size:16px;color:#618569}
  .query-panel>.desktop-weights-details summary:after{content:"收起⌃";margin-left:auto;font-size:11px;font-weight:500;color:#718374}
  .query-panel>.desktop-weights-details:not([open]) summary:after{content:"展开⌄"}
  .query-panel>.desktop-weights-details summary span{font-size:11px;font-weight:400;color:#849184}
  .query-panel #desktop-weight-slot .mobile-weight-card{margin:8px 0 0;padding:10px 0 0}
}
/* PC visual direction: fixed task sidebar and image-first result canvas. */
@media (min-width:1024px){
  .app-shell{display:flex;background:#f8f9f5}
  .sidebar{display:flex!important;position:fixed;inset:0 auto 0 0;width:250px;z-index:45;padding:24px 20px 18px;overflow-y:auto;background:#f2f5ed;border-right:1px solid #e0e6da}
  .sidebar>.brand{display:flex;flex:none;margin:0 0 26px;padding:0 4px}
  .sidebar .workspace-label{display:flex;margin:4px 8px 14px;font-size:12px}
  .sidebar nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;height:auto;margin:0;padding:0}
  .sidebar .nav-item{display:flex;justify-content:flex-start;width:100%;height:auto;margin:0;padding:12px;border-radius:9px;font-size:13px}
  .sidebar .nav-item .icon,.sidebar .nav-item small{display:block}
  .sidebar .nav-item.active{background:#e1ead9}
  .sidebar .nav-item.active:after{display:none}
  .sidebar .nav-item i{margin-left:auto}
  .sidebar .desktop-task-panel{display:block;margin:26px 4px 12px;padding-top:16px;border-top:1px solid #dde5d8}
  .sidebar #desktop-task-list{display:grid;gap:8px;max-height:260px;overflow:auto}
  .sidebar .desktop-task-row{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid #dbe6d6;border-radius:8px;background:#f9fbf7}
  .sidebar .desktop-task-thumb{width:58px;height:50px;flex:none;overflow:hidden;border-radius:6px}
  .sidebar .desktop-task-thumb img{width:100%;height:100%;object-fit:cover}
  .sidebar .desktop-task-info{min-width:0}
  .sidebar .desktop-task-info strong,.sidebar .desktop-task-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
  .sidebar #desktop-add-image{width:100%;margin-top:10px}
  .sidebar>.desktop-weights-details{display:block;margin:16px 4px 0;padding:17px 0 0;border:0;border-top:1px solid #dde5d8;background:transparent;color:#2e4e3d}
  .sidebar>.desktop-weights-details[open]{padding:17px 0 0;border:0;border-top:1px solid #dde5d8;background:transparent}
  .sidebar>.desktop-weights-details summary{display:flex;align-items:center;gap:4px;width:100%;font-size:12px;font-weight:700;list-style:none}
  .sidebar>.desktop-weights-details summary span{display:none}
  .sidebar>.desktop-weights-details summary:after{content:'⌃';margin-left:auto}
  .sidebar>.desktop-weights-details:not([open]) summary:after{content:'⌄'}
  .sidebar #desktop-weight-slot{margin:8px 0 0;padding:0;border:0}
  .sidebar #desktop-weight-slot .mobile-weight-card{display:block;margin:0;padding:0;border:0;background:transparent}
  .sidebar #desktop-weight-slot .mobile-weight-heading,.sidebar #desktop-weight-slot .weight-description,.sidebar #desktop-weight-slot .weight-help{display:none}
  .sidebar #desktop-weight-slot .weights-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:11px}
  .sidebar #desktop-weight-slot .weight-field{display:block;margin:13px 0}
  .sidebar #desktop-weight-slot .weight-field label{display:flex;justify-content:space-between;gap:4px;font-size:11px}
  .sidebar #desktop-weight-slot .weight-field input{width:100%;margin:6px 0 0}
  .main-shell{width:calc(100% - 250px);margin-left:250px}
  .topbar{position:relative;top:auto;height:72px;padding:0 34px;z-index:5}
  .desktop-brand-nav{display:none}
  .breadcrumb{display:flex!important}
  main{max-width:none;padding:28px 38px 45px}
  #search-page>.page-heading{display:flex;margin:0 0 15px}
  #search-page>.page-heading h1{font-size:31px}
  .query-panel{position:relative;top:auto;margin:0 0 14px;box-shadow:none}
  .desktop-filter-row{margin:0 0 14px}
  #results-grid.results-grid,.batch-result-group .results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
}
.comparison-cell .image-plane{cursor:zoom-in}
.comparison-cell .image-plane:focus-visible{outline:3px solid #94b779;outline-offset:3px}
.image-zoom-dialog{width:min(96vw,1600px);max-width:96vw;max-height:96vh;padding:0;border:1px solid #d9e3d4;border-radius:12px;background:#f6f8f3;color:#264a38;box-shadow:0 24px 70px #13291e55}
.image-zoom-dialog::backdrop{background:#11241bd9}
.image-zoom-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;border-bottom:1px solid #dce5d8;background:#fff}
.image-zoom-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.image-zoom-header .icon-button{font-size:27px;line-height:1}
.image-zoom-stage{display:flex;align-items:center;justify-content:center;min-height:40vh;max-height:calc(96vh - 105px);overflow:auto;padding:12px}
.image-zoom-stage img{display:block;max-width:100%;max-height:calc(96vh - 130px);object-fit:contain;cursor:zoom-in}
.image-zoom-dialog.actual-size .image-zoom-stage{display:block;text-align:center}
.image-zoom-dialog.actual-size .image-zoom-stage img{max-width:none;max-height:none;width:auto;height:auto;margin:auto;cursor:zoom-out}
.image-zoom-dialog>p{margin:0;padding:7px 15px 10px;text-align:center;color:#6d7c6c;font-size:11px}

/* Simple workbench: one shoe query and an automatic NAS library. */
body.simple-mode{background:#f5f7f2;color:#244b3b}
.simple-mode .sidebar,.simple-mode .desktop-brand-nav,.simple-mode .breadcrumb,.simple-mode .local-pill,.simple-mode .install-app-button,.simple-mode .eyebrow,.simple-mode .source-strip,.simple-mode #auth-notice,.simple-mode .search-queue-note,.simple-mode #background-notice,.simple-mode .batch-builder,.simple-mode .batch-add-button,.simple-mode .mobile-selection-panel,.simple-mode .mobile-pending-panel,.simple-mode .mobile-compare-note,.simple-mode .mobile-weight-card,.simple-mode .desktop-weights-details,.simple-mode .query-options,.simple-mode .desktop-filter-row,.simple-mode .result-toolbar,.simple-mode .result-summary .check-label,.simple-mode #algorithm-note,.simple-mode .desktop-upload-label,.simple-mode .query-panel>.subtle,.simple-mode .privacy-note{display:none!important}
.simple-mode .app-shell,.simple-mode .main-shell{display:block;width:100%;margin:0;min-height:100vh}
.simple-mode .topbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;height:84px;padding:0 max(24px,calc((100vw - 1240px)/2));background:white;border-bottom:1px solid #e1e7dc}
.simple-mode .mobile-brand{display:flex!important;align-items:center;gap:12px;min-width:162px;text-decoration:none;color:#244b3b}
.simple-mode .mobile-brand-symbol{width:42px;height:42px;border-radius:10px}
.simple-mode .mobile-brand strong{font-size:21px;letter-spacing:2px}.simple-mode .mobile-brand small{display:none}
.simple-nav{display:flex;align-items:center;gap:6px;margin-right:auto}
.simple-nav button{font:inherit;font-size:14px;border:0;border-radius:8px;padding:10px 16px;background:transparent;color:#71816a;cursor:pointer}
.simple-nav button.active{background:#e7eee0;color:#28533f;font-weight:600}
.simple-mode .top-actions{display:flex;gap:10px;white-space:nowrap}.simple-mode #connection-label{font-size:12px}.simple-mode main{max-width:1240px;margin:0 auto;padding:24px 24px 48px}
.simple-sync{display:flex;align-items:center;gap:12px;border:1px solid #dde7d6;background:#edf3e7;border-radius:12px;padding:16px 20px;margin:0 0 30px}
.simple-sync-dot{width:8px;height:8px;border-radius:50%;background:#64945b;flex:none}.simple-sync strong{font-size:14px}.simple-sync p{font-size:12px;color:#6b7c63;margin:4px 0 0}.simple-sync>span:last-of-type{margin-left:auto;white-space:nowrap;font-size:13px}.simple-sync.warning{background:#fff4e8;border-color:#ead9c0}.simple-sync.warning .simple-sync-dot{background:#bb9254}
.simple-mode .page-heading{display:flex!important;align-items:center;justify-content:space-between;margin:0 0 22px!important}.simple-mode .page-heading h1{font-size:30px;letter-spacing:-.6px;margin:0 0 8px}.simple-mode .page-heading p{font-size:14px;line-height:1.8;max-width:720px;margin:0;color:#72806b}.simple-mode .hero-description{display:block}.simple-mode .desktop-description{display:none}
.simple-mode .workbench{display:grid!important;grid-template-columns:300px minmax(0,1fr);gap:26px;align-items:start}
.simple-mode .query-panel{position:sticky;top:22px;display:block!important;min-width:0;width:auto;margin:0!important;padding:20px!important;background:#fff;border:1px solid #dfe6d9;border-radius:14px;box-shadow:none}
.simple-mode .panel-title{display:flex!important;align-items:center;gap:8px;margin:0 0 16px}.simple-mode .panel-title h2{font-size:15px;margin:0}.simple-mode .step-label{display:none}.simple-mode #upload-count{margin-left:auto}
.simple-mode .mobile-upload-card{display:block!important;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.simple-mode #query-preview{display:flex!important;position:relative;width:100%;height:235px!important;min-height:0;margin:0 0 12px;background:#f4f6f0;border-radius:10px;overflow:hidden;align-items:center;justify-content:center;flex-direction:column;gap:10px}
.simple-mode #query-preview>img{object-fit:contain;width:100%;height:100%;max-height:100%}.simple-mode #query-preview strong{font-size:14px;font-weight:500}.simple-mode #query-preview small{display:none}.simple-mode #query-preview .icon{width:36px;height:36px;color:#a3b393}
.simple-mode #query-thumbnails{display:flex!important;gap:8px;flex-wrap:wrap;margin:0 0 12px}.simple-mode #query-thumbnails:empty{display:none!important}.simple-mode .thumb-wrap{width:64px;height:64px;flex:0 0 64px}.simple-mode .thumb{width:100%;height:100%;padding:3px}.simple-mode .thumb img{object-fit:contain;width:100%;height:100%}
.simple-mode #dropzone{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:132px;width:100%;padding:16px 12px;margin:0;border:1px dashed #b6c9a6;border-radius:10px;background:#fff;cursor:pointer;text-align:center}
.simple-mode #file-input{position:absolute;width:1px;height:1px;opacity:0}.simple-mode #dropzone>.icon{width:23px;height:23px}.simple-mode #dropzone strong{display:block;font-size:14px}.simple-mode #dropzone small{font-size:11px;line-height:1.7}.simple-mode .desktop-click-copy,.simple-mode .desktop-upload-copy,.simple-mode .desktop-paste-hint{display:inline!important}.simple-mode .mobile-upload-copy,.simple-mode .mobile-upload-hint{display:none!important}.simple-mode .paste-hint{display:block!important;font-size:12px}
.simple-mode #search-button{position:static!important;display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;height:48px;margin:14px 0 0!important;border-radius:9px;font-size:15px}.simple-mode #search-button>span:last-child{display:none}
.simple-mode .results-panel{display:block;min-width:0;margin:0;padding:0;background:transparent;border:0}.simple-mode .results-heading{display:flex!important;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0}.simple-mode .results-heading h2{font-size:18px}.simple-mode #result-source{font-size:11px}.simple-mode .score-note{display:flex;margin:0 0 16px;padding:10px 14px;font-size:12px;background:#edf2e9;border:0;border-radius:8px}.simple-mode .score-note p{font-size:12px;line-height:1.6}.simple-mode .result-summary{margin:0 0 12px;padding:0;font-size:12px}.simple-mode .result-summary p{font-size:12px}
.simple-mode #results-grid.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.simple-mode .empty-state{grid-column:1/-1;background:#fff;border:1px solid #e0e7da;border-radius:14px;min-height:410px;margin:0;padding:45px 24px}.simple-mode .empty-state h3{font-size:17px;font-weight:500}.simple-mode .empty-state p{font-size:13px;line-height:1.8}.simple-mode .empty-graphic{margin-bottom:20px}
.simple-mode #library-page .heading-actions,.simple-mode #share-panel,.simple-mode #member-access-notice,.simple-mode #live-sync-panel,.simple-mode .manual-scan-panel,.simple-mode .library-overview,.simple-mode #other-assets-note,.simple-mode .source-overview,.simple-mode .sync-panel,.simple-mode .engine-line,.simple-mode .catalog-filters,.simple-mode #catalog-auto-note,.simple-mode .cache-section,.simple-mode #marked-page>.notice{display:none!important}
.simple-mode .catalog-heading{margin:0 0 18px}.simple-mode .catalog-heading h2{font-size:18px}.simple-mode .catalog-heading p{font-size:13px}.simple-mode #catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.simple-mode #marked-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.simple-mode .page-footer{margin-top:36px;padding-top:18px;font-size:11px;color:#899580}.simple-mode .page-footer>a,.simple-mode .page-footer>span:last-child{display:none}
.simple-mode .detail-query-id,.simple-mode .detail-source-root,.simple-mode .review-heading>span{display:none}
.simple-mode button:focus-visible,.simple-mode a:focus-visible,.simple-mode #dropzone:focus-visible{outline:3px solid #9caf81;outline-offset:3px}
@media(max-width:760px){.simple-mode .topbar{height:auto;min-height:114px;padding:16px 18px 12px;gap:14px;flex-wrap:wrap}.simple-mode .mobile-brand{min-width:0}.simple-mode .top-actions{margin-left:auto}.simple-mode .top-actions #connection-label{font-size:10px}.simple-nav{order:3;width:100%;gap:4px}.simple-nav button{flex:1;padding:8px;font-size:13px}.simple-mode main{padding:18px 16px 32px}.simple-sync{padding:13px 14px;align-items:flex-start;margin-bottom:24px;gap:8px;flex-wrap:wrap}.simple-sync-dot{margin-top:7px}.simple-sync>div{flex:1;min-width:180px}.simple-sync>span:last-of-type{margin-left:16px;font-size:12px}.simple-sync p{line-height:1.7}.simple-mode .page-heading{gap:10px}.simple-mode .page-heading h1{font-size:25px}.simple-mode .page-heading p{font-size:12px}.simple-mode #search-page>.page-heading>button{display:none}.simple-mode .workbench{grid-template-columns:1fr;gap:24px}.simple-mode .query-panel{position:static;padding:16px!important}.simple-mode .mobile-upload-card{display:grid!important;grid-template-columns:112px minmax(0,1fr);gap:12px}.simple-mode #query-preview{height:128px!important;margin:0}.simple-mode #query-preview strong{font-size:12px}.simple-mode #dropzone{min-height:128px;padding:12px 6px}.simple-mode #dropzone strong{font-size:13px}.simple-mode #dropzone small{font-size:10px}.simple-mode .desktop-upload-copy,.simple-mode .desktop-paste-hint{display:none!important}.simple-mode .mobile-upload-hint{display:inline!important;font-size:11px}.simple-mode #query-thumbnails{grid-column:1/-1;grid-row:2;margin:0}.simple-mode #upload-notice{grid-column:1/-1}.simple-mode #results-grid.results-grid,.simple-mode #catalog-grid,.simple-mode #marked-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.simple-mode .empty-state{min-height:270px;padding:30px 18px}.simple-mode .results-heading h2{font-size:17px}.simple-mode .product-card .product-name{font-size:12px}}

body.simple-mode,body.simple-mode input,body.simple-mode button,body.simple-mode select{font-family:system-ui,"Microsoft YaHei",sans-serif}
.simple-mode #search-page>.page-heading h1{font-family:inherit;font-size:30px;letter-spacing:-.6px;line-height:1.4}
.simple-mode .mobile-upload-card:before{display:none!important}
.simple-mode #search-button{min-height:48px!important;max-height:48px;box-shadow:none}
.simple-mode #dropzone small{display:block!important}
.simple-mode #query-preview .shoe-art{display:block!important;width:70px;height:56px;position:static;margin:0;opacity:.4}.simple-mode #query-preview .shoe-art svg{width:100%;height:100%;fill:none;stroke:#759065;stroke-width:2}
.simple-mode #results-panel .score-note{display:flex!important}.simple-mode #results-panel .result-summary{display:block!important}.simple-mode #results-panel .score-note p{margin:0}
.simple-mode #results-grid .product-body{display:block!important;padding:12px}.simple-mode #results-grid .product-body h3{font-size:14px;line-height:1.6;margin:0 0 8px}.simple-mode #results-grid .evidence{display:block!important;font-size:12px;line-height:1.7;color:#72836a}.simple-mode #results-grid .product-actions{display:flex!important;gap:8px;margin-top:10px}.simple-mode #results-grid .dimension-bars{display:none!important}
.simple-mode #results-grid .product-visual{height:auto;aspect-ratio:1.25}.simple-mode #results-grid .product-visual img{object-fit:contain;background:white}
.simple-mode #results-grid .product-meta,.simple-mode #results-grid .source-chip{display:none}
@media(max-width:760px){.simple-mode #search-page.has-mobile-selection .mobile-upload-card{display:grid!important}.simple-mode #search-page>.page-heading h1{font-size:25px;letter-spacing:-.6px}.simple-mode #results-grid .product-body{padding:10px}.simple-mode #results-grid .product-body h3{font-size:12px}.simple-mode #results-grid .product-actions .button{font-size:11px;padding:8px}.simple-mode #results-grid .evidence{font-size:11px}}
.simple-mode #results-panel .card-evidence{display:flex!important;font-size:12px;line-height:1.7;margin:10px 0;color:#718066}.simple-mode #results-panel .card-footer{display:flex!important;align-items:center;justify-content:space-between;padding-top:8px}.simple-mode #results-panel .component-scores,.simple-mode #results-panel .sku-row{display:none!important}.simple-mode #results-panel .product-title-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.simple-mode #results-panel .product-title{font-size:13px;font-weight:600;line-height:1.5}.simple-mode #results-panel .score{font-size:21px}.simple-mode #results-panel .score small{font-size:11px}.simple-mode #results-panel .card-footer .text-button{font-size:12px}

.simple-mode #dropzone strong,.simple-mode #dropzone strong>span{background:transparent!important;color:#42643b!important;box-shadow:none!important;border:0!important;min-height:0!important;height:auto!important;padding:0!important}
.simple-mode #results-panel .card-footer>span{display:none!important}.simple-mode #results-panel .card-footer{justify-content:flex-end}.simple-mode #results-panel .card-footer button{font-size:12px;white-space:normal}
.simple-mode .result-summary:has(p:empty){display:none!important}
@media(max-width:760px){.simple-mode #results-panel .card-footer button{font-size:11px}}

/* Optional comparison settings stay collapsed in the simple workbench. */
.simple-mode #search-page .simple-weights-settings{display:block;margin:16px 0 0;border-top:1px solid #e2e9dd;padding-top:13px;color:#345a43;min-width:0}
.simple-mode #search-page .simple-weights-settings>summary{display:flex;align-items:flex-start;flex-wrap:wrap;gap:5px 10px;cursor:pointer;list-style:none;font-size:13px;line-height:1.6;user-select:none}
.simple-mode #search-page .simple-weights-settings>summary::-webkit-details-marker{display:none}
.simple-mode #search-page .simple-weights-settings>summary>span{font-weight:600}
.simple-mode #search-page .simple-weights-settings>summary:after{content:'＋';margin-left:auto;font-size:15px;line-height:1.3}
.simple-mode #search-page .simple-weights-settings[open]>summary:after{content:'−'}
.simple-mode #search-page .simple-weights-settings>summary>small{flex-basis:100%;order:2;font-size:10px;letter-spacing:0;color:#7c8c72;line-height:1.7}
.simple-mode #search-page .simple-weights-settings>summary:focus-visible{outline:3px solid #9caf81;outline-offset:4px;border-radius:4px}
.simple-mode #search-page .simple-weights-settings .mobile-weight-card{display:block!important;margin:12px 0 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-width:0}
.simple-mode #search-page .simple-weights-settings .mobile-weight-heading{display:none!important}
.simple-mode #search-page .simple-weights-settings .weights-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;font-size:12px}
.simple-mode #search-page .simple-weights-settings .weights-heading strong{font-size:12px;font-weight:500;color:#7b8b71}
.simple-mode #search-page .simple-weights-settings #reset-weights{font-size:11px;color:#5b7d4d;padding:3px 0}
.simple-mode #search-page .simple-weights-settings .weight-field{display:block;margin:13px 0 17px;padding:0;min-width:0}
.simple-mode #search-page .simple-weights-settings .weight-field label{display:flex;align-items:center;gap:6px;line-height:1.6;font-size:13px;margin:0}
.simple-mode #search-page .simple-weights-settings .weight-field output{margin-left:auto;font-size:12px;color:#527444}
.simple-mode #search-page .simple-weights-settings .weight-field .desktop-weight-name,.simple-mode #search-page .simple-weights-settings .weight-description{display:none!important}
.simple-mode #search-page .simple-weights-settings .weight-field .mobile-weight-name{display:inline!important}
.simple-mode #search-page .simple-weights-settings .weight-field input{display:block;width:100%;height:20px;margin:7px 0 0;accent-color:#668a50;cursor:pointer;box-sizing:border-box}
.simple-mode #search-page .simple-weights-settings .weight-help{display:block!important;font-size:11px;line-height:1.8;margin:0;color:#86937c}
@media(max-width:760px){.simple-mode #search-page .simple-weights-settings{margin-top:14px}.simple-mode #search-page .simple-weights-settings>summary>small{font-size:11px}.simple-mode #search-page .simple-weights-settings .weight-field input{height:26px}}
