.guide-page { font-size:16px; line-height:1.8 }
.guide-page .help-button { display:inline-grid; place-items:center; text-decoration:none; color:var(--k-ink) }
.guide-page .guide-main { max-width:960px; padding-top:20px }
.guide-breadcrumbs ol { display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px; list-style:none; margin:0; padding:0; font-size:13px }
.guide-breadcrumbs a { display:inline-flex; align-items:center; min-height:44px }
.guide-breadcrumbs li+li::before { content:'›'; margin-right:14px; color:var(--k-muted) }
.guide-intro { border-bottom:1px solid var(--k-card-border); padding-block:24px 28px; margin-bottom:28px }
.guide-intro h1 { max-width:26ch; font-size:clamp(26px,3vw,36px); letter-spacing:-.8px; line-height:1.4; overflow-wrap:anywhere }
.guide-intro > p:not(.eyebrow) { margin-block:14px 0; max-width:70ch }
.guide-tool-link { display:inline-flex; align-items:center; min-height:44px; font-size:14px; font-weight:700 }
.guide-intro > .guide-tool-link { margin-top:12px }
.guide-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 24px; margin-top:20px }
.guide-action-primary { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:10px 20px; background:var(--k-ink); color:var(--k-surface); text-decoration:none; font-weight:700; font-size:15px }
.guide-action-primary:hover { background:var(--k-accent-strong) }
.guide-directory-back { display:flex; flex-wrap:wrap; gap:8px 28px; border-top:1px solid var(--k-card-border); padding-top:16px }
.guide-directory-back a { display:inline-flex; align-items:center; min-height:44px }
.guide-scope { scroll-margin-top:16px }
.guide-record { padding-block:12px 28px; margin-bottom:28px; border-bottom:1px solid var(--k-card-border); scroll-margin-top:20px }
.guide-record h2 { font-size:24px; line-height:1.5; margin-block:12px; overflow-wrap:anywhere }
.guide-record h3 { font-size:19px; margin-block:28px 12px }
.guide-record h4 { font-size:17px; line-height:1.6; margin:0 0 10px }
.guide-record p,.guide-record li { overflow-wrap:anywhere }
.guide-code { display:inline-block; font:700 32px/1.4 monospace; padding:8px 18px; background:var(--k-display); color:var(--k-lcd) }
.guide-japanese { font-size:20px; font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif }
.guide-figures { display:flex; flex-wrap:wrap; gap:20px; margin-block:20px }
.guide-figures figure { flex:1 1 280px; max-width:100%; margin:0; min-width:0 }
.guide-figures > .scope-conditional { flex:1 1 280px; min-width:0; max-width:100% }
.guide-figures img { display:block; max-width:100%; height:auto; max-height:650px; object-fit:contain; object-position:left }
.guide-image { display:block; width:fit-content; max-width:100%; min-height:44px }
.guide-figures figcaption { font-size:13px; color:var(--k-muted); line-height:1.7; margin-top:8px; overflow-wrap:anywhere }
.guide-figures figcaption a { display:inline-flex; align-items:center; min-height:44px }
.guide-scope { padding:20px; border-left:3px solid var(--k-card-border); background:var(--k-cream-bg); margin-block:24px }
.guide-scope h3 { margin-top:0 }
.guide-scope label:not(.family-confirm) { display:block; margin-top:20px; font-weight:700 }
.guide-scope select { display:block; width:100%; max-width:400px; min-height:48px; padding:8px; margin-block:8px; font:inherit; color:var(--k-ink); background:var(--k-surface); border:1px solid var(--k-muted) }
.family-confirm { display:flex; align-items:center; gap:12px; min-height:48px; font-weight:700; padding-block:8px; cursor:pointer }
.family-confirm input { flex-shrink:0; width:24px; height:24px; accent-color:var(--k-accent-strong) }
.guide-steps { padding-left:28px; margin:0 }
.guide-steps > li { padding:18px 0 24px 12px; border-top:1px solid var(--k-card-border) }
.guide-steps > li::marker { font-weight:700; color:var(--k-accent-strong) }
.guide-expected { border-left:2px solid var(--k-card-border); padding-left:12px }
.guide-page :is(summary,.scope-index a,.branch-choices a) { min-height:44px }
.guide-page summary { padding-block:12px; cursor:pointer; font-weight:700 }
.guide-page :is(.guide-branches,.guide-technical,.guide-more-images,.guide-sources) { border-top:1px solid var(--k-card-border); margin-block:16px; padding-block:4px }
.guide-node { border-bottom:1px solid var(--k-card-border); padding-block:20px; scroll-margin-top:20px }
.branch-choices { padding-left:20px }
.branch-choices a,.scope-index a { display:inline-flex; align-items:center }
.guide-technical dt { font-weight:700; margin-top:16px }
.guide-technical dd { margin:4px 0 20px }
.guide-record-date,.guide-preview-note { color:var(--k-muted); font-size:13px }
.guide-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding:0; list-style:none }
.guide-directory-grid a { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:180px; padding:16px; border:1px solid var(--k-card-border); color:var(--k-ink); text-decoration:none; text-align:center; gap:8px }
.guide-directory-grid img { width:100px; height:80px; object-fit:contain }
.guide-directory-grid span { font-size:13px; color:var(--k-muted) }
.guide-directory-grid a:hover,.guide-directory-list a:hover { background:var(--k-cream-bg) }
.guide-filter { display:block; max-width:640px; margin-block:24px 32px }
.guide-filter label { display:block; font-weight:700; margin-bottom:10px }
.guide-filter input { display:block; width:100%; min-height:52px; padding:10px 12px; border:1px solid var(--k-muted); background:var(--k-surface); color:var(--k-ink) }
.guide-filter p { font-size:13px; color:var(--k-muted); margin-block:8px }
.guide-directory-section { margin-block:28px }
.guide-directory-section h2 { font-size:23px; margin-bottom:16px }
.guide-directory-section h2 > span { color:var(--k-muted); font-size:16px; font-weight:400 }
.guide-directory-list { padding:0; list-style:none; border-top:1px solid var(--k-card-border) }
.guide-directory-list li { border-bottom:1px solid var(--k-card-border) }
.guide-directory-list a { display:grid; grid-template-columns:minmax(100px,1fr) 3fr; gap:4px 24px; padding:16px 12px; min-height:72px; color:var(--k-ink); text-decoration:none }
.guide-directory-list strong { grid-row:span 3 }
.guide-directory-list :is(small,.guide-row-go) { grid-column:2; font-size:13px }
.guide-directory-list .directory-japanese { grid-column:2; font:18px/1.8 'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif; overflow-wrap:anywhere }
.guide-row-go { color:var(--k-accent-strong); text-decoration:underline; text-underline-offset:4px }
.lamp-state-table { border-collapse:collapse; width:100%; margin-block:24px; table-layout:fixed }
.lamp-state-table caption { text-align:left; font-size:14px; margin-bottom:8px }
.lamp-state-table :is(th,td) { text-align:left; vertical-align:top; padding:12px; border:1px solid var(--k-card-border); overflow-wrap:anywhere; font-size:14px }
.scope-index { display:flex; flex-wrap:wrap; gap:8px 24px; margin-block:20px }
.guide-sources li { margin-bottom:16px; overflow-wrap:anywhere }
.guide-sources li a { display:inline-flex; align-items:center; min-height:44px }
.guide-sources li p { color:var(--k-muted); font-size:13px }
.guide-directory-back { margin-block:28px }
@media(max-width:767px) {
 .guide-page .guide-main { padding-top:8px }
 .guide-intro { padding-block:20px; margin-bottom:20px }
 .guide-intro h1 { font-size:27px; max-width:none }
 .guide-record h2 { font-size:22px }
 .guide-scope { padding:16px }
 .guide-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
 .guide-directory-grid a { min-height:160px; padding:12px }
 .guide-directory-list a { grid-template-columns:1fr; gap:6px; padding-inline:4px }
 .guide-directory-list strong { grid-row:auto }
 .guide-directory-list :is(small,.guide-row-go,.directory-japanese) { grid-column:auto }
 .guide-breadcrumbs ol { gap:0 10px }
 .guide-breadcrumbs li+li::before { margin-right:10px }
 .guide-steps { padding-left:22px }
 .guide-steps > li { padding-left:8px }
 .guide-figures figure { flex-basis:100% }
 .guide-figures > .scope-conditional { flex-basis:100% }
}
@media print {
 .guide-page :is(header,footer,.research-strip,.guide-tool-link,.guide-directory-back,dialog) { display:none }
 .guide-page .guide-main { width:100%; max-width:none }
 .guide-page :is(figure,.guide-steps > li) { break-inside:avoid }
 .guide-page a { color:inherit }
}

/* Exact search and visual lookup arrive at this same result. */
.result-context { display:flex; flex-wrap:wrap; align-items:center; gap:4px 22px; border-bottom:1px solid var(--k-card-border); padding-block:4px 12px; font-size:14px }
.result-context > span { flex:1 1 200px; font-weight:700 }
.result-context a { display:inline-flex; align-items:center; min-height:44px }
.guide-page .guide-breadcrumbs { font-size:12px }
.guide-page .guide-intro { padding-top:20px }
.guide-page .guide-record > h2 { font-size:21px }
.question-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin-top:20px }
.question-toolbar > span { margin-right:auto; color:var(--k-muted); font-size:14px }
.question-toolbar button,.question-trail button { min-height:44px; padding:8px 12px; font-size:14px }
.guide-branches[data-enhanced=true] > .guide-node { border-bottom:0; padding-block:12px }
.guide-branches[data-enhanced=true] .branch-choices { padding:0; list-style:none; display:grid; gap:10px }
.guide-branches[data-enhanced=true] .branch-choices li { min-width:0 }
.guide-branches[data-enhanced=true] .branch-choices a { display:flex; align-items:center; width:100%; min-height:48px; padding:12px 16px; border:1px solid var(--k-card-border); color:var(--k-ink); text-decoration:none; font-weight:600 }
.guide-branches[data-enhanced=true] .branch-choices a:hover { border-color:var(--k-accent-strong); background:var(--k-cream-bg) }
.question-trail li { padding-block:10px; border-top:1px solid var(--k-card-border) }
.question-trail li span { display:block }
.guide-branches > summary { color:var(--k-accent-strong) }
@media(min-width:768px) { .guide-branches[data-enhanced=true] .branch-choices { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media(max-width:767px) { .result-context { gap:0 16px } .result-context > span { flex-basis:100% } }
.result-subtypes { border:0; padding:0; margin:20px 0 12px; min-width:0 }
.result-subtypes legend { font-weight:700; margin-bottom:12px }
.result-subtypes > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; max-width:460px }
.result-subtypes button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:104px; padding:12px 6px; color:var(--k-ink); background:var(--k-surface); border:1px solid var(--k-card-border); font:inherit; font-size:14px }
.result-subtypes button[aria-pressed=true] { border-color:var(--k-accent-strong); box-shadow:inset 0 -2px var(--k-accent-strong); color:var(--k-accent-strong) }
.subtype-unknown { display:grid; place-items:center; height:40px; width:36px; font-size:28px }
@media(forced-colors:active) { .result-subtypes button[aria-pressed=true] { outline:2px solid Highlight; outline-offset:-3px } }

