/* PowerLogs. Design system from the PowerLogs prototype, refined with unslop by Damir Sokolovsky (CC BY 4.0). */
:root {
  --paper: #f7f7f2;
  --paper-deep: #eef0e9;
  --surface: #fff;
  --soft: #edf0e9;
  --ink: #202824;
  --secondary: #59625d;
  --muted: #646f69;
  --line: #dce0d8;
  --line-strong: #c6cdc5;
  --blue: #2455e8;
  --blue-dark: #1944c7;
  --green: #3c6550;
  --green-soft: #e9f0e8;
  --amber: #78571d;
  --amber-soft: #faf1dd;
  --red: #a32920;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1 {
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p {
  color: var(--secondary);
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 13px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  height: 1px;
  width: 32px;
  background: var(--ink);
}
.sep {
  margin: 0 12px;
  color: #989f99;
}
.small {
  font-size: 13px;
  color: var(--secondary);
}
.tiny {
  font-size: 12px;
  color: var(--muted);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header and navigation */
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 99;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.brand svg {
  color: var(--blue);
}
.brand-dot {
  color: var(--blue);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.site-nav > a {
  padding: 12px 0;
  color: var(--secondary);
  transition: color 160ms var(--ease);
}
.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--blue);
}
.nav-check {
  color: var(--ink) !important;
  margin-left: 16px;
  border-bottom: 1px solid var(--ink);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--secondary);
  font-size: 14px;
  align-items: center;
  gap: 8px;
}

/* Buttons and links */
.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 160ms var(--ease),
    transform 160ms var(--ease);
}
.button:hover {
  background: var(--blue-dark);
}
.button:active {
  transform: scale(0.98);
}
.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--soft);
}
.button.dark {
  background: var(--ink);
  border-color: var(--ink);
}
.button.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 14px;
  transition: color 160ms var(--ease);
}
.text-link:hover {
  color: var(--blue);
}
.prose a,
.inline-link {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  font-size: inherit;
}

/* Home */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 60px 76px;
  min-height: 604px;
}
.hero-copy h1 {
  max-width: 600px;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 480px;
  margin-top: 24px;
}
.lookup {
  margin-top: 32px;
}
.lookup label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.lookup-row {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  max-width: 500px;
  gap: 8px;
}
.lookup-row:focus-within {
  border-color: var(--blue);
}
.lookup-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  padding: 8px 12px;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--ink);
}
.lookup-row input:focus-visible {
  outline: none;
}
.lookup-row input::placeholder {
  color: var(--muted);
  text-transform: none;
  font-family: var(--sans);
}
.lookup-row .button {
  white-space: nowrap;
}
.lookup-help {
  font-size: 12px;
  margin-top: 12px;
  color: var(--muted);
}
.lookup-help a {
  color: var(--ink);
  text-decoration: underline;
}
.lookup.has-error .lookup-row {
  border-color: var(--red);
}
.error {
  color: var(--red);
  font-size: 13px;
  margin-top: 8px;
}
.hero-record {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px 24px;
}
.record-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary);
  padding-bottom: 24px;
  border-bottom: 1px solid #d2d8ce;
}
.paper-record {
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 24px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(32, 40, 36, 0.04);
}
.paper-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paper-record h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.signal {
  width: 100%;
  height: 84px;
  margin: 24px 0 12px;
  display: block;
}
.record-tally {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.record-tally strong {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.record-tally span {
  font-size: 14px;
  color: var(--secondary);
}
.mini-record {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.mini-record:first-of-type {
  margin-top: 20px;
}
.mini-record time {
  color: var(--secondary);
}
.record-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--secondary);
}
.record-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d2d8ce;
  font-size: 12px;
  color: var(--secondary);
}
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #7c927f;
  border-radius: 50%;
  color: var(--green);
  flex-shrink: 0;
}
.mark .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
.mark.query {
  border-color: #b59a63;
  color: var(--amber);
}
.service-strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0;
  gap: 32px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.service-item .step {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 2px;
}
.service-item strong {
  font-size: 14px;
  font-weight: 500;
}
.service-item p {
  font-size: 13px;
  margin-top: 4px;
}
.home-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 80px 0;
}
.home-story h2 {
  max-width: 440px;
}
.home-story p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 520px;
}
.home-story .eyebrow {
  margin-bottom: 20px;
}
.area-teaser {
  padding: 40px;
  background: #e9ece4;
  border-radius: 12px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}
