/* Inter Variable, SIL Open Font License;
   served locally, including Cyrillic.
   Source: https://github.com/rsms/inter/tree/master/docs/font-files */
@font-face {
  font-family:Inter;
  src:url("fonts/InterVariable.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap}

:root {
  --ink:#183b36;
  --text:#273f3b;
  --muted:#687973;
  --line:#dde5df;
  --paper:#fff;
  --bg:#f6f7f3;
  --lime:#dbf28a;
  --green:#214f44;
  --pale:#ecf0e7;
  --red:#a72f28;
  --radius:18px;
  --shadow:0 8px 28px #173c3506;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  font-size:16px;
  line-height:1.6;
  letter-spacing:normal;
  font-optical-sizing:auto}
* {
  box-sizing:border-box}
body {
  margin:0}
a {
  color:inherit;
  text-decoration:none}
a:hover {
  text-decoration:underline}
button,input,select,textarea {
  font:inherit;
  letter-spacing:inherit}
button,input,select,textarea {
  max-width:100%;
  min-width:0}
button,a,input,select,textarea {
  touch-action:manipulation}
button {
  cursor:pointer}
button:disabled {
  cursor:wait;
  opacity:.65}
img {
  max-width:100%;
  height:auto;
  border-radius:12px}
svg {
  max-width:100%}
.container {
  max-width:1240px;
  width:calc(100% - 64px);
  margin:0 auto}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  z-index:1000;
  padding:12px;
  background:var(--lime)}
.skip-link:focus {
  top:8px}
:focus-visible {
  outline:3px solid #557e19;
  outline-offset:4px}
.demo-bar {
  text-align:center;
  background:#e9efd9;
  color:#506041;
  font-size:12px;
  letter-spacing:.02em;
  padding:6px 16px}
.site-header {
  background:#fff;
  border-bottom:1px solid var(--line)}
.header-main {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:28px;
  min-height:88px}
.brand {
  font-size:36px;
  font-weight:750;
  letter-spacing:-.025em;
  display:inline-flex;
  align-items:center;
  line-height:1;
  color:var(--ink)}
.brand {
  white-space:nowrap;
  flex-shrink:0}
.brand:hover {
  text-decoration:none}
.brand-mark {
  width:28px;
  height:32px;
  flex:none;
  margin-right:10px}
.brand-dot {
  color:#90b444}
.city-button {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
  min-height:44px}
.header-tagline {
  white-space:nowrap;
  font-size:13px;
  color:var(--muted);
  border-left:1px solid var(--line);
  padding-left:24px}
.header-actions {
  display:flex;
  align-items:center;
  gap:24px;
  margin-left:auto;
  font-size:14px}
.primary-nav {
  display:flex;
  gap:34px;
  height:58px;
  align-items:stretch}
.primary-nav a {
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:3px solid transparent;
  font-size:15px;
  font-weight:600;
  white-space:nowrap}
.primary-nav a[aria-current] {
  border-color:var(--green)}
.nav-last {
  margin-left:auto}
.nav-dot {
  width:6px;
  height:6px;
  background:#96b74f;
  border-radius:50%}
.main-content {
  padding-top:36px;
  padding-bottom:72px;
  min-height:65vh}
h1,h2,h3,h4 {
  line-height:1.2;
  color:var(--ink);
  margin-top:0}
h1 {
  font-size:40px;
  letter-spacing:-.025em;
  margin-bottom:18px}
h2 {
  font-size:26px;
  letter-spacing:-.015em;
  margin-bottom:16px}
h3 {
  font-size:20px;
  letter-spacing:normal;
  margin-bottom:12px}
p {
  margin:0 0 18px}
.muted,.helptext,small {
  color:var(--muted)}
.eyebrow {
  font-size:12px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#788762;
  display:block;
  margin-bottom:18px}
.btn,button[type=submit] {
  border:1px solid var(--line);
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 20px;
  min-height:46px;
  font-weight:650;
  font-size:15px;
  background:#fff;
  color:var(--ink);
  text-align:center;
  line-height:1.35}
.btn:hover,button[type=submit]:hover {
  background:#edf1e8;
  text-decoration:none}
.btn-primary,button[type=submit] {
  background:var(--green);
  color:#fff;
  border-color:var(--green)}
.btn-primary:hover,button[type=submit]:hover {
  background:#153c32}
.btn-lime {
  background:var(--lime);
  color:var(--ink);
  border-color:var(--lime)}
.btn-small {
  padding:10px 16px;
  font-size:14px}
.btn-danger {
  color:var(--red);
  border-color:#e9b8b4}
.actions,.button-row {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap}
.hero {
  background:#e9eddf;
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  border-radius:24px;
  overflow:hidden;
  min-height:370px;
  position:relative;
  margin-bottom:28px}
.hero-copy {
  padding:44px 0 40px 42px;
  position:relative;
  z-index:1}
.hero h1 {
  font-size:48px;
  line-height:1.16;
  letter-spacing:-.025em;
  margin-bottom:22px}
.hero p {
  font-size:17px;
  max-width:480px;
  color:#607367}
.hero-art {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(ellipse at center,#dbe4c7 0,transparent 70%);
  padding:20px 22px 20px 0}
.hero-note {
  position:absolute;
  bottom:30px;
  right:35px;
  background:#fff;
  border-radius:12px;
  padding:12px 18px;
  font-size:12px;
  box-shadow:var(--shadow)}
.hero-note strong {
  display:block;
  font-size:15px}
.searchbar {
  display:flex;
  gap:8px;
  background:#fff;
  padding:7px;
  border:1px solid var(--line);
  border-radius:13px;
  margin:0 0 30px}
.searchbar input {
  border:0;
  flex:1;
  min-width:60px;
  padding:10px 14px}
.searchbar select {
  border:0;
  border-left:1px solid var(--line);
  max-width:190px}
.section-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-bottom:44px}
.section-card {
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px 18px;
  position:relative;
  min-height:178px;
  transition:transform .15s,border-color .15s}
.section-card:hover {
  transform:translateY(-3px);
  border-color:#95ac88;
  text-decoration:none}
.section-icon {
  font-size:26px;
  display:inline-flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  background:var(--pale);
  border-radius:12px;
  margin-bottom:20px}
.section-card h2 {
  font-size:17px;
  margin-bottom:6px;
  letter-spacing:normal}
.section-card p {
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
  margin:0}
.section-arrow {
  position:absolute;
  right:16px;
  top:22px;
  color:#7d8c76}
.section-heading,.page-head,.page-header {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:0 0 22px}
.section-heading h2 {
  margin:0}
.section-heading a {
  font-size:14px;
  font-weight:600}
.home-columns {
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(270px,1fr);
  gap:28px}
.card,.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
  margin-bottom:16px}
.card h3 a:hover {
  text-decoration:underline}
.listing-mini {
  display:grid;
  grid-template-columns:52px minmax(0,1fr) minmax(0,.65fr);
  gap:17px;
  align-items:center}
.listing-mini>* {
  min-width:0}
.home-columns>* {
  min-width:0}
.listing-mini h3 {
  font-size:17px;
  margin:0 0 6px}
.listing-mini p {
  font-size:13px;
  color:var(--muted);
  margin:0}
.listing-mini .price {
  font-size:16px;
  white-space:normal;
  overflow-wrap:anywhere;
  font-weight:700}
.listing-symbol {
  background:var(--pale);
  border-radius:13px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  font-size:23px}
.badge,.tag {
  display:inline-flex;
  padding:4px 9px;
  border-radius:6px;
  background:#f0f3e9;
  color:#58703d;
  font-size:12px;
  line-height:1.4;
  font-weight:600}
.badge-warning {
  background:#fff1d8;
  color:#8b642c}
.forum-promo {
  background:var(--ink);
  color:#dbe7df;
  padding:28px;
  border-radius:var(--radius);
  position:relative;
  overflow:hidden}
.forum-promo h2 {
  color:#fff;
  font-size:26px;
  max-width:260px}
.forum-promo p {
  font-size:14px;
  color:#baccc2}
.forum-promo .eyebrow {
  color:var(--lime)}
.forum-promo a {
  margin-top:6px}
.tip-card {
  margin-top:20px;
  background:#edeedc;
  border:0;
  padding:26px}
.tip-card h3 {
  font-size:19px}
.tip-card p {
  font-size:14px;
  color:#69725d}
.steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-top:46px;
  padding-top:36px;
  border-top:1px solid var(--line)}
.step-number {
  color:#829363;
  font-size:13px;
  font-weight:700;
  letter-spacing:1px}
.steps h3 {
  font-size:18px;
  margin:8px 0}
.steps p {
  font-size:14px;
  color:var(--muted)}
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));
  gap:20px}
.stack {
  display:grid;
  gap:16px}
.stack>* {
  margin-block:0;
  min-width:0}
.stack>.message.own {
  margin-left:40px}
.two-column,.catalog-layout {
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:24px}
.sidebar {
  align-self:start}
.breadcrumbs {
  font-size:13px;
  color:var(--muted);
  margin-bottom:22px}
.breadcrumbs a {
  color:var(--green)}
.tabs {
  display:flex;
  gap:12px;
  overflow:auto;
  margin:20px 0}
.tabs a {
  border:1px solid var(--line);
  border-radius:30px;
  padding:9px 17px;
  white-space:nowrap;
  font-size:14px}
.tabs a.active,.tabs a[aria-current] {
  background:var(--green);
  color:white;
  border-color:var(--green)}
label {
  display:block;
  font-size:14px;
  font-weight:650;
  margin-bottom:6px}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea {
  width:100%;
  padding:12px 13px;
  min-height:46px;
  border:1px solid #cfd9d0;
  border-radius:9px;
  background:#fff;
  color:var(--text);
  line-height:1.4}
input[type=checkbox],input[type=radio] {
  flex-shrink:0;
  vertical-align:middle;
  margin:0 8px 0 0;
  width:18px;
  height:18px;
  accent-color:var(--green)}
textarea {
  min-height:120px;
  resize:vertical}
select[multiple] {
  min-height:150px}
form p,.field,.form-row {
  margin-bottom:20px}
.field .helptext,.helptext {
  display:block;
  font-size:13px;
  font-weight:400;
  line-height:1.5;
  margin-top:6px}
.errorlist {
  color:var(--red);
  padding:8px 16px;
  background:#fff1ef;
  border-radius:6px;
  font-size:14px;
  list-style:none}
.errorlist:empty {
  display:none}
.notice {
  padding:14px 18px;
  border-radius:10px;
  background:#e9efdd;
  border:1px solid #d6e1c5;
  margin-bottom:20px}
.notice.error {
  background:#fff0ee;
  color:var(--red);
  border-color:#efc3bc}
.notice.warning {
  background:#fff4de;
  border-color:#e7d6ae}
.empty-state {
  text-align:center;
  padding:50px 28px;
  background:#fff;
  border:1px dashed #c6d2c6;
  border-radius:18px}
.empty-state h2 {
  font-size:24px}
.empty-state p {
  color:var(--muted);
  max-width:480px;
  margin:0 auto 22px}
.pagination {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin:28px 0}
.pagination a,.pagination span {
  padding:10px 15px;
  border-radius:9px;
  background:#fff;
  border:1px solid var(--line)}
.prose {
  max-width:800px}
.prose p {
  white-space:pre-line}
.prose a {
  color:#3b6a42;
  text-decoration:underline}
dt {
  font-size:13px;
  color:var(--muted)}
dd {
  margin:4px 0 18px;
  font-weight:500}
table {
  width:100%;
  border-collapse:collapse;
  background:#fff}
th,td {
  padding:12px;
  text-align:left;
  border-bottom:1px solid var(--line)}
th {
  font-size:13px;
  color:var(--muted)}
.table-wrap {
  overflow:auto}
.narrow {
  max-width:640px;
  margin:0 auto}
.city-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px}
.city-list button {
  width:100%;
  background:white;
  color:var(--ink);
  justify-content:flex-start;
  text-align:left;
  border-color:var(--line)}
.city-list small {
  display:block;
  font-weight:400}
.city-list button:hover {
  background:var(--pale)}
.site-footer {
  border-top:1px solid var(--line);
  background:#edf0e8;
  padding:42px 0 20px}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:40px}
.footer-grid .brand {
  font-size:32px;
  margin-bottom:18px}
.footer-grid p {
  font-size:14px;
  color:var(--muted)}
.footer-grid h2 {
  font-size:13px;
  margin-bottom:16px;
  letter-spacing:0}
.footer-grid>div>a:not(.brand) {
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  border-top:1px solid #d9e0d6;
  padding-top:20px;
  margin-top:24px;
  font-size:12px;
  color:var(--muted)}
.login-layout {
  max-width:500px;
  margin:40px auto}
.message {
  padding:15px 20px;
  background:#eef3e9;
  border-radius:14px;
  margin-bottom:12px;
  overflow-wrap:anywhere}
.message.own {
  background:#e0ecd0;
  margin-left:40px}
.message p {
  white-space:pre-wrap}
.attachment-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px}
.text-link {
  color:var(--green);
  text-decoration:underline}
.mobile-filter-toggle {
  display:none}
.price {
  font-weight:750;
  color:var(--ink)}
.form-card {
  max-width:800px;
  margin:0 auto}
.sr-only {
  position:absolute;
  clip:rect(0,0,0,0);
  width:1px;
  height:1px;
  overflow:hidden}

@media(max-width:1050px) {
  .header-tagline {
  display:none}
.hero h1 {
  font-size:44px}
.section-grid {
  gap:10px}
.section-card {
  padding:18px 13px}
.primary-nav {
  gap:25px}
.home-columns {
  gap:20px}
.hero-copy {
  padding-left:30px}
.hero-note {
  right:15px}
.listing-mini {
  grid-template-columns:45px minmax(0,1fr)}
.listing-mini .price {
  grid-column:2}
.quiet-link {
  display:none}
}

@media(max-width:760px) {
  .container {
  width:calc(100% - 32px)}
.header-main {
  min-height:76px;
  gap:16px;
  flex-wrap:wrap;
  padding-top:12px;
  padding-bottom:12px}
.brand {
  font-size:29px}
.brand-mark {
  width:22px;
  height:26px;
  margin-right:8px}
.city-button {
  font-size:13px;
  max-width:150px}
.header-actions {
  gap:12px}
.header-actions .btn {
  font-size:0;
  width:42px;
  padding:8px;
  min-height:42px}
.header-actions .btn span {
  font-size:24px}
.account-link {
  font-size:13px}
.primary-nav {
  height:50px;
  gap:23px;
  overflow:auto}
.primary-nav a {
  font-size:14px}
.nav-last {
  margin:0}
.main-content {
  padding-top:22px;
  padding-bottom:42px}
.hero {
  grid-template-columns:1fr;
  min-height:unset}
.hero-copy {
  padding:30px 26px}
.hero h1 {
  font-size:36px;
  letter-spacing:-.025em}
.hero p {
  font-size:15px}
.hero-art {
  display:none}
.eyebrow {
  font-size:11px;
  margin-bottom:14px}
.hero-copy .actions {
  margin-top:20px}
.searchbar {
  flex-wrap:wrap}
.searchbar select {
  display:none}
.searchbar .btn {
  padding:10px 14px}
.section-grid {
  grid-template-columns:repeat(2,1fr);
  margin-bottom:30px;
  gap:10px}
.section-card {
  min-height:140px;
  padding:18px}
.section-card:last-child {
  grid-column:1/-1;
  min-height:100px;
  display:grid;
  grid-template-columns:55px 1fr;
  align-items:center}
.section-card:last-child .section-icon {
  grid-row:1/3;
  margin:0}
.section-icon {
  width:36px;
  height:36px;
  font-size:22px;
  margin-bottom:12px}
.section-card h2 {
  font-size:16px}
.section-card p {
  font-size:12px}
.home-columns,.two-column,.catalog-layout {
  grid-template-columns:1fr}
.home-sidebar {
  display:grid;
  grid-template-columns:1fr;
  gap:16px}
.tip-card {
  margin:0}
.steps {
  grid-template-columns:1fr;
  gap:12px;
  margin-top:30px;
  padding-top:24px}
.section-heading h2 {
  font-size:23px}
.section-heading a {
  font-size:12px}
.card,.panel {
  padding:20px;
  border-radius:14px}
.page-head,.page-header {
  align-items:flex-start;
  flex-direction:column;
  gap:10px}
h1 {
  font-size:30px;
  letter-spacing:-.025em}
.city-list {
  grid-template-columns:1fr 1fr}
.footer-grid {
  grid-template-columns:1fr 1fr;
  gap:22px}
.footer-grid>div:first-child {
  grid-column:1/-1}
.footer-bottom {
  gap:10px;
  flex-direction:column}
.mobile-filter-toggle {
  display:block}
.demo-bar {
  font-size:10px}
.listing-mini {
  gap:12px}
.listing-mini h3 {
  font-size:16px}
.narrow {
  max-width:100%}
th,td {
  padding:9px;
  font-size:13px}
.attachment-grid {
  grid-template-columns:repeat(2,1fr)}
}

@media(prefers-reduced-motion:reduce) {
  * {
  transition:none!important;
  scroll-behavior:auto!important}
}


/* Public operator contacts may contain long email addresses. */
.contact-details {
  overflow-wrap:anywhere}
.contact-details a {
  text-decoration:underline}


/* Shared spacing: a stack owns its gaps;
   children must not add them twice. */
main {
  overflow-wrap:anywhere}

:where(.grid,.catalog-layout,.two-column,.footer-grid,.hero)>* {
  min-width:0}

.card>:last-child,.panel>:last-child,.notice>:last-child,.prose>:last-child {
  margin-bottom:0}

.chips {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px}

a.badge {
  padding:8px 12px;
  min-height:36px;
  align-items:center}

.chips a[aria-current] {
  background:var(--green);
  color:#fff}

.stack>.chips {
  margin-bottom:0}

.chips+:is(h1,h2,h3) {
  margin-top:16px}

summary {
  cursor:pointer;
  line-height:1.5}

details[open]>summary {
  margin-bottom:20px}

form.stack {
  gap:20px}

form.stack>:is(button,.btn) {
  justify-self:start}

form:not(.stack):not(.searchbar):not(.search-form)>:is(input:not([type=hidden]),select,textarea)+:is(button,.btn) {
  margin-top:12px}

.search-form {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 12px;
  align-items:start}

.search-form>label {
  grid-column:1/-1;
  margin:0}

.search-form>button {
  min-height:48px}

.searchbar>input:not([type=hidden]) {
  width:auto;
  flex:1 1 180px;
  min-width:0}

.searchbar>button {
  flex-shrink:0}

.empty-state {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px}

.empty-state>:is(h1,h2,p) {
  flex-basis:100%;
  margin:0}

.empty-state>p {
  margin-bottom:8px}

.catalog-layout+section {
  margin-top:24px}

.page-head>:is(a,button),.page-header>:is(a,button) {
  flex-shrink:0}

.section-heading>:last-child {
  flex-shrink:0}

.pagination {
  flex-wrap:wrap}

.prose {
  line-height:1.75}

.prose :is(h2,h3):not(:first-child) {
  margin-top:32px}

.prose li+li {
  margin-top:8px}

.prose ul,.prose ol {
  padding-left:24px}

@media(max-width:1050px) {
  .hero h1 {
  font-size:40px}
.section-card h2 {
  font-size:16px}
}

@media(max-width:760px) {
  
.header-main {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 12px}

.header-main>.brand {
  grid-column:1/-1;
  font-size:30px}

.city-button {
  max-width:none;
  min-width:0;
  overflow-wrap:anywhere}

.header-actions {
  gap:12px;
  margin-left:0}

.header-actions .btn {
  flex-shrink:0}

.hero h1 {
  font-size:clamp(28px,6.4vw,36px)}

.hero-copy {
  padding:28px 24px}

.section-card {
  padding:18px 14px}

.section-card h2 {
  font-size:15px}

.section-heading {
  align-items:flex-start;
  gap:12px}

.search-form {
  grid-template-columns:minmax(0,1fr)}

.search-form>button {
  justify-self:start;
  margin-top:4px}

.empty-state {
  padding:28px 20px}

.login-layout {
  margin:16px auto}

}


/* Listing details and reusable form layouts. */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}
.detail-layout > * { min-width: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.media-grid:not(:empty) { margin-bottom: 20px; }
.inline-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.inline-form > label { flex-basis: 100%; margin: 0; }
.inline-form > select { width: auto; flex: 1 1 200px; }
form.inline-form > select + button { margin-top: 0; }
.card > .badge + h2 { margin-top: 16px; }
.card > .btn + p, .card > form + p { margin-top: 16px; }
.card > a + form { margin-top: 16px; }
.choice-card { display: flex; align-items: flex-start; flex-direction: column; }
.choice-card strong { margin-top: auto; padding-top: 8px; }
.choice-card:hover { text-decoration: none; border-color: var(--green); }
.lead { font-size: 18px; line-height: 1.65; }
.field > input[type=checkbox] + label { display: inline; }
@media(max-width:760px) { .detail-layout { grid-template-columns: minmax(0, 1fr); } }
/* Keep this after field and heading defaults: stack is the sole gap owner. */
.stack > * { margin-block: 0; }
.check-row { display: flex; align-items: flex-start; gap: 12px; }
.check-row > input { margin: 3px 0 0; }
/* User text enlargement and custom letter spacing must reflow, not clip. */
.brand { white-space: normal; overflow-wrap: anywhere; min-width: 0; max-width: 100%; line-height: 1.1; }
.site-footer { overflow-wrap: anywhere; }
.primary-nav { overflow-x: auto; min-height: 58px; height: auto; }
.primary-nav > a { flex-shrink: 0; min-height: 58px; }
@media(max-width:760px) { .primary-nav, .primary-nav > a { min-height: 50px; } }

/* Related content following a stacked page needs its own section gap. */
main > .stack + .card { margin-top: 24px; }
.grid > .card { margin-bottom: 0; }

/* Compact filter rhythm; the form owns spacing between fields. */
.filters form.stack { gap: 14px; }
.filters details, .filters .field { min-width: 0; }
.filters form.stack > * { margin-block: 0; }
.filters .field > label { line-height: 1.4; margin-bottom: 6px; }
.filters[open] > summary { margin-bottom: 16px; }
.filters form > label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.filters form > label > input[type=checkbox] { margin: 2px 0 0; }
.filters input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.filters select, .filter-select-trigger { min-height: 44px; padding: 10px 12px; font-size: 16px; line-height: 1.4; }
.filter-select { position: relative; min-width: 0; }
.filter-select > select[hidden] { display: none; }
.filter-select-trigger {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1px solid #cfd9d0; border-radius: 9px;
  background: #fff; color: var(--text); font-weight: 400; text-align: left;
}
.filter-select-value { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.filter-select-trigger::after {
  content: ''; flex: 0 0 7px; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin: -4px 3px 0 0;
}
.filter-select-trigger[aria-expanded=true]::after { transform: rotate(225deg); margin-top: 4px; }
.filter-select.is-open { z-index: 20; }
.filter-select-menu {
  position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 20;
  padding: 6px; border: 1px solid #cfd9d0; border-radius: 12px;
  background: #fff; box-shadow: 0 10px 28px #183b3624;
  overflow-y: auto; overscroll-behavior: contain;
}
.filter-select-menu[hidden] { display: none; }
.filter-select.opens-up > .filter-select-menu { top: auto; bottom: calc(100% + 6px); }
.filter-select-option {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 10px 12px; border-radius: 7px; font-size: 16px; line-height: 1.4;
  font-weight: 400; letter-spacing: normal; cursor: pointer; overflow-wrap: anywhere;
}
.filter-select-option + .filter-select-option { margin-top: 2px; }
.filter-select-option[aria-selected=true] { background: var(--pale); color: var(--ink); }
.filter-select-option[aria-selected=true]::after { content: '✓'; margin-left: auto; }
.filter-select-option.is-active, .filter-select-option:hover { background: var(--green); color: #fff; }
.filter-select-option[aria-disabled=true] { opacity: .5; cursor: default; }
form.filters { display: grid; gap: 14px; }
form.filters > .field { margin-block: 0; }
