/* Lasersearch Property.
 *
 * Built on how good property houses actually set a page: warm paper rather than
 * white, a Caslon serif for anything you read, small letterspaced caps for
 * every label, photographs doing the heavy lifting, and — checked against The
 * Modern House and Inigo — no rounded corners and no shadows anywhere.
 *
 * Colour is reserved. Ink on paper, and three muted stamps for the only three
 * things the product ever says: new, price cut, gone.
 */

:root {
  --ink:            #141a2e;
  --ink-2:          #47506b;
  --ink-3:          #5b6484;
  --bg:             #ffffff;
  --surface:        #f4f6fa;   /* the band colour, a cool near-white */
  --surface-2:      #e8ecf4;
  --line:           #d8dee9;
  --line-strong:    #9aa4bb;
  --rule:           #141a2e;

  /* stamps, not status LEDs */
  --new:            #0b7a44;
  --new-soft:       #dcf4e6;
  --cut:            #a35a00;
  --cut-soft:       #fdeed6;
  --gone:           #b32d24;
  --gone-soft:      #fce4e1;
  --new-ink:        #ffffff;
  --cut-ink:        #ffffff;
  --gone-ink:       #ffffff;

  --accent:         #1550e0;
  --accent-deep:    #0f3bb0;
  --accent-soft:    #e3ebfd;
  --warn:           #a35a00;
  --warn-soft:      #fdeed6;
  --danger:         #b32d24;
  --danger-soft:    #fce4e1;

  --brand:          #1550e0;
  --brand-ink:      #ffffff;
  --band-bg:        #141a2e;
  --band-ink:       #eef2fb;
  --info:           #1550e0;
  --info-soft:      #e3ebfd;
  --focus:          #1550e0;

  --radius:         8px;
  --radius-sm:      6px;
  --shadow:         none;
  --shadow-lift:    none;
  --shimmer:        rgba(20, 26, 46, .07);
  --tabbar-h:       58px;

  --font:           "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-display:   "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-ui:        "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono:      var(--font-ui);
}

/* Evening: the same paper, turned down. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:          #eaeefb;
    --ink-2:        #a8b2ce;
    --ink-3:        #949fbe;
    --bg:           #0d1120;
    --surface:      #151b30;
    --surface-2:    #1d2440;
    --line:         #2b3350;
    --line-strong:  #47517a;
    --rule:         #eaeefb;

    --new:          #4bd68b;
    --new-soft:     #10301f;
    --cut:          #f2b14e;
    --cut-soft:     #33260f;
    --gone:         #ff7a6e;
    --gone-soft:    #351a17;
    --new-ink:      #06180e;
    --cut-ink:      #201704;
    --gone-ink:     #2a0e0a;

    --accent:       #6f9dff;
    --accent-soft:  #16224a;
    --accent-deep:  #a8c2ff;
    --warn:         #f2b14e;
    --warn-soft:    #33260f;
    --danger:       #ff7a6e;
    --danger-soft:  #351a17;

    --brand:        #6f9dff;
    --brand-ink:    #08122b;
    --band-bg:      #1d2440;
    --band-ink:     #eaeefb;
    --info:         #6f9dff;
    --info-soft:    #16224a;
    --focus:        #6f9dff;
    --shimmer:      rgba(234, 238, 251, .07);
  }
}

:root[data-theme="dark"] {
  --ink:          #eaeefb;
  --ink-2:        #a8b2ce;
  --ink-3:        #949fbe;
  --bg:           #0d1120;
  --surface:      #151b30;
  --surface-2:    #1d2440;
  --line:         #2b3350;
  --line-strong:  #47517a;
  --rule:         #eaeefb;

  --new:          #4bd68b;
  --new-soft:     #10301f;
  --cut:          #f2b14e;
  --cut-soft:     #33260f;
  --gone:         #ff7a6e;
  --gone-soft:    #351a17;
  --new-ink:      #06180e;
  --cut-ink:      #201704;
  --gone-ink:     #2a0e0a;

  --accent:       #6f9dff;
  --accent-soft:  #16224a;
    --accent-deep:  #a8c2ff;
  --warn:         #f2b14e;
  --warn-soft:    #33260f;
  --danger:       #ff7a6e;
  --danger-soft:  #351a17;

  --brand:        #6f9dff;
  --brand-ink:    #08122b;
  --band-bg:      #1d2440;
  --band-ink:     #eaeefb;
  --info:         #6f9dff;
  --info-soft:    #16224a;
  --focus:        #6f9dff;
  --shimmer:      rgba(234, 238, 251, .07);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  margin: 0; font-family: var(--font-display);
  font-weight: 400; line-height: 1.14; letter-spacing: 0; text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

:where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px;
  font-family: var(--font-ui); font-size: 13px;
}
.skip-link:focus { left: 0; }

/* Every label, control and number is set in the grotesque, small and tracked —
   the one move both reference sites lean on hardest. */
