:root {
  color-scheme: light;
  --ink: #172d37;
  --muted: #70818a;
  --line: #e2e9e8;
  --paper: #fff;
  --wash: #f4f7f6;
  --navy: #102a36;
  --teal: #0b7c78;
  --teal-light: #e1f3ef;
  --coral: #dc7559;
  --shadow: 0 10px 35px rgb(16 42 54 / 12%);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select { font: inherit; }

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: var(--navy);
  color: #fff;
  position: relative;
  z-index: 500;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px 10px 10px 3px;
  background: #c4e7de;
  color: var(--navy);
  font: 800 12px "Manrope", sans-serif;
  letter-spacing: -.04em;
}
.brand-name { font-size: 14px; letter-spacing: .01em; }
.brand-name b { font-weight: 700; }
.topbar-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #d0dddf; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #8bd2bd; box-shadow: 0 0 0 4px rgb(139 210 189 / 12%); }
.top-nav { display: flex; align-items: center; gap: 7px; }
.top-nav a { padding: 8px 12px; border-radius: 6px; color: #c1d0d3; font-size: 12px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.top-nav a:hover, .top-nav a[aria-current="page"] { background: rgb(255 255 255 / 10%); color: #fff; }

.workspace { display: grid; grid-template-columns: 370px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.sidebar { display: flex; flex-direction: column; min-height: calc(100vh - 68px); background: var(--paper); border-right: 1px solid var(--line); z-index: 400; }
.intro { padding: 30px 28px 22px; }
.eyebrow { margin: 0 0 11px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font: 800 25px/1.15 "Manrope", sans-serif; letter-spacing: -.045em; }
.intro-copy { max-width: 285px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.filters { padding: 0 22px 20px; }
.search-field {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid #d8e2e1;
  border-radius: 8px;
  background: #fbfcfc;
}
.search-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(11 124 120 / 10%); }
.search-field input { min-width: 0; flex: 1; height: 100%; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: #9aa9ae; }
.search-field kbd { display: grid; place-items: center; width: 18px; height: 20px; border: 1px solid #e0e7e6; border-radius: 4px; color: #99a8ab; font: 10px "DM Sans", sans-serif; }
.search-icon { position: relative; width: 14px; height: 14px; flex: none; border: 1.7px solid #8b9da1; border-radius: 50%; }
.search-icon::after { position: absolute; right: -4px; bottom: -2px; width: 6px; height: 1.7px; transform: rotate(45deg); background: #8b9da1; content: ""; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; margin-top: 17px; }
.filter-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.filter-field span { color: #60727a; font-size: 10px; font-weight: 600; }
.filter-field select {
  width: 100%;
  height: 36px;
  min-width: 0;
  padding: 0 25px 0 9px;
  border: 1px solid #e0e7e6;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #304750;
  font-size: 11px;
  text-overflow: ellipsis;
}
.filter-field select:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(11 124 120 / 10%); }
.reset-button { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--teal); cursor: pointer; font-size: 11px; font-weight: 600; }
.reset-button:hover { color: #075d5a; }
.reset-button span { font-size: 16px; }

.results-section { display: flex; flex: 1; flex-direction: column; min-height: 180px; border-top: 1px solid var(--line); }
.results-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px 0; }
.results-heading h2 { margin: 0; font: 700 14px "Manrope", sans-serif; letter-spacing: -.015em; }
.result-count { padding: 4px 8px; border-radius: 999px; background: var(--teal-light); color: #176f69; font-size: 10px; font-weight: 700; }
.results-hint { margin: 6px 26px 10px; color: #94a2a5; font-size: 10px; }
.school-list { overflow-y: auto; flex: 1; max-height: calc(100vh - 505px); min-height: 100px; margin: 0; padding: 0 10px 12px; list-style: none; scrollbar-color: #c8d7d5 transparent; scrollbar-width: thin; }
.school-list li { margin: 0; }
.school-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.school-row:hover, .school-row:focus-visible { outline: 0; background: #f0f7f5; }
.row-dot { flex: none; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--teal); }
.row-dot.post-primary { background: var(--coral); }
.row-dot.independent { background: #718ca3; }
.row-content { min-width: 0; }
.row-name { display: block; overflow: hidden; color: #253e47; font-size: 11px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: block; margin-top: 3px; color: #8a9a9e; font-size: 9px; }
.empty-state { margin: 28px 24px; color: var(--muted); font-size: 12px; text-align: center; }

.sidebar-footer { padding: 15px 24px 17px; border-top: 1px solid var(--line); background: #fbfcfc; }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #65777d; font-size: 10px; font-weight: 600; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border: 1px solid rgb(16 42 54 / 14%); border-radius: 50%; background: var(--teal); }
.legend-dot.post-primary { background: var(--coral); }
.legend-dot.independent { background: #718ca3; }
.sidebar-footer p { margin: 9px 0 0; color: #98a5a8; font-size: 9px; line-height: 1.5; }
.sidebar-footer a { color: #577b7c; text-decoration: underline; text-underline-offset: 2px; }

.map-panel { position: relative; min-width: 0; min-height: calc(100vh - 68px); overflow: hidden; background: #e9f0ee; }
#map { position: absolute; inset: 0; z-index: 1; background: #e9f0ee; }
.map-topline {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.map-caption, .map-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid rgb(220 229 227 / 90%);
  border-radius: 8px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 4px 18px rgb(16 42 54 / 8%);
  color: #526870;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(5px);
}
.map-caption { pointer-events: auto; }
.map-pin { position: relative; width: 11px; height: 11px; border: 2px solid var(--teal); border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); }
.map-pin::after { position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; border-radius: 50%; background: var(--teal); content: ""; }
.map-legend { gap: 13px; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-note { position: absolute; z-index: 400; bottom: 8px; left: 10px; padding: 5px 8px; border-radius: 4px; background: rgb(255 255 255 / 88%); color: #78898e; font-size: 9px; }
.leaflet-container { font-family: "DM Sans", sans-serif; }
.school-marker { border: 0; background: transparent; }
.school-marker span { display: block; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgb(16 42 54 / 38%); }
.school-marker.primary span { background: var(--teal); }
.school-marker.post-primary span { background: var(--coral); }
.school-marker.independent span { background: #718ca3; }
.leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 15px 17px; }
.school-popup { min-width: 205px; max-width: 260px; }
.school-popup .popup-kicker { margin: 0 0 5px; color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.school-popup h3 { margin: 0 0 7px; color: var(--ink); font: 700 14px/1.3 "Manrope", sans-serif; }
.school-popup p { margin: 0 0 10px; color: #72858b; font-size: 10px; line-height: 1.5; }
.school-popup a { display: inline-flex; align-items: center; gap: 5px; color: var(--teal); font-size: 10px; font-weight: 700; text-decoration: none; }
.school-popup a:hover { text-decoration: underline; text-underline-offset: 3px; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgb(11 124 120 / 16%); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: rgb(11 124 120 / 80%); color: #fff; font: 700 11px "DM Sans", sans-serif; }
.marker-cluster { border: 1px solid rgb(255 255 255 / 86%); }
.leaflet-control-zoom a { color: #314b54 !important; }
.leaflet-control-attribution { font-size: 8px !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.home-page { min-height: 100vh; background: #f5f8f7; }
.home-main { width: min(1020px, calc(100% - 48px)); margin: 0 auto; }
.home-hero { padding: 76px 0 51px; }
.home-hero h1 { margin: 0 0 17px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.055em; }
.home-intro { max-width: 560px; margin: 0; color: #687d84; font-size: 15px; line-height: 1.65; }
.primary-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 25px; padding: 13px 17px; border-radius: 7px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.primary-link:hover { transform: translateY(-1px); background: #086966; }
.primary-link span { font-size: 17px; line-height: 1; }
.home-stats { display: flex; gap: 50px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #dfe8e6; }
.home-stats div { display: flex; flex-direction: column; gap: 3px; }
.home-stats strong { color: #203a44; font: 800 23px "Manrope", sans-serif; letter-spacing: -.04em; }
.home-stats span { color: #819297; font-size: 10px; }
.home-section { padding: 29px 0 44px; border-top: 1px solid #dfe8e6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font: 700 21px "Manrope", sans-serif; letter-spacing: -.035em; }
.section-caption { margin-bottom: 2px; color: #8a999d; font-size: 10px; }
.page-card { position: relative; display: flex; align-items: center; gap: 19px; min-height: 140px; padding: 25px 60px 25px 24px; border: 1px solid #e0e9e7; border-radius: 10px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 3px 12px rgb(16 42 54 / 3%); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.page-card:hover { transform: translateY(-2px); border-color: #b9d8d1; box-shadow: 0 10px 28px rgb(16 42 54 / 8%); }
.card-icon { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border-radius: 12px; background: #e8f5f1; color: var(--teal); }
.card-icon svg { width: 29px; height: 29px; }
.card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.card-kicker { color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.card-copy strong { font: 700 18px "Manrope", sans-serif; }
.card-copy > span:last-child { max-width: 570px; color: #73858a; font-size: 11px; line-height: 1.55; }
.card-arrow { position: absolute; top: 50%; right: 24px; color: #7e9698; font-size: 19px; transform: translateY(-50%); }
.future-note { margin: 14px 0 0; color: #94a1a3; font-size: 10px; }
.home-footer { display: flex; justify-content: space-between; gap: 16px; padding: 19px max(24px, calc((100% - 1020px) / 2)); border-top: 1px solid #e1e9e7; color: #8b999c; font-size: 9px; }

.enrolments-page { min-height: 100vh; background: #f5f8f7; }
.enrolments-main { width: min(1320px, calc(100% - 56px)); margin: 0 auto; padding: 49px 0 55px; }
.enrolments-heading { max-width: 760px; margin: 0 0 28px; }
.enrolments-heading h1 { margin-bottom: 11px; font-size: clamp(29px, 4vw, 40px); }
.enrolments-heading > p:last-child { margin-bottom: 0; color: #687d84; font-size: 14px; line-height: 1.6; }
.builder-card, .table-card { border: 1px solid #e0e9e7; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgb(16 42 54 / 3%); }
.builder-card { padding: 24px; }
.builder-title, .table-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.source-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.builder-title .eyebrow, .table-heading .eyebrow { margin-bottom: 5px; }
.builder-title h2, .table-heading h2 { margin: 0; color: #203a44; font: 700 18px "Manrope", sans-serif; letter-spacing: -.03em; }
.source-link { flex: none; color: var(--teal); font-size: 11px; font-weight: 700; text-decoration: none; }
.source-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.builder-controls { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 14px; margin-top: 21px; }
.builder-controls .filter-field { gap: 7px; }
.builder-controls .filter-field span { font-size: 11px; }
.builder-controls .filter-field[hidden] { display: none; }
.builder-controls select, .builder-controls input { width: 100%; height: 39px; padding: 0 10px; border: 1px solid #dce6e4; border-radius: 6px; outline: 0; background: #fff; color: #304750; font-size: 12px; }
.builder-controls select:focus-visible, .builder-controls input:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(11 124 120 / 10%); }
.category-picker { min-width: 0; margin: 20px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
.category-picker legend { padding: 0 8px 0 0; color: #60727a; font-size: 11px; font-weight: 600; }
.category-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.category-option { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid #e1e9e7; border-radius: 6px; color: #456069; cursor: pointer; font-size: 11px; }
.category-option:has(input:checked) { border-color: #b6d9d1; background: #f0f8f5; color: #176f69; }
.category-option input { width: 14px; height: 14px; margin: 0; accent-color: var(--teal); }
.category-actions { display: flex; gap: 15px; margin-top: 12px; }
.category-actions button { padding: 0; border: 0; background: transparent; color: var(--teal); cursor: pointer; font-size: 10px; font-weight: 600; }
.category-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.table-card { margin-top: 18px; padding: 22px 0 18px; }
.table-heading { padding: 0 24px; }
.table-heading h2 { font-size: 16px; }
.table-summary { margin: 5px 0 0; color: #87979b; font-size: 10px; }
.download-button { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 37px; padding: 0 12px; border: 1px solid #cfe2dd; border-radius: 6px; background: #f4faf8; color: #176f69; cursor: pointer; font-size: 11px; font-weight: 700; }
.download-button:hover:not(:disabled) { border-color: #9fcabf; background: #eaf6f2; }
.download-button:disabled { cursor: not-allowed; opacity: .55; }
.download-button span { font-size: 15px; line-height: 1; }
.data-status { margin: 14px 24px 0; color: #72858b; font-size: 11px; }
.data-status:empty { display: none; }
.table-scroll { overflow: auto; max-height: 68vh; margin-top: 14px; border-top: 1px solid var(--line); scrollbar-color: #c8d7d5 transparent; scrollbar-width: thin; }
.trend-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; color: #304750; font-size: 11px; font-variant-numeric: tabular-nums; }
.trend-table th, .trend-table td { padding: 10px 12px; border-bottom: 1px solid #edf1f0; text-align: right; white-space: nowrap; }
.trend-table thead th { position: sticky; top: 0; z-index: 2; background: #f4f8f7; color: #60727a; font-size: 10px; font-weight: 700; }
.trend-table th:first-child { position: sticky; left: 0; z-index: 1; min-width: 155px; background: #fff; text-align: left; }
.trend-table thead th:first-child { z-index: 3; background: #f4f8f7; }
.trend-table tbody th { color: #304750; font-size: 11px; font-weight: 600; }
.trend-table tbody tr:hover td, .trend-table tbody tr:hover th { background: #f7fbfa; }
.trend-table td.not-reported { color: #9aa8aa; }
.trend-table td.positive-change { color: #a34f3d; font-weight: 700; }
.trend-table td.negative-change { color: #14766c; font-weight: 700; }
.table-empty { padding: 10px 20px; }
.trend-chart { margin: 20px 24px 0; padding-top: 19px; border-top: 1px solid var(--line); }
.chart-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.chart-heading .eyebrow { margin-bottom: 4px; }
.chart-heading h3 { margin: 0; color: #203a44; font: 700 15px "Manrope", sans-serif; letter-spacing: -.02em; }
.chart-summary { margin: 0; color: #87979b; font-size: 10px; text-align: right; }
.trend-chart-svg { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.chart-grid line { stroke: #e8efed; stroke-width: 1; }
.chart-grid .chart-x-gridline { stroke-dasharray: 2 5; }
.chart-grid text { fill: #819196; font: 10px "DM Sans", sans-serif; }
.chart-grid .chart-axis { stroke: #cbd9d6; stroke-dasharray: none; }
.chart-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-empty-message { fill: #819196; font: 12px "DM Sans", sans-serif; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.chart-legend-item { display: inline-flex; align-items: center; gap: 6px; color: #60727a; font-size: 10px; }
.chart-legend-item svg { width: 20px; height: 10px; flex: none; }
.source-notes { max-width: 1000px; margin: 20px 2px 0; color: #74878c; font-size: 10px; line-height: 1.6; }
.source-notes h2 { margin: 0 0 7px; color: #526870; font: 700 12px "Manrope", sans-serif; }
.source-notes ul { margin: 0 0 8px; padding-left: 18px; }
.source-notes li + li { margin-top: 3px; }
.source-notes p { margin: 0; }
.source-notes a { color: #577b7c; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .workspace { grid-template-columns: 330px minmax(0, 1fr); }
  .intro { padding-right: 22px; padding-left: 22px; }
  .filter-grid { grid-template-columns: 1fr; gap: 9px; }
  .filter-field { display: grid; grid-template-columns: 84px 1fr; align-items: center; }
  .results-heading { padding-right: 20px; padding-left: 20px; }
  .results-hint { margin-right: 20px; margin-left: 20px; }
  .school-list { max-height: calc(100vh - 610px); }
  .sidebar-footer { padding-right: 18px; padding-left: 18px; }
  .enrolments-main { width: calc(100% - 40px); }
  .builder-controls { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}

@media (max-width: 680px) {
  .topbar { height: 58px; padding: 0 17px; }
  .topbar-note { font-size: 10px; }
  .top-nav { gap: 0; }
  .top-nav a { padding: 7px 9px; font-size: 11px; }
  .workspace { display: flex; flex-direction: column; min-height: calc(100vh - 58px); }
  .sidebar { min-height: 0; border-right: 0; }
  .intro { padding: 21px 20px 15px; }
  h1 { font-size: 22px; }
  .intro-copy { max-width: 340px; font-size: 12px; }
  .filters { padding: 0 20px 16px; }
  .filter-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .filter-field { display: flex; }
  .results-section { display: none; }
  .sidebar-footer { padding: 11px 20px; }
  .sidebar-footer p { margin-top: 6px; }
  .map-panel { min-height: 62vh; flex: 1; }
  .map-topline { top: 10px; right: 10px; left: 10px; }
  .map-caption, .map-legend { min-height: 34px; padding: 0 9px; font-size: 9px; }
  .map-legend { gap: 8px; }
  .map-legend { display: none; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 12px; }
  .topbar-note { gap: 6px; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-field { display: grid; grid-template-columns: 106px 1fr; align-items: center; }
  .map-legend { gap: 6px; }
}

@media (max-width: 600px) {
  .home-main { width: calc(100% - 36px); }
  .home-hero { padding: 53px 0 36px; }
  .home-hero h1 { font-size: 34px; }
  .home-intro { font-size: 13px; }
  .home-stats { gap: 23px; margin-top: 34px; }
  .home-stats strong { font-size: 20px; }
  .home-stats span { font-size: 9px; }
  .section-caption { display: none; }
  .page-card { min-height: 130px; gap: 13px; padding: 20px 42px 20px 15px; }
  .card-icon { width: 40px; height: 40px; border-radius: 10px; }
  .card-icon svg { width: 25px; height: 25px; }
  .card-copy > span:last-child { font-size: 10px; }
  .card-arrow { right: 14px; }
  .home-footer { flex-direction: column; padding: 16px 18px; }
  .enrolments-main { width: calc(100% - 32px); padding: 34px 0 38px; }
  .enrolments-heading { margin-bottom: 20px; }
  .enrolments-heading h1 { font-size: 29px; }
  .enrolments-heading > p:last-child { font-size: 12px; }
  .builder-card { padding: 17px; }
  .builder-title, .table-heading { align-items: flex-start; }
  .builder-title { flex-direction: column; gap: 11px; }
    .source-links { justify-content: flex-start; gap: 11px; }
  .builder-controls { grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 16px; }
  .builder-controls .category-search { grid-column: 1 / -1; }
  .table-card { padding-top: 17px; }
  .table-heading { padding: 0 17px; }
  .table-heading h2 { font-size: 14px; }
  .trend-chart { margin-right: 17px; margin-left: 17px; padding-top: 15px; }
  .chart-heading h3 { font-size: 13px; }
  .chart-summary { max-width: 48%; font-size: 9px; }
  .chart-grid text { font-size: 9px; }
  .chart-legend { gap: 7px 12px; }
  .chart-legend-item { font-size: 9px; }
  .download-button { min-height: 33px; padding: 0 9px; font-size: 10px; }
  .data-status { margin-right: 17px; margin-left: 17px; }
  .trend-table th, .trend-table td { padding: 9px 10px; }
}
