/* TaxVault (taxvault.ch), Oct 10 2026. Calm Swiss look, system fonts (fast, no font requests to third parties). Light only (Oct 13 2026: dark theme removed after test users found it confusing).
   ALPINE (Oct 13 2026): navy + bright blue for trust and money, official Swiss red only as a small accent, cool off-white paper.
   The variable names stay (--vault = the brand blue). --on-vault = text on a brand-blue fill; --brand-a/-b = the fixed CTA gradient. */
:root {
  --vault: #1f5eff; --vault-deep: #0b2545; --vault-soft: #eaf0ff; --vault-line: #c7d6ff; --on-vault: #ffffff;
  --brand-a: #1f5eff; --brand-b: #0b2545;
  --swiss: #e0393e; --swiss-soft: #fdecec;
  --ink: #0e1726; --muted: #556072; --paper: #f5f7fb; --surface: #ffffff; --line: #dfe4ee;
  --ok: #1d7a4a; --warn: #9a5b00; --warn-soft: #fdf1de;
  --radius: 14px; --shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 8px 24px rgba(14, 23, 38, .07);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); }
img, svg { max-width: 100%; }
.tv-i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
a { color: var(--vault); text-underline-offset: 3px; }
a:hover { color: var(--vault-deep); }
:focus-visible { outline: 3px solid var(--vault); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.tv-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .tv-wrap { padding-inline: 16px; } }
.tv-skip { position: absolute; left: -9999px; }
.tv-skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* header */
.tv-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tv-top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; max-width: 1440px; }  /* wider than the page: room for seven menu items in French and Italian (TAXVAULT-HEALTH) */
.tv-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 21px; letter-spacing: -.02em; }
.tv-logo b, .tv-foot-logo b { color: var(--vault); font-weight: 800; }
.tv-logo span { font-weight: 650; }
.tv-mark { width: 34px; height: 34px; flex: none; }
.tv-foot-logo { display: flex; align-items: center; gap: 8px; }
.tv-foot-logo .tv-mark { width: 26px; height: 26px; }
.tv-nav { display: flex; gap: 4px; margin-left: auto; }
.tv-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.tv-nav a:hover { color: var(--ink); background: var(--vault-soft); }
.tv-nav a[aria-current="page"] { color: var(--vault); background: var(--vault-soft); }
.tv-menu-btn { display: none; margin-left: auto; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
/* TAXVAULT-UI: the menu button takes over below 1100px (TAXVAULT-MENU Oct 14 2026: 1460px before the dropdown menu made the header shorter) */
@media (max-width: 1100px) {
  .tv-menu-btn { display: block; }
  .tv-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .tv-nav.is-open { display: flex; }
  .tv-nav a { padding: 12px; font-size: 17px; border-radius: 10px; }
}

/* buttons */
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); transition: background .15s, border-color .15s, transform .1s; }
.tv-btn:hover { border-color: var(--vault-line); color: var(--ink); background: var(--vault-soft); }
.tv-btn:active { transform: translateY(1px); }
.tv-btn-main { background: var(--vault); border-color: var(--vault); color: #fff; }
.tv-btn-main:hover { background: var(--vault-deep); border-color: var(--vault-deep); color: #fff; }
.tv-btn[disabled] { opacity: .55; cursor: wait; }
.tv-btn svg { width: 18px; height: 18px; flex: none; }
.tv-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
.tv-sec { padding-block: 72px; }
.tv-sec + .tv-sec { padding-top: 0; }
.tv-sec-head { display: grid; gap: 10px; max-width: 680px; margin-bottom: 32px; }
.tv-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vault); }
.tv-lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.tv-small { font-size: 14.5px; color: var(--muted); }

/* hero */
.tv-hero { padding-block: 72px 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.tv-hero-text { display: grid; gap: 22px; }
.tv-hero h1 span { color: var(--vault); }
.tv-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.tv-trust li { display: inline-flex; align-items: center; gap: 8px; }
.tv-trust svg { width: 18px; height: 18px; color: var(--vault); flex: none; }
.tv-hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; }
.tv-hero-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.tv-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--vault-soft); color: var(--vault); white-space: nowrap; }
.tv-tag-warn { background: var(--warn-soft); color: var(--warn); }
.tv-hero-card h3 { font-size: 20px; }
.tv-hero-rows { display: grid; gap: 10px; }
.tv-hero-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 15.5px; }
.tv-hero-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-hero-row svg { width: 20px; height: 20px; color: var(--vault); margin-top: 2px; }
@media (max-width: 900px) { .tv-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 36px; } }

/* tool cards */
.tv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .tv-cards { grid-template-columns: 1fr; } }
.tv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.tv-card:hover { border-color: var(--vault-line); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.tv-card p { color: var(--muted); }
.tv-card-i { width: 48px; height: 48px; border-radius: 12px; background: var(--vault-soft); color: var(--vault); display: grid; place-items: center; }
.tv-card-i svg { width: 26px; height: 26px; }
.tv-card-go { color: var(--vault); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

/* steps */
.tv-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .tv-steps { grid-template-columns: 1fr; } }
.tv-steps li { counter-increment: s; display: grid; gap: 8px; padding: 22px; border-top: 3px solid var(--vault); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.tv-steps li::before { content: counter(s); font-size: 30px; font-weight: 800; color: var(--vault); line-height: 1; }
.tv-steps p { color: var(--muted); }

/* privacy band */
.tv-band { background: var(--vault); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.tv-band h2 { color: #fff; }
.tv-band p { color: rgba(255, 255, 255, .86); }
.tv-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tv-band li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.tv-band li svg { width: 22px; height: 22px; margin-top: 2px; }
.tv-band a { color: #fff; }
@media (max-width: 800px) { .tv-band { grid-template-columns: 1fr; padding: 28px 22px; } }

/* FAQ */
.tv-faq { display: grid; gap: 10px; max-width: 820px; }
.tv-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.tv-faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.tv-faq summary::-webkit-details-marker { display: none; }
.tv-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--vault); }
.tv-faq details[open] summary::after { content: "–"; }
.tv-faq details p { padding-bottom: 18px; color: var(--muted); }

/* page head (inner pages) */
.tv-head { padding-block: 56px 32px; display: grid; gap: 14px; }
.tv-head h1 { font-size: clamp(32px, 4.6vw, 46px); }

/* split: form + aside */
.tv-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; padding-bottom: 72px; }
@media (max-width: 900px) { .tv-split { grid-template-columns: 1fr; } }
.tv-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
@media (max-width: 520px) { .tv-panel { padding: 20px 16px; } }
.tv-aside { display: grid; gap: 18px; }
.tv-aside ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tv-aside li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.tv-aside li > span { width: 40px; height: 40px; border-radius: 10px; background: var(--vault-soft); color: var(--vault); display: grid; place-items: center; font-weight: 800; }
.tv-aside li p { color: var(--muted); font-size: 15.5px; }

/* forms */
.tv-form { display: grid; gap: 18px; }
.tv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .tv-row { grid-template-columns: 1fr; } }
.tv-field { display: grid; gap: 6px; }
.tv-field > span { font-weight: 650; font-size: 15px; }
.tv-field > span small { font-weight: 400; color: var(--muted); }
.tv-field input, .tv-field select, .tv-field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.tv-field input:focus, .tv-field select:focus, .tv-field textarea:focus { outline: none; border-color: var(--vault); background: var(--surface); box-shadow: 0 0 0 3px var(--vault-soft); }
.tv-field textarea { resize: vertical; min-height: 110px; }
.tv-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--muted); align-items: start; }
.tv-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vault); }
.tv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tv-msg { padding: 12px 14px; border-radius: 10px; background: var(--swiss-soft); color: var(--swiss); font-weight: 600; font-size: 15px; }
.tv-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 28px 8px; }
.tv-done-i { width: 64px; height: 64px; border-radius: 50%; background: var(--vault-soft); color: var(--vault); display: grid; place-items: center; }
.tv-done-i svg { width: 34px; height: 34px; }

