.weekly-page { display: block; min-height: auto; max-width: 1180px; padding: 24px 28px; margin: auto; }
#gate { padding: 28px; text-align: center; }
.filters, .source-fields { display: grid; gap: 16px; align-items: end; }
.filters { grid-template-columns: minmax(160px, 220px) minmax(140px, 210px) auto; padding: 14px 18px; }
.filters button { justify-self: start; }
.weekly-page label { margin: 0; }
.weekly-page select, .weekly-page input { display: block; width: 100%; min-width: 0; height: 40px; margin-top: 5px; padding: 7px 9px; border: 1px solid #cdd9d1; border-radius: 6px; background: white; color: #20312b; font: inherit; font-weight: 400; }
.weekly-page select:disabled { background: #f5f7f6; }
#status { margin: 12px 1px; color: #52665b; font-size: 14px; }
.summary-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr); gap: 16px; align-items: stretch; }
.map-panel { display: flex; flex-direction: column; }
.map-frame { position: relative; display: grid; align-items: center; flex: 1; min-height: 215px; background: #f3f6f3; }
.weekly-page #map { width: 100%; height: 100%; min-height: 215px; max-height: 430px; cursor: default; touch-action: auto; background: transparent; }
#mapMessage { position: absolute; inset: 0; display: grid; align-content: center; padding: 18px; text-align: center; color: #52665b; }
.legend { display: flex; gap: 8px 16px; flex-wrap: wrap; padding: 10px 15px; font-size: 12px; }
.legend span, .rate { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 11px; display: inline-block; border-radius: 2px; border: 1px solid #779581; }
.legend .done { background: #93bba5; }.legend .added { background: #176848; }.legend .remaining { background: #e8ece5; }
.legend .removed { background: repeating-linear-gradient(125deg, #fbecdf 0 3px, #ae653e 3px 4px); border-color: #a85124; }
.metrics .panel-top { padding-bottom: 0; }.rate { gap: 12px; padding: 6px 17px; color: #386b53; }.rate strong { font-size: 35px; line-height: 1.3; font-variant-numeric: tabular-nums; }.rate span { font-size: 13px; }
.metrics progress { display: block; width: calc(100% - 34px); height: 7px; margin: 0 17px 7px; accent-color: #27664f; }
.metrics dl { margin: 5px 17px 13px; }.metrics dl div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #e6ebe8; gap: 12px; }.metrics dl div:last-child { border: 0; }
.metrics dt { color: #56685f; }.metrics dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sources { margin-top: 16px; padding-bottom: 12px; }.source-fields { padding: 0 15px; grid-template-columns: repeat(3,minmax(0,1fr)); }.sources p { margin: 12px 15px 0; }.sources a { font-size: 13px; }.print-only { display: none; }
@media (max-width: 760px) { .summary-grid, .source-fields { grid-template-columns: 1fr; }.weekly-page { padding: 16px 12px; }.source-fields { gap: 8px; }header { flex-wrap: wrap; }.hero button { flex-shrink: 0; }.filters { grid-template-columns: 1fr 1fr; gap: 8px; }.filters button { grid-column: 1 / -1; }.map-frame { min-height: 180px; } }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: white; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  header, #gate, .filters, #print, .sources a, .source-fields { display: none !important; }
  .weekly-page { display: block; max-width: none; padding: 0; }.weekly-page[hidden] { display: none !important; }
  .summary-grid { grid-template-columns: 1.75fr 1fr; }.map-frame,.weekly-page #map { min-height: 180px; max-height: 260px; }
  .sources, .summary-grid { break-inside: avoid; }.print-only { display: block; margin: 0 15px; font-size: 12px; overflow-wrap: anywhere; }
  .metrics dl div { padding: 3px 0; }#status { margin: 5px 0 10px; }
}
