
.lp { --lp-low: #b45309; --lp-low-bg: #fef3c7; --lp-bar: var(--fl-navy); --lp-bar-bg: var(--fl-silver); }

.lp-hero { background: linear-gradient(180deg, #f4f7f6 0%, var(--card-bg) 100%); border-bottom: 1px solid var(--border); }
.lp-council .lp-hero > .fl-wrap { padding-top: 32px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 88px 0 80px; }
.lp-council .lp-hero-grid { padding-top: 48px; }
.lp-hero-in { min-width: 0; }
.lp h1 { max-width: calc(16ch * var(--bs-ch, 1)); font-size: clamp(40px, calc(5vw / var(--bs-zoom, 1)), 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.lp-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.lp .fl-btn.lp-primary { gap: 8px; background: var(--brand); }
.lp .fl-btn.lp-primary:hover { background: var(--brand-dark); }
.lp .fl-map { gap: 8px; }
.lp .fl-map svg { width: 18px; height: 18px; }
.lp .fl-btn svg { width: 18px; height: 18px; }

.lp-tiles, .lp-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; overflow: hidden;
  background: var(--border); border: 1px solid var(--border-hover); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.lp-tiles li, .lp-kpis li { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 20px 20px; background: var(--card-bg); }
.lp-tiles b, .lp-kpis b { font-size: clamp(26px, calc(2.6vw / var(--bs-zoom, 1)), 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--text); font-variant-numeric: tabular-nums; }
.lp-tl { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--text-secondary); }
.lp-tn, .lp-kpis span { font-size: 13.5px; line-height: 1.4; color: var(--text-muted); }
.lp-kpis span { color: var(--text-secondary); }
.lp-tiles li.is-low b { color: var(--lp-low); }

.lp-tiles.is-odd li:first-child { grid-column: 1 / -1; }
.lp-tiles b small, .lp-kpis b small { font-size: .55em; font-weight: 700; letter-spacing: 0; }
.lp-tiles li.is-supply .lp-tn + .lp-tn { margin-top: -2px; }

.lp-cards .lp-head + .lp-county { margin-top: 24px; }
.lp-head { display: flex; flex-direction: column; gap: 10px; max-width: calc(68ch * var(--bs-ch, 1)); }
.lp-head p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.lp-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }

@media (min-width: 900px) { .lp-brief .lp-two > div:first-child { position: sticky; top: calc(var(--nav-h, 56px) + 32px); } }
.lp-prose p { font-size: 17px; line-height: 1.65; color: var(--text-secondary); }

.lp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.lp-find { flex: 0 1 280px; min-width: 0; height: 44px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--card-bg);
  border: 1px solid var(--border-hover); border-radius: var(--radius); outline: none; }
.lp-find:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chip { height: 36px; padding: 0 14px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--text-secondary); background: var(--card-bg);
  border: 1px solid var(--border-hover); border-radius: 999px; cursor: pointer; }
.lp-chip:hover { background: var(--bg); }
.lp-chip[aria-pressed="true"] { color: #fff; background: var(--fl-navy); border-color: var(--fl-navy); }
.lp-chip:focus-visible, .lp-table th button:focus-visible, .lp-tablewrap:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(13,148,136,.3); }
.lp-tablewrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--border-hover); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.lp-table thead th { position: sticky; top: 0; z-index: 1; padding: 0; text-align: left; background: var(--fl-silver); border-bottom: 1px solid var(--border-hover); }
.lp-table th button { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--text-secondary); text-align: left; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.lp-table th button::after { content: ''; width: 0; height: 0; border: 4px solid transparent; opacity: .35; border-top-color: currentColor; margin-top: 4px; }
.lp-table th[aria-sort="ascending"] button::after { opacity: 1; border-top-color: transparent; border-bottom-color: currentColor; margin: -4px 0 0; }
.lp-table th[aria-sort="descending"] button::after { opacity: 1; }
.lp-table th[aria-sort] button { color: var(--text); }
.lp-table tbody tr { border-top: 1px solid var(--border); }
.lp-table tbody tr:first-child { border-top: 0; }
.lp-table tbody tr:hover { background: #f8faf9; }
.lp-table tbody th, .lp-table td { padding: 12px 14px; text-align: left; vertical-align: middle; white-space: nowrap; }
.lp-table tbody th { font-weight: 600; }
.lp-table tbody th a { display: block; }
.lp-table tbody th small { display: block; font-size: 13px; font-weight: 400; color: var(--text-muted); }
.lp-table tr[hidden] { display: none; }
.lp-sup.is-low { display: inline-block; padding: 2px 8px; color: var(--lp-low); background: var(--lp-low-bg); border-radius: 6px; font-weight: 600; }
.lp-stage { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); }
.lp-stage::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--border-hover); }
.lp-stage-examination::before { background: var(--brand); }
.lp-stage-draft::before { background: color-mix(in srgb, var(--brand) 60%, #fff); }
.lp-stage-early::before { background: var(--fl-navy); opacity: .45; }
.lp-empty { margin-top: 16px !important; color: var(--text-muted); }

.lp-county-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 24px; align-items: start; padding: 20px 0; border-top: 1px solid var(--border); }
.lp-cards .lp-head + .lp-county-row { margin-top: 24px; }
.lp-county-row:last-child { border-bottom: 1px solid var(--border); }
.lp .lp-county { margin: 0; padding-top: 14px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--text); }
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp .lp-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; height: 100%; padding: 12px 14px; color: var(--text);
  background: var(--card-bg); border: 1px solid var(--border-hover); border-radius: var(--radius); transition: border-color .15s, background-color .15s; }