/* pricing */
.tv-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tv-price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.tv-price-n { font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tv-price-n small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tv-price ul { margin: 4px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.tv-price.is-main { border: 2px solid var(--vault); }
.tv-price .tv-tag { justify-self: start; }
.tv-skel { height: 180px; border-radius: var(--radius); background: linear-gradient(90deg, var(--line), var(--surface), var(--line)); background-size: 200% 100%; animation: tv-sk 1.4s infinite; }
@keyframes tv-sk { to { background-position: -200% 0; } }

/* prose (legal pages) */
.tv-prose { max-width: 760px; padding-bottom: 72px; display: grid; gap: 14px; }
.tv-prose h2 { font-size: 22px; margin-top: 18px; }
.tv-prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.tv-prose .tv-note { background: var(--warn-soft); color: var(--warn); padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.tv-fill { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* tool placeholder (letter, tax until the tools are ported) */
.tv-soon { display: grid; gap: 12px; justify-items: start; }

/* footer */
.tv-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 24px; }
/* TAXVAULT-FOOT4 (Oct 14 2026): brand + 4 link columns (Taxes, Letters & health, Resources, TaxVault); brand on its own row below 1100px, 2x2 on phones */
.tv-foot-in { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 32px 28px; padding-block: 44px 24px; }
@media (max-width: 1100px) { .tv-foot-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tv-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .tv-foot-in { grid-template-columns: 1fr 1fr; } }
.tv-foot h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tv-foot nav { display: grid; gap: 6px; align-content: start; }
.tv-foot nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; }
.tv-foot nav a:hover { color: var(--vault); text-decoration: underline; }
.tv-foot-logo { font-size: 20px; font-weight: 650; margin-bottom: 6px; }
.tv-foot-brand p:last-child { color: var(--muted); font-size: 15px; max-width: 360px; }
.tv-foot-legal { font-size: 13.5px; color: var(--muted); padding-block: 16px 28px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .tv-top, .tv-foot { display: none; } body { background: #fff; } }

/* ===== Modern home (Oct 10 2026, after the owner's iqtax.ch reference): highlighted headline word, floating app cards over a
   green panel, alternating step rows with small app mock-ups, a four-feature grid, a full-width colour band. ===== */
.tv-hl { color: var(--vault); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--vault) 16%, transparent) 62%); padding-inline: .06em; }
.tv-center { text-align: center; justify-items: center; margin-inline: auto; }
.tv-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 14px; font-weight: 650; color: var(--vault); background: var(--vault-soft); border: 1px solid var(--vault-line); padding: 6px 14px; border-radius: 999px; }
.tv-btn-lg { padding: 15px 26px; font-size: 17px; }
.tv-btn-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .18); margin-right: -8px; }
.tv-btn-light { background: #fff; border-color: #fff; color: #0b2545; }
.tv-btn-light:hover { background: #eaf0ff; border-color: #eaf0ff; color: #081a33; }
.tv-btn-light .tv-btn-arrow { background: #eaf0ff; }
.tv-top-cta { padding: 9px 18px; font-size: 15px; margin-left: 8px; }
/* TAXVAULT-UI: "Start now" only while the menu is folded (with the menu open it repeats "Explain a letter") */
@media (max-width: 1300px) { .tv-top-cta { display: none; } }  /* TAXVAULT-MENU: shown on wide screens next to the dropdown menu */

.tv-hero2 { background: radial-gradient(1200px 520px at 85% -10%, color-mix(in srgb, var(--vault) 12%, transparent), transparent 70%), var(--surface); border-bottom: 1px solid var(--line); }
.tv-hero2-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.tv-hero2 h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.035em; }
@media (max-width: 960px) { .tv-hero2-in { grid-template-columns: 1fr; padding-block: 40px 48px; } }

.tv-visual { position: relative; min-height: 540px; }
.tv-visual-bg { position: absolute; inset: 24px 0 24px 40px; border-radius: 28px; background:
  radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .22) 1px, transparent 0) 0 0 / 22px 22px,
  linear-gradient(145deg, #1f5eff, #163fb8 55%, #0b2545); }
.tv-float { position: absolute; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(8, 40, 35, .18);
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.tv-float b { display: block; font-size: 15px; }
.tv-float small { display: block; font-size: 13.5px; color: var(--muted); }
.tv-float-i { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--vault-soft); color: var(--vault); }
.tv-float-i .tv-i { width: 21px; height: 21px; }
.tv-float-ok { background: #e3f4ea; color: #1d7a4a; }
.tv-float-warn { background: var(--warn-soft); color: var(--warn); }
.tv-f-main { left: 14%; right: 4%; top: 104px; display: grid; gap: 12px; padding: 20px; border-radius: 20px; z-index: 2; }
.tv-f-main h3 { font-size: 20px; }
.tv-f-doc { left: 0; top: 40px; z-index: 3; }
.tv-f-save { right: 0; bottom: 18px; z-index: 3; }
.tv-f-miss { left: 4%; bottom: 0; z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .tv-f-doc { animation: tv-bob 6s ease-in-out infinite; }
  .tv-f-save { animation: tv-bob 7s ease-in-out -2s infinite; }
  .tv-f-miss { animation: tv-bob 8s ease-in-out -4s infinite; }
}
@keyframes tv-bob { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) {
  .tv-visual { min-height: 0; display: grid; gap: 12px; padding: 18px; }
  .tv-visual-bg { inset: 0; border-radius: 22px; }
  .tv-float { position: relative; inset: auto; animation: none !important; }
  .tv-f-main { order: -1; }
}

.tv-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-block: 32px 8px; }
.tv-strip span { white-space: nowrap; color: var(--muted); font-weight: 600; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }

.tv-rows { display: grid; gap: 28px; }
.tv-rowstep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.tv-rowstep-flip .tv-rowstep-text { order: 2; }
.tv-rowstep-text { display: grid; gap: 12px; justify-items: start; }
.tv-rowstep-text h3 { font-size: clamp(22px, 2.6vw, 28px); }
.tv-rowstep-text p { color: var(--muted); }
.tv-step-pill { font-size: 13px; font-weight: 750; letter-spacing: .04em; color: var(--vault); background: var(--vault-soft); padding: 5px 12px; border-radius: 8px; }
@media (max-width: 820px) { .tv-rowstep { grid-template-columns: 1fr; gap: 24px; padding: 22px; } .tv-rowstep-flip .tv-rowstep-text { order: 0; } }
.tv-mock { background: linear-gradient(160deg, var(--vault-soft), color-mix(in srgb, var(--vault-soft) 40%, var(--surface))); border-radius: 18px; padding: 26px; display: grid; gap: 14px; min-height: 220px; align-content: center; }
.tv-mock-drop { border: 2px dashed var(--vault-line); border-radius: 14px; background: var(--surface); display: grid; justify-items: center; gap: 4px; padding: 22px; color: var(--vault); text-align: center; }
.tv-mock-drop .tv-i { width: 30px; height: 30px; }
.tv-mock-drop b { color: var(--ink); }
.tv-mock-drop small { color: var(--muted); }
.tv-mock-files { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-mock-files span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; }
.tv-mock-list { display: grid; gap: 10px; }
.tv-mock-list span { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.tv-mock-list .tv-i { color: var(--ok); }
.tv-mock-list .tv-mock-busy { color: var(--muted); font-weight: 500; }
.tv-mock-list .tv-mock-busy .tv-i { color: var(--vault); }
.tv-mock-todo { display: grid; gap: 10px; }
.tv-mock-todo div { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.tv-mock-todo span { width: 28px; height: 28px; border-radius: 50%; background: var(--vault); color: var(--on-vault); display: grid; place-items: center; font-weight: 750; font-size: 14px; }
.tv-mock-todo b { color: var(--warn); font-size: 14px; white-space: nowrap; }
.tv-mock-call { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 14px; padding: 18px; }
.tv-mock-call small { display: block; color: var(--muted); font-size: 14px; }

.tv-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .tv-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tv-feats { grid-template-columns: 1fr; } }
.tv-feat { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tv-feat p { color: var(--muted); font-size: 15.5px; }

.tv-band2 { background: linear-gradient(135deg, #1f5eff, #163fb8 50%, #0b2545); color: #fff; }
.tv-band2-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 56px; }
.tv-band2 h2 { color: #fff; margin-bottom: 10px; }
.tv-band2 p { color: rgba(255, 255, 255, .86); max-width: 620px; }
.tv-faq-center { margin-inline: auto; }
.tv-cta { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 56px 24px; border-radius: 26px; color: #fff;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0) 0 0 / 22px 22px, linear-gradient(145deg, #1f5eff, #0b2545); }
.tv-cta h2 { color: #fff; }
.tv-cta p { color: rgba(255, 255, 255, .86); margin-bottom: 8px; }

/* ===== Colour accents (Oct 10 2026, owner wanted more colour): green stays the brand; each tool and feature gets its own accent.
   --c / --c-soft are set per element by .tv-c-* and used by icons, pills, mock panels and card hovers. ===== */
.tv-c-green { --c: #0b2545; --c-soft: #e8edf6; }
.tv-c-amber { --c: #b45309; --c-soft: #fdf0d9; }
.tv-c-blue { --c: #2952cc; --c-soft: #e6ecfd; }
.tv-c-red { --c: #c8281d; --c-soft: #fce8e6; }
.tv-c-violet { --c: #6d3fc0; --c-soft: #efe8fb; }
[class*="tv-c-"] .tv-card-i, [class*="tv-c-"] .tv-float-i { background: var(--c-soft); color: var(--c); }
[class*="tv-c-"] .tv-card-go { color: var(--c); }
a.tv-card[class*="tv-c-"] { border-top: 4px solid var(--c); }
a.tv-card[class*="tv-c-"]:hover { border-color: var(--c); }
.tv-feat[class*="tv-c-"] { background: linear-gradient(180deg, var(--c-soft), var(--surface) 70%); }
.tv-rowstep[class*="tv-c-"] .tv-step-pill { background: var(--c-soft); color: var(--c); }
.tv-rowstep[class*="tv-c-"] .tv-mock { background: linear-gradient(160deg, var(--c-soft), color-mix(in srgb, var(--c-soft) 35%, var(--surface))); }
.tv-rowstep[class*="tv-c-"] .tv-mock-todo span { background: var(--c); }
.tv-strip span:nth-child(5n+1) { border-color: #c7d6ff; color: #1f5eff; background: #f0f4ff; }
.tv-strip span:nth-child(5n+2) { border-color: #f3d5a5; color: #92400e; background: #fef6e7; }
.tv-strip span:nth-child(5n+3) { border-color: #c4d1fa; color: #2447b3; background: #f0f4fe; }
.tv-strip span:nth-child(5n+4) { border-color: #f4c3be; color: #a3231a; background: #fdf1f0; }
.tv-strip span:nth-child(5n+5) { border-color: #d9c8f5; color: #5b32a6; background: #f6f1fd; }
/* hero: soft colour glows behind the text and the cards */
.tv-hero2 { position: relative; overflow: hidden; background:
  radial-gradient(520px 360px at 8% 10%, rgba(245, 180, 83, .16), transparent 70%),
  radial-gradient(620px 420px at 92% 0%, rgba(31, 94, 255, .14), transparent 70%),
  radial-gradient(520px 380px at 70% 105%, rgba(41, 82, 204, .12), transparent 70%), var(--surface); }
.tv-visual-bg { background:
  radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .22) 1px, transparent 0) 0 0 / 22px 22px,
  radial-gradient(280px 220px at 90% 95%, rgba(245, 180, 83, .45), transparent 70%),
  radial-gradient(260px 220px at 10% 0%, rgba(120, 165, 255, .4), transparent 70%),
  linear-gradient(145deg, #1f5eff, #163fb8 55%, #0b2545); }
.tv-hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--vault) 18%, transparent) 62%); }
.tv-cta { background:
  radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0) 0 0 / 22px 22px,
  radial-gradient(420px 260px at 85% 100%, rgba(245, 180, 83, .4), transparent 70%),
  radial-gradient(380px 260px at 10% 0%, rgba(120, 165, 255, .35), transparent 70%),
  linear-gradient(145deg, #1f5eff, #0b2545); }

/* ===== Tools (Oct 10 2026): /letter and /tax (tools.js) ===== */
.tv-tool { display: grid; gap: 18px; align-content: start; min-width: 0; }
.tv-buy-wrap { padding-bottom: 72px; margin-top: -40px; }
.tv-buy-wrap:empty { display: none; }
.tv-btn-sm { padding: 8px 14px; font-size: 14.5px; }
.tv-bal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 14px; background: var(--vault-soft); }
.tv-bal-n b { font-size: 26px; font-weight: 800; color: var(--vault); font-variant-numeric: tabular-nums; }
.tv-bal-n span { color: var(--muted); font-weight: 600; }
.tv-bal-code { font-size: 14px; color: var(--muted); }
.tv-bal-code b { font-family: ui-monospace, Menlo, monospace; color: var(--ink); letter-spacing: .06em; }
.tv-bal .tv-btn { margin-left: auto; }
.tv-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 650; font-size: 15px; }
.tv-lang select { font: inherit; font-weight: 600; font-size: 15.5px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--vault-line); border-radius: 999px; padding: 8px 14px; }
.tv-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.tv-pages:empty { display: none; }
#tv-pages:empty { display: grid; }
.tv-page { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 3 / 4; }
.tv-page img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-page figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12.5px; font-weight: 700; background: rgba(0, 0, 0, .6); color: #fff; padding: 2px 8px; border-radius: 999px; }
.tv-rm { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .62); color: #fff; display: grid; place-items: center; cursor: pointer; }
.tv-pdf { height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; padding: 10px; text-align: center; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.tv-pdf .tv-i { width: 34px; height: 34px; color: var(--swiss); }
.tv-add, .tv-drop { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; cursor: pointer; padding: 22px 14px;
  border: 2px dashed var(--vault-line); border-radius: 14px; background: color-mix(in srgb, var(--vault-soft) 55%, var(--surface)); color: var(--ink); transition: background .15s, border-color .15s; }
.tv-add { aspect-ratio: auto; min-height: 180px; grid-column: 1 / -1; }
.tv-pages .tv-page ~ .tv-add { grid-column: auto; min-height: 0; aspect-ratio: 3 / 4; }
.tv-add:hover, .tv-drop:hover, .tv-drop.is-over { border-color: var(--vault); background: var(--vault-soft); }
.tv-add input, .tv-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.tv-add small, .tv-drop span:last-child { color: var(--muted); font-size: 14px; }
.tv-add-i { width: 46px; height: 46px; border-radius: 12px; background: var(--vault); color: var(--on-vault); display: grid; place-items: center; }
.tv-add-i .tv-i { width: 24px; height: 24px; }
.tv-drop { padding: 34px 18px; }
.tv-go { justify-self: start; }
.tv-msg[hidden] { display: none; }
.tv-wait { display: grid; justify-items: center; gap: 10px; padding: 48px 12px; text-align: center; }
.tv-wait small { color: var(--muted); }
.tv-spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--vault-soft); border-top-color: var(--vault); animation: tv-rot 1s linear infinite; }
@keyframes tv-rot { to { transform: rotate(360deg); } }
.tv-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60; background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.tv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.tv-testbar { display: flex; gap: 8px; align-items: center; background: var(--warn-soft); color: var(--warn); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.tv-buy { display: grid; gap: 16px; padding-top: 8px; }
.tv-buy h2 { font-size: 24px; }
.tv-stepbar { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tv-stepbar li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--muted); padding: 10px; border-radius: 12px; background: var(--paper); }
.tv-stepbar span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 13px; }
.tv-stepbar .is-on { color: var(--vault); background: var(--vault-soft); }
.tv-stepbar .is-on span { background: var(--vault); color: var(--on-vault); }
.tv-stepbar .is-done span { background: var(--ok); color: #fff; }
@media (max-width: 560px) { .tv-stepbar li { font-size: 12.5px; flex-direction: column; text-align: center; } }

/* results */
.tv-res { display: grid; gap: 16px; }
.tv-res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tv-res-head h2 { font-size: 26px; }
.tv-res-from { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.tv-part:not([class*="tv-c-"]) { --c: var(--vault); --c-soft: var(--vault-soft); }
.tv-part { border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 14px; padding: 16px 18px; display: grid; gap: 12px; background: var(--surface); }
.tv-part h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--c); }
.tv-part h3 .tv-i { width: 20px; height: 20px; }
.tv-sum { background: var(--vault-soft); border-left-color: var(--vault); font-size: 18px; }
.tv-t { font-weight: 500; }
.tv-en { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.tv-todo { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.tv-num { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tv-rowi { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.tv-rowi:last-child { border-bottom: 0; padding-bottom: 0; }
.tv-amt, .tv-when { font-size: 18px; font-variant-numeric: tabular-nums; color: var(--ink); }
.tv-off { font-size: 13.5px; color: var(--c); font-weight: 650; }
.tv-days { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--vault-soft); color: var(--vault); margin-left: 6px; }
.tv-days.is-soon { background: var(--warn-soft); color: var(--warn); }
.tv-days.is-past { background: var(--swiss-soft); color: var(--swiss); }
.tv-pt + .tv-pt { padding-top: 10px; border-top: 1px dashed var(--line); }
.tv-reply { white-space: pre-wrap; font: inherit; font-size: 15.5px; background: var(--paper); border-radius: 10px; padding: 14px; margin: 0; }
/* TAXVAULT-REPLY (Oct 12 2026): example answer with its full translation, "Write my answer" */
.tv-ans { display: grid; gap: 8px; min-width: 0; }
.tv-lab { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c); margin: 4px 0 0; }
.tv-reply-tr { background: var(--c-soft); color: var(--ink); }
.tv-ans-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tv-ans-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin: 0; }
.tv-ans-note .tv-i { width: 18px; height: 18px; flex: none; color: var(--c); margin-top: 2px; }
.tv-ans-card { display: grid; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tv-ans-want { margin: 0; font-size: 15px; }
.tv-write > p { margin: 0; }
#tv-answers:empty { display: none; }
.tv-ok { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 650; }
.tv-read summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; color: var(--vault); }
.tv-doc { display: grid; gap: 4px; padding: 10px 0; border-top: 1px dashed var(--line); }
.tv-doc > span { color: var(--muted); font-size: 14.5px; }
.tv-doc ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14.5px; }
.tv-doc li { display: flex; justify-content: space-between; gap: 12px; }
.tv-doc li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-docnote { background: var(--warn-soft); border-radius: 8px; padding: 8px 10px; }
.tv-file { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 16px; border-radius: 14px; border: 2px solid var(--vault); background: var(--vault-soft); }
.tv-file span:last-child { display: grid; }
.tv-file small { color: var(--muted); }
.tv-file b { font-size: 18px; }
.tv-file em { font-style: normal; color: var(--vault); font-size: 14px; }
.tv-linkbtn { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
@media print { .tv-buy-wrap, .tv-aside, .tv-head, .tv-actions, .tv-lang, .tv-bal { display: none !important; } .tv-split { display: block; } .tv-panel { border: 0; padding: 0; } }

/* ===== Accounts (Oct 10 2026): /account (account.js), header login, keep-in-vault ===== */
.tv-nav a.tv-nav-acc { color: var(--vault); border: 1.5px solid var(--vault-line); }
.tv-nav a.tv-nav-acc.is-in { background: var(--vault-soft); }
.tv-login { display: grid; gap: 16px; max-width: 460px; }
.tv-login h2 { font-size: 24px; }
.tv-btn-google { background: var(--surface); border-color: var(--line); justify-self: stretch; }
.tv-btn-google .tv-i { width: 20px; height: 20px; }
.tv-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.tv-or::before, .tv-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tv-code { font-size: 26px !important; letter-spacing: .35em; font-variant-numeric: tabular-nums; max-width: 240px; }
.tv-note2 { background: var(--warn-soft); color: var(--warn); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.tv-form[hidden] { display: none; }
.tv-acc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.tv-acc-head h2 { font-size: 26px; }
.tv-acc-credits { display: flex; align-items: center; gap: 10px; background: var(--vault-soft); padding: 10px 14px; border-radius: 14px; font-weight: 600; }
.tv-acc-credits b { font-size: 24px; color: var(--vault); }
.tv-acc-credits small { color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.tv-usage { display: grid; gap: 6px; }
.tv-usage > div { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.tv-usage > div span { display: block; height: 100%; background: linear-gradient(90deg, var(--vault), #f5b453); border-radius: inherit; min-width: 4px; }
.tv-usage small { color: var(--muted); }
/* TAXVAULT-PLANS (Oct 13 2026): subscriptions on the tools, account and pricing pages */
.tv-planbar { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--vault-line); color: var(--vault-deep); font-weight: 600; }
.tv-planbar .tv-i { width: 18px; height: 18px; flex: none; }
.tv-plan-teaser a, .tv-plan-note a { font-weight: 700; }
.tv-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.tv-plans > .tv-small { grid-column: 1 / -1; margin: 0; }
.tv-plan { display: grid; gap: 12px; align-content: space-between; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tv-plan.is-on { border-color: var(--vault); background: var(--vault-soft); }
.tv-plan.is-want { outline: 2px solid var(--vault); outline-offset: 2px; }
.tv-plan h4 { font-size: 17px; margin: 0; }
.tv-plan p { margin: 0; }
.tv-plan-price b { font-size: 22px; }
.tv-plan-price span { color: var(--muted); }
.tv-plan-state { display: grid; gap: 8px; justify-items: start; }
.tv-plans-offer .tv-price .tv-btn { justify-self: start; margin-top: 4px; }
/* canton rules box in the tax report (Oct 13 2026) */
.tv-rules { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--vault-soft); border: 1px solid var(--vault-line); }
.tv-rules > .tv-i { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; color: var(--on-vault); background: var(--vault); }
.tv-rules p { margin: 2px 0 4px; }
.tv-rules small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.tv-rules a { font-weight: 600; }
.tv-rules-gen { background: var(--warn-soft); border-color: transparent; color: var(--warn); align-items: center; }
.tv-rules-gen .tv-i { flex: none; }

/* how it works page (Oct 13 2026): centred head, a switch between the two journeys, big zig-zag steps with an app-window visual */
.tv-how-head { text-align: center; justify-items: center; display: grid; gap: 14px; padding-top: 40px; }
.tv-how-head .tv-lead { max-width: 640px; }
.tv-how-switch { position: sticky; top: 72px; z-index: 5; display: flex; justify-content: center; margin: 8px auto 0; }
.tv-how-switch div { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tv-how-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; }
.tv-how-switch a.is-on { background: var(--vault); color: var(--on-vault); }
.tv-how-switch .tv-i { width: 18px; height: 18px; }
.tv-how-track { padding-top: 56px; scroll-margin-top: 130px; }
.tv-how-track > h2 { text-align: center; margin-bottom: 8px; }
.tv-how-track > .tv-lead { text-align: center; margin: 0 auto 34px; max-width: 620px; }
.tv-how-steps { display: grid; gap: 64px; }
.tv-how-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.tv-how-step:nth-child(even) .tv-how-text { order: 2; }
.tv-how-text { display: grid; gap: 14px; justify-items: start; }
.tv-how-num { display: flex; align-items: center; gap: 12px; }
.tv-how-num b { font-size: 46px; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--vault); }
.tv-how-text h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 0; }
.tv-how-text p { margin: 0; color: var(--muted); font-size: 17.5px; max-width: 480px; }
.tv-how-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tv-how-text li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.tv-how-text li .tv-i { color: var(--vault); }
.tv-frame { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 24px 50px -24px rgba(14, 23, 38, .28); overflow: hidden; }
.tv-frame-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.tv-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.tv-frame-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tv-frame .tv-mock { border-radius: 0; min-height: 280px; }
.tv-how-cta { margin-top: 72px; }
@media (max-width: 860px) {
  .tv-how-step { grid-template-columns: 1fr; gap: 22px; }
  .tv-how-step:nth-child(even) .tv-how-text { order: 0; }
  .tv-how-steps { gap: 44px; }
  .tv-how-switch { top: 64px; }
  .tv-how-switch a { padding: 8px 14px; font-size: 14px; }
  .tv-frame .tv-mock { min-height: 0; }
}

/* contact page (Oct 13 2026) */
.tv-contact-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tv-contact-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; }
.tv-contact-chips .tv-i { width: 17px; height: 17px; color: var(--vault); }
.tv-contact { padding-bottom: 24px; }
.tv-contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tv-contact-form h2 { font-size: 24px; margin: 0; }
.tv-contact-form > .tv-small { margin: 4px 0 18px; }
.tv-contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.tv-contact-send .tv-small { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.tv-contact-send .tv-small .tv-i { width: 15px; height: 15px; }
.tv-contact-side { display: grid; gap: 12px; }
.tv-wa { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #128c7e, #0b6e62); box-shadow: 0 14px 30px -14px rgba(18, 140, 126, .75); transition: transform .15s ease, box-shadow .15s ease; }
.tv-wa[hidden] { display: none; }
.tv-wa:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(18, 140, 126, .85); }
.tv-wa:focus-visible { outline: 3px solid rgba(18, 140, 126, .45); outline-offset: 3px; }
.tv-wa-i { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.tv-wa > span:not(.tv-wa-go) { display: grid; gap: 2px; flex: 1; }
.tv-wa b { font-size: 17px; }
.tv-wa small { opacity: .85; font-size: 13.5px; }
.tv-wa-go { font-size: 22px; font-weight: 700; }
.tv-contact-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  color: inherit; text-decoration: none; }
.tv-contact-card h3 { font-size: 16px; margin: 0 0 2px; }
.tv-contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.tv-contact-card .tv-card-i { flex: none; }
.tv-contact-link { flex-wrap: wrap; transition: border-color .15s ease; }
.tv-contact-link:hover { border-color: var(--vault-line); }
.tv-contact-link .tv-card-go { margin-left: auto; align-self: center; }
.tv-contact-faq { padding-top: 12px; }
.tv-contact-faq h2 { margin-bottom: 14px; }
@media (max-width: 860px) { .tv-contact-grid { grid-template-columns: 1fr; } .tv-contact-side { order: -1; } }
@media (prefers-reduced-motion: reduce) { .tv-wa { transition: none; } }

/* the plan card on /letter and /tax (Oct 13 2026) */
.tv-planhero { position: relative; display: grid; gap: 16px; padding: 24px; margin-bottom: 26px; border-radius: 22px; border: 1px solid var(--vault-line);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--vault) 16%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, var(--vault-soft), var(--surface) 70%);
  box-shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 18px 40px -18px color-mix(in srgb, var(--vault) 45%, transparent); max-width: 640px; }
.tv-planhero-badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #fff; background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); }
.tv-planhero-badge .tv-i { width: 15px; height: 15px; }
.tv-planhero-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.tv-planhero h3 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
.tv-planhero-sub { margin: 4px 0 0; color: var(--muted); }
.tv-planhero-price { display: grid; justify-items: end; line-height: 1.1; }
.tv-planhero-price b { font-size: 40px; letter-spacing: -.02em; color: var(--vault-deep); }
.tv-planhero-price span { color: var(--muted); font-weight: 600; }
.tv-planhero-price small { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--vault); background: var(--surface); padding: 3px 9px; border-radius: 999px; }
.tv-planhero-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; }
.tv-planhero-list li { display: flex; align-items: center; gap: 8px; }
.tv-planhero-list .tv-i { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; color: var(--on-vault); background: var(--vault); }
.tv-planhero-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700; color: #fff; background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--vault) 70%, transparent); transition: transform .15s ease, box-shadow .15s ease; }
.tv-planhero-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--vault) 75%, transparent); }
.tv-planhero-cta:active { transform: translateY(0); }
.tv-planhero-cta:disabled { opacity: .6; cursor: default; transform: none; }
.tv-planhero-cta:focus-visible { outline: 3px solid color-mix(in srgb, var(--vault) 45%, transparent); outline-offset: 3px; }
.tv-planhero-note, .tv-planhero-soon { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -4px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.tv-planhero-note .tv-i { width: 15px; height: 15px; flex: none; }
.tv-planhero-soon { margin: 0; }
@media (prefers-reduced-motion: reduce) { .tv-planhero-cta { transition: none; } }
@media (max-width: 560px) {
  .tv-planhero { padding: 20px 18px; border-radius: 20px; margin-top: 18px; }
  .tv-planhero-main { align-items: flex-start; }
  .tv-planhero-price { justify-items: start; }
  .tv-planhero-price b { font-size: 34px; }
}
.tv-plan-offer { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.tv-plan-offer > h3 { font-size: 20px; margin: 0; }
.tv-plan-offer .tv-price .tv-btn { justify-self: start; margin-top: 4px; }
.tv-plan-offer .tv-prices { grid-template-columns: repeat(auto-fit, minmax(240px, 420px)); }
.tv-acc-sec { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.tv-acc-sec h3 { font-size: 19px; }
.tv-acc-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.tv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.tv-chip.is-on { background: var(--vault); border-color: var(--vault); color: var(--on-vault); }
.tv-drop-sm { padding: 18px; }
.tv-up-opts { grid-template-columns: 1fr 1fr; }
.tv-doclist { display: grid; gap: 8px; }
.tv-docrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tv-docrow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-docrow small { color: var(--muted); font-size: 13.5px; }
.tv-docicon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: #e6ecfd; color: #2952cc; }
.tv-docicon.is-pdf { background: #fce8e6; color: #c8281d; }
.tv-docicon.is-tax { background: #fdf0d9; color: #b45309; }
.tv-docicon.is-letter { background: var(--vault-soft); color: var(--vault); }
.tv-docact { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 640px) { .tv-docrow { grid-template-columns: 40px minmax(0, 1fr); } .tv-docact { grid-column: 1 / -1; justify-content: flex-start; } }
.tv-danger { border: 1px solid #f4c3be; border-radius: 12px; padding: 10px 14px; display: grid; gap: 10px; }
.tv-danger summary { cursor: pointer; font-weight: 650; color: var(--swiss); }
.tv-danger[open] { gap: 12px; }
.tv-btn-danger { background: var(--swiss); border-color: var(--swiss); color: #fff; justify-self: start; }
.tv-btn-danger:hover { background: #a3231a; border-color: #a3231a; color: #fff; }
.tv-keep { color: var(--ink); font-weight: 600; background: var(--vault-soft); padding: 10px 12px; border-radius: 10px; }
.tv-loginhint a { font-weight: 650; }
/* TAXVAULT-UI (Oct 12 2026): language switcher DE FR IT EN in the header */
.tv-langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); flex: none; }
.tv-langs a { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 999px; line-height: 1.2; }
.tv-langs a:hover { color: var(--ink); }
.tv-langs a[aria-current="true"] { background: var(--vault); color: var(--paper); }
@media (max-width: 420px) { .tv-langs a { padding: 4px 6px; } .tv-top-in { gap: 10px; } }
@media print { .tv-langs { display: none; } }

/* TAXVAULT-SAVINGS (Oct 12 2026): the free savings check on /tax */
.tv-sv { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: linear-gradient(150deg, var(--vault-soft), color-mix(in srgb, var(--vault-soft) 30%, var(--surface)));
  border: 1px solid var(--vault-line); margin-bottom: 8px; scroll-margin-top: 80px; }
.tv-sv h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; color: var(--vault); }
.tv-sv h2 .tv-i { width: 24px; height: 24px; }
.tv-sv-res { display: grid; gap: 10px; }
.tv-sv-amt { margin: 0; display: grid; gap: 2px; }
.tv-sv-amt span { color: var(--muted); font-weight: 600; }
.tv-sv-amt b { font-size: clamp(30px, 6vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: var(--vault); }
.tv-sv-n { margin: 6px 0 0; font-weight: 750; }
.tv-sv-lock { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); color: var(--muted); }
.tv-sv-lock .tv-i { width: 18px; height: 18px; }
.tv-sv-blur { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--line) 40%, var(--surface))); filter: blur(1.5px); }
.tv-sv-lock:nth-child(3n+1) .tv-sv-blur { width: 82%; } .tv-sv-lock:nth-child(3n+2) .tv-sv-blur { width: 64%; } .tv-sv-lock:nth-child(3n) .tv-sv-blur { width: 74%; }
.tv-sv-lock b { font-size: 14px; letter-spacing: .08em; }
.tv-sv-or { font-size: 18px; color: var(--muted); margin: 18px 0 2px; scroll-margin-top: 80px; }
.tv-sv-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--vault-soft); color: var(--vault); font-weight: 650; margin: 0; }
.tv-sv-banner .tv-i { width: 18px; height: 18px; }
.tv-sv-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-weight: 700; font-size: 15px; color: var(--vault); text-decoration: none;
  background: var(--surface); border: 1.5px solid var(--vault-line); border-radius: 999px; padding: 8px 14px; }
.tv-sv-pill:hover { background: var(--vault-soft); }
.tv-sv-pill .tv-i { width: 18px; height: 18px; }
@media print { .tv-sv, .tv-sv-or { display: none !important; } }

/* ===================== TAXVAULT-MOBILE (Oct 12 2026): app-like phones (up to 760px) =====================
   Bottom tab bar (Home, Letter, Taxes, Vault, More), "More" opens the menu as a bottom sheet, card rows swipe sideways,
   tighter spacing. Desktop and tablets are unchanged. */
.tv-tabbar { display: none; }
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .tv-wrap { padding-inline: 16px; }
  .tv-buy-wrap { padding-bottom: 8px; }  /* letter page: no big empty band above the footer on phones */
  .tv-foot { margin-top: 16px; }
  .tv-foot-in { padding-block: 28px 20px; }

  /* header: slimmer, no text "Menu" button (the tab bar has More) */
  .tv-top-in { min-height: 56px; gap: 10px; }
  .tv-logo { font-size: 19px; } .tv-logo .tv-mark { width: 28px; height: 28px; }
  .tv-top .tv-menu-btn { display: none; }
  .tv-top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); } /* a blur would trap the fixed sheet inside the header */
  body.tv-nav-open .tv-top { z-index: 50; }
  .tv-langs, .tv-langdd { margin-left: auto; }

  /* tab bar */
  .tv-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-top: 1px solid var(--line); }
  .tv-tabbar a, .tv-tabbar button { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; background: none; font: inherit;
    font-size: 11.5px; font-weight: 650; color: var(--muted); text-decoration: none; border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tv-tabbar .tv-i { width: 24px; height: 24px; padding: 3px 14px; box-sizing: content-box; border-radius: 999px; transition: background .2s, color .2s; }
  .tv-tabbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  body[data-tv-page="home"] [data-tab="home"], body[data-tv-page="letter"] [data-tab="letter"], body[data-tv-page="tax"] [data-tab="tax"],
  body[data-tv-page="tax/request"] [data-tab="tax"], body[data-tv-page="account"] [data-tab="account"], body.tv-nav-open .tv-tab-more { color: var(--vault); }
  body[data-tv-page="home"] [data-tab="home"] .tv-i, body[data-tv-page="letter"] [data-tab="letter"] .tv-i, body[data-tv-page="tax"] [data-tab="tax"] .tv-i,
  body[data-tv-page="tax/request"] [data-tab="tax"] .tv-i, body[data-tv-page="account"] [data-tab="account"] .tv-i, body.tv-nav-open .tv-tab-more .tv-i { background: var(--vault-soft); }

  /* the menu as a bottom sheet above the tab bar */
  .tv-nav { position: fixed; top: auto; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 45; border: 1px solid var(--line);
    border-radius: 22px; padding: 10px; box-shadow: 0 24px 60px rgba(8, 40, 35, .28); }
  .tv-nav.is-open { animation: tv-sheet .22s ease-out; }
  .tv-nav a { padding: 14px 16px; font-size: 17px; color: var(--ink); }
  body.tv-nav-open::after { content: ""; position: fixed; inset: 0; z-index: 35; background: rgba(6, 12, 24, .36); }
  .tv-toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 32px); }

  /* swipe rows: cards side by side with the next one peeking in */
  .tv-cards, .tv-feats, .tv-rows, .tv-aside ol, .tv-strip, #tv-uses {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .tv-cards::-webkit-scrollbar, .tv-feats::-webkit-scrollbar, .tv-rows::-webkit-scrollbar, .tv-aside ol::-webkit-scrollbar, .tv-strip::-webkit-scrollbar,
  #tv-uses::-webkit-scrollbar, .tv-visual::-webkit-scrollbar { display: none; }
  .tv-cards > *, .tv-feats > *, .tv-rows > *, .tv-aside li, #tv-uses > * { scroll-snap-align: start; }
  .tv-card, .tv-feat, .tv-price { padding: 20px; border-radius: 20px; box-shadow: var(--shadow); }
  .tv-feats { grid-auto-columns: 72%; }
  .tv-strip { grid-auto-columns: max-content; justify-content: start; gap: 8px; padding-block: 18px 6px; margin-inline: 0; } /* the strip is its own .tv-wrap */

  /* home */
  .tv-hero2-in { padding-block: 22px 26px; gap: 22px; }
  .tv-hero2 h1 { font-size: 36px; line-height: 1.08; }
  .tv-lead { font-size: 16.5px; }
  .tv-hero-text { gap: 14px; }
  .tv-hero-text .tv-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .tv-hero-text .tv-actions .tv-btn { width: 100%; justify-content: center; }
  .tv-trust { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tv-trust li { flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
  .tv-visual { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 6px 16px 16px; margin-inline: -16px; scrollbar-width: none; }
  .tv-visual-bg { display: none; }
  .tv-float { flex: 0 0 auto; width: 74%; scroll-snap-align: center; box-shadow: var(--shadow); }
  .tv-f-main { width: 88%; }
  .tv-sec { padding-block: 40px; }
  .tv-sec-head { margin-bottom: 18px; }
  .tv-sec-head h2, .tv-band2 h2, .tv-cta h2 { font-size: 26px; }
  .tv-rowstep { gap: 16px; padding: 18px; border-radius: 22px; align-content: start; }
  .tv-rowstep-text h3 { font-size: 20px; }
  .tv-mock { min-height: 0; padding: 16px; }
  .tv-band2-in { padding-block: 36px; }
  .tv-cta { padding: 36px 20px; border-radius: 22px; }
  .tv-faq details { border-radius: 16px; }

  /* tool pages */
  .tv-head { padding-block: 22px 16px; gap: 8px; }
  .tv-head h1 { font-size: 28px; line-height: 1.12; }
  .tv-head .tv-lead { font-size: 15.5px; }
  .tv-split { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
  .tv-stepbar li { overflow-wrap: anywhere; hyphens: auto; padding: 8px 4px; }
  .tv-lang select, .tv-field select { max-width: 100%; }
  .tv-panel { border-radius: 22px; padding: 18px 16px; box-shadow: var(--shadow); }
  .tv-aside { gap: 10px; }
  .tv-aside li { grid-template-columns: 1fr; align-content: start; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
  .tv-btn-lg { width: 100%; justify-content: center; }
  .tv-res-head h2 { font-size: 22px; }
  .tv-res-head { flex-wrap: wrap; } .tv-res-head .tv-tag, .tv-tag { white-space: normal; }

  /* footer: compact */
  .tv-foot { margin-top: 8px; }
  .tv-foot-in { padding-block: 28px 12px; gap: 20px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .tv-nav.is-open { animation: none; } }
@keyframes tv-sheet { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media print { .tv-tabbar { display: none !important; } body { padding-bottom: 0; } }

/* ===== TAXVAULT-CANTON-PAGES (Oct 14 2026): /cantons and /cantons/<slug>, built by App\Support\TvCantonPages from approved rules ===== */
.tv-cr-sec { padding-bottom: 44px; display: grid; gap: 16px; }
.tv-cr-sec > h2 { font-size: clamp(22px, 2.6vw, 28px); }
.tv-cr-muted { color: var(--muted); max-width: 680px; }
.tv-cr-back { justify-self: start; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; }
.tv-cr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tv-cr-card h3 { font-size: 21px; }
.tv-cr-card p { font-size: 15px; }
.tv-cr-code { justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; background: var(--vault-soft); color: var(--vault); }
.tv-cr-soon { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tv-cr-soon li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 15px; }
.tv-cr-list { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tv-cr-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 28px; padding: 16px 22px; border-top: 1px solid var(--line); }
.tv-cr-row:first-child { border-top: 0; }
.tv-cr-row dt { font-weight: 650; }
.tv-cr-row dd { margin: 0; color: var(--ink); }
.tv-cr-dates .tv-cr-row:first-child { background: var(--vault-soft); }
.tv-cr-en { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.tv-cr-src { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.tv-cr-src a { overflow-wrap: anywhere; }
@media (max-width: 700px) { .tv-cr-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; } }
/* canton flags (Oct 14 2026): public-domain flag SVGs in /tv/flags, cropped square */
.tv-cr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tv-cr-flag, .tv-cr-flag-s, .tv-cr-flag-l { object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); background: #fff; flex: none; }
.tv-cr-flag { width: 48px; height: 48px; }
.tv-cr-flag-s { width: 20px; height: 20px; border-radius: 5px; }
.tv-cr-soon li { display: inline-flex; align-items: center; gap: 8px; }
.tv-cr-hero { display: flex; align-items: center; gap: 20px; }
.tv-cr-hero-t { display: grid; gap: 10px; min-width: 0; }
.tv-cr-flag-l { width: 72px; height: 72px; border-radius: 16px; }
@media (max-width: 520px) { .tv-cr-hero { gap: 14px; } .tv-cr-flag-l { width: 56px; height: 56px; border-radius: 12px; } }

/* ===== TAXVAULT-PRIVACY (Oct 14 2026): privacy and security page: hero with the document's path, four promises, the AI band ===== */
.tv-pv-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 56px 40px; }
.tv-pv-hero-t { display: grid; gap: 16px; justify-items: start; }
.tv-pv-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.tv-pv-chips { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tv-pv-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--vault-soft); color: var(--vault-deep); font-weight: 600; font-size: 14.5px; }
.tv-pv-chips .tv-i { width: 18px; height: 18px; color: var(--vault); }
.tv-pv-flow { list-style: none; margin: 0; padding: 22px; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.tv-pv-flow li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; position: relative; padding-bottom: 22px; }
.tv-pv-flow li:last-child { padding-bottom: 0; }
.tv-pv-flow li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 4px; border-left: 2px dashed var(--vault-line); }
.tv-pv-flow b { display: block; }
.tv-pv-flow small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.tv-pv-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c-soft, var(--vault-soft)); color: var(--c, var(--vault)); }
.tv-pv-ic .tv-i { width: 24px; height: 24px; }
.tv-pv-ic-ai { background: var(--vault); color: var(--on-vault, #fff); }
.tv-pv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tv-pv-cards h3 { font-size: 19px; }
.tv-pv-ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 44px; border-radius: 26px; color: #fff;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0) 0 0 / 22px 22px, linear-gradient(145deg, #1f5eff, #0b2545); }
.tv-pv-ai h2 { color: #fff; margin: 8px 0 12px; font-size: clamp(28px, 3.6vw, 40px); }
.tv-pv-ai .tv-eyebrow { color: rgba(255, 255, 255, .8); }
.tv-pv-ai p { color: rgba(255, 255, 255, .88); }
.tv-pv-ai ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tv-pv-ai li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: rgba(255, 255, 255, .9); }
.tv-pv-ai li b { color: #fff; }
.tv-pv-ai li .tv-i { width: 22px; height: 22px; margin-top: 2px; }
.tv-prose#policy { padding-bottom: 72px; }
@media (max-width: 1000px) { .tv-pv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tv-pv-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 24px; } .tv-pv-ai { grid-template-columns: 1fr; padding: 28px 22px; } }
@media (max-width: 520px) { .tv-pv-cards { grid-template-columns: 1fr; } .tv-pv-flow { padding: 18px; } }
.tv-prose#policy > h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 0; }
.tv-prose h3 { font-size: 18.5px; margin-top: 12px; }
/* TAXVAULT-HEALTH (Oct 13 2026): /health, the health insurance switch check (public/tv/health.js) */
.tv-hc-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tv-hc-side { display: grid; gap: 12px; }
.tv-hc-photo { display: grid; gap: 8px; padding: 14px 16px; margin: 4px 0 18px; border-radius: 12px; background: var(--vault-soft); border: 1px dashed var(--vault-line); }
.tv-hc-photo-btn { justify-self: start; cursor: pointer; }
.tv-hc-res, .tv-hc-letter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.tv-hc-sum { border-color: var(--vault-line); background: linear-gradient(180deg, var(--vault-soft), var(--surface) 70%); display: grid; gap: 8px; }
.tv-hc-big { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--vault-deep); margin: 0; }
.tv-hc-big small { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tv-hc-listhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tv-hc-listhead h2 { margin: 0; }
.tv-hc-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.tv-hc-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.tv-hc-list li:last-child { border-bottom: 0; }
.tv-hc-list li.is-mine { background: var(--warn-soft); border-radius: 10px; padding-inline: 10px; }
.tv-hc-list small { display: block; color: var(--muted); font-size: 14px; }
.tv-hc-rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--vault-soft); color: var(--vault); font-weight: 700; font-size: 14px; }
.tv-hc-price { text-align: right; display: grid; justify-items: end; }
.tv-hc-price b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-hc-save { font-size: 13px; font-weight: 700; color: var(--ok); white-space: nowrap; }
.tv-hc-tablewrap { overflow-x: auto; margin: 10px 0; }
.tv-hc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tv-hc-table th, .tv-hc-table td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tv-hc-table th:first-child, .tv-hc-table td:first-child { text-align: left; }
.tv-hc-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.tv-hc-table tr.is-mine td { background: var(--warn-soft); }
.tv-hc-table td.is-low { color: var(--ok); font-weight: 700; }
.tv-hc-table small { color: var(--muted); font-size: 12px; }
.tv-hc-steps { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; }
.tv-hc-addr { padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.tv-hc-addr:empty { display: none; }
.tv-hc-person { align-items: end; }
@media (max-width: 860px) { .tv-hc-grid { grid-template-columns: minmax(0, 1fr); } }
.tv-hc-form-panel, .tv-hc select { min-width: 0; max-width: 100%; }
@media (max-width: 520px) { .tv-hc-list li { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; } }
.tv-hc-list li > div:nth-child(2) { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
/* TAXVAULT-HEALTH-PLAN: the tax plan card after the health result looks like the other result boxes (.tv-panel, .tv-hc-sum):
   full width, same corners, padding and border, no glow; text left (up to 60ch), price right; on phones below each other */
.tv-planhero.tv-hc-plan { max-width: none; width: 100%; margin: 0; padding: 28px; border-radius: var(--radius); border-color: var(--vault-line);
  background: linear-gradient(180deg, var(--vault-soft), var(--surface) 70%); box-shadow: none; }
.tv-hc-plan .tv-planhero-main { flex-wrap: nowrap; align-items: center; }
.tv-hc-plan .tv-planhero-main > div:first-child { max-width: 60ch; }
.tv-hc-plan .tv-planhero-price { flex: none; text-align: right; }
.tv-hc-plan .tv-planhero-cta { width: auto; justify-self: start; min-height: 48px; padding-inline: 26px; }
.tv-hc-plan .tv-planhero-note { justify-content: flex-start; text-align: left; }
@media (max-width: 640px) { .tv-hc-plan .tv-planhero-main { flex-wrap: wrap; } .tv-hc-plan .tv-planhero-price { text-align: left; } }
@media (max-width: 760px) { .tv-planhero.tv-hc-plan { border-radius: 22px; padding: 18px 16px; box-shadow: var(--shadow); } .tv-hc-plan .tv-planhero-cta { width: 100%; } }  /* same as .tv-panel on phones */
/* TAXVAULT-SCAN (Oct 13 2026): /tax/papers, "Your papers" (public/tv/papers.js) */
.tv-sc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 32px; }
.tv-sc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tv-sc-add { display: grid; gap: 12px; }
.tv-sc-add h2, .tv-sc-sum h2 { margin: 0; }
.tv-sc-drop { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 26px 16px; border: 2px dashed var(--vault-line); border-radius: 14px; background: var(--vault-soft); cursor: pointer; }
.tv-sc-gate { display: grid; gap: 14px; justify-items: start; }
.tv-sc-doc { display: grid; gap: 14px; }
.tv-sc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.tv-sc-head h3 { margin: 0; font-size: 18px; }
.tv-sc-head p { margin: 2px 0 0; overflow-wrap: anywhere; }
.tv-sc-light { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tv-sc-light.is-green, .tv-sc-light.is-done { background: #e3f4ea; color: var(--ok); }
.tv-sc-light.is-amber { background: var(--warn-soft); color: var(--warn); }
.tv-sc-light.is-red { background: var(--swiss-soft); color: var(--swiss); }
.tv-sc-why { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.tv-sc-why .is-amber { color: var(--warn); }
.tv-sc-why .is-red { color: var(--swiss); }
.tv-sc-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px 18px; }
.tv-sc-row { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.tv-sc-row small { color: var(--vault); font-weight: 600; }
.tv-sc-row input:not([type=checkbox]) { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; width: 100%; font-variant-numeric: tabular-nums; }
.tv-sc-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--vault); }
.tv-sc-row.is-amber input:not([type=checkbox]) { border-color: var(--warn); background: var(--warn-soft); }
.tv-sc-row.is-red input:not([type=checkbox]) { border-color: var(--swiss); background: var(--swiss-soft); }
.tv-sc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tv-sc-sum { display: grid; gap: 12px; justify-items: start; }
.tv-sc-sum table { max-width: 520px; }
.tv-sc-empty { text-align: center; padding: 8px; }
@media (max-width: 520px) { .tv-sc-head { grid-template-columns: minmax(0, 1fr); } }
.tv-sc-tip { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--vault-soft); color: var(--vault-deep); font-size: 15px; border-left: 3px solid var(--vault); }
/* TAXVAULT-HEALTH: the seasonal health check banner on the home page; TAXVAULT-SCAN: the papers line under the service cards */
.tv-promo { padding-top: 22px; }
.tv-promo-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: var(--vault-soft); border: 1px solid var(--vault-line); }
.tv-promo-in:hover { border-color: var(--vault); }
.tv-promo-in > .tv-i { color: var(--vault); width: 22px; height: 22px; flex: none; }
.tv-promo-in > span:first-of-type { flex: 1 1 280px; }
.tv-promo-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--on-vault); background: var(--vault); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.tv-promo-go .tv-i { width: 16px; height: 16px; }
.tv-promo[hidden] { display: none; }
.tv-cards-note { margin: 18px auto 0; max-width: 70ch; }
/* TAXVAULT-REMIND: reminder opt-ins */
.tv-rem { display: grid; gap: 12px; }
.tv-rem h2 { margin: 0; }
.tv-sc-remcheck { padding: 4px 4px 0; }
/* TAXVAULT-HOME-PRO (Oct 13 2026): calmer, professional home page (owner's reference iqtax.ch, own content). White ground, one brand blue,
   Plus Jakarta Sans for headings (self-hosted in /tv/fonts, SIL OFL; nothing loaded from third parties), split hero with our own app cards. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("/tv/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("/tv/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --font-display: "Plus Jakarta Sans", var(--font); }
h1, h2, h3, .tv-logo span { font-family: var(--font-display); letter-spacing: -.015em; }
body[data-tv-page="home"] { background: #fff; }

.tv-hm { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 56px 40px; }
.tv-hm-text { display: grid; gap: 18px; justify-items: start; }
.tv-hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--vault); background: var(--vault-soft); padding: 6px 14px; border-radius: 999px; }
.tv-hm-eyebrow .tv-i { width: 16px; height: 16px; }
.tv-hm h1 { margin: 0; font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; font-weight: 800; color: var(--vault-deep); }
.tv-hm .tv-hl { color: var(--vault); background: none; padding: 0; }
.tv-hm .tv-lead { margin: 0; max-width: 54ch; font-size: 19px; }
.tv-hm-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.tv-hm-go { gap: 12px; padding-right: 8px; }
.tv-hm-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .18); }
.tv-hm-arrow .tv-i { width: 18px; height: 18px; }
.tv-hm-ghost { background: #fff; border: 1.5px solid var(--vault); color: var(--vault); }
.tv-hm-ghost:hover { background: var(--vault-soft); }
.tv-hm-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.tv-hm-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.tv-hm-ticks .tv-i { width: 17px; height: 17px; color: var(--ok); }

.tv-hm-visual { position: relative; min-height: 420px; border-radius: 28px; padding: 56px 28px; display: grid; align-items: center;
  background: linear-gradient(150deg, #eaf0ff 0%, #d9e5ff 55%, #c9d9ff 100%); }
.tv-hm-card { background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(11, 37, 69, .35), 0 2px 6px rgba(11, 37, 69, .06); }
.tv-hm-main { padding: 20px; display: grid; gap: 4px; max-width: 400px; justify-self: center; width: 100%; }
.tv-hm-cardtop { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.tv-hm-cardtop b { display: block; font-family: var(--font-display); font-size: 17px; }
.tv-hm-cardtop small, .tv-hm-float small { display: block; color: var(--muted); font-size: 13px; }
.tv-hm-cardtop em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--warn); background: var(--warn-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tv-hm-doc, .tv-hm-ok, .tv-hm-save { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.tv-hm-doc { background: var(--vault-soft); color: var(--vault); }
.tv-hm-ok { background: #e3f4ea; color: var(--ok); }
.tv-hm-save { background: #e6f3ff; color: #0b6bcb; }
.tv-hm-doc .tv-i, .tv-hm-ok .tv-i, .tv-hm-save .tv-i { width: 20px; height: 20px; }
.tv-hm-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 4px; font-size: 15px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.tv-hm-row:last-child { border-bottom: 0; }
.tv-hm-row b { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tv-hm-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: 290px; }
.tv-hm-float b { font-size: 14.5px; }
.tv-hm-f1 { top: 18px; left: -18px; }
.tv-hm-f2 { bottom: 18px; right: -14px; }

.tv-hm-sec { display: grid; gap: 24px; padding-block: 48px 8px; }
.tv-hm-head { display: grid; gap: 6px; }
.tv-hm-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); color: var(--vault-deep); }
.tv-hm-head .tv-lead { margin: 0; }
.tv-hm-choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tv-hm-pick { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 23, 38, .04);
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.tv-hm-pick:hover, .tv-hm-pick:focus-visible { border-color: var(--vault); box-shadow: 0 14px 30px -18px rgba(31, 94, 255, .45); transform: translateY(-2px); }
.tv-hm-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--vault-soft); color: var(--vault); }
.tv-hm-icon .tv-i { width: 26px; height: 26px; }
.tv-hm-pt { display: grid; gap: 4px; min-width: 0; }
.tv-hm-pt b { font-family: var(--font-display); font-size: 19px; line-height: 1.25; color: var(--vault-deep); }
.tv-hm-pt small { color: var(--muted); font-size: 15px; line-height: 1.45; }
.tv-hm-badge { justify-self: start; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--swiss); background: var(--swiss-soft); padding: 2px 9px; border-radius: 999px; }
.tv-hm-badge[hidden] { display: none; }
.tv-hm-chev { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--vault-line); color: var(--vault); transition: background .15s, color .15s; }
.tv-hm-pick:hover .tv-hm-chev { background: var(--vault); color: #fff; border-color: var(--vault); }
.tv-hm-chev .tv-i { width: 18px; height: 18px; }

.tv-hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; background: var(--vault-deep); color: #fff; border-radius: 22px; padding: 30px 8px; }
.tv-hm-facts div { display: grid; gap: 6px; padding: 4px 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tv-hm-facts div:first-child { border-left: 0; }
.tv-hm-facts b { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1; color: #fff; }
.tv-hm-facts span { font-size: 14.5px; color: rgba(255, 255, 255, .78); line-height: 1.4; }

.tv-hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.tv-hm-steps li { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--paper); border-radius: 18px; }
.tv-hm-steps b { font-family: var(--font-display); font-size: 19px; color: var(--vault-deep); }
.tv-hm-steps li > span:last-child { color: var(--muted); font-size: 15.5px; }
.tv-hm-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--vault); color: #fff; font-family: var(--font-display); font-weight: 800; }
.tv-hm-more { margin: 0; }
.tv-hm-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.tv-hm-more .tv-i { width: 16px; height: 16px; }

.tv-hm-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-block: 64px 24px; padding: 36px 40px;
  border-radius: 24px; background: linear-gradient(135deg, var(--vault) 0%, #1749d6 100%); color: #fff; }
.tv-hm-band h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); color: #fff; }
.tv-hm-band p { margin: 0; color: rgba(255, 255, 255, .86); max-width: 52ch; }
.tv-hm-white { background: #fff; color: var(--vault); border: 0; gap: 10px; }
.tv-hm-white:hover { background: var(--vault-soft); color: var(--vault); }
.tv-hm-white .tv-i { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .tv-hm { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .tv-hm-visual { min-height: 0; padding: 70px 18px; }
  .tv-hm-f1 { left: 12px; top: 12px; } .tv-hm-f2 { right: 12px; bottom: 12px; }
  .tv-hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .tv-hm-facts div:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
  .tv-hm-choose, .tv-hm-steps { grid-template-columns: minmax(0, 1fr); }
  .tv-hm-pick { padding: 18px 16px; gap: 14px; }
  .tv-hm-icon { width: 44px; height: 44px; }
  .tv-hm-band { padding: 28px 22px; }
  .tv-hm-visual { gap: 12px; padding: 16px; border-radius: 22px; }
  .tv-hm-float { position: static; max-width: none; }
  .tv-hm-f1 { order: -1; }
  .tv-hm-main { max-width: none; }
}

/* TAXVAULT-EXPERT (Oct 14 2026): /tax/expert, choose a call or a review; the expert cards on the pricing page */
#tv-ex .tv-panel { display: grid; gap: 22px; }
.tv-ex-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .tv-ex-kinds { grid-template-columns: 1fr; } }
#tv-ex [hidden] { display: none !important; }
.tv-ex-kind { font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  padding: 16px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.tv-ex-kind .tv-card-i { grid-column: 1 / -1; margin-bottom: 6px; }
.tv-ex-kind b { font-size: 17px; }
.tv-ex-kind small { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.tv-ex-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-ex-kind:hover { border-color: var(--vault-line); }
.tv-ex-kind[aria-checked="true"] { border-color: var(--vault); background: var(--vault-soft); box-shadow: 0 0 0 1px var(--vault) inset; }
.tv-ex-kind:focus-visible { outline: 2px solid var(--vault); outline-offset: 2px; }
.tv-ex-docs { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.tv-ex-doc b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.tv-ex-add { justify-self: start; cursor: pointer; }
.tv-ex-add.is-busy { opacity: .6; pointer-events: none; }
.tv-ex-h { font-size: 18px; margin: 0; }
.tv-ex-orders { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.tv-ex-orders li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tv-ex-orders .tv-tag { margin-left: auto; }
.tv-ex-thanks { display: grid; gap: 8px; padding: 18px; border-radius: var(--radius); background: var(--vault-soft); border: 1px solid var(--vault-line); }
.tv-ex-thanks h2 { font-size: 21px; margin: 0; }

/* TAXVAULT-BLOG (Oct 14 2026): /blog (featured post + card grid, topic chips) and /blog/<slug> (reading column, cover, box to the matching tool) */
.tv-bl-head { padding-bottom: 8px; }
.tv-bl-chips { margin-top: 18px; flex-wrap: wrap; }
.tv-bl-chips .tv-chip { text-decoration: none; }
.tv-bl { display: grid; gap: 28px; padding-bottom: 80px; }
.tv-bl-none { color: var(--muted); padding: 40px 0; }
.tv-bl-img { position: relative; overflow: hidden; background: var(--vault-soft); }
.tv-bl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tv-bl-ph { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #1f5eff, #0b2545); }
.tv-bl-ph .tv-i { width: 56px; height: 56px; opacity: .9; }
.tv-bl-ph[data-cat="tax"] { background: linear-gradient(135deg, #ff8a3d, #e0393e); }
.tv-bl-ph[data-cat="pension"] { background: linear-gradient(135deg, #7c5cff, #3b2aa8); }
.tv-bl-ph[data-cat="health"] { background: linear-gradient(135deg, #18b88a, #0b7a6b); }
.tv-bl-ph[data-cat="letters"] { background: linear-gradient(135deg, #3d8bff, #1f5eff); }
.tv-bl-tag { justify-self: start; display: inline-flex; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vault); }
.tv-bl-tag[data-cat="tax"] { color: #d0461d; }
.tv-bl-tag[data-cat="pension"] { color: #5b3fd9; }
.tv-bl-tag[data-cat="health"] { color: #0b8a6e; }
.tv-bl-by { font-size: 14px; color: var(--muted); }
.tv-bl-feat, .tv-bl-card { color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tv-bl-feat:hover, .tv-bl-card:hover { transform: translateY(-3px); border-color: var(--vault-line); box-shadow: 0 2px 4px rgba(14, 23, 38, .05), 0 18px 40px rgba(14, 23, 38, .12); }
.tv-bl-feat:hover img, .tv-bl-card:hover img { transform: scale(1.04); }
.tv-bl-feat:focus-visible, .tv-bl-card:focus-visible { outline: 3px solid var(--vault); outline-offset: 3px; }
.tv-bl-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.tv-bl-feat-img { min-height: 320px; }
.tv-bl-feat-text { display: grid; gap: 12px; align-content: center; padding: 36px 40px; }
.tv-bl-feat-text h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--vault-deep); }
.tv-bl-feat-text p { margin: 0; color: var(--muted); font-size: 17.5px; }
.tv-bl-go { font-weight: 700; color: var(--vault); margin-top: 6px; }
.tv-bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.tv-bl-card { display: grid; grid-template-rows: auto 1fr; }
.tv-bl-card-img { aspect-ratio: 16 / 9; }
.tv-bl-card-text { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.tv-bl-card-text h3 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--vault-deep); }
.tv-bl-card-text p { margin: 0; color: var(--muted); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 800px) {
  .tv-bl-feat { grid-template-columns: 1fr; }
  .tv-bl-feat-img { min-height: 0; aspect-ratio: 16 / 9; }
  .tv-bl-feat-text { padding: 22px 22px 26px; }
}
.tv-bl-draft { position: sticky; top: 0; z-index: 30; margin: 0; padding: 10px 16px; text-align: center; font-weight: 700; background: var(--warn-soft); color: var(--warn); }
.tv-bl-post { max-width: 1000px; display: grid; gap: 32px; padding-block: 40px 40px; }
.tv-bl-post-head { max-width: 760px; width: 100%; margin: 0 auto; display: grid; gap: 14px; }
.tv-bl-post-head h1 { margin: 0; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; font-weight: 800; color: var(--vault-deep); }
.tv-bl-post-head .tv-lead { margin: 0; }
.tv-bl-back { justify-self: start; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tv-bl-back:hover { color: var(--vault); }
.tv-bl-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 4px; }
.tv-bl-share { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tv-bl-share:hover { border-color: var(--vault); color: var(--vault); }
.tv-bl-post-cover { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--vault-soft); }
.tv-bl-post-cover .tv-bl-img { height: 100%; }
.tv-bl-body { max-width: 720px; width: 100%; margin: 0 auto; font-size: 19px; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.tv-bl-body > * { margin: 0 0 1.1em; }
.tv-bl-body h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; margin: 1.8em 0 .5em; color: var(--vault-deep); }
.tv-bl-body h3 { font-size: 21px; line-height: 1.3; margin: 1.5em 0 .4em; color: var(--vault-deep); }
.tv-bl-body ul, .tv-bl-body ol { padding-left: 1.3em; }
.tv-bl-body li { margin: .35em 0; }
.tv-bl-body li::marker { color: var(--vault); font-weight: 700; }
.tv-bl-body a { color: var(--vault); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.tv-bl-body blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--vault); font-size: 21px; color: var(--vault-deep); font-weight: 600; }
.tv-bl-body blockquote p { margin: 0; }
.tv-bl-cta { max-width: 760px; width: 100%; margin: 8px auto 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 22px 24px; border-radius: 20px; background: var(--vault-soft); border: 1px solid var(--vault-line); }
.tv-bl-cta b { font-size: 18px; color: var(--vault-deep); }
.tv-bl-cta p { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 640px) { .tv-bl-cta { grid-template-columns: 1fr; } .tv-bl-cta .tv-btn { justify-self: start; } .tv-bl-body { font-size: 18px; } }
.tv-bl-more { border-top: 1px solid var(--line); padding-top: 40px; }
.tv-bl-more h2 { margin: 0; font-size: 26px; }

/* TAXVAULT-TAX-PAGE (Oct 14 2026): /tax in the professional home style: split hero with a report preview, 4 service cards, the tax case,
   then the free savings check in its own band at the bottom. Also used by /tax/plan (tv-tx-hero, tv-tx-sec-head). */
body[data-tv-page="tax"], body[data-tv-page="tax/plan"] { background: #fff; }
.tv-tx-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: 56px 36px; }
.tv-tx-hero-text { display: grid; gap: 18px; justify-items: start; }
.tv-tx-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 800; color: var(--vault-deep); }
.tv-tx-hero .tv-lead { margin: 0; max-width: 34em; }
.tv-tx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tv-tx-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--muted); }
.tv-tx-trust li { display: inline-flex; align-items: center; gap: 7px; }
.tv-tx-trust .tv-i { width: 18px; height: 18px; color: var(--vault); }
.tv-tx-mock { display: grid; gap: 10px; padding: 22px; border-radius: 24px; background: linear-gradient(160deg, #f4f7ff, #ffffff 60%); border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(14, 23, 38, .04), 0 30px 60px -20px rgba(31, 94, 255, .25); }
.tv-tx-mock-head { display: flex; gap: 12px; align-items: center; padding-bottom: 6px; }
.tv-tx-mock-head > span { width: 44px; height: 44px; border-radius: 12px; background: var(--vault); color: #fff; display: grid; place-items: center; }
.tv-tx-mock-head b { display: block; color: var(--vault-deep); font-size: 17px; }
.tv-tx-mock-head small { color: var(--muted); font-size: 13.5px; }
.tv-tx-mock-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); font-size: 15px; }
.tv-tx-mock-row > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.tv-tx-mock-row .tv-i { width: 16px; height: 16px; }
.tv-tx-mock-row.is-ok > span { background: #e3f4ea; color: #1d7a4a; }
.tv-tx-mock-row.is-miss > span { background: var(--warn-soft); color: var(--warn); }
.tv-tx-mock-row.is-miss b { color: var(--warn); }
.tv-tx-mock-row b { font-variant-numeric: tabular-nums; font-size: 14.5px; }
.tv-tx-mock-save { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px;
  background: var(--vault-deep); color: #fff; margin-top: 4px; }
.tv-tx-mock-save small { opacity: .8; font-size: 14px; }
.tv-tx-mock-save b { font-size: 22px; font-variant-numeric: tabular-nums; }
.tv-tx-mock-go { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--vault); color: #fff; font-weight: 700; font-size: 15px; }
.tv-tx-mock-go .tv-i { width: 18px; height: 18px; }
@media (max-width: 900px) { .tv-tx-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; } .tv-tx-mock { max-width: 480px; } }
.tv-tx-svc-sec { padding-bottom: 56px; }
.tv-tx-svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .tv-tx-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tv-tx-svcs { grid-template-columns: 1fr; } }
.tv-tx-svc { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: inherit;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tv-tx-svc:hover { transform: translateY(-3px); border-color: var(--vault-line); box-shadow: 0 18px 40px -18px rgba(14, 23, 38, .25); }
.tv-tx-svc:focus-visible { outline: 3px solid var(--vault); outline-offset: 3px; }
.tv-tx-svc-i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--vault-soft); color: var(--vault); margin-bottom: 4px; }
.tv-tx-svc-i .tv-i { width: 24px; height: 24px; }
.tv-tx-svc b { font-size: 18px; color: var(--vault-deep); }
.tv-tx-svc p { margin: 0; color: var(--muted); font-size: 15px; }
.tv-tx-svc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--vault); }
.tv-tx-svc-go .tv-i { width: 16px; height: 16px; }
.tv-tx-svc .tv-tag { position: absolute; top: 18px; right: 18px; }
.tv-tx-svc.is-new { border-color: var(--vault-line); background: linear-gradient(170deg, #f4f7ff, #fff 55%); }
.tv-tx-case { scroll-margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.tv-tx-sec-head { display: grid; gap: 6px; margin-bottom: 22px; max-width: 760px; }
.tv-tx-sec-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); color: var(--vault-deep); }
.tv-tx-sec-head .tv-small { margin: 0; }
.tv-tx-svsec { background: linear-gradient(180deg, #f4f7ff, #fff); border-top: 1px solid var(--line); padding-block: 64px 80px; scroll-margin-top: 60px; }
.tv-tx-sv-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .tv-tx-sv-grid { grid-template-columns: 1fr; gap: 24px; } }
.tv-tx-sv-text { display: grid; gap: 12px; align-content: start; }
.tv-tx-sv-text h2 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); color: var(--vault-deep); }
.tv-tx-sv-text p { margin: 0; color: var(--muted); font-size: 17.5px; }
.tv-tx-sv-text ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.tv-tx-sv-text li { display: flex; gap: 8px; align-items: center; }
.tv-tx-sv-text .tv-i { width: 20px; height: 20px; color: var(--vault); flex: none; }
.tv-tx-svsec .tv-sv { background: #fff; box-shadow: 0 20px 50px -24px rgba(14, 23, 38, .25); scroll-margin-top: 90px; }
@media print { .tv-tx-hero, .tv-tx-svc-sec, .tv-tx-svsec, .tv-tx-sec-head { display: none !important; } }

/* TAXVAULT-PLAN (Oct 14 2026): /tax/plan, the 2027 tax planner (form in numbered steps, result with estimate tiles, steps, calendar) */
.tv-pl-sec { scroll-margin-top: 80px; padding-top: 40px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.tv-pl-mock-est { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tv-pl-mock-est div { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.tv-pl-mock-est div + div { border-color: var(--vault-line); background: var(--vault-soft); }
.tv-pl-mock-est small { display: block; color: var(--muted); font-size: 13px; }
.tv-pl-mock-est b { font-size: 20px; color: var(--vault-deep); font-variant-numeric: tabular-nums; }
.tv-pl-form { max-width: 860px; display: grid; gap: 22px; }
.tv-pl-step { margin: 0; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: grid; gap: 14px; min-width: 0; }
.tv-pl-step legend { padding: 0 8px; margin-left: -8px; font-family: var(--font-display); font-weight: 750; font-size: 19px; color: var(--vault-deep); display: flex; align-items: center; gap: 10px; }
.tv-pl-step legend span { width: 30px; height: 30px; border-radius: 9px; background: var(--vault); color: #fff; display: grid; place-items: center; font-size: 15px; }
.tv-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .tv-row-3 { grid-template-columns: 1fr; } }
.tv-pl-partner { display: grid; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.tv-pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-pl-chips label { cursor: pointer; }
.tv-pl-chips input { position: absolute; opacity: 0; pointer-events: none; }
.tv-pl-chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--muted); }
.tv-pl-chips input:checked + span { background: var(--vault); border-color: var(--vault); color: #fff; }
.tv-pl-chips input:focus-visible + span { outline: 2px solid var(--vault); outline-offset: 2px; }
.tv-pl-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tv-pl-gatebox { display: grid; gap: 14px; justify-items: start; max-width: 640px; padding: 24px; border-radius: 18px; border: 1px solid var(--vault-line); background: var(--vault-soft); }
.tv-pl-gatebox p { margin: 0; font-size: 17px; }
#tv-pl-result { max-width: 960px; display: grid; gap: 22px; }
.tv-pl-wait { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tv-pl-wait .tv-wait-t { font-weight: 700; font-size: 18px; margin: 0; }
.tv-pl-rhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.tv-pl-rhead h3 { margin: 0; font-size: 24px; color: var(--vault-deep); }
.tv-pl-rhead .tv-eyebrow { margin: 0 0 4px; }
.tv-pl-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-pl-sum { margin: 0; font-size: 18px; line-height: 1.65; max-width: 46em; }
.tv-pl-est { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .tv-pl-est { grid-template-columns: 1fr; } }
.tv-pl-est > div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; gap: 4px; }
.tv-pl-est small { color: var(--muted); font-size: 14px; }
.tv-pl-est b { font-size: clamp(19px, 2.1vw, 24px); white-space: nowrap; font-weight: 800; color: var(--vault-deep); font-variant-numeric: tabular-nums; line-height: 1.15; }
.tv-pl-est .is-plan { border-color: var(--vault-line); background: var(--vault-soft); }
.tv-pl-est .is-save { background: var(--vault-deep); border-color: var(--vault-deep); }
.tv-pl-est .is-save small { color: rgba(255, 255, 255, .8); }
.tv-pl-est .is-save b { color: #fff; }
.tv-pl-estnote { margin: -8px 0 0; }
.tv-pl-h { margin: 14px 0 0; font-size: 22px; color: var(--vault-deep); }
.tv-pl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tv-pl-step-r { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tv-pl-step-r.is-high { border-left: 4px solid var(--vault); }
.tv-pl-n { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--vault-soft); color: var(--vault); }
.tv-pl-step-r.is-high .tv-pl-n { background: var(--vault); color: #fff; }
.tv-pl-body { display: grid; gap: 8px; min-width: 0; }
.tv-pl-top { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-pl-prio, .tv-pl-due { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.tv-pl-step-r.is-high .tv-pl-prio { background: var(--vault-soft); color: var(--vault); }
.tv-pl-due { background: var(--warn-soft); color: var(--warn); }
.tv-pl-body h4 { margin: 0; font-size: 19px; line-height: 1.3; color: var(--vault-deep); }
.tv-pl-body p { margin: 0; color: var(--muted); }
.tv-pl-figs { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.tv-pl-figs small { display: block; font-size: 12.5px; color: var(--muted); }
.tv-pl-figs b { font-size: 17px; font-variant-numeric: tabular-nums; }
.tv-pl-body details summary { cursor: pointer; font-weight: 650; color: var(--vault); }
.tv-pl-body details p { margin-top: 6px; }
.tv-pl-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.tv-pl-month { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.tv-pl-month > b { display: block; text-transform: capitalize; color: var(--vault-deep); margin-bottom: 6px; }
.tv-pl-month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tv-pl-month li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; font-size: 15px; }
.tv-pl-month li span:first-child { color: var(--vault); font-weight: 700; font-variant-numeric: tabular-nums; }
.tv-pl-watch { padding: 16px 20px; border-radius: 16px; background: var(--warn-soft); color: var(--warn); }
.tv-pl-watch ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.tv-pl-ass summary { cursor: pointer; font-weight: 650; color: var(--muted); }
.tv-pl-ass ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.tv-pl-foot { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.tv-pl-foot p { margin: 0; }
@media print { .tv-pl-acts, .tv-pl-foot .tv-linkbtn, .tv-pl-sec > .tv-tx-sec-head { display: none !important; } .tv-pl-ass[open] summary, .tv-pl-body details { display: block; } }

/* TAXVAULT-SEASONS (Oct 14 2026): the 4 dates of the tax season on a canton page (#season) */
.tv-cr-season { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .tv-cr-season { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tv-cr-season { grid-template-columns: 1fr; } }
.tv-cr-step { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tv-cr-step-n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--vault-soft); color: var(--vault); }
.tv-cr-step small { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.tv-cr-step b { font-size: 20px; line-height: 1.25; color: var(--vault-deep); }
.tv-cr-step p { margin: 0; font-size: 15px; color: var(--muted); }
.tv-cr-step-tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--vault); color: #fff; }
.tv-cr-step-tag.is-off { background: var(--paper); color: var(--muted); }
.tv-cr-step.is-next { border: 2px solid var(--vault); box-shadow: 0 16px 36px -20px rgba(31, 94, 255, .45); }
.tv-cr-step.is-next .tv-cr-step-n { background: var(--vault); color: #fff; }
.tv-cr-step.is-passed { background: var(--paper); }
.tv-cr-step.is-passed b { color: var(--muted); }
.tv-cr-season-over { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }

/* TAXVAULT-LETTER-PAGE (Oct 14 2026): /letter in the professional style of /tax: split hero with an explained-letter preview, a colourful row of
   letter senders, the tool in its own section; colourful gradient buttons for the main actions on this page */
body[data-tv-page="letter"] { background: #fff; }
.tv-btn-grad, body[data-tv-page="letter"] .tv-go, body[data-tv-page="letter"] .tv-buy .tv-btn-main {
  border: 0; color: #fff; background: linear-gradient(100deg, #1f5eff 0%, #7c5cff 55%, #e0397e 100%); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 10px 24px -10px rgba(124, 92, 255, .7); transition: background-position .35s ease, transform .15s ease, box-shadow .2s ease; }
.tv-btn-grad:hover, body[data-tv-page="letter"] .tv-go:hover, body[data-tv-page="letter"] .tv-buy .tv-btn-main:hover {
  color: #fff; background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(224, 57, 126, .6); }
.tv-btn-grad:disabled, body[data-tv-page="letter"] .tv-go:disabled { opacity: .55; transform: none; }
.tv-btn-grad .tv-i { width: 20px; height: 20px; }
.tv-lt-mock { gap: 14px; }
.tv-lt-paper { position: relative; display: grid; gap: 7px; padding: 18px 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transform: rotate(-1.5deg);
  box-shadow: 0 10px 24px -14px rgba(14, 23, 38, .3); }
.tv-lt-paper b { color: var(--vault-deep); font-size: 15px; }
.tv-lt-paper small { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.tv-lt-paper i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.tv-lt-paper i.is-short { width: 60%; }
.tv-lt-stamp { position: absolute; top: 14px; right: 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #e0393e;
  border: 2px solid #e0393e; border-radius: 6px; padding: 2px 8px; transform: rotate(6deg); }
.tv-lt-res { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--vault-line); }
.tv-lt-res-h { display: flex; align-items: center; gap: 8px; color: var(--vault-deep); }
.tv-lt-res-h span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e3f4ea; color: #1d7a4a; }
.tv-lt-res-h .tv-i, .tv-lt-due .tv-i { width: 16px; height: 16px; }
.tv-lt-res p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tv-lt-due { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.tv-lt-res .tv-tx-mock-go { background: linear-gradient(100deg, #1f5eff, #7c5cff 55%, #e0397e); }
.tv-lt-from { padding-bottom: 48px; display: grid; gap: 14px; }
.tv-lt-from-h { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tv-lt-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .tv-lt-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tv-lt-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tv-lt-chips li { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; font-weight: 700; font-size: 15px; line-height: 1.25; color: #fff; }
.tv-lt-chips .tv-i { width: 22px; height: 22px; flex: none; }
.tv-lt-chips li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 560px) { .tv-lt-chips li { font-size: 14px; padding: 12px; gap: 8px; } .tv-lt-chips .tv-i { width: 20px; height: 20px; } }
.tv-lt-chips .is-tax { background: linear-gradient(135deg, #ff8a3d, #e0393e); }
.tv-lt-chips .is-health { background: linear-gradient(135deg, #18b88a, #0b7a6b); }
.tv-lt-chips .is-commune { background: linear-gradient(135deg, #3d8bff, #1f5eff); }
.tv-lt-chips .is-debt { background: linear-gradient(135deg, #f0506e, #a3214a); }
.tv-lt-chips .is-school { background: linear-gradient(135deg, #7c5cff, #3b2aa8); }
.tv-lt-chips .is-work { background: linear-gradient(135deg, #20a4c8, #0b5d7a); }
@media print { .tv-lt-from { display: none !important; } }

/* TAXVAULT-MENU (Oct 14 2026): professional dropdown menu. Desktop: Letters / Taxes (wide panel) / Health insurance / Resources / Pricing,
   each dropdown a white card with coloured icons, a title and one line. Phones and tablets (<= 1100px): the "More" sheet lists the groups openly. */
.tv-nav { align-items: center; }
.tv-nav > a, .tv-dd-btn { color: var(--muted); text-decoration: none; font: inherit; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.tv-nav > a:hover, .tv-dd-btn:hover, .tv-dd.is-open > .tv-dd-btn { color: var(--ink); background: var(--vault-soft); }
.tv-nav > a[aria-current="page"], .tv-dd.is-here > .tv-dd-btn { color: var(--vault); }
.tv-dd-chev { width: 16px; height: 16px; transition: transform .2s ease; }
.tv-dd { position: relative; }
.tv-dd-panel { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 30; width: 340px; display: grid; gap: 4px; padding: 10px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(14, 23, 38, .05), 0 28px 60px -18px rgba(14, 23, 38, .3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.tv-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* keeps hover alive across the gap */
.tv-dd.is-wide .tv-dd-panel { width: 660px; grid-template-columns: 1fr 1fr; }
.tv-dd.is-open .tv-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.tv-dd.is-open .tv-dd-chev { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1101px) {
  .tv-dd:hover .tv-dd-panel, .tv-dd:focus-within .tv-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .tv-dd:hover .tv-dd-chev { transform: rotate(180deg); }
  .tv-dd:hover > .tv-dd-btn { color: var(--ink); background: var(--vault-soft); }
}
.tv-dd-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.tv-dd-item:hover, .tv-dd-item:focus-visible { background: var(--paper); }
.tv-dd-item[aria-current="page"] { background: var(--vault-soft); }
.tv-dd-i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.tv-dd-i .tv-i { width: 20px; height: 20px; }
.tv-dd-i.is-blue { background: linear-gradient(135deg, #3d8bff, #1f5eff); }
.tv-dd-i.is-violet { background: linear-gradient(135deg, #8f74ff, #5b3fd9); }
.tv-dd-i.is-orange { background: linear-gradient(135deg, #ff8a3d, #e0393e); }
.tv-dd-i.is-teal { background: linear-gradient(135deg, #20a4c8, #0b5d7a); }
.tv-dd-i.is-red { background: linear-gradient(135deg, #f0506e, #a3214a); }
.tv-dd-i.is-green { background: linear-gradient(135deg, #18b88a, #0b7a6b); }
.tv-dd-i.is-navy { background: linear-gradient(135deg, #2b4a80, #0b2545); }
.tv-dd-t { display: grid; gap: 2px; min-width: 0; }
.tv-dd-t b { font-size: 15.5px; color: var(--vault-deep); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tv-dd-t small { font-size: 13.5px; color: var(--muted); line-height: 1.4; white-space: normal; }
.tv-dd-new { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--vault); color: #fff; }
@media (max-width: 1100px) {
  .tv-nav { align-items: stretch; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
  .tv-dd-btn { pointer-events: none; padding: 14px 16px 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .tv-dd-chev { display: none; }
  .tv-dd-panel { position: static; width: auto !important; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px; background: none;
    grid-template-columns: 1fr !important; transition: none; }
  .tv-dd-panel::before { display: none; }
  .tv-dd-item { padding: 10px 12px; }
  .tv-dd-t small { display: none; }
  .tv-dd-i { width: 36px; height: 36px; }
  .tv-nav > a.tv-nav-link { padding: 12px 16px; font-size: 16px; color: var(--ink); border-radius: 12px; }
}
.tv-nav .tv-dd-item { border-radius: 12px; padding: 10px 12px; white-space: normal; color: var(--ink); font-weight: 400; font-size: inherit; }
@media (max-width: 1100px) { .tv-nav .tv-dd-item { padding: 8px 12px; align-items: center; } }

/* TAXVAULT-SUBSIDY (Oct 14 2026): premium subsidy check, taxvault.ch/health/subsidy (public/tv/subsidy.js) */
.tv-sb-h3 { font-size: 18px; margin: 18px 0 2px; }
.tv-sb-sum { display: grid; gap: 8px; border-width: 2px; }
.tv-sb-sum.is-ok { border-color: var(--ok); background: linear-gradient(180deg, var(--ok-soft, #e8f7ee), var(--surface) 70%); }
.tv-sb-sum.is-warn { border-color: var(--warn, #d98a00); background: linear-gradient(180deg, var(--warn-soft), var(--surface) 70%); }
.tv-sb-sum.is-off { border-color: var(--line); }
.tv-sb-big { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--vault-deep); margin: 0; }
.tv-sb-sum p { margin: 0; }
.tv-sb-facts, .tv-sb-docs { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 8px; }
.tv-sb-facts li, .tv-sb-docs li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.tv-sb-facts .tv-i, .tv-sb-docs .tv-i { width: 20px; height: 20px; color: var(--vault); margin-top: 3px; }
.tv-sb-draft { justify-self: start; padding: 4px 10px; border-radius: 8px; background: var(--warn-soft); font-size: 13px; font-weight: 700; }
.tv-sb-det { display: grid; gap: 10px; }
.tv-sb-det h2, .tv-sb-det h3 { margin: 6px 0 0; }
.tv-sb-links, .tv-sb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-sb-table { max-width: 560px; }
.tv-sb-table th { text-align: left; color: var(--ink); font-size: 15px; font-weight: 500; white-space: normal; }
.tv-sb-src summary { cursor: pointer; font-weight: 600; color: var(--vault); }
.tv-sb-src ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; overflow-wrap: anywhere; }
.tv-sb-paper { margin: 16px 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #111; font-size: 15px; line-height: 1.55;
  box-shadow: 0 6px 24px rgba(11, 37, 69, .06); overflow-wrap: anywhere; }
.tv-sb-paper p { margin: 0 0 12px; }
.tv-sb-lt-to { margin: 22px 0 22px auto; width: min(260px, 100%); }
.tv-sb-lt-date { text-align: right; }
.tv-sb-lt-sign { margin-top: 36px; }
.tv-sb-faq { margin-top: 30px; }
@media (max-width: 700px) {
  .tv-sb-paper { padding: 18px 16px; font-size: 14px; }
  .tv-sb-lt-to { margin-left: 0; }
  .tv-sb-links .tv-btn, .tv-sb-actions .tv-btn { width: 100%; justify-content: center; }
}
.tv-hc-subcard { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; border-color: var(--vault-line); background: var(--vault-soft); }
.tv-hc-subcard h2 { margin: 0 0 6px; font-size: 21px; }
.tv-hc-subcard p { margin: 0; max-width: 62ch; }
.tv-sb-det .tv-msg.is-ok { background: #e8f7ee; color: var(--ok); }

/* TAXVAULT-LANGDD (Oct 14 2026): language switcher = button with the current flag + dropdown list with flags and names (country flags: owner's choice).
   The links come from the server (TpVaultController {{langs}}: <a hreflang="de">DE</a>); flags and names are added here. */
.tv-langdd { position: relative; flex: none; }
.tv-langdd-btn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .03em;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px 6px 8px; cursor: pointer; line-height: 1; }
.tv-langdd-btn:hover, .tv-langdd.is-open .tv-langdd-btn { border-color: var(--vault-line); background: var(--vault-soft); }
.tv-langdd.is-open .tv-dd-chev { transform: rotate(180deg); }
.tv-flag { width: 22px; height: 15px; border-radius: 3px; flex: none; display: inline-block; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(14, 23, 38, .12); }
.tv-langs.tv-langdd-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: grid; gap: 2px; min-width: 190px; padding: 6px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -12px rgba(11, 37, 69, .25);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.tv-langdd.is-open .tv-langdd-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tv-langs.tv-langdd-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 0; letter-spacing: 0; color: var(--ink); }
.tv-langs.tv-langdd-list a::before { content: ""; width: 24px; height: 16px; border-radius: 3px; flex: none; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(14, 23, 38, .12); }
.tv-langs.tv-langdd-list a::after { font-size: 15px; font-weight: 600; }
.tv-langs.tv-langdd-list a:hover { background: var(--paper); color: var(--ink); }
.tv-langs.tv-langdd-list a[aria-current="true"] { background: var(--vault-soft); color: var(--vault-deep); }
.tv-langs.tv-langdd-list a[aria-current="true"]::after { font-weight: 800; }
.tv-langdd-list a[hreflang="de"]::after { content: "Deutsch"; }
.tv-langdd-list a[hreflang="fr"]::after { content: "Français"; }
.tv-langdd-list a[hreflang="it"]::after { content: "Italiano"; }
.tv-langdd-list a[hreflang="en"]::after { content: "English"; }
.tv-flag[data-flag="de"], .tv-langdd-list a[hreflang="de"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Cpath d='M0 0h5v3H0z'/%3E%3Cpath fill='%23D00' d='M0 1h5v2H0z'/%3E%3Cpath fill='%23FFCE00' d='M0 2h5v1H0z'/%3E%3C/svg%3E"); }
.tv-flag[data-flag="fr"], .tv-langdd-list a[hreflang="fr"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23ED2939' d='M0 0h3v2H0z'/%3E%3Cpath fill='%23fff' d='M0 0h2v2H0z'/%3E%3Cpath fill='%23002395' d='M0 0h1v2H0z'/%3E%3C/svg%3E"); }
.tv-flag[data-flag="it"], .tv-langdd-list a[hreflang="it"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23CE2B37' d='M0 0h3v2H0z'/%3E%3Cpath fill='%23fff' d='M0 0h2v2H0z'/%3E%3Cpath fill='%23009246' d='M0 0h1v2H0z'/%3E%3C/svg%3E"); }
.tv-flag[data-flag="en"], .tv-langdd-list a[hreflang="en"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
@media print { .tv-langdd { display: none; } }

/* TAXVAULT-LETTER-POLISH (Oct 14 2026), letter page only: "What you get" is a stacked list on phones (no sideways swipe), and the buttons
   get a more modern look: primary gradient buttons with an arrow chip, secondary buttons soft-tinted instead of a white outline. */
@media (max-width: 760px) {
  body[data-tv-page="letter"] .tv-aside ol { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0; gap: 10px; }
  body[data-tv-page="letter"] .tv-aside li { grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px; border-radius: 16px; box-shadow: none; }
  body[data-tv-page="letter"] .tv-aside li > span { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
  body[data-tv-page="letter"] .tv-aside li b { display: block; margin-top: 6px; line-height: 1.3; }
  body[data-tv-page="letter"] .tv-aside li p { font-size: 14.5px; margin-top: 2px; }
}
body[data-tv-page="letter"] .tv-aside li > span { background: linear-gradient(135deg, #1f5eff, #7c5cff); color: #fff; box-shadow: 0 6px 14px -8px rgba(31, 94, 255, .8); }
body[data-tv-page="letter"] .tv-go, body[data-tv-page="letter"] .tv-buy .tv-btn-main { border-radius: 16px; min-height: 54px; font-weight: 750; letter-spacing: .01em; }
body[data-tv-page="letter"] .tv-buy .tv-btn-main::after { content: "→"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px;
  background: rgba(255, 255, 255, .2); font-size: 15px; margin-left: 2px; transition: transform .2s ease; }
body[data-tv-page="letter"] .tv-buy .tv-btn-main:hover::after { transform: translateX(3px); }
body[data-tv-page="letter"] .tv-buy .tv-btn:not(.tv-btn-main), body[data-tv-page="letter"] .tv-bal .tv-btn {
  border: 0; border-radius: 14px; background: #eef2ff; color: #2a3fd6; font-weight: 750; box-shadow: inset 0 0 0 1px rgba(31, 94, 255, .14);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease; }
body[data-tv-page="letter"] .tv-buy .tv-btn:not(.tv-btn-main) { min-height: 50px; }
body[data-tv-page="letter"] .tv-buy .tv-btn:not(.tv-btn-main):hover, body[data-tv-page="letter"] .tv-bal .tv-btn:hover {
  background: #e0e7ff; color: #1b2fb8; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(31, 94, 255, .25), 0 8px 18px -12px rgba(31, 94, 255, .6); }
body[data-tv-page="letter"] .tv-bal .tv-btn svg { width: 16px; height: 16px; padding: 3px; border-radius: 6px; background: #fff; box-sizing: content-box; }
body[data-tv-page="letter"] .tv-bal .tv-btn { background: #fff; box-shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 6px 16px -10px rgba(31, 94, 255, .5); }
body[data-tv-page="letter"] .tv-bal .tv-btn svg { background: #eef2ff; }

/* TAXVAULT-PROFILE (Oct 14 2026): My profile in the account page (public/tv/profile.js): autosave switch + 4 cards that open to edit */
.tv-pf-switch { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; margin: 12px 0 14px; border-radius: 14px; background: var(--vault-soft); cursor: pointer; }
.tv-pf-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tv-pf-knob { width: 44px; height: 26px; border-radius: 999px; background: #c5cde0; position: relative; transition: background .2s ease; margin-top: 2px; }
.tv-pf-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.tv-pf-switch input:checked + .tv-pf-knob { background: linear-gradient(100deg, #1f5eff, #7c5cff); }
.tv-pf-switch input:checked + .tv-pf-knob::after { transform: translateX(18px); }
.tv-pf-switch input:focus-visible + .tv-pf-knob { outline: 2px solid var(--vault); outline-offset: 2px; }
.tv-pf-switch b { display: block; font-size: 15.5px; }
.tv-pf-switch small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.tv-pf-cards { display: grid; gap: 10px; }
.tv-pf-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.tv-pf-card[open] { border-color: var(--vault-line); box-shadow: 0 10px 28px -18px rgba(31, 94, 255, .5); }
.tv-pf-card summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.tv-pf-card summary::-webkit-details-marker { display: none; }
.tv-pf-i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3d8bff, #1f5eff); }
.tv-pf-card[data-part=household] .tv-pf-i { background: linear-gradient(135deg, #18b88a, #0b7a6b); }
.tv-pf-card[data-part=tax] .tv-pf-i { background: linear-gradient(135deg, #ff8a3d, #e0393e); }
.tv-pf-card[data-part=health] .tv-pf-i { background: linear-gradient(135deg, #f0506e, #a3214a); }
.tv-pf-i svg { width: 21px; height: 21px; }
.tv-pf-t { display: grid; gap: 2px; min-width: 0; }
.tv-pf-t b { font-size: 16px; color: var(--vault-deep); }
.tv-pf-t small { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-pf-edit { font-size: 14px; font-weight: 700; color: var(--vault); padding: 6px 12px; border-radius: 999px; background: var(--vault-soft); }
.tv-pf-card[open] .tv-pf-edit { visibility: hidden; }
.tv-pf-form { padding: 4px 16px 18px; border-top: 1px solid var(--line); }
.tv-pf-sub { font-weight: 700; margin: 14px 0 4px; }
.tv-pf-kid { align-items: end; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.tv-pf-kcheck { align-self: center; }
.tv-pf-year { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 14px; margin: 12px 0; }
.tv-pf-year legend { font-weight: 700; padding: 0 6px; display: flex; gap: 10px; align-items: center; }
.tv-pf-year legend select { font: inherit; font-weight: 700; border: 1px solid var(--vault-line); border-radius: 8px; padding: 4px 8px; background: #fff; }
.tv-pf-add { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.tv-pf-add select { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; }
#tv-pf-msg.is-ok, .tv-msg.is-ok { background: #e8f7ee; color: var(--ok); }
@media (max-width: 760px) {
  .tv-pf-card summary { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 12px; gap: 10px; }
  .tv-pf-i { width: 38px; height: 38px; }
  .tv-pf-form { padding: 4px 12px 16px; }
  .tv-pf-kid { grid-template-columns: 1fr; }
  .tv-pf-card summary { grid-template-columns: 38px minmax(0, 1fr) 18px; }
  .tv-pf-edit { font-size: 0; padding: 0; background: none; width: 18px; height: 18px; }
  .tv-pf-edit::after { content: "›"; font-size: 24px; line-height: 18px; color: var(--vault); }
}

/* TAXVAULT-CONFIRM (Oct 14 2026): window.tvConfirm dialog (vault.js): blurred backdrop, card that pops in, icon, two big buttons; red for deletes */
.tv-cf { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(11, 23, 45, 0); backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0); transition: background .18s ease, backdrop-filter .18s ease; }
.tv-cf.is-in { background: rgba(11, 23, 45, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tv-cf-box { width: min(420px, 100%); background: #fff; border-radius: 24px; padding: 28px 24px 22px; text-align: center; box-shadow: 0 30px 70px -20px rgba(11, 23, 45, .5);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .18s ease, transform .22s cubic-bezier(.2, .9, .3, 1.2); }
.tv-cf.is-in .tv-cf-box { opacity: 1; transform: none; }
.tv-cf-i { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #1f5eff, #7c5cff); box-shadow: 0 12px 24px -12px rgba(31, 94, 255, .8); }
.tv-cf.is-danger .tv-cf-i { background: linear-gradient(135deg, #ff6b6b, #e0393e); box-shadow: 0 12px 24px -12px rgba(224, 57, 62, .8); }
.tv-cf-i svg { width: 28px; height: 28px; }
.tv-cf-box h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; color: var(--vault-deep); }
.tv-cf-box p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tv-cf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tv-cf-btns button { font: inherit; font-weight: 750; font-size: 16px; min-height: 50px; border-radius: 14px; border: 0; cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease; }
.tv-cf-btns button:active { transform: scale(.98); }
.tv-cf-no { background: #eef2ff; color: #2a3fd6; }
.tv-cf-no:hover { background: #e0e7ff; }
.tv-cf-yes { color: #fff; background: linear-gradient(100deg, #1f5eff, #7c5cff); box-shadow: 0 10px 22px -10px rgba(124, 92, 255, .8); }
.tv-cf.is-danger .tv-cf-yes { background: linear-gradient(100deg, #f0505a, #c8202a); box-shadow: 0 10px 22px -10px rgba(224, 57, 62, .8); }
.tv-cf-btns button:focus-visible { outline: 3px solid rgba(31, 94, 255, .35); outline-offset: 2px; }
body.tv-cf-open { overflow: hidden; }
@media (max-width: 480px) {
  .tv-cf { place-items: end center; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .tv-cf-box { border-radius: 24px; padding: 24px 18px 18px; transform: translateY(40px); }
}
@media (prefers-reduced-motion: reduce) { .tv-cf, .tv-cf-box { transition: none; } }

/* TAXVAULT-BUDGET (Oct 14 2026): /budget (public/tv/budget.js). Chart colours (validated, light surface): fixed #1f5eff, taxes #d9711a,
   savings #0f9a73, left #8a5cf0. Desktop: inputs left, sticky summary right; phones: summary on top. */
.tv-bd { margin-top: 10px; }
.tv-bd-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tv-bd-out { position: sticky; top: 88px; }
.tv-bd-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--vault-soft); margin: 0 0 12px; }
.tv-bd-grp { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.tv-bd-grp[open] { box-shadow: 0 10px 28px -20px rgba(31, 94, 255, .5); }
.tv-bd-grp summary { display: flex; align-items: center; gap: 10px; padding: 15px 16px; cursor: pointer; list-style: none; font-size: 17px; }
.tv-bd-grp summary::-webkit-details-marker { display: none; }
.tv-bd-grp summary::after { content: "+"; margin-left: 8px; font-size: 20px; color: var(--vault); }
.tv-bd-grp[open] summary::after { content: "−"; }
.tv-bd-grp b { color: var(--vault-deep); }
.tv-bd-dot { width: 12px; height: 12px; border-radius: 4px; flex: none; background: #0b2545; }
.tv-bd-grp.is-fixed .tv-bd-dot { background: #1f5eff; } .tv-bd-grp.is-tax .tv-bd-dot { background: #d9711a; } .tv-bd-grp.is-save .tv-bd-dot { background: #0f9a73; }
.tv-bd-sum { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tv-bd-body { padding: 2px 16px 16px; border-top: 1px solid var(--line); }
.tv-bd-line { display: grid; grid-template-columns: minmax(0, 1fr) 150px 112px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.tv-bd-line.is-plain { grid-template-columns: minmax(0, 1fr) 150px; }
.tv-bd-line.is-custom { grid-template-columns: minmax(0, 1fr) 150px 112px 28px; }
.tv-bd-line label { font-weight: 600; font-size: 15px; }
.tv-bd-line label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.tv-bd-amt { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 10px; }
.tv-bd-amt:focus-within { border-color: var(--vault); box-shadow: 0 0 0 3px rgba(31, 94, 255, .15); }
.tv-bd-amt span { color: var(--muted); font-size: 13px; font-weight: 600; }
.tv-bd-amt input { border: 0; outline: 0; width: 100%; padding: 10px 0 10px 8px; font: inherit; font-size: 16px; text-align: right; font-variant-numeric: tabular-nums; background: transparent; }
.tv-bd-line select, .tv-bd-label { font: inherit; font-size: 14.5px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; background: #fff; min-width: 0; }
.tv-bd-x { border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.tv-bd-body .tv-check { margin: 10px 0; }
.tv-bd-body .tv-linkbtn { margin-top: 10px; }
.tv-bd-card { display: grid; gap: 12px; position: relative; }
.tv-bd-card .tv-eyebrow { margin: 0; }
.tv-bd-hero { margin: 0; display: grid; }
.tv-bd-hero small { color: var(--muted); font-size: 15px; font-weight: 600; }
.tv-bd-hero b { font-size: clamp(34px, 5vw, 46px); line-height: 1.1; color: var(--vault-deep); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tv-bd-hero.is-over b { color: var(--swiss); }
.tv-bd-bar { display: flex; gap: 2px; height: 22px; border-radius: 6px; overflow: hidden; background: var(--paper); }
.tv-bd-seg { min-width: 4px; cursor: default; transition: filter .15s ease; }
.tv-bd-seg:hover { filter: brightness(1.12); }
.tv-bd-warn { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--swiss-soft); color: var(--swiss); font-weight: 600; font-size: 14.5px; }
.tv-bd-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tv-bd-legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 44px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tv-bd-legend li:last-child { border-bottom: 0; }
.tv-bd-legend b { font-variant-numeric: tabular-nums; }
.tv-bd-legend small { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.tv-bd-key { width: 14px; height: 14px; border-radius: 4px; }
.tv-bd-tip { position: absolute; z-index: 5; transform: translateX(-50%); padding: 7px 10px; border-radius: 8px; background: #0b2545; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; pointer-events: none; }
.tv-bd-lock { display: grid; gap: 12px; padding: 14px 0 4px; }
.tv-bd-lock p { margin: 0; }
.tv-bd-lock .tv-btn { justify-self: start; }
.tv-bd-lock-ex { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: linear-gradient(100deg, #fff4ea, #fff); border: 1px dashed #f0c49a; filter: blur(1.5px); user-select: none; }
.tv-bd-lock-ex b { color: #d9711a; font-size: 20px; }
.tv-bd-est { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #fff4ea; border: 1px solid #f6d5b5; }
.tv-bd-est p { margin: 0 0 6px; } .tv-bd-est b { color: #a95510; font-size: 20px; }
.tv-bd-est ul { margin: 6px 0 0; padding-left: 18px; font-size: 14.5px; }
.tv-bd-3a { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e9f7f1; border: 1px solid #bfe6d6; font-size: 15px; }
.tv-bd-3a p { margin: 0; }
.tv-bd-saved { min-height: 1.4em; }
@media (max-width: 900px) {
  .tv-bd-grid { grid-template-columns: minmax(0, 1fr); }
  .tv-bd-out { position: static; order: -1; }
}
@media (max-width: 560px) {
  .tv-bd-line, .tv-bd-line.is-custom { grid-template-columns: minmax(0, 1fr) 112px; }
  .tv-bd-line label, .tv-bd-line .tv-bd-label { grid-column: 1 / -1; }
  .tv-bd-line.is-plain { grid-template-columns: minmax(0, 1fr); }
  .tv-bd-line.is-custom .tv-bd-x { grid-column: 2; justify-self: end; }
  .tv-bd-grp summary { font-size: 16px; padding: 13px 14px; }
  .tv-bd-body { padding: 2px 14px 14px; }
}
.tv-acc-budget { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 4px 0 18px; padding: 14px 16px; border-radius: 16px;
  text-decoration: none; color: var(--ink); background: linear-gradient(100deg, #e9f7f1, #eef2ff); border: 1px solid #cfe3f0; }
.tv-acc-budget:hover { box-shadow: 0 10px 24px -16px rgba(15, 154, 115, .7); }
.tv-acc-budget-i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; background: linear-gradient(135deg, #18b88a, #0b7a6b); }
.tv-acc-budget b { display: block; color: var(--vault-deep); } .tv-acc-budget small { color: var(--muted); }

/* TAXVAULT-BUDGET-PRO (Oct 14 2026): premium tools on /budget: 3a optimizer, health alert, monthly email, goals, home check */
.tv-bd-out { display: grid; gap: 12px; }
.tv-bd-pro { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tv-bd-pro p { margin: 0; }
.tv-bd-pro .tv-btn { justify-self: start; }
.tv-bd-pro-h { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--vault); }
.tv-bd-pro.is-green { background: #e9f7f1; border-color: #bfe6d6; } .tv-bd-pro.is-green .tv-bd-pro-h { color: #0b7a5b; }
.tv-bd-pro.is-warn { background: #fff4ea; border-color: #f6d5b5; } .tv-bd-pro.is-warn .tv-bd-pro-h { color: #a95510; }
.tv-bd-pro.is-locked { background: linear-gradient(160deg, #f4f1ff, #fff 70%); border-color: #d9d0ff; }
.tv-bd-pro.is-locked ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; }
.tv-bd-remind { grid-template-columns: 22px minmax(0, 1fr); align-items: start; cursor: pointer; }
.tv-bd-remind input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--vault); }
.tv-bd-remind b { display: block; } .tv-bd-remind small { color: var(--muted); font-size: 14px; }
.tv-bd-goal { position: relative; padding: 12px 0 14px; border-bottom: 1px dashed var(--line); }
.tv-bd-goal .tv-bd-label { font-weight: 700; width: calc(100% - 36px); margin-bottom: 8px; }
.tv-bd-goal .tv-bd-x { position: absolute; right: 0; top: 14px; }
.tv-bd-goal .tv-field input[type=month] { width: 100%; }
.tv-bd-goal p { margin: 6px 0 0; }
.tv-bd-gadd { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.tv-bd-homeres { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--vault-soft); border: 1px solid var(--vault-line); display: grid; gap: 6px; }
.tv-bd-homeres p { margin: 0; } .tv-bd-homeres b { font-variant-numeric: tabular-nums; }
.tv-bd-homeres.is-ok { background: #e9f7f1; border-color: #bfe6d6; } .tv-bd-homeres.is-no { background: #fff4ea; border-color: #f6d5b5; }
.tv-bd-grp.is-goals .tv-bd-dot { background: #0f9a73; } .tv-bd-grp.is-home .tv-bd-dot { background: #8a5cf0; }

/* TAXVAULT-BUDGET-PRO2 (Oct 14 2026): history chart, what-if table, bank import */
.tv-bd-hist svg { width: 100%; height: auto; overflow: visible; }
.tv-bd-hist text { font-size: 10px; fill: var(--muted); }
.tv-bd-axis { stroke: var(--line); stroke-width: 1; }
.tv-bd-hbar rect { transition: filter .15s ease; } .tv-bd-hbar:hover rect { filter: brightness(1.12); }
.tv-bd-prog { height: 10px; border-radius: 999px; background: #fbe5d1; overflow: hidden; }
.tv-bd-prog span { display: block; height: 100%; border-radius: 999px; background: #d9711a; }
.tv-bd-wi { width: 100%; border-collapse: collapse; margin: 12px 0; font-variant-numeric: tabular-nums; font-size: 15px; }
.tv-bd-wi th, .tv-bd-wi td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.tv-bd-wi th:first-child { text-align: left; font-weight: 500; }
.tv-bd-wi thead th { font-size: 13px; color: var(--muted); font-weight: 700; }
.tv-bd-wi tr.is-sum th, .tv-bd-wi tr.is-sum td { font-weight: 800; color: var(--vault-deep); border-bottom: 0; }
.tv-bd-body > .tv-field select { font: inherit; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.tv-bd-body > .tv-btn { margin-top: 8px; }
.tv-bd-file { cursor: pointer; margin: 6px 0; }
.tv-bd-grp.is-what .tv-bd-dot { background: #d9711a; } .tv-bd-grp.is-csv .tv-bd-dot { background: #1f5eff; }
.tv-bd-wi td { white-space: nowrap; } @media (max-width: 560px) { .tv-bd-wi { font-size: 14px; } .tv-bd-wi th, .tv-bd-wi td { padding: 7px 4px; } }

/* TAXVAULT-SPEND (Oct 14 2026): spending diary, tabs Plan | Spending on /budget (public/tv/spend.js) */
.tv-bd-tabs { display: flex; gap: 6px; margin-top: 6px; }
.tv-bd-tabs button { font: inherit; font-weight: 750; font-size: 16px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.tv-bd-tabs button[aria-selected="true"] { background: linear-gradient(100deg, #1f5eff, #7c5cff); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(124, 92, 255, .8); }
.tv-sp { margin-top: 14px; }
.tv-sp-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tv-sp-top h2 { margin: 0; font-size: 24px; min-width: 190px; text-align: center; text-transform: capitalize; }
.tv-sp-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; color: var(--vault); }
.tv-sp-nav:disabled { opacity: .35; cursor: default; }
.tv-sp-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tv-sp-main, .tv-sp-side { display: grid; gap: 14px; }
.tv-sp-side { position: sticky; top: 88px; }
.tv-sp-sum { display: grid; gap: 6px; }
.tv-sp-sum .tv-eyebrow { margin: 0; }
.tv-sp-big { margin: 0; font-size: clamp(30px, 5vw, 42px); font-weight: 800; color: var(--vault-deep); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tv-sp-big small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.tv-sp-alert { margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--swiss-soft); color: var(--swiss); font-weight: 650; font-size: 14.5px; }
.tv-sp-add h3, .tv-sp-list h3, .tv-sp-cats h3, .tv-sp-chart h3 { margin: 0 0 12px; font-size: 18px; }
.tv-sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.tv-sp-cat { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease; }
.tv-sp-cat:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(11, 37, 69, .4); }
.tv-sp-cat.is-on { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.tv-sp-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c, #1f5eff) 14%, #fff); flex: none; }
.tv-sp-cn { font-size: 12.5px; font-weight: 650; color: var(--ink); text-align: center; line-height: 1.2; }
.tv-sp-cat.is-add .tv-sp-ic { background: var(--paper); color: var(--vault); font-weight: 800; }
.tv-sp-grid.is-demo { margin: 14px 0; pointer-events: none; }
.tv-sp-hint { margin: 12px 0 0; }
.tv-sp-form { margin-top: 14px; padding: 16px; border-radius: 16px; border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 5%, #fff); display: grid; gap: 10px; }
.tv-sp-formhead { display: flex; align-items: center; gap: 10px; } .tv-sp-formhead small { margin-left: auto; color: var(--muted); }
.tv-sp-amt { display: flex; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--c); padding: 4px 2px; }
.tv-sp-amt span { font-weight: 700; color: var(--muted); }
.tv-sp-amt input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 34px; font-weight: 800; width: 100%; color: var(--vault-deep); font-variant-numeric: tabular-nums; }
.tv-sp-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tv-sp-lh { display: flex; justify-content: space-between; align-items: center; }
.tv-sp-day { margin-top: 6px; }
.tv-sp-dh { display: flex; justify-content: space-between; margin: 10px 0 4px; font-size: 13px; color: var(--muted); text-transform: capitalize; }
.tv-sp-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); }
.tv-sp-open { flex: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.tv-sp-rt { min-width: 0; } .tv-sp-rt b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tv-sp-rt small { color: var(--muted); }
.tv-sp-ra { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-sp-cr { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tv-sp-cr:last-child { border-bottom: 0; }
.tv-sp-cb p { margin: 0 0 6px; display: flex; justify-content: space-between; gap: 8px; } .tv-sp-cb p span { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-sp-cb small { color: var(--muted); font-weight: 500; }
.tv-sp-cr.is-over .tv-sp-cb p span { color: var(--swiss); }
.tv-sp-bar { height: 8px; border-radius: 999px; background: var(--paper); overflow: hidden; } .tv-sp-bar span { display: block; height: 100%; border-radius: 999px; }
.tv-sp-lim { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.tv-sp-lim input { width: 100px; font: inherit; font-size: 14px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: right; }
.tv-sp-chart svg { width: 100%; height: auto; overflow: visible; } .tv-sp-chart text { font-size: 10px; fill: var(--muted); } .tv-sp-chart .tv-sp-v { fill: var(--ink); font-weight: 700; }
.tv-sp-manage h3 { margin: 4px 0 10px; }
.tv-sp-own { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.tv-sp-own li { display: flex; align-items: center; gap: 10px; }
.tv-sp-sub { font-weight: 700; font-size: 14px; margin: 12px 0 6px; }
.tv-sp-emoji { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
.tv-sp-emoji label, .tv-sp-colors label { cursor: pointer; } .tv-sp-emoji input, .tv-sp-colors input { position: absolute; opacity: 0; width: 1px; }
.tv-sp-emoji span { display: grid; place-items: center; height: 42px; border-radius: 12px; border: 1px solid var(--line); font-size: 21px; background: #fff; }
.tv-sp-emoji input:checked + span { border-color: var(--vault); box-shadow: 0 0 0 3px rgba(31, 94, 255, .2); }
.tv-sp-colors { display: flex; gap: 10px; flex-wrap: wrap; } .tv-sp-colors span { display: block; width: 32px; height: 32px; border-radius: 50%; }
.tv-sp-colors input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.tv-sp-login { display: grid; gap: 8px; } .tv-sp-login .tv-btn { justify-self: start; }
@media (max-width: 900px) { .tv-sp-cols { grid-template-columns: minmax(0, 1fr); } .tv-sp-side { position: static; } }
@media (max-width: 560px) {
  .tv-sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tv-sp-cat { padding: 10px 2px 8px; border-radius: 14px; } .tv-sp-ic { width: 40px; height: 40px; font-size: 20px; } .tv-sp-cn { font-size: 11.5px; }
  .tv-sp-top h2 { font-size: 20px; min-width: 0; flex: 1; }
  .tv-bd-tabs button { flex: 1; }
}
.tv-sp-cn { overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }
/* TAXVAULT-SPEND-DED (Oct 15 2026): tax-deductible tag + yearly list in the spending diary (spend.js) */
.tv-sp-ded { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; } .tv-sp-ded legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 6px; }
.tv-sp-ded .tv-small { margin: 0; }
.tv-sp-dedchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-sp-dedchips label { cursor: pointer; } .tv-sp-dedchips input { position: absolute; opacity: 0; width: 1px; }
.tv-sp-dedchips span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; }
.tv-sp-dedchips input:checked + span { background: #0f9a73; border-color: #0f9a73; color: #fff; }
.tv-sp-dedchips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(15, 154, 115, .3); }
.tv-sp-dedlock { margin: 0; }
.tv-sp-dedtag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #e3f5ee; color: #0b6e52; font-weight: 650; font-size: 12px; }
.tv-sp-dedbar { display: grid; gap: 8px; border: 2px solid #bfe7d8; background: linear-gradient(160deg, #f1fbf7, #fff 60%); }
.tv-sp-dedbar h3 { margin: 0; font-size: 18px; } .tv-sp-dedbar .tv-small { margin: 0; } .tv-sp-dedbar .tv-btn { justify-self: start; }
.tv-sp-dedsum { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tv-sp-dedsum li { display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; } .tv-sp-dedsum b { font-variant-numeric: tabular-nums; }
.tv-sp-dview { display: grid; gap: 14px; max-width: 860px; }
.tv-sp-dvh { display: grid; gap: 10px; } .tv-sp-dvh h2 { margin: 0; font-size: clamp(22px, 4vw, 30px); } .tv-sp-dvh .tv-linkbtn { justify-self: start; }
.tv-sp-dvh .tv-row { max-width: 420px; }
.tv-sp-dednote { margin: 0; color: var(--muted); font-size: 14px; } .tv-sp-dednote a { color: var(--vault); }
.tv-sp-dgh { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 17px; } .tv-sp-dgh > b { font-variant-numeric: tabular-nums; }
.tv-sp-dgf { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); display: grid; gap: 8px; font-size: 13.5px; }
.tv-sp-dgf dt { font-weight: 700; } .tv-sp-dgf dd { margin: 2px 0 0; color: var(--ink); }
.tv-sp-dgt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tv-sp-dgt td { padding: 7px 4px; border-top: 1px solid var(--line); } .tv-sp-dgt td:first-child { color: var(--muted); white-space: nowrap; width: 1%; padding-right: 12px; }
.tv-sp-dgt .tv-sp-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 650; }
.tv-sp-dtot p { margin: 0; display: flex; justify-content: space-between; font-size: 19px; font-weight: 800; color: var(--vault-deep); }
@media print {
  body.tv-print-ded * { visibility: hidden; }
  body.tv-print-ded #tv-sp, body.tv-print-ded #tv-sp * { visibility: visible; }
  body.tv-print-ded #tv-sp { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
  body.tv-print-ded #tv-sp button, body.tv-print-ded #tv-sp select, body.tv-print-ded #tv-sp .tv-sp-dvh label { display: none; }
  body.tv-print-ded .tv-panel { box-shadow: none; break-inside: avoid; }
}
.tv-pl-spend { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #f1fbf7; border: 1px solid #bfe7d8; display: grid; gap: 6px; }
.tv-pl-spend p { margin: 0; } .tv-pl-spend .tv-linkbtn { justify-self: start; }
/* TAXVAULT-SPEND-LEFT (Oct 15 2026): left to spend per day in the spending diary */
.tv-sp-left { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #f4f0ff; }
.tv-sp-left .tv-small { margin: 0; } .tv-sp-left .tv-sp-bar { background: #e2d9ff; }
.tv-sp-leftbig { margin: 0; font-size: 15px; color: #5a3fc0; } .tv-sp-leftbig b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tv-sp-leftnone { margin: 0; }
/* TAXVAULT-SPEND-RECEIPT (Oct 15 2026): receipt photo button in the spending diary */
.tv-sp-rc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .tv-sp-rc .tv-small { margin: 0; flex: 1; min-width: 180px; }
.tv-sp-rcnote { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px dashed var(--c); font-size: 14px; }
/* TAXVAULT-WHT (Oct 15 2026): withholding tax check, taxvault.ch/tax/withholding (public/tv/withholding.js; reuses tv-hc-* / tv-sb-*) */
.tv-wh-dl { margin: 2px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.tv-wh-warn .tv-i { color: #d9711a; }
.tv-sb-coming { margin: 4px 0 0; font-weight: 600; }
.tv-hc-res[hidden], .tv-hc-letter[hidden], #tv-wh [hidden], #tv-wh-letter [hidden] { display: none !important; }  /* display:grid above beat [hidden] (also on /health/subsidy) */

/* TAXVAULT-AURORA (Oct 16 2026): owner picked mockup D "Aurora" (taxvault/mockups/d-aurora.html) for the whole site: modern + colourful,
   light only. Sora font (OFL, self-hosted), blue -> violet -> pink -> orange gradient for main buttons, soft colour glow behind the top of
   every page, glass pill menu, rounder cards. Home page markup = site/build_home.py (classes tv-au-*). Later rules win, so keep this block last. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/tv/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/tv/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --vault: #2b5cff; --vault-deep: #14123a; --vault-soft: #eef1ff; --vault-line: #cfd8ff;
  --ink: #14123a; --muted: #5c5a7d; --paper: #ffffff; --line: #ecebf7; --tint: #f7f6ff;
  --au-violet: #8b3dff; --au-pink: #ff3d8b; --au-orange: #ff8a1f; --au-teal: #00c2a8;
  --au-grad: linear-gradient(100deg, #2b5cff, #8b3dff 45%, #ff3d8b 80%, #ff8a1f);
  --brand-a: #2b5cff; --brand-b: #8b3dff;
  --radius: 22px; --shadow: 0 1px 2px rgba(20, 18, 58, .05), 0 20px 40px -24px rgba(20, 18, 58, .28);
  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
}
body { background: #fff; font-size: 16.5px; }
body, body[data-tv-page] { background: #fff; }
h1, h2, h3 { letter-spacing: -.03em; }
h1 { font-weight: 800; }
/* soft colour glow behind the top of every page */
body::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 860px; pointer-events: none; overflow: hidden;
  background: radial-gradient(38% 46% at 12% 22%, rgba(43, 92, 255, .20), transparent 70%), radial-gradient(34% 42% at 88% 14%, rgba(255, 61, 139, .17), transparent 70%),
  radial-gradient(30% 36% at 72% 62%, rgba(255, 138, 31, .14), transparent 70%), radial-gradient(28% 36% at 34% 74%, rgba(0, 194, 168, .12), transparent 70%),
  radial-gradient(30% 40% at 55% 34%, rgba(139, 61, 255, .14), transparent 70%); }
body { position: relative; isolation: isolate; overflow-x: clip; }
/* header: see-through, menu in a glass pill */
.tv-top { background: rgba(255, 255, 255, .62); border-bottom-color: rgba(236, 235, 247, .8); }
.tv-top-in { min-height: 76px; }
.tv-logo span { font-weight: 800; letter-spacing: -.03em; }
@media (min-width: 1101px) {
  .tv-nav { background: rgba(255, 255, 255, .7); border: 1px solid rgba(236, 235, 247, .95); border-radius: 999px; padding: 5px; box-shadow: 0 6px 20px -14px rgba(20, 18, 58, .35); }
  .tv-nav > a, .tv-dd-btn { font-size: 15px; padding: 8px 14px; }
  .tv-nav > a:hover, .tv-dd-btn:hover, .tv-dd.is-open > .tv-dd-btn { background: #fff; }
  .tv-nav a.tv-nav-acc { border: 0; color: #fff; background: var(--au-grad); margin-left: 4px; }
  .tv-nav a.tv-nav-acc:hover { color: #fff; filter: brightness(1.06); }
}
.tv-dd-i.is-blue { background: linear-gradient(135deg, #2b5cff, #6a3dff); }
.tv-dd-i.is-violet { background: linear-gradient(135deg, #8b3dff, #ff3d8b); }
.tv-dd-i.is-orange { background: linear-gradient(135deg, #ff8a1f, #ff3d8b); }
.tv-dd-i.is-teal, .tv-dd-i.is-green { background: linear-gradient(135deg, #00c2a8, #2b9cff); }
.tv-dd-i.is-red { background: linear-gradient(135deg, #ff3d8b, #ff8a1f); }
.tv-dd-i.is-navy { background: linear-gradient(135deg, #14123a, #4b3dff); }
/* buttons: main = gradient pill */
.tv-btn { font-weight: 700; border-color: var(--line); padding: 13px 24px; }
.tv-btn:hover { background: var(--tint); border-color: var(--vault-line); }
.tv-btn-main, .tv-btn-grad, body[data-tv-page="letter"] .tv-go, body[data-tv-page="letter"] .tv-buy .tv-btn-main {
  border: 0; color: #fff; background: var(--au-grad); background-size: 150% 100%; background-position: 0 0;
  box-shadow: 0 12px 26px -12px rgba(139, 61, 255, .7); transition: background-position .35s ease, transform .15s ease, box-shadow .2s ease; }
.tv-btn-main:hover, .tv-btn-grad:hover, body[data-tv-page="letter"] .tv-go:hover, body[data-tv-page="letter"] .tv-buy .tv-btn-main:hover {
  color: #fff; background: var(--au-grad); background-size: 150% 100%; background-position: 100% 0; box-shadow: 0 16px 30px -12px rgba(255, 61, 139, .6); }
.tv-btn-main:disabled, .tv-btn-main[disabled] { box-shadow: none; }
/* headline highlight = gradient text */
.tv-hl, .tv-hero h1 span { background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0; }
/* cards and panels: rounder, softer */
.tv-card, .tv-panel { border-radius: var(--radius); border-color: var(--line); box-shadow: 0 20px 40px -32px rgba(20, 18, 58, .35); }
.tv-card:hover { border-color: var(--vault-line); }
.tv-faq details { border-radius: 18px; }
/* footer on a soft tint */
.tv-foot { background: var(--tint); border-top: 0; margin-top: 40px; }
.tv-foot h2 { text-transform: none; letter-spacing: -.01em; font-size: 15px; color: var(--ink); }

/* home page (site/build_home.py) */
body[data-tv-page="home"] { background: #fff; }
.tv-au-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 56px 96px; }
.tv-au-hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.04; letter-spacing: -.035em; color: var(--ink); }
.tv-au-lead { font-size: 19px; color: var(--muted); max-width: 42ch; margin: 22px 0 32px; }
.tv-au-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tv-au-btns .tv-btn { padding: 15px 28px; font-size: 16.5px; }
.tv-au-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.tv-au-pills li { background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 4px 12px -6px rgba(20, 18, 58, .15); }
.tv-au-pills li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--vault)); }
.tv-au-stage { position: relative; height: 560px; }
.tv-au-phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%) rotate(3deg); width: 290px; height: 560px; border-radius: 44px; background: #14123a; padding: 12px; box-shadow: 0 40px 80px -30px rgba(20, 18, 58, .6); }
.tv-au-scr { background: var(--tint); border-radius: 34px; height: 100%; overflow: hidden; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.tv-au-scr .tv-au-hi { color: var(--muted); } .tv-au-scr .tv-au-hi b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.tv-au-c { border-radius: 20px; padding: 14px 16px; color: #fff; } .tv-au-c b { display: block; font-size: 14.5px; }
.tv-au-c strong { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.tv-au-c1 { background: linear-gradient(135deg, #2b5cff, #8b3dff); } .tv-au-c2 { background: linear-gradient(135deg, #ff3d8b, #ff8a1f); } .tv-au-c3 { background: linear-gradient(135deg, #00c2a8, #2b9cff); }
.tv-au-row { display: flex; justify-content: space-between; gap: 8px; background: #fff; border-radius: 14px; padding: 9px 12px; font-size: 12.5px; }
.tv-au-float { position: absolute; background: #fff; border-radius: 20px; padding: 13px 16px; box-shadow: 0 20px 40px -16px rgba(20, 18, 58, .35); display: flex; gap: 12px; align-items: center; font-size: 13px; max-width: 250px; }
.tv-au-float b { display: block; font-size: 14px; } .tv-au-float small { color: var(--muted); font-size: 12.5px; }
.tv-au-float > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.tv-au-float .tv-i { width: 20px; height: 20px; }
.tv-au-f1 { left: 0; top: 90px; } .tv-au-f1 > span { background: linear-gradient(135deg, #00c2a8, #2b9cff); }
.tv-au-f2 { right: 0; bottom: 90px; } .tv-au-f2 > span { background: linear-gradient(135deg, #ff3d8b, #ff8a1f); }
.tv-au-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.tv-au-head h2 { font-size: clamp(30px, 4vw, 46px); } .tv-au-head p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.tv-au-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tv-au-s { border-radius: 28px; padding: 26px; text-decoration: none; color: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 290px; position: relative; overflow: hidden; transition: transform .2s; }
.tv-au-s:hover { transform: translateY(-6px); color: #fff; }
.tv-au-s::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .14); right: -50px; bottom: -60px; }
.tv-au-s .tv-au-ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; margin-bottom: auto; }
.tv-au-s .tv-au-ic .tv-i { width: 26px; height: 26px; }
.tv-au-s h3 { font-size: 23px; letter-spacing: -.03em; } .tv-au-s p { opacity: .93; font-size: 15px; line-height: 1.5; }
.tv-au-s em { position: absolute; top: 22px; right: 22px; background: #ffd23f; color: var(--ink); font-style: normal; font-weight: 800; font-size: 12px; padding: 4px 11px; border-radius: 999px; }
.tv-au-s1 { background: linear-gradient(150deg, #2b5cff, #6a3dff); } .tv-au-s2 { background: linear-gradient(150deg, #ff8a1f, #ff3d8b); }
.tv-au-s3 { background: linear-gradient(150deg, #00c2a8, #00a3ff); } .tv-au-s4 { background: linear-gradient(150deg, #8b3dff, #ff3d8b); }
.tv-au-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 96px; }
.tv-au-nums div { border-radius: 24px; padding: 26px; background: var(--tint); }
.tv-au-nums b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; display: block; background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.tv-au-nums span { color: var(--muted); font-size: 15px; }
.tv-au-sec { padding-top: 104px; }
.tv-au-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: au; }
.tv-au-steps li { counter-increment: au; border-radius: 28px; padding: 30px; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 40px -30px rgba(20, 18, 58, .3); }
.tv-au-steps li::before { content: counter(au); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 21px; margin-bottom: 20px; background: linear-gradient(135deg, #2b5cff, #8b3dff); }
.tv-au-steps li:nth-child(2)::before { background: linear-gradient(135deg, #ff3d8b, #ff8a1f); } .tv-au-steps li:nth-child(3)::before { background: linear-gradient(135deg, #00c2a8, #2b9cff); }
.tv-au-steps b { font-size: 21px; letter-spacing: -.02em; display: block; margin-bottom: 6px; } .tv-au-steps span { color: var(--muted); }
.tv-au-more { text-align: center; margin-top: 26px; } .tv-au-more a { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.tv-au-faq { max-width: 820px; margin: 0 auto; }
.tv-au-faq details { border: 0; border-radius: 20px; padding: 20px 26px; margin-bottom: 12px; background: var(--tint); }
.tv-au-faq details[open] { background: #fff; box-shadow: 0 0 0 2px var(--au-violet); }
.tv-au-band { margin-block: 104px 40px; background: var(--au-grad); color: #fff; border-radius: 36px; padding: 64px 32px; text-align: center; }
.tv-au-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); } .tv-au-band p { opacity: .93; margin: 14px auto 30px; font-size: 19px; max-width: 46ch; }
.tv-au-band .tv-btn { border: 0; background: #fff; color: var(--ink); padding: 15px 28px; } .tv-au-band .tv-btn:hover { background: #fff; transform: translateY(-1px); }
@media (max-width: 1100px) { .tv-au-hero { grid-template-columns: 1fr; padding-top: 36px; } .tv-au-svc, .tv-au-nums { grid-template-columns: 1fr 1fr; } .tv-au-steps { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .tv-au-svc, .tv-au-nums { grid-template-columns: 1fr; } .tv-au-s { min-height: 210px; } .tv-au-band { padding: 40px 22px; border-radius: 28px; }
  .tv-au-stage { height: 520px; } .tv-au-phone { width: 260px; height: 510px; } .tv-au-f1 { left: -4px; top: 56px; } .tv-au-f2 { right: -4px; bottom: 44px; }
  .tv-au-nums b { font-size: 38px; } .tv-au-sec { padding-top: 72px; } .tv-au-nums { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { .tv-au-s, .tv-btn-main { transition: none; } }

/* TAXVAULT-BUDGET-DASH (Oct 17 2026): /budget number strip (budget.js kpis), start prompt before any income, "More costs" for the long cost list */
.tv-bd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.tv-bd-kpi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; display: grid; gap: 2px; box-shadow: 0 16px 32px -28px rgba(20, 18, 58, .4); min-width: 0; }
.tv-bd-kpi-l { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tv-bd-kpi-l i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tv-bd-kpi b { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }
.tv-bd-kpi small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.tv-bd-kpi[data-k="left"] { background: linear-gradient(150deg, #f4efff, #fff 70%); border-color: #e2d6ff; }
.tv-bd-kpi[data-k="left"] b { color: #6a3dd9; }
.tv-bd-kpi[data-k="over"] { background: #fff1f3; border-color: #ffd3da; }
.tv-bd-kpi[data-k="over"] b { color: #c41f3c; }
.tv-bd-line[hidden], .tv-bd-bar[hidden] { display: none; }
.tv-bd-more { margin-top: 8px; text-align: left; }
.tv-bd-hero.is-start { gap: 4px; }
.tv-bd-hero.is-start small { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.tv-bd-hero.is-start span { color: var(--muted); }
@media (max-width: 900px) { .tv-bd-kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .tv-bd-kpi { padding: 14px; border-radius: 16px; } }

/* TAXVAULT-BUDGET-BILLS (Oct 17 2026): yearly bills + 12-month calendar, tax instalments, 13th salary split, comparison with Swiss households */
.tv-bd-line.tv-bd-bill { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 28px; }
.tv-bd-line.tv-bd-bill .tv-bd-label { grid-column: 1 / -2; font-weight: 600; }
.tv-bd-line.tv-bd-bill .tv-bd-x { grid-row: 1; grid-column: -2; }
.tv-bd-line.tv-bd-inst { grid-template-columns: minmax(0, 190px) 150px 28px; justify-content: start; }
.tv-bd-line.tv-bd-inst input[type="date"] { font: inherit; font-size: 14.5px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 8px; background: #fff; min-width: 0; }
.tv-bd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.tv-bd-chip { font: inherit; font-size: 14px; font-weight: 600; border: 1px dashed var(--vault-line); background: var(--tint, #f7f6ff); color: var(--vault); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.tv-bd-chip:hover { border-style: solid; background: #fff; }
.tv-bd-cal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; margin: 18px 0 10px; height: 150px; }
.tv-bd-calm { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; min-width: 0; }
.tv-bd-calm small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.tv-bd-calm b { font-size: 12px; font-weight: 600; color: var(--muted); }
.tv-bd-calm.is-now b { color: var(--vault); font-weight: 800; }
.tv-bd-calbar { display: flex; flex-direction: column-reverse; justify-content: flex-start; background: var(--tint, #f7f6ff); border-radius: 8px; overflow: hidden; margin: 4px 0; }
.tv-bd-calbar i { display: block; background: linear-gradient(180deg, #4b7dff, #2b5cff); }
.tv-bd-calbar i.is-tax { background: #d9711a; }
.tv-bd-calm.is-now .tv-bd-calbar { box-shadow: inset 0 0 0 2px var(--vault-line); }
.tv-bd-calsum { margin: 4px 0 2px; } .tv-bd-calsum small { color: var(--muted); }
.tv-bd-lockline { color: var(--muted); }
.tv-bd-note2 { background: var(--warn-soft, #fdf1de); border-radius: 12px; padding: 10px 14px; margin-top: 8px; font-size: 15px; }
.tv-bd-note2.is-ok { background: #e6f7ef; }
.tv-bd-13 { background: var(--tint, #f7f6ff); border-radius: 16px; padding: 14px 16px; margin: 8px 0 12px; }
.tv-bd-13[hidden] { display: none; }
.tv-bd-13 .tv-bd-line { border-bottom-color: #e6e3f5; }
.tv-bd-cmp { margin-top: 16px; display: grid; gap: 12px; }
.tv-bd-cmprow p { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; font-size: 15px; }
.tv-bd-cmprow p span { flex: 1; } .tv-bd-cmprow p small { color: var(--muted); font-size: 12.5px; }
.tv-bd-cmpbar { position: relative; height: 10px; background: var(--tint, #f7f6ff); border-radius: 999px; }
.tv-bd-cmpbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #2b5cff, #8b3dff); }
.tv-bd-cmprow.is-flag .tv-bd-cmpbar i { background: linear-gradient(90deg, #ff8a1f, #ff3d8b); }
.tv-bd-cmpbar em { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
@media (max-width: 700px) {
  .tv-bd-line.tv-bd-bill { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
  .tv-bd-line.tv-bd-bill .tv-bd-amt { grid-column: 1 / -1; }
  .tv-bd-line.tv-bd-bill select[data-path$=".x"] { grid-column: 2 / -1; }
  .tv-bd-line.tv-bd-inst { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
  .tv-bd-cal { gap: 3px; height: 130px; } .tv-bd-calm small { font-size: 9.5px; } .tv-bd-calm b { font-size: 10.5px; }
}

/* TAXVAULT-GET (Oct 17 2026): letter + tax pages: "What you get" is its own full-width section (4 cards in a row) above the tool;
   the tool sits alone below, centred and wider than the old left column. */
.tv-get { padding-block: 24px 8px; }
.tv-get h2 { font-size: clamp(26px, 3.2vw, 36px); text-align: center; margin-bottom: 26px; }
.tv-get-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.tv-get-list li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; align-content: start; box-shadow: 0 20px 40px -32px rgba(20, 18, 58, .35); }
.tv-get-list li > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, #2b5cff, #8b3dff); }
.tv-get-list li:nth-child(2) > span { background: linear-gradient(135deg, #ff3d8b, #ff8a1f); }
.tv-get-list li:nth-child(3) > span { background: linear-gradient(135deg, #00c2a8, #2b9cff); }
.tv-get-list li:nth-child(4) > span { background: linear-gradient(135deg, #8b3dff, #ff3d8b); }
.tv-get-list b { font-size: 17.5px; letter-spacing: -.015em; display: block; margin-bottom: 6px; line-height: 1.3; }
.tv-get-list p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.tv-get-note { text-align: center; max-width: 70ch; margin: 18px auto 0; }
.tv-split.tv-split-one { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.tv-tx-case:has(.tv-split-one) > .tv-tx-sec-head { max-width: 900px; margin-inline: auto; }
@media (max-width: 1000px) { .tv-get-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tv-get-list { grid-template-columns: 1fr; gap: 10px; } .tv-get-list li { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; } .tv-get h2 { text-align: left; } .tv-get-note { text-align: left; } }

/* TAXVAULT-BUDGET-VISIBLE (Oct 17 2026): "Budget · Free" in the top menu, green Free badge in the Taxes menu, free budget block on the home page */
.tv-nav-free, .tv-dd-new.tv-dd-free { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #0fa968; color: #fff; margin-left: 4px; vertical-align: 1px; }
.tv-nav > a.tv-nav-budget { display: inline-flex; align-items: center; }
.tv-au-budget { padding-top: 96px; }
.tv-au-bd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 44px; border-radius: 32px;
  background: linear-gradient(135deg, #e9fbf3 0%, #eef1ff 60%, #f6efff 100%); border: 1px solid #d6efe4; }
.tv-au-free { display: inline-block; background: #0fa968; color: #fff; font-weight: 800; font-size: 14px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.tv-au-bd h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; }
.tv-au-bd-text > p { color: var(--muted); font-size: 18px; margin: 14px 0 18px; max-width: 46ch; }
.tv-au-bd ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-weight: 600; }
.tv-au-bd li { display: flex; gap: 10px; align-items: center; } .tv-au-bd li .tv-i { color: #0fa968; }
.tv-au-bd .tv-btn { padding: 15px 28px; }
.tv-au-bd-plus { color: var(--muted); font-size: 14.5px; margin-top: 16px; }
.tv-au-bd-mock { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(20, 18, 58, .4); display: grid; gap: 16px; transform: rotate(1.5deg); }
.tv-au-bd-big small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
.tv-au-bd-big b { font-size: 40px; font-weight: 800; letter-spacing: -.035em; color: #6a3dd9; }
.tv-au-bd-bar { display: flex; gap: 3px; height: 16px; border-radius: 8px; overflow: hidden; }
.tv-au-bd-row { display: flex; justify-content: space-between; gap: 10px; background: var(--tint, #f7f6ff); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; }
.tv-au-bd-cmp span { font-size: 14px; color: var(--muted); display: block; margin-bottom: 6px; }
.tv-au-bd-cmp div { position: relative; height: 10px; border-radius: 999px; background: var(--tint, #f7f6ff); }
.tv-au-bd-cmp i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #ff8a1f, #ff3d8b); }
.tv-au-bd-cmp em { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--ink); border-radius: 2px; }
@media (max-width: 900px) { .tv-au-bd { grid-template-columns: 1fr; padding: 28px 22px; } .tv-au-bd-mock { transform: none; } .tv-au-budget { padding-top: 72px; } }
@media (min-width: 1101px) and (max-width: 1260px) { .tv-nav > a, .tv-dd-btn { padding: 8px 9px; font-size: 14.5px; } .tv-top-in { gap: 14px; } .tv-nav-free { padding: 2px 6px; } }

/* TAXVAULT-BUY-FIT (Oct 17 2026): letter + tax pages: the prices under the tool line up with it (same 900px column, no double side padding),
   the plan card uses the full width, and credit packs are compact rows (details left, button right). */
.tv-tx-case > .tv-buy-wrap { max-width: 900px; margin: 24px auto 0; padding-inline: 0; }
.tv-tx-case > .tv-buy-wrap .tv-planhero { max-width: none; margin-bottom: 8px; }
.tv-tx-case > .tv-buy-wrap .tv-planhero-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tv-tx-case > .tv-buy-wrap .tv-buy > h2 { font-size: 22px; margin-top: 8px; }
.tv-tx-case > .tv-buy-wrap .tv-prices { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tv-tx-case > .tv-buy-wrap .tv-price { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px 20px; border-radius: 20px; }
.tv-tx-case > .tv-buy-wrap .tv-price > * { grid-column: 1; margin: 0; }
.tv-tx-case > .tv-buy-wrap .tv-price > .tv-tag { margin-bottom: 4px; }
.tv-tx-case > .tv-buy-wrap .tv-price > h3 { font-size: 16px; color: var(--muted); font-weight: 700; }
.tv-tx-case > .tv-buy-wrap .tv-price > .tv-price-n { font-size: 28px; line-height: 1.15; }
.tv-tx-case > .tv-buy-wrap .tv-price > .tv-btn, .tv-tx-case > .tv-buy-wrap .tv-price > .tv-tag-warn { grid-column: 2; grid-row: 1 / span 4; align-self: center; min-width: 120px; }
.tv-tx-case > .tv-buy-wrap .tv-price.is-main { border-width: 2px; }
@media (max-width: 760px) {
  .tv-tx-case > .tv-buy-wrap { margin-top: 16px; }
  .tv-tx-case > .tv-buy-wrap .tv-planhero-list { grid-template-columns: 1fr; }
  .tv-tx-case > .tv-buy-wrap .tv-price { padding: 16px; }
  .tv-tx-case > .tv-buy-wrap .tv-price > .tv-btn { min-width: 0; padding-inline: 18px; }
}

/* TAXVAULT-TAX-BUY-FIT (Oct 17 2026): tax page: the tax plan offer inside the tool uses the full width like the letter page (price on the right,
   points in two columns); My vault: bigger budget card and icon. */
[data-tool="tax"] > .tv-buy { padding-top: 0; }
[data-tool="tax"] > .tv-buy .tv-planhero { max-width: none; margin: 0 0 22px; }
[data-tool="tax"] > .tv-buy .tv-planhero-main { flex-wrap: nowrap; align-items: flex-end; }
[data-tool="tax"] > .tv-buy .tv-planhero-price { flex: none; text-align: right; }
[data-tool="tax"] > .tv-buy .tv-planhero-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  [data-tool="tax"] > .tv-buy .tv-planhero { margin-top: 0; }
  [data-tool="tax"] > .tv-buy .tv-planhero-main { flex-wrap: wrap; }
  [data-tool="tax"] > .tv-buy .tv-planhero-price { text-align: left; }
  [data-tool="tax"] > .tv-buy .tv-planhero-list { grid-template-columns: 1fr; }
}
.tv-acc-budget { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; padding: 18px 20px; border-radius: 22px; }
.tv-acc-budget-i { width: 72px; height: 72px; border-radius: 20px; font-size: 18px; letter-spacing: .02em; background: linear-gradient(135deg, #0fa968, #2b9cff);
  box-shadow: 0 12px 24px -12px rgba(15, 169, 104, .8); }
.tv-acc-budget b { font-size: 19px; letter-spacing: -.02em; }
.tv-acc-budget small { font-size: 15px; }
.tv-acc-budget > span:last-child { font-size: 22px; color: #0fa968; }
@media (max-width: 520px) { .tv-acc-budget { grid-template-columns: 60px minmax(0, 1fr) auto; padding: 14px 16px; } .tv-acc-budget-i { width: 60px; height: 60px; border-radius: 17px; font-size: 16px; } }

/* TAXVAULT-SPEND-B1 (Oct 17 2026): quick amounts, home-screen tip, subscriptions, search, weekly reminder (spend.js) */
.tv-sp-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.tv-sp-qa { font: inherit; display: grid; text-align: left; gap: 0; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--c, var(--vault-line)); background: #fff; cursor: pointer; min-width: 0; max-width: 100%; }
.tv-sp-qa b { font-size: 15px; } .tv-sp-qa small { font-size: 12px; color: var(--muted); max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-sp-qa:hover { background: var(--tint, #f7f6ff); }
.tv-sp-home { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.tv-sp-home summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.tv-sp-home ol { padding-left: 20px; margin: 8px 0; display: grid; gap: 4px; }
.tv-sp-homelink { font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; word-break: break-all; }
.tv-sp-subs .tv-sp-subtot { margin: 4px 0 10px; }
.tv-sp-sublist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tv-sp-sublist li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.tv-sp-sublist .tv-sp-ic { width: 34px; height: 34px; font-size: 17px; }
.tv-sp-subn b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tv-sp-subn small { color: var(--muted); font-size: 12.5px; }
.tv-sp-suba { font-weight: 700; font-variant-numeric: tabular-nums; }
.tv-sp-nudge { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff7e8; font-size: 14px; }
.tv-sp-remind { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.tv-sp-remind input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--vault); }
.tv-sp-remind b { display: block; } .tv-sp-remind small { color: var(--muted); font-size: 14px; }
.tv-sp-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; margin: 4px 0 14px; background: #fff; }
.tv-sp-search input { border: 0; outline: 0; font: inherit; font-size: 15px; padding: 11px 0; width: 100%; min-width: 0; background: transparent; }
.tv-sp-search:focus-within { border-color: var(--vault); box-shadow: 0 0 0 3px var(--vault-soft); }
.tv-sp-qsum { margin: 0 0 8px; color: var(--muted); }
#tv-sp-qres[hidden], #tv-sp-entries[hidden] { display: none; }

/* TAXVAULT-SPEND-B2 (Oct 17 2026): currency + trip fields, Trips card, bank import review, year review (spend.js) */
.tv-sp-fx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; margin: 8px 0; align-items: end; }
.tv-sp-fx .tv-field[hidden] { display: none; }
.tv-sp-fxres { grid-column: 1 / -1; margin: 0; }
.tv-sp-trip { margin-top: 8px; }
.tv-sp-fxtag, .tv-sp-triptag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #eef1ff; color: #2b5cff; margin-left: 4px; }
.tv-sp-triptag { background: #fff2e6; color: #b44200; }
.tv-sp-tripli { grid-template-columns: minmax(0, 1fr) auto !important; }
.tv-sp-lhb { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tv-sp-top { flex-wrap: wrap; }
.tv-sp-yearbtn { margin-left: auto; padding: 8px 16px; font-size: 14.5px; }
.tv-sp-imptab { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tv-sp-imptab td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tv-sp-imptab tr.is-off td { opacity: .5; }
.tv-sp-imptab select { font: inherit; font-size: 13.5px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 6px; max-width: 150px; background: #fff; }
.tv-sp-impd { white-space: nowrap; color: var(--muted); } .tv-sp-impt { word-break: break-word; }
.tv-sp-ystats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 12px 0; }
.tv-sp-ystat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; }
.tv-sp-ystat small { color: var(--muted); font-weight: 600; font-size: 13px; } .tv-sp-ystat b { font-size: 24px; letter-spacing: -.02em; } .tv-sp-ystat span { color: var(--muted); font-size: 13px; }
.tv-sp-year svg text { font-size: 11px; fill: var(--muted); }
@media (max-width: 620px) {
  .tv-sp-imptab, .tv-sp-imptab tbody, .tv-sp-imptab tr { display: block; } .tv-sp-imptab tr { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .tv-sp-imptab td { border: 0; padding: 0; } .tv-sp-imptab td:nth-child(2) { grid-column: 2; } .tv-sp-imptab td:nth-child(3) { grid-column: 2 / -1; } .tv-sp-imptab td:nth-child(4) { grid-column: 2; } .tv-sp-imptab td:nth-child(5) { grid-column: 3; grid-row: 1; }
  .tv-sp-yearbtn { margin-left: 0; width: 100%; }
}
.tv-sp-quick[hidden] { display: none; }
.tv-sp-year .tv-panel svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