.area-teaser p {
  margin-top: 12px;
  font-size: 14px;
}
.area-teaser h2 {
  font-size: 28px;
}
.area-teaser .button {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  font-size: 13px;
}
.site-footer p {
  font-size: 12px;
  margin-top: 8px;
  max-width: 320px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer nav a:hover {
  color: var(--blue);
}
.footer-brand {
  font-weight: 600;
}
.site-footer .footer-contact {
  margin-top: 12px;
}
.footer-contact a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-contact a:hover {
  color: var(--blue);
}
.urgent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.urgent a {
  text-decoration: underline;
}

/* Page furniture */
.page-top {
  padding-block: 36px 32px;
}
.crumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumbs a {
  text-decoration: underline;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.page-heading h1 {
  font-size: 48px;
  letter-spacing: -0.03em;
}
.page-heading p {
  font-size: 14px;
  margin-top: 12px;
}
.page-heading .text-link {
  margin-left: 20px;
  vertical-align: middle;
  font-size: 14px;
  letter-spacing: 0;
}
.year-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--secondary);
}
.year-form .row {
  display: flex;
  gap: 8px;
}
select {
  padding: 8px 36px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  font-size: 13px;
}
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--green-soft);
  border: 1px solid #d0dccd;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 24px;
}
.status-bar strong {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.status-bar strong .status-mark {
  flex-shrink: 0;
  transform: translateY(-1px);
}
.status-bar .small {
  font-size: 12px;
}
.status-mark {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.status-bar.warn {
  background: var(--amber-soft);
  border-color: #e3d6b9;
}
.status-bar.warn .status-mark {
  background: var(--amber);
}
.summary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  margin-top: 28px;
  padding-block: 28px;
  border-block: 1px solid var(--line);
}
.summary-item {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.summary-item:first-child {
  padding-left: 0;
}
.summary-item:last-child {
  border-right: 0;
}
.summary-item > span {
  display: block;
  font-size: 12px;
  color: var(--secondary);
}
.summary-item strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.summary-item strong span {
  font-size: 16px;
  letter-spacing: 0;
  color: var(--secondary);
}
.summary-item p {
  font-size: 12px;
  margin-top: 4px;
}

/* Postcode result */
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  padding-bottom: 64px;
  align-items: start;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tabs a {
  padding: 16px 0;
  font-size: 13px;
  position: relative;
  color: var(--secondary);
}
.tabs a:hover {
  color: var(--ink);
}
.tabs a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
.tabs a[aria-current="page"]::after {
  content: "";
  height: 2px;
  background: var(--ink);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid transparent;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 6px;
  color: var(--secondary);
  transition: background-color 160ms var(--ease);
}
.filter[aria-current="true"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.filter:hover {
  background: var(--soft);
}
.timeline-overview {
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.month-grid li {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted);
  text-align: center;
}
.month-segment {
  height: 20px;
  background: #e3e7de;
  margin-bottom: 8px;
  border-radius: 2px;
  position: relative;
}
.month-segment.has-cut {
  background: #99b8a3;
}
.month-segment.has-cut::after {
  content: "";
  position: absolute;
  inset: 4px auto 4px 48%;
  width: 3px;
  background: #345d46;
}
.month-segment.gap {
  background: repeating-linear-gradient(135deg, #d5dccf 0, #d5dccf 2px, #edf0e9 2px, #edf0e9 5px);
}
.month-segment.has-cut.gap {
  background: repeating-linear-gradient(135deg, #99b8a3 0, #99b8a3 2px, #c9d8cd 2px, #c9d8cd 5px);
}
.month-segment.untracked {
  background: transparent;
  border: 1px dashed #c9d0c6;
}
.overview-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.legend span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.legend i {
  display: block;
  width: 8px;
  height: 8px;
  background: #99b8a3;
}
.legend i.gap-key {
  background: repeating-linear-gradient(135deg, #87937f 0, #87937f 1px, #edf0e9 1px, #edf0e9 3px);
}
.legend i.untracked-key {
  background: transparent;
  border: 1px dashed #a5ae9f;
}
.history-list {
  border-top: 1px solid var(--line);
}
.cut {
  border-bottom: 1px solid var(--line);
}
.cut summary {
  list-style: none;
  display: grid;
  grid-template-columns: 36px 1fr auto 20px;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
}
.cut summary::-webkit-details-marker {
  display: none;
}
.cut summary::after {
  content: "+";
  font: 20px var(--mono);
  color: var(--secondary);
}
.cut[open] summary::after {
  content: "\2212";
}
.cut-index {
  font: 12px var(--mono);
  color: var(--muted);
  align-self: start;
  padding-top: 4px;
}
.cut-name {
  font-size: 14px;
  display: block;
  font-weight: 500;
}
.cut-meta {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cut-duration {
  font: 14px var(--mono);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cut-duration small {
  display: block;
  font: 11px / 1.6 var(--sans);
  color: var(--muted);
}
.evidence {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.evidence::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.evidence.possibly::before {
  background: transparent;
  border: 1px solid var(--amber);
}
.cut-detail {
  padding: 0 36px 24px 52px;
  font-size: 13px;
  color: var(--secondary);
}
.cut-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 4px 0 20px;
}
.cut-detail dt {
  font-size: 12px;
  color: var(--muted);
}
.cut-detail dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.inset-note {
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--secondary);
}
.inset-note + .inset-note {
  margin-top: 12px;
}
.inset-note.warning {
  background: var(--amber-soft);
}
.inset-note a {
  text-decoration: underline;
  color: var(--ink);
}
.gap-row {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #f2f3ed 0, #f2f3ed 3px, #f7f7f2 3px, #f7f7f2 7px);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--secondary);
  flex-wrap: wrap;
}
.history-foot {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.8;
}
.history-foot a {
  text-decoration: underline;
}
.rail {
  padding-top: 24px;
}
.comp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.card-topline {
  font-size: 12px;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.comp-card h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.comp-card > p {
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.7;
}
.progress-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.progress-segments span {
  height: 8px;
  background: #dfe4db;
  border-radius: 2px;
}
.progress-segments span.filled {
  background: var(--blue);
}
.progress-segments span.possible {
  background: repeating-linear-gradient(135deg, #a9bdf5 0, #a9bdf5 2px, #e3e9fb 2px, #e3e9fb 5px);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--secondary);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.comp-card .button {
  margin-top: 24px;
}
.comp-card .tiny {
  margin-top: 12px;
  line-height: 1.7;
}
.comp-card .text-link {
  margin-top: 16px;
  font-size: 13px;
}
.rail-block {
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}
.rail-block h3 {
  font-size: 16px;
}
.rail-block p {
  font-size: 13px;
  margin: 12px 0 16px;
  line-height: 1.75;
}
.operator-name {
  font-size: 14px;
  color: var(--ink);
  margin-top: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
}
.field input,
.field textarea {
  border: 1px solid #bfc9bb;
  background: var(--surface);
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
  color: var(--ink);
  width: 100%;
  font-size: 14px;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Compensation tab */
.criteria {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 24px 0;
}
.criteria > h3 {
  margin-bottom: 4px;
}
.criteria-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
  margin-top: 16px;
  color: var(--ink);
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.plain-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.7;
}
.plain-list strong {
  font-size: 15px;
  font-weight: 500;
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}
.plain-list .amount {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}
.tab-content > h2 {
  font-size: 28px;
}
.tab-content > p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
}
.empty-state {
  padding: 48px 32px;
  border: 1px dashed #bbc6b6;
  border-radius: 12px;
  background: #f0f2eb;
}
.empty-state h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.empty-state p {
  max-width: 540px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.empty-mark {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.empty-mark span {
  width: 16px;
  height: 4px;
  background: #abb7a5;
}

/* Articles */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 48px 80px;
}
.article h1 {
  font-size: 52px;
  margin-bottom: 28px;
}
.article .lede {
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
}
.article h2 {
  font-size: 28px;
  margin: 48px 0 20px;
}
.article h3 {
  font-size: 19px;
  margin: 32px 0 8px;
}
.article p {
  margin-bottom: 20px;
  line-height: 1.85;
}
.article ul {
  padding-left: 20px;
  color: var(--secondary);
}
.article li {
  margin-block: 12px;
  line-height: 1.7;
}
.article .button {
  margin-top: 12px;
}
.pull {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--blue);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}
.pull p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Area statistics */
.area-page {
  padding-bottom: 80px;
}
.area-title {
  max-width: 660px;
}
.area-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.chart-panel {
  background: #edf0e7;
  padding: 28px 32px;
  border-radius: 12px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.chart-head h2 {
  font-size: 22px;
}
.bar-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: end;
  height: 220px;
  border-bottom: 1px solid #bfc9b9;
  padding: 0 8px;
}
.bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 8px;
}
.bar {
  width: 100%;
  max-width: 40px;
  background: #a8b6a0;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
}
.bar.current {
  background: var(--blue);
}
.bar.untracked {
  background: transparent;
  border: 1px dashed #b9c2b2;
  min-height: 8px;
}
.bar-num {
  font: 11px var(--mono);
  color: var(--secondary);
}
.chart-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding: 12px 8px 0;
  text-align: center;
  font: 11px var(--mono);
  color: var(--muted);
}
.chart-panel > p {
  font-size: 12px;
  margin-top: 24px;
  line-height: 1.8;
}
.area-stats {
  display: grid;
  gap: 24px;
  align-content: start;
  padding-block: 8px;
}
.area-stat {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.area-stat strong {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.area-stat span {
  font-size: 14px;
  color: var(--secondary);
  display: block;
  margin-top: 8px;
}
.area-stat p {
  font-size: 12px;
  margin-top: 4px;
}
.sector-section {
  margin-top: 48px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.data-table th {
  font-size: 12px;
  font-weight: 400;
  color: var(--secondary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-strong);
}
.data-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}
.data-table th:first-child,
.data-table td:first-child {
  padding-left: 0;
}
.data-table th:not(:first-child),
.data-table td:not(:first-child) {
  text-align: right;
}
.data-table td.mono {
  font-size: 13px;
}
.data-table a {
  text-decoration: underline;
}
.area-search {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  max-width: 420px;
}
.area-search input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px;
  font: 16px var(--mono);
  text-transform: uppercase;
  background: var(--surface);
  min-width: 0;
}

/* Coverage */
.coverage-intro {
  max-width: 650px;
}
.coverage-intro p {
  font-size: 16px;
  margin-top: 20px;
  line-height: 1.8;
}
.coverage-table {
  margin-top: 32px;
}
.coverage-table th,
.coverage-table td {
  padding-block: 20px;
}
.coverage-table th,
.coverage-table td {
  text-align: left !important;
  vertical-align: top;
}
.coverage-table td:first-child {
  color: var(--ink);
}
.coverage-history {
  margin-top: 64px;
}
.coverage-history h2 {
  font-size: 24px;
}
.coverage-history > p {
  max-width: 650px;
  margin-top: 12px;
  line-height: 1.7;
}
.coverage-label {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  white-space: nowrap;
}
.coverage-label.pending {
  background: var(--amber-soft);
  color: var(--amber);
}
.coverage-label.off {
  background: var(--soft);
  color: var(--secondary);
}
.status-table th:first-child {
  width: 32%;
}
.status-table th:nth-child(2) {
  width: 20%;
}
.status-foot {
  margin-top: 20px;
  font-size: 13px;
  color: var(--secondary);
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
.columns h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.columns p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.columns a {
  text-decoration: underline;
}
.privacy-box {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.privacy-box h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.privacy-box p {
  font-size: 14px;
  max-width: 800px;
  line-height: 1.8;
}
.attribution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.attribution-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
}
.attribution-list strong {
  color: var(--ink);
  font-weight: 500;
}

/* Unsupported area */
.unsupported {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding-block: 24px 80px;
}
.unsupported h1 {
  font-size: 48px;
}
.unsupported p {
  margin-top: 24px;
  line-height: 1.8;
}
.unsupported .actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.contact-panel {
  background: var(--soft);
  padding: 32px;
  border-radius: 12px;
  align-self: start;
}
.contact-panel h2 {
  font-size: 24px;
}
.contact-panel a {
  display: block;
  font-size: 14px;
  margin-top: 20px;
  text-decoration: underline;
}

/* Claim builder and single-task pages */
.task-page {
  padding-block: 36px 80px;
}
.claim-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin-top: 32px;
  align-items: start;
}
.step-label {
  font: 12px var(--mono);
  color: var(--secondary);
  margin-bottom: 16px;
}
.claim-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.claim-preview textarea {
  width: 100%;
  min-height: 520px;
  resize: vertical;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
}
.claim-subject {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--ink);
}
.claim-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
}
.checkbox-row {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--secondary);
  margin-top: 8px;
}
.checkbox-row input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.claim-periods {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}
.claim-periods li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: start;
}
.claim-periods .mono {
  color: var(--secondary);
}
.narrow {
  max-width: 560px;
}
.narrow h1 {
  font-size: 44px;
  margin-bottom: 20px;
}
.narrow p {
  line-height: 1.8;
  margin-bottom: 16px;
}
.narrow ul {
  color: var(--secondary);
  line-height: 1.8;
  padding-left: 20px;
}
.success-mark {
  color: var(--green);
  margin-bottom: 20px;
}
.success-mark .icon {
  width: 32px;
  height: 32px;
}

.loading-in {
  animation: appear 0.35s var(--ease);
}
@keyframes appear {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
[hidden] {
  display: none !important;
}

@media (min-width: 1500px) {
  .hero {
    gap: 96px;
    padding-block: 72px 88px;
  }
  .hero h1 {
    font-size: 72px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    gap: 20px;
  }
  .site-nav {
    gap: 20px;
  }
  .nav-check {
    margin-left: 0;
  }
  .hero {
    gap: 40px;
    min-height: 560px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-record {
    padding: 24px;
  }
  .paper-record {
    padding: 20px;
  }
  .result-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }
  .comp-card {
    padding: 20px;
  }
  .home-story {
    gap: 64px;
  }
  .brand {
    font-size: 24px;
  }
}
@media (max-width: 820px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    height: 80px;
    position: relative;
  }
  .menu-toggle {
    display: flex;
  }
  .site-header .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: -24px;
    right: -24px;
    padding: 16px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 5;
    align-items: start;
    gap: 8px;
    flex-direction: column;
  }
  .site-header .site-nav.open,
  .no-js .site-header .site-nav {
    display: flex;
  }
  .no-js .site-header .site-nav {
    position: static;
    padding: 0;
    border: 0;
    background: none;
  }
  .no-js .menu-toggle {
    display: none;
  }
  .site-header .site-nav a {
    width: 100%;
    padding: 12px 0;
  }
  .site-header .nav-check {
    width: auto;
  }
  .hero {
    gap: 32px;
    padding-block: 36px 48px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .lookup-row {
    flex-wrap: wrap;
  }
  .lookup-row .button {
    width: 100%;
    min-height: 44px;
  }
  .lookup-row input {
    min-height: 44px;
  }
  .service-strip {
    gap: 24px;
  }
  .home-story {
    gap: 40px;
    padding: 56px 0;
  }
  .home-story h2 {
    font-size: 32px;
  }
  .area-teaser {
    padding: 32px;
  }
  .result-layout {
    grid-template-columns: 1fr;
  }
  .rail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    padding-top: 0;
  }
  .rail-block {
    padding: 20px 0;
  }
  .comp-card {
    grid-row: span 2;
  }
  .area-grid {
    gap: 32px;
  }
  .chart-panel {
    padding: 24px;
  }
  .bar-chart,
  .chart-months {
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 40px;
  }
  .site-footer {
    gap: 24px;
    grid-template-columns: 1fr 1fr;
  }
  .site-footer > div:last-child {
    grid-column: 2;
  }
  .unsupported {
    gap: 32px;
  }
  .unsupported h1 {
    font-size: 40px;
  }
  .columns {
    gap: 32px;
  }
  .summary-item {
    padding-inline: 24px;
  }
  .claim-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article {
    max-width: calc(100% - 48px);
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 40px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 72px;
  }
  .brand {
    font-size: 24px;
    gap: 8px;
  }
  .brand svg {
    width: 28px;
  }
  .site-header .site-nav {
    left: -16px;
    right: -16px;
    padding-inline: 16px;
    top: 68px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 40px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 44px;
    max-width: 350px;
  }
  .hero-copy > p {
    max-width: 360px;
  }
  .lookup-row {
    flex-wrap: nowrap;
  }
  .lookup-row .button {
    width: auto;
    min-height: 48px;
    font-size: 13px;
    gap: 12px;
    padding-inline: 16px;
  }
  .lookup-row input {
    font-size: 15px;
    padding-inline: 8px;
  }
  .hero-record {
    padding: 20px;
  }
  .paper-record {
    padding: 20px;
    margin-top: 20px;
  }
  .mini-record {
    font-size: 12px;
  }
  .record-tally strong {
    font-size: 44px;
  }
  .signal {
    height: 72px;
    margin-top: 20px;
  }
  .service-strip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }
  .home-story {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 48px;
  }
  .home-story h2 {
    font-size: 32px;
  }
  .area-teaser {
    padding: 28px;
    display: block;
    margin-bottom: 48px;
  }
  .area-teaser h2 {
    font-size: 26px;
  }
  .area-teaser .button {
    margin-top: 24px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px 40px;
  }
  .site-footer > div:last-child {
    grid-column: auto;
  }
  .page-top {
    padding-block: 24px;
  }
  .page-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 36px;
    line-height: 1.15;
  }
  .page-heading .text-link {
    font-size: 13px;
    margin-left: 12px;
  }
  .page-heading p {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 8px;
  }
  .year-form {
    width: 100%;
  }
  .crumbs {
    margin-bottom: 20px;
  }
  .status-bar {
    padding: 16px;
    display: block;
    margin-top: 20px;
  }
  .status-bar .small {
    display: block;
    margin-top: 8px;
    padding-left: 20px;
  }
  .summary-strip {
    grid-template-columns: 1fr 1fr;
    padding-block: 20px;
    margin-top: 24px;
    gap: 20px 0;
  }
  .summary-item {
    padding-inline: 16px;
  }
  .summary-item:nth-child(2) {
    border: 0;
  }
  .summary-item:last-child {
    grid-column: span 2;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
  }
  .summary-item strong {
    font-size: 28px;
  }
  .result-layout {
    gap: 32px;
    padding-bottom: 48px;
  }
  .tabs {
    gap: 24px;
    margin-bottom: 24px;
    overflow-x: auto;
  }
  .tabs a {
    font-size: 13px;
    padding: 12px 0;
    white-space: nowrap;
  }
  .section-heading {
    align-items: start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .month-grid {
    gap: 2px;
  }
  .month-grid li {
    font-size: 11px;
    letter-spacing: -0.02em;
  }
  .month-segment {
    height: 16px;
  }
  .cut summary {
    grid-template-columns: 24px 1fr auto 12px;
    gap: 8px;
  }
  .cut-index {
    font-size: 11px;
  }
  .cut-name {
    font-size: 14px;
  }
  .cut-duration {
    font-size: 13px;
  }
  .cut-detail {
    padding-left: 32px;
    padding-right: 8px;
  }
  .cut-detail dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gap-row {
    padding: 12px;
    gap: 12px;
  }
  .rail {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comp-card {
    grid-row: auto;
  }
  .comp-card h2 {
    font-size: 30px;
  }
  .comp-card > p {
    font-size: 14px;
  }
  .area-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }
  .chart-panel {
    padding: 24px 16px;
  }
  .chart-head {
    align-items: start;
  }
  .bar-chart {
    height: 180px;
    gap: 4px;
    padding-inline: 0;
  }
  .chart-months {
    gap: 4px;
    padding-inline: 0;
  }
  .bar-num {
    font-size: 11px;
  }
  .area-stats {
    grid-template-columns: 1fr 1fr;
  }
  .area-stat strong {
    font-size: 36px;
  }
  .data-table {
    font-size: 13px;
  }
  .data-table th {
    font-size: 12px;
    padding-inline: 8px;
    vertical-align: bottom;
  }
  .data-table td {
    padding: 16px 8px;
  }
  .coverage-table th:nth-child(2),
  .coverage-table td:nth-child(2) {
    display: none;
  }
  .status-table th:nth-child(2),
  .status-table td:nth-child(2) {
    display: table-cell;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .privacy-box {
    padding: 24px;
    margin-top: 32px;
  }
  .unsupported {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }
  .unsupported h1 {
    font-size: 36px;
  }
  .contact-panel {
    padding: 24px;
  }
  .article {
    max-width: calc(100% - 32px);
    padding-block: 28px 48px;
  }
  .article h1 {
    font-size: 40px;
  }
  .article .lede {
    font-size: 19px;
  }
  .article h2 {
    font-size: 26px;
    margin-top: 36px;
  }
  .pull {
    padding: 20px 24px;
  }
  .pull p {
    font-size: 18px;
  }
  .empty-state {
    padding: 28px 24px;
  }
  .claim-preview textarea {
    min-height: 420px;
  }
  .narrow h1 {
    font-size: 36px;
  }
}
.m-short {
  display: none;
}
@media (max-width: 600px) {
  .chart-months .m-long {
    display: none;
  }
  .chart-months .m-short {
    display: inline;
  }
}
.cut-detail .inset-note {
  margin-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Power cut map (D-111) */
.map-page {
  --cut-unplanned: #c23a2c;
  --cut-planned: #d0921e;
  padding-bottom: 80px;
}
.map-crumbs {
  margin-top: 36px;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  grid-template-areas: "intro map" "detail map";
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  align-items: start;
}
.map-intro {
  grid-area: intro;
}
.map-intro h1 {
  font-size: 48px;
  letter-spacing: -0.03em;
}
.map-intro p {
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.7;
}
.map-figures {
  display: flex;
  gap: 48px;
  margin: 32px 0 0;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.map-figures dt {
  font-size: 13px;
  color: var(--secondary);
}
.map-figures dd {
  margin: 4px 0 0;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cut-map {
  grid-area: map;
  justify-self: end;
  position: sticky;
  top: 24px;
  /* Short enough that the whole country fits on screen below the header. */
  width: min(100%, calc((100vh - 232px) * 0.62 + 48px));
  margin: 0;
}
.cut-map-canvas {
  position: relative;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.cut-map-canvas img {
  display: block;
  width: 100%;
  height: auto;
}
.cut-map-canvas svg {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  overflow: visible;
}
.lit path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5.6;
}
.lit .lit-unplanned {
  stroke: var(--cut-unplanned);
}
.lit .lit-planned {
  stroke: var(--cut-planned);
}
.lit .halo {
  stroke-width: 4.6;
  stroke-opacity: 0.55;
}
.cut-hit {
  fill: transparent;
  cursor: pointer;
}
.cut-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.is-active .cut-ring {
  opacity: 1;
}
.cut-tip {
  position: absolute;
  z-index: 2;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  box-shadow: 0 8px 24px rgba(32, 40, 36, 0.16);
}
.cut-tip-title {
  display: block;
  font-weight: 500;
}
.cut-tip-detail {
  color: #c9cfc8;
  font-size: 12px;
}
.cut-legend {
  margin-top: 16px;
  font-size: 12px;
  color: var(--secondary);
}
.cut-legend i {
  border-radius: 50%;
}
.cut-legend i.key-unplanned {
  background: var(--cut-unplanned);
}
.cut-legend i.key-planned {
  background: var(--cut-planned);
}
.cut-legend i.key-uncovered {
  background: rgba(32, 40, 36, 0.14);
}
.cut-updated {
  margin-left: auto;
  color: var(--muted);
}
.map-detail {
  grid-area: detail;
}
.map-subhead {
  font-size: 20px;
  margin: 48px 0 16px;
}
.operator-bars,
.cut-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.operator-bars li {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 16px;
  padding-block: 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.op-bar {
  display: block;
  width: 100%;
  height: 4px;
  fill: var(--ink);
}
.op-bar-track {
  fill: var(--soft);
}
.operator-bars .mono {
  text-align: right;
  font-size: 13px;
}
.map-notes {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}
.map-note {
  font-size: 13px;
  line-height: 1.6;
}
.map-note a {
  text-decoration: underline;
}
.map-note.warn {
  color: var(--amber);
}
.cut-list li {
  border-top: 1px solid var(--line);
}
.cut-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  grid-template-areas: "key where when" "key what when";
  column-gap: 16px;
  row-gap: 4px;
  margin-inline: -12px;
  padding: 16px 12px;
  border-radius: 8px;
  transition: background-color 0.15s var(--ease);
}
.cut-row:hover,
.cut-row:focus-visible,
.cut-row.is-active {
  background: var(--paper-deep);
}
.cut-key {
  grid-area: key;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
}
.cut-key.unplanned {
  background: var(--cut-unplanned);
}
.cut-key.planned {
  background: var(--cut-planned);
}
.cut-where {
  grid-area: where;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  min-width: 0;
}
.cut-where strong {
  font-weight: 500;
}
.cut-where .mono,
.cut-when {
  color: var(--muted);
}
.cut-what {
  grid-area: what;
  font-size: 13px;
  color: var(--secondary);
}
.cut-when {
  grid-area: when;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
@media (max-width: 1100px) {
  .map-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    column-gap: 40px;
  }
}
@media (max-width: 820px) {
  .map-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "map" "detail";
  }
  .map-intro h1 {
    font-size: 36px;
  }
  .cut-map {
    position: static;
    justify-self: stretch;
    width: auto;
    max-width: 560px;
    margin-top: 32px;
  }
  .cut-map-canvas {
    padding: 16px;
  }
  .cut-map-canvas svg {
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
  }
}
@media (max-width: 600px) {
  .map-figures {
    gap: 24px;
  }
  .map-figures dd {
    font-size: 28px;
  }
  .operator-bars li {
    grid-template-columns: minmax(0, 1fr) 64px 32px;
    gap: 12px;
  }
  .cut-row {
    grid-template-areas: "key where" "key what" "key when";
    grid-template-columns: 8px minmax(0, 1fr);
  }
  .cut-when {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }
}
