:root{color-scheme:light;--bg:#f4f6f5;--surface:#fff;--surface-2:#eef2f1;--ink:#202a2d;--muted:#657276;--line:#d9e0de;--accent:#176e66;--accent-soft:#e2f1ed;--warm:#c66e43;--shadow:0 15px 40px rgba(26,44,46,.07);--control:#eff4f2}
:root[data-theme="dark"]{color-scheme:dark;--bg:#121a1e;--surface:#1b272b;--surface-2:#233237;--ink:#e7eeeb;--muted:#9cacad;--line:#34454a;--accent:#80cab9;--accent-soft:#28453f;--warm:#ed9a6f;--shadow:0 18px 46px rgba(0,0,0,.2);--control:#233237}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.55}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.topbar{height:76px;padding:0 clamp(18px,4vw,56px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface)}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:35px;height:35px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:7px;background:var(--surface-2);transform:skewY(-9deg)}.brand-mark i{display:block;height:4px;border-radius:3px;background:var(--accent)}.brand-mark i:nth-child(2){width:75%;background:var(--warm)}.brand-mark i:nth-child(3){width:54%;background:var(--muted)}.brand b{display:block;letter-spacing:.02em;font-size:17px}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:.13em;margin-top:1px}.top-actions{display:flex;align-items:center;gap:12px}.download-all,.download-one{height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border-radius:8px;background:var(--accent);color:#fff;font-size:14px;font-weight:650;transition:transform .18s,opacity .18s}.download-all:hover,.download-one:hover{transform:translateY(-1px);opacity:.91}.theme-toggle{height:40px;width:42px;border:1px solid var(--line);background:var(--surface-2);border-radius:8px;color:var(--ink);font-size:20px;cursor:pointer}.intro{padding:35px clamp(18px,4vw,56px) 28px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:12px;font-weight:700}.intro h1{font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;line-height:1.2;margin:8px 0 7px}.intro p{margin:0;color:var(--muted);max-width:720px}.stats{display:flex;gap:8px;flex-shrink:0}.stats div{min-width:82px;padding:9px 14px;border-left:1px solid var(--line)}.stats strong{display:block;font-size:21px;line-height:1.1}.stats span{font-size:12px;color:var(--muted)}.layout{display:grid;grid-template-columns:314px minmax(0,1fr);gap:22px;padding:0 clamp(18px,4vw,56px) 48px;align-items:start}.sidebar{position:sticky;top:16px;max-height:calc(100vh - 32px);min-height:580px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:15px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}.searchbox{display:flex;align-items:center;gap:8px;background:var(--surface-2);border:1px solid var(--line);border-radius:8px;height:43px;padding:0 10px;flex-shrink:0}.searchbox>span{font-size:23px;color:var(--muted);line-height:1}.searchbox input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px;min-width:0}.searchbox input::placeholder{color:var(--muted)}.searchbox kbd{font-size:11px;color:var(--muted);white-space:nowrap;border:1px solid var(--line);border-radius:4px;padding:1px 4px}.side-heading{display:flex;justify-content:space-between;align-items:center;margin:19px 2px 8px;font-size:14px;font-weight:700}.sector-list{display:flex;flex-direction:column;gap:3px;max-height:230px;overflow:auto;padding-right:2px;flex-shrink:0}.sector-button{display:flex;justify-content:space-between;align-items:center;text-align:left;border:0;background:transparent;color:var(--muted);border-radius:6px;padding:6px 8px;font-size:14px;cursor:pointer}.sector-button b{font-size:12px;font-weight:550;color:var(--muted)}.sector-button:hover{background:var(--surface-2);color:var(--ink)}.sector-button.on{background:var(--accent-soft);color:var(--accent);font-weight:700}.sector-button.on b{color:var(--accent)}.card-heading{border-top:1px solid var(--line);padding-top:14px;margin-top:13px}.card-list{overflow:auto;min-height:150px;padding-right:3px}.card-item{display:grid;grid-template-columns:1fr auto;gap:2px 7px;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;padding:9px 9px;margin:1px 0;color:var(--ink);cursor:pointer}.card-item:hover{background:var(--surface-2)}.card-item.selected{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 25%,transparent)}.item-code{font-size:12px;color:var(--accent);font-weight:750;letter-spacing:.035em}.level{font-style:normal;font-size:10px;padding:1px 4px;border-radius:4px;background:var(--surface-2);color:var(--muted);margin-left:4px}.level-h{background:#f8e8dd;color:#984929}.item-title{grid-column:1/-1;font-weight:650;font-size:14px;line-height:1.35}.item-sector{grid-column:1/-1;color:var(--muted);font-size:12px}.empty{color:var(--muted);padding:14px;font-size:14px}.main{min-width:0}.viewer-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.detail-head{padding:22px 24px 15px}.headline-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.headline-row h1{font-size:clamp(23px,2.5vw,30px);line-height:1.18;letter-spacing:-.03em;margin:5px 0}.subline{margin:0;color:var(--muted);font-size:14px}.confidence{flex-shrink:0;font-size:12px;padding:6px 9px;border-radius:6px;background:var(--surface-2);color:var(--muted);font-weight:700}.confidence.low{background:#f8e7df;color:#9e4e30}.confidence.medium{background:#eff0df;color:#777027}.viewer-toolbar{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:12px 22px;flex-wrap:wrap}.mode-controls{display:flex;gap:4px;padding:3px;border-radius:8px;background:var(--surface-2)}.mode-controls button{border:0;background:transparent;color:var(--muted);border-radius:6px;padding:7px 11px;font-size:14px;cursor:pointer}.mode-controls button.on{background:var(--surface);color:var(--ink);font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.08)}.mode-help{color:var(--muted);font-size:13px;flex:1;min-width:170px}.download-one{height:36px;padding:0 12px;font-size:13px}.figure-shell{margin:0 14px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--surface-2)}.figure{width:100%;aspect-ratio:1000/640}.figure svg{display:block;width:100%;height:100%}.figure [data-layer]{cursor:pointer;transition:filter .16s}.figure [data-layer]:hover{filter:brightness(1.14)}.viewer-bottom{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;padding:17px 22px 11px}.legend-wrap>.eyebrow{display:block;margin-bottom:8px}.legend{display:flex;flex-wrap:wrap;gap:6px}.legend-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);padding:4px 7px;border-radius:5px;font-size:12px;color:var(--muted)}.legend-chip i{width:12px;height:12px;background:var(--swatch);border:1px solid rgba(0,0,0,.12);border-radius:3px}.interaction{border-left:1px solid var(--line);padding-left:18px}.interaction>label:first-child{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.interaction>label:first-child b{color:var(--accent)}input[type=range]{width:100%;accent-color:var(--accent);margin:6px 0 11px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:9px;cursor:pointer}.switch-row b{display:block;font-size:13px}.switch-row small{display:block;color:var(--muted);font-size:12px}.switch-row input{position:absolute;opacity:0}.switch{width:37px;height:21px;border-radius:15px;background:var(--line);position:relative;transition:background .16s;flex-shrink:0}.switch:after{content:"";position:absolute;width:15px;height:15px;top:3px;left:3px;border-radius:50%;background:#fff;transition:transform .16s}.switch-row input:checked+.switch{background:var(--accent)}.switch-row input:checked+.switch:after{transform:translateX(16px)}.switch-row input:focus-visible+.switch{outline:3px solid color-mix(in srgb,var(--accent) 38%,transparent)}.layer-caption{margin:0 22px 18px;padding:11px 13px;border-radius:7px;background:var(--surface-2);display:flex;align-items:flex-start;gap:13px}.layer-caption .eyebrow{min-width:130px;padding-top:2px}.layer-caption p{margin:0;font-size:14px}.caption-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:14px}.caption-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px 15px;min-width:0}.caption-card p{margin:7px 0 0;font-size:14px;line-height:1.55;color:var(--ink)}.spec-section{margin-top:25px}.section-title{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:11px}.section-title h2{font-size:20px;margin:3px 0 0;letter-spacing:-.02em}.section-title p{font-size:13px;color:var(--muted);margin:0;max-width:380px;text-align:right}.spec-list{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}.spec-row{border-bottom:1px solid var(--line)}.spec-row:last-child{border-bottom:0}.spec-row summary{padding:12px 15px;cursor:pointer;font-weight:650;font-size:14px;list-style:none;display:flex;justify-content:space-between}.spec-row summary::-webkit-details-marker{display:none}.spec-row summary:after{content:"＋";color:var(--muted);font-weight:400}.spec-row[open] summary:after{content:"−"}.spec-row p{margin:0;padding:0 15px 14px;color:var(--muted);font-size:14px}.site-foot{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;padding:15px 3px}.site-foot span:last-child{color:var(--warm)}
@media(max-width:1120px){.layout{grid-template-columns:280px minmax(0,1fr);gap:14px}.viewer-bottom{grid-template-columns:1fr}.interaction{border-left:0;border-top:1px solid var(--line);padding:13px 0 0}.caption-card p{font-size:13px}}
@media(max-width:820px){.intro{align-items:flex-start;flex-direction:column;padding-top:25px}.stats{width:100%;gap:0}.stats div{flex:1}.layout{grid-template-columns:1fr}.sidebar{position:static;max-height:none;min-height:0}.sector-list{flex-direction:row;max-height:none;overflow-x:auto;padding:0 0 5px}.sector-button{white-space:nowrap;gap:10px;border:1px solid var(--line);padding:5px 9px}.card-list{max-height:230px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.card-heading{margin-top:8px}.caption-cards{grid-template-columns:1fr}.caption-card p{font-size:14px}.section-title{align-items:flex-start;flex-direction:column}.section-title p{text-align:left}.headline-row h1{font-size:25px}}
@media(max-width:480px){.topbar{height:66px;padding:0 15px}.brand b{font-size:15px}.brand small{font-size:9px}.brand-mark{width:31px;height:31px}.download-all{font-size:12px;padding:0 9px;height:36px}.theme-toggle{width:36px;height:36px}.top-actions{gap:7px}.intro{padding:22px 16px}.intro p{font-size:14px}.stats div{padding:8px 10px;min-width:0}.stats strong{font-size:18px}.layout{padding:0 12px 30px}.sidebar{padding:11px}.card-list{grid-template-columns:1fr;max-height:190px}.searchbox kbd{display:none}.detail-head{padding:17px 15px 12px}.headline-row{gap:8px;flex-direction:column}.headline-row h1{font-size:24px}.viewer-toolbar{padding:10px 12px;gap:8px}.mode-controls{width:100%;justify-content:space-between}.mode-controls button{flex:1;padding:7px 5px}.mode-help{font-size:12px;min-width:100%}.download-one{height:34px}.figure-shell{margin:0 8px}.viewer-bottom{padding:13px 13px 8px;gap:13px}.legend-chip{font-size:12px;padding:4px 6px}.layer-caption{margin:0 12px 13px;display:block}.layer-caption .eyebrow{display:block;margin-bottom:5px}.layer-caption p{font-size:14px}.caption-cards{margin-top:10px;gap:8px}.caption-card{padding:12px}.site-foot{flex-direction:column;font-size:12px}.section-title h2{font-size:18px}}
.readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px 14px 12px}.readout{min-width:0;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:7px}.readout span{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:3px}.readout b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.4}.no-match{margin:10px 0;color:var(--muted)}
@media(max-width:480px){.readouts{grid-template-columns:1fr;gap:6px;padding:8px 9px}.readout{display:grid;grid-template-columns:105px 1fr;gap:10px;align-items:start;padding:8px 9px}.readout span{margin:0}.readout b{font-size:13px}}
 .source-section{margin-top:26px}.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.source-item{min-width:0;padding:13px 15px;background:var(--surface);border:1px solid var(--line);border-radius:9px}.source-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:6px}.source-publisher{color:var(--accent);font-size:12px;font-weight:750}.source-kind,.source-relation{font-size:11px;color:var(--muted);background:var(--surface-2);border-radius:20px;padding:2px 7px}.source-item>a{font-size:14px;font-weight:700;color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}.source-item>a:hover{color:var(--accent)}.source-item p{font-size:13px;color:var(--muted);margin:6px 0 0;line-height:1.5}.source-disclaimer{font-size:12px;color:var(--muted);margin:10px 2px 0;line-height:1.5}@media(max-width:820px){.source-list{grid-template-columns:1fr}}
 .profile-note{margin:0 14px 8px;padding:11px 14px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);border-radius:8px}.profile-note-head{display:flex;align-items:center;gap:8px}.profile-badge{display:inline-flex;align-items:center;border:1px solid color-mix(in srgb,var(--accent) 32%,transparent);border-radius:20px;padding:1px 8px;color:var(--accent);font-size:11px;font-weight:700}.profile-note p{margin:5px 0 2px;font-size:14px;line-height:1.5}.profile-note small{display:block;color:var(--muted);font-size:12px;line-height:1.45}@media(max-width:480px){.profile-note{margin:0 9px 7px;padding:9px 10px}.profile-note p{font-size:13px}}
