/* Property Supermarket — shelf-edge labels, aisle signs and till receipts. System fonts only. */
:root {
  --ink: #1d2a2f;
  --ink-2: #45555c;
  --ink-3: #6a777c;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --line: #e3dac8;
  --green: #0b5d4b;
  --green-d: #073f33;
  --green-50: #e2f0ea;
  --tomato: #c8391f;
  --tomato-50: #fde6df;
  --yellow: #ffd23f;
  --yellow-50: #fff5cf;
  --sky: #d6ecf5;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-s: 2px 2px 0 var(--ink);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: "Avenir Next", "Avenir", "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --s-1: .875rem; --s0: 1rem; --s1: 1.2rem; --s2: 1.44rem; --s3: clamp(1.5rem, 1.2rem + 1.4vw, 1.9rem); --s4: clamp(1.8rem, 1.3rem + 2.4vw, 2.6rem); --s5: clamp(2.1rem, 1.4rem + 3.6vw, 3.4rem);
  --wrap: 1180px;
  --gutter: 16px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--green-d); text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: var(--s4); }
h2 { font-size: var(--s3); }
h3 { font-size: var(--s1); }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border: 2px solid var(--ink); font-weight: 700; border-radius: var(--radius-s); }
.skip:focus { top: 8px; }
.muted { color: var(--ink-2); }
.small { font-size: var(--s-1); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- demo banner */
.demo-banner { background: var(--yellow); color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 700; font-size: var(--s-1); position: relative; }
.demo-banner::before { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(135deg, var(--ink) 0 10px, var(--yellow) 10px 20px); }
.demo-banner .wrap { display: flex; gap: .6rem; align-items: center; padding-top: .55rem; padding-bottom: .9rem; }

/* ---------- header */
.site-header { background: var(--cream); border-bottom: 2px solid var(--ink); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 70px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; letter-spacing: -.03em; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand svg { width: 44px; height: 44px; }
.brand small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-top: .2rem; }
.nav-toggle { display: none; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.site-nav a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; font-weight: 650; border-radius: var(--radius-s); }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--green-50); color: var(--green-d); }
.site-nav a.nav-cta { background: var(--ink); color: var(--cream); }
.site-nav a.nav-cta:hover { background: var(--green-d); color: #fff; }
.basket-link { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 800; box-shadow: var(--shadow-s); }
.basket-link:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.basket-count { min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: .8rem; display: inline-grid; place-items: center; }
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .45rem .7rem; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
  .site-nav { flex-basis: 100%; margin: 0 0 .75rem; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .7rem .8rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .basket-link { order: 2; }
}

/* ---------- breadcrumbs */
.crumbs { font-size: var(--s-1); padding: .9rem 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.15rem; border: 2px solid var(--ink); border-radius: var(--radius-s); background: var(--green); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-s); transition: transform .12s ease, box-shadow .12s ease; line-height: 1.2; }
.btn:hover { color: #fff; background: var(--green-d); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffc300; color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--green-50); color: var(--ink); }
.btn-danger { background: var(--tomato); }
.btn-danger:hover { background: #a02b15; }
.btn-small { padding: .4rem .7rem; font-size: var(--s-1); }
.btn-block { width: 100%; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
label, .label { display: block; font-weight: 700; margin-bottom: .3rem; font-size: .95rem; }
.hint { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--s-1); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=date], input[type=url], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .6rem .7rem; min-height: 46px; }
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; margin-bottom: .5rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--green); flex: none; }
.err { color: var(--tomato); font-weight: 700; font-size: var(--s-1); margin-top: .25rem; display: block; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--tomato); background: #fff8f6; }
.alert { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0; background: var(--green-50); box-shadow: var(--shadow-s); }
.alert-error { background: var(--tomato-50); }
.alert-note { background: var(--yellow-50); }
.alert p:last-child { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
legend { font-weight: 800; padding: 0; margin-bottom: .4rem; }
.radio-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-pills label { margin: 0; }
.radio-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pills span { display: inline-block; padding: .45rem .9rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 700; cursor: pointer; }
.radio-pills input:checked + span { background: var(--ink); color: var(--yellow); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); }