.lp .lp-card:hover { text-decoration: none; border-color: var(--fl-navy); background: #f8faf9; }
.lp-card b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.lp-card span { grid-row: 2; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--text-muted); }
.lp-card-sup { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; font-style: normal; font-size: 15px; font-weight: 700;
  line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.lp-card-sup small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.lp-card-sup.is-low { color: var(--lp-low); }

.lp-track { display: flex; flex-direction: column; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.lp-track li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 16px; color: var(--text-muted); }
.lp-track li:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 30px; bottom: -10px; width: 2px; background: var(--border-hover); }
.lp-track li.is-done::after { background: var(--brand); }
.lp-dot { width: 16px; height: 16px; border: 2px solid var(--border-hover); border-radius: 50%; background: var(--card-bg); }
.lp-track li.is-done { color: var(--text-secondary); }
.lp-track li.is-done .lp-dot { background: var(--brand); border-color: var(--brand); }
.lp-track li.is-now { font-weight: 700; color: var(--text); }
.lp-track li.is-now .lp-dot { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13,148,136,.18); background: var(--card-bg); }
.lp-track-none { margin-top: 20px !important; font-size: 17px; color: var(--text-secondary); }
.lp-next .lp-prose { padding-top: 56px; }

.lp-bars { display: flex; flex-direction: column; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
.lp-bars li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 7.5rem; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.35; }
.lp-bars li > a, .lp-bn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-secondary); font-weight: 500; }
.lp-bars li b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-secondary); white-space: nowrap; }
.lp-bar { position: relative; height: 14px; background: var(--lp-bar-bg); border-radius: 4px; }
.lp-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--lp-bar) 35%, #fff); border-radius: 4px; }
.lp-bars li.is-me .lp-bar i { background: var(--brand); }
.lp-bars li.is-me > a, .lp-bars li.is-me b { color: var(--text); font-weight: 700; }
.lp-bars li.is-low .lp-bar i { background: color-mix(in srgb, var(--lp-low) 30%, #fff); }
.lp-bars li.is-me.is-low .lp-bar i { background: var(--lp-low); }
.lp-bars li.is-low b { color: var(--lp-low); }
.lp-bars.has-sub b { display: flex; flex-direction: column; line-height: 1.2; }
.lp-bars.has-sub b small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.lp-fig-note { margin: 8px 0 0 !important; max-width: 46rem; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.lp-bars[style*="--lp-mark"] .lp-bar::after { content: ''; position: absolute; top: -3px; bottom: -3px; left: var(--lp-mark); border-left: 2px dashed var(--lp-low); }
.lp-bars-homes li { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr) 7.5rem; font-size: 15.5px; }
.lp-bars-homes .lp-bn { white-space: normal; color: var(--text); }
.lp-bars-homes .lp-bar { height: 18px; }
.lp-bars-homes .lp-bar i { background: var(--fl-navy); }
.lp-vs-grid { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.lp-vs figure { margin: 0; min-width: 0; }
.lp-vs figcaption { margin-top: 24px; font-size: 16px; font-weight: 700; }
.lp-vs .lp-bars { margin-top: 14px; }
.lp-vs .lp-bars li { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) 6rem; }
.lp-key { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; font-size: 13.5px; color: var(--text-muted); }
.lp-key-mark { width: 0; height: 14px; border-left: 2px dashed var(--lp-low); }
.lp-more { margin-top: 20px !important; }
.lp-more a { display: inline-flex; align-items: center; gap: 6px; }

.lp-checked { margin-top: 12px !important; font-size: 14.5px; color: var(--text-muted); }
.lp-dl { margin: 0; border-top: 1px solid var(--border); }
.lp-dl > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.lp-dl dt { font-size: 15px; font-weight: 700; color: var(--text); }
.lp-dl dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.lp-dl ul { margin: 8px 0 0; padding-left: 18px; }
.lp-dl dd > ul:first-child { margin-top: 0; }
.lp-dl li + li { margin-top: 6px; }

.lp > .lp-band { padding-bottom: 0 !important; }
.lp-band-in { padding: clamp(40px, calc(5vw / var(--bs-zoom, 1)), 64px); color: #fff; background: var(--fl-navy); border-radius: var(--radius-lg); }
.lp-band { margin-bottom: clamp(56px, calc(7vw / var(--bs-zoom, 1)), 96px); padding-left: var(--content-col-pad, 28px); padding-right: var(--content-col-pad, 28px); }
.lp .lp-band-in { max-width: calc(var(--content-col-max, 1236px) - 2 * var(--content-col-pad, 28px)); }
.lp-band h2 { max-width: calc(26ch * var(--bs-ch, 1)); color: #fff !important; }
.lp-band p { max-width: calc(60ch * var(--bs-ch, 1)); margin-top: 14px !important; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.78); }
.lp-band .fl-btn { margin-top: 28px; }
.lp-near { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 15px; }
.lp-near span { color: rgba(255,255,255,.6); }
.lp .lp-near a { color: #fff; font-weight: 600; }

@media (max-width: 1099px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-vs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .lp-hero-grid, .lp-two { grid-template-columns: 1fr; gap: 32px; }
  .lp-hero-grid { padding: 56px 0 56px; }
  .lp-council .lp-hero-grid { padding-top: 32px; }
  .lp-next .lp-prose { padding-top: 0; }
  .lp-tiles, .lp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-tiles.is-odd li:first-child { grid-column: span 2; }
  .lp-county-row { grid-template-columns: 1fr; row-gap: 12px; }
  .lp .lp-county { padding-top: 0; }
}

@media (max-width: 1099px) {
  .lp-tablewrap { overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  .lp-table, .lp-table tbody { display: block; }
  .lp-table thead tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .lp-table thead tr::before { content: 'Sort by'; margin-right: 4px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
  .lp-table thead th { position: static; background: none; border: 0; }
  .lp-table th button { width: auto; min-height: 36px; padding: 6px 10px; font-size: 13px; border: 0; border-radius: 6px; background: none; }
  .lp-table th[aria-sort] button { background: var(--fl-silver); }
  .lp-table tbody { margin-top: 16px; border: 1px solid var(--border-hover); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
  .lp-table tbody tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 16px; padding: 14px 16px; }
  .lp-table tbody tr[hidden] { display: none; }
  .lp-table tbody th { grid-column: 1 / -1; padding: 0; white-space: normal; }
  .lp-table td { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; white-space: normal; }
  .lp-table td::before { content: attr(data-label); font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
}
@media (max-width: 679px) {
  .lp-table tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 14px; }
  .lp-table td.lp-td-stage { grid-column: span 2; }
  .lp-council .lp-hero > .fl-wrap { padding-top: 20px; }
  .lp-hero-grid { padding: 40px 0 40px; }
  .lp-council .lp-hero-grid { padding-top: 24px; }
  .lp h1 { font-size: 40px; }
  .lp-tiles, .lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-tiles.is-odd li:first-child { grid-column: 1 / -1; }
  .lp-tiles li, .lp-kpis li { padding: 14px 14px 16px; }
  .lp-tiles b, .lp-kpis b { font-size: 24px; }
  .lp-find { flex: 1 1 100%; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-bars li, .lp-vs .lp-bars li { grid-template-columns: minmax(0, 1fr) 5.5rem; row-gap: 4px; }
  .lp-bars li > a, .lp-bn { grid-column: 1 / -1; }
  .lp-bars-homes li { grid-template-columns: minmax(0, 1fr) 6.5rem; }
  .lp-dl > div { grid-template-columns: 1fr; gap: 6px; }
  .lp-band-in { padding: 32px 20px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .lp .lp-card { transition: none; } }
