/* LandWell v6. Follows the Airbnb Light design file (design.md): soft neutral surfaces, white cards, a coral accent used sparingly,
   pill-shaped controls, generous spacing and flat surfaces. The brand typeface named there is not licensed for LandWell, so the
   device's system font stands in. Type sizes are in rem so text grows with the device setting and the in-app text size. */
:root {
  --bg: #f7f7f7; --card: #ffffff; --well: #f5f5f5; --ink: #1f1f1f; --ink2: #6c6c6c; --ink3: #8a8a8a; --line: #e5e7eb; --field: #8c8c8c;
  --brand: #da1249; --brand-ink: #c30f42; --on-brand: #ffffff; --tint: #fdeef2; --sheet: #fffcf7;
  --ok: #067647; --ok-bg: #ecfdf3; --warn: #8a5300; --warn-bg: #fff4e0; --bad: #c81e1e; --bad-bg: #fef2f2;
  --m-low: #067647; --m-med: #b26f00; --m-high: #dc2626;
  --shadow: 0 6px 20px rgba(0, 0, 0, .12); --shadow-s: 0 1px 2px rgba(0, 0, 0, .08);
  --r: 8px; --r-s: 8px; --r-l: 16px; --r-xl: 24px; --bw: 1px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161616; --card: #202020; --well: #2b2b2b; --ink: #f5f5f5; --ink2: #b3b3b3; --ink3: #8f8f8f; --line: #363636; --field: #8f8f8f;
    --brand: #e31c5f; --brand-ink: #ff8fa8; --on-brand: #ffffff; --tint: #3a1622; --sheet: #202020;
    --ok: #6ee7a0; --ok-bg: #12301f; --warn: #ffc94d; --warn-bg: #3a2d0e; --bad: #ff8f80; --bad-bg: #3d1a15;
    --m-low: #6ee7a0; --m-med: #ffc94d; --m-high: #ff8f80;
    --shadow: 0 6px 20px rgba(0, 0, 0, .5); --shadow-s: 0 1px 3px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161616; --card: #202020; --well: #2b2b2b; --ink: #f5f5f5; --ink2: #b3b3b3; --ink3: #8f8f8f; --line: #363636; --field: #8f8f8f;
  --brand: #e31c5f; --brand-ink: #ff8fa8; --on-brand: #ffffff; --tint: #3a1622; --sheet: #202020;
  --ok: #6ee7a0; --ok-bg: #12301f; --warn: #ffc94d; --warn-bg: #3a2d0e; --bad: #ff8f80; --bad-bg: #3d1a15;
  --m-low: #6ee7a0; --m-med: #ffc94d; --m-high: #ff8f80;
  --shadow: 0 6px 20px rgba(0, 0, 0, .5); --shadow-s: 0 1px 3px rgba(0, 0, 0, .4); color-scheme: dark;
}
/* Higher contrast: darker secondary text, stronger outlines. Follows the device setting or the in-app switch. */
:root[data-contrast="more"] { --ink2: #3f3f3f; --ink3: #555555; --line: #6f6f6f; --field: #3f3f3f; --bw: 2px; --well: #eeeeee; }
@media (prefers-contrast: more) { :root { --ink2: #3f3f3f; --ink3: #555555; --line: #6f6f6f; --field: #3f3f3f; --bw: 2px; } }
:root[data-contrast="more"][data-theme="dark"] { --ink2: #e8e8e8; --ink3: #c8c8c8; --line: #9a9a9a; --field: #e8e8e8; --well: #2e2e2e; }
@media (prefers-color-scheme: dark) {
  :root[data-contrast="more"]:not([data-theme="light"]) { --ink2: #e8e8e8; --ink3: #c8c8c8; --line: #9a9a9a; --field: #e8e8e8; --well: #2e2e2e; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink2: #e8e8e8; --ink3: #c8c8c8; --line: #9a9a9a; --field: #e8e8e8; } }
html { font-size: 100%; }
html[data-text="125"] { font-size: 125%; }
html[data-text="150"] { font-size: 150%; }
html[data-text="200"] { font-size: 200%; }

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--font); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; }
svg { display: block; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.main:focus, h1[tabindex]:focus, h2[tabindex]:focus, .sheet:focus { outline: none; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 40; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: calc(8px + env(safe-area-inset-top)); }

/* ---------- shell ---------- */
.app { height: 100%; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: 1fr auto; }
.bar { grid-row: 1; grid-column: 1; display: flex; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 20px 8px; min-height: 56px; }
.bar-acts { grid-row: 1; grid-column: 2; display: flex; align-items: center; gap: 2px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px 0; }
.main { grid-row: 2; grid-column: 1 / -1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.tabs { grid-row: 3; grid-column: 1 / -1; display: flex; border-top: var(--bw) solid var(--line); background: var(--card); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); }
.app.bare .tabs, .app.bare .bar-acts { display: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); min-height: 44px; }
.bar { min-width: 0; }
.brand { min-width: 0; max-width: 100%; }
.brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* the wordmark trims at very large text on narrow phones rather than pushing the page sideways */
.brand svg { border-radius: 9px; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 4px 2px; font-size: min(.75rem, 15px); font-weight: 600; color: var(--ink2); text-decoration: none; border-radius: 12px; }
.tab[aria-current="page"] { color: var(--brand-ink); }
.tab[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); text-decoration: none; flex: none; }
.icon-btn:hover { background: var(--well); }
.icon-btn[aria-current="page"] { background: var(--tint); color: var(--brand-ink); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }
.avatar.lg { width: 48px; height: 48px; }
.net { position: fixed; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 15; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--bg); font-size: .8125rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 8px 20px 48px; }
.wrap.wide { max-width: 1040px; }
@media (min-width: 900px) {
  .app { grid-template-rows: auto 1fr; grid-template-columns: auto 1fr auto; }
  .bar { grid-column: 1; padding: 12px 16px 12px 32px; }
  .tabs { grid-row: 1; grid-column: 2; border: 0; background: none; justify-content: center; gap: 6px; padding: 10px 0; align-items: center; }
  .bar-acts { grid-column: 3; padding: 12px 28px 12px 0; }
  .main { grid-row: 2; border-top: var(--bw) solid var(--line); }
  .tab { flex: none; flex-direction: row; gap: 8px; min-height: 44px; padding: 0 16px; font-size: .9375rem; border-radius: 999px; }
  .tab:hover { background: var(--well); }
  .tab[aria-current="page"] { color: var(--ink); background: var(--card); box-shadow: var(--shadow-s); }
  .tab[aria-current="page"] span { text-decoration: none; }
  .tab svg { width: 18px; height: 18px; }
  .wrap { padding: 28px 24px 72px; }
}

/* ---------- type and spacing ---------- */
.h1 { font-size: min(1.75rem, 10vw); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: 1rem; line-height: 1.35; font-weight: 700; }
.lead { font-size: 1.0625rem; color: var(--ink2); }
.muted { color: var(--ink2); }
.small { font-size: .875rem; line-height: 1.45; }
.tiny { font-size: .8125rem; line-height: 1.4; }
.link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.sec { margin-top: 28px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; }
.stack > * + * { margin-top: 10px; }
.gap-s { margin-top: 8px; } .gap { margin-top: 16px; } .gap-l { margin-top: 24px; }
.center { text-align: center; } .center-row { justify-content: center; }
.brk { overflow-wrap: anywhere; }
.grow { flex: 1; min-width: 0; } .clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; display: block; }
.foot { font-size: .8125rem; color: var(--ink2); line-height: 1.45; }
.src { font-size: .8125rem; color: var(--ink2); }
@media (min-width: 900px) { .h1 { font-size: 2.125rem; } }

/* ---------- buttons, chips, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 22px; border-radius: var(--r-s); background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; text-align: center; border: 0; }
.btn:hover { background: var(--brand-ink); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--well); }
.btn.sm { min-height: 44px; padding: 6px 16px; font-size: .9375rem; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .4; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 6px; margin-left: -20px; margin-right: -20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrapc { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
.chip { flex: none; min-height: 44px; padding: 4px 16px; border-radius: 999px; border: var(--bw) solid var(--field); font-size: .9375rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; background: var(--card); max-width: 100%; text-align: left; }
.chips:not(.wrapc) .chip { white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.field { display: block; }
.field-l { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.field-h { display: block; font-size: .8125rem; color: var(--ink2); margin-top: 6px; }
.inp { width: 100%; min-height: 52px; padding: 8px 14px; border: var(--bw) solid var(--field); border-radius: var(--r-s); background: var(--card); font-size: 1rem; appearance: none; -webkit-appearance: none; }
.inp:focus { outline: 3px solid var(--ink); outline-offset: -1px; border-color: transparent; }
.inp[aria-invalid="true"] { border-color: var(--bad); border-width: 2px; }
.inp.code { font-size: min(1.5rem, 8vw); font-weight: 700; letter-spacing: .25em; text-align: center; }
select.inp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 44px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.seg { display: flex; flex-wrap: wrap; padding: 4px; background: var(--well); border-radius: var(--r-s); gap: 4px; }
.seg button { flex: 1 1 auto; min-height: 44px; padding: 4px 10px; border-radius: 9px; font-weight: 700; font-size: .9375rem; text-align: center; color: var(--ink2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-s), inset 0 0 0 var(--bw) var(--field); }
.err { display: flex; gap: 8px; align-items: flex-start; color: var(--bad); font-weight: 600; font-size: .9375rem; margin-top: 10px; }
.err svg { margin-top: 3px; }

/* ---------- cards, rows, notes, badges ---------- */
.card { border: var(--bw) solid var(--line); border-radius: var(--r); padding: 16px; background: var(--card); }
.card.soft { border-color: transparent; background: var(--well); }
.card.tint { border-color: transparent; background: var(--tint); }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > * + *, .rows > * + * { border-top: var(--bw) solid var(--line); }
.card.flush.pad { padding: 2px 16px; }
.card.rows { padding: 2px 16px; }
.rowline { display: flex; gap: 12px; align-items: flex-start; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; width: 100%; min-height: 56px; text-decoration: none; color: inherit; text-align: left; }
.row:hover { background: var(--well); }
div.row:hover { background: none; }
.row-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--well); display: grid; place-items: center; flex: none; color: var(--ink); }
.row-ic.t-ok { background: var(--ok-bg); color: var(--ok); } .row-ic.t-warn { background: var(--warn-bg); color: var(--warn); } .row-ic.t-bad { background: var(--bad-bg); color: var(--bad); }
.card.tint .row-ic.t-ok { background: var(--card); }
.row-b { flex: 1; min-width: 0; display: block; }
.row-t { display: block; font-weight: 600; line-height: 1.3; }
.row-d { display: block; font-size: .875rem; color: var(--ink2); margin-top: 2px; }
.row-b .badge { margin-top: 6px; }
.row-r { color: var(--ink3); flex: none; display: flex; align-items: center; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-s); background: var(--well); font-size: .9375rem; line-height: 1.45; border: var(--bw) solid transparent; }
.note > svg { margin-top: 1px; }
.note > div { min-width: 0; flex: 1; }
.note .btns { display: flex; }
.note.t-warn { background: var(--warn-bg); } .note.t-warn > svg { color: var(--warn); }
.note.t-bad { background: var(--bad-bg); } .note.t-bad > svg { color: var(--bad); }
.note.t-ok { background: var(--ok-bg); } .note.t-ok > svg { color: var(--ok); }
:root[data-contrast="more"] .note, :root[data-contrast="more"] .card.tint, :root[data-contrast="more"] .card.soft, :root[data-contrast="more"] .heads, :root[data-contrast="more"] .verdict, :root[data-contrast="more"] .hero { border: 2px solid var(--line); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--well); color: var(--ink2); }
.badge.t-ok { background: var(--ok-bg); color: var(--ok); } .badge.t-warn { background: var(--warn-bg); color: var(--warn); } .badge.t-bad { background: var(--bad-bg); color: var(--bad); }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--well); color: var(--ink2); white-space: nowrap; }
.st-done { background: var(--ok-bg); color: var(--ok); } .st-over { background: var(--warn-bg); color: var(--warn); } .st-now { background: var(--ink); color: var(--bg); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink3); }
.live.on i { background: #19a974; box-shadow: 0 0 0 3px rgba(25, 169, 116, .2); }
.live.warn i { background: #e0a100; }
.srcp { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.srcchip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px; padding: 6px 12px; border-radius: 12px; border: var(--bw) solid var(--line); background: var(--card); text-decoration: none; color: var(--ink2); }
.srcchip:hover { border-color: var(--ink); }
.srcchip > svg:first-child { color: var(--ok); }
.srcchip.stale { background: var(--warn-bg); border-color: transparent; } .srcchip.stale > svg:first-child { color: var(--warn); }
.srcchip-b { min-width: 0; display: block; }
.srcchip-t { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.srcchip-d { display: block; font-size: .75rem; line-height: 1.3; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: .9375rem; }
.kv dt { color: var(--ink2); } .kv dd { font-weight: 700; text-align: right; }
.kv.left { grid-template-columns: minmax(6rem, 34%) 1fr; } .kv.left dd { text-align: left; font-weight: 400; } .kv.left dt { font-size: .875rem; }
.ol { counter-reset: n; } .ol > li { counter-increment: n; position: relative; padding: 0 0 12px 38px; line-height: 1.45; } .ol > li:last-child { padding-bottom: 0; }
.ol > li::before { content: counter(n); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 var(--bw) var(--field); font-size: .8125rem; font-weight: 700; display: grid; place-items: center; }
.ul > li { position: relative; padding: 0 0 8px 18px; line-height: 1.45; } .ul > li::before { content: ''; position: absolute; left: 3px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink3); }
.facts { display: grid; gap: 8px; font-size: .9375rem; margin-top: 12px; }
.facts li { display: flex; gap: 8px; align-items: flex-start; } .facts svg { margin-top: 3px; color: var(--brand-ink); }
.prog { height: 8px; border-radius: 4px; background: var(--well); overflow: hidden; box-shadow: inset 0 0 0 var(--bw) var(--line); }
.prog i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.tel { font-size: 1.5rem; font-weight: 800; letter-spacing: .01em; }
.big { font-size: min(2.125rem, 12vw); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.big small { font-size: 1rem; font-weight: 500; color: var(--ink2); letter-spacing: 0; }

/* ---------- page head ---------- */
.ph { margin: 0 0 6px -8px; }
.ph-a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 0 6px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink2); }
.ph-a:hover { background: var(--well); color: var(--ink); }

/* ---------- home ---------- */
.day { padding-top: 4px; }
.day-date { font-size: .875rem; color: var(--ink2); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 2px; }
.streak { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 3px 10px; border-radius: 999px; }
.ask { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 10px 8px 18px; border-radius: 20px; border: var(--bw) solid var(--line); box-shadow: var(--shadow-s); background: var(--card); color: var(--brand-ink); text-align: left; }
.ask:hover { border-color: var(--ink); }
.ask-b { flex: 1; min-width: 0; display: block; color: var(--ink2); font-size: .875rem; }
.ask-b b { display: block; font-size: 1.0625rem; color: var(--ink); }
.ask-go { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex: none; }
.hero { background: var(--tint); border-radius: var(--r); padding: 18px; text-align: left; color: inherit; }
.hero.block { display: block; width: 100%; }
.hero-k { font-size: .8125rem; font-weight: 700; color: var(--brand-ink); }
.hero-t { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; margin-top: 4px; letter-spacing: -.01em; }
.hero-m { font-size: .9375rem; color: var(--ink2); margin-top: 4px; }
.hero .prog { background: var(--card); }
.heads { border-radius: var(--r); padding: 16px 18px; background: var(--warn-bg); }
.heads.t-bad { background: var(--bad-bg); }
.heads-k { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--warn); }
.heads.t-bad .heads-k { color: var(--bad); }
.heads-big { font-size: min(2rem, 11vw); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-top: 4px; }
.heads-t { font-weight: 700; line-height: 1.3; margin-top: 2px; }
.heads-d { font-size: .9375rem; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 10px; }
.stat { display: block; border: var(--bw) solid var(--line); border-radius: var(--r); padding: 14px; background: var(--card); text-decoration: none; color: inherit; min-width: 0; }
.stat:hover { border-color: var(--ink); }
.stat-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--well); display: grid; place-items: center; margin-bottom: 10px; }
.stat.t-warn .stat-ic { background: var(--warn-bg); color: var(--warn); } .stat.t-bad .stat-ic { background: var(--bad-bg); color: var(--bad); } .stat.t-ok .stat-ic { background: var(--ok-bg); color: var(--ok); }
.stat-k { display: block; font-size: .8125rem; color: var(--ink2); line-height: 1.3; }
.stat-v { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.2; margin-top: 2px; letter-spacing: -.01em; }
.stat-s { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.stat-d { display: block; font-size: .8125rem; color: var(--ink2); margin-top: 4px; line-height: 1.3; }

/* ---------- tiles, covers, scrollers ---------- */
.art { width: 100%; height: 100%; }
.cover { display: block; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--well); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.25rem), 1fr)); gap: 20px 14px; }
.tile { display: block; text-decoration: none; color: inherit; text-align: left; min-width: 0; }
.tile-t { display: block; font-weight: 700; margin-top: 8px; line-height: 1.3; }
.tile-d { display: block; font-size: .875rem; color: var(--ink2); margin-top: 2px; line-height: 1.35; }
.tile:hover .cover { box-shadow: var(--shadow); }
.hs { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.hs .tile { flex: 0 0 min(9.5rem, 70%); scroll-snap-align: start; }
.hs .story-tile { flex-basis: min(13rem, 80%); }
.hs.one .tile { flex-basis: min(20rem, 100%); }
.playb { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #12403a; display: grid; place-items: center; box-shadow: var(--shadow-s); }
.playb svg { fill: currentColor; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 10px; }
.tool { display: block; border: var(--bw) solid var(--line); border-radius: var(--r); padding: 14px; background: var(--card); text-decoration: none; color: inherit; }
.tool:hover { border-color: var(--ink); }
.tool-t { display: block; font-weight: 700; margin-top: 10px; line-height: 1.3; }
.tool-d { display: block; font-size: .875rem; color: var(--ink2); margin-top: 2px; }
@media (min-width: 640px) { .tiles { gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); } .hs .tile { flex-basis: 11.5rem; } }

/* ---------- risk meter: words under every bar, so colour is never the only signal ---------- */
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.meter-s { display: block; text-align: center; font-size: .8125rem; color: var(--ink2); }
.meter-s i { display: block; height: 10px; border-radius: 5px; background: var(--line); margin-bottom: 4px; }
.meter-s b { font-weight: 600; }
.meter.preview .m-low i, .m-low.on i { background: var(--m-low); } .meter.preview .m-med i, .m-med.on i { background: var(--m-med); } .meter.preview .m-high i, .m-high.on i { background: var(--m-high); }
.meter-s.on { color: var(--ink); } .meter-s.on b { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- plan ---------- */
.group-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; width: 100%; min-height: 56px; padding: 10px 14px 10px 16px; text-align: left; }
.group-n { font-weight: 700; flex: 1 1 auto; }
.group-c { font-size: .875rem; color: var(--ink2); }
.group-h > svg { transition: transform .15s; color: var(--ink3); }
.group-h[aria-expanded="true"] > svg { transform: rotate(90deg); }
.group-x { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 16px; background: var(--well); }
.task { display: flex; align-items: center; gap: 2px; padding: 4px 10px 4px 4px; }
.task .ckb { position: relative; width: 48px; height: 48px; display: grid; place-items: center; flex: none; color: transparent; border-radius: 50%; }
.task .ckb::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; border: 2px solid var(--field); }
.task .ckb svg { position: relative; }
.task .ckb:hover::before { border-color: var(--brand); }
.task .ckb[aria-checked="true"] { color: var(--on-brand); }
.task .ckb[aria-checked="true"]::before { background: var(--brand); border-color: var(--brand); }
.task-b { flex: 1; min-width: 0; text-align: left; padding: 8px 4px; min-height: 48px; border-radius: 10px; }
.task-b:hover { background: var(--well); }
.task-t { display: block; font-weight: 600; line-height: 1.3; }
.task.done .task-t { color: var(--ink2); text-decoration: line-through; }
.task-m { display: block; font-size: .8125rem; color: var(--ink2); margin-top: 2px; }
.task-m.over { color: var(--warn); font-weight: 700; } .task-m.now { color: var(--brand-ink); font-weight: 700; }
.task-r { color: var(--ink3); flex: none; }