.meta-line, .badge, .chip, .dev-label, .toolbar-count, .card-agent,
.spec-row, .alert-sub, .dl, .btn, .sort-select, .field > label,
.fieldset-legend, .back-link, .section-head h2, .brand-sub, .topbar-meta {
  font-family: var(--font-ui);
}
.card-price, .detail-price, .match-price {
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
}

/* ---------- layout ---------- */
.app { min-height: 100vh; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.brand-mark { color: var(--ink); display: flex; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong {
  font-family: var(--font-display); font-size: 19px; font-weight: 400; letter-spacing: .01em;
}
.brand-sub {
  font-size: 10px; color: var(--ink-3); letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px;
}
.topbar-meta {
  font-size: 10px; color: var(--ink-3); text-align: right; line-height: 1.7;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.topbar-meta b { color: var(--ink-2); font-weight: 600; }

.main { padding: 22px 18px calc(var(--tabbar-h) + 30px); max-width: 1200px; margin: 0 auto; outline: none; }

.sidenav { display: none; }

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  height: var(--tabbar-h); text-decoration: none; color: var(--ink-3);
  font-family: var(--font-ui); font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
}
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 1px; background: var(--ink);
}
.nav-ico { font-size: 15px; line-height: 1; }
.tab-badge, .nav-badge {
  min-width: 16px; height: 16px; padding: 0 4px; background: var(--gone); color: var(--gone-ink);
  font-family: var(--font-ui); font-size: 9.5px; font-weight: 700; line-height: 16px; text-align: center;
}
.tab-badge { position: absolute; top: 6px; left: 56%; }

@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 232px 1fr; grid-template-rows: auto 1fr; }
  .topbar { grid-column: 1 / -1; padding: 14px 26px; }
  .tabbar { display: none; }
  .sidenav {
    display: flex; flex-direction: column; justify-content: space-between;
    border-right: 1px solid var(--line); background: var(--bg);
    padding: 20px 0 14px; position: sticky; top: 60px; height: calc(100vh - 60px);
  }
  .sidenav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
  .sidenav a {
    display: flex; align-items: center; gap: 11px; padding: 9px 24px;
    text-decoration: none; color: var(--ink-2);
    font-family: var(--font-ui); font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
  }
  .sidenav a:hover { color: var(--ink); }
  .sidenav a[aria-current="page"] { color: var(--ink); }
  .sidenav a[aria-current="page"] .nav-ico { color: var(--accent); }
  .nav-count { margin-left: auto; font-size: 10px; color: var(--ink-3); letter-spacing: .08em; }
  .nav-badge { margin-left: auto; }
  .main { padding: 30px 26px 64px; }
}

.sidenav-foot { border-top: 1px solid var(--line); padding: 14px 24px 0; }
.sidenav-account, .sidenav-exit {
  display: block; padding: 5px 0; text-decoration: none; color: var(--ink-3);
  font-family: var(--font-ui); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.sidenav-account:hover, .sidenav-exit:hover { color: var(--ink); }
.dev-label {
  display: block; font-size: 9px; text-transform: uppercase; font-weight: 600;
  letter-spacing: .18em; color: var(--ink-3); margin: 14px 0 6px;
}
.dev-select {
  width: 100%; padding: 7px 8px; font-family: var(--font-ui); font-size: 11px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 0;
}
.dev-note { font-family: var(--font-ui); font-size: 10px; color: var(--ink-3); margin-top: 6px; }

/* ---------- headings ---------- */
.page-head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.page-head p { color: var(--ink-2); font-size: 16px; margin-top: 10px; max-width: 62ch; }

.section-head {
  display: flex; align-items: baseline; gap: 12px;
  margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.section-head:first-of-type { margin-top: 0; }
.section-head h2 {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
}
.section-head .meta-line { margin-left: auto; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 1px solid var(--accent); border-radius: var(--radius-sm);
  background: var(--accent); color: var(--brand-ink);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  text-decoration: none; cursor: pointer; transition: background .14s, color .14s, border-color .14s;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--accent); color: var(--brand-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.btn-sm { padding: 9px 14px; font-size: 9.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 0;
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  background: transparent; color: var(--ink-2); border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.badge-source { border-style: dotted; }
.badge-new { background: var(--new); color: var(--new-ink); border-color: var(--new); }
.badge-price { background: var(--cut); color: var(--cut-ink); border-color: var(--cut); }
.badge-stc, .badge-removed { background: var(--gone); color: var(--gone-ink); border-color: var(--gone); }
.badge-verified { background: transparent; color: var(--info); border-color: var(--info); }
.badge-core { background: var(--accent); color: var(--brand-ink); border-color: var(--accent); }

.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  padding: 9px 14px; border-radius: 0; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2);
  font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--brand-ink); }

.meta-line { font-size: 10px; color: var(--ink-3); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.live-dot { display: inline-block; width: 5px; height: 5px; background: var(--accent); margin-right: 6px; vertical-align: middle; }

/* ---------- states ---------- */
.state { text-align: center; padding: 56px 24px; border-top: 1px solid var(--line); }
.state-ico { display: none; }
.state h2 { font-size: 26px; margin-bottom: 10px; }
.state p { color: var(--ink-2); font-size: 16px; max-width: 46ch; margin: 0 auto 20px; }

.skeleton { position: relative; overflow: hidden; background: var(--surface-2); }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--shimmer), transparent);
  transform: translateX(-100%); animation: shimmer 1.3s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton::after { animation: none; } }
