:root {
  /* Harbour theme: palette #015d82 #0078a8 #009fb2 #d7f4ff #f0802b */
  --ink: #0b2a3a;
  --ink-2: #1f4a5e;
  --muted: #4f6672;
  --paper: #f4f8fa;
  --surface: #ffffff;
  --surface-hover: #f7fbfd;
  --border: #cfdde4;
  --divider: #e4edf1;
  --input-border: #6f8794;
  --chip-border: #b9ccd5;
  --selected: #e6f6fc;
  --on-dark-muted: #d7f4ff;

  --primary: #015d82;
  --primary-hover: #014a68;
  --primary-soft: #d7f4ff;
  --brand-deep: #015d82;
  --teal: #009fb2;
  --accent: #f0802b;
  --focus: #0078a8;

  --green: #1f7a4d;
  --green-bg: #e3f1e9;
  --green-soft: #f3faf6;
  --amber: #8a5a12;
  --amber-bg: #f7ecd8;
  --amber-dot: #b7791f;
  --amber-border: #e6cfa3;
  --amber-ink: #6b4510;
  --red: #b42318;
  --red-bg: #f8e1de;
  --red-border: #e8b4ae;
  --neutral: #1f4a5e;
  --neutral-bg: #e6eef2;

  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 6px;
  --radius-card: 10px;
  --shadow-pop: 0 24px 48px -24px rgba(1, 93, 130, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--primary);
}

input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

[x-cloak] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Layout */
.wrap {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.page {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 80px;
}
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.stack {
  display: flex;
  flex-direction: column;
}
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }
.gap-32 { gap: 32px; }
.narrow {
  max-width: 720px;
}
.auth-col {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

/* Type */
.eyebrow {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-title {
  font: 600 30px/1.2 var(--sans);
  letter-spacing: -0.01em;
  margin: 0;
}
.h1-landing {
  font-weight: 600;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
.h2 {
  font-weight: 600;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
.h-auth {
  font-weight: 600;
  font-size: clamp(28px, 6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
.group-title {
  font: 600 18px var(--sans);
  margin: 0;
}
.lead {
  font: 400 19px/1.55 var(--sans);
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 520px;
  margin: 0;
}
.body {
  font: 400 15px/1.5 var(--sans);
  color: var(--ink-2);
  margin: 0;
}
.body-lg {
  font: 400 17px/1.55 var(--sans);
  color: var(--ink-2);
  margin: 0;
}
.small {
  font: 400 13px/1.5 var(--sans);
  color: var(--muted);
}
.mono {
  font-family: var(--mono);
}
.meta {
  font: 400 13px var(--mono);
  color: var(--muted);
}
.footnote {
  font: 400 13px/1.5 var(--sans);
  color: var(--muted);
  max-width: 640px;
}
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand:hover {
  color: inherit;
}
.brand-name {
  font: 600 19px var(--sans);
  letter-spacing: -0.01em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 500 15px var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--paper);
}
.btn-primary:hover {
  color: var(--paper);
  background: var(--primary-hover);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}
.btn-outline:hover {
  color: var(--ink);
  background: var(--surface-hover);
}
.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover {
  color: var(--ink);
  background: #fff;
}
.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 14px;
}
.btn-lg {
  min-height: 50px;
  padding: 14px 22px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn[disabled],
.btn.is-disabled {
  background: var(--on-dark-muted);
  color: #fff;
  border-color: transparent;
  cursor: not-allowed;
}
.btn-danger-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--red);
  font: 500 14px var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: 500 13px var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  color: var(--ink);
}
.back-link {
  font: 500 13px var(--mono);
  color: var(--muted);
  text-decoration: none;
}

/* Forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.label {
  font: 500 14px var(--sans);
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 16px;
  color: var(--ink);
}
.input:focus,
.btn:focus-visible,
.chip:focus-visible,
.choice:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.input-postcode {
  font-family: var(--mono);
  text-transform: uppercase;
}
.input-postcode::placeholder {
  text-transform: none;
}
.input-error {
  border-color: var(--red);
}
.error {
  font: 500 14px var(--sans);
  color: var(--red);
}
.help {
  font: 400 13px var(--sans);
  color: var(--muted);
}
.row-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.row-form .input {
  flex: 1 1 200px;
  min-width: 0;
}

/* Role cards */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px;
}
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px;
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-card);
  background: var(--surface);
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice:has(input:checked) {
  border: 2px solid var(--ink);
  padding: 16px;
}
.choice-title {
  font: 600 16px var(--sans);
}
.choice-sub {
  font: 400 13px/1.45 var(--sans);
  color: var(--muted);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--chip-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
  font: 500 14px var(--sans);
  cursor: pointer;
}
.chip.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
}