.indicator-swatch{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:.75rem 0;color:#202832}.indicator-swatch svg{max-width:100%}

/* ADR-072: scope-specific hubs; DOM and tab order both put the input first. */
[data-hub-level] .lookup-layout { display:block }
[data-hub-level] .page-title { margin-block:16px }
[data-hub-level] .page-title h1 { font-size:clamp(26px,3vw,36px); line-height:1.35 }
[data-hub-level] .page-title p { margin-block:8px }
[data-hub-level] .search { margin-block:12px 20px; max-width:760px }
[data-hub-level] .entry-routes { margin-block:12px; max-width:760px }
[data-hub-level] .entry-routes button { min-height:48px }
[data-hub-level] .entry-routes .route-sample { display:none }
[data-hub-level] .entry-routes .route-name { font-size:14px }
[data-hub-level] .entry-routes .route-count { display:none }
.hub-machine { border-block:1px solid var(--k-card-border); margin-block:12px }
.hub-machine > summary { cursor:pointer; min-height:48px; padding-block:12px }
.hub-machine .machine-selection { padding:16px 0 }
.hub-context-form { display:flex; flex-wrap:wrap; gap:10px; align-items:end; max-width:760px }
.hub-context-form > div { flex:1 1 120px; min-width:0 }
.hub-context-form label { display:block; font-size:14px; margin-bottom:6px }
.hub-context-form select { font:inherit; width:100%; min-height:48px; border:1px solid var(--k-muted); color:var(--k-ink); background:var(--k-surface); padding:8px }
.hub-context-form button { min-height:48px; padding:10px; font:inherit }
#hub-mode-hint { font-size:14px; color:var(--k-muted); margin-block:8px }
.hub-inventory { border:0; padding:0; margin-block:24px 40px; max-width:960px }
[data-hub-level] #catalog-directory { display:block }
.hub-inventory .guide-directory-list a { display:flex; align-items:center; gap:16px; padding:16px 8px; min-height:76px }
.directory-copy { display:grid; gap:4px; flex:1; min-width:0; overflow-wrap:anywhere }
.directory-copy > span { display:block; font-size:16px }
.directory-code-glyph { flex:0 0 auto; font:700 23px/1.4 monospace; color:var(--k-lcd); background:var(--k-display); padding:8px 10px; min-width:76px; text-align:center; overflow-wrap:anywhere; max-width:35% }
.directory-thumb { width:84px; max-height:90px; object-fit:contain; flex:0 0 auto }
.hub-inventory .guide-row-go { font-size:24px; text-decoration:none }
.hub-editorial { max-width:72ch; margin-block:40px }
.hub-editorial h2 { margin-block:28px 12px }
.hub-search-result { display:flex; flex-direction:column; gap:6px; padding:16px; border-bottom:1px solid var(--k-card-border); color:var(--k-ink); text-decoration:none; min-width:0 }
[data-hub-level=root] :is(#lamp-recorder,#source-inventory,#no-match,#not-sure,.catalog-loading),
[data-hub-level=device] :is(#lamp-recorder,#source-inventory,#no-match,#not-sure,.catalog-loading) { display:none }
[data-hub-level=brand][data-lookup-mode=code] #recognition-section { display:none }
.do-now { border-left:3px solid var(--k-accent-strong); padding:16px 20px; margin-block:20px 28px; background:var(--k-cream-bg) }
.do-now h2 { margin:0 0 12px; font-size:23px }
.do-now li { padding-block:6px }
.do-now .scope { display:block }
.do-now .guide-action-primary { margin-top:12px }
.guide-page .guide-intro { margin-bottom:16px; padding-block:12px 18px }
.step-complete { display:flex; align-items:center; gap:10px; min-height:44px; margin-block:8px; font-size:14px }
.step-complete input { width:22px; height:22px; accent-color:var(--k-accent-strong) }
.guide-outcome { scroll-margin-top:16px; padding-block:24px; border-bottom:1px solid var(--k-card-border) }
.guide-outcome button { min-height:48px; padding:12px 18px; font:inherit }
.related-guides a { display:inline-flex; align-items:center; min-height:44px }
dialog:modal { overscroll-behavior:contain }
dialog::backdrop { overflow:hidden; overscroll-behavior:contain }
.mobile-contact { display:none }
@media(max-width:767px) {
 .hub-context-form { gap:8px }
 .hub-context-form > div { flex-basis:125px }
 .hub-context-form button { flex-basis:100%; min-height:44px }
 [data-hub-level] .search > div { display:flex; flex-wrap:wrap; gap:8px }
 [data-hub-level] .search input { min-width:0; width:100%; flex:1 1 100%; font-size:16px }
 [data-hub-level] .search button { width:100%; min-height:44px }
 .hub-inventory .guide-directory-list a { flex-wrap:wrap; gap:8px 12px }
 .hub-inventory [data-list-kind=code] .guide-directory-list a { flex-wrap:nowrap }
 .directory-code-glyph { min-width:66px; font-size:20px; padding:6px }
 .directory-copy > span { font-size:16px }
 .mobile-contact:not([hidden]) { display:flex; position:fixed; z-index:5; inset:auto 0 env(safe-area-inset-bottom,0px); height:56px; padding:4px 16px; gap:12px; background:var(--k-surface); border-top:1px solid var(--k-card-border) }
 .mobile-contact::after { content:""; position:absolute; inset:100% 0 auto; height:env(safe-area-inset-bottom,0px); background:var(--k-surface) }
 .mobile-contact a { display:flex; align-items:center; justify-content:center; min-height:44px; flex:1; background:var(--k-ink); color:var(--k-surface); text-decoration:none; font-weight:700 }
 .mobile-contact a:last-child { background:var(--k-zalo-blue) }
 .has-mobile-contact { padding-bottom:calc(56px + env(safe-area-inset-bottom,0px)) }
}
@media(prefers-reduced-motion:reduce) { .mobile-contact { transition:none; animation:none } }
@media print { .mobile-contact,.step-complete { display:none } }

/* ADR-073: one visual directory per hub, one search field, brand-only recognition. */
[data-hub-level] .quick-lookup { max-width:1200px }
[data-hub-level] .page-title { padding-block:24px 20px; margin:0; max-width:720px }
[data-hub-level] .page-title h1 { font-size:36px; line-height:1.3; letter-spacing:-.8px }
[data-hub-level] .page-title p { font-size:16px; line-height:1.6; margin:12px 0 0 }
[data-hub-level] .guide-breadcrumbs { padding-top:12px }
[data-hub-level] .guide-breadcrumbs ol { gap:4px 10px }
[data-hub-level] .guide-breadcrumbs li+li::before { margin-right:10px }
[data-hub-level] .search-block { padding:0; margin:0 }
[data-hub-level] .hub-search { display:block; max-width:720px; margin:0 0 24px }
[data-hub-level] .search { max-width:none; padding:0; margin:0; position:relative; border:0 }
[data-hub-level] .search .hub-search-control { display:block; position:relative; padding:0; border:0; background:none }
[data-hub-level] .search input { display:block; width:100%; height:56px; min-height:56px; border:1px solid var(--k-muted); border-radius:4px; background:var(--k-surface); padding:0 180px 0 48px; font-size:16px; color:var(--k-ink) }
[data-hub-level] .search input:focus { border:2px solid var(--k-ink); outline:2px solid var(--k-ink); outline-offset:3px }
[data-hub-level] .search-icon { position:absolute; inset:16px auto auto 16px; pointer-events:none; color:var(--k-muted) }
[data-hub-level] .search button { position:absolute; inset:4px 4px auto auto; width:auto; height:48px; min-height:48px; padding:0 16px; border-radius:4px; background:var(--k-ink); color:var(--k-surface); border:0; font-size:14px }
[data-hub-level] .search-submit-icon { display:none }
.hub-picker-label { font-size:14px; font-weight:700; margin:0 0 12px }
.hub-tiles { list-style:none; padding:0; margin:0; display:grid; gap:12px }
.hub-device-tiles { grid-template-columns:repeat(6,minmax(0,1fr)) }
.hub-brand-tiles { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) }
.hub-tiles li { min-width:0 }
.hub-tiles a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px solid var(--k-card-border); border-radius:4px; background:var(--k-surface); color:var(--k-ink); text-decoration:none; text-align:center; height:100%; min-width:0 }
.hub-device-tiles a { padding:16px 8px; min-height:174px }
.hub-device-tiles img { display:block; width:96px; height:96px; object-fit:contain }
.hub-tile-name { font-size:15px; line-height:1.4; font-weight:600 }
.hub-tile-count { color:var(--k-muted); font-size:12px }
.hub-brand-tiles a { height:72px; gap:6px; padding:8px }
.hub-brand-tiles img { display:block; width:100%; height:28px; object-fit:contain }
.hub-brand-tiles .hub-tile-name { color:var(--k-muted); font-weight:400; font-size:12px; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis }
.hub-tiles a:hover { border-color:var(--k-ink) }
.hub-tiles a[aria-current] { border:2px solid var(--k-accent-text) }
[data-hub-level] :is(a,button):focus-visible { outline:2px solid var(--k-ink); outline-offset:3px }
.hub-context { display:flex; align-items:center; gap:10px; height:56px; border:1px solid var(--k-card-border); border-radius:4px; padding:0 12px; max-width:720px; margin-bottom:16px }
.hub-context .context-device { width:32px; height:32px; object-fit:contain }
.hub-context > span { font-size:14px; white-space:nowrap }
.hub-context .context-brand { width:86px; height:24px; object-fit:contain }
.hub-context a { display:flex; align-items:center; min-height:44px; margin-left:auto; white-space:nowrap; font-size:13px; color:var(--k-ink); text-underline-offset:4px }
[data-hub-level] .entry-routes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); max-width:720px; gap:0; margin:0 0 20px; border:1px solid var(--k-card-border); border-radius:4px; padding:3px }
[data-hub-level] .entry-routes > button { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:8px; height:56px; min-height:56px; min-width:0; padding:4px; border-radius:4px; border:0; white-space:normal; background:var(--k-surface); color:var(--k-ink); box-shadow:none }
[data-hub-level] .entry-routes > button[aria-pressed=true] { background:var(--k-ink); color:var(--k-surface); box-shadow:none }
[data-hub-level] .entry-routes .route-sample { display:flex; align-items:center; justify-content:center; width:54px; height:28px; flex-shrink:0; line-height:1 }
[data-hub-level] .entry-routes .route-name { font-size:13px; font-weight:600 }
[data-hub-level] .entry-routes .route-count { display:none }
[data-hub-level] .route-sample-code { display:inline-block; font:700 18px/1.2 monospace; padding:3px 5px; border-radius:2px; background:var(--k-display); color:var(--k-lcd) }
[data-hub-level] .route-sample [lang=ja] { font-size:12px; white-space:nowrap }
[data-hub-level] .route-sample-lamps { font-size:15px; color:var(--k-accent-text); letter-spacing:1px; white-space:nowrap }
[data-hub-level] [aria-pressed=true] .route-sample-lamps { color:var(--k-brand-yellow) }
[data-hub-level] .route-sample-symptom { display:grid; place-items:center; width:24px; height:24px; border:1px solid currentColor; border-radius:50%; font-weight:700 }
.hub-live-results { border:1px solid var(--k-card-border); border-radius:4px; margin-top:8px; background:var(--k-surface) }
.hub-live-results[hidden] { display:none }
.hub-live-results > p { padding:10px 14px; margin:0; font-size:13px; color:var(--k-muted) }
.hub-live-results .hub-search-result { display:flex; flex-direction:row; align-items:center; gap:12px; padding:12px 14px; min-height:72px }
.hub-live-results .directory-code-glyph { min-width:58px; max-width:100px; text-align:center; font-size:18px; padding:6px; overflow-wrap:anywhere }
.hub-result-copy { display:flex; flex-direction:column; gap:4px; min-width:0; line-height:1.5 }
.hub-result-copy strong { font-size:13px }
.hub-result-copy > span { font-size:14px; overflow-wrap:anywhere }
#hub-show-all { display:block; width:100%; min-height:48px; text-align:left; padding:12px 14px; border:0; background:var(--k-cream-bg); color:var(--k-ink); font-weight:700 }
#hub-show-all[hidden] { display:none }
[data-hub-level] .hub-inventory { max-width:none; margin-top:24px }
[data-hub-level] .hub-editorial { margin-block:44px }
[data-hub-level] #guide-filter-status { font-size:13px; color:var(--k-muted) }
@media(min-width:1024px) { [data-hub-level] .hub-inventory .guide-directory-list { grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media(max-width:767px) {
 [data-hub-level] .page-title { padding-block:18px 20px }
 [data-hub-level] .page-title h1 { font-size:26px; line-height:1.35 }
 [data-hub-level] .hub-search { margin-bottom:24px }
 .hub-tiles { gap:8px }
 .hub-device-tiles,.hub-brand-tiles { grid-template-columns:repeat(3,minmax(0,1fr)) }
 .hub-device-tiles a { padding:12px 6px; min-height:126px; gap:8px }
 .hub-device-tiles img { width:64px; height:64px }
 .hub-tile-name { font-size:14px; line-height:1.4 }
 .hub-tile-count { display:none }
 .hub-brand-tiles a { height:64px; padding:6px; gap:4px }
 .hub-brand-tiles .hub-tile-name { font-size:11px }
 .hub-context { gap:8px; padding-inline:8px }
 .hub-context .context-brand { width:72px }
 [data-hub-level] .entry-routes > button { height:64px; min-height:64px; flex-direction:column; gap:4px }
 [data-hub-level] .entry-routes .route-name { font-size:12px; white-space:nowrap }
 [data-hub-level] .search input { flex:none; width:100%; font-size:16px }
}
@media(max-width:479px) {
 [data-hub-level] .search input { padding-right:62px }
 [data-hub-level] .search button { width:48px; padding:0; font-size:24px }
 [data-hub-level] .search-submit-label { display:none }
 [data-hub-level] .search-submit-icon { display:inline }
}

/* Latest owner correction: the earlier desktop sidebar composition; mobile stays sequential. */
.desktop-device-picker,.hub-device-sidebar,.desktop-brand-picker { display:none }
.hub-brand-picker { margin-bottom:24px }
.directory-alternating { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:8px; font-size:13px }
.directory-alternating strong { display:inline-block; font:700 17px/1.4 monospace; background:var(--k-display); color:var(--k-lcd); padding:4px 8px; border-radius:4px }
.directory-recognition { display:flex; flex-direction:column; align-items:center; gap:8px; width:112px; flex-shrink:0 }
.directory-recognition .directory-thumb { width:104px; height:80px; object-fit:contain }
.directory-image-note { font-size:11px; color:var(--k-muted); text-align:center }
.directory-jp-glyph { font-size:17px; line-height:1.6; padding:8px; background:var(--k-display); color:var(--k-lcd); overflow-wrap:anywhere; max-width:100%; text-align:center }
.directory-lamp-glyph { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; width:100% }
.directory-lamp { display:flex; flex-direction:column; align-items:center; gap:3px; font-size:11px; line-height:1.35; max-width:100% }
.directory-lamp small { color:var(--k-muted); font-size:10px }
.lamp-dot { display:block; width:12px; height:12px; border:2px solid var(--k-accent-text); border-radius:50% }
.lamp-on,.lamp-blink,.lamp-displayed { background:var(--k-accent-text) }
.lamp-blink::after { content:'↔'; position:relative; inset-inline-start:11px; inset-block-start:-6px; font-size:12px; color:var(--k-ink) }
.lamp-not_blinking { border-color:var(--k-muted) }
@media(max-width:767px) {
 .directory-recognition { width:88px }
 .directory-recognition .directory-thumb { width:84px; height:64px }
}
.hub-inventory .directory-copy { display:flex; flex-direction:column; flex:1; min-width:0 }
.hub-sequence-controls { display:flex; justify-content:flex-end; align-items:center; gap:12px; padding:0 8px 12px }
.hub-sequence-controls button { min-height:44px; padding:8px 12px; border:1px solid var(--k-card-border); border-radius:4px; background:var(--k-surface); color:var(--k-ink); font-size:13px }
.hub-sequence-controls button[aria-pressed=true] { background:var(--k-ink); color:var(--k-surface) }
.hub-sequence-controls button:disabled { color:var(--k-muted) }
.hub-sequence-controls :is(button,span)[hidden] { display:none }
.sequence-inventory-note { max-width:64ch; font-size:14px; color:var(--k-muted); margin-block:12px 20px }
.hub-result-copy .hub-result-sequence { font-size:13px; font-weight:700 }
[data-hub-level] .route-sample-code.alternating-sample { font-size:12px; padding-inline:3px }
@media(min-width:768px) and (max-width:1023px) { .hub-device-tiles { grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media(min-width:1024px) {
 .hub-desktop-layout { display:grid; grid-template-columns:300px minmax(0,1fr); column-gap:40px; align-items:start; padding-bottom:32px }
 .hub-desktop-layout > :not(.hub-sidebar) { grid-column:2; min-width:0 }
 .hub-desktop-layout > .hub-sidebar { display:block; grid-column:1; grid-row:1 / span 12; padding-right:24px; border-right:1px solid var(--k-card-border); align-self:start }
 .hub-desktop-layout.has-brand-picker > .search-block { grid-row:2 }
 .hub-desktop-layout > .hub-brand-picker { display:block; grid-column:2; grid-row:1; margin-bottom:24px }
 .hub-brand-picker .hub-brand-tiles { grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:8px }
 .hub-brand-picker .hub-brand-tiles .hub-tile-name { white-space:normal; overflow:visible }
 .desktop-device-picker { display:block; margin-bottom:24px }
 .hub-sidebar .hub-device-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px }
 .hub-sidebar .hub-device-tiles a { min-height:148px; padding:4px; gap:6px }
 .hub-sidebar .hub-tile-name { font-size:14px }
 .hub-sidebar .hub-tile-count { display:block }
 .hub-desktop-layout .hub-context { display:none }
 [data-hub-level] .hub-desktop-layout .hub-inventory { margin-block:8px 32px }
 [data-hub-level] .hub-desktop-layout .hub-inventory .guide-directory-list { display:block }
 [data-hub-level] .hub-desktop-layout .hub-editorial { margin-top:12px }
}
