/* TN Leads. The look approved in the demo (tnmedia-site/site/leads-demo.html): cream panels, phone first,
   a tab bar on phones and a sidebar + list + detail on a computer. No inline styles anywhere (the page's
   Content-Security-Policy refuses them), so colours and sizes that change are classes or set from app.js. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("/fonts/archivo-black-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Light: text-2 #5A5A55 on white 6.9:1, accent #08718E on white 5.6:1, booked #B25E00 4.7:1, proposal #6D4AC2 6.2:1, won #0B7A3E 5.4:1.
   Dark: text-2 #A3A39D on #161616 7.1:1, sky #91DDF1 11.9:1, booked #F5B85B, proposal #B9A3F5, won #3DDC84 all above 7:1. */
:root {
  --bg: #F2F1EC; --surface: #FFFFFF; --surface-2: #F4F3EE; --text: #0B0B0B; --text-2: #5A5A55; --line: #E3E1D9;
  --accent: #08718E; --accent-ink: #FFFFFF; --accent-soft: rgba(8,113,142,.1);
  --s-new: #08718E; --s-booked: #B25E00; --s-proposal: #6D4AC2; --s-won: #0B7A3E; --s-lost: #5A5A55;
  --danger: #B42318; --danger-soft: rgba(180,35,24,.09); --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.05); --scrim: rgba(11,11,11,.4);
  --safe-b: env(safe-area-inset-bottom);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0B; --surface: #161616; --surface-2: #1F1F1E; --text: #F5F5F0; --text-2: #A3A39D; --line: #2A2A28;
    --accent: #91DDF1; --accent-ink: #0B0B0B; --accent-soft: rgba(145,221,241,.12);
    --s-new: #91DDF1; --s-booked: #F5B85B; --s-proposal: #B9A3F5; --s-won: #3DDC84; --s-lost: #A3A39D;
    --danger: #FF8A80; --danger-soft: rgba(255,138,128,.12); --shadow: none; --scrim: rgba(0,0,0,.6);
  }
}
@media (prefers-contrast: more) { :root { --line: #8A8A85; } }
.sc-new { --sc: var(--s-new); } .sc-booked { --sc: var(--s-booked); } .sc-proposal { --sc: var(--s-proposal); } .sc-won { --sc: var(--s-won); } .sc-lost { --sc: var(--s-lost); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.4 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.boot { margin: 30vh 16px 0; text-align: center; color: var(--text-2); }

/* ---------- sign in ---------- */
.login { display: grid; min-height: 100svh; place-items: center; padding: 20px 16px; }
.login-card { width: min(420px, 100%); border-radius: 22px; background: var(--surface); padding: 24px 20px; box-shadow: var(--shadow); }
.login-card h1 { margin: 18px 0 0; font-size: 28px; font-weight: 750; letter-spacing: -.02em; }
.login-card .sub { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }
.login-card .link-btn { margin-top: 6px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 750; }
.brand i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #0B0B0B; font-family: "Archivo Black", sans-serif; font-style: normal; font-size: 13px; color: #F5F5F0; }
.notice { margin: 14px 0 0; border-radius: 12px; background: var(--accent-soft); padding: 10px 12px; font-size: 14.5px; line-height: 1.45; }
.notice.is-bad { background: var(--danger-soft); color: var(--danger); font-weight: 600; }

/* ---------- frame: tab bar on phones, sidebar + list + detail on desktop ---------- */
.side { display: none; }
.main { min-height: 100svh; padding-bottom: calc(76px + var(--safe-b)); }
.panel { display: none; }
.tabs { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); padding: 6px 8px calc(6px + var(--safe-b)); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.tab { display: grid; min-height: 52px; place-items: center; align-content: center; gap: 3px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--accent); }

.view { display: none; }
.view.is-on { display: block; }
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: color-mix(in srgb, var(--bg) 90%, transparent); padding: calc(10px + env(safe-area-inset-top)) 16px 10px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.bar h1 { margin: 0; font-size: 30px; font-weight: 750; letter-spacing: -.02em; }
.bar-acts { display: flex; gap: 6px; }
.icon-btn { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.is-primary { background: var(--accent); color: var(--accent-ink); }
.search { padding: 0 16px 10px; }
.search input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 14px; font-size: 17px; }

/* status filter */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 14px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; min-height: 44px; flex-shrink: 0; align-items: center; gap: 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 14px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.chip svg { width: 17px; height: 17px; color: var(--sc, var(--text-2)); }
.chip b { min-width: 22px; border-radius: 999px; background: var(--surface-2); padding: 1px 7px; font-size: 13px; font-weight: 700; text-align: center; }
.chip[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.chip[aria-pressed="true"] svg { color: var(--bg); }
.chip[aria-pressed="true"] b { background: color-mix(in srgb, var(--bg) 22%, transparent); }

/* lead cards */
.list { display: grid; gap: 10px; margin: 0; padding: 0 16px 16px; list-style: none; }
.lead { overflow: hidden; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.lead.is-sel { box-shadow: 0 0 0 2px var(--accent); }
.lead-open { display: block; width: 100%; padding: 14px 16px 10px; text-align: left; }
.lead-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lead-name { min-width: 0; overflow-wrap: anywhere; font-size: 17px; font-weight: 650; }
.lead-time { flex-shrink: 0; font-size: 13px; color: var(--text-2); }
.lead-co { display: block; margin-top: 1px; overflow-wrap: anywhere; font-size: 14px; color: var(--text-2); }
.lead-say { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { display: inline-flex; min-height: 26px; max-width: 100%; align-items: center; gap: 5px; border-radius: 999px; background: var(--surface-2); padding: 2px 9px; font-size: 13px; font-weight: 600; color: var(--text-2); overflow-wrap: anywhere; }
.tag svg { width: 14px; height: 14px; flex-shrink: 0; }
.tag-pkg { background: var(--accent-soft); color: var(--accent); }
.tag-try { color: var(--s-booked); }
.tag-st { color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, transparent); }
.tag-bad { background: var(--danger-soft); color: var(--danger); }
.tag-ok { color: var(--s-won); }
.lead-acts { display: flex; gap: 8px; padding: 0 12px 12px; }
.act { display: inline-flex; min-height: 44px; flex: 1; align-items: center; justify-content: center; gap: 7px; border-radius: 13px; background: var(--surface-2); padding: 0 10px; font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.act svg { width: 18px; height: 18px; }
.act-icon { flex: 0 0 52px; }
.act-call { flex: 1.4; background: var(--accent); color: var(--accent-ink); }
.empty { margin: 40px 16px; text-align: center; color: var(--text-2); }
.empty strong { display: block; margin-bottom: 4px; font-size: 18px; color: var(--text); }

/* ---------- detail ---------- */
.sheet { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border: 0; border-radius: 24px 24px 0 0; background: var(--bg); padding: 0; color: var(--text); }
.sheet::backdrop { background: var(--scrim); }
.sheet[open] { animation: up .32s cubic-bezier(.16,1,.3,1); }
.sheet-in { padding: 8px 16px calc(24px + var(--safe-b)); }
.grabber { width: 40px; height: 5px; margin: 0 auto 6px; border-radius: 5px; background: var(--line); }
.d-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 6px; }
.d-name { margin: 0; overflow-wrap: anywhere; font-size: 26px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.d-co { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 15px; color: var(--text-2); }
.d-name:focus { outline: none; }
.d-close { display: grid; width: 44px; height: 44px; flex-shrink: 0; place-items: center; border-radius: 999px; background: var(--surface-2); }
.d-close svg { width: 18px; height: 18px; }
.d-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.d-contact .act { min-height: 52px; font-size: 16px; }
.d-sec { margin-top: 18px; border-radius: 18px; background: var(--surface); padding: 14px 16px; box-shadow: var(--shadow); }
.d-sec h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.d-say { margin: 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.5; }
.d-say + .d-say { margin-top: 8px; color: var(--text-2); }
.rows { display: grid; margin: 0; }
.rows div { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 10px 0; }
.rows div:first-child { border-top: 0; padding-top: 0; }
.rows dt { flex-shrink: 0; max-width: 55%; font-size: 15px; color: var(--text-2); }
.rows dd { min-width: 0; margin: 0; overflow-wrap: anywhere; white-space: pre-line; font-size: 15px; font-weight: 600; text-align: right; }
.status-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.status-pick button { display: flex; min-height: 48px; align-items: center; gap: 8px; border-radius: 14px; border: 1px solid var(--line); padding: 0 12px; font-size: 15px; font-weight: 650; text-align: left; }
.status-pick button svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sc); }
.status-pick button[aria-pressed="true"] { border-color: var(--sc); background: color-mix(in srgb, var(--sc) 13%, transparent); box-shadow: inset 0 0 0 1px var(--sc); }
.status-pick button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.won-line { margin: 12px 0 0; font-size: 15px; }
.won-line strong { color: var(--s-won); }
.tries { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 15px; color: var(--text-2); }
.tries .act { flex: 0 0 auto; padding: 0 14px; }
.note { display: block; width: 100%; min-height: 84px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 10px 12px; font-size: 16px; resize: vertical; }
.saved { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }
.edit { display: grid; gap: 10px; }
.edit label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.edit select, .field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 0 12px; font-size: 16px; color: var(--text); }
.link-btn { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 650; color: var(--accent); }
.link-btn.is-danger { color: var(--danger); }
.meta-row { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; overflow-wrap: anywhere; }
.meta-row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.meta-row.is-sent svg { color: var(--s-won); }
.meta-row.is-wait { color: var(--text-2); }
.meta-row.is-bad { color: var(--danger); }
.hist { margin: 0; padding: 0; list-style: none; }
.hist li { position: relative; padding: 0 0 12px 18px; font-size: 14.5px; }
.hist li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.hist li::after { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.hist li:last-child::after { display: none; }
.hist time { display: block; font-size: 13px; color: var(--text-2); }
.d-ref { font-family: "Archivo Black", "Inter", sans-serif; letter-spacing: .05em; }
.d-foot { margin-top: 14px; text-align: center; }

/* dialogs */
.dlg { width: min(440px, calc(100% - 24px)); border: 0; border-radius: 22px; background: var(--bg); padding: 20px; color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dlg::backdrop { background: var(--scrim); }
.dlg h2 { margin: 0; font-size: 21px; font-weight: 750; }
.dlg p.sub { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 16px; border-radius: 12px; background: var(--surface-2); padding: 4px; }
.seg button { min-height: 40px; padding: 0 14px; border-radius: 9px; font-size: 15px; font-weight: 650; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.field textarea { min-height: 70px; padding: 10px 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.euro { position: relative; }
.euro span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-2); }
.euro input { padding-left: 28px; }
.total { margin: 14px 0 0; border-radius: 14px; background: var(--surface); padding: 12px 14px; font-size: 15px; }
.total strong { font-size: 20px; color: var(--s-won); }
.dlg-acts { display: flex; gap: 8px; margin-top: 18px; }
.btn { display: inline-flex; min-height: 50px; flex: 1; align-items: center; justify-content: center; border-radius: 14px; background: var(--surface-2); padding: 0 14px; font-size: 16px; font-weight: 700; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary[aria-disabled="true"] { opacity: .45; }
.btn-danger { background: var(--danger); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-danger { color: #0B0B0B; } }
.btn-wide { width: 100%; }
.err { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--danger); }

/* toast with undo */
.toast { position: fixed; inset: auto 12px calc(84px + var(--safe-b)); z-index: 60; display: none; width: auto; border: 0; align-items: center; justify-content: space-between; gap: 12px; margin: 0 auto; max-width: 480px; border-radius: 16px; background: var(--text); padding: 6px 6px 6px 16px; font-size: 15px; color: var(--bg); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.toast:popover-open, .toast.is-on { display: flex; }
.toast span { padding: 8px 0; }
.toast button { min-height: 44px; flex-shrink: 0; border-radius: 11px; padding: 0 14px; font-weight: 700; color: var(--bg); background: color-mix(in srgb, var(--bg) 18%, transparent); }

/* ---------- insights ---------- */
.ins { padding: 0 16px 24px; }
.pickers { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin-bottom: 14px; }
.pickers .seg { display: inline-grid; grid-auto-flow: column; grid-template-columns: none; margin-top: 0; }
.pickers .pick { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--text-2); }
.pickers input[type="date"] { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 10px; font-size: 15px; }
.dates { display: flex; gap: 6px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: 18px; background: var(--surface); padding: 14px; box-shadow: var(--shadow); }
.tile p { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.tile strong { display: block; margin-top: 6px; overflow-wrap: anywhere; font-family: "Archivo Black", "Inter", sans-serif; font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
.tile span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }
.tile.is-key strong { color: var(--accent); }
.card { margin-top: 14px; border-radius: 18px; background: var(--surface); padding: 16px; box-shadow: var(--shadow); }
.card:first-child { margin-top: 0; }
.card h2 { margin: 0; font-size: 18px; font-weight: 750; }
.card .sub { margin: 4px 0 12px; font-size: 14px; color: var(--text-2); }
.card .sub:last-child { margin-bottom: 0; }
.fun { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fun li { display: grid; gap: 5px; }
.fun .lbl { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.fun .lbl b { font-weight: 700; }
.bar-t { display: block; height: 10px; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.bar-t i { display: block; width: 0; height: 100%; border-radius: 10px; background: var(--accent); }
.fun .drop { font-size: 13px; color: var(--text-2); }
.fun li.is-worst .drop { font-weight: 700; color: var(--danger); }
.hint { margin: 12px 0 0; border-radius: 12px; background: var(--accent-soft); padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.tbl-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 14.5px; }
th { padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-align: right; color: var(--text-2); }
th:first-child, td:first-child { text-align: left; }
td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
td:first-child { max-width: 260px; overflow-wrap: anywhere; }
td small { display: block; font-size: 12.5px; color: var(--text-2); }
tr.is-camp td { font-weight: 700; }
tr.is-stage td:first-child { padding-left: 18px; }
tr.is-none td { color: var(--text-2); }
tbody tr.is-camp:not(:first-child) td { padding-top: 26px; }
.bars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; align-items: center; gap: 10px; font-size: 14.5px; }
.bars .bar-t { height: 8px; }
.bars b { min-width: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.bars small { color: var(--text-2); font-weight: 400; }
.grid2 { display: grid; gap: 0 14px; }
.foot-note { margin: 14px 0 0; font-size: 13px; color: var(--text-2); }

/* settings */
.acc { padding: 0 16px 24px; }
.log { margin: 0; padding: 0; list-style: none; }
.log li { border-top: 1px solid var(--line); padding: 12px 0; font-size: 15px; overflow-wrap: anywhere; }
.log li:first-child { border-top: 0; }
.log small { display: block; font-size: 13px; color: var(--text-2); }
.set-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.set-row .field { flex: 1 1 140px; margin-top: 0; }
.set-row .btn { flex: 0 0 auto; min-width: 110px; }
.state { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.state svg { width: 18px; height: 18px; }
.state.is-on { color: var(--s-won); }
.state.is-off { color: var(--text-2); }
.said { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.said.is-ok { color: var(--s-won); }
.said.is-bad { color: var(--danger); }
.card hr { margin: 16px 0; border: 0; border-top: 1px solid var(--line); }

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  body { overflow: hidden; }
  .app { display: grid; grid-template-columns: 228px 430px minmax(0, 1fr); height: 100vh; }
  .side { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding: 22px 14px; }
  .side .brand { padding: 0 10px 18px; }
  .side .tab { display: flex; min-height: 42px; place-items: initial; align-items: center; justify-content: flex-start; gap: 10px; padding: 0 10px; font-size: 15px; }
  .side .tab svg { width: 20px; height: 20px; }
  .side .tab[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
  .side .tab[aria-current="page"] svg { color: var(--accent); }
  .side-foot { margin: auto 0 0; padding: 0 10px; font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
  .tabs { display: none; }
  .main { min-height: 0; overflow: auto; border-right: 1px solid var(--line); padding-bottom: 24px; }
  .main.is-wide { grid-column: 2 / -1; border-right: 0; }
  .main.is-wide .ins, .main.is-wide .acc { max-width: 1080px; }
  .panel { display: block; overflow: auto; padding: 10px 28px 28px; }
  .panel-empty { display: grid; height: 70%; place-items: center; text-align: center; color: var(--text-2); }
  .toast { bottom: 24px; }
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lead-open:hover { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
