.chart-view-switch {display:flex;flex-wrap:wrap;gap:.5rem;}
.chart-view-switch button {font:inherit;font-size:.95rem;padding:.65rem 1rem;min-height:44px;background:#fff;color:#29454b;border:1px solid #bfcfca;border-radius:7px;cursor:pointer;}
.chart-view-switch button[aria-pressed='true'] {background:#0b6b63;color:#fff;border-color:#0b6b63;}
.chart-reader-help,.chart-reader-footnote {font-size:.9rem;line-height:1.7;color:#415761;margin:.6rem 0;}
.chart-reader-footnote {font-size:.8rem;margin-bottom:0;}
.chart-age-control {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:.75rem 0;}
.chart-age-control label,.chart-age-control output {font-weight:700;white-space:nowrap;color:#173840;}
.chart-age-control input {flex:1;min-width:130px;direction:ltr;accent-color:#0b6b63;}
#chart-age-picker {background:#cbdad5!important;height:6px!important;box-shadow:none!important;}
#chart-age-picker::-webkit-slider-thumb {background:#0b6b63!important;box-shadow:none!important;border:2px solid #fff!important;}
#chart-age-picker::-moz-range-thumb {background:#0b6b63!important;box-shadow:none!important;border:2px solid #fff!important;}
.planner-journey-wrap #chart-export-btn {width:auto;padding-inline:.75rem;font-size:.85rem;}
.chart-year-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;}
.chart-year-summary > div {padding:.65rem .8rem;border:1px solid #e0e6e3;border-radius:8px;background:#f7faf8;}
.chart-year-summary span {display:block;font-size:.8rem;color:#536770;}
.chart-year-summary strong {display:block;font-size:1.2rem;color:#173840;font-variant-numeric:tabular-nums;margin-top:.2rem;}
body.planner-editorial .planner-journey-wrap.fullscreen {
  position:fixed!important;inset:12px!important;z-index:10000!important;width:auto!important;height:auto!important;
  max-width:none!important;margin:0!important;padding:1.25rem!important;background:#fff!important;
  border:1px solid #d7e1dd!important;border-radius:12px!important;box-sizing:border-box;overflow:auto!important;
}
body.planner-editorial .planner-journey-wrap.fullscreen .chart-canvas-container {
  height:clamp(260px,42vh,520px)!important;min-height:260px;
}
.planner-journey-wrap.fullscreen .chart-header-row {position:sticky;top:-1.25rem;z-index:2;background:#fff;padding-block:.5rem;}
.planner-journey-wrap.fullscreen .chart-action-btn {min-width:44px;min-height:44px;}
.chart-view-switch button:focus-visible,.chart-age-control input:focus-visible {outline:3px solid #b6a578;outline-offset:3px;}
@media(max-width:600px) {
 body.planner-editorial .planner-journey-wrap.fullscreen {inset:0!important;border-radius:0!important;padding:.9rem!important;}
 .chart-year-summary {grid-template-columns:repeat(2,minmax(0,1fr));}
 .chart-view-switch button {flex:1 1 42%;font-size:.85rem;padding:.55rem;}
 .chart-age-control {gap:.6rem;}
 .chart-year-summary strong {font-size:1.05rem;}
}