/* Pills and dots */
.pill {
  display: inline-block;
  font: 500 12px var(--sans);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.pill-green { color: var(--green); background: var(--green-bg); }
.pill-amber { color: var(--amber); background: var(--amber-bg); }
.pill-red { color: var(--red); background: var(--red-bg); }
.pill-neutral { color: var(--neutral); background: var(--neutral-bg); }
.pill-green::before,
.pill-amber::before,
.pill-red::before,
.pill-neutral::before {
  margin-right: 5px;
  font-weight: 600;
}
.pill-green::before { content: "✓" / ""; }
.pill-amber::before { content: "◷" / ""; }
.pill-red::before { content: "!" / ""; }
.pill-neutral::before { content: "–" / ""; }
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.dot-red { background: var(--red); }
.dot-amber { background: var(--amber-dot); }
.dot-green { background: var(--green); }
.dot-ring { border: 2px solid var(--ink); }
.counts {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  font: 400 14px var(--sans);
  color: var(--ink-2);
}
.counts > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Cards and lists */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.card-pad {
  padding: 20px;
}
.card-dashed {
  border: 1px dashed var(--chip-border);
}
.card-red { border-color: var(--red-border); }
.card-amber { border-color: var(--amber-border); }
.list {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.list > * + * {
  border-top: 1px solid var(--divider);
}
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.list-row-title {
  font: 500 16px var(--sans);
}
.list-row-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 320px;
}
.list-row-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 100%;
  white-space: nowrap;
}
.row-summary {
  font: 400 14px/1.5 var(--sans);
  color: var(--ink-2);
  margin: 4px 0 0;
}
.row-link {
  font: 500 13px var(--sans);
}
.group-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Portfolio */
.prop-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px 24px;
  align-items: center;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
}
.prop-row:hover {
  background: var(--surface-hover);
  color: inherit;
}
.prop-addr {
  font: 600 17px var(--sans);
}
.prop-next-label {
  font: 400 12px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prop-status {
  display: flex;
  justify-content: flex-end;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 48px 40px;
  background: var(--surface);
  border: 1px dashed var(--chip-border);
  border-radius: var(--radius-card);
}

/* Property */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
}
.strip-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.cell-label {
  font: 400 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.fact {
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact-value {
  font: 600 20px var(--sans);
}
.fact-source {
  font: 400 12px var(--mono);
  color: var(--muted);
}
.fact-source.is-verified {
  color: var(--green);
}
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.banner-red { border-color: var(--red-border); }
.banner-amber { border-color: var(--amber-border); }
.alert-amber {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--amber-bg);
  border-radius: var(--radius-card);
  color: var(--amber-ink);
}
.alert-amber .btn-outline {
  border-color: var(--amber-ink);
  color: var(--amber-ink);
  background: transparent;
}
.alert-green {
  font: 400 15px var(--sans);
  color: var(--green);
  padding: 16px 20px;
  background: var(--green-bg);
  border-radius: var(--radius-card);
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.msg {
  padding: 12px 16px;
  border-radius: var(--radius-card);
  background: var(--neutral-bg);
  font: 400 14px var(--sans);
}
.msg-success { background: var(--green-bg); color: var(--green); }
.msg-error { background: var(--red-bg); color: var(--red); }
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.dashed-box {
  font: 400 14px/1.5 var(--sans);
  color: var(--ink-2);
  padding: 14px 16px;
  border: 1px dashed var(--chip-border);
  border-radius: var(--radius-card);
}
.plain-box {
  font: 400 14px/1.6 var(--sans);
  color: var(--muted);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.plain-box p {
  margin: 0;
}
.plain-box p + p {
  margin-top: 6px;
}
details.why summary {
  cursor: pointer;
  font: 500 13px var(--sans);
  color: var(--muted);
  list-style: none;
}
details.why summary::-webkit-details-marker {
  display: none;
}
details.why[open] summary {
  margin-bottom: 6px;
}

/* Add property */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 14px var(--mono);
  color: var(--muted);
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: flex;
}
.htmx-request .hide-while-loading {
  display: none;
}
.addr-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-height: 52px;
  width: 100%;
  border: 0;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  font: 400 15px var(--sans);
}
.addr-option:hover {
  background: var(--surface-hover);
}
.addr-option.is-on {
  background: var(--selected);
  box-shadow: inset 3px 0 0 var(--ink);
  font-weight: 500;
}
.addr-option .meta {
  white-space: nowrap;
}
.addr-list {
  max-height: 420px;
  overflow-y: auto;
}
.addr-list > .addr-option {
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .site-nav a:not(.btn),
  .back-link,
  .row-link,
  .link-btn,
  details.why summary {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-nav {
    gap: 4px 16px;
    flex-wrap: wrap;
  }
  .app-nav a.nav-add {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .addr-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
  }
  .addr-option .meta {
    white-space: normal;
  }
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 4px 12px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
  font: 400 14px var(--sans);
}
.kv-value {
  font-family: var(--mono);
  text-align: right;
}
@media (max-width: 560px) {
  .kv {
    flex-direction: column;
    gap: 2px;
  }
  .kv-value {
    text-align: left;
  }
}

/* App header */
.app-header {
  background: var(--brand-deep);
  color: var(--paper);
}
.app-header-inner {
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.app-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  font: 500 14px var(--sans);
}
.app-nav a,
.app-nav button {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.app-nav a:hover,
.app-nav button:hover {
  background: rgba(246, 244, 238, 0.08);
  color: var(--paper);
}
.app-nav a.is-active {
  background: rgba(246, 244, 238, 0.14);
}
.app-nav a.nav-add {
  background: var(--paper);
  color: var(--ink);
  padding: 8px 14px;
  margin-left: 8px;
}
.app-nav a.nav-add:hover {
  background: #fff;
  color: var(--ink);
}

/* Landing */
.site-header {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font: 500 14px var(--sans);
}
.site-nav a {
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav-check {
  font-weight: 600;
  white-space: nowrap;
}
.site-menu {
  display: none;
  position: relative;
}
.site-menu summary {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.site-menu-icon,
.site-menu-icon::before,
.site-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}
.site-menu-icon {
  position: relative;
}
.site-menu-icon::before,
.site-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.site-menu-icon::before {
  top: -6px;
}
.site-menu-icon::after {
  top: 6px;
}
.site-menu[open] .site-menu-icon {
  background: transparent;
}
.site-menu[open] .site-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.site-menu[open] .site-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
.site-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  box-shadow: var(--shadow-pop);
}
.site-menu-panel a {
  padding: 12px 14px;
  border-radius: var(--radius);
  font: 500 15px var(--sans);
}
.site-menu-panel a:hover {
  background: var(--surface-hover);
}
@media (max-width: 860px) {
  .site-header {
    flex-wrap: nowrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .site-nav-links {
    display: none;
  }
  .site-menu {
    display: block;
  }
  .site-nav {
    gap: 12px;
    flex-wrap: nowrap;
  }
}
@media (max-width: 440px) {
  .site-nav-check-more {
    display: none;
  }
  .brand-name {
    font-size: 17px;
  }
}
.hero {
  padding-top: clamp(40px, 8vw, 72px);
  padding-bottom: clamp(56px, 10vw, 96px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
  .hero .h1-landing {
    font-size: clamp(34px, 4.4vw, 52px);
  }
  .hero .lead {
    font-size: clamp(17px, 1.6vw, 19px);
  }
}
.hero-hint {
  margin: -16px 0 0;
  font: 400 13px var(--sans);
  color: var(--muted);
}
.hero-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-form .input {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 280px;
  min-height: 50px;
  padding: 14px 16px;
}
@media (max-width: 560px) {
  .hero-form {
    flex-direction: column;
  }
  .hero-form .input,
  .hero-form .btn {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }
}
.hero-card {
  box-shadow: var(--shadow-pop);
}
.hero-card .hc-head {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-card .hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}
.hc-title {
  font: 500 15px var(--sans);
}
.hc-example {
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hc-tabs {
  display: flex;
  gap: 4px;
  padding: 0 14px;
  border-bottom: 1px solid var(--divider);
}
.hc-tabs button {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 8px;
  font: 500 14px var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.hc-tabs button:hover {
  color: var(--ink);
}
.hc-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.hc-panel {
  min-height: 268px;
}
.hc-panel .hc-row + .hc-row {
  border-top: 1px solid var(--divider);
}
.hc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--divider);
}
.hc-dots {
  display: flex;
  gap: 6px;
}
.hc-dots span {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--border);
  transition: width 0.2s, background 0.2s;
}
.hc-dots span.on {
  width: 18px;
  background: var(--primary);
}
.check-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.check-tags {
  gap: 6px 16px;
}
.check-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px var(--sans);
  color: var(--ink-2);
}
.check-tags li::before {
  content: "✓" / "";
  color: var(--teal);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .hc-dots span {
    transition: none;
  }
}
.hc-meta {
  font: 400 12px var(--mono);
  color: var(--muted);
}
.band-white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section {
  padding-top: clamp(56px, 10vw, 88px);
  padding-bottom: clamp(56px, 10vw, 88px);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.step-n {
  font: 500 13px var(--mono);
  color: var(--muted);
}
.step-title {
  font: 600 20px var(--sans);
  margin: 0;
}
.step-body {
  font: 400 16px/1.55 var(--sans);
  color: var(--ink-2);
  text-wrap: pretty;
  margin: 0;
}
.faq {
  max-width: 760px;
  border-top: 1px solid var(--divider);
}
.faq-item {
  border-bottom: 1px solid var(--divider);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font: 500 20px var(--mono);
  color: var(--muted);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-q {
  font: 600 17px/1.4 var(--sans);
  margin: 0;
}
.faq-a {
  font: 400 16px/1.6 var(--sans);
  color: var(--ink-2);
  text-wrap: pretty;
  margin: 0 0 20px;
  max-width: 680px;
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: start;
}
.legend {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.legend-row {
  background: var(--surface);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.legend-key {
  flex: 0 0 150px;
  font: 500 13px var(--mono);
}
.legend-val {
  flex: 1 1 220px;
  min-width: 0;
  font: 400 15px/1.5 var(--sans);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.plan-dark {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--paper);
  border-color: var(--brand-deep);
}
.plan-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.plan-flag {
  font: 500 12px var(--sans);
  color: var(--brand-deep);
  background: var(--primary-soft);
  border-radius: 99px;
  padding: 2px 10px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-amount {
  font: 600 36px var(--sans);
  letter-spacing: -0.02em;
}
.plan-unit {
  font: 400 14px var(--sans);
  color: var(--muted);
}
.plan-desc {
  font: 400 15px/1.5 var(--sans);
  color: var(--ink-2);
  margin: 0;
}
.plan-dark .eyebrow,
.plan-dark .plan-unit {
  color: var(--on-dark-muted);
}
.plan-dark .plan-desc {
  color: var(--on-dark-muted);
}
.plan-features {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-dark .plan-features {
  border-top-color: rgba(215, 244, 255, 0.25);
}
.plan-features li {
  display: flex;
  gap: 10px;
  font: 400 15px/1.45 var(--sans);
}
.plan-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
}
.plan-dark .plan-features li::before {
  color: var(--on-dark-muted);
}
.plan .btn {
  margin-top: auto;
}
.cta-band {
  background: var(--brand-deep);
  color: var(--paper);
}
.cta-inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.cta-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cta-lead {
  font: 400 17px/1.55 var(--sans);
  color: var(--on-dark-muted);
  margin: 0;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn-on-dark {
  border-color: rgba(246, 244, 238, 0.4);
  color: var(--paper);
  background: transparent;
}
.btn-on-dark:hover {
  border-color: var(--paper);
  color: var(--paper);
  background: rgba(246, 244, 238, 0.08);
}
.agents {
  gap: 72px;
}
.plan-link {
  margin-top: -8px;
  text-align: center;
  font: 500 14px var(--sans);
  color: var(--ink-2);
}
.agents-pricing {
  padding: 28px;
  gap: 20px;
}
.cta-aside {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(246, 244, 238, 0.18);
  border-radius: var(--radius-card);
}
.cta-aside-title {
  padding: 16px 20px 4px;
  font: 600 12px var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.cta-aside-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--paper);
}
.cta-aside-link + .cta-aside-link {
  border-top: 1px solid rgba(246, 244, 238, 0.12);
}
.cta-aside-link:hover {
  color: var(--paper);
  background: rgba(246, 244, 238, 0.06);
}
.cta-aside-link:last-child:hover {
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.cta-aside-name {
  font: 600 16px var(--sans);
}
.cta-aside-name::after {
  content: " →";
}
.cta-aside-desc {
  font: 400 14px/1.5 var(--sans);
  color: var(--on-dark-muted);
}
.cta-note {
  font: 400 13px/1.55 var(--sans);
  color: var(--on-dark-muted);
  max-width: 640px;
  margin: 24px 0 0;
}

/* Side panel */
#drawer:empty {
  display: none;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 42, 58, 0.4);
  z-index: 10;
}
.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 28px;
  background: var(--surface);
  overflow-y: auto;
  z-index: 11;
}
.drawer-panel fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.drawer-panel legend {
  padding: 0;
  margin-bottom: 10px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.drawer-title {
  margin: 0;
  font: 600 20px var(--sans);
}
.drawer-section {
  font: 600 15px var(--sans);
}
.drawer-close {
  background: none;
  border: 0;
  padding: 0 6px;
  font: 400 24px/1 var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.drawer-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.drawer-foot .btn-block {
  flex: 1;
}
.chip-num {
  min-width: 48px;
  justify-content: center;
  font-family: var(--mono);
}
.radio-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font: 400 15px var(--sans);
  cursor: pointer;
}
.radio-row + .radio-row {
  border-top: 1px solid var(--divider);
}
.radio-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}
.rem-row {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  font: 500 14px var(--sans);
}
.rem-date {
  flex: 0 0 96px;
  font: 500 13px/20px var(--mono);
}
.alert-red-text {
  margin: 0;
  color: var(--red);
  font: 500 14px var(--sans);
}

/* Outbox */
.outbox-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 16px;
  padding: 16px 20px;
  color: var(--ink);
  text-decoration: none;
}
.outbox-row:hover {
  background: var(--surface-hover);
  color: var(--ink);
}
.outbox-date {
  order: 1;
  width: 110px;
  font: 500 13px/24px var(--mono);
  white-space: nowrap;
}
.outbox-body {
  order: 2;
  flex: 1 1 260px;
  min-width: 0;
}
.outbox-title {
  font: 500 16px var(--sans);
}
.outbox-cad {
  order: 3;
  font: 400 12px/24px var(--mono);
  color: var(--muted);
}
.outbox-cad.text-red {
  color: var(--red);
}

/* Tenancy */
.tenancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px;
  align-items: start;
}
.tenancy-preview {
  position: sticky;
  top: 24px;
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.section-title {
  margin: 0;
  font: 600 17px var(--sans);
}
.input-mono {
  font-family: var(--mono);
}
.input-prefix {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-left: 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--surface);
}
.input-prefix:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.input-prefix span {
  font: 400 15px var(--mono);
  color: var(--muted);
}
.input-prefix input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px 12px 6px;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 16px var(--mono);
  color: var(--ink);
}
.input-prefix.input-error {
  border-color: var(--red);
}
.cap-line {
  font: 400 13px var(--mono);
  color: var(--muted);
}
.cap-line.text-red {
  color: var(--red);
  font-weight: 500;
}
.chip:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font: 400 20px var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.stepper output {
  width: 36px;
  text-align: center;
  font: 500 16px var(--mono);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.hmo-note {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-2);
  font: 400 14px/1.5 var(--sans);
}
.hmo-note.is-red {
  background: var(--red-bg);
  color: var(--red);
  font-weight: 500;
}
.hmo-note.is-amber {
  background: var(--amber-bg);
  color: var(--amber-ink);
  font-weight: 500;
}
.clock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  font: 400 14px/1.4 var(--sans);
}
.clock-row > span:first-child {
  flex: 1 1 180px;
  min-width: 0;
}
.clock-due {
  font: 500 13px var(--mono);
  white-space: nowrap;
}

/* Cookies */
.cookie-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: min(420px, calc(100% - 32px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  z-index: 9;
}
.cookie-notice p {
  flex: 1 1 100%;
  margin: 0;
  font: 400 14px/1.5 var(--sans);
  color: var(--ink-2);
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.prose {
  max-width: 720px;
}
.prose code,
.cookie-row code {
  font: 500 13px var(--mono);
  color: var(--ink);
}
.cookie-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 6px 16px;
  align-items: baseline;
  padding: 14px 20px;
  font: 400 14px/1.5 var(--sans);
}
@media (max-width: 560px) {
  .cookie-row {
    grid-template-columns: 1fr;
  }
}
.cta-link {
  color: var(--on-dark-muted);
}
.cta-link:hover {
  color: var(--paper);
}

/* Public content pages: footer, privacy, terms, guides */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.site-footer-inner {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font: 500 14px var(--sans);
}
.site-footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}
@media (max-width: 560px) {
  .site-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    width: 100%;
  }
  .site-footer-links a {
    padding: 10px 0;
    overflow-wrap: anywhere;
  }
}
.site-footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}
.site-footer-note {
  font: 400 13px/1.55 var(--sans);
  color: var(--muted);
  margin: 0;
}
.prose ul {
  margin: 0;
  padding-left: 20px;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink-2);
}
.prose li + li {
  margin-top: 6px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.guide-card:hover {
  border-color: var(--ink);
}
.guide-card-title {
  font: 600 17px/1.35 var(--sans);
  color: var(--ink);
}
.guide-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font: 500 14px var(--sans);
}
.guide-pager a {
  text-decoration: none;
}
.guide-pager a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.guide-pager-status {
  color: var(--muted);
}
.guide-pager-disabled {
  color: var(--muted);
  opacity: 0.5;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.epc-bar {
  display: flex;
  height: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.epc-seg,
.epc-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 13px var(--mono);
  color: #fff;
  min-width: 24px;
}
.epc-chip {
  width: 28px;
  height: 24px;
  border-radius: var(--radius);
}
.epc-a { background: #008054; }
.epc-b { background: #19b459; }
.epc-c { background: #8dce46; color: var(--ink); }
.epc-d { background: #ffd500; color: var(--ink); }
.epc-e { background: #fcaa65; color: var(--ink); }
.epc-f { background: #ef8023; }
.epc-g { background: #e9153b; }
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 560px) {
  .preview-stats {
    gap: 10px;
  }
  .preview-stat {
    font-size: 24px;
  }
}
.preview-table td:nth-child(2),
.preview-table td:nth-child(3) {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .preview-table thead {
    display: none;
  }
  .preview-table tr {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--divider);
  }
  .data-table.preview-table td {
    padding: 0;
    border: 0;
  }
  .preview-table td:first-child {
    grid-column: 1 / -1;
    font-weight: 500;
  }
  .preview-table .preview-locked {
    padding: 12px;
    background: var(--surface-hover);
  }
  .preview-table .preview-locked td {
    background: none;
  }
}
.preview-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.preview-stat {
  font: 600 28px var(--sans);
  letter-spacing: -0.01em;
}
.preview-locked td {
  color: var(--muted);
  background: var(--surface-hover);
}
.preview-unlock {
  padding: 24px;
  border-left: 3px solid var(--green);
}
.signup-context {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--green);
  background: var(--surface);
  font: 400 14px/1.5 var(--sans);
  color: var(--ink-2);
}
.preview-alert {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.preview-alert-title {
  margin: 0;
  font: 600 15px var(--sans);
}
.preview-article4 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 3px solid var(--amber-dot);
}
.preview-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 10px 24px;
  font: 400 15px/1.5 var(--sans);
  color: var(--ink-2);
}
.preview-perks li {
  position: relative;
  padding-left: 26px;
}
.preview-perks li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 600;
  color: var(--green);
}
.guide-faq-q {
  font: 600 16px/1.4 var(--sans);
  margin: 0;
}
.changes {
  padding-bottom: 48px;
}
.changes-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.changes-head .eyebrow {
  margin: 0;
}
.changes-all {
  font: 500 14px var(--sans);
  white-space: nowrap;
}
.changes-short {
  display: none;
}
@media (max-width: 560px) {
  .changes-long {
    display: none;
  }
  .changes-short {
    display: inline;
  }
}
.changes-all::after {
  content: " →";
}
.changes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.change-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  border-left: 3px solid var(--green);
}
.change-card:hover {
  border-color: var(--ink);
  border-left-color: var(--green);
}
.change-when {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.change-title {
  font: 600 17px/1.35 var(--sans);
  color: var(--ink);
}
.change-blurb {
  font: 400 14px/1.5 var(--sans);
  color: var(--ink-2);
}
.crumbs {
  font: 400 13px var(--sans);
  color: var(--ink-2);
}
.guide-cta {
  padding: 20px;
  gap: 12px;
}
.guide-postcode-box {
  padding: 16px 20px;
  border-left: 3px solid var(--green);
}
.guide-aside {
  display: none;
}
.guide-section {
  scroll-margin-top: 24px;
}
@media (min-width: 1024px) {
  .guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) 280px;
    justify-content: space-between;
    gap: 48px;
  }
  .guide-aside {
    display: block;
  }
  .guide-aside-inner {
    position: sticky;
    top: 24px;
  }
}
.guide-toc ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: 400 14px/1.4 var(--sans);
}
.guide-toc a {
  display: block;
  padding: 4px 0;
  color: var(--ink-2);
  text-decoration: none;
}
.guide-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.guide-aside-check {
  padding: 16px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 15px/1.5 var(--sans);
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--divider);
}
.data-table th {
  font-weight: 600;
  color: var(--ink);
}
.prs-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 4px 20px;
  font: 400 16px/1.55 var(--sans);
  color: var(--ink-2);
}
.prs-steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 44px;
}
.prs-steps li + li {
  border-top: 1px solid var(--divider);
}
.prs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 13px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--chip-border);
  border-radius: 50%;
  font: 500 13px/26px var(--mono);
  text-align: center;
  color: var(--ink);
}
@media print {
  .site-header,
  .site-footer,
  .no-print,
  .cookie-notice {
    display: none !important;
  }
  .page {
    padding: 0;
  }
}

