/* Populated study overrides; the blank template and other pages are unchanged. */
.amanora-study h1 { font-size:clamp(36px,3.4vw,54px); }
.amanora-study .study-hero { align-items:start; }
.amanora-study .study-hero img { aspect-ratio:1672/941; object-fit:contain; }
.amanora-study .study-lead { font-size:clamp(18px,1.5vw,23px); }
.amanora-study .amanora-status { margin:12px 0 18px; }
.amanora-study .amanora-context { margin-top:22px; }
.amanora-study .study-gallery { row-gap:30px; }
.amanora-study .study-gallery img { aspect-ratio:16/10; object-fit:contain; background:#f5f5f5; }
.amanora-study .amanora-readings { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:24px; }
.amanora-study .amanora-meter img { aspect-ratio:9/16; object-fit:contain; }
.amanora-study .amanora-reading-title { margin-top:36px; }
.amanora-study .amanora-closeout { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.amanora-study .amanora-related { margin-top:26px; }
.amanora-study main p a { text-decoration:underline; text-underline-offset:3px; }
.amanora-study .amanora-results th:first-child { width:29%; }
.amanora-study .amanora-results th:nth-child(2) { width:22%; }
.amanora-study .study-table caption { font-size:14px; }
.amanora-study .amanora-print-brand { display:none; }
.amanora-study .amanora-explainer { margin-top:32px; padding-top:26px; border-top:1px solid #d8d8d8; }
.amanora-study .amanora-graphic-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:18px; }
.amanora-study .amanora-graphic-heading h3 { margin:0; }
.amanora-study .amanora-graphic-heading > span { font-size:12px; color:#626262; }
.amanora-study .amanora-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:0; margin:0; list-style:none; }
.amanora-study .amanora-stages > li { min-width:0; background:#fff; border:1px solid #dedede; }
.amanora-study .amanora-stages svg { display:block; width:100%; height:auto; padding:18px 12px 0; overflow:visible; }
.amanora-study .amanora-stages svg text { font-family:inherit; font-size:16px; font-weight:550; fill:#525252; }
.amanora-study .diagram-floor { fill:none; stroke:#737373; stroke-width:2; }
.amanora-study .diagram-plant { fill:#f5f5f5; stroke:#737373; stroke-width:2; }
.amanora-study .diagram-back { fill:#fff2e7; stroke:#ef7f1b; stroke-width:1; }
.amanora-study .diagram-panel { fill:#ef7f1b; stroke:#b95500; stroke-width:1; }
.amanora-study .diagram-louver { fill:#363636; stroke:#171717; stroke-width:1; }
.amanora-study .diagram-path { fill:none; stroke:#737373; stroke-width:2; stroke-dasharray:5 5; }
.amanora-study .diagram-arrow, .amanora-study .diagram-leader { fill:none; stroke:#737373; stroke-width:2; }
.amanora-study .amanora-stage-copy { display:flex; align-items:baseline; gap:12px; padding:16px 20px 20px; }
.amanora-study .amanora-stage-number { color:#b95500; font-size:13px; font-weight:700; }
.amanora-study .amanora-stage-copy h4 { margin:0 0 6px; font-size:16px; font-weight:650; line-height:1.35; }
.amanora-study .amanora-stage-copy p { font-size:13px; line-height:1.6; }
.amanora-study .amanora-diagram-note { font-size:12px; line-height:1.6; margin-top:14px; }
.amanora-study .amanora-evidence-guide { margin-top:28px; padding:24px; background:#f5f5f5; break-inside:avoid; }
.amanora-study .amanora-evidence-types { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.amanora-study .amanora-evidence-types > div { display:flex; gap:18px; align-items:flex-start; }
.amanora-study .amanora-evidence-types svg { flex:0 0 48px; width:48px; height:48px; fill:none; stroke:#b95500; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.amanora-study .amanora-evidence-types h4 { font-size:15px; font-weight:650; margin:0 0 6px; }
.amanora-study .amanora-evidence-types p { font-size:14px; }
.amanora-study .amanora-evidence-types span { display:block; font-size:12px; color:#626262; margin-top:10px; }
/* A short, non-essential explanation plays once when the graphic enters view. */
@media screen and (prefers-reduced-motion:no-preference) {
  .amanora-study [data-amanora-graphic].is-illustrating .diagram-path { animation:amanora-openings 2s linear 2; }
  .amanora-study [data-amanora-graphic].is-illustrating .diagram-panel,
  .amanora-study [data-amanora-graphic].is-illustrating .diagram-louver { animation:amanora-treatment 1.4s ease-out 1; }
}
@keyframes amanora-openings { to { stroke-dashoffset:-20; } }
@keyframes amanora-treatment { from { opacity:.35; } to { opacity:1; } }
@media(max-width:767px) {
  .amanora-study .amanora-closeout { grid-template-columns:1fr; gap:22px; }
  .amanora-study .amanora-readings { grid-template-columns:1fr; }
  .amanora-study .amanora-meter { max-width:360px; margin-inline:auto; }
  .amanora-study .study-utility nav { flex-wrap:wrap; }
  .amanora-study .study-print { flex-shrink:0; }
  .amanora-study .study-table { font-size:13px; }
  .amanora-study .amanora-graphic-heading { display:block; }
  .amanora-study .amanora-graphic-heading > span { display:block; margin-top:6px; }
  .amanora-study .amanora-stages { grid-template-columns:1fr; gap:14px; }
  .amanora-study .amanora-stages svg { max-width:380px; margin-inline:auto; }
  .amanora-study .amanora-evidence-types { grid-template-columns:1fr; gap:22px; }
  .amanora-study .amanora-evidence-guide { padding:20px; }
}
@page amanora { size:A4 portrait; margin:14mm; }
@media print {
  html:has(.amanora-study), body.amanora-study { margin:0!important; padding:0!important; width:auto!important; min-width:0!important; height:auto!important; overflow:visible!important; }
  .amanora-study { page:amanora; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .amanora-study *, .amanora-study *::before, .amanora-study *::after { box-sizing:border-box; animation:none!important; transition:none!important; }
  .amanora-study main { margin:0; padding:0; width:100%; }
  .amanora-study .study-container { width:100%; max-width:none; margin:0; }
  .amanora-study .amanora-print-brand { display:flex; justify-content:space-between; align-items:center; padding-bottom:2mm; margin-bottom:3mm; border-bottom:1px solid #dedede; }
  .amanora-study .amanora-print-brand img { width:28mm; height:10mm; object-fit:contain; object-position:left center; }
  .amanora-study .amanora-print-brand span { font-size:8pt; color:#525252; text-align:right; line-height:1.7; letter-spacing:.06em; }
  .amanora-study h1 { font-size:27pt; line-height:1.08; margin:0 0 4mm; }
  .amanora-study h2, .amanora-study .study-overview h2 { font-size:20pt; line-height:1.15; margin-bottom:5mm; }
  .amanora-study h3 { font-size:10.5pt; }
  .amanora-study p { font-size:9.5pt; line-height:1.55; }
  .amanora-study .study-lead { font-size:11pt; line-height:1.5; }
  .amanora-study .study-note, .amanora-study figcaption { font-size:8pt; line-height:1.5; }
  .amanora-study figcaption { padding:2.5mm 3mm; background:#f5f5f5; }
  .amanora-study .study-section-intro { font-size:10.5pt; line-height:1.55; margin:0 0 6mm; }
  .amanora-study .study-section { padding:7mm 0; }
  .amanora-study #engineering, .amanora-study #execution, .amanora-study #results { break-before:page; padding-top:0; border-top:0; }
  .amanora-study .study-hero { grid-template-columns:1fr 1fr; gap:7mm; }
  .amanora-study .study-hero img { max-height:none; height:auto; }
  .amanora-study .study-facts { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:4mm; padding:3mm 0; gap:0; }
  .amanora-study .study-facts > div { padding:0 3mm; border-left:1px solid #dedede; }
  .amanora-study .study-facts > div:first-child { padding-left:0; border:0; }
  .amanora-study dt { font-size:8pt; margin-bottom:2mm; }
  .amanora-study dd { font-size:10pt; }
  .amanora-study .amanora-status { margin:2mm 0 3mm; }
  .amanora-study .study-overview { background:#f5f5f5; padding:4mm 0; }
  .amanora-study .study-overview-grid { grid-template-columns:1fr 1fr .7fr; gap:5mm; }
  .amanora-study .study-scope { grid-column:auto; border-left:1px solid #dedede; padding-left:4mm; }
  .amanora-study .study-scope ul { display:grid; gap:1.5mm; font-size:9pt; margin-top:2mm; }
  .amanora-study .study-scope li { padding-left:4mm; }
  .amanora-study .study-scope li::before { left:.5mm; width:1.2mm; height:2.2mm; border-width:0 .35mm .35mm 0; }
  .amanora-study .amanora-context { margin-top:4mm; }
  .amanora-study .study-gallery { grid-template-columns:1fr 1fr; gap:6mm; }
  .amanora-study .study-gallery img { height:auto; max-height:none; aspect-ratio:16/10; }
  .amanora-study .study-engineering-grid { display:grid; grid-template-columns:1fr 1fr; gap:6mm; }
  .amanora-study .study-engineering-grid .study-pair { display:grid; grid-template-columns:1fr 1fr; gap:4mm; margin:0; padding:0; }
  .amanora-study .study-pair-head h3 { font-size:9pt; }
  .amanora-study .study-mobile-label { display:none; }
  .amanora-study .study-pair p { padding:3mm 0; border-top:1px solid #dedede; font-size:9pt; line-height:1.55; }
  .amanora-study .study-callouts { grid-template-columns:repeat(3,1fr); gap:3mm; margin-top:4mm; }
  .amanora-study .study-callouts p { font-size:8pt; }
  .amanora-study .study-specs { margin-top:8mm; }
  .amanora-study .study-timeline { grid-template-columns:repeat(4,1fr); gap:5mm; margin-bottom:7mm; }
  .amanora-study .study-timeline li { padding:0; }
  .amanora-study .study-timeline .study-date { font-size:8pt; }
  .amanora-study .study-step { position:static; margin-bottom:3mm; }
  .amanora-study .amanora-readings { grid-template-columns:repeat(3,1fr); gap:5mm; margin-top:5mm; }
  .amanora-study .amanora-meter img { max-height:none; height:auto; width:100%; }
  .amanora-study .amanora-meter { max-width:none; }
  .amanora-study .study-table { font-size:9pt; }
  .amanora-study .study-table th, .amanora-study .study-table td { padding:3mm; }
  .amanora-study .study-table thead { background:#f5f5f5; }
  .amanora-study #gallery { break-inside:avoid; }
  .amanora-study .study-table caption { font-size:8pt; }
  .amanora-study .amanora-reading-title { margin-top:7mm; }
  .amanora-study .amanora-evidence { break-before:page; padding-top:0; }
  .amanora-study .amanora-evidence .amanora-reading-title { margin-top:0; font-size:18pt; }
  .amanora-study .amanora-readings { break-inside:avoid; }
  .amanora-study .amanora-closeout { grid-template-columns:1fr 1fr; gap:5mm; }
  .amanora-study .amanora-related { display:none; }
  .amanora-study .amanora-explainer { margin-top:3mm; padding-top:3mm; break-inside:avoid; }
  .amanora-study .amanora-graphic-heading { display:block; margin-bottom:3mm; }
  .amanora-study .amanora-graphic-heading > span { display:none; }
  .amanora-study .amanora-stages { grid-template-columns:repeat(3,minmax(0,1fr)); gap:3mm; }
  .amanora-study .amanora-stages svg { padding:3mm 1mm 0; max-width:none; }
  .amanora-study .amanora-stage-copy { gap:2mm; padding:2mm 3mm 3mm; }
  .amanora-study .amanora-stage-number { font-size:8pt; }
  .amanora-study .amanora-stage-copy h4 { font-size:9pt; margin-bottom:1mm; }
  .amanora-study .amanora-stage-copy p, .amanora-study .amanora-diagram-note { font-size:8pt; line-height:1.5; }
  .amanora-study .amanora-diagram-note { margin-top:2mm; }
  .amanora-study .amanora-evidence-guide { margin-top:7mm; padding:5mm; }
  .amanora-study .amanora-evidence-types { grid-template-columns:1fr 1fr; gap:6mm; }
  .amanora-study .amanora-evidence-types > div { gap:3mm; }
  .amanora-study .amanora-evidence-types svg { flex-basis:10mm; width:10mm; height:10mm; }
  .amanora-study .amanora-evidence-types h4 { font-size:10pt; }
  .amanora-study .amanora-evidence-types p { font-size:9pt; }
  .amanora-study .amanora-evidence-types span { font-size:8pt; margin-top:2mm; }
}

/* ══════════════════════════════════════════════════════════════
   Graphical quick-scan additions (spec snapshot, panel-area bar,
   section-nav icons). Facts only — no noise/performance charting.
   ══════════════════════════════════════════════════════════════ */

/* At-a-glance spec snapshot */
.amanora-study .amanora-snapshot { margin:0 0 8px; }
.amanora-study .amanora-snapshot-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:16px 0 0; padding:0; list-style:none; }
.amanora-study .amanora-snap { display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid #dedede; border-radius:4px; padding:16px 18px; min-width:0; }
.amanora-study .amanora-snap svg { flex:0 0 30px; width:30px; height:30px; fill:none; stroke:#b95500; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; margin-top:2px; }
.amanora-study .amanora-snap dt { font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:#8a8a8a; margin:0 0 4px; }
.amanora-study .amanora-snap dd { margin:0; font-size:15px; font-weight:600; color:#171717; line-height:1.3; }
.amanora-study .amanora-snap dd span { display:block; font-size:12.5px; font-weight:400; color:#626262; margin-top:3px; line-height:1.45; }

/* Panel-area proportion bar */
.amanora-study .amanora-panelbar { margin:24px 0 0; }
.amanora-study .amanora-panelbar h4 { font-size:14px; font-weight:650; margin:0 0 12px; color:#171717; }
.amanora-study .amanora-panelbar-track { display:flex; height:36px; border:1px solid #dedede; border-radius:4px; overflow:hidden; }
.amanora-study .amanora-panelbar-seg { display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:600; color:#fff; min-width:0; white-space:nowrap; padding:0 8px; box-sizing:border-box; }
.amanora-study .amanora-panelbar-seg.is-120 { background:#ef7f1b; }
.amanora-study .amanora-panelbar-seg.is-50 { background:#363636; }
.amanora-study .amanora-panelbar-legend { display:flex; flex-wrap:wrap; gap:10px 26px; margin:12px 0 0; padding:0; list-style:none; font-size:13px; color:#525252; }
.amanora-study .amanora-panelbar-legend li { display:flex; align-items:center; gap:8px; }
.amanora-study .amanora-panelbar-legend .sw { width:12px; height:12px; border-radius:2px; flex:0 0 12px; }
.amanora-study .amanora-panelbar-legend .sw-120 { background:#ef7f1b; }
.amanora-study .amanora-panelbar-legend .sw-50 { background:#363636; }
.amanora-study .amanora-panelbar-legend b { color:#171717; font-weight:650; }
.amanora-study .amanora-panelbar .study-note { margin-top:10px; }

/* Section-nav icons */
.amanora-study .study-nav a { display:inline-flex; align-items:center; gap:8px; }
.amanora-study .study-nav svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; opacity:.65; flex:0 0 16px; }
.amanora-study .study-nav a[aria-current] svg { opacity:1; stroke:#ef7f1b; }

@media(max-width:980px) { .amanora-study .amanora-snapshot-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) {
  .amanora-study .amanora-snapshot-grid { grid-template-columns:1fr; gap:10px; }
  .amanora-study .study-nav svg { display:none; }
  .amanora-study .amanora-panelbar-seg { font-size:11.5px; }
}

@media print {
  .amanora-study .amanora-snapshot-grid { grid-template-columns:repeat(3,1fr); gap:2.5mm; margin-top:3mm; }
  .amanora-study .amanora-snap { padding:2mm 2.5mm; gap:2.5mm; border-radius:0; break-inside:avoid; }
  .amanora-study .amanora-snap svg { flex-basis:6mm; width:6mm; height:6mm; }
  .amanora-study .amanora-snap dt { font-size:6.5pt; }
  .amanora-study .amanora-snap dd { font-size:8.5pt; }
  .amanora-study .amanora-snap dd span { font-size:7pt; }
  .amanora-study .amanora-panelbar { margin-top:4mm; break-inside:avoid; }
  .amanora-study .amanora-panelbar-track { height:8mm; }
  .amanora-study .amanora-panelbar-seg { font-size:7.5pt; }
  .amanora-study .amanora-panelbar-legend { font-size:8pt; gap:2mm 6mm; }
  .amanora-study .study-nav svg { display:none; }
}
