/* One bounded, readable image viewer across all exhibit pages. */
/* Pass 71 layout: content determines the row height; long lists scroll within it. */
.hero-frame{padding-bottom:clamp(28px,5vh,56px)}
.hero-copy .hero-enter-button{position:static;transform:none;margin:22px auto 0;min-height:44px;justify-content:center}
.hero-copy .divider-storm{display:block;width:72px;height:54px;object-fit:contain}
.batch4-timeline .timeline-workbench{align-items:stretch!important}
.batch4-timeline .timeline-rail{contain:size;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;grid-template-rows:none!important;grid-auto-rows:max-content;align-content:start!important}
.batch4-timeline .timeline-detail{min-height:0!important}
.batch4-timeline .timeline-detail-actions{margin-top:20px!important}
.atlas-workbench{align-items:stretch!important}
.atlas-workbench .atlas-data-panel{position:static!important;contain:size;min-height:0!important;height:auto!important;max-height:none!important;display:flex!important;flex-direction:column;overflow:hidden}
.atlas-data-panel .atlas-plotbook{min-height:0!important;max-height:none!important;flex:1 1 0;overflow-y:auto!important;overscroll-behavior:contain}
.atlas-data-panel> :not(.atlas-plotbook){flex-shrink:0}
.beaufort-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.beaufort-columns table{width:100%;table-layout:fixed}
.beaufort-columns th:first-child,.beaufort-columns td:first-child{width:16%}
.beaufort-columns :is(th,td){white-space:normal!important;overflow-wrap:normal;padding:10px!important}
.um-hurricane-media{display:flex;flex-direction:column;gap:20px;min-width:0;align-self:start}
.um-hurricane-media .um-image-card{width:100%;min-width:0}
.research-image-link:has(img[src*="florida-tornado"]){display:block;width:fit-content;max-width:100%;margin-inline:auto;background:transparent!important;border:0!important;padding:0!important}
.research-image-link img[src*="florida-tornado"]{display:block;width:auto!important;max-width:100%;height:320px!important;object-fit:contain;background:transparent!important;padding:0!important}
@media(min-width:981px) and (max-height:800px){
 .hero-frame{padding-top:24px;padding-bottom:24px}
 .hero-copy .title-great,.hero-copy .title-miami{font-size:min(6vw,12vh)}
 .hero-copy .title-hurricane{font-size:min(5.4vw,10.8vh)}
 .hero-copy .date-rule{margin-bottom:18px}
 .hero-copy .deco-divider{margin:16px auto 10px}
 .hero-copy .hero-enter-button{margin-top:14px}
 .hero-art{max-height:calc(100svh - 170px);width:auto!important;max-width:100%;object-fit:contain}
}
@media(max-width:980px){
 .batch4-timeline .timeline-rail{contain:none;height:24rem!important;max-height:45svh!important}
 .atlas-workbench .atlas-data-panel{contain:none;overflow:visible}
 .atlas-data-panel .atlas-plotbook{flex:0 1 auto;max-height:24rem!important}
 .hero-frame{padding-bottom:28px}
}
@media(max-width:600px){.beaufort-columns{grid-template-columns:minmax(0,1fr)}.hero-copy .hero-enter-button{margin-top:18px}.beaufort-columns :is(th,td){font-size:13px!important;padding:8px 5px!important}}
body.viewer-open{overflow:hidden}
.source-viewer[hidden],.source-viewer [hidden]{display:none!important}
.exhibit-modal.source-viewer{position:fixed!important;inset:0!important;z-index:5000!important;padding:12px!important;display:grid;place-items:center}
.source-viewer .modal-backdrop{position:absolute;inset:0;background:rgba(0,5,8,.93)}
.source-viewer .modal-panel.source-viewer-panel{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,330px)!important;grid-template-rows:minmax(0,1fr);width:100%!important;height:calc(100dvh - 24px)!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;min-width:0;overflow:hidden!important;padding:0;background:#041118;border:1px solid #b89a59}
.source-viewer .viewer-stage{display:flex!important;flex-direction:column;min-width:0;min-height:0!important;height:100%;overflow:hidden}
.source-viewer .viewer-toolbar{display:flex!important;flex:0 0 auto;flex-wrap:wrap;align-items:center;gap:6px;padding:10px;background:#041118;position:relative!important;top:auto;min-width:0;border-bottom:1px solid #735f38}
.source-viewer .viewer-toolbar :is(button,a),.source-viewer .viewer-pagebar button{font:600 12px/1.2 var(--nav);letter-spacing:.035em;min-width:0;min-height:40px;padding:8px 10px;color:#efcf87;background:#081e27;border:1px solid #806a3d;text-transform:none;text-decoration:none;white-space:normal;cursor:pointer}
.source-viewer .viewer-toolbar button.active{background:#695631}
.source-viewer .viewer-toolbar button:disabled,.source-viewer .viewer-pagebar button:disabled{opacity:.35;cursor:default}
.source-viewer .viewer-toolbar :is(button,a):focus-visible,.source-viewer .viewer-tabs button:focus-visible,.source-viewer .modal-close:focus-visible{outline:2px solid #f5dea4!important;outline-offset:2px}
.source-viewer .viewer-pagebar{display:flex;align-items:center;justify-content:center;gap:10px;padding:6px;flex:0 0 auto}
.source-viewer [data-page-indicator],.source-viewer [data-page-status],.source-viewer [data-zoom-status]{font:600 12px/1.2 var(--nav);letter-spacing:0;padding:8px;color:#efd391;white-space:nowrap}
.source-viewer .viewer-canvas{position:relative;flex:1 1 0;min-width:0;min-height:0!important;height:auto!important;overflow:hidden;touch-action:none;cursor:grab;background:#020a0e}
.source-viewer .viewer-canvas.dragging{cursor:grabbing}
.source-viewer #viewer-image{position:absolute;left:50%;top:50%;max-width:none!important;max-height:none!important;object-fit:fill;transform-origin:center;user-select:none;-webkit-user-drag:none;pointer-events:none;margin:0;padding:0}
.source-viewer .viewer-info{display:block!important;min-width:0;min-height:0;width:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding:62px 22px 24px!important;border-left:1px solid #635332;font-size:15px;line-height:1.6;overflow-wrap:anywhere;word-break:normal}
.source-viewer .viewer-info #modal-title{font-family:var(--deco);font-size:28px!important;line-height:1.16!important;letter-spacing:.01em!important;white-space:normal!important;text-wrap:pretty;max-width:100%;margin:8px 0 20px;text-transform:none}
.source-viewer .viewer-info #modal-kind{font:600 11px/1.4 var(--nav);letter-spacing:.1em;margin:0 0 8px;text-transform:uppercase}
.source-viewer #modal-copy{font:400 15px/1.6 var(--nav);max-width:none;margin:12px 0 20px}
.source-viewer [data-variant-note]{font:400 13px/1.4 var(--nav);margin:8px 0;color:#ebcf87}
.source-viewer [data-variant-note]:empty{display:none}
.source-viewer .viewer-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.source-viewer .viewer-tabs button{font:600 12px/1.2 var(--nav);padding:9px 10px;letter-spacing:0;text-transform:none;min-width:0;white-space:normal}
.source-viewer .viewer-tab-panel{font:400 14px/1.65 var(--nav);white-space:pre-line;max-width:100%;overflow-wrap:anywhere}
.source-viewer .modal-close{position:absolute!important;top:10px!important;right:12px!important;z-index:30;width:40px;height:40px;min-width:0;padding:0;font:700 28px/1 var(--nav);color:#f5d99a;background:#061820;border:1px solid #c6a862;cursor:pointer}
.source-viewer [data-viewer-error]{position:absolute;top:20px;left:20px;right:20px;padding:20px;background:#351e18;color:#ffdec2;z-index:2}
.source-viewer .reader-source-links{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:13px}
.source-viewer.details-hidden .source-viewer-panel{grid-template-columns:minmax(0,1fr)!important}
.source-viewer.details-hidden .viewer-info{display:none!important}
.source-viewer.details-hidden .viewer-toolbar{padding-right:60px}
.enlarge-image{display:block;margin:6px 0 14px;padding:7px 10px;background:#071d26;color:#efd18e;border:1px solid #957b45;font:600 12px/1.4 var(--nav);cursor:zoom-in}
/* Existing cropped derivative is for display only; the reader keeps the full sheet. */
#room-boom .plate-media{overflow:hidden!important}
#room-boom .plate-media img{width:100%!important;height:100%!important;margin:0!important;max-width:none;object-fit:cover!important;object-position:center!important;transform:scale(1.025)}
.chapter-card[data-room="boom"]{overflow:hidden}
.chapter-card[data-room="boom"] img{transform:scale(1.025)}
/* Preserve the established flag motif, including on newer document pages. */
body{isolation:isolate}
.bg-flags{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.bg-flags .flag{opacity:.48}
main,section,article,aside{min-width:0}
main :is(h1,h2,h3),.publication-record :is(p,dd,a){overflow-wrap:anywhere}
@media(max-width:760px){
 .exhibit-modal.source-viewer{padding:0!important}
 .source-viewer .modal-panel.source-viewer-panel{height:100dvh!important;max-height:100dvh!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) minmax(0,30dvh)}
 .source-viewer .viewer-info{border-left:0;border-top:1px solid #635332;padding:16px 20px!important}
 .source-viewer .viewer-info #modal-title{font-size:23px!important}
 .source-viewer .viewer-toolbar{padding:8px 54px 8px 8px;gap:4px}
 .source-viewer .viewer-toolbar :is(button,a){min-height:36px;padding:6px 8px;font-size:11px}
 .source-viewer.details-hidden .source-viewer-panel{grid-template-rows:minmax(0,1fr)}
 .source-viewer .modal-close{right:8px!important;top:8px!important}
}