/* ---------- hero + search */
.hero { background: var(--green); color: #fff; border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: repeating-linear-gradient(90deg, var(--tomato) 0 38px, #fff 38px 76px); border-bottom: 2px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; padding-top: 3.4rem; padding-bottom: 2.6rem; }
.hero h1 { font-size: var(--s5); color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: var(--s1); color: #e8f4ef; max-width: 36ch; }
.hero-art { align-self: end; }
.hero-art svg { display: block; width: 100%; height: auto; }
.search-card { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 1.2rem; margin-top: 1.2rem; }
.search-card .tabs { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; margin-bottom: 1rem; background: var(--paper); }
.search-card .tabs label { margin: 0; }
.search-card .tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.search-card .tabs span { display: block; padding: .5rem 1.3rem; font-weight: 800; cursor: pointer; }
.search-card .tabs input:checked + span { background: var(--ink); color: var(--yellow); }
.search-card .tabs input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -5px; }
.search-main { display: flex; gap: .6rem; }
.search-main input { flex: 1; font-size: 1.1rem; }
.search-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .8rem; }
.search-grid label { font-size: .8rem; margin-bottom: .15rem; text-transform: uppercase; letter-spacing: .04em; }
.js [data-channel-set][hidden] { display: none; }
.hero-stats { display: flex; gap: 1.4rem; margin-top: 1.1rem; font-weight: 700; flex-wrap: wrap; color: #e8f4ef; }
.hero-stats b { color: var(--yellow); font-size: 1.3rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 2.6rem; }
  .hero-art { display: none; }
  .search-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .search-main { flex-direction: column; } }