.card-entry{min-width:0}.uploaded-diagrams{display:grid;gap:3px;margin:0 8px 5px 14px;padding:0 0 2px 9px;border-left:2px solid var(--accent-soft)}.uploaded-diagram{display:flex;align-items:flex-start;gap:5px;min-width:0}.uploaded-open{display:flex;justify-content:space-between;align-items:flex-start;gap:5px;flex:1;min-width:0;color:var(--accent);font-size:11px;line-height:1.35}.uploaded-open:hover,.uploaded-download:hover{text-decoration:underline;text-underline-offset:2px}.uploaded-open span{flex-shrink:0;color:var(--muted);font-size:10px;white-space:nowrap}.uploaded-download{flex-shrink:0;color:var(--muted);font-size:10px;white-space:nowrap}
[hidden]{display:none!important}.diagram-switch-wrap{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.diagram-switch-wrap select{max-width:min(36vw,340px);height:36px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);padding:0 9px;font:inherit}.figure.has-uploaded-html{aspect-ratio:auto;height:auto}.diagram-frame{display:block;width:100%;height:900px;border:0;background:#f4f4f1}
@media(max-width:480px){.diagram-switch-wrap{width:100%;justify-content:space-between}.diagram-switch-wrap select{max-width:70%;flex:1}.viewer-toolbar{align-items:stretch}.download-one{flex-shrink:0}}
