.work-header { padding: 38px 0 26px; }
.work-header h1 { max-width: 1050px; font-size: clamp(2rem, 4.5vw, 3.65rem); line-height: 1.05; }
.work-header .eyebrow { margin-bottom: 12px; }
.work-header p { max-width: 850px; }
.data-stamp { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .875rem; }
.data-stamp a { text-underline-offset: 3px; }
.work-panel { margin-bottom: 28px; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); background: white; }
.work-panel h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 2.5vw, 1.9rem); letter-spacing: -.025em; line-height: 1.2; }
.work-panel h3 { margin: 24px 0 10px; font-size: 1.1rem; }
.work-panel p { max-width: 900px; }
.work-panel > p:first-of-type { margin-top: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; margin: 0 0 24px; }
.work-controls label { display: grid; gap: 6px; font-size: .9375rem; font-weight: 650; flex: 1 1 180px; }
.work-controls input, .work-controls select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; color: var(--ink); background: white; border: 1px solid #9ca4af; border-radius: 2px; font-size: 1rem; }
.work-controls input[type=range] { padding-inline: 0; accent-color: var(--ink); }
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; }
.work-actions .button-link { cursor: pointer; }
.work-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); margin: 18px 0 26px; }
.work-kpis > div { padding: 20px; border-right: 1px solid var(--line); }
.work-kpis > div:first-child { padding-left: 0; }
.work-kpis > div:last-child { border: 0; }
.work-kpis span { display: block; font-size: .875rem; color: var(--muted); }
.work-kpis strong { display: block; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.035em; line-height: 1.2; margin: 7px 0; font-variant-numeric: tabular-nums; }
.source-note { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.source-note a { color: var(--blue-dark); text-underline-offset: 3px; }
.data-note { border-left: 3px solid #7d8590; padding: 12px 16px; background: #f5f6f7; font-size: .9375rem; }
.data-note p { margin: 0; }
.work-chart svg { display: block; width: 100%; height: auto; }
.work-chart { min-height: 180px; }
.chart-key { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .875rem; margin: 12px 0; }
.chart-key span::before { content: ''; display: inline-block; width: 20px; height: 3px; margin: 0 7px 4px 0; background: var(--series, #1557ff); }
.work-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.work-panel, .county-layout > *, .work-grid > * { min-width: 0; }
.work-panel button:disabled { opacity: .5; cursor: not-allowed; }
.work-controls :is(input, select):focus-visible { outline: 2px solid #303944; outline-offset: 2px; }
.work-panel summary { cursor: pointer; padding-block: 14px; font-weight: 650; }
.work-panel tbody th { border-bottom: 1px solid var(--line); font-weight: 600; }
.work-panel :is(td, th) { line-height: 1.4; }
.work-table caption { text-align: left; font-weight: 700; padding-bottom: 12px; }
.work-table th, .work-table td { padding: 12px; text-align: right; font-size: .9375rem; }
.work-table th:first-child, .work-table td:first-child { text-align: left; }
.work-table thead th { background: #f5f6f7; }
.work-table th { white-space: normal; }
.work-table td { border-bottom: 1px solid var(--line); }
.work-table .cell-note { display: block; font-size: .8rem; color: var(--muted); }
.operational-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; border-top: 1px solid var(--ink); }
.operational-links a { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.operational-links strong { display: block; font-size: 1.25rem; margin-bottom: 5px; }
.operational-links span { color: var(--muted); }
.county-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 28px; align-items: start; }
.county-map svg { width: 100%; height: auto; display: block; }
.county-shape { stroke: white; stroke-width: .5; vector-effect: non-scaling-stroke; cursor: pointer; }
.county-shape.selected { stroke: var(--ink); stroke-width: 2; }
.county-shape:focus { outline: none; stroke: var(--ink); stroke-width: 2; }
.map-detail { padding: 20px; background: #f5f6f7; border: 1px solid var(--line); }
.map-detail h3 { margin: 0 0 10px; }
.map-detail dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: .9375rem; }
.map-detail dd { margin: 0; text-align: right; font-weight: 750; }
.map-scale { display: flex; gap: 10px; align-items: center; font-size: .875rem; margin-top: 14px; }
.map-scale i { flex: 1; height: 10px; background: linear-gradient(90deg, #e4e9ef, #294e73); }
.map-scale.change i { background: linear-gradient(90deg, #376d7d, #f0f1f2, #ab6041); }
.copy-text { display: block; width: 100%; min-height: 110px; margin: 12px 0; padding: 14px; border: 1px solid var(--line); background: #fafafa; color: var(--ink); font: inherit; resize: vertical; }
.press-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.press-row h3 { margin: 0 0 8px; }
.press-row p { margin: 0; }
.mix-bar { display: flex; height: 42px; margin: 20px 0 12px; background: #e2e5e9; }
.mix-bar span { display: grid; align-content: center; text-align: center; font-variant-numeric: tabular-nums; overflow: hidden; }
.mix-bar span:first-child { background: #294e73; color: white; }
.model-label { display: inline-block; padding: 4px 9px; background: #f0eee7; color: #5e5131; font-size: .875rem; }
.cremation-answer { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin: 12px 0 24px; }
.answer-kicker { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.answer-number { display: block; font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: .9; letter-spacing: -.075em; color: #244f75; font-variant-numeric: tabular-nums; }
.answer-unit { display: block; margin-top: 10px; font-weight: 720; }
.cremation-split { display: flex; min-height: 98px; margin-bottom: 22px; overflow: hidden; background: #e2e5e9; }
.cremation-split span { display: grid; place-content: center; min-width: 0; padding: 12px; text-align: center; }
.cremation-split span:first-child { color: white; background: #294e73; }
.cremation-split span:last-child { color: #35404e; background: #e2e5e9; }
.cremation-split b { display: block; font-size: clamp(1.5rem, 4vw, 2.35rem); line-height: 1.1; }
.cremation-map-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(240px, .75fr); gap: 28px; align-items: start; }
.europe-map { min-height: 360px; background: #f7f9fb; border: 1px solid var(--line); }
.europe-map svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.europe-country { stroke: white; stroke-width: 1; vector-effect: non-scaling-stroke; cursor: pointer; transition: opacity .15s ease, stroke-width .15s ease; }
.europe-country.is-older { stroke: #172335; stroke-dasharray: 4 3; }
.europe-country.selected, .europe-country:focus { outline: none; stroke: #111a2b; stroke-width: 2.5; }
.cremation-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 12px 0 6px; color: var(--muted); font-size: .78rem; }
.cremation-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cremation-legend i { width: 18px; height: 12px; display: inline-block; border: 1px solid rgba(17,26,43,.14); background: var(--legend); }
.cremation-legend .no-data { background: #e5e7eb; }
.map-detail .detail-number { display: block; margin: 8px 0 4px; font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.055em; color: #244f75; }
.map-detail .detail-status { display: inline-block; margin: 6px 0 12px; padding: 3px 7px; color: #4d5562; background: #e9edf1; font-size: .78rem; }
.benchmark-bars { display: grid; gap: 13px; margin: 24px 0; }
.benchmark-bars > div { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(180px, 3fr) minmax(85px, auto); gap: 14px; align-items: center; }
.benchmark-bars span { font-weight: 650; }
.benchmark-bars small { display: block; color: var(--muted); font-weight: 450; }
.benchmark-bars i { height: 17px; display: block; background: linear-gradient(90deg, #294e73 var(--value), #e4e8ed var(--value)); }
.benchmark-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.benchmark-bars .estimate i { background: repeating-linear-gradient(135deg, #294e73 0 5px, #6f91af 5px 10px) 0 0 / var(--value) 100% no-repeat, #e4e8ed; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.method-grid > div { padding: 18px 22px 0 0; }
.method-grid > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.method-grid h3 { margin-top: 0; }
.work-status { min-height: 1.55em; font-size: .875rem; }
.footer-update { border-top: 1px solid #3c4655; padding-top: 14px; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) {
  .operational-links a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .county-shape:hover { stroke: var(--ink); stroke-width: 1.5; }
  .europe-country:hover { opacity: .78; stroke: var(--ink); stroke-width: 1.8; }
}
@media (max-width: 760px) {
  .work-grid, .county-layout, .operational-links, .cremation-answer, .cremation-map-layout, .method-grid { grid-template-columns: 1fr; }
  .work-kpis { grid-template-columns: 1fr; }
  .work-kpis > div, .work-kpis > div:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .press-row { grid-template-columns: 1fr; }
  .work-header { padding-top: 28px; }
  .work-controls { gap: 12px; }
  .work-panel { padding: 18px 14px; }
  .work-actions .button-link { justify-content: center; }
  .cremation-split { min-height: 78px; }
  .europe-map { min-height: 250px; }
  .benchmark-bars > div { grid-template-columns: minmax(115px, 1fr) minmax(85px, 1.5fr) auto; gap: 8px; }
  .benchmark-bars b { font-size: .85rem; }
  .method-grid > div, .method-grid > div + div { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .method-grid > div:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .work-panel * { transition: none !important; } }
