/* Restore the model's overview composition and reading sizes.
   Overview flows down the page; the dedicated explorer retains its internal panels. */
body{height:auto;min-height:100dvh}
.app-layout{min-height:0;flex:1;margin:18px var(--frame-margin) 24px}
.content-stage{padding:24px}
.stage-top{display:block;margin-bottom:18px}
.stage-top h1{font-size:clamp(1.7rem,3vw,2.55rem)}
.article-subtitle{font-size:.97rem;line-height:1.35;max-width:980px}
.article-authors{display:block;margin-top:3px;color:var(--wine-800)}
.article-authors strong{font-weight:900}
.publication-details{margin-top:12px;padding-top:10px;border-top:1px solid var(--cream-300);font-size:.82rem;line-height:1.6;color:var(--wine-800)}
.publication-details p{margin:0;overflow-wrap:anywhere}
.publication-details span{margin:0 6px}
.publication-details a{color:var(--wine-800);text-underline-offset:3px}
.content-panel.is-visible{flex:1}
.panel-scroll{flex:none;height:clamp(330px,calc(100dvh - 630px),580px);padding:1px 0 4px;overflow:auto}
#overviewPanel .inside-nav{gap:6px;padding:6px;border:1px solid var(--cream-300);border-radius:8px;background:#efdfb5;margin-bottom:18px}
#overviewPanel .inside-nav button{padding:10px 12px;border:1px solid transparent;border-radius:6px;font-size:.81rem;line-height:1.3;flex:1;color:var(--wine-950);background:transparent}
#overviewPanel .inside-nav button:hover{background:var(--paper)}
#overviewPanel .inside-nav button[aria-pressed=true]{color:var(--cream-100);background:linear-gradient(135deg,var(--wine-800),var(--wine-950));border-color:var(--wine-900);box-shadow:inset 0 -2px var(--gold-500)}
#overviewContent .paper-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);min-height:310px;color:#fff8dc}
#overviewContent .hero-copy{display:grid;align-content:center;gap:16px;padding:30px}
#overviewContent .hero-copy h2{max-width:820px;font-size:clamp(1.8rem,3.1vw,2.75rem);line-height:1.08;color:#fff8dc}
#overviewContent .hero-copy p{display:block;max-width:780px;font-size:1.04rem;line-height:1.48;margin:0;color:#f5d9a0}
#overviewContent .hero-copy .template-doi{font-size:.8rem;line-height:1.5;color:var(--gold-300)}
#overviewContent .hero-facts{padding:22px;border-left:1px solid #ffe08a38;background:#fff6d817}
#overviewContent .hero-facts dl{gap:12px}
#overviewContent .hero-facts div{padding:13px;border:1px solid #ffe08a3d;background:#fff6d821;border-radius:7px}
#overviewContent .hero-facts dt{font-size:.75rem;color:var(--gold-300)}
#overviewContent .hero-facts dd{font-size:1rem;color:#fff8dc;line-height:1.35;margin-top:5px}
.template-source-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.template-pdf-link{font-size:.83rem;color:var(--gold-300);text-underline-offset:4px}
#overviewContent .overview-section{margin-top:22px}
#overviewContent>.overview-section:first-child{margin-top:0}
#overviewContent .compact-section,#overviewContent .visual-section{padding:18px}
#overviewContent .section-heading{margin-bottom:14px}
#overviewContent .section-heading span{width:34px;height:34px;font-size:1rem}
#overviewContent .section-heading h2{font-size:1.35rem}
#overviewContent .small-heading span{width:30px;height:30px;font-size:.85rem}
#overviewContent .lens-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(330px,1.1fr);gap:14px}
#overviewContent .lens-card{padding:16px}
#overviewContent .lens-card h3{font-size:1.08rem;margin-bottom:9px}
#overviewContent .lens-card p,#overviewContent .lens-card li,#overviewContent .finding-card p,#overviewContent .section-card li{font-size:1rem;line-height:1.43;color:var(--muted)}
#overviewContent .keyword-row{gap:8px;margin-top:14px}
#overviewContent .keyword-row span{font-size:.76rem;min-height:30px;padding:7px 10px}
#overviewContent .finding-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#overviewContent .finding-card{padding:16px;min-height:215px;border-top-width:6px;display:flex;flex-direction:column}
#overviewContent .finding-card>span{font-size:.76rem;min-height:30px;padding:7px 10px;margin-bottom:12px}
#overviewContent .finding-card h3{font-size:1.18rem;line-height:1.25}
#overviewContent .finding-card .template-inspect{margin-top:auto;align-self:start;font-size:.81rem;padding:10px 12px;min-height:40px}
#overviewContent .finding-card p{margin-bottom:16px}
#overviewContent .template-findings-note{margin-top:18px}
#overviewContent .source-caption{font-size:.8rem;line-height:1.5;margin-top:14px}
.template-abstract{color:var(--muted);font-size:.97rem;line-height:1.6}
.template-abstract summary{font-weight:800;color:var(--wine-900);cursor:pointer}
.template-publication{font-size:.83rem}
#overviewContent #evidenceStack{grid-template-columns:250px minmax(0,1fr)}
#overviewContent #selectedFigure .evidence-visual{padding:24px;display:grid;place-items:center;min-height:300px}
#overviewContent #selectedFigure .evidence-visual img,#overviewContent #selectedFigure .evidence-visual svg{display:block;width:100%;height:380px;max-height:none;object-fit:contain;min-height:0}
#overviewContent #selectedFigure .evidence-visual img[src$="figure-1.png"]{height:494px}
.template-selection-note{font-size:.81rem;line-height:1.6;color:var(--muted);margin:8px 2px}
#overviewContent .method-switch .choice{font-size:.86rem;min-height:40px}
#overviewContent .bottom-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:14px}
#overviewContent .section-card{padding:16px}
#toolContent .workspace{min-height:100%}
@media(max-width:1180px){#overviewContent .finding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#overviewContent #evidenceStack{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:980px){.app-layout{grid-template-columns:1fr;grid-template-rows:auto auto}.side-panel{padding:22px;grid-template-columns:minmax(0,1fr) auto;gap:16px}.side-title{font-size:1rem;grid-template-columns:42px 1fr;gap:12px}.side-title span{width:42px;height:42px;font-size:1rem}.section-tabs{display:grid;gap:8px}.tab-button{font-size:1rem;padding:12px 10px}.content-stage{padding:24px}.panel-scroll{height:clamp(400px,calc(100dvh - 480px),650px)}#overviewContent .paper-hero,#overviewContent .lens-grid,#overviewContent .bottom-grid{grid-template-columns:1fr}#overviewContent .hero-facts{border-left:0;border-top:1px solid var(--cream-300)}}
@media(max-width:680px){.app-layout{height:auto;min-height:0;margin:18px var(--frame-margin) 24px}.side-panel{grid-template-columns:1fr}.section-tabs{display:grid;grid-template-columns:1fr 1fr}.tab-button{font-size:.84rem}.content-stage{padding:16px}.stage-top h1{font-size:1.7rem}.article-subtitle{font-size:.9rem}.panel-scroll{height:500px}.inside-nav{gap:6px}#overviewPanel .inside-nav button{flex:none;font-size:.8rem;padding:11px}#overviewContent .hero-copy{padding:22px;gap:16px}#overviewContent .hero-copy h2{font-size:1.8rem}#overviewContent .hero-copy p{font-size:.98rem}#overviewContent .hero-facts{padding:18px}#overviewContent .compact-section,#overviewContent .visual-section{padding:16px}#overviewContent .finding-grid{grid-template-columns:1fr}#overviewContent #evidenceStack{grid-template-columns:1fr}#overviewContent #selectedFigure .evidence-visual{padding:12px;min-height:240px}#overviewContent #selectedFigure .evidence-visual img,#overviewContent #selectedFigure .evidence-visual svg{height:280px}#overviewContent #selectedFigure .evidence-visual img[src$="figure-1.png"]{height:364px}.template-source-actions{gap:12px}.site-footer{margin-top:0}}
#overviewPanel.is-visible{display:block;flex:none}
#overviewContent{height:auto;max-height:none;min-height:0;overflow:visible;padding:0;flex:none}