/* ---------- sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--ink-2); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: .35rem; }
.page-head { padding: 1.2rem 0 1.4rem; }
.page-head p.lead { font-size: var(--s1); color: var(--ink-2); max-width: 62ch; }
main { display: block; min-height: 50vh; }
main:focus { outline: none; box-shadow: none; }

/* ---------- aisle signs */
.aisles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.4rem 1rem; }
.aisle { position: relative; display: block; text-decoration: none; color: #fff; background: var(--green-d); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: 1rem 1rem .9rem 4.1rem; box-shadow: var(--shadow-s); margin-top: 14px; min-height: 92px; }
.aisle::before, .aisle::after { content: ""; position: absolute; top: -16px; width: 2px; height: 16px; background: var(--ink); }
.aisle::before { left: 22%; } .aisle::after { right: 22%; }
.aisle:hover { color: #fff; background: var(--green); transform: rotate(-1deg); }
.aisle .no { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 900; font-family: var(--font-head); }
.aisle strong { display: block; font-family: var(--font-head); font-size: 1.08rem; line-height: 1.2; }
.aisle span.count { font-size: .82rem; color: #cfe6dc; }

/* ---------- listing cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--sky); border-bottom: 2px solid var(--ink); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-title { font-size: 1.05rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:focus-visible { outline: none; box-shadow: none; }
.card:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 8px var(--yellow); }
.card .addr { color: var(--ink-2); font-size: var(--s-1); margin: 0; display: flex; gap: .3rem; align-items: center; }
.card .specs { display: flex; gap: .9rem; font-size: var(--s-1); color: var(--ink-2); margin: .2rem 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.card .specs li { display: inline-flex; gap: .3rem; align-items: center; }
.card .card-foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; position: relative; z-index: 2; }
.card .agent-name { font-size: .8rem; color: var(--ink-3); }
.badges { position: absolute; left: .6rem; bottom: .6rem; display: flex; gap: .35rem; flex-wrap: wrap; z-index: 2; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: .25rem .5rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); line-height: 1.1; }
.badge-demo { background: var(--yellow-50); border-style: dashed; }
.badge-status { background: var(--ink); color: #fff; }
.badge-drop { background: var(--tomato); color: #fff; }
.badge-new { background: var(--green-50); }
.cards.list { grid-template-columns: 1fr; }
.cards.list .card { flex-direction: row; }
.cards.list .card-media { width: 38%; max-width: 360px; aspect-ratio: auto; min-height: 210px; border-bottom: 0; border-right: 2px solid var(--ink); flex: none; }
.cards.list .card-summary { display: block; }
.card-summary { display: none; color: var(--ink-2); font-size: .95rem; margin: .2rem 0 0; }
@media (max-width: 640px) {
  .cards.list .card { flex-direction: column; }
  .cards.list .card-media { width: 100%; max-width: none; min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 2px solid var(--ink); }
}

/* ---------- price tags */
.price-tag { display: inline-flex; flex-direction: column; align-self: flex-start; background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px 6px 6px 6px; padding: .25rem .7rem .3rem 1.4rem; position: relative; line-height: 1.1; }
.price-tag::before { content: ""; position: absolute; left: .45rem; top: 50%; width: .45rem; height: .45rem; margin-top: -.225rem; border-radius: 50%; background: var(--cream); border: 2px solid var(--ink); }
.price-tag .q { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.price-tag .p { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-tag .s { font-size: .75rem; font-weight: 700; }
.price-tag.big .p { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem); }
.was { font-size: .8rem; color: var(--tomato); font-weight: 800; }
.was s { color: var(--ink-2); font-weight: 600; }

/* ---------- save to basket button */
.save-btn { display: inline-flex; align-items: center; gap: .35rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: .35rem .7rem; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; color: var(--ink); }
.save-btn:hover { background: var(--yellow-50); }
.save-btn[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.save-btn[hidden] { display: none; }

/* ---------- results */
.results-layout { display: grid; grid-template-columns: 290px 1fr; gap: 1.8rem; align-items: start; padding-bottom: 3rem; }
.filters { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow-s); position: sticky; top: 1rem; }
.filters h2 { font-size: 1.15rem; display: flex; align-items: center; gap: .4rem; }
.filters .field { margin-bottom: .8rem; }
.filters details summary { cursor: pointer; font-weight: 800; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.results-bar .count { font-weight: 800; font-size: 1.05rem; }
.view-toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius-s); overflow: hidden; }
.view-toggle a { display: inline-flex; gap: .3rem; align-items: center; padding: .35rem .7rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--s-1); background: var(--paper); }
.view-toggle a[aria-current="true"] { background: var(--ink); color: var(--yellow); }
.sort-form { display: flex; gap: .5rem; align-items: center; }
.sort-form label { margin: 0; font-size: var(--s-1); }
.sort-form select { min-height: 38px; padding-top: .3rem; padding-bottom: .3rem; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; padding: .4rem .8rem; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--paper); font-weight: 700; font-size: .92rem; }
.chips a:hover { background: var(--yellow); }
.chips a small { color: var(--ink-2); font-weight: 600; }
.empty { text-align: center; padding: 2.5rem 1rem; border: 2px dashed var(--ink-3); border-radius: var(--radius); background: var(--paper); }
.pagination { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0 0; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .6rem; border: 2px solid var(--ink); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); background: var(--paper); font-weight: 700; }
.pagination [aria-current="page"] { background: var(--ink); color: var(--yellow); }
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
}