/* ---------- offers, sites ---------- */
.offer { border: var(--bw) solid var(--line); border-radius: var(--r); padding: 16px; background: var(--card); }
.offer + .offer { margin-top: 10px; }
.offer-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.offer-n { font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.offer-p { font-size: .875rem; color: var(--ink2); margin-top: 2px; }
.offer-big { font-size: 1.375rem; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.offer-big small { font-size: .8125rem; font-weight: 500; color: var(--ink2); }
.offer-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; } .offer-acts .btn { flex: 1 1 8rem; }
.site { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.site-b { flex: 1 1 12rem; min-width: 0; }

/* ---------- guides ---------- */
.dots { display: flex; gap: 6px; }
.dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.dots i.on { background: var(--ink); }
.bite { min-height: 14rem; border-radius: 24px; background: var(--card); border: var(--bw) solid var(--line); padding: 26px 22px; display: flex; flex-direction: column; justify-content: center; }
.bite-n { font-size: .875rem; color: var(--ink2); font-weight: 700; }
.bite-h { font-size: min(1.5rem, 9vw); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.bite-p { font-size: 1.0625rem; line-height: 1.5; margin-top: 12px; max-width: 34em; }
.nav2 { display: flex; flex-wrap: wrap; gap: 10px; } .nav2 .btn { flex: 1 1 7rem; }

/* ---------- checks ---------- */
.q-card { border-radius: 24px; border: var(--bw) solid var(--line); background: var(--card); padding: 22px 18px; }
.q-t { font-size: min(1.3125rem, 8vw); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.q-why { font-size: .9375rem; color: var(--ink2); margin-top: 10px; }
.q-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .q-btns .btn { flex: 1 1 5.5rem; padding: 8px 10px; }
.verdict { border-radius: var(--r); padding: 18px; background: var(--well); }
.verdict.t-ok { background: var(--ok-bg); } .verdict.t-warn { background: var(--warn-bg); } .verdict.t-bad { background: var(--bad-bg); }
.verdict-k { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9375rem; }
.verdict.t-ok .verdict-k { color: var(--ok); } .verdict.t-warn .verdict-k { color: var(--warn); } .verdict.t-bad .verdict-k { color: var(--bad); }
.verdict-t { font-size: 1.1875rem; line-height: 1.25; font-weight: 800; margin-top: 6px; }
.verdict p + p { margin-top: 6px; }
.vi { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.vi + .vi { border-top: var(--bw) solid var(--line); }
.vi > svg { margin-top: 2px; } .vi.t-ok > svg { color: var(--ok); } .vi.t-bad > svg { color: var(--bad); } .vi.t-warn > svg { color: var(--warn); }
.vi-b { flex: 1; min-width: 0; } .vi-t { font-weight: 700; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; line-height: 1.35; } .vi-d { font-size: .875rem; color: var(--ink2); margin-top: 2px; }
.ck { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; width: 100%; min-height: 48px; text-align: left; line-height: 1.4; }
.ck:hover { background: var(--well); }
.ck .ckb { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--field); display: grid; place-items: center; flex: none; margin-top: 1px; color: transparent; }
.ck[aria-checked="true"] .ckb { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ck-b { flex: 1; min-width: 0; } .ck-d { display: block; font-size: .8125rem; color: var(--ink2); margin-top: 2px; }

/* ---------- trackers ---------- */
.delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: .875rem; }
.delta.up { color: var(--ok); } .delta.dn { color: var(--bad); }
.spark { width: 100%; height: auto; color: var(--brand); }
.tblw { overflow-x: auto; border-radius: 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tbl th { text-align: left; font-weight: 700; color: var(--ink2); font-size: .8125rem; padding: 0 8px 8px 0; }
.tbl td { padding: 10px 8px 10px 0; border-top: var(--bw) solid var(--line); vertical-align: top; }
.tbl td.n, .tbl th.n { text-align: right; padding-right: 0; padding-left: 10px; font-variant-numeric: tabular-nums; }
.wx { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.wx-n { font-size: min(3rem, 16vw); line-height: 1; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }

/* ---------- ask: a chat over checked answers ---------- */
.wrap.chat { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 0; }
.chat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chat-log { flex: 1; }
.msg { border-radius: 18px; padding: 12px 14px; margin-top: 10px; max-width: 34rem; }
.msg.me { background: var(--brand); color: var(--on-brand); margin-left: auto; width: fit-content; max-width: 85%; border-bottom-right-radius: 6px; font-weight: 500; }
.msg.novo { background: var(--card); border: var(--bw) solid var(--line); border-bottom-left-radius: 6px; }
.msg-k { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 700; color: var(--brand-ink); }
.msg-q { font-weight: 700; margin: 2px 0 4px; }
.msg .srcp { margin-top: 10px; }
.rel { margin-top: 8px; }
.composer { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 calc(10px + env(safe-area-inset-bottom)); margin-top: 16px; }
.ask-box { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 6px 0 18px; border-radius: 999px; border: var(--bw) solid var(--field); background: var(--card); }
.ask-box:focus-within { outline: 3px solid var(--ink); outline-offset: -1px; border-color: transparent; }
.ask-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1rem; min-height: 52px; }
.ask-box .ask-go { border: 0; }

/* ---------- scam stories ---------- */
.stage { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--well); max-width: 34rem; }
.stage-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #12403a; display: grid; place-items: center; box-shadow: var(--shadow); }
.stage-play svg { fill: currentColor; margin-left: 4px; }
.segs { display: flex; gap: 5px; max-width: 34rem; }
.segs i { position: relative; flex: 1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.segs i.on, .segs i.cur { background: var(--ink); }
.segs i.run::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: fill 4.5s linear both; }
.cap { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin-top: 4px; min-height: 3em; max-width: 34rem; }
.story-ctl { display: flex; flex-wrap: wrap; gap: 10px; max-width: 34rem; } .story-ctl .btn { flex: 1 1 5.5rem; padding: 8px 10px; }
.an { transform-box: fill-box; transform-origin: center; }
.an.pop { animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.an.rise { animation: rise .5s ease-out both; }
.an.shake { animation: shake .5s ease-in-out 4; }
.an.fly { animation: fly 1.1s ease-in forwards; animation-delay: 1.2s; }
.an.d1 { animation-delay: .5s; } .an.d2 { animation-delay: 1.1s; } .an.d3 { animation-delay: 1.7s; } .an.d4 { animation-delay: 2.3s; }
.an.fly.d1 { animation-delay: 1.4s; } .an.fly.d2 { animation-delay: 1.6s; } .an.fly.d3 { animation-delay: 1.8s; } .an.fly.d4 { animation-delay: 2s; }
.still .an { animation: none !important; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes fly { to { transform: translate(70px, -90px) scale(.6); opacity: 0; } }
@keyframes fill { from { transform: scaleX(0); } }

/* ---------- show this card: large, plain, high contrast ---------- */
.showcard { border: 3px solid var(--ink); border-radius: 24px; background: var(--card); padding: 24px 20px; }
.showcard-k { font-size: .875rem; font-weight: 700; color: var(--ink2); }
.showcard-t { font-size: min(1.875rem, 9.5vw); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.showcard-h { font-weight: 700; margin-top: 22px; }
.showcard-l { margin-top: 10px; display: grid; gap: 10px; font-size: 1.0625rem; font-weight: 600; }
.showcard-l li { display: flex; gap: 10px; align-items: flex-start; } .showcard-l svg { color: var(--ok); margin-top: 2px; }
.helpn { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.helpn-b { flex: 1 1 11rem; min-width: 0; }
.helpn-n { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }

/* ---------- welcome and setup ---------- */
.welcome { max-width: 560px; margin: 0 auto; padding: 8px 20px 40px; }
.welcome .cover { border-radius: 24px; }
.pts { display: grid; gap: 14px; }
.pt { display: flex; gap: 14px; align-items: flex-start; }
.ob { max-width: 520px; margin: 0 auto; padding: 8px 20px 40px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px; border: var(--bw) solid var(--field); border-radius: var(--r); text-align: left; background: var(--card); }
.opt + .opt { margin-top: 10px; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--tint); }
.opt-b { flex: 1; min-width: 0; } .opt-t { display: block; font-weight: 700; } .opt-d { display: block; font-size: .875rem; color: var(--ink2); }
.opt-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--field); flex: none; display: grid; place-items: center; color: transparent; }
.opt[aria-pressed="true"] .opt-dot { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sw { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 0; text-align: left; }
.card.flush > .sw { padding: 10px 16px; }
.sw-b { flex: 1; min-width: 0; } .sw-t { display: block; font-weight: 700; } .sw-d { display: block; font-size: .875rem; color: var(--ink2); }
.sw-k { width: 50px; height: 30px; border-radius: 15px; background: var(--field); position: relative; flex: none; transition: background .15s; }
.sw-k::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.sw[aria-checked="true"] .sw-k { background: var(--brand); } .sw[aria-checked="true"] .sw-k::after { transform: translateX(20px); }
.sw[aria-checked="true"] .sw-k::before { content: ''; position: absolute; left: 9px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--on-brand); border-bottom: 2px solid var(--on-brand); transform: rotate(-45deg); }

/* ---------- sheet and toast ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); animation: fade .18s ease-out; }
.sheet { position: relative; width: 100%; max-width: 640px; max-height: 92%; background: var(--bg); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; animation: up .22s ease-out; box-shadow: var(--shadow); }
.sheet-h { display: flex; align-items: center; padding: 8px 8px 0; }
.sheet-b { overflow-y: auto; padding: 4px 20px 20px; -webkit-overflow-scrolling: touch; }
.sheet-b .cover { max-height: 12rem; }
.sheet-f { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: var(--bw) solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; background: var(--card); }
.sheet-f .btn { flex: 1 1 8rem; }
@media (min-width: 700px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 24px; max-height: 86%; overflow: hidden; } }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 18px; font-weight: 700; font-size: .9375rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 30; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
:root[data-calm] *, :root[data-calm] *::before, :root[data-calm] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- v5: language levels, score breakdown ---------- */
.clbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 8px; list-style: none; padding: 0; }
.clbs li { background: var(--well); border-radius: var(--r-s); padding: 10px 12px; font-size: .875rem; color: var(--ink2); }
.clbs b { display: block; font-size: 1rem; color: var(--ink); }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.sum > div + div { border-top: var(--bw) solid var(--line); }
.sum dt { color: var(--ink2); } .sum dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.sum .sum-t dt, .sum .sum-t dd { color: var(--ink); font-weight: 700; }

/* ---------- v6: Airbnb Light layer. Later rules win over the v3 defaults above. ---------- */
/* shell: lightly toned top bar, white tab bar, coral for the active tab */
.bar, .bar-acts { background: var(--bg); }
.brand { font-weight: 700; letter-spacing: -.01em; }
.tabs { background: var(--card); }
.tab { color: var(--ink2); font-weight: 500; }
.tab[aria-current="page"] { color: var(--brand-ink); }
.icon-btn:hover { background: var(--card); box-shadow: var(--shadow-s); }
@media (min-width: 900px) { .tab[aria-current="page"] { color: var(--ink); } }
/* type scale from design.md: headline-display 32/38 bold, headline-md 23/28, headline-sm 19/23, body 16/24, 14/20, 12/16 */
.h1 { font-size: min(2rem, 9.5vw); line-height: 1.1875; font-weight: 700; letter-spacing: 0; }
@media (min-width: 900px) { .h1 { font-size: 2rem; } }
.h2 { font-size: 1.4375rem; line-height: 1.2174; font-weight: 400; letter-spacing: 0; }
.h3 { font-size: 1.1875rem; line-height: 1.2105; font-weight: 400; }
.lead { font-size: 1rem; line-height: 1.5; }
.small { font-size: .875rem; line-height: 1.4286; }
.tiny, .foot, .src { font-size: .75rem; line-height: 1.3333; }
.link { font-weight: 500; }
.field-l { font-weight: 600; }
/* pill controls */
.btn { border-radius: 999px; font-weight: 600; padding: 10px 24px; }
.btn.sm { border-radius: 999px; padding: 6px 18px; font-size: .875rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 var(--bw) var(--field); }
.btn.ghost:hover { background: var(--card); box-shadow: inset 0 0 0 var(--bw) var(--ink); }
.chip { background: var(--card); border-color: var(--line); font-size: .875rem; }
.chip:hover { border-color: var(--field); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.inp { border-radius: 999px; padding: 8px 20px; }
select.inp { padding-right: 44px; }
.inp.code { border-radius: var(--r-l); }
.seg { border-radius: 999px; }
.seg button { border-radius: 999px; }
.ask-box { box-shadow: var(--shadow-s); }
/* flat surfaces: light borders instead of shadows, 8px cards, 16px image tiles, 24px sheets */
.card, .offer, .tool, .stat { border-radius: var(--r); }
.cover, .stage { border-radius: var(--r-l); }
.hero { background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--r-l); }
.heads, .verdict, .note { border-radius: var(--r-l); }
.bite, .q-card, .showcard { border-radius: var(--r-xl); }
.opt { border-color: var(--line); border-radius: 12px; }
.opt:hover { border-color: var(--field); }
.opt[aria-pressed="true"] { background: var(--card); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.srcchip { border-radius: 12px; }
.row-ic { border-radius: 50%; }
.stat-ic { border-radius: 50%; }
/* the Ask bar is the main search affordance: a white pill with a soft lift and a coral round button */
.ask { border-radius: 999px; color: var(--ink); box-shadow: 0 3px 12px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06); }
.ask-go { background: var(--brand); color: var(--on-brand); }
/* modal sheet: warm off-white surface, large corners, dark scrim */
.sheet { background: var(--sheet); border-radius: var(--r-xl) var(--r-xl) 0 0; }
@media (min-width: 700px) { .sheet { border-radius: var(--r-xl); } }
.toast { border-radius: 999px; font-weight: 600; }
.playb { color: var(--ink); }
/* weights from design.md: display 700, headings 400; labels and item titles 600 for legibility; nothing heavier. Letter spacing 0. */
.hero-t, .bite-h, .q-t, .verdict-t { font-size: 1.4375rem; line-height: 1.2174; font-weight: 400; letter-spacing: 0; }
.big, .heads-big, .tel, .offer-big, .stat-v, .wx-n, .meter-s.on b { font-weight: 700; letter-spacing: 0; }
.offer-n, .tile-t, .tool-t, .group-n, .vi-t, .stat-s, .heads-t, .kv dd, .verdict-k, .bite-n, .hero-k, .heads-k, .msg-k, .streak, .st, .net, .task-m.over, .task-m.now, .delta, .tbl th, .seg button, .skip, .inp.code, .ol > li::before { font-weight: 600; }
/* tags (design.md chip): 12px pills; white with a light border so they stay visible on the grey page */
.badge, .st { font-size: .75rem; line-height: 1rem; padding: 4px 10px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 var(--bw) var(--line); }
.badge.t-ok, .badge.t-warn, .badge.t-bad, .st-done, .st-over, .st-now { box-shadow: none; }
.st-done { background: var(--ok-bg); color: var(--ok); } .st-over { background: var(--warn-bg); color: var(--warn); } .st-now { background: var(--ink); color: var(--bg); }
/* secondary buttons (design.md button-secondary): transparent, grey text, grey outline */
.btn.ghost { color: var(--ink2); }
.btn.ghost:hover { color: var(--ink); }
/* list rows: underline on hover instead of a grey box */
.task-b:hover { background: transparent; }
.task:not(.done) .task-b:hover .task-t { text-decoration: underline; text-underline-offset: 3px; }
/* desktop: one lightly toned top bar (design.md topbar uses surface); the active tab is a white pill */
@media (min-width: 900px) { .tabs { background: var(--bg); } .tab:hover { background: var(--line); } .tab[aria-current="page"]:hover { background: var(--card); } }

/* ---------- v8: act by intent (Product and UX roadmap, Nov 2026) ----------
   Doing and reading look different. Tools are crisp white action cards with a coral icon and a coral button.
   Reading screens (topics, guides, Guides & You, scams) set headings and long text in a calm book serif, with a source badge.
   The serif comes from the device, so LandWell still loads no outside fonts. */
:root { --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Charter, 'Bitstream Charter', 'Noto Serif', Georgia, serif; }
/* tools */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 12px; }
.tcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--r-l); padding: 16px; }
.tcard:hover { border-color: var(--ink); }
.tcard-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.tcard-t { font-size: 1rem; line-height: 1.3; font-weight: 600; margin-top: 12px; }
.tcard-d { font-size: .875rem; line-height: 1.4; color: var(--ink2); margin-top: 4px; flex: 1; }
.tcard-go { margin-top: 14px; }
.tcard-go::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tool .tcard-ic { width: 36px; height: 36px; }
.feat { background: var(--tint); border-radius: var(--r-l); padding: 18px; }
.feat .tcard-ic { background: var(--card); }
.feat-t { font-size: 1.1875rem; line-height: 1.25; font-weight: 600; }
.feat .meter-s { color: var(--ink); }
/* Home: one search bar, four quick tools */
.cmd-box { min-height: 64px; padding: 0 8px 0 18px; border-color: var(--line); color: var(--brand-ink); box-shadow: 0 3px 12px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06); }
.cmd-box input { font-size: 1.0625rem; color: var(--ink); }
.cmd-box input::placeholder { color: var(--ink2); opacity: 1; }
.cmd-out:empty { display: none; }
.cmd-l { margin-top: 8px; background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-s); }
.cmd-l li + li { border-top: var(--bw) solid var(--line); }
.cmd-i { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; text-decoration: none; color: inherit; text-align: left; }
.cmd-i:hover { background: var(--well); }
.cmd-i:focus-visible { outline-offset: -3px; background: var(--well); }
.cmd-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--well); color: var(--ink); display: grid; place-items: center; flex: none; }
.cmd-i.do .cmd-ic { background: var(--tint); color: var(--brand-ink); }
.cmd-b { flex: 1; min-width: 0; }
.cmd-t { display: block; font-weight: 600; line-height: 1.3; }
.cmd-d { display: block; font-size: .8125rem; line-height: 1.35; color: var(--ink2); margin-top: 2px; }
.cmd-k { flex: none; font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--well); color: var(--ink2); }
.cmd-l li:first-child .cmd-i.do .cmd-k { background: var(--brand); color: var(--on-brand); }
.cmd-none { margin-top: 8px; padding: 0 8px; font-size: .875rem; color: var(--ink2); }
.cmd-out.up .cmd-l { margin: 0 0 10px; max-height: 42vh; overflow-y: auto; }
.cmd-out.up .cmd-none { margin: 0 0 10px; }
.quick-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .quick-l { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qchip { display: flex; align-items: center; gap: 8px; min-height: 48px; height: 100%; padding: 6px 14px; border-radius: 24px; background: var(--card); border: var(--bw) solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .875rem; line-height: 1.25; }
.qchip svg { color: var(--brand); }
.qchip:hover { border-color: var(--ink); }
button.stat { width: 100%; text-align: left; cursor: pointer; }
div.stat:hover { border-color: var(--line); }
/* plan: the tool a step needs, one tap from its row */
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 2px; }
.task-tool { grid-column: 2 / 4; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -4px 0 8px 4px; padding: 4px 16px; border-radius: 999px; background: var(--tint); color: var(--brand-ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.task-tool:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Guides & You */
.hub { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: var(--bw) solid var(--line); border-radius: 999px; }
.hub a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink2); }
.hub a:hover { color: var(--ink); }
.hub a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.badge.srcb { color: var(--ok); }
.read .h1, .read .h2, .read .lead, .bite-h, .bitec-h, .seo .h3 { font-family: var(--serif); }
.read .h1 { font-weight: 600; letter-spacing: -.01em; }
.read .lead { font-size: 1.125rem; line-height: 1.55; }
.bitec-h { font-size: 1.375rem; line-height: 1.25; font-weight: 600; }
.bite-p, .bitec-p { font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; }
.read .hub, .read .badge { font-family: var(--font); }
/* rental scam score */
.inp.area { display: block; border-radius: var(--r-l); min-height: 6.5rem; padding: 12px 16px; line-height: 1.45; resize: vertical; }
.scan-why { display: grid; gap: 6px; }
.scan-why li { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: var(--bw) solid var(--line); font-size: .9375rem; }
.scan-why b { font-weight: 700; font-variant-numeric: tabular-nums; }
.badge.paid { background: var(--warn-bg); color: var(--warn); box-shadow: none; }
/* the written guide on a pre-rendered tool page */
.seo { border-top: var(--bw) solid var(--line); }
.seo .faq + .faq { margin-top: 18px; }
.seo .h3 { font-weight: 600; }
.seo p + p, .seo .faq p { margin-top: 6px; }
.seo .h2 + .ul, .seo .h2 + .faq { margin-top: 12px; }
.cmd { position: relative; }
.quick { display: block; }
.bitec { padding: 20px; }
/* large text: the quick tools stack, so each label fits on one or two lines */
html[data-text="150"] .quick-l, html[data-text="200"] .quick-l { grid-template-columns: minmax(0, 1fr); }
