/* Suburb Finder (/suburb-finder). Its own file, not styles.css, which is
   cached for up to a day; new markup must not arrive before its styles. */

.fd-wrap { max-width: 1040px; margin: 0 auto; padding: 96px 20px 64px; }
.fd-crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.fd-crumb a { color: var(--teal); text-decoration: none; }
.fd-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(0, 200, 200, .4); border-radius: 20px; padding: 3px 10px; margin-bottom: 12px; }
.fd-h1 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; margin: 0 0 12px; color: var(--text-primary); }
.fd-lede { font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 680px; margin: 0 0 28px; }

.fd-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-bottom: 18px; }
.fd-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.fd-field legend, .fd-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; padding: 0; }
.fd-hint { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.fd-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.fd-pills button { min-width: 44px; min-height: 44px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 14px; font-weight: 600; cursor: pointer; }
.fd-pills button[aria-pressed="true"] { background: var(--teal-vivid, #00c8c8); border-color: var(--teal-vivid, #00c8c8); color: #0a0f1c; }
.fd-pills button:focus-visible, .fd-range:focus-visible, .fd-row input:focus-visible, .fd-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fd-budget-val { font-size: 22px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.fd-budget-val small { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.fd-range { width: 100%; accent-color: var(--teal-vivid, #00c8c8); min-height: 32px; }
.fd-range-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); }

.fd-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; }
.fd-count { font-size: 15px; color: var(--text-primary); }
.fd-count strong { color: var(--teal); }
.fd-sort { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-muted); }
.fd-sort .fd-pills button { min-height: 36px; padding: 6px 12px; font-size: 13px; }

.fd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fd-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.fd-row.is-picked { border-color: var(--teal); }
.fd-row input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--teal-vivid, #00c8c8); grid-row: span 2; }
.fd-name { font-size: 16px; font-weight: 700; color: var(--text-primary); text-decoration: none; }
.fd-name:hover { text-decoration: underline; }
.fd-meta { font-size: 12.5px; color: var(--text-muted); grid-column: 2; }
.fd-cost { text-align: right; grid-row: span 2; }
.fd-week { font-size: 20px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.fd-week small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.fd-year { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.fd-tags { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fd-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-secondary); }
.fd-tag.is-high { border-color: rgba(229, 115, 115, .6); color: #e57373; }
.fd-more { display: block; margin: 14px auto 0; }

.fd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.fd-btn-primary { background: #0b7d7d; border-color: #0b7d7d; color: #fff; }
.fd-btn-primary[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.fd-tray { position: sticky; bottom: 12px; z-index: 20; margin-top: 16px; display: none; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--teal); border-radius: 12px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.fd-tray.is-on { display: flex; }
.fd-tray-text { font-size: 14px; color: var(--text-primary); }

.fd-empty { background: var(--bg-card); border: 1px dashed var(--border); border-radius: 12px; padding: 18px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.55; }
.fd-note { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; margin: 14px 0 0; }

.fd-section { margin-top: 44px; }
.fd-section h2 { font-size: 22px; margin: 0 0 10px; color: var(--text-primary); }
.fd-section p, .fd-section li { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); }
.fd-section ul { padding-left: 20px; }
.fd-excluded { font-size: 13.5px; color: var(--text-secondary); }

@media (max-width: 760px) {
  .fd-wrap { padding-top: 84px; }
  .fd-panel { grid-template-columns: 1fr; padding: 16px; }
  .fd-row { grid-template-columns: auto minmax(0, 1fr); }
  .fd-cost { grid-row: auto; grid-column: 2; text-align: left; }
  .fd-tags { grid-column: 2; }
  .fd-week { font-size: 18px; }
}

/* Options added 24 October 2026 */
.fd-span { grid-column: 1 / -1; }
.fd-input { width: 100%; max-width: 240px; min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); font-size: 15px; }
.fd-input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fd-budget-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fd-pills-sm button { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.fd-pt-note { margin: 0 0 12px; }

@media (max-width: 760px) {
  .fd-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .fd-panel > .fd-field { grid-column: 1 / -1; }
  .fd-panel > .fd-field.fd-half { grid-column: auto; }
  .fd-half .fd-pills button { padding: 8px 12px; }
  .fd-half .fd-input { max-width: none; }
}

/* Shortlist, 24 October 2026 */
.fd-shortlist-intro { background: rgba(0, 200, 200, .08); border: 1px solid rgba(0, 200, 200, .35); border-radius: 12px; padding: 12px 16px; margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.fd-shortlist-intro strong { color: var(--text-primary); }
.fd-row { grid-template-columns: minmax(0, 1fr) auto; }
.fd-row .fd-meta, .fd-row .fd-tags { grid-column: 1; }
.fd-cost { grid-row: 1 / span 3; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.fd-pick { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--teal); border-radius: 8px; color: var(--teal); font-size: 13px; font-weight: 700; cursor: pointer; user-select: none; }
.fd-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal-vivid, #00c8c8); }
.fd-pick.is-on { background: var(--teal-vivid, #00c8c8); border-color: var(--teal-vivid, #00c8c8); color: #0a0f1c; }
.fd-pick.is-full { opacity: .45; cursor: not-allowed; }
.fd-pick:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.fd-tray.is-on { display: flex; }
.fd-tray-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fd-tray-label { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--teal); }
.fd-tray-count { color: var(--text-muted); font-weight: 600; letter-spacing: 0; text-transform: none; margin-left: 4px; }
.fd-tray-text { font-size: 14px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
@media (max-width: 760px) {
  .fd-row { grid-template-columns: minmax(0, 1fr); }
  .fd-row .fd-meta, .fd-row .fd-tags { grid-column: 1; }
  .fd-cost { grid-row: auto; grid-column: 1; align-items: flex-start; }
  .fd-tray { bottom: 8px; padding: 10px 12px; }
  .fd-tray-text { max-width: 52vw; font-size: 13px; }
}

/* The site's containers clip overflow, which disables position: sticky, so the
   shortlist bar is fixed and shown only while the results list is on screen
   (finder.js toggles .is-on). */
.fd-tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; width: min(1000px, calc(100% - 24px)); margin: 0; display: none; }
.fd-tray.is-on { display: flex; }
.fd-wrap { padding-bottom: 140px; }

/* Map view, 24 October 2026 */
.fd-view button { min-width: 64px; }
.fd-map-wrap { position: relative; margin-bottom: 12px; }
.fd-map { height: 560px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); }
.fd-map-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; color: var(--text-secondary); font-size: 14px; pointer-events: none; }
.fd-map-key { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 8px; background: rgba(10, 15, 28, .85); color: #e6f4f4; font-size: 11.5px; font-weight: 600; }
.fd-map-key i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.fd-map-key span { margin: 0 4px; }
.fd-map-cbd { display: flex; flex-direction: column; align-items: center; gap: 2px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.fd-map-cbd img { width: 26px; height: 26px; }
.fd-map-cbd span { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: #0a0f1c; background: #00c8c8; border-radius: 4px; padding: 1px 5px; }
.fd-map-popup .mapboxgl-popup-content { background: #0f1a26; color: #e6f4f4; border: 1px solid rgba(0, 200, 200, .45); border-radius: 12px; padding: 14px 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); font-family: inherit; }
.fd-map-popup .mapboxgl-popup-tip { border-top-color: #0f1a26; border-bottom-color: #0f1a26; }
.fd-map-popup .mapboxgl-popup-close-button { color: #9fb3c0; font-size: 18px; padding: 2px 8px; }
.fd-card-name { font-size: 16px; font-weight: 800; }
.fd-card-council { font-size: 12px; color: #9fb3c0; margin-bottom: 6px; }
.fd-card-cost { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fd-card-cost small { font-size: 12px; font-weight: 500; color: #9fb3c0; }
.fd-card-sub, .fd-card-how, .fd-card-risk { font-size: 12.5px; color: #c4d4dc; margin-top: 3px; line-height: 1.45; }
.fd-card-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.fd-card-btn { min-height: 38px; padding: 6px 12px; border-radius: 8px; border: 1px solid #00c8c8; background: transparent; color: #00c8c8; font-weight: 700; font-size: 13px; cursor: pointer; }
.fd-card-btn.is-on { background: #00c8c8; color: #0a0f1c; }
.fd-card-link { color: #9fe9e6; font-size: 13px; font-weight: 600; }
.fd-card-full { font-size: 12.5px; color: #9fb3c0; }
body.light .fd-map-popup .mapboxgl-popup-content { background: #ffffff; color: #0a0f1c; border-color: #0b7d7d; }
body.light .fd-map-popup .mapboxgl-popup-tip { border-top-color: #ffffff; border-bottom-color: #ffffff; }
body.light .fd-card-council, body.light .fd-card-cost small { color: #4a5a66; }
body.light .fd-card-sub, body.light .fd-card-how, body.light .fd-card-risk { color: #33434f; }
body.light .fd-card-btn { color: #0b7d7d; border-color: #0b7d7d; }
body.light .fd-card-btn.is-on { background: #0b7d7d; color: #fff; }
body.light .fd-card-link { color: #0b7d7d; }
@media (max-width: 760px) { .fd-map { height: 68vh; min-height: 380px; } }

/* The list, the empty state and the view toggle set their own display, which
   beats the hidden attribute; hidden must always win on this page. */
.fd-wrap [hidden] { display: none !important; }

/* Map key, matching finder-map.js BANDS / BANDS_LIGHT */
.fd-map-key .k0 { background: #5ff5ee; } .fd-map-key .k1 { background: #00c8c8; } .fd-map-key .k2 { background: #079aa1; }
.fd-map-key .k3 { background: #2a7883; } .fd-map-key .k4 { background: #4b6070; }
body.light .fd-map-key { background: rgba(255, 255, 255, .92); color: #0a0f1c; border: 1px solid #cfe3e4; }
body.light .fd-map-key i { border-color: rgba(0, 0, 0, .15); }
body.light .fd-map-key .k0 { background: #00c8c8; } body.light .fd-map-key .k1 { background: #0a9fa3; } body.light .fd-map-key .k2 { background: #0b7d7d; }
body.light .fd-map-key .k3 { background: #3d6672; } body.light .fd-map-key .k4 { background: #64717d; }

/* Income helper, 24 October 2026 */
.fd-income { margin: 0 0 16px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.fd-income summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--teal); min-height: 32px; display: flex; align-items: center; }
.fd-income-body { margin-top: 10px; display: grid; gap: 10px; }
.fd-income-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fd-income-q { font-size: 13px; color: var(--text-secondary); }
.fd-income-note { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.fd-tag.fd-share { border-color: rgba(0, 200, 200, .45); color: var(--text-primary); }
.fd-income summary { list-style: none; gap: 8px; }
.fd-income summary::-webkit-details-marker { display: none; }
.fd-chev { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--teal); transition: transform .15s ease; }
.fd-income[open] .fd-chev { transform: rotate(90deg); }
.fd-budget-share { font-size: 13px; font-weight: 600; color: var(--teal); margin: -2px 0 6px; }
@media (prefers-reduced-motion: reduce) { .fd-chev { transition: none; } }

/* What are these costs, and the bolder split under each total */
.fd-budget-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fd-budget-title .fd-label { margin-bottom: 0; }
.fd-info { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(0, 200, 200, .45); background: transparent; color: var(--teal); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.fd-info[aria-expanded="true"] { background: rgba(0, 200, 200, .12); }
.fd-info:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fd-costs-info { margin: 10px 0 12px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 200, 200, .06); border: 1px solid rgba(0, 200, 200, .3); }
.fd-costs-lead { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--text-primary); }
.fd-costs-info ul { margin: 0 0 8px; padding-left: 18px; }
.fd-costs-info li { font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.fd-costs-info li strong { color: var(--text-primary); }
.fd-costs-out { margin: 0; font-size: 12px; color: var(--text-muted); }
.fd-year.fd-split, .fd-card-sub.fd-split { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.fd-year.fd-split .fd-plus { color: var(--teal); }

/* Costs list sits directly under the info button, above the period switch */
.fd-budget-head .fd-budget-title { order: 1; }
.fd-budget-head .fd-costs-info { order: 2; flex-basis: 100%; margin: 4px 0 6px; }
.fd-budget-head #fd-period { order: 3; }

/* Every suburb fits, and what is left in the budget */
.fd-allfit { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card); font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.fd-allfit strong { color: var(--text-primary); }
.fd-left { font-size: 12.5px; font-weight: 600; color: var(--teal); }
.fd-card-left { font-size: 12.5px; font-weight: 600; color: #00c8c8; margin-top: 3px; }
body.light .fd-card-left { color: #0b7d7d; }

/* Link to the other city's finder */

/* City switch on each city's Finder, and the /suburb-finder chooser */
.fd-city-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); }
.fd-city-switch a { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--text-secondary); text-decoration: none; }
.fd-city-switch a:hover { color: var(--text-primary); }
.fd-city-switch a[aria-current="page"] { background: var(--teal-vivid, #00c8c8); color: #0a0f1c; }
.fd-city-switch a:focus-visible, .fd-city-card:focus-visible, .fd-select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fd-select { max-width: 320px; appearance: auto; }
.fd-select option { background: var(--bg-card); color: var(--text-primary); }

.fd-choose { margin: 4px 0 40px; }
.fd-choose-q { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 14px; font-family: inherit; }
.fd-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.fd-city-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-card); text-decoration: none; transition: border-color .15s, transform .15s; }
.fd-city-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.fd-city-name { font-size: 28px; line-height: 1.15; font-weight: 400; color: var(--text-primary); font-family: var(--font-editorial, 'Instrument Serif', Georgia, serif); }
.fd-city-area { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.fd-city-go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--teal); }
.fd-choose-other { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 680px; }
.fd-choose-other a { color: var(--teal); font-weight: 600; }
.fd-steps ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 640px) { .fd-cities { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fd-city-card { transition: none; } .fd-city-card:hover { transform: none; } }

/* Report request in place, opened from the shortlist bar (25 October 2026) */
.fd-tray.is-behind { visibility: hidden; }
.fd-report { position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 30; width: min(560px, calc(100% - 24px)); background: var(--bg-card); border: 1px solid var(--teal); border-radius: 14px; padding: 20px 20px 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.fd-report[hidden] { display: none !important; }
.fd-report-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text-muted); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px; }
.fd-report-close:hover { color: var(--text-primary); }
.fd-report-close:focus-visible, .fd-report-email:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fd-report-h { margin: 0 40px 6px 0; font-family: var(--font-editorial, 'Instrument Serif', Georgia, serif); font-size: 26px; line-height: 1.15; color: var(--text-primary); }
.fd-report-sub { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.fd-report-sub strong { color: var(--text-primary); }
.fd-report-form { display: flex; flex-wrap: wrap; gap: 10px; }
.fd-report-form .fd-report-email { flex: 1 1 220px; max-width: none; font-size: 16px; }
.fd-report-form .fd-btn { flex: 0 0 auto; }
.fd-report-error { flex-basis: 100%; font-size: 13.5px; color: #ffb4a8; }
body.light .fd-report-error { color: #b42318; }
.fd-report-note { margin: 10px 0 0; font-size: 12.5px; color: var(--text-muted); }
.fd-report-note a { color: var(--teal); font-weight: 600; margin-left: 6px; }
.fd-report-done { margin: 4px 0 0; font-size: 15px; color: var(--text-primary); }
@media (max-width: 520px) { .fd-report-form .fd-btn { width: 100%; justify-content: center; } }

/* Start from a suburb, and the shortlist summary and share (26 October 2026) */
.fd-start .fd-pills button { flex: 1 1 auto; }
.fd-ref-box { margin-top: 14px; display: grid; gap: 10px; }
.fd-ref-box .fd-label { margin-bottom: 0; }
.fd-ref-input { max-width: 360px; font-size: 16px; }
.fd-ref-msg { margin: 0; font-size: 13px; color: var(--text-muted); }
.fd-within-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fd-within-label { font-size: 13px; color: var(--text-secondary); }
.fd-within-row .fd-pills button { min-height: 40px; padding: 6px 12px; font-size: 13px; }
.fd-refcard { margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--teal); background: var(--bg-card); display: grid; gap: 6px; }
.fd-refcard-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
.fd-refcard-main { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.fd-refcard-name { font-size: 18px; font-weight: 700; color: var(--text-primary); text-decoration: none; }
.fd-refcard-name:hover { text-decoration: underline; }
.fd-refcard-cost { font-size: 20px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.fd-refcard-cost small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.fd-refcard-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.fd-refcard .fd-card-btn { justify-self: start; }
.fd-diff { grid-column: 2; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.fd-diff strong { font-weight: 700; color: var(--text-primary); }
.fd-diff.is-less strong { color: #00c8c8; }
body.light .fd-diff.is-less strong { color: #0b7d7d; }
.fd-diff-lines { font-variant-numeric: tabular-nums; }
.fd-diff-km { color: var(--text-muted); }
@media (max-width: 760px) { .fd-diff { grid-column: 1; } }
.fd-tray-actions { display: flex; gap: 8px; align-items: center; }
.fd-share-btn { padding: 10px 14px; }
.fd-report { max-height: calc(100vh - 24px); overflow-y: auto; }
.fd-sum { margin: 0 0 14px; }
.fd-sum-h { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--text-primary); }
.fd-sum-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fd-sum-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.fd-sum-table th, .fd-sum-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.fd-sum-table th[scope="row"], .fd-sum-table thead th:first-child { text-align: left; font-weight: 600; color: var(--text-secondary); }
.fd-sum-table thead th { color: var(--text-primary); font-weight: 700; }
.fd-sum-total th, .fd-sum-total td { font-weight: 800; color: var(--text-primary); border-bottom: 0; }
.fd-sum-note { margin: 6px 0 0; font-size: 12px; color: var(--text-muted); }
.fd-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fd-report-share { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 600; cursor: pointer; }
.fd-report-share:hover { text-decoration: underline; }
@media (max-width: 520px) { .fd-tray-actions { width: 100%; } .fd-tray-actions .fd-btn-primary { flex: 1; } }

/* Clear an arriving council filter (26 October 2026) */
.fd-clear { margin-left: 8px; padding: 0; border: 0; background: none; color: var(--teal); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.fd-clear:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