.sk-img { aspect-ratio: 4 / 3; }
.sk-line { height: 11px; margin: 11px 14px; }
.sk-line.w-40 { width: 40%; } .sk-line.w-70 { width: 70%; } .sk-line.w-55 { width: 55%; }

/* ---------- forms ---------- */
.form-card { padding: 24px 22px; display: grid; gap: 22px; }
.field { display: grid; gap: 7px; }
.field > label, .fieldset-legend {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-3);
}
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field input[type="password"], .field select {
  width: 100%; padding: 12px 13px; border-radius: 0;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px;
}
.field input:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus { border-color: var(--ink); }
.field-hint { font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.field-error { font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--gone); }
.field.has-error input { border-color: var(--gone); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 9px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-strong); }
.segmented button {
  padding: 13px; border: 0; background: transparent; cursor: pointer; color: var(--ink-3);
  font-family: var(--font-ui); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
}
.segmented button + button { border-left: 1px solid var(--line-strong); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.switch-row { display: flex; align-items: flex-start; gap: 13px; padding: 14px; border: 1px solid var(--line); }
.switch-row input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--ink); }
.switch-row label { font-size: 15px; }

.saved-list { display: grid; border-top: 1px solid var(--line); }
.saved-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 0;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
}
.saved-item .saved-main { flex: 1; min-width: 0; }
.saved-item h3 { font-size: 20px; }

.callout {
  display: flex; gap: 11px; padding: 13px 15px;
  border-left: 2px solid var(--info); background: var(--info-soft); color: var(--info);
  font-family: var(--font-ui); font-size: 13.5px; line-height: 1.55;
}
.callout.callout-warn { border-left-color: var(--cut); background: var(--cut-soft); color: var(--cut); }
.callout.callout-danger { border-left-color: var(--gone); background: var(--gone-soft); color: var(--gone); }

/* ---------- results toolbar ---------- */
.toolbar {
  position: sticky; top: 54px; z-index: 20;
  display: grid; gap: 11px; padding: 0 0 14px; margin-bottom: 22px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .toolbar { top: 0; padding-top: 6px; } }
.toolbar-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar-count { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.toolbar-count span { color: var(--ink-3); font-weight: 500; }
.toolbar-spacer { flex: 1 1 auto; }
.sort-select {
  padding: 8px 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  border-radius: 0; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}
.summary-chips { gap: 6px; }

/* ---------- listings: photography first ---------- */
.grid-cards { display: grid; gap: 34px 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.listing-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: transparent; border: 0;
}
.card-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface-2);
  overflow: hidden; border-radius: var(--radius);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.listing-card:hover .card-media img { transform: scale(1.03); }