/* Evidence */
.ev-panel {
  width: min(460px, 100%);
  gap: 20px;
}
.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 14px;
}
.dropzone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1.5px dashed var(--input-border);
  border-radius: var(--radius-card);
  background: var(--surface-hover);
  cursor: pointer;
}
.dropzone:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.dropzone.has-file {
  border-style: solid;
  border-color: var(--ink);
  background: var(--surface);
}
.dropzone.input-error {
  border-color: var(--red);
}
.dropzone-title {
  font: 500 15px var(--sans);
  overflow-wrap: anywhere;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 15px var(--sans);
  cursor: pointer;
}
.check-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}
.note {
  padding: 12px 14px;
  border-radius: var(--radius);
  font: 500 14px/1.5 var(--sans);
}
.note-red { color: var(--red); background: var(--red-bg); }
.note-amber { color: var(--amber); background: var(--amber-bg); }
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  z-index: 11;
}
.preview-image {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-hover);
  text-align: center;
}
.preview-image img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  margin: 0 auto;
}
.preview-page {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-hover);
  color: var(--ink);
  text-decoration: none;
}
.preview-page:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.preview-name {
  font: 500 15px var(--sans);
  overflow-wrap: anywhere;
}
dl.kv {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
dl.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  font: 400 14px var(--sans);
}
dl.kv > div + div {
  border-top: 1px solid var(--divider);
}
dl.kv dt {
  color: var(--muted);
}
dl.kv dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.file-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 36px;
  height: 44px;
  padding-bottom: 6px;
  box-sizing: border-box;
  border: 1px solid var(--chip-border);
  border-radius: 3px;
  background: linear-gradient(225deg, var(--divider) 9px, var(--surface) 9px);
  font: 600 9px var(--mono);
  color: var(--ink-2);
}
.lib-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
.select-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--surface);
}
.select-box-label {
  font: 400 12px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.select-box select {
  max-width: 220px;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 14px var(--sans);
  color: var(--ink);
}
.chip-round {
  border-radius: 99px;
  text-decoration: none;
}
a.chip:hover {
  color: var(--ink);
}
a.chip.is-on:hover {
  color: var(--paper);
}
.lib-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.lib-row:hover {
  background: var(--surface-hover);
}
.lib-row:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}
.lib-body {
  flex: 1 1 240px;
  min-width: 0;
}
.lib-title {
  font: 500 16px var(--sans);
}
.lib-expiry {
  font: 500 13px var(--mono);
  white-space: nowrap;
}