/* ---------- property page */
.prop-top > * { min-width: 0; }
.results-layout > *, .form-layout > *, .tool-layout > *, .article > * { min-width: 0; }
.prop-top { display: grid; grid-template-columns: 1fr 360px; gap: 1.8rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.gallery a { display: block; position: relative; overflow: hidden; background: var(--sky); }
.gallery a:first-child { grid-row: 1 / span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery .more { position: absolute; right: .6rem; bottom: .6rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: .25rem .7rem; font-weight: 800; font-size: .85rem; color: var(--ink); }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0 .2rem; list-style: none; margin: 0; }
.thumbs a { display: block; width: 96px; flex: none; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.thumbs img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.prop-title { margin: 1.4rem 0 .3rem; }
.prop-addr { color: var(--ink-2); font-size: 1.05rem; display: flex; gap: .35rem; align-items: center; margin-bottom: 1rem; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; list-style: none; margin: 1rem 0 1.6rem; padding: 0; }
.keyfacts li { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .6rem .75rem; }
.keyfacts .k { display: flex; gap: .35rem; align-items: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 700; }
.keyfacts .v { font-weight: 800; font-size: 1.05rem; }
.side-box { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; margin-bottom: 1.2rem; }
.side-box h2 { font-size: 1.15rem; }
.side-sticky { position: sticky; top: 1rem; }
.agent-card { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.agent-logo { width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: var(--radius-s); background: var(--green-50); display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--green-d); overflow: hidden; flex: none; }
.agent-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.agent-card strong { display: block; line-height: 1.2; }
.prop-section { margin: 2rem 0; }
.prop-section h2 { font-size: var(--s2); border-bottom: 2px solid var(--ink); padding-bottom: .4rem; }
.features { columns: 2 220px; padding: 0; list-style: none; margin: 0; }
.features li { break-inside: avoid; padding: .3rem 0 .3rem 1.6rem; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: .72rem; width: .85rem; height: .45rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.matinfo { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); margin: 0; }
.matinfo div { padding: .7rem .9rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.matinfo dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; color: var(--ink-2); }
.matinfo dd { margin: .1rem 0 0; font-weight: 700; }
.epc { display: inline-block; min-width: 2em; text-align: center; padding: 0 .4em; border-radius: 4px; color: #fff; font-weight: 900; border: 2px solid var(--ink); }
.epc-A { background: #008054; } .epc-B { background: #19b459; color: var(--ink); } .epc-C { background: #8dce46; color: var(--ink); } .epc-D { background: #ffd500; color: var(--ink); } .epc-E { background: #fcaa65; color: var(--ink); } .epc-F { background: #ef8023; color: var(--ink); } .epc-G { background: #e9153b; }
.area-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; list-style: none; margin: 0; padding: 0; }
.area-links a { display: block; height: 100%; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .8rem .9rem; text-decoration: none; color: var(--ink); }
.area-links a:hover { background: var(--yellow-50); }
.area-links strong { display: flex; justify-content: space-between; gap: .5rem; }
.area-links span { display: block; color: var(--ink-2); font-size: var(--s-1); margin-top: .2rem; }
.calc-mini { align-items: start; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.description p { max-width: 70ch; }
@media (max-width: 980px) {
  .prop-top { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 10; }
  .gallery a:not(:first-child) { display: none; }
}

/* ---------- lightbox */
.lightbox { border: 2px solid var(--ink); border-radius: var(--radius); padding: 0; background: var(--ink); color: #fff; width: min(1100px, 96vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(15, 22, 25, .85); }
.lightbox figure { margin: 0; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lightbox figcaption { padding: .6rem 1rem; font-size: var(--s-1); color: #e5ecef; text-align: center; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: .5rem; gap: .5rem; }
.lb-bar button { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .45rem .8rem; font: inherit; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.lb-count { font-weight: 700; }

/* ---------- receipt (calculator results) */
.receipt { background: #fffdf7; border: 2px solid var(--ink); border-radius: 4px; padding: 1.2rem 1.2rem 1.6rem; font-family: var(--font-mono); font-size: .92rem; box-shadow: var(--shadow); position: relative; max-width: 560px; }
.receipt::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -12px; height: 12px; background: linear-gradient(135deg, #fffdf7 6px, transparent 0) 0 0 / 12px 12px, linear-gradient(-135deg, #fffdf7 6px, transparent 0) 0 0 / 12px 12px; }
.receipt h2, .receipt h3 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; text-align: center; border-bottom: 2px dashed var(--ink); padding-bottom: .5rem; }
.receipt table { width: 100%; border-collapse: collapse; }
.receipt td, .receipt th { padding: .3rem 0; text-align: left; vertical-align: top; }
.receipt td:last-child, .receipt th:last-child { text-align: right; white-space: nowrap; }
.receipt .total td, .receipt .total th { border-top: 2px dashed var(--ink); font-size: 1.15rem; font-weight: 800; padding-top: .6rem; }
.receipt .big-total { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); font-weight: 900; text-align: center; margin: .3rem 0 .6rem; font-family: var(--font-head); }
.receipt .note { font-size: .82rem; color: var(--ink-2); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 2rem; }
.tool-form { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-s); }
@media (max-width: 860px) { .tool-layout { grid-template-columns: 1fr; } }
.rates-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--ink); margin: 1rem 0; font-size: .95rem; }
.rates-table th, .rates-table td { padding: .5rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.rates-table thead th { background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; }

/* ---------- tiles (tools, guides) */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 0; }
.tile { position: relative; display: flex; flex-direction: column; gap: .4rem; height: 100%; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow-s); color: var(--ink); text-decoration: none; }
.tile:hover { background: var(--yellow-50); color: var(--ink); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.tile .tile-icon { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; }
.tile .tile-icon .icon { width: 1.4rem; height: 1.4rem; }
.tile strong { font-family: var(--font-head); font-size: 1.1rem; line-height: 1.25; }
.tile span { color: var(--ink-2); font-size: .95rem; }

/* ---------- guide article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2.5rem; align-items: start; padding-bottom: 3rem; }
.article .prose { font-size: 1.06rem; max-width: 72ch; }
.prose h2 { margin-top: 1.8em; font-size: var(--s2); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose .callout { border: 2px solid var(--ink); border-left-width: 8px; background: var(--yellow-50); padding: .9rem 1.1rem; border-radius: var(--radius-s); margin: 1.2rem 0; }
.prose table { border-collapse: collapse; width: 100%; background: var(--paper); margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; }
.prose th { background: var(--green-50); }
.toc { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.1rem; position: sticky; top: 1rem; }
.toc ol { padding-left: 1.2rem; margin: 0; font-size: .95rem; }
.sources { font-size: .92rem; background: var(--paper); border: 2px dashed var(--ink-3); border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: 2rem; }
.sources ul { padding-left: 1.1rem; margin: .4rem 0 0; }
.meta-line { color: var(--ink-2); font-size: var(--s-1); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- misc blocks */
.cta-band { background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-s); }
.ticklist { list-style: none; padding: 0; }
.ticklist li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; }
.ticklist li::before { content: ""; position: absolute; left: .1rem; top: .45rem; width: .9rem; height: .45rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.agent-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.agent-tile { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow-s); }
.agent-tile h2 { font-size: 1.15rem; margin: 0; }
.agent-tile h2 a { color: var(--ink); text-decoration: none; }
.agent-tile h2 a::after { content: ""; position: absolute; inset: 0; }
.agent-tile:hover { background: var(--yellow-50); }
.notfound-art { max-width: 360px; margin: 0 auto 1rem; }

/* ---------- footer */
.site-footer { background: var(--green-d); color: #e3efe9; border-top: 2px solid var(--ink); margin-top: 3rem; padding: 2.6rem 0 1.4rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 2rem; padding-top: 1rem; font-size: var(--s-1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--yellow); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- admin */
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar .wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; min-height: 56px; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 700; padding: .3rem .5rem; border-radius: 6px; }
.admin-bar a:hover, .admin-bar a[aria-current="page"] { background: rgba(255, 255, 255, .15); color: var(--yellow); }
.admin-bar form { margin-left: auto; }
.admin-main { padding-top: 1.5rem; padding-bottom: 3rem; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--ink); font-size: .92rem; }
.admin-table th, .admin-table td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table thead th { background: var(--green-50); position: sticky; top: 0; }
.admin-table tr.unread td { font-weight: 700; background: var(--yellow-50); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; margin-bottom: 1.5rem; }
.stat { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .8rem 1rem; }
.stat b { display: block; font-size: 1.8rem; font-family: var(--font-head); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; list-style: none; padding: 0; }
.photo-grid li { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: .6rem; }
.photo-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; display: block; margin-bottom: .5rem; }
.photo-actions { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .4rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 1rem; }
.form-grid .wide { grid-column: 1 / -1; }
.admin-section { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1.4rem; background: var(--paper); }
.admin-section h2 { font-size: 1.2rem; }
.inline-form { display: inline; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.toolbar .field { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .tile:hover, .btn:hover, .aisle:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .demo-banner, .filters, .save-btn, .enquiry-box { display: none !important; }
  body { background: #fff; }
}
