:root { --ink:#1d2a27;--muted:#718078;--pine:#12382f;--forest:#1d5c47;--mint:#cce6d7;--cream:#f8faf6;--line:#e3eae3;--white:#ffffff;--sage:#eff5ef;--radius:16px; }
* {box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fbfcf9;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.container{width:min(1200px,calc(100% - 64px));margin:0 auto}
.topbar{height:84px;background:#fff;border-bottom:1px solid #e7ece7;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1200px)/2));gap:22px}.identity{text-decoration:none;display:flex;align-items:center;gap:14px}.identity-symbol{position:relative;display:flex;align-items:flex-end;gap:3px;height:33px;width:34px;overflow:hidden}.identity-symbol span{width:9px;border-radius:3px;background:#265642;transform:skew(-21deg)}.identity-symbol span:nth-child(1){height:28px}.identity-symbol span:nth-child(2){height:18px;background:#7bac8b}.identity-symbol span:nth-child(3){height:33px}.identity-text{display:flex;flex-direction:column;font-size:15px;letter-spacing:.07em;font-weight:850;line-height:1.05}.identity-text>span{color:#3e8062}.identity-text small{font-size:8px;letter-spacing:.2em;font-weight:600;color:#939d96;margin-top:6px}.top-actions{display:flex;align-items:center;gap:16px}.top-mark{font-size:12px;color:#88968d}.lang-toggle{border:1px solid var(--line);background:#fff;padding:9px 10px;border-radius:10px;font-weight:750;color:var(--pine)}.saved-trigger{display:flex;gap:7px;align-items:center;border:0;background:transparent;color:#33463b;font-size:13px}.saved-trigger svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.7}.saved-trigger b{background:#e6f1e9;border-radius:99px;padding:3px 6px;font-size:10px;color:#2b7352;min-width:21px;text-align:center}
.hero{position:relative;overflow:hidden;background:linear-gradient(132deg,#132f29 2%,#193c32 54%,#205242 100%);color:#fff}.hero:before{content:"";position:absolute;border:1px solid rgba(255,255,255,.06);width:690px;height:690px;transform:rotate(40deg);right:-310px;top:-360px;border-radius:130px}.hero:after{content:"";position:absolute;right:5%;bottom:-200px;width:350px;height:350px;border:1px solid rgba(176,224,195,.09);transform:rotate(35deg);border-radius:80px}.hero-dots{position:absolute;right:3%;top:20px;width:300px;height:300px;opacity:.2;background-image:radial-gradient(#bedac7 .8px,transparent .8px);background-size:18px 18px;mask-image:linear-gradient(to left,#000,transparent)}.hero-inner{position:relative;padding:78px 0 60px;z-index:1}.eyebrow{display:flex;align-items:center;gap:12px;letter-spacing:.16em;font-size:10px;font-weight:750;color:#c0d8c9}.eyebrow .line{width:27px;height:1px;background:#9fc6ad}.live-dot{margin-left:6px;width:6px;height:6px;background:#c4e4a6;border-radius:50%;box-shadow:0 0 0 4px #ffffff14}.beta{letter-spacing:.08em;color:#d1e8c2}.hero h1{margin:23px 0 12px;letter-spacing:-.045em;font-size:clamp(33px,4.1vw,55px);line-height:1.22;font-weight:750}.hero-sub{color:#c6d6cd;font-size:15px;line-height:1.8;margin:0 0 32px}.search-shell{width:min(850px,100%)}.search-bar{display:flex;align-items:center;background:#fff;border-radius:12px;padding:8px 8px 8px 20px;box-shadow:0 16px 40px #061d182e;min-height:68px;gap:14px}.search-bar>svg{width:22px;height:22px;stroke:#6a8478;stroke-width:1.75;fill:none;flex-shrink:0}.search-bar input{min-width:0;flex:1;color:#24392e;border:0;outline:0;font-size:16px;background:transparent}.search-bar input::placeholder{color:#9faea3}.search-bar button{border:0;border-radius:8px;background:#337755;color:#fff;padding:15px 23px;white-space:nowrap;font-weight:700;font-size:14px;transition:background .15s}.search-bar button:hover{background:#245d43}.search-bar button span{padding-left:10px}.quick-search{margin-top:15px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#bfd2c4;font-size:12px}.example{border:1px solid #98bfaa3f;color:#e1ede5;background:#ffffff12;border-radius:20px;padding:7px 13px;letter-spacing:.02em;font-weight:550}.example:hover{background:#ffffff28}.hero-bottom{display:flex;gap:25px;align-items:center;margin-top:36px;color:#c7d5cb;font-size:12px}.hero-bottom>span{display:flex;align-items:center;gap:7px}.green-check{color:#b7e3b8;font-weight:900}
.workspace{padding:43px 0 100px;display:grid;grid-template-columns:238px minmax(0,1fr);gap:44px}.sidebar{padding-top:6px}.sidebar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.overline{font-size:10px;color:#789184;font-weight:780;letter-spacing:.145em;margin:0}.reset-btn{border:0;background:none;color:#618f73;font-size:12px;padding:4px}.supplier-row{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:44px;gap:7px;border:0;background:transparent;text-align:left;padding:7px 10px;border-radius:9px;color:#63776b;font-size:13px;margin-bottom:3px}.supplier-row:hover{background:#eff4ee}.supplier-row.selected{background:#e8f2eb;color:#286348;font-weight:720}.supplier-title{display:flex;align-items:center;gap:11px;min-width:0}.supplier-name{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.dot{width:7px;height:7px;border-radius:50%;background:#c8d2c9;flex-shrink:0}.dot.active{background:#4a9e75}.supplier-n{font-size:11px;border-radius:99px;background:#f1f5ef;padding:3px 7px;color:#8a9991;min-width:22px;text-align:center}.selected .supplier-n{color:#397354;background:#d3e8d9}.sidebar-tip{background:#f0f5f0;padding:17px 14px;margin-top:25px;border-radius:12px;display:flex;gap:10px;align-items:start}.sidebar-tip p{margin:0;color:#6e8073;font-size:11px;line-height:1.7}.tip-icon{font-size:10px;font-weight:700;border-radius:50%;width:15px;height:15px;display:grid;place-items:center;flex-shrink:0;background:#c7e2d0;color:#3d7555}
.main-panel{min-width:0}.stats-row{display:flex;align-items:center;border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px 22px;min-height:95px;margin-bottom:40px}.stat{display:flex;flex-direction:column;gap:5px;min-width:137px;border-right:1px solid #e9efea;padding-right:27px;margin-right:27px}.stat strong{font-size:25px;letter-spacing:-.04em;font-weight:750;line-height:1.1}.stat-label{font-size:11px;color:#89968c}.stat-side{margin-left:auto;margin-right:0;padding-right:0;border:0;display:flex;flex-direction:row;gap:9px;align-items:center;min-width:0;color:#799785;font-size:11px}.small-ring{width:8px;height:8px;border:2px solid #76b58a;border-radius:50%}.results-topline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.results-topline h2{font-size:26px;font-weight:740;letter-spacing:-.04em;margin:8px 0 5px}.muted{color:#90a096;font-size:12px;margin:0;line-height:1.65}.export-btn{display:flex;align-items:center;gap:8px;padding:10px 13px;background:#fff;border:1px solid var(--line);border-radius:9px;color:#425d4c;font-weight:600;font-size:12px;white-space:nowrap}.export-btn:disabled{opacity:.45;cursor:not-allowed}.export-btn svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.7}.results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.result-card{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden;min-width:0;box-shadow:0 4px 12px #1b3c2428;transition:transform .18s,box-shadow .18s}.result-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px #1b3c2415}.card-image{height:181px;background:linear-gradient(145deg,#eef3ed,#e6efe8);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-image img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;background:#f6f8f6}.card-image .empty-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9caea1;font-size:11px;text-align:center}.empty-photo svg{width:46px;height:46px;stroke:#a4bcad;stroke-width:1.1;fill:none}.card-image .verified-tag{position:absolute;top:13px;left:13px;background:#fffffff0;border-radius:5px;padding:6px 8px;color:#52745a;font-size:10px;font-weight:700}.card-image .source-tag{position:absolute;bottom:10px;right:10px;background:#1b4339bf;color:#fff;font-size:10px;padding:5px 8px;border-radius:5px}.card-info{padding:20px 21px 19px}.card-titleline{display:flex;justify-content:space-between;gap:10px;align-items:center}.card-code{margin:0;font-size:22px;letter-spacing:.015em;color:#17392d}.bookmark-btn{border:1px solid #e3ebe3;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#fff;flex-shrink:0;color:#94a599}.bookmark-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.bookmark-btn.bookmarked{background:#e8f4ed;color:#22754c;border-color:#c0dfcb}.bookmark-btn.bookmarked svg{fill:#a3d5b9}.card-supplier{color:#5c9670;font-weight:670;font-size:12px;margin:7px 0 16px}.details{display:grid;grid-template-columns:70px 1fr;gap:6px 8px;font-size:12px;line-height:1.5;min-height:72px}.details dt{margin:0;color:#92a096}.details dd{margin:0;color:#53665a;overflow-wrap:anywhere}.card-foot{border-top:1px solid #eef0ec;margin-top:16px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.source-link{color:#2f7652;text-decoration:none;font-size:12px;font-weight:680}.source-link:hover{text-decoration:underline}.review-label{color:#9a9f9a;font-size:10px;max-width:120px;text-align:right}.empty-state{grid-column:1/-1;border:1px dashed #dce6dc;background:#fff;border-radius:15px;min-height:320px;padding:42px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-state h3{font-size:19px;margin:17px 0 6px;color:#34483b}.empty-state p{font-size:13px;color:#8b9d8e;line-height:1.8;max-width:430px}.empty-illustration{width:130px;height:85px;position:relative}.slab{position:absolute;width:55px;height:65px;border-radius:9px;border:4px solid #c5dfcd;transform:rotate(-17deg);left:21px;top:8px;background:#e6f1e7}.slab-two{left:42px;top:5px;transform:rotate(0);background:#d8ebdb;border-color:#a7cfb4}.slab-three{left:62px;top:12px;transform:rotate(17deg);background:#bbdbcb;border-color:#79af8f}.empty-state.no-matches .empty-illustration{filter:grayscale(1)}.fallback-button{display:inline-flex;margin-top:12px;padding:9px 15px;border:1px solid #d4e4d7;border-radius:8px;color:#2e7651;text-decoration:none;font-size:12px;font-weight:650}.pagination{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:20px;color:#789283;font-size:12px}.pagination button{border:1px solid #dfe9de;border-radius:8px;background:#fff;padding:9px 14px;color:#3c7156}.pagination:empty{display:none}.disclaimer{border-left:3px solid #a2c2ac;padding:8px 0 8px 17px;margin-top:35px}.disclaimer strong{font-size:12px;color:#4c775e}.disclaimer p{font-size:11px;line-height:1.8;color:#879589;margin:5px 0}.disclaimer a{color:#4b8a63;font-weight:680;text-decoration:none;font-size:11px}.disclaimer a:hover{text-decoration:underline}.site-footer{border-top:1px solid var(--line);background:#fff;padding:30px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px}.footer-inner>div{display:flex;flex-direction:column;gap:6px}.footer-inner strong{font-size:12px;letter-spacing:.09em}.footer-inner span,.footer-inner p{font-size:11px;color:#94a198}.footer-inner p{max-width:400px;line-height:1.7}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#183a2c;color:#fff;padding:12px 18px;border-radius:10px;box-shadow:0 8px 30px #0003;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.container{width:min(100% - 40px,1200px)}.workspace{grid-template-columns:195px minmax(0,1fr);gap:22px}.stat{min-width:110px;margin-right:14px;padding-right:14px}.stat-side{display:none}.card-image{height:150px}.card-info{padding:16px}.hero-inner{padding:65px 0 50px}}@media(max-width:750px){.topbar{height:72px;padding:0 20px}.top-mark{display:none}.identity-text{font-size:12px}.identity-symbol{transform:scale(.85);transform-origin:left center;margin-right:-5px}.top-actions{gap:8px}.saved-trigger span{display:none}.hero-inner{padding:51px 0 42px}.hero h1{font-size:36px}.hero-sub{font-size:13px}.workspace{display:flex;flex-direction:column;padding:27px 0 70px;gap:24px}.sidebar{display:block}.sidebar-top{margin-bottom:6px}.sidebar #supplierList{display:flex;gap:4px;max-width:100%;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}.supplier-row{min-width:max-content;width:auto;padding:9px 12px;white-space:nowrap;min-height:39px;border:1px solid var(--line);background:#fff;flex-shrink:0}.supplier-row.selected{border-color:#b1d4be}.supplier-name{white-space:nowrap}.sidebar #allSuppliers{display:inline-flex;float:left;margin-right:5px}.sidebar-tip{display:none}.stats-row{margin-bottom:28px}.results-topline h2{font-size:22px}.results{grid-template-columns:repeat(2,minmax(0,1fr))}.card-image{height:128px}}@media(max-width:520px){.container{width:calc(100% - 30px)}.search-bar{gap:7px;padding:7px 7px 7px 12px;min-height:60px}.search-bar>svg{width:19px}.search-bar input{font-size:13px}.search-bar button{padding:13px 12px;font-size:12px}.search-bar button span{display:none}.hero h1{font-size:30px}.hero-bottom{gap:15px;flex-wrap:wrap;margin-top:24px;font-size:10px}.eyebrow{font-size:9px;letter-spacing:.1em}.stats-row{gap:0;padding:16px 12px}.stat{min-width:0;flex:1;margin-right:11px;padding-right:11px}.stat:last-of-type{border:0}.stat-label{font-size:9px}.stat strong{font-size:22px}.results{grid-template-columns:1fr}.card-image{height:178px}.results-topline{align-items:flex-end}.results-topline h2{font-size:21px}.export-btn{font-size:11px;padding:9px}.footer-inner{align-items:flex-start;flex-direction:column}.quick-search{gap:6px}.example{padding:6px 9px}}

/* v0.6 on-demand source status */
.live-panel{padding:18px 20px;margin-bottom:18px;border:1px solid #dce3dc;border-radius:16px;background:#f9fbfa;}
.live-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:10px;}
.live-heading strong{font-size:14px;color:#12231d;}
.live-heading small{font-size:11px;color:#64716c;}
.live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:7px;}
.live-vendor{display:flex;flex-direction:column;gap:5px;background:white;border:1px solid #e3e8e5;border-radius:10px;padding:10px;text-decoration:none;color:#243c31;min-height:76px;}
.live-vendor:hover{border-color:#90b8a3;background:#f7fcf9;}
.live-vendor b{font-size:12px;overflow-wrap:anywhere;}
.live-vendor small{font-size:10px;color:#65766f;}
.live-status{font-size:11px;color:#88613b;}
.live-status.matched{color:#16814f;font-weight:600;}
.live-status.not_connected{color:#777;}
.live-status.blocked,.live-status.error,.live-status.timeout{color:#b4533d;}
@media(max-width:570px){.live-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.live-panel{padding:12px;}}

/* v0.7 web-index candidate excerpt; visibly secondary to confirmed source details */
.web-snippet{font-size:.85rem;color:var(--muted,#667085);margin:.35rem 0 .65rem;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.live-status.web_candidates{color:#086e49}.live-status.no_indexed_match,.live-status.index_partial{color:#777}.live-status.quota_limited,.live-status.web_error{color:#9b4d2b}

/* v1.4 manual supplier-photo preview, never cache or rehost supplier images. */
.supplier-photo-preview{appearance:none;border:1px solid #82a08d;border-radius:8px;background:#fff;color:#22553e;padding:8px 12px;cursor:pointer;font:inherit;font-size:13px;margin-top:10px}
.supplier-photo-preview:hover{background:#eef5ef}

.historical-catalog-note{font-size:11px;color:#6b705f;line-height:1.45;margin:5px 0 7px}

.jinyu-extra {border-top:1px solid #e2e8e6;margin:12px 0;padding-top:10px;}
.jinyu-extra summary {cursor:pointer;color:#236e52;font-size:12px;font-weight:650;list-style:auto;margin-bottom:8px;}
.jinyu-extra .details {margin-top:10px;}

/* v1.7: bilingual product attributes, reliable supplier photo direct-link rendering */
.jinyu-primary{grid-template-columns:minmax(125px,41%) minmax(0,1fr);gap:7px 10px;}
.jinyu-extra .details{grid-template-columns:minmax(135px,43%) minmax(0,1fr);gap:8px 9px;min-height:0;}
.jinyu-extra .details dt{color:#738a7c;line-height:1.45;overflow-wrap:break-word;}
.jinyu-extra .details dd,.jinyu-primary dd{font-weight:500;color:#354d40;line-height:1.5;}
.cached-evidence{display:block;margin:-7px 0 12px;color:#866a35;background:#fbf7e7;border-radius:6px;padding:7px 9px;font-size:11px;}
.translation-note{font-size:10px;color:#859186;line-height:1.55;margin:13px 0 0;}
.card-image .photo-error{font-size:12px;color:#637866;text-align:center;max-width:210px;line-height:1.7;padding:10px;}
.card-foot{flex-wrap:wrap;justify-content:flex-start;gap:7px 16px;}
.card-foot .review-label{margin-left:auto;}
@media(max-width:520px){.jinyu-primary,.jinyu-extra .details{grid-template-columns:minmax(120px,43%) minmax(0,1fr)}}

.result-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
@media(max-width:520px){.result-actions{justify-content:flex-start;}.result-actions .export-btn{font-size:10px;padding:7px 9px;}}
/* v2.6: temporary preview when a supplier renders its slab in Canvas/WebGL.
   Never label a browser capture as the source image file. */
.card-image .photo-capture-note{position:absolute;left:9px;bottom:9px;max-width:73%;border-radius:5px;background:#173c32db;color:#fff;font-size:9px;line-height:1.35;padding:4px 7px;pointer-events:none}

/* v2.7: supplier status cards expose one deliberate deep lookup action. */
.live-vendor-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:auto;padding-top:4px;}
.live-original-link{font-size:10px;color:#2d7155;text-decoration:underline;text-underline-offset:2px;}
.live-deep-button{background:#e7f2eb;border:1px solid #b6d1c0;border-radius:6px;color:#176143;font-size:11px;line-height:1.3;padding:5px 7px;cursor:pointer;font-weight:600;}
.live-deep-button:hover,.live-deep-button:focus-visible{background:#d2e9db;border-color:#5c9f7c;outline-color:#5c9f7c;}

/* Zhongao native product-page photo gallery. Keep all images source-verified. */
.zhongao-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 8px}
.zhongao-gallery-grid a{display:flex;min-height:75px;max-height:135px;align-items:center;justify-content:center;overflow:hidden;background:#f3f5f2;border:1px solid #e0e8e0;border-radius:7px}
.zhongao-gallery-grid img{display:block;width:100%;height:100%;max-height:135px;object-fit:contain}
.zhongao-gallery-note{color:#87978a;font-size:11px;line-height:1.5;margin:4px 0 2px}

/* v4.9: Do not silently show a stale backend as if it were the new version. */
.version-warning{border:1px solid #c47b53;background:#fff5ea;color:#814626;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.55;margin-bottom:12px;font-weight:600;}
