/* Round 6C: mode hubs, matching v8's dark/amber/bracket language. */
.hub-page,.hub-item{--hub-accent:#e5ac49;min-width:0}
.hub-hero{position:relative;isolation:isolate;overflow:hidden;min-height:255px;padding:32px;border:1px solid #39372d;background:#141711;margin-bottom:0}
.hub-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25;z-index:-2}
.hub-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#11150ef2,transparent);z-index:-1}
.hub-hero h1{font-size:clamp(32px,5vw,58px);margin:10px 0;line-height:1.25}
.hub-hero p{max-width:600px;color:#e0dfd4}.hub-mode-switch{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.hub-mode-switch a{border:1px solid #777565;padding:7px 14px;font-size:13px;min-height:44px;display:flex;align-items:center;background:#11150eb8}
.hub-mode-switch a[aria-current]{border-color:var(--hub-accent);color:var(--hub-accent)}
.hub-tabs{position:sticky;top:var(--v8-top,76px);z-index:12;display:flex;gap:4px;overflow-x:auto;max-width:100%;padding:10px 4px;background:#12160ff5;border-block-end:1px solid #444333;scrollbar-width:thin;scroll-padding-inline:8px}
.hub-tabs a{display:flex;align-items:center;gap:8px;flex:none;white-space:nowrap;min-height:48px;padding:8px 14px;border:1px solid transparent;color:#bcbeb1;font-size:13px}
.hub-tabs a[aria-current]{color:var(--hub-accent);background:#282418;border-color:#72592e}
.hub-count{font-family:'IBM Plex Mono',monospace;font-size:11px;border:1px solid #55563f;min-width:24px;text-align:center;padding:0 3px}
.hub-section-head{margin:28px 0 18px}.hub-section-head h2{margin:0 0 8px;font-size:24px}.hub-section-head p{color:#b4b6a8;font-size:13px}
.hub-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.hub-filters label{display:grid;gap:7px;font-size:12px;flex:1;min-width:150px;color:#cbccbf}.hub-filters label:first-child{flex:2}
.hub-filters input,.hub-filters select{width:100%;min-height:46px;padding:10px;background:#181d14;border:1px solid #51533f;color:#eeeede;font:inherit;font-size:16px;border-radius:0}
.hub-result-count{font-size:12px;color:#b8bba8;font-family:'IBM Plex Mono','IBM Plex Sans Arabic',monospace;margin-bottom:12px}
.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hub-card{position:relative;display:flex;align-items:start;gap:13px;min-width:0;min-height:160px;background:#181c14;border:1px solid #3b4030;padding:20px;color:#f0efe3;transition:border-color 150ms,background 150ms}
.hub-card:before,.hub-card:after{content:"";position:absolute;width:9px;height:9px;border-color:#a98542;pointer-events:none}.hub-card:before{inset-inline-start:-1px;top:-1px;border-inline-start:1px solid;border-top:1px solid}.hub-card:after{inset-inline-end:-1px;bottom:-1px;border-inline-end:1px solid;border-bottom:1px solid}
.hub-card:hover{border-color:#a98542;background:#22251a}.hub-card>svg{flex:none;width:16px;margin-inline-start:auto;margin-top:4px;color:#bba269}
.hub-card-copy{min-width:0}.hub-card h3{font-size:17px;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.hub-card p{color:#b5b8a7;font-size:12px;margin:8px 0}.hub-kind{font-size:11px;color:#aaa995}.hub-en{font-family:'IBM Plex Mono',monospace;font-size:11px;display:block;color:#bfc0b4}
.hub-glyph{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border:1px solid #5b543a;background:#29291c;color:var(--hub-accent)}.hub-glyph svg{width:21px;height:21px}
.hub-status{display:inline-block;font-size:11px;line-height:1.7;padding:2px 8px;border:1px solid #535b41;white-space:nowrap}.hub-status.is-verified{color:#c1d6a5;background:#27321e}.hub-status.is-unverified{color:#e1bf82;background:#352c1b;border-color:#76603d}
.hub-more{margin:24px auto;display:flex;min-height:46px}.hub-quick{margin-top:24px}.hub-quick p{line-height:1.95}.hub-quick .chip{min-height:44px;display:inline-flex;align-items:center}
.hub-entry{margin-bottom:24px}.hub-entry h2{margin-top:8px}.hub-entry .muted{margin-bottom:0}.hub-entry-link{margin-bottom:20px}.hub-entry-link a{min-height:48px}
.hub-item{max-width:960px;margin:auto}.hub-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#cfb270;margin-bottom:18px}.hub-back svg{width:16px}
.hub-item-head{display:flex;align-items:center;gap:22px;padding:28px;background:#1a1d14;border:1px solid #57503a;position:relative;min-height:150px;height:auto;top:auto;z-index:auto;backdrop-filter:none;flex-wrap:nowrap}
.hub-item-head .hub-glyph{height:70px;width:70px}.hub-item-head .hub-glyph svg{height:34px;width:34px}.hub-item h1{font-size:clamp(28px,5vw,44px);line-height:1.4;margin:5px 0;overflow-wrap:anywhere}.hub-item-en{font-family:'IBM Plex Mono',monospace;color:#c3c1ad;font-size:14px;margin:0 0 12px}
.hub-item-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.hub-item-tools button{min-height:46px}.hub-item-tools [aria-pressed=true]{border-color:#d9a343;color:#e9bb70}
.hub-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #3b4030;margin:24px 0 12px;background:#181c14}.hub-facts>div{padding:18px;border-inline-end:1px solid #3b4030;min-width:0}.hub-facts dt{font-size:12px;color:#a7ad96;margin-bottom:8px}.hub-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.hub-evidence-note{color:#b1b7a4;font-size:12px;line-height:1.8}.hub-item-body{max-width:780px;margin-inline:auto}.hub-item-section{padding:24px 0;border-block-end:1px solid #3a3e30}.hub-item-section h2{font-size:22px;margin:0 0 16px;color:#e4d7b8}.hub-item-section h3{font-size:16px;margin-top:20px}.hub-item-section p,.hub-item-section li{font-size:16px;line-height:1.95;color:#d3d5c7}.hub-item-section li{margin-bottom:12px}.hub-item-section ul{padding-inline-start:22px}
.hub-verbatim{margin:0;padding:22px;border-inline-start:3px solid #d6a454;background:#23271c;color:#e5e5d8;font-size:16px;line-height:1.9;overflow-wrap:anywhere;text-align:start}
.hub-page a:focus-visible,.hub-page button:focus-visible,.hub-page input:focus-visible,.hub-page select:focus-visible,.hub-item a:focus-visible,.hub-item button:focus-visible{outline:2px solid #f2bd65;outline-offset:4px}
@media(max-width:1100px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hub-hero{padding:24px 18px;min-height:265px}.hub-grid{grid-template-columns:1fr}.hub-card{min-height:135px;padding:18px}.hub-tabs{margin-inline:-4px}.hub-tabs a{padding:8px 12px}.hub-filters{gap:10px}.hub-filters label:first-child{flex-basis:100%}.hub-filters label{min-width:120px}.hub-item-head{gap:14px;padding:22px 16px}.hub-item-head .hub-glyph{width:48px;height:48px}.hub-item-head .hub-glyph svg{width:25px;height:25px}.hub-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-facts>div{padding:14px}.hub-item-tools{gap:8px}.hub-item-tools .button{padding:10px 12px;font-size:12px}.hub-item-section{padding:24px 0}.hub-verbatim{padding:18px}.hub-mode-switch a{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.hub-card{transition:none}}
.hub-guide-badge{margin-inline-start:6px;color:var(--orange);border-color:var(--orange)}
.hub-guide-coverage{font-size:13px;color:var(--orange)}
.hub-full-guide{min-width:0;max-width:100%}
.hub-full-guide .hub-item-section{scroll-margin-top:110px}
.hub-full-guide li{margin-block:12px;overflow-wrap:anywhere}
.hub-full-guide h3{font-size:16px;margin-block:20px 8px}
.hub-full-guide .hub-facts{margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.hub-full-guide .hub-verbatim{overflow-wrap:anywhere}
.hub-guide-guidance{border-inline-start:2px solid var(--orange);padding-inline-start:16px}
.hub-guide-advice{color:var(--muted);font-size:13px}
.hub-guide-link{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px}
.hub-guide-link:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
@media(max-width:600px){.hub-full-guide .hub-facts{grid-template-columns:1fr}.hub-guide-guidance{padding-inline-start:12px}}
/* Round 9: official icons fill the existing glyph box; the SVG glyph returns on load errors. */
.hub-glyph.has-img{overflow:hidden;background:#11130d}
.hub-glyph.has-img img{display:block;width:100%;height:100%;object-fit:cover}
/* Round 8: never clamp card lines; they wrap freely (authored copy fits about two lines). */
.hub-card .hub-card-line,.hub-card .hub-card-benefit{font-size:14px;line-height:1.75;color:var(--text);overflow-wrap:anywhere;white-space:normal;margin-block:10px}
.hub-card .hub-card-benefit strong{color:var(--orange);font-weight:600}
.hub-item-hero{position:relative;margin-block:16px 24px;padding:clamp(20px,4vw,32px);border:1px solid var(--line);border-inline-start:3px solid var(--orange);background:var(--panel);box-shadow:var(--v8-shadow);color:var(--text)}
.hub-item-hero>div+div{margin-block-start:24px;padding-block-start:20px;border-block-start:1px solid var(--line)}
.hub-item-hero h2{font-size:20px;line-height:1.5;color:var(--orange);margin:0 0 10px}
.hub-item-hero p,.hub-item-hero li{font-size:17px;line-height:1.9;overflow-wrap:anywhere;margin-block:0 10px}
.hub-item-hero ul{margin:0;padding-inline-start:24px}.hub-item-hero li:last-child{margin-block-end:0}
.hub-item-hero .hub-hero-advice{font-size:13px;color:var(--muted);margin-block-end:8px}
