[hidden] { display: none !important; }
.search-wrap { position: relative; text-align: left; }
#suggestions { position: absolute; z-index: 1100; top: 100%; left: 0; right: 0; margin: 8px 0; padding: 6px; list-style: none; border: 1px solid #ddd; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px #0002; max-height: 320px; overflow: auto; }
#suggestions li { padding: 13px 16px; border-radius: 12px; cursor: pointer; font-size: 15px; }
#suggestions li[aria-selected="true"], #suggestions li:hover { background: #f0f4ef; }
#suggestions small { display: block; color: #666; margin-top: 5px; }
.status { color: #666; font-size: 13px; line-height: 1.5; margin: 12px 0; }
body .action { display: block; width: fit-content; max-width: 100%; margin: 16px auto 0; background: #fff; color: #000; border: 3px solid #b8b8b8; box-shadow: none; }
body .action:hover { background: #fff; border-color: #888; box-shadow: none; }
body.mapping main { padding: 40px 20px; }
body.mapping .question { max-width: 1440px; }
body.mapping h1 { font-size: clamp(24px, 4vw, 34px); }
body.mapping .search-wrap { max-width: 560px; margin-left: auto; margin-right: auto; }
.map-help { margin: 28px 0 16px; color: #555; line-height: 1.5; }
#map { height: 480px; height: clamp(320px, 56vh, 580px); border-radius: 22px; border: 1px solid #ddd; text-align: left; background: #edf0ea; }
#map button { padding: revert; border-radius: revert; box-shadow: none; }
#map input { width: auto; padding: 0; border-radius: 0; }
.leaflet-control-layers-toggle { background-image: none !important; }
.map-status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
body .small-button { padding: 8px 14px; box-shadow: none; border: 1px solid #ddd; font-size: 12px; }
.parcel-label { background: #fffD; border: 0; box-shadow: none; color: #17241a; font-weight: bold; padding: 1px 4px; }
.parcel-label::before { display: none; }
.selection { margin-top: 24px; padding: 28px; background: #fff; border: 0; border-radius: 0; text-align: center; }
.selection h2 { margin: 0 0 16px; font-size: 20px; }
dl { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
dt { font-size: 12px; color: #666; margin-bottom: 6px; }
dd { margin: 0; overflow-wrap: anywhere; }
.area { font-size: 28px; margin: 20px 0 12px; }
.fine-print { color: #666; font-size: 12px; line-height: 1.6; }
#accessible-parcels { text-align: left; font-size: 13px; margin: 10px 0; }
summary { cursor: pointer; padding: 8px 0; }
#parcel-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 180px; overflow: auto; padding: 8px 0; }
#parcel-list button { padding: 8px 12px; box-shadow: none; border: 1px solid #ddd; font-size: 12px; }
@media (max-width: 480px) { .selection { padding: 20px; } .map-status-row { align-items: flex-start; } #map { border-radius: 16px; } }

body .outlined-button, .choices button { background: #fff; color: #000; border: 2px solid #c7c7c7; box-shadow: none; }
body .outlined-button:hover, .choices button:hover { border-color: #777; background: #fafafa; box-shadow: none; }
.address-panel { min-width: 0; }
#address-title { line-height: 1.25; }
h1[tabindex="-1"]:focus { outline: none; }
#map-step { min-width: 0; }
.selected-parcel { padding: 18px 0; }
.selected-parcel + .selected-parcel { border-top: 1px solid #eee; }
.selected-parcel h3 { margin: 0 0 10px; font-size: 15px; font-weight: 500; }
.selected-parcel dl { margin: 12px 0; gap: 12px 20px; }
.selected-parcel dd { font-size: 13px; }
body .remove-parcel { padding: 4px 10px; border: 0; box-shadow: none; text-decoration: underline; font-size: 12px; color: #666; }
body .remove-parcel:hover { color: #000; box-shadow: none; }
#add-parcel { font-size: 14px; }
button:disabled { opacity: .5; cursor: not-allowed; }
#step-navigation { width: 100%; max-width: 900px; margin: 0 auto 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#step-progress { font-size: 12px; color: #777; }
body .back-button { padding: 8px 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; font-size: 14px; }
body.answering main { display: flex; flex-direction: column; justify-content: center; padding: 32px 24px 64px; }
.question.choice-screen { max-width: 760px; margin: 0 auto; }
.choice-screen h1 { font-size: clamp(25px, 3.5vw, 36px); line-height: 1.3; }
.question-help { color: #666; font-size: 14px; line-height: 1.6; margin: -12px 0 28px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choices button { width: 100%; min-height: 64px; padding: 17px 20px; }
.choices button[aria-pressed="true"] { border-color: #222; background: #f4f4f4; }
.choices.one-column { grid-template-columns: 1fr; max-width: 600px; margin: auto; }
.answer-summary { display: grid; gap: 22px; margin: 32px 0; }
.answer-summary dd { font-size: 17px; }
@media (min-width: 960px) {
  body.mapping main { padding: 40px 32px; align-items: start; }
  body.mapping #screen-address { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.35fr); align-items: start; gap: 44px; }
  body.mapping .address-panel { padding-top: 20px; }
  body.mapping #address-title { font-size: clamp(26px, 2.6vw, 36px); }
  #map-step { position: sticky; top: 24px; }
  .map-help { margin-top: 0; }
  #map { height: clamp(420px, 64vh, 720px); }
  .selection { padding: 20px 0; }
}
@media (max-width: 600px) {
  .choices { grid-template-columns: 1fr; gap: 12px; }
  .choice-screen h1 { font-size: 25px; }
  .choices button { min-height: 58px; padding: 14px 20px; }
  .selection { padding: 20px 0; }
}
@media (max-width: 959px) {
  body.mapping #screen-address { display: flex; flex-direction: column; }
  body.mapping .address-panel { display: contents; }
  body.mapping .search-wrap { width: 100%; }
  body.mapping #map-step { order: 1; }
  body.mapping .selection { order: 2; }
}

.estimate-amount { font-size: clamp(36px, 7vw, 64px); font-weight: 700; margin: 28px 0; }
.contact-form { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:32px auto; width:100%; max-width:680px; }
.contact-form label { display:flex; flex-direction:column; gap:8px; text-align:left; }
.contact-form input:not([type=checkbox]), .contact-form textarea { width:100%; box-sizing:border-box; border:2px solid #ccc; border-radius:20px; padding:16px; font:inherit; background:white; color:black; }
.contact-form .full-width { grid-column:1 / -1; }
.contact-form .consent { flex-direction:row; align-items:flex-start; }
.contact-form input[type=checkbox] { width:18px; height:18px; padding:0; margin:3px 0 0; border-radius:0; flex:0 0 18px; }
.contact-form .consent span { flex:1; min-width:0; line-height:1.5; }
@media(max-width:600px) { .contact-form { grid-template-columns:1fr; } }

.postal-search { text-align:left; min-width:0; }
.postal-search > label { margin-bottom:8px; }
#postal-suggestions { list-style:none; margin:8px 0 0; padding:6px; border:1px solid #ccc; border-radius:20px; background:#fff; max-height:260px; overflow:auto; }
#postal-suggestions li { padding:12px; border-radius:12px; cursor:pointer; line-height:1.4; }
#postal-suggestions li:hover, #postal-suggestions li[aria-selected=true] { background:#f0f0f0; }
#postal-status { margin:8px 0 0; }