/* Tenancy clocks and serving */
.clock-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
}
.clock-line-btn {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.clock-line-btn:hover {
  background: var(--surface-hover);
}
.clock-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.clock-done {
  font: 400 13px var(--mono);
  color: var(--green);
}
.clock-done.is-late {
  color: var(--amber);
}
.tenant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 44px;
  gap: 8px;
  align-items: center;
}
.tenant-row .input {
  min-width: 0;
}
.tenant-remove {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 400 20px var(--sans);
  cursor: pointer;
}
.tenant-remove:hover {
  color: var(--ink);
}
.chip-person {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.chip-sub {
  font: 400 12px var(--mono);
  opacity: 0.8;
}
.textarea {
  min-height: 46px;
  font: 400 15px/1.55 var(--sans);
  resize: vertical;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
}
.doc-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.doc-row.is-off {
  cursor: default;
  color: var(--muted);
}
.consent-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  cursor: pointer;
}
.consent-box input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.mail-preview {
  border: 1px solid var(--divider);
  border-radius: var(--radius);
}
.mail-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
  font: 400 13px var(--mono);
  color: var(--ink-2);
}
.mail-head > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
}
.mail-head dt {
  color: var(--muted);
}
.mail-head dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.mail-body {
  font: 400 14px/1.6 var(--sans);
  color: var(--ink-2);
  white-space: pre-wrap;
}
.attach-chip {
  padding: 6px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: 400 12px var(--mono);
  color: var(--ink-2);
}
.btn[disabled] {
  background: var(--border);
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}