.card-media .ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; background: var(--surface-2);
  color: var(--ink-3); font-family: var(--font-ui); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: .16em;
}
.card-media .ph span:first-child { font-size: 20px; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-badges .badge { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.card-badges .badge-new { background: var(--new); color: var(--new-ink); border-color: var(--new); }
.card-badges .badge-price { background: var(--cut); color: var(--cut-ink); border-color: var(--cut); }
.card-badges .badge-stc { background: var(--gone); color: var(--gone-ink); border-color: var(--gone); }
.card-body { padding: 14px 0 0; display: grid; gap: 5px; }
.card-price { font-size: 21px; }
.card-price small { font-family: var(--font-ui); font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.card-title { font-size: 16px; font-weight: 400; }
.card-addr { font-size: 15px; color: var(--ink-2); }
.spec-row {
  display: flex; gap: 12px; flex-wrap: wrap; font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .13em; font-weight: 500; margin-top: 2px;
}
.spec-row b { font-weight: 700; color: var(--ink-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.card-agent {
  font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .13em; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- detail ---------- */
.detail { display: grid; gap: 30px; }
@media (min-width: 940px) { .detail { grid-template-columns: 1.35fr 1fr; align-items: start; gap: 44px; } }
.detail-hero { border: 0; background: transparent; }
.detail-hero .card-media { aspect-ratio: 4 / 3; }
.detail-side { display: grid; gap: 26px; }
.detail-panel { padding: 0; display: grid; gap: 14px; border: 0; background: transparent; }
.detail-panel + .detail-panel { padding-top: 22px; border-top: 1px solid var(--line); }
.detail-price { font-size: 34px; }
.detail-price small { font-family: var(--font-ui); font-size: 12px; color: var(--ink-3); letter-spacing: .12em; }
.detail-title { font-size: 27px; }
.dl { display: grid; margin: 0; font-size: 13px; }
.dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dl div:last-child { border-bottom: 0; }
.dl dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: .14em; font-size: 9.5px; font-weight: 600; }
.dl dd { margin: 0; text-align: right; font-weight: 600; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px;
  font-size: 9.5px; font-weight: 700; color: var(--ink-3);
  text-decoration: none; text-transform: uppercase; letter-spacing: .16em;
}
.back-link:hover { color: var(--ink); }

/* ---------- agents ---------- */
.agent-card { padding: 22px 0; display: grid; gap: 10px; border: 0; border-top: 1px solid var(--line); background: transparent; }
.agent-card.is-core { border-top-color: var(--ink); }
.agent-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.agent-top h3 { font-size: 22px; }
.agent-snippet { font-size: 15px; color: var(--ink-2); max-width: 60ch; }
.agent-areas { font-family: var(--font-ui); font-size: 12px; color: var(--ink-3); }
.contact-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.contact-row a { text-decoration: none; }

/* ---------- updates ---------- */
.alert-list { display: grid; border-top: 1px solid var(--line); }
.alert-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
  width: 100%; padding: 16px 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
}
.alert-row:hover .alert-msg { text-decoration: underline; text-underline-offset: 3px; }
.alert-row.is-static { cursor: default; }
.alert-ico {
  min-width: 46px; height: 20px; padding: 0 7px; display: grid; place-items: center;
  font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: .14em;
  background: transparent; color: var(--ink-3); border: 1px solid var(--line-strong);
}
.alert-ico.t-new_listing { background: var(--new); color: var(--new-ink); border-color: var(--new); }
.alert-ico.t-price_drop { background: var(--cut); color: var(--cut-ink); border-color: var(--cut); }
.alert-ico.t-removed { background: var(--gone); color: var(--gone-ink); border-color: var(--gone); }
.alert-main { min-width: 0; display: grid; gap: 5px; }
.alert-msg { font-size: 17px; }
.alert-sub {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 9.5px; color: var(--ink-3); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.alert-sub .badge { border: 0; padding: 0; letter-spacing: .14em; }
.alert-preview { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.alert-preview img, .alert-preview .ph-mini {
  width: 76px; height: 57px; object-fit: cover; flex: none;
  background: var(--surface-2); display: grid; place-items: center; color: var(--ink-3); font-size: 15px;
}
.alert-preview-text { min-width: 0; font-size: 14px; color: var(--ink-2); }
.alert-preview-text b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); font-weight: 400; }
.unread-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; }

/* ---------- explainer ---------- */
.explainer {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; margin-bottom: 22px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
}
.explainer b { color: var(--ink); font-weight: 700; }
.explainer a { color: var(--ink); text-underline-offset: 3px; }
.explainer .dismiss {
  margin-left: auto; flex: none; border: 0; background: transparent; color: var(--ink-3);
  font-size: 17px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.explainer .dismiss:hover { color: var(--ink); }
.term { border-bottom: 1px dotted currentColor; cursor: help; text-decoration: none; }

@media (max-width: 899px) {
  .chip, .btn-sm { min-height: 42px; }
  .topbar-meta { max-width: 42%; }
}
