/* Childhood Vaccination Coverage. Every rule is a class: the Content Security Policy admits no inline style.
 *
 * Status is always a word ("Below 95%"); colour only repeats it. A missing figure is words, never a zero.
 */
.cv-wrap { color: var(--hs-ink, #1a2a3b); padding: 0 0 24px; }
.cv-head { margin: 0 0 14px; }
.cv-title { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.cv-lead { margin: 0; color: var(--hs-ink-muted, #55657a); max-width: 80ch; line-height: 1.5; }
.cv-muted { color: var(--hs-ink-muted, #55657a); font-size: 13px; line-height: 1.5; margin: 0 0 10px; }
.cv-small { font-size: 12px; margin: 10px 0 0; max-width: 110ch; }
.cv-code { color: var(--hs-ink-muted, #55657a); font-size: 12px; font-weight: 400; white-space: nowrap; }
.cv-meta { font-weight: 400; color: var(--hs-ink-muted, #55657a); }
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cv-link { color: var(--hs-link, #0b5cad); }

.cv-card { background: var(--hs-surface-card, var(--hs-surface, #fff)); border: 1px solid var(--hs-border, #e3e8ee); border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; min-width: 0; }
.cv-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; align-items: flex-end; margin: 0 0 12px; }
.cv-h2 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.cv-h3 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
.cv-prose { line-height: 1.55; max-width: 100ch; }
.cv-prose li { margin: 0 0 6px; }

.cv-picker-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; }
.cv-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cv-share { flex: 1 1 18rem; }
.cv-label { font-weight: 600; font-size: 13px; }
.cv-input, .cv-select { max-width: 100%; padding: 7px 9px; border: 1px solid var(--hs-border-strong, #c7d0da); border-radius: 8px; background: var(--hs-surface-card, #fff); color: inherit; font: inherit; font-size: 13px; }
.cv-input { width: 100%; }
.cv-button { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--hs-teal-deep, #0f6e57); background: var(--hs-teal-deep, #0f6e57); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cv-form { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }

.cv-seg { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.cv-seg-item { display: inline-block; padding: 5px 11px; border: 1px solid var(--hs-border-strong, #c7d0da); border-radius: 999px; font-size: 13px; color: inherit; text-decoration: none; }
.cv-seg-item.is-current { background: var(--hs-teal-deep, #0f6e57); border-color: var(--hs-teal-deep, #0f6e57); color: #fff; font-weight: 600; }
.cv-controls { display: flex; flex-wrap: wrap; gap: 8px 16px; }

.cv-periods summary { cursor: pointer; padding: 5px 0; }
.cv-period-current { font-weight: 400; }
.cv-period-list { list-style: none; margin: 6px 0 0; padding: 6px 10px; border: 1px solid var(--hs-border, #e3e8ee); border-radius: 8px; font-size: 13px; }
.cv-period-list li { padding: 3px 0; }
.cv-period-list .is-current { font-weight: 700; }

.cv-tabs { display: flex; gap: 4px; margin: 0 0 16px; border-bottom: 1px solid var(--hs-border, #e3e8ee); overflow-x: auto; }
.cv-tab { padding: 8px 14px; color: inherit; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; }
.cv-tab.is-current { border-bottom-color: var(--hs-teal-deep, #0f6e57); font-weight: 700; }

.cv-alert { border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; font-size: 14px; }
.cv-alert-warn { background: #fff6e0; border: 1px solid #f0d58a; }
.cv-alert-info { background: #eef5fc; border: 1px solid #c4dbf2; }

.cv-practice { margin: 0 0 16px; }
.cv-practice-name { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.cv-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 10px; }
.cv-tile { background: var(--hs-surface-card, #fff); border: 1px solid var(--hs-border, #e3e8ee); border-top: 3px solid var(--hs-border-strong, #c7d0da); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cv-tile-meets { border-top-color: #15803d; }
.cv-tile-below { border-top-color: #b42318; }
.cv-tile-on_boundary { border-top-color: #b45309; }
.cv-tile-label { font-size: 12px; font-weight: 700; color: var(--hs-ink-muted, #55657a); }
.cv-tile-value { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cv-tile-status { font-size: 13px; font-weight: 700; }
.cv-tile-note { font-size: 12px; color: var(--hs-ink-muted, #55657a); line-height: 1.45; }

.cv-scroll { position: relative; overflow-x: auto; max-width: 100%; }
.cv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cv-table th, .cv-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--hs-border, #e3e8ee); vertical-align: top; }
.cv-table thead th { font-size: 12px; color: var(--hs-ink-muted, #55657a); font-weight: 700; border-bottom-width: 2px; }
.cv-table tbody th { font-weight: 600; }
.cv-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-table .cv-num { text-align: right; }
.cv-strong { font-weight: 700; }
.cv-vaccine { display: block; }
.cv-sub { display: block; font-size: 11px; font-weight: 400; color: var(--hs-ink-muted, #55657a); white-space: normal; }
.cv-digest { font-family: ui-monospace, monospace; }
.cv-break-row th, .cv-break-row td { border-top: 2px dashed #b45309; }
.cv-note { margin: 0 0 4px; font-size: 12px; color: var(--hs-ink-muted, #55657a); max-width: 60ch; }

.cv-status { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.cv-status-meets { background: #e7f6ec; color: #14532d; border-color: #a7d9b8; }
.cv-status-below { background: #fdecea; color: #8a1c12; border-color: #f2b8b0; }
.cv-status-on_boundary { background: #fff4e0; color: #7a3d03; border-color: #f0c987; }
.cv-status-not_classifiable, .cv-status-no_eligible, .cv-status-no_data { background: #f2f4f7; color: #344054; border-color: #d0d5dd; }

.cv-notes { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.cv-notes li { margin: 0 0 6px; }

.cv-datasets { margin: 4px 0 8px; font-size: 13px; }
.cv-attribution { font-size: 12px; color: var(--hs-ink-muted, #55657a); margin: 12px 0 0; line-height: 1.5; }
.cv-empty p { margin: 0; }

@media (max-width: 640px) {
  .cv-card { padding: 12px; }
  .cv-tile-value { font-size: 20px; }
  .cv-table { font-size: 12px; }
}

/* Charts. The conventions and palette are Practice Overview's: practice blue, England slate; a line chart fills its card at a fixed
   height with its text and markers in an unstretched layer; horizontal charts are HTML rows with their own SVG tracks. */
.cv-hchart, .cv-chart { --cv-practice: #0d5bb8; --cv-england: #3f4a5c; --cv-median: #c2410c; --cv-bench: #b42318; --cv-grid: #e3e8f0; }
.cv-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; font-size: 13px; }
.cv-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cv-key { display: inline-block; flex: none; }
.cv-key-bar { width: 18px; height: 10px; background: #0d5bb8; border-radius: 2px; }
.cv-key-line, .cv-key-dash, .cv-key-dot, .cv-key-bench, .cv-key-break { width: 22px; height: 0; border-top: 3px solid #0d5bb8; }
.cv-key-dash { border-top: 2px dashed #3f4a5c; }
.cv-key-dot { border-top: 3px dotted #c2410c; }
.cv-key-bench { border-top: 2px dashed #b42318; }
.cv-key-break { width: 0; height: 14px; border-top: 0; border-left: 2px dashed #64748b; }

.cv-shape { flex: none; display: inline-block; vertical-align: -1px; overflow: visible; }
.cv-shape-circle { fill: #15803d; }
.cv-shape-diamond { fill: #b45309; }
.cv-shape-triangle { fill: #b42318; }
.cv-shape-up { fill: #15803d; }
.cv-shape-none { stroke: #667085; stroke-width: 2; }
.cv-legend .cv-shape-square { fill: #fff; stroke: #3f4a5c; stroke-width: 2; }
.cv-legend .cv-shape-diamond { fill: #c2410c; }
.cv-legend .cv-shape-circle { fill: #0d5bb8; }
.cv-status { display: inline-flex; align-items: center; gap: 5px; }

.cv-breakdown { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 8px; }
.cv-breakdown-age { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 10px; border: 1px solid var(--hs-border, #e3e8ee); border-radius: 8px; font-size: 13px; }
.cv-breakdown-label { font-weight: 700; flex: 1 0 100%; }
.cv-breakdown-item { display: inline-flex; align-items: center; gap: 5px; }
.cv-breakdown-na { color: var(--hs-ink-muted, #55657a); }

.cv-hchart { container-type: inline-size; }
.cv-hlist { list-style: none; margin: 0; padding: 0; }
.cv-hgroup { font-size: 13px; font-weight: 700; margin: 12px 0 2px; color: var(--hs-ink-muted, #55657a); text-transform: none; }
.cv-hrow { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 13rem; grid-template-areas: "label track value"; gap: 4px 14px; align-items: center; padding: 3px 0; }
.cv-hrow-label { grid-area: label; font-size: 13px; font-weight: 600; }
.cv-hrow-value { grid-area: value; font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.cv-hrow-value .cv-sub { flex-basis: 100%; }
.cv-track { grid-area: track; display: block; width: 100%; height: 28px; overflow: visible; }
.cv-hrow-axis { padding: 0; }
.cv-axis-track { height: 32px; }
.cv-axis-track text, .cv-tick { fill: #475569; font-size: 12px; }
.cv-track-grid { stroke: var(--cv-grid, #e3e8f0); stroke-width: 1; }
.cv-bar-practice { fill: #0d5bb8; }
.cv-bar-gap { fill: #b42318; }
.cv-bar-up { fill: #15803d; }
.cv-bar-down { fill: #b42318; }
.cv-bar-flat { fill: #667085; }
.cv-zero { stroke: #475569; stroke-width: 1.5; }
.cv-bench-rule { stroke: #b42318; stroke-width: 2; stroke-dasharray: 4 3; }
.cv-at { overflow: visible; }
.cv-m-england { fill: #fff; stroke: #3f4a5c; stroke-width: 2; }
.cv-m-median { fill: #c2410c; stroke: #fff; stroke-width: 1; }
.cv-bench-label { fill: #b42318; font-size: 12px; font-weight: 700; }
.cv-gap-value { color: #8a1c12; }
@container (max-width: 560px) {
  /* On a phone each measure stacks: its name, then its figures, then the full-width track, so nothing overlaps. */
  .cv-hrow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "value" "track"; gap: 2px; padding: 8px 0; }
  .cv-hrow-value .cv-sub { flex-basis: auto; }
  .cv-hrow-axis { grid-template-areas: "track track"; }
  .cv-hrow-axis > span { display: none; }
}

.cv-chart { margin: 0 0 12px; container-type: inline-size; }
.cv-ts { --cv-ts-axis: 3.25rem; --cv-ts-ends: 9.5rem; display: grid; grid-template-columns: var(--cv-ts-axis) minmax(0, 1fr) var(--cv-ts-ends); }
.cv-ts-axis, .cv-ts-ends { display: block; width: 100%; overflow: visible; }
.cv-ts-plot { position: relative; min-width: 0; }
.cv-ts-draw { display: block; width: 100%; }
.cv-ts-over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cv-hit { fill: transparent; pointer-events: all; cursor: crosshair; }
.cv-hit:hover { fill: rgba(13, 91, 184, .14); }
.cv-grid { stroke: #e3e8f0; stroke-width: 1; }
.cv-bench { stroke: #b42318; stroke-width: 2; stroke-dasharray: 5 4; }
.cv-break { stroke: #64748b; stroke-width: 1.5; stroke-dasharray: 6 4; }
.cv-break-label { fill: #475569; font-size: 11px; font-weight: 600; }
.cv-line { fill: none; stroke: #0d5bb8; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.cv-line-england { fill: none; stroke: #3f4a5c; stroke-width: 1.75; stroke-dasharray: 6 4; }
.cv-line-median { fill: none; stroke: #c2410c; stroke-width: 2.25; stroke-dasharray: 1 4; stroke-linecap: round; }
.cv-pt-practice { fill: #0d5bb8; stroke: #fff; stroke-width: 1.5; }
.cv-pt-england { fill: #fff; stroke: #3f4a5c; stroke-width: 2; }
.cv-pt-median { fill: #c2410c; stroke: #fff; stroke-width: 1; }
.cv-end { font-size: 13px; font-weight: 700; fill: #1f2937; }
.cv-end-practice { fill: #0d5bb8; }
.cv-end-england { fill: #3f4a5c; }
.cv-end-median { fill: #c2410c; }
.cv-end-benchmark { fill: #b42318; }
.cv-end-name { font-weight: 500; font-size: 12px; fill: #475569; }
.cv-leader { stroke: #94a3b8; stroke-width: 1; }
.cv-x-narrow { display: none; }
.cv-x-hide-wide { display: none; }
@container (max-width: 520px) {
  .cv-ts { --cv-ts-axis: 2.75rem; --cv-ts-ends: 3.5rem; }
  .cv-end-name { display: none; }
  .cv-x-wide { display: none; }
  .cv-x-narrow { display: inline; }
  .cv-x-hide-wide { display: inline; }
  .cv-x-hide-narrow { display: none; }
  .cv-break-label { display: none; }
}
.cv-details { margin: 10px 0 0; font-size: 13px; }
.cv-details summary { cursor: pointer; font-weight: 600; }