/* Error pages */
.error-page {
  padding-top: clamp(40px, 8vw, 88px);
  padding-bottom: clamp(56px, 10vw, 112px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 56px;
  align-items: center;
}
.h1-error {
  font-weight: 600;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.error-copy .body {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}
.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.error-card {
  max-width: 440px;
  width: 100%;
  justify-self: center;
  box-shadow: var(--shadow-pop);
}
.error-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--divider);
  font: 600 15px var(--sans);
}
.error-card-head .mono {
  font-size: 13px;
  color: var(--muted);
}
.error-card-rows {
  margin: 0;
  padding: 4px 20px 8px;
}
.error-card-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  font: 400 14px var(--sans);
}
.error-card-rows > div:last-child {
  border-bottom: 0;
}
.error-card-rows dt {
  color: var(--muted);
}
.error-card-rows dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* Agent: landlord switcher and clients */
.switcher-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 5;
}
.switcher-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.switcher-agency {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.switcher-slash {
  color: var(--chip-border);
}
.switcher {
  position: relative;
}
.switcher-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--chip-border);
  border-radius: var(--radius);
  font: 500 14px var(--sans);
  cursor: pointer;
  list-style: none;
}
.switcher-toggle::-webkit-details-marker {
  display: none;
}
.switcher-caret {
  font: 400 11px var(--sans);
  color: var(--muted);
}
.switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: min(320px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 32px -16px rgba(11, 42, 58, 0.3);
}
.switcher-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.switcher-option:hover,
.switcher-option.is-on {
  background: var(--paper);
}
.switcher-name {
  font: 500 15px var(--sans);
  color: var(--ink);
}
.switcher-tick {
  font: 600 14px var(--sans);
  color: var(--green);
}
.switcher-manage {
  margin-top: 4px;
  padding: 10px 12px;
  border-top: 1px solid var(--divider);
  font: 500 14px var(--sans);
  text-decoration: none;
}
.landlord-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.landlord-cards form {
  display: contents;
}
.landlord-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.landlord-card:hover {
  border-color: var(--ink);
}
.landlord-card-name {
  font: 600 16px var(--sans);
}
.landlord-card-counts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font: 400 13px var(--sans);
  color: var(--ink-2);
}
.landlord-card-counts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prop-landlord {
  font: 500 13px var(--sans);
  color: var(--ink-2);
}
.landlord-assign {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.landlord-assign-label {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.select-inline {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--chip-border);
  border-radius: var(--radius);
  background: var(--surface);
  font: 500 16px var(--sans);
  color: var(--ink);
}
@media (max-width: 560px) {
  .switcher {
    position: static;
  }
  .switcher-menu {
    left: 16px;
    right: 16px;
    width: auto;
  }
}
.landlord-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

/* Agent: shared access */
.shared-banner {
  background: var(--neutral-bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font: 400 14px/1.5 var(--sans);
  color: var(--ink);
}
.verify-banner {
  background: var(--amber-bg);
  border-bottom-color: var(--amber-border);
  color: var(--amber-ink);
}
.verify-banner-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.switcher-toggle-quiet {
  border-color: transparent;
  padding-left: 0;
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip:has(input:checked) {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
}
.invite-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.invite-form legend {
  padding: 0;
  margin-bottom: 10px;
}
.person-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 16px 20px;
}
.person-row + .person-row {
  border-top: 1px solid var(--divider);
}
.person-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 2 1 260px;
  min-width: 0;
}
.avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: var(--neutral-bg);
  font: 600 13px var(--sans);
  color: var(--ink);
}
.person-name {
  font: 500 15px var(--sans);
}
.person-email {
  overflow-wrap: anywhere;
}
.person-role {
  flex: 1 1 200px;
  min-width: 0;
}
.person-role-name {
  font: 500 14px var(--sans);
}
.person-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
/* App header on small screens: Add + Menu, links in a drop-down panel */
.app-header-actions {
  display: none;
}
@media (max-width: 760px) {
  .app-header {
    position: relative;
    z-index: 20;
  }
  .nav-ready.app-header-inner {
    flex-wrap: nowrap;
  }
  .nav-ready .app-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .nav-add-compact,
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius);
    font: 500 15px var(--sans);
    text-decoration: none;
    cursor: pointer;
  }
  .nav-add-compact {
    background: var(--paper);
    color: var(--ink);
  }
  .nav-toggle {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(246, 244, 238, 0.35);
  }
  .nav-toggle-bars {
    position: relative;
    width: 16px;
    height: 12px;
  }
  .nav-toggle-bars i {
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.15s, opacity 0.15s;
  }
  .nav-toggle-bars i:nth-child(1) { top: 0; }
  .nav-toggle-bars i:nth-child(2) { top: 5px; }
  .nav-toggle-bars i:nth-child(3) { top: 10px; }
  .nav-toggle-bars.is-open i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle-bars.is-open i:nth-child(2) { opacity: 0; }
  .nav-toggle-bars.is-open i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav-ready .app-nav {
    display: none;
  }
  .nav-ready .app-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 16px;
    background: var(--brand-deep);
    border-top: 1px solid rgba(246, 244, 238, 0.12);
    box-shadow: 0 16px 24px -12px rgba(11, 42, 58, 0.5);
    font-size: 16px;
  }
  .nav-ready .app-nav.is-open a,
  .nav-ready .app-nav.is-open button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    text-align: left;
  }
  .nav-ready .app-nav.is-open form {
    display: block !important;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(246, 244, 238, 0.12);
  }
  .nav-ready .app-nav a.nav-add {
    display: none;
  }
}

