.module-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px;position:relative;z-index:2}
.module-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid rgba(255,255,255,.7);border-radius:999px;padding:9px 18px;color:#fff;text-decoration:none;font-size:.88rem}
.module-nav a[aria-current="page"]{background:var(--lime);border-color:var(--lime);color:#000;font-weight:700}
.module-nav a:hover{background:#fff;color:var(--blue)}
.modality-page .filters{grid-template-columns:repeat(4,minmax(0,1fr))}
.modality-page main section{scroll-margin-top:365px}
.modality-page .reset-btn{width:100%}
.modality-page .filter-context{font-size:.8rem}
.modality-page .split-charts{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.modality-page .chart-area{min-height:300px}
.modality-page .table-wrap{overflow:auto;max-height:340px;margin-top:12px}
.modality-page table{width:100%;border-collapse:collapse;font-size:.85rem}
.modality-page th,.modality-page td{padding:10px 8px;border-bottom:1px solid #ddd;text-align:left}
.modality-page th:last-child,.modality-page td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.modality-page .table-note{font-size:.8rem;color:#666;margin-top:18px}
.modality-page .chart-details{margin-top:20px;border-top:1px solid #ddd;padding-top:12px}
.modality-page .chart-details summary{cursor:pointer;font-size:.82rem;font-weight:700}
.modality-page .breakdown-status .legend-row{grid-template-columns:10px minmax(0,1fr) auto}
.modality-page .legend-row{min-height:26px}
.modality-page .bar-row{grid-template-columns:minmax(120px,1fr) minmax(96px,1.35fr) 96px}
.modality-page .bar-value{width:96px}
.modality-page .triple-grid .bar-row{grid-template-columns:minmax(72px,1fr) minmax(60px,1.2fr) 86px;gap:8px}
.modality-page .triple-grid .bar-value{width:86px}
.modality-page .presentation-frame .chart-details{display:none}
.modality-page .presentation-frame .split-charts{grid-template-columns:1fr 1fr}
.modality-page .presentation-frame .kpi-grid{grid-template-columns:repeat(4,1fr)}
.modality-page .presentation-frame .triple-grid{grid-template-columns:repeat(3,1fr)}
.modality-page .presentation-frame .triple-grid .card:last-child{grid-column:auto}
.modality-page .presentation-frame .insight-strip{margin-bottom:12px}
.modality-page .presentation-frame .card-title{font-size:1.5rem}
.modality-page .presentation-frame .bar-label{font-size:.9rem}
.modality-page .presentation-frame .section-title{font-size:4rem}
.modality-page .hero-footer{margin-top:34px}
.modality-page h1{font-size:clamp(3.4rem,7.2vw,7.2rem)}
.data-freshness.fallback::before{background:var(--yellow);box-shadow:0 0 0 4px rgba(250,201,0,.16)}
@media(max-width:1100px){.modality-page .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.modality-page .filter-wrap{position:relative;top:auto}.modality-page .split-charts{grid-template-columns:1fr}.modality-page main section{scroll-margin-top:96px}}
@media(max-width:720px){.module-nav{gap:8px;margin-bottom:24px}.module-nav a{font-size:.8rem;padding:8px 14px}.modality-page .card-head{flex-wrap:wrap}.modality-page .bar-row{grid-template-columns:minmax(88px,1fr) minmax(66px,1fr) 82px;gap:8px}.modality-page .bar-value{width:82px}}
@media(max-width:480px){.modality-page .filters{grid-template-columns:1fr}}
@media print{.module-nav{display:none}}
