/* Additions fit around the reviewed compact layout; existing chart text is unchanged. */
#copy-view{white-space:nowrap;font-size:.75rem;min-height:32px;padding:6px 9px}
.view-notice{margin:8px 24px 0;padding:8px 12px;border:1px solid var(--line);background:#edf2ef;color:var(--ink);font-size:.75rem}
.view-notice[hidden]{display:none}
.monthly-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:6px}
.monthly-actions .inline-action{margin-top:0}
#open-board{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:5px 9px;border:1px solid #174d41;border-radius:7px;background:#174d41;color:#fff;text-decoration:none;line-height:1.3}
#open-board:hover{background:#236354;border-color:#236354}
#open-board:focus-visible{outline:2px solid #0875ec;outline-offset:3px}
.comparison-card .flow small{white-space:normal}
.comparison-card .flow time{display:inline-block;white-space:nowrap}
.monthly-changes{font-size:.74rem}
.monthly-notes{display:flex;gap:20px;flex-wrap:wrap}
.monthly-notes .about{margin-top:8px;padding-top:8px;flex:1;min-width:170px}
.monthly-notes:has(details[open]){display:block}
.monthly-changes .comparison-period{margin:8px 0 5px}
.takeaway-list{padding-left:18px;margin:5px 0 0;line-height:1.4}
.takeaway-list li+li{margin-top:5px}
.source-provenance{font-size:.73rem;color:var(--muted);margin:8px 0 0}
.counts-actions{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:.75rem}
.comparison-card .delta,.comparison-card .delta.positive,.comparison-card .delta.negative,.vol-comparison,.vol-comparison.negative,.vol-comparison.neutral{background:#edf0ef;color:#374b46}
.vol-comparison .comparison-direction,.vol-comparison.negative .comparison-direction{color:inherit}
.board-dialog,.copy-dialog{border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);max-height:94vh;padding:20px;box-shadow:0 24px 80px #153a3433}
.board-dialog{width:min(1000px,96vw)}
.board-dialog::backdrop,.copy-dialog::backdrop{background:#163c3555;backdrop-filter:blur(3px)}
.board-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:9px;margin-bottom:12px}
.board-toolbar .select-label{margin-right:auto}.board-toolbar select{min-height:36px}
.board-toolbar button{font-size:.78rem}
#board-status{font-size:.74rem;padding:8px;background:var(--sage);border-radius:6px}
.report-sheet{padding:18px 22px;border:1px solid var(--line);border-radius:10px;background:white;font-size:12px;color:#20312e}
.report-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:7px}
.report-heading .eyebrow{font-size:9px;margin:0 0 5px}.report-heading h2{font-size:25px;letter-spacing:-.025em}
.report-period{margin:6px 0 12px;color:#50615b;font-size:11px}
.board-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid #dce4dc;border-bottom:1px solid #dce4dc;padding:10px 0}
.board-metrics>div{border-left:1px solid #dce4dc;padding-left:12px}.board-metrics>div:first-child{border-left:0;padding-left:0}
.board-metrics span,.board-metrics small{display:block;font-size:11px}.board-metrics strong{display:block;font-size:25px;margin:3px 0}
.report-definition{font-size:10px;color:#50615b;line-height:1.4;margin:9px 0}
.report-sheet h3{font-size:13px;margin:12px 0 6px}.report-chart-group{break-inside:avoid}
.report-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:11px;margin:6px 0}
.report-legend span{display:inline-flex;gap:6px;align-items:center}.report-legend i{display:inline-block;width:15px;height:3px}
.report-graph{display:block;width:100%;height:auto;overflow:visible;font:11px 'Segoe UI',Arial,sans-serif}
.report-graph text{paint-order:stroke;stroke:white;stroke-width:3px;stroke-linejoin:round}
.board-takeaways{border-top:1px solid #dce4dc;padding-top:1px}.comparison-period{color:#50615b;font-size:11px;margin:5px 0}
.report-source{font-size:9px;color:#50615b;line-height:1.4;margin:12px 0 0;padding-top:8px;border-top:1px solid #dce4dc}
.report-closure{font-size:10px;margin:4px 0}.empty-graph{padding:25px 0;color:#50615b}
.copy-dialog{width:min(760px,94vw)}.copy-dialog h2{font-size:1.3rem}.copy-dialog p{font-size:.85rem;margin:12px 0}
#copy-text{width:100%;height:230px;font:12px/1.5 Consolas,monospace;white-space:pre;overflow:auto;padding:10px;border:1px solid var(--line);margin-bottom:12px}
#distribution-print-report{display:none}
/* Reclaim spacing on short desktop windows without reducing chart type or plot height. */
@media screen and (min-width:801px) and (max-height:700px){
  .header-inner{min-height:54px;padding-top:5px;padding-bottom:5px}
  .overview-section{padding-top:8px}
  .overview-section .intro{padding:8px 24px;margin-bottom:10px}
  .intro .hero-copy>.eyebrow,.intro .hero-links{display:none}
  .intro .intro-copy{margin-top:4px}
  .overview-section .monthly-top{margin-bottom:6px}
  .overview-section .monthly-top:not(:first-child){margin-top:0}
  .overview-section .monthly-top .eyebrow{margin-bottom:2px}
  .overview-section .monthly-surface{padding-top:10px;padding-bottom:8px}
  .overview-section .monthly-summary{padding-bottom:5px}
  .overview-section .monthly-summary p.muted{margin-top:2px}
  .overview-section .monthly-summary .eyebrow{margin-bottom:3px}
  .overview-section .monthly-actions{margin-top:4px;gap:4px 9px}
  .overview-section .monthly-surface .chart-head{margin-top:4px;margin-bottom:4px}
  .monthly-notes .about{margin-top:4px;padding-top:4px}
  .overview-section .annual-panel{padding-top:12px;padding-bottom:12px}
  .overview-section .stat-grid{margin-top:10px;margin-bottom:10px;row-gap:10px}
  #distributions,#volunteers{padding-top:10px}
  #distributions>.section-top{margin-bottom:8px}
  .comparison-card{padding-top:6px;padding-bottom:6px}
  .chart-surface{padding-top:10px;padding-bottom:8px}
  .chart-surface .chart-head{margin-bottom:5px}
  .chart-layout{margin-top:7px}
}
@media screen and (min-width:701px) and (max-width:900px){.header-inner{flex-wrap:wrap;gap:8px}#copy-view{margin-left:auto}}
@media(max-width:700px){.header-inner{flex-wrap:wrap}#copy-view{margin-left:auto}.report-sheet{padding:12px}.board-metrics{grid-template-columns:repeat(2,1fr)}.board-dialog{padding:10px}.report-heading{align-items:start}.report-heading h2{font-size:22px}.report-graph{min-width:620px}.report-chart-group{overflow-x:auto}.board-toolbar{gap:6px}.board-toolbar .select-label{width:100%}#open-board{margin-left:0;margin-right:8px}}
@media print{
  @page{size:letter landscape;margin:.4in}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .view-notice,.board-toolbar,#board-status,.copy-dialog,.counts-actions,.monthly-changes,#open-board,#copy-view{display:none!important}
  body[data-print="board"]>*,body[data-print="distribution"]>*{display:none!important}
  body[data-print="board"]>#board-dialog{display:block!important;position:static!important;inset:auto!important;max-height:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;box-shadow:none!important}
  dialog::backdrop{display:none!important}
  body[data-print="board"] #board-sheet{break-inside:avoid;page-break-inside:avoid}
  .report-sheet{border:0;border-radius:0;padding:0;font-size:10px}
  .report-sheet h3{font-size:12px;margin:8px 0 4px}
  .report-heading h2{font-size:23px}.report-period{margin:5px 0 8px}
  .board-metrics{padding:8px 0}.board-metrics strong{font-size:23px}
  .report-graph{width:100%;height:auto;min-width:0;max-height:none}
  .report-chart-group{overflow:visible;break-inside:avoid;page-break-inside:avoid}
  .report-source{margin-top:8px;padding-top:6px}
  body[data-print="distribution"]>#distribution-print-report{display:block!important}
  .distribution-print-page{break-inside:avoid;break-after:page;page-break-after:always}
  .distribution-print-page:last-child{break-after:auto;page-break-after:auto}
  .print-comparisons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:10px 0}
  .print-comparisons>div{border:1px solid #dce4dc;border-radius:6px;padding:8px}.print-comparisons p{margin:4px 0}
  .print-highs{display:flex;gap:20px;border-top:1px solid #dce4dc;padding-top:8px;font-size:10px}.print-highs span{flex:1}
  .print-counts-pages{break-before:page}.print-counts-pages h2{font-size:22px}
  .print-counts-pages .count-list{max-height:none;overflow:visible}.print-counts-pages .count-table{font-size:9px}
  body[data-print="volunteers"] #volunteers,body[data-print="volunteers"] .volunteer-grid{break-inside:avoid!important;page-break-inside:avoid!important}
  body[data-print="volunteers"] .volunteer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[data-print="volunteers"] .vol-top-meta{display:none!important}
  body[data-print="volunteers"] .vol-bar-row>span:first-child{white-space:normal;overflow:visible;text-overflow:clip}
  body[data-print="volunteers"] .mini-bars{height:42px}
  body[data-print="volunteers"] .mini-bars i{position:relative}
  body[data-print="volunteers"] .mini-bars i::before{content:attr(data-count);position:absolute;bottom:100%;left:0;right:0;font:8px 'Segoe UI',sans-serif;color:#20312e}
  body[data-print="volunteers"] .board-dialog{display:none!important}
}

/* Keep totals and recorded-Saturday averages together without enlarging the chart group. */
.month-stat-average{display:block;font-size:.7rem;line-height:1.3;color:var(--muted)}
.overview-section .month-stat strong{margin:2px 0}
.overview-section .month-stat>span{min-height:2lh}
