/* Listing pages (/rent/, /buy/, /property/*). Builds on site.css tokens. */
.center { text-align: center; }

/* ---------- filters ---------- */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 16px;
  background: var(--bg-alt); padding: 18px; border: 1px solid var(--line); margin: 8px 0 20px; align-items: end; }
.filters label { display: grid; gap: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.filters select, .filters input, .enquiry input, .enquiry textarea {
  font: 400 .95rem var(--font); padding: 9px 10px; border: 1px solid #cfd5c4; background: #fff; color: var(--ink); width: 100%; border-radius: 0; }
.filters input:focus, .filters select:focus, .enquiry input:focus, .enquiry textarea:focus { outline: 2px solid var(--green); outline-offset: -1px; }
.filter-actions { display: flex; gap: 12px; align-items: center; }
.filter-actions .btn { border: 0; cursor: pointer; }
.result-count { color: var(--muted); font-size: .9rem; }

/* ---------- map ---------- */
.map { height: 360px; border: 1px solid var(--line); margin-bottom: 28px; z-index: 0; }
.map.small { height: 280px; }
.leaflet-popup-content a { font-weight: 700; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.card-img { position: relative; display: block; aspect-ratio: 3/2; background: var(--bg-alt); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-img:hover img { transform: scale(1.03); }
/* no photos yet: brand image + "Photos coming soon" placed on the image in its own style.
   The square frame keeps the label in the same spot on the artwork at any size. */
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; }
.placeholder .frame { position: relative; height: 100%; aspect-ratio: 1; container-type: size; }
.placeholder .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: none !important; }
.placeholder .soon {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 1;
  padding: .25em .8em; font: 700 6cqw/1.2 "Open Sans", Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
/* rentals: lettered onto the blank lower half of the red "For lease" sign */
.placeholder.lease .soon { left: 70%; top: 24.5%; font-size: 3.2cqw; color: #e32f2e; background: #fff; border: .45cqw solid #e32f2e; border-radius: .6cqw; }
/* sales: a black-and-lime bar like the logo's "Power Team" panel */
.placeholder.sale .soon { bottom: 1.5%; color: #a9c614; background: #111; border: .45cqw solid #8aa601; border-radius: 1cqw; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.placeholder.lease { background: #fffffd; }
.placeholder.sale { background: #f6f6f6; }
.placeholder.big { position: relative; inset: auto; height: 460px; margin-bottom: 28px; border: 1px solid var(--line); }
@media (max-width: 760px) { .placeholder.big { height: auto; } .placeholder.big .frame { height: auto; width: 100%; } }
.badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--lime); padding: 4px 10px;
  font: 700 .72rem/1.4 Helvetica, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.card-body { padding: 16px 18px 18px; }
.card h3 { font-size: 1.02rem; margin: 0 0 8px; color: var(--ink); }
.card h3 a { color: inherit; text-decoration: none; }
.price { font-weight: 700; color: var(--green); margin: 0 0 4px; }
.price.big { font-size: 1.5rem; margin-bottom: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--text); margin: 0; }
.facts.big { font-size: 1rem; margin: 6px 0 22px; }
.ptype { color: var(--muted); }
.insp { font-size: .82rem; color: var(--green-dark); margin: 10px 0 0; font-weight: 700; }
.empty { text-align: center; padding: 40px 0; border: 1px dashed var(--line); }
.pager { display: flex; justify-content: space-between; margin-top: 28px; }

/* ---------- property page ---------- */
.crumbs { margin: 0 0 16px; font-size: .9rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 210px); gap: 6px; margin-bottom: 28px; }
.gallery a { position: relative; display: block; overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g0 { grid-row: 1 / 3; }
.gallery .more { display: none; }
.gallery[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 440px; }
.gallery[data-count="1"] .g0 { grid-row: auto; }
.gallery[data-count="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 420px; }
.gallery[data-count="2"] .g0 { grid-row: auto; }
.gallery[data-count="3"] { grid-template-columns: 2fr 1fr; }
.gallery[data-count="4"] .g3 { grid-column: 2 / 4; }
.more-count { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 700; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery .g0 { grid-column: 1 / -1; grid-row: auto; }
  .gallery .g3, .gallery .g4 { display: none; }
}

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .prop-layout { grid-template-columns: 1fr; gap: 24px; } }
.property h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); margin-bottom: 4px; }
.headline { text-align: left; font-size: 1.35rem; margin-top: 8px; }
.desc p { margin-bottom: 1em; }
.status-banner { display: inline-block; background: var(--ink); color: var(--lime); padding: 4px 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 12px; }
.keyfacts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 20px 0; padding: 16px 18px; background: var(--bg-alt); }
.keyfacts dt { font-weight: 700; color: var(--ink); }
.keyfacts dd { margin: 0; }
/* a plain list, with a small icon in place of each bullet */
.features { list-style: none; padding: 0 !important; margin: 0 0 1.5em; }
.features li { display: flex; align-items: center; gap: .5em; margin: 0 0 .3em; }
.features .fi { flex: none; width: 1.1em; height: 1.1em; color: var(--green); }
.btn.ghost { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn.wide { display: block; width: 100%; text-align: center; border: 0; cursor: pointer; margin-bottom: 16px; }

.prop-side { position: sticky; top: 16px; }
.box { border: 1px solid var(--line); padding: 18px; margin-bottom: 16px; background: #fff; }
.box h3 { font-size: 1.05rem; color: var(--ink); margin: 0 0 10px; }
.insp-list { list-style: none; padding: 0; margin: 0; }
.insp-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.insp-list li:first-child { border-top: 0; }
.enquiry { display: grid; gap: 12px; }
.enquiry label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.enquiry label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.enquiry label.check input { width: auto; }
.enquiry .btn.wide { margin: 4px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: .78rem; color: var(--muted); margin: 0; }
.ok { background: #eef8dd; border-left: 4px solid var(--green); padding: 10px 12px; }
.errors { background: #fdecea; border-left: 4px solid #c0392b; padding: 10px 12px 10px 28px; color: #7b241c; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2.2rem; width: 54px; height: 54px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; }

/* quick actions on phones (the sidebar sits below the content there) */
.mobile-cta { display: none; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.mobile-cta .btn { padding: 10px 16px; }
@media (max-width: 900px) { .mobile-cta { display: flex; } }

/* ---------- request an appraisal ---------- */
.appraisal { max-width: 720px; }
.appraisal .lead { margin: 0 auto 24px; max-width: 560px; }
.appraisal-form fieldset { border: 1px solid var(--line); padding: 14px 18px 16px; margin: 0; display: grid; gap: 12px; background: #fff; }
.appraisal-form legend { padding: 0 6px; font-weight: 700; color: var(--green); }
.appraisal-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appraisal-form .ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.appraisal-form .fine { margin: -4px 0 0; }
.appraisal-form input[readonly] { background: var(--bg-alt); }
@media (max-width: 560px) { .appraisal-form .pair { grid-template-columns: 1fr; } }
.box.offer img { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto 6px; }
.box.offer .fine { text-align: center; margin-bottom: 12px; }
.box.offer .btn.wide { margin-bottom: 0; }

/* ---------- rental application (Form 18) ---------- */
.apply { max-width: 860px; }
.apply-head { display: flex; gap: 20px; align-items: center; margin: 0 0 18px; }
.apply-head img { width: 180px; height: 120px; object-fit: cover; border: 1px solid var(--line); }
.apply-head h1 { margin: 0; color: var(--ink); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.apply-head .addr { margin: 2px 0; font-weight: 700; }
.apply-head .price { margin: 0; }
.apply-intro { background: var(--bg-alt); padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid var(--green); }
.apply-intro p { margin: 0 0 .5em; } .apply-intro p:last-child { margin: 0; }
.star { color: #b23b2e; }
.apply-form { gap: 16px; }
.apply-form .ahead { font-size: 1.25rem; color: var(--ink); margin: 6px 0 0; text-align: left; }
.apply-form > *, .apply-form fieldset, .fgrid > * { min-width: 0; }   /* let date inputs shrink on phones */
.apply-form .ahead small { color: var(--muted); font-weight: 400; }
.apply-form .sect { border: 1px solid var(--line); padding: 12px 18px 16px; margin: 0; background: #fff; }
.apply-form .sect legend { padding: 0 6px; font-weight: 700; color: var(--green); }
.apply-form .sect legend small { color: var(--muted); font-weight: 400; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.fgrid label { display: grid; gap: 4px; align-content: start; }
.fgrid .wide { grid-column: 1 / -1; }
.fgrid small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.apply-form select { font: 400 .95rem var(--font); padding: 9px 10px; border: 1px solid #cfd5c4; background: #fff; width: 100%; }
.more-applicant { border: 2px dashed #cfd5c4; padding: 0; }
.more-applicant[open] { border-style: solid; border-color: var(--line); padding: 0 0 4px; display: grid; gap: 16px; }
.more-applicant > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--green); list-style: none; }
.more-applicant > summary::before { content: "+ "; }
.more-applicant[open] > summary::before { content: "− "; }
.more-applicant[open] > summary { background: var(--bg-alt); }
.more-applicant .ahead, .more-applicant .sect { margin-inline: 12px; }
.info-box { border: 1px solid var(--line); background: var(--bg-alt); padding: 0 18px; }
.info-box > summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--ink); }
.info-box h3, .notice h3 { font-size: 1rem; color: var(--ink); margin: 14px 0 6px; }
.info-box p, .notice p { font-size: .9rem; }
.notice { border: 1px solid var(--line); padding: 4px 18px 10px; background: #fff; }
.notice h3 small { font-weight: 400; color: var(--muted); }
.notice dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: .9rem; margin: 0 0 10px; }
.notice dt { font-weight: 700; color: var(--ink); }
.notice dd { margin: 0; }
.declare .doc-links { margin: 0; padding-left: 20px; }
.declare .doc-links a { font-weight: 700; }
.declare .sign { display: grid; gap: 8px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.big-ok { padding: 18px 22px; }
.big-ok h2 { color: var(--green); margin-top: 0; }
@media (max-width: 640px) {
  .fgrid { grid-template-columns: 1fr; }
  .apply-head img { width: 110px; height: 74px; }
}
.notice .dbs { display: grid; gap: 10px; margin: 0 0 10px; }
.notice .dbs dl { margin: 0; padding: 10px 12px; background: var(--bg-alt); }

/* file boxes (ID photos, documents) */
.upload { display: grid; gap: 6px; padding: 10px 12px; background: var(--bg-alt); border: 1px dashed #cfd5c4; }
.upload .up-label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.upload .up-label small { font-weight: 400; color: var(--muted); }
.upload.up-js input[type=file] { display: none; }
.up-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.small { padding: 7px 14px; font-size: .8rem; }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.up-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 4px 6px; font-size: .85rem; }
.up-list img, .up-doc { width: 48px; height: 36px; object-fit: cover; flex: none; }
.up-doc { display: grid; place-items: center; background: #eef0e8; color: var(--muted); font-size: .7rem; font-weight: 700; }
.up-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-rm { border: 0; background: none; color: #b23b2e; font-size: 1rem; cursor: pointer; padding: 4px 8px; }
.up-err { color: #b23b2e; font-size: .82rem; list-style: none; }
/* webcam window */
dialog.cam { border: 0; padding: 16px; max-width: min(720px, 94vw); width: 100%; }
dialog.cam::backdrop { background: rgba(0,0,0,.7); }
dialog.cam video { width: 100%; background: #111; aspect-ratio: 16/9; object-fit: contain; }
.cam-msg { font-size: .9rem; margin: 8px 0; }
.cam-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.notice dd { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 640px) { .notice dl { grid-template-columns: 1fr; } .notice dd { margin-bottom: 6px; } }
.box.tour .btn.wide { margin-bottom: 10px; }
.box.tour .btn.wide:last-child { margin-bottom: 0; }
.box.tour .btn.ghost { border: 2px solid var(--green); }

/* recently leased / sold */
.badge.closed { background: #b23b2e; color: #fff; }
.card.closed .card-img img { filter: saturate(.55); }
.card.closed .price { color: var(--muted); }
.status-banner.closed { background: #b23b2e; color: #fff; }
.box.closed-note { background: var(--bg-alt); }
.box.closed-note p { margin: 0; }

/* other tenants (lead tenant names them), co-tenant and reference pages */
.fgrid.other-tenant { grid-template-columns: 1.4fr 1fr 1.4fr; padding: 8px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 640px) { .fgrid.other-tenant { grid-template-columns: 1fr; } }
.apply-form .copy-nok { margin: 0 0 10px; }
.ref-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 16px; }
.ref-facts dt { font-weight: 700; color: var(--muted); } .ref-facts dd { margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 6px 18px; border: 0; padding: 0; margin: 0; }
.choices label { display: flex; gap: 6px; align-items: center; font-weight: 400; }
.choices input { width: auto; }
.q { display: grid; gap: 6px; margin: 0 0 14px; }
.q > span { font-weight: 600; }
.ec-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.ec-buttons[hidden], .ec-form [hidden] { display: none; }
.btn.danger { color: #b3261e; border-color: #b3261e; }
.consent-box { border: 1px solid #b9d39a; background: #f4f9ec; border-radius: 6px; padding: 10px 14px; margin: 0 0 16px; font-size: .95rem; }
.consent-box p { margin: 0 0 6px; } .consent-box p:last-child { margin: 0; }
.consent-page .declaration { border-left: 4px solid #5f7a3a; margin: 12px 0; padding: 8px 16px; background: #f7f8f4; }

/* open home check-in (/checkin/<link>): a phone-first page, logo only */
.checkin-top { text-align: center; padding: 18px 0 6px; }
.checkin-top img { display: block; height: 80px; width: auto; margin: 0 auto; }
.checkin { max-width: 480px; margin: 0 auto; padding: 8px 18px 32px; }
.checkin-place { text-align: center; margin: 0 0 18px; }
.checkin-place img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; display: block; }
.checkin-place h1 { color: var(--ink); font-size: 1.35rem; margin: 14px 0 4px; }
.checkin-when { margin: 0; font-weight: 700; color: var(--green); }
.checkin h2 { font-size: 1.15rem; margin: 0 0 10px; }
.checkin .enquiry input { font-size: 1rem; }
.checkin-note { font-size: .8rem; color: #666; margin-top: 14px; }

/* Meet the team (/meet-the-team/): picture with details to the right, the bio underneath */
.team-page { max-width: 980px; margin: 0 auto; padding: 24px 18px 40px; }
.team-page h1 { margin: 0 0 22px; }
.team-member { border-bottom: 1px solid #e3e6dc; padding: 0 0 28px; margin: 0 0 28px; }
.team-member:last-child { border-bottom: 0; }
.team-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.team-card img, .team-nophoto { width: 220px; height: 220px; object-fit: cover; border-radius: 8px; flex: none; }
.team-nophoto { display: grid; place-items: center; background: #eef0ea; color: #8a9480; font-size: 4rem; font-weight: 700; }
.team-details h2 { margin: 0 0 4px; font-size: 1.5rem; text-align: left; }   /* site.css centres h2 */
.team-details p { margin: 4px 0; }
.team-position { color: var(--green); font-weight: 700; }
.team-bio { margin-top: 18px; overflow-wrap: anywhere; }
.team-bio table { max-width: 100%; }
@media (max-width: 560px) { .team-card { flex-direction: column; align-items: flex-start; } .team-card img, .team-nophoto { width: 100%; height: auto; aspect-ratio: 1; } }

/* owner approval page (/owner/<link>): the application as printed, then Approve / Decline */
.owner-meta { color: var(--muted); margin: 0 0 12px; }
.owner-panel { border: 1px solid #dfe3d8; border-radius: 4px; padding: 12px 16px; margin: 0 0 14px; background: #fff; }
.owner-panel h2 { text-align: left; font-size: 1.2rem; margin: 0 0 8px; }
.owner-panel h3 { font-size: 1rem; margin: 14px 0 6px; color: var(--green-dark); }
.owner-panel .kv { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: 3px 14px; margin: 0; }
.owner-panel .kv dt { color: var(--muted); } .owner-panel .kv dd { margin: 0; overflow-wrap: anywhere; }
.owner-panel .kv dd p { margin: 0 0 .4em; }
.owner-grid { border-collapse: collapse; width: 100%; } .owner-grid.narrow { width: auto; min-width: 280px; }
.owner-grid th, .owner-grid td { text-align: left; padding: 5px 8px; border-bottom: 1px solid #eceee8; vertical-align: top; }
.owner-ref { border-bottom: 1px solid #eceee8; padding: 6px 0; } .owner-ref:last-child { border-bottom: 0; }
.owner-files { margin: 0; padding-left: 18px; } .owner-files small { color: var(--muted); }
.owner-panel .signed { margin: 12px 0 0; padding-top: 8px; border-top: 1px dashed #dfe3d8; }
.owner-panel .check-note { margin-top: 4px; font-size: .92rem; white-space: pre-line; }
.owner-panel .hint { color: var(--muted); font-size: .9rem; }
.owner-page .pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: .82rem; background: #eceee8; color: #333; }
.owner-page .pill.green { background: #e1f0d4; color: #2f5d1c; } .owner-page .pill.amber { background: #fdf0cc; color: #7a5400; }
.owner-page .pill.red { background: #fbe0dd; color: #8e1f15; }
.owner-page .warn-box { background: #fdecea; border-left: 4px solid #c0392b; padding: 10px 12px; }
.owner-decision textarea { width: 100%; }
.owner-buttons { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-top: 12px; }
.owner-buttons .btn { border: 0; cursor: pointer; min-width: 160px; font-size: 1.05rem; }
.owner-buttons .btn.approve { background: #2e7d32; color: #fff; } .owner-buttons .btn.approve:hover { background: #1b5e20; }
.owner-buttons .btn.decline { background: #c62828; color: #fff; } .owner-buttons .btn.decline:hover { background: #8e1c1c; }
.owner-buttons .fine { margin: 6px 0 0; }
@media (max-width: 560px) { .owner-panel .kv { grid-template-columns: 1fr; } .owner-panel .kv dt { margin-top: 6px; } }

/* property alerts (/alerts/) */
.alerts-top { text-align: center; padding: 18px 0 4px; }
.alerts-top img { height: 96px; width: auto; }
.alerts h1 { text-align: center; margin-top: 4px; }
.alerts-intro { text-align: center; max-width: 640px; margin: 0 auto 18px; }
.alerts-form { max-width: 760px; margin: 0 auto; }
.alerts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.alert-custom { border-top: 1px dashed #dfe3d8; margin-top: 10px; padding-top: 10px; }
.alert-custom[hidden] { display: none; }
.suburb-pick { position: relative; margin-bottom: 12px; }
.suburb-pick input[type=search] { width: 100%; }
.suburb-hits { position: absolute; z-index: 5; left: 0; right: 0; margin: 2px 0 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid #cfd5c6; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.suburb-hits button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 6px 10px; cursor: pointer; }
.suburb-hits button:hover, .suburb-hits button:focus { background: #eef3e6; }
.suburb-chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.suburb-chips li { background: #e8efdc; border-radius: 14px; padding: 3px 4px 3px 12px; }
.suburb-chips button { background: none; border: 0; cursor: pointer; padding: 0 6px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 600; }
.consent-check input { margin-top: 4px; }
.alerts-buttons { display: flex; gap: 12px; }
.alerts-buttons .btn { min-width: 140px; text-align: center; }
.alerts-buttons .btn:disabled { opacity: .45; cursor: not-allowed; }
.alerts-form select { width: 100%; padding: 10px 8px; font: inherit; border: 1px solid #cfd5c6; background: #fff; }
.alerts-row label { display: flex; flex-direction: column; justify-content: flex-end; }
.alerts-sender { background: #f4f7ef; border-left: 4px solid var(--green); padding: 10px 14px; margin: 16px 0 6px; }

/* Address lookup (address.js) */
.addr-wrap { position: relative; }
.addr-list { position: absolute; z-index: 50; margin: 2px 0 0; padding: 0; list-style: none; background: #fff;
  border: 1px solid #c9ccc4; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.12); max-height: 18em; overflow-y: auto;
  font-size: .95rem; text-align: left; }
.addr-list[hidden] { display: none; }
.addr-list [role=option] { padding: .45em .7em; cursor: pointer; line-height: 1.3; font-weight: normal; }
.addr-list [role=option].on, .addr-list [role=option]:hover { background: #eef3e6; }
.addr-list .addr-src { padding: .3em .7em; font-size: .72rem; color: #777; border-top: 1px solid #eee; cursor: default; }
.addr-find { margin-bottom: .6em; }

/* owner approval: the "read and understood" box and the lawful-decision notes pop-up (CSS :target, no script) */
.owner-understood { margin: 0 0 12px; align-items: flex-start !important; }
.owner-understood input { margin-top: 4px; }
.owner-buttons button:disabled { opacity: .45; cursor: not-allowed; }
.modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 16px; }
.modal:target { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal-box { position: relative; background: #fff; border-radius: 6px; max-width: 760px; width: 100%; max-height: 90vh;
  overflow-y: auto; padding: 20px 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.modal-box h2 { text-align: left; margin: 0 28px 10px 0; font-size: 1.35rem; }
.modal-box h3 { margin: 16px 0 6px; font-size: 1.05rem; color: var(--green-dark); }
.modal-box ul { margin: 0 0 8px; padding-left: 20px; } .modal-box li { margin: 0 0 4px; }
.modal-box ul.cols { columns: 2 260px; }
.modal-close { position: absolute; top: 8px; right: 14px; font-size: 1.8rem; line-height: 1; text-decoration: none; color: #555; }

/* house rules (ux.js): sortable tables (class "sortable" on the website) */
th .th-sort { all: unset; cursor: pointer; font: inherit; color: inherit; }
th .th-sort:hover { text-decoration: underline; }
th .th-sort:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
