/* Collection viewer: a continuous canvas, with a reading panel alongside it. */
.detail-dialog{width:calc(100vw - 48px);max-width:1600px;height:calc(100dvh - 48px);max-height:none;border-radius:22px;overflow:hidden;border:1px solid var(--line)}
#detail-content{height:100%;display:flex;flex-direction:column}
.detail-dialog .dialog-header{position:relative;top:0;flex:none;min-height:64px;padding:10px 24px;background:var(--bg)}
.explorer-current{font-size:18px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 16px}.header-actions{flex-shrink:0}
.detail-dialog .icon-button{min-width:44px;min-height:44px}.back-to-catalog{font-size:16px;min-height:44px}
.explorer-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:0;flex:1}
.explorer-viewer{min-width:0;overflow:auto;display:flex;flex-direction:column;padding:22px 28px;background:radial-gradient(ellipse at 50% 45%,var(--soft),transparent 70%)}
.aircraft-strip{display:flex;gap:10px;flex-shrink:0;max-width:620px;width:100%;margin:0 auto 14px}
.aircraft-strip button{flex:1;min-width:0;border:1px solid transparent;border-radius:12px;padding:8px 10px;background:var(--panel);color:var(--text);text-align:left;opacity:.75}
.aircraft-strip button:hover,.aircraft-strip button[aria-pressed=true]{opacity:1;border-color:var(--gold);background:var(--soft)}
.aircraft-strip img{display:block;width:100%;height:52px;object-fit:contain;filter:drop-shadow(0 3px 3px #102d3e20)}
.aircraft-strip span{display:block;font-size:17px;font-weight:600}.aircraft-strip small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.explorer-viewer .plate-navigation{width:100%;max-width:none;padding:10px 0;margin:0}.plate-index{font-size:11px}.plate-navigation button{width:44px;height:44px}
.explorer-viewer .detail-image,html[data-theme=light] .explorer-viewer .detail-image{width:100%;margin:auto 0;border:0;border-radius:0;max-width:none;background:transparent;flex-shrink:0}
.explorer-viewer .plate-controls{padding:12px 0;flex-shrink:0}.plate-controls .view-controls button{min-height:44px;font-size:16px}.plate-tool{font-size:14px;min-height:48px}.plate-tool span{font-size:14px}
.explorer-viewer .discovery-toggle-row{padding:0}.discovery-toggle{border:0;background:transparent;min-height:44px}.discovery-toggle small{font-size:13px}
.explorer-viewer .illustration-note{font-size:12px;padding:12px 0;margin:0}.explorer-viewer .hotspot-info{margin:12px 0 0;flex-shrink:0}
.explorer-panel{min-width:0;overflow:auto;background:var(--panel);border-left:1px solid var(--line);scroll-padding-top:64px}
.explorer-panel .detail-intro{padding:28px 24px 22px;display:block}.explorer-panel .detail-intro h2{font-size:40px;line-height:1.05;margin:12px 0}.explorer-panel .detail-intro p{font-size:17px;margin-bottom:12px}.explorer-panel .badge{font-size:12px}.explorer-panel .designation{font-size:11px}
.explorer-panel .quick-facts{margin:0 24px 22px;border:0;border-radius:0;background:transparent;grid-template-columns:repeat(3,minmax(0,1fr))}.explorer-panel .quick-facts>div{padding:8px;border-bottom:0}.explorer-panel .quick-facts span{font-size:13px;min-height:36px}.explorer-panel .quick-facts strong{font-size:24px}
.explorer-panel .detail-tabs{position:sticky;top:0;padding:0 16px;background:var(--panel);z-index:3}.detail-tabs button{font-size:16px;min-height:52px}
.explorer-panel .tab-panel{padding:12px 20px 28px}.explorer-panel .spec-group{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.explorer-panel .spec-group>summary{padding:18px 0;font-size:18px}.explorer-panel .spec-accordions{gap:0}.explorer-panel .dimension-sheet,.explorer-panel .technical-panel{padding:14px 0}.explorer-panel .dimension-picker{gap:6px}.explorer-panel .dimension-picker button{padding:10px 8px}.explorer-panel .dimension-picker strong{font-size:23px}
.explorer-panel .technical-panel section+section{margin-top:18px;padding-top:18px}.speed-reading{min-height:0}.flight-line{display:none}.event-year{font-size:36px}.diagram-label{font-size:12px}.source-date,.data-note{font-size:14px}
.consult-panel{display:none}.aircraft-card{box-shadow:none}.card-visual:after{display:none}.aircraft-card .icon-button{min-width:44px;min-height:44px}
@media(min-width:1100px){.explorer-viewer .detail-image{max-height:calc(100dvh - 390px);aspect-ratio:1.65}.explorer-viewer .aircraft-stage{height:100%;aspect-ratio:auto}}
@media(max-width:1000px){
 .detail-dialog{width:100%;height:100dvh;max-width:none;border:0;border-radius:0;overflow:auto;margin:0}
 #detail-content{height:auto;min-height:100%}.detail-dialog .dialog-header{position:sticky;top:0;z-index:10;padding:8px 16px;min-height:60px}.explorer-current{font-size:16px;margin:0 10px}.back-to-catalog{font-size:14px}
 .explorer-layout{display:block;flex:none}.explorer-viewer{padding:16px;overflow:visible}.aircraft-strip{gap:8px;margin-bottom:6px}.aircraft-strip button{padding:8px}.aircraft-strip img{height:44px}.aircraft-strip span{font-size:16px}.aircraft-strip small{font-size:11px}
 .explorer-viewer .plate-navigation{padding:6px 0}.explorer-viewer .detail-image{aspect-ratio:1.5;margin:0}.explorer-viewer .plate-controls{gap:8px}.plate-tool{padding:6px 10px}.explorer-viewer .illustration-note{padding:8px 0}
 .consult-panel{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 4px;min-height:48px;color:var(--gold);font-size:17px;border-top:1px solid var(--line);margin-top:6px}
 .explorer-panel{overflow:visible;border-left:0;border-top:1px solid var(--line);border-radius:24px 24px 0 0;scroll-margin-top:64px;padding-bottom:env(safe-area-inset-bottom)}
 .explorer-panel .detail-intro{padding:24px 22px 18px}.explorer-panel .detail-intro h2{font-size:36px}.explorer-panel .detail-tabs{top:60px}.explorer-panel .quick-facts{margin:0 22px 18px}.explorer-panel .tab-panel{padding:12px 22px 28px}.explorer-panel .quick-facts strong{font-size:23px}
}
@media(max-width:360px){.explorer-current{max-width:110px}.aircraft-strip span{font-size:14px}.explorer-viewer{padding:12px}.plate-tool{padding:6px 8px}.explorer-panel .tab-panel{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:no-preference){.explorer-viewer .detail-image{animation:viewer-arrive .5s ease-out both}@keyframes viewer-arrive{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}}
.aircraft-strip{height:auto;align-items:stretch}
.explorer-viewer>.plate-navigation,.explorer-viewer>.discovery-toggle-row,.explorer-viewer>.illustration-note{flex-shrink:0}
@media(min-width:1100px){.explorer-viewer .detail-image,html[data-theme=light] .explorer-viewer .detail-image{height:clamp(260px,calc(100dvh - 440px),680px);max-height:none;aspect-ratio:auto}.explorer-viewer .detail-image .aircraft-stage{height:100%;aspect-ratio:auto}}
/* Refined propulsion and range: quiet diagrams and consistent vector icons. */
.engine-module .module-heading{margin-bottom:12px;gap:8px}.engine-module .diagram-label{border:0;padding:0;font-size:12px;letter-spacing:.3px;text-transform:none}
.engine-module h4{font-size:34px;letter-spacing:-.4px}
.propulsion-diagram{background-image:none;background:var(--bg);border:0;border-radius:14px;margin:18px 0;padding:18px 16px;gap:16px}
.engine-bank{gap:10px}.engine-unit svg,.propulsion-output svg{width:58px;height:58px;stroke-width:1.2}.engine-unit svg circle:nth-child(2){stroke:var(--line)}
.engine-unit span,.propulsion-output span{font-size:11px;letter-spacing:.5px;margin-top:6px}
.propulsion-flow{margin-bottom:20px}.propulsion-flow svg{width:100%;height:16px;fill:none;stroke:currentColor;stroke-width:1.2}
.engine-description .engine-spec{font-size:17px;line-height:1.5;color:var(--text);margin:0 0 6px}.engine-description .module-copy{font-size:15px;line-height:1.55;color:var(--muted);margin:0}
.inline-source{display:inline-flex;align-items:center;gap:7px;min-height:44px;margin-top:6px;font-size:15px}.inline-source svg,.panel-sources svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}.panel-sources a{gap:7px}
.range-module .module-heading{margin-bottom:14px}.range-reading{gap:12px;padding:16px;background:var(--bg);border-radius:12px;margin-bottom:10px}.range-reading+.range-reading{border-top:0}
.range-symbol{width:26px;margin-top:2px}.range-symbol svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.range-reading .instrument-label{font-size:13px;letter-spacing:.4px}.range-reading strong{font-size:34px;margin:5px 0 8px}.range-reading p{font-size:15px;line-height:1.55}.range-unknown strong{font-size:26px}
.range-module>.module-footnote{font-size:14px;line-height:1.6;margin-top:16px}.range-module>.module-footnote strong{display:block;font-weight:600;color:var(--text);margin-bottom:4px}
@media(max-width:360px){.propulsion-diagram{padding:16px 12px;gap:10px}.engine-bank{gap:6px}.engine-unit svg,.propulsion-output svg{width:46px;height:46px}.range-reading{padding:14px 12px;gap:10px}}

/* Expanded catalog: keep every aircraft reachable on small screens. */
.aircraft-strip{overflow-x:auto;justify-content:flex-start;max-width:100%;scrollbar-width:thin}
.aircraft-strip button{flex:0 0 112px;min-width:0}
[hidden]{display:none!important}
.photo-aircraft #detail-aircraft-image{object-fit:contain;max-height:100%;border-radius:8px}
.detail-image .aircraft-stage #detail-aircraft-image{height:100%;max-height:100%;object-fit:contain}
.photo-aircraft .illustration-note{max-width:680px;line-height:1.6;text-wrap:pretty}
.illustration-note a,.photo-attribution a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.photo-spec-list{padding:20px 0}
.photo-spec-list section{padding:16px 0;border-bottom:1px solid var(--line)}
.photo-spec-list h3{font-size:clamp(24px,4vw,36px);margin:8px 0}
.photo-spec-list p,.photo-attribution{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.photo-aircraft .height-reference strong{font-size:clamp(24px,5vw,42px)}
.filters{flex-wrap:wrap}
.photo-aircraft .quick-facts strong,.photo-aircraft .quick-facts>div:last-child strong{font-size:20px;line-height:1.25}