/* Ready */
.ready-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ready-badge {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--primary);
  color: var(--paper);
  border-radius: 3px;
  white-space: nowrap;
}
.ready-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ready-link {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 4px;
  font: 500 16px var(--sans);
}
.hero-card .ready-card-head {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--divider);
}
.ready-card-title {
  font: 600 17px var(--sans);
}
.ready-card-score {
  font: 500 13px var(--mono);
  white-space: nowrap;
}
.ready-card-rows .hc-row + .hc-row {
  border-top: 1px solid var(--divider);
}
.ready-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ready-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  background: var(--paper);
}
.ready-stat-label {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ready-stat {
  font: 600 17px/1.25 var(--sans);
}
.ready-postcode .input {
  max-width: 300px;
}
.ready-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ready-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ready-table th,
.ready-table td {
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid var(--divider);
}
.ready-table thead th {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-bottom-color: var(--border);
}
.ready-table thead th:first-child {
  width: 42%;
}
.ready-table tbody th {
  font: 500 15px var(--sans);
}
.ready-table tbody td {
  font: 400 14px var(--mono);
  color: var(--ink-2);
}
.ready-table tbody tr {
  cursor: pointer;
}
.ready-table tbody tr:hover {
  background: var(--surface-hover);
}
.ready-table tbody tr.is-on {
  background: var(--primary);
}
.ready-table tbody tr.is-on th,
.ready-table tbody tr.is-on td {
  color: var(--paper);
}
.ready-table-note {
  padding: 12px 20px;
  font: 400 12px var(--mono);
  color: var(--muted);
}
.ready-asks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}
.ready-ask {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.ready-ask ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 15px/1.45 var(--sans);
  color: var(--ink-2);
}
.ready-score {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.ready-score-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
}
.ready-score-n {
  font: 600 40px var(--sans);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ready-score-of {
  font-size: 20px;
  color: var(--muted);
}
.ready-score-label {
  font: 500 13px var(--mono);
  color: var(--ink-2);
}
.ready-bars {
  display: flex;
  gap: 4px;
}
.ready-bars span {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.2s;
}
.ready-bars span.on {
  background: var(--green);
}
.ready-score-cta {
  align-self: flex-start;
}
.ready-checks {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ready-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  cursor: pointer;
}
.ready-check + .ready-check {
  border-top: 1px solid var(--divider);
}
.ready-check:hover {
  background: var(--surface-hover);
}
.ready-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ready-check-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--input-border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--paper);
  font: 600 14px var(--sans);
}
.ready-check input:checked + .ready-check-box {
  background: var(--primary);
  border-color: var(--primary);
}
.ready-check input:checked + .ready-check-box::after {
  content: "✓";
}
.ready-check input:focus-visible + .ready-check-box {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.ready-check-title {
  font: 500 16px var(--sans);
}
.ready-check-hint {
  font: 400 14px/1.45 var(--sans);
  color: var(--muted);
}
.ready-paper {
  padding-top: clamp(48px, 8vw, 72px);
  padding-bottom: clamp(48px, 8vw, 72px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.ready-paper-title {
  font-weight: 600;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.ready-disclaimer {
  padding-top: 32px;
  padding-bottom: 48px;
}
@media (prefers-reduced-motion: reduce) {
  .ready-bars span {
    transition: none;
  }
}
@media (max-width: 560px) {
  .ready-actions .btn,
  .ready-score-cta,
  .ready-paper .btn {
    width: 100%;
  }
  .ready-paper .cta-actions {
    width: 100%;
  }
  .ready-postcode .input {
    max-width: none;
  }
  .ready-link {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .ready-stats > div {
    justify-content: space-between;
    padding: 12px 10px;
  }
  .ready-stat-label {
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .ready-stat {
    font-size: 14px;
    white-space: nowrap;
  }
  .ready-table {
    table-layout: auto;
  }
  .ready-table th,
  .ready-table td {
    padding: 12px 8px;
  }
  .ready-table th:first-child {
    padding-left: 12px;
  }
  .ready-table thead th:first-child {
    width: auto;
  }
  .ready-table tbody th {
    font-size: 14px;
  }
  .ready-table tbody td {
    font-size: 12px;
    white-space: nowrap;
  }
  .ready-table-note {
    padding: 12px 10px;
  }
  .ready-score {
    padding: 20px;
  }
}

/* Ready: printable checklist */
.ready-sheets {
  max-width: 794px;
  margin: 0 auto;
}
.ready-sheets-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ready-sheet {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 44px 52px 36px;
}
.ready-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.ready-sheet-head-title {
  align-items: baseline;
  padding-bottom: 12px;
}
.ready-sheet-title {
  font: 600 24px var(--sans);
  letter-spacing: -0.01em;
  margin: 0;
}
.ready-sheet-h2 {
  font: 600 19px var(--sans);
  margin: 0;
}
.ready-sheet-h3 {
  font: 600 17px var(--sans);
  margin: 0;
}
.ready-sheet-h3-note {
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-2);
}
.ready-tick {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  border: 1.5px solid var(--ink-2);
  border-radius: 2px;
  background: var(--surface);
  cursor: pointer;
}
.ready-tick:checked {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--surface);
}
.ready-tick:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.ready-boxes {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--chip-border);
  border-radius: 3px;
}
.ready-box-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  font: 400 15px/1.4 var(--sans);
  cursor: pointer;
}
.ready-box-row + .ready-box-row {
  border-top: 1px solid var(--divider);
}
.ready-box-row .ready-tick {
  margin: 0;
}
.ready-boxes-regions .ready-box-row {
  grid-template-columns: 22px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
}
.ready-boxes-regions .mono {
  font-size: 14px;
}
.ready-box-headrow {
  background: var(--paper);
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: default;
}
.ready-boxes-certs .ready-box-row {
  grid-template-columns: 22px minmax(0, 1fr) 150px;
  padding: 10px 12px;
}
.ready-ticks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 15px/1.4 var(--sans);
}
.ready-ticks-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 10px 24px;
}
.ready-ticks label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
}
.ready-fields {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.ready-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ready-field-label {
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ready-field-note {
  font: 400 11px var(--mono);
  color: var(--ink-2);
}
.ready-line {
  display: block;
  min-height: 22px;
  border-bottom: 1px solid var(--input-border);
}
.ready-ticks .ready-line {
  display: inline-block;
  vertical-align: bottom;
  width: 180px;
  max-width: 100%;
  min-height: 18px;
  margin: 0 6px;
}
.ready-ticks .ready-line-sm {
  width: 110px;
}
.ready-ticks .ready-line-xs {
  width: 64px;
}
.ready-sheet-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 20px;
  background: var(--primary);
  color: var(--paper);
  border-radius: var(--radius);
}
.ready-sheet-cta-title {
  font: 600 17px var(--sans);
}
.ready-sheet-cta-text {
  max-width: 420px;
  font: 400 14px/1.45 var(--sans);
  color: var(--on-dark-muted);
}
.ready-sheet-cta-url {
  font: 500 15px var(--mono);
  color: var(--paper);
  white-space: nowrap;
}
.ready-sheet-cta-url:hover {
  color: var(--on-dark-muted);
}
.ready-sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--chip-border);
  font: 400 12px/1.45 var(--sans);
  color: var(--ink-2);
}
@media (max-width: 560px) {
  .ready-sheet {
    padding: 24px 18px;
  }
  .ready-sheets-bar .btn {
    width: 100%;
  }
  .ready-boxes-regions .ready-box-row {
    grid-template-columns: 16px minmax(0, 1fr) 82px 82px;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
  }
  .ready-boxes-regions .mono {
    font-size: 12px;
    white-space: nowrap;
  }
  .ready-box-headrow {
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  .ready-boxes-certs .ready-box-row {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 12px 10px;
  }
  .ready-boxes-certs .ready-field {
    grid-column: 2;
  }
  .ready-fields {
    grid-template-columns: 1fr;
  }
}
@media print {
  .ready-sheets {
    max-width: none;
    gap: 0;
  }
  .ready-sheet {
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .ready-sheet-break {
    break-before: page;
  }
  .ready-sheet-cta,
  .ready-badge,
  .ready-box-headrow {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
