/* rgleetax: white canvas, typography-first. No tax logic changes. */
@media screen {
:root,:root[data-theme],:root:not([data-theme]){
 --bg:#fff;--card:#fff;--card-2:#f8f9fa;--surface:#fff;--paper:#fff;--paper-2:#f8f9fa;--ground:#fff;
 --ink:#141414;--body:#4d535a;--t1:#141414;--t2:#50565d;--t3:#71777e;--sub:#fff;
 --muted:#737980;--faint:#92979d;--ink-2:#50565d;--ink-3:#737980;--gray:#50565d;--gray2:#737980;--gray3:#92979d;
 --line:#e3e6e9;--line-soft:#eef0f2;--rule:#e3e6e9;--rule-soft:#eef0f2;
 --blue:#2c5f91;--blue-dk:#214e78;--blue-dark:#214e78;--blueText:#2c5f91;--blue-bg:#f0f5fa;--blueBg:#f0f5fa;
 --accent:#2c5f91;--accent-bg:#f0f5fa;--accent-soft:#f0f5fa;--pen:#141414;--pen-soft:#fff;--hl:transparent;
 --g900:#141414;--g800:#31373e;--g700:#50565d;--g600:#69717a;--g500:#7b8289;--g400:#a3a9b0;--g300:#d1d6db;--g200:#e3e6e9;--g100:#f4f6f8;--g50:#fafbfc;
 --inputBg:#fff;--zebra:#fafbfc;--shadow:none;--shadow-sm:none;--sh-s:none;--sh-m:none;--sh-l:0 8px 30px #17202a14;
 --sans:'Noto Sans KR','Malgun Gothic',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
 color-scheme:light;
}
body.tax-site{background:#fff!important;color:#141414;font-family:var(--sans)!important;letter-spacing:-.015em;line-height:1.75;-webkit-font-smoothing:antialiased}
body.tax-site input,body.tax-site select,body.tax-site textarea,body.tax-site button{font-family:var(--sans)}
body.tax-site :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #adc7df;outline-offset:3px}
body.tax-site :is(.hl,.mark,mark){background:none;box-shadow:none;font-weight:700}
body.tax-site :is(.serif,.law){font-family:var(--sans)!important}
body.tax-site a{ text-underline-offset:4px }
.tax-home .wrap{max-width:1200px;padding-left:28px;padding-right:28px}
.tax-home .nav{background:#fff;border-bottom:1px solid #e3e6e9}
.tax-home .nav .wrap{min-height:72px;height:auto}
.tax-home .nav .menu{min-width:0;overflow-x:auto;scrollbar-width:none}
.tax-home .nav .menu button,.tax-home .nav .menu a.ext{font-size:13px;border-radius:3px;color:#5f6670}
.tax-home .nav .menu button.on{background:transparent;color:#141414;box-shadow:inset 0 -2px #2c5f91}
.tax-home .nav :is(.kko,.tel){border-radius:5px;font-size:13px}
.tax-home .top{background:#fff;padding:68px 0 48px}
.tax-home .top h1{font-size:clamp(36px,4.5vw,60px);line-height:1.36;letter-spacing:-.04em;font-weight:800}
.tax-home .top h1 b{color:#141414;font-weight:800}
.tax-home .top .lede{font-size:18px;line-height:1.85;max-width:620px}
.tax-home .eyebrow{background:none;border:0;border-radius:0;padding:0;color:#626971;font-size:13px;font-weight:600}
.tax-home .btn,.tax-home .calcbar .bk{border-radius:5px;box-shadow:none}
.tax-home .btn-s{border:1px solid #d8dde3;background:#fff}
.tax-home .motion-stage{border:1px solid #e3e6e9;border-radius:6px;background:#fff;box-shadow:none}
.tax-home .intro,.tax-home .creator-focus{border:0;border-top:1px solid #e3e6e9;background:#fff;border-radius:0;box-shadow:none;padding-top:44px;padding-bottom:44px}
.tax-home .intro h2,.tax-home .creator-focus h2{color:#141414;font-size:clamp(29px,3.4vw,42px);line-height:1.45;font-weight:800;letter-spacing:-.035em}
.tax-home :is(.intro-label,.profile-kicker){background:transparent;color:#69717a;border:0;padding-left:0}
.tax-home :is(.intro-point,.intro-feature){border-radius:5px;box-shadow:none;background:#fff}
.tax-home .tools-g{gap:18px 30px}
.tax-home .tool{border:0;border-bottom:1px solid #e3e6e9;border-radius:0;box-shadow:none;padding:25px 0;background:#fff}
.tax-home .tool:hover{transform:none;box-shadow:none;border-color:#aab4bf}
.tax-home .tool .ti{background:transparent!important;border-radius:0;color:#2c5f91;margin-bottom:12px}
.tax-home .tool h3{font-size:23px;line-height:1.55;font-weight:800;letter-spacing:-.025em}
.tax-home .due-i{border-radius:0;box-shadow:none;border-bottom:1px solid #e3e6e9;background:#fff;padding:18px 12px}
.tax-home :is(.pt,.cta,.biz,.searchbar,.special,.sheet){border-radius:6px;box-shadow:none;border:1px solid #e3e6e9;background:#fff}
.tax-home .pt .n,.tax-home .special .lab{background:none;color:#69717a;padding-left:0;border-radius:0}
.tax-home .cta h2,.tax-home .why h2{font-size:32px;line-height:1.45;font-weight:800}
.tax-home .ih h1{font-size:42px;color:#141414;line-height:1.4}
.tax-home .ih h1 em{color:#141414}
.tax-home .calcbar{padding-top:24px;padding-bottom:10px}
.tax-home .calcmain{max-width:1200px}
.tax-home .calcwrap{border-radius:6px;border:1px solid #e3e6e9;background:#fff}
.tax-home .railcalc a{border-radius:4px;font-size:14px}
.tax-guide .shell{max-width:1160px;padding-left:30px;padding-right:30px}
.tax-guide header{background:#fff;border-color:#e3e6e9}
.tax-guide .hero{background:#fff;padding-top:58px;padding-bottom:40px}
.tax-guide h1{font-family:var(--sans);font-size:clamp(33px,4.2vw,52px);font-weight:800;line-height:1.4;letter-spacing:-.035em;color:#141414}
.tax-guide h2{font-size:29px;line-height:1.5;font-weight:800;letter-spacing:-.025em;color:#141414}
.tax-guide h3{font-size:20px;line-height:1.6;font-weight:700;color:#141414}
.tax-guide .eyebrow{color:#626971;font-size:13px;font-weight:600;background:none}
.tax-guide .lede{font-size:18px;line-height:1.85;color:#50565d}
.tax-guide :is(.panel,.card){background:#fff;border-radius:6px;border:1px solid #e3e6e9;box-shadow:none}
.tax-guide .panel{margin-bottom:30px;padding:30px}
.tax-guide .card{padding:24px}
.tax-guide .btn{border-radius:5px;box-shadow:none}
.tax-guide :is(.note,.toc){border-radius:4px;background:#f7f9fb;color:#5d6570;border-color:#b0c3d6}
.tax-guide .author{border-radius:0;border-left:0;border-right:0;padding-top:32px;padding-bottom:32px}
.tax-guide .author img{border-radius:4px}
.tax-creator .crm-hero{gap:45px}
.tax-creator .cs-hero .crm-hero-copy h1{font-size:clamp(35px,4.4vw,55px);line-height:1.4;font-weight:800;letter-spacing:-.035em}
.tax-site .cs-scene:before{display:none}
.tax-site .cs-photo{background:#fff;border-radius:6px;box-shadow:none}
.tax-site .cs-shade,.tax-site .cs-pill{display:none}
.tax-site .cs-scene-footer{color:#757b82;padding-left:0;padding-right:0}
.tax-site .cs-scene-footer button{border-color:#dce1e6;border-radius:4px;color:#626971}
.tax-site .cs-tools details{background:#fff;border:1px solid #e3e6e9;border-radius:5px;padding:19px 22px}
.tax-site .cs-tools summary{color:#31373e}
.tax-site .crm-board{background:#fff;border:1px solid #e3e6e9;border-radius:6px;box-shadow:none}
.tax-site .crm-proof{background:#fff;border:0;border-top:1px solid #e3e6e9;border-radius:0;padding:40px 0}
.tax-site .crm-proof h2{font-size:32px;line-height:1.5;font-weight:800}
.tax-site .crm-overline,.tax-site .crm-step-num{color:#69717a;font-weight:600}
.tax-site .crm-step{background:#fff;border:0;border-top:1px solid #e3e6e9;border-radius:0;padding:22px 0}
.tax-site .crm-step h3{font-size:21px;line-height:1.55;font-weight:800}
.tax-site .crm-step p{font-size:14px;color:#626971}
.tax-site .crm-board-detail,.tax-site .crm-advice{border-radius:5px;background:#f8fafb;border-color:#e3e6e9}
.tax-genres{padding:40px 0 45px;border-top:1px solid #e3e6e9}
.tax-genres h2{font-size:30px;font-weight:800;line-height:1.5;letter-spacing:-.025em;margin:0 0 28px}
.tax-genre-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px}
.tax-genre{min-width:0;padding:20px 0;border-bottom:1px solid #e3e6e9}
.tax-genre small{display:block;font-size:12px;color:#727981;margin-bottom:12px}
.tax-genre .genre-lead{font-size:16px;font-weight:500;color:#565e67;margin:0 0 5px}
.tax-genre h3{font-size:30px;font-weight:800;letter-spacing:-.025em;line-height:1.5;margin:0 0 14px;color:#141414}
.tax-genre .genre-note{font-size:13px;color:#687079;line-height:1.8;margin:0 0 12px}
.tax-genre a{font-size:13px;font-weight:700;color:#2c5f91;text-decoration:none}
.tax-calculator .wrap{max-width:700px}
.tax-calculator :is(.card,.readout,.res,.res-mini,.taxpanel,.sec,.notice,.alert,.tip-box,.warn-box,.consult-card){border-radius:6px;box-shadow:none}
.tax-calculator .card{border:1px solid #e3e6e9;background:#fff}
.tax-calculator :is(.card h2,.sec-t){font-size:22px;line-height:1.55;font-weight:800;color:#141414}
.tax-calculator input[type=text],.tax-calculator input[type=number],.tax-calculator input[type=date],.tax-calculator select,.tax-calculator textarea{border:1px solid #d6dce2;background:#fff;border-radius:5px;color:#141414;min-height:46px;font-size:16px;box-shadow:none}
.tax-calculator input:focus,.tax-calculator select:focus{border-color:#2c5f91}
.tax-calculator :is(.chip,.seg,.seg button,.btn,.primary,.tab,.tabs,.f-input){border-radius:5px;box-shadow:none}
.tax-calculator .seg{background:#f5f7f9;border:1px solid #e3e6e9}
.tax-calculator .seg button.on{background:#fff;color:#141414;box-shadow:none;border:1px solid #d5dde5}
.tax-calculator .hero{background:#fff;border:1px solid #d5e0eb;border-top:3px solid #2c5f91;border-radius:6px;box-shadow:none;padding:24px 20px}
.tax-calculator .hero .hv{font-size:42px;font-weight:800;letter-spacing:-.035em;color:#141414}
.tax-calculator .hero.warn{background:#fffafa;border-top-color:var(--red)}
.tax-calculator .hero.good{background:#fbfdfc;border-top-color:var(--green)}
.tax-calculator .hook{background:#fff;color:#141414;border:1px solid #e3e6e9;border-left:3px solid #2c5f91;border-radius:4px;box-shadow:none}
.tax-calculator .hook .hkl{color:#687079;opacity:1}
.tax-calculator .hook .hkt{font-weight:700}
.tax-calculator .hero .hb{background:transparent;padding-left:0;border-radius:0}
.tax-calculator .btnbig{border-radius:5px}
.tax-calculator .res{background:#fff;border:1px solid #d5e0eb;border-top:3px solid #2c5f91;padding:22px}
.tax-calculator .res .amt{font-size:38px;line-height:1.4;color:#141414;letter-spacing:-.03em;font-weight:800}
.tax-estate :is(.splash,.home){background:#fff;color:#141414}
.tax-estate :is(.sp-title,.sp-sub,.home-brand h1){color:#141414}
.tax-estate .sp-title{font-family:var(--sans);font-size:clamp(34px,4.2vw,52px);font-weight:800;letter-spacing:-.035em}
.tax-estate .sp-feat{background:#fff;border:1px solid #e3e6e9;color:#5d6570;border-radius:5px}
.tax-estate .hcard{background:#fff;border:1px solid #e3e6e9;box-shadow:none;border-radius:6px}
.tax-estate .hcard:hover{box-shadow:none;transform:none}
.tax-estate .feature{background:#fff;color:#141414}
.tax-estate .feature .ic{background:#f0f5fa;color:#2c5f91}
.tax-estate .topbar,.tax-hospital header{background:#fff;color:#141414;border-bottom:1px solid #e3e6e9}
.tax-estate .topconsult{border-radius:5px}
.tax-estate .readout{background:#f8fafc;color:#141414;border:1px solid #e3e6e9}
.tax-estate .briefing{border-radius:5px;background:#fff;border-color:#e3e6e9}
.tax-estate .home{max-width:1160px}
.tax-estate .home-brand h1{font-size:40px;font-weight:800;letter-spacing:-.03em}
.tax-hospital .wrap{max-width:1160px}
.tax-hospital .hero{border:0;border-top:1px solid #e3e6e9;padding:54px 0 38px}
.tax-hospital .hero h1{font-size:clamp(34px,4.3vw,52px);line-height:1.4;color:#141414;font-weight:800;letter-spacing:-.035em}
.tax-hospital .hero .badge{background:transparent;color:#687079;padding-left:0}
.tax-hospital .hero .b{color:#141414}
.tax-hospital .sec-label{font-size:28px;font-weight:800;line-height:1.5;letter-spacing:-.025em}
.tax-hospital .cta{border-radius:5px}
.tax-card{background:#fff}
.tax-sign input,.tax-sign select,.tax-sign textarea{border-radius:5px!important}
@media(max-width:680px){
 .tax-home .wrap,.tax-guide .shell{padding-left:20px;padding-right:20px}
 .tax-home .nav .wrap{min-height:100px;padding-top:10px;padding-bottom:8px}
 .tax-home .top{padding-top:38px;padding-bottom:34px}
 .tax-home .top h1{font-size:35px;letter-spacing:-.03em}
 .tax-home .top .lede,.tax-guide .lede{font-size:16px;line-height:1.8}
 .tax-home .intro h2,.tax-home .creator-focus h2{font-size:30px}
 .tax-home .cta h2,.tax-home .why h2{font-size:26px}
 .tax-home .ih h1{font-size:31px}
 .tax-guide .hero{padding-top:34px;padding-bottom:28px}
 .tax-guide h1,.tax-creator .cs-hero .crm-hero-copy h1{font-size:34px;line-height:1.4;letter-spacing:-.03em}
 .tax-guide h2,.tax-site .crm-proof h2,.tax-genres h2{font-size:25px}
 .tax-guide h3{font-size:19px}
 .tax-guide .panel{padding:22px 18px}
 .tax-site .crm-proof{padding:30px 0}
 .tax-site .crm-step h3{font-size:20px}
 .tax-genre-grid{grid-template-columns:1fr;gap:12px}
 .tax-genre h3{font-size:29px}
 .tax-genres{padding-top:30px;padding-bottom:30px}
 .tax-calculator .card h2{font-size:22px}
 .tax-calculator .hero .hv{font-size:36px}
 .tax-calculator .res .amt{font-size:33px}
 .tax-estate .home-brand h1{font-size:32px}
 .tax-hospital .hero h1{font-size:34px}
}
@media(prefers-reduced-motion:reduce){.tax-site .tool:hover,.tax-site .hcard:hover,.tax-site .biz:hover{transform:none}}
}

/*
  legacy-guides.css
  Scope: overrides ONLY for pages carrying body.tax-site.tax-editorial
  (coin/index.html, farm/index.html, seller/index.html, about.html, contact.html)
  and body.tax-site.tax-guide (upjong/*.html, start/*.html), as added by the
  parent template. Everything is wrapped in @media screen so print/PDF CSS
  (used for farm/seller guide.pdf generation etc.) is never touched.

  Approach: each legacy page already ships its own inline <style> with higher
  or equal specificity than a bare class selector, so every rule below is
  anchored to "body.tax-site.tax-editorial" / "body.tax-site.tax-guide" to
  win regardless of stylesheet order. Where the legacy page defines CSS
  custom properties (--paper, --ground, --ink, --blue, --r, ...), we
  re-declare them at the body scope so the cascade repaints every consumer
  automatically. Where a legacy page hardcodes hex colors (no custom
  properties), we override the concrete selectors directly.

  Tokens used (mirroring the parent site-theme.css mapping):
    --bg:#fff  --paper:#fff  --ground:#fff  --ink:#141414
    --accent:#2c5f91  --line:#e4e6e8
*/

@media screen {

  /* =========================================================
     0. SHARED BASE
     ========================================================= */
  body.tax-site {
    background: #fff;
  }

  /* =========================================================
     1. TAX-EDITORIAL — family A: coin / farm / seller
        (magazine template sharing .hero/.mast/.tldr/.toc/.exit-list/
        .quiz/.cl/.rc/.sig/.disc; each file defines its own :root
        palette under different variable names, so we redeclare the
        superset of names actually used across the three files)
     ========================================================= */
  body.tax-site.tax-editorial {
    /* farm / seller naming */
    --ground: #fff; --paper: #fff; --paper-2: #fff;
    --ink: #141414; --ink-2: #454545; --ink-3: #6b7280;
    --line: #e4e6e8; --line-soft: #eef0f1;
    --stamp: #2c5f91;
    /* coin naming (different var names, same intent) */
    --card: #fff; --body: #454545; --muted: #6b7280; --faint: #8a93a0;
    --rule: #e4e6e8; --rule-soft: #eef0f1;
    --accent: #2c5f91; --accent-soft: #e8f0f7;
    --pen: #2c5f91; --pen-soft: #e8f0f7;
    --hl: rgba(44,95,145,.10);
    --shadow: none;
  }

  /* kill the full-width patterned/tinted hero wash (reads as a repeating
     light-green grid over --gain-bg) and keep it a plain white rule-off */
  body.tax-site.tax-editorial .hero {
    background: #fff !important;
    border-bottom: 1px solid var(--line, #e4e6e8);
  }
  body.tax-site.tax-editorial .hero canvas { opacity: .32; }

  /* remove the highlighter/brush-stroke mark behind bold law citations
     (coin: .law .txt b background gradient using --hl) — keep bold weight */
  body.tax-site.tax-editorial .law .txt b,
  body.tax-site.tax-editorial [class*="hl"] {
    background: none !important;
  }

  /* corner radius already modest in this family (<=3px); nothing to widen,
     just make sure no inherited radius exceeds the 4-8px ceiling */
  body.tax-site.tax-editorial .mark { border-radius: 4px; }

  /* checkbox / label contrast: keep semantic green check, darken the idle
     border slightly so it reads on pure white */
  body.tax-site.tax-editorial .q input { border-color: #6b7480; background: #fff; }
  body.tax-site.tax-editorial .q input:checked { border-color: var(--stamp); background: var(--stamp); }
  body.tax-site.tax-editorial .q input:checked::after { border-color: #fff; }
  body.tax-site.tax-editorial .eyebrow,
  body.tax-site.tax-editorial .lbl,
  body.tax-site.tax-editorial .ex-kicker { color: #6b7280; }

  /* table/checklist layout (.tscroll, .td, .cl-grp, .fig-labels grid) is left
     untouched on purpose — only ink/line colors above affect them */

  /* =========================================================
     2. TAX-EDITORIAL — family B: about.html / contact.html
        (Toss-style dashboard template using --bg/--card/--t1-3/--blue/--ink)
     ========================================================= */
  body.tax-site.tax-editorial {
    --bg: #fff; --card: #fff; --card-2: #fff;
    --t1: #141414; --t2: #454545; --t3: #6b7280;
    --blue: #2c5f91; --blue-bg: #e8f0f7; --blue-dk: #1f4568;
    --green: #2c5f91; --green-bg: #e8f0f7; /* copy-success state unified to accent */
    --sh-s: 0 1px 2px rgba(20,20,20,.04);
    --sh-m: 0 1px 2px rgba(20,20,20,.04);
  }

  /* about.html's dark full-bleed hero: flip to white bg + dark ink text so
     nothing that was hard-coded #fff/#B0B8C1/#7FB3FF goes invisible */
  body.tax-site.tax-editorial .hero[class] { background: #fff !important; color: #141414 !important; border-bottom: 1px solid #e4e6e8; }
  body.tax-site.tax-editorial .hero .lb { color: #2c5f91 !important; }
  body.tax-site.tax-editorial .hero h1 { color: #141414 !important; }
  body.tax-site.tax-editorial .hero h1 em { color: #2c5f91 !important; }
  body.tax-site.tax-editorial .hero p { color: #454545 !important; }
  body.tax-site.tax-editorial .hero .b3 { background: #f2f4f6 !important; color: #141414 !important; border: 1px solid #e4e6e8; }
  body.tax-site.tax-editorial .hero .ph img { border-radius: 8px 8px 0 0 !important; }

  /* the dark CTA block (.cta{background:var(--ink)}) stays as a contained
     accent box, not a page-wide wash — only corners/shadow are capped */
  body.tax-site.tax-editorial .cta,
  body.tax-site.tax-editorial .box,
  body.tax-site.tax-editorial .tool,
  body.tax-site.tax-editorial .rows .row,
  body.tax-site.tax-editorial .row {
    border-radius: 8px !important;
    box-shadow: var(--sh-s) !important;
  }
  body.tax-site.tax-editorial .cta a,
  body.tax-site.tax-editorial .hero .btns a,
  body.tax-site.tax-editorial .copy,
  body.tax-site.tax-editorial .maps a {
    border-radius: 6px !important;
  }
  body.tax-site.tax-editorial .nav .menu a,
  body.tax-site.tax-editorial .nav .kko {
    border-radius: 6px !important;
  }
  body.tax-site.tax-editorial .tool:hover { transform: none; box-shadow: var(--sh-s) !important; }
  body.tax-site.tax-editorial .copy.done { color: var(--blue); border-color: var(--blue); }
  body.tax-site.tax-editorial .addr b,
  body.tax-site.tax-editorial .line .v b,
  body.tax-site.tax-editorial .row .v a { color: #2c5f91; }

  /* =========================================================
     3. TAX-GUIDE — family C: upjong/*.html (e.g. 음식점업.html)
        no CSS custom properties are declared in this template, so
        colors are overridden on the concrete selectors directly
     ========================================================= */
  body.tax-site.tax-guide { background: #fff; color: #191F28; }
  body.tax-site.tax-guide .nav,
  body.tax-site.tax-guide .tldr,
  body.tax-site.tax-guide .toc,
  body.tax-site.tax-guide .sec,
  body.tax-site.tax-guide .num,
  body.tax-site.tax-guide .xtool,
  body.tax-site.tax-guide .rel,
  body.tax-site.tax-guide footer {
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(20,20,20,.04) !important;
    border: 1px solid #e4e6e8;
    border-radius: 8px !important;
  }
  body.tax-site.tax-guide .item { background: #fafbfc !important; border-radius: 6px !important; }
  body.tax-site.tax-guide .tw { border-radius: 6px !important; }
  body.tax-site.tax-guide .dot { border-radius: 4px !important; }
  body.tax-site.tax-guide .rel a { border-radius: 4px !important; background: #f2f4f6 !important; }
  body.tax-site.tax-guide .toc li::before { border-radius: 4px !important; background: #e8f0f7 !important; color: #2c5f91 !important; }
  body.tax-site.tax-guide .law { border-left-color: #2c5f91 !important; border-radius: 0 4px 4px 0 !important; }

  /* remove the highlighter/brush-stroke marker behind key phrases */
  body.tax-site.tax-guide .hl {
    background: none !important;
    font-weight: 700;
    color: #141414 !important;
  }
  /* due-date callout: drop the beige wash, keep it legible via border */
  body.tax-site.tax-guide .due {
    background: #fff !important;
    border: 1px solid #e4e6e8;
    border-radius: 4px !important;
  }
  body.tax-site.tax-guide .toc a,
  body.tax-site.tax-guide .law figcaption a:hover,
  body.tax-site.tax-guide .others a,
  body.tax-site.tax-guide .xtool a,
  body.tax-site.tax-guide .rail a.on { color: #2c5f91 !important; }
  body.tax-site.tax-guide .tldr { border-left-color: #2c5f91 !important; }
  body.tax-site.tax-guide .ask { background: #e8f0f7 !important; border-radius: 6px !important; }
  body.tax-site.tax-guide .rail a.on { border-left-color: #2c5f91 !important; }

  /* label/secondary text contrast */
  body.tax-site.tax-guide .crumb,
  body.tax-site.tax-guide .item p.qq,
  body.tax-site.tax-guide .tnote,
  body.tax-site.tax-guide .asof,
  body.tax-site.tax-guide .law figcaption { color: #5b6472 !important; }

  /* table horizontal scroll (.tw) and item/checklist layout are untouched;
     only colors/radius above apply */

  /* =========================================================
     4. TAX-GUIDE — family D: start/*.html
        (this template already uses CSS custom properties, so most of the
        work is a token remap; --r drives .card/.res/.cta radius at once)
     ========================================================= */
  body.tax-site.tax-guide {
    --bg: #fff; --card: #fff; --line: #e4e6e8; --line2: #e4e6e8;
    --ink: #141414; --gray: #454545; --gray2: #6b7280; --gray3: #8a93a0;
    --blue: #2c5f91; --blue-dark: #1f4568; --blue-bg: #e8f0f7;
    --green: #2c5f91; --green-bg: #e8f0f7; /* checklist state unified to accent */
    --amber-bg: #fff; /* drop beige warn wash, border carries the signal */
    --r: 8px;
  }
  body.tax-site.tax-guide .warn { background: #fff !important; border: 1px solid #e4e6e8; }
  body.tax-site.tax-guide .side a.on { background: var(--blue) !important; }
  body.tax-site.tax-guide .topnav a.on { background: var(--blue) !important; border-color: var(--blue) !important; }
  body.tax-site.tax-guide .topnav a,
  body.tax-site.tax-guide .hints button {
    border-radius: 8px !important; /* de-pill the scroll chips */
  }
  body.tax-site.tax-guide .side a,
  body.tax-site.tax-guide .fstep .n,
  body.tax-site.tax-guide .fr .fv em,
  body.tax-site.tax-guide .btn-p,
  body.tax-site.tax-guide .btn-s,
  body.tax-site.tax-guide .popup,
  body.tax-site.tax-guide .path,
  body.tax-site.tax-guide .f-input,
  body.tax-site.tax-guide .seg button,
  body.tax-site.tax-guide .sug,
  body.tax-site.tax-guide .zn,
  body.tax-site.tax-guide .picked,
  body.tax-site.tax-guide .cta .b1,
  body.tax-site.tax-guide .cta .b2,
  body.tax-site.tax-guide .nextnav a {
    border-radius: 6px !important;
  }
  body.tax-site.tax-guide .scr,
  body.tax-site.tax-guide .shot,
  body.tax-site.tax-guide .cards a,
  body.tax-site.tax-guide .search {
    border-radius: 8px !important;
    box-shadow: none !important;
  }
  body.tax-site.tax-guide .tw { border-radius: 8px !important; }
  /* dark .cta/.ink block is a contained accent card, not a page-wide wash;
     corners already capped via --r, only soften the box-shadow usage */
  body.tax-site.tax-guide .scr-top i,
  body.tax-site.tax-guide .zn-a, body.tax-site.tax-guide .zn-b, body.tax-site.tax-guide .zn-c, body.tax-site.tax-guide .zn-d { border-radius: 50%; } /* keep genuine dots round */

  body.tax-site.tax-guide p.tx b,
  body.tax-site.tax-guide .d-row .v,
  body.tax-site.tax-guide .picked .t { color: #141414; }
  body.tax-site.tax-guide .crumb,
  body.tax-site.tax-guide .side .lb,
  body.tax-site.tax-guide .cap,
  body.tax-site.tax-guide .foot { color: #5b6472 !important; }

  /* checklist (.chk), calendar (.cal), field-row (.fr) layout/grid is left
     untouched — only token colors above repaint them */
}

@media screen {body.tax-site.tax-editorial .cta,body.tax-site.tax-guide .cta{background:#fff!important;color:#141414!important;border:1px solid #e3e6e9;box-shadow:none!important}body.tax-site .cta :is(h2,h3){color:#141414!important}body.tax-site .cta p{color:#5b6472!important}body.tax-site .cta a{color:#2c5f91}body.tax-site .cta :is(.btn,.solid,.b1){background:#2c5f91!important;color:#fff!important;border-radius:5px}body.tax-site .cta :is(.btn.secondary,.btn-s,.b2){background:#fff!important;color:#141414!important;border:1px solid #d7dde3}body.tax-site .cta .btn-k{background:#fee500!important;color:#3c1e1e!important}}

@media screen {body.tax-site.tax-estate{--sub:#5f6670}body.tax-site.tax-home .calcbar span{color:#626971}body.tax-site.tax-home .nav .menu a.newbiz{background:#fff!important;color:#505761!important;border:0;box-shadow:none!important;animation:none!important;transform:none!important}body.tax-site.tax-home .nav .menu a.newbiz .dot{background:#737980;box-shadow:none;animation:none}body.tax-site.tax-home .intro-panel{border-radius:6px;box-shadow:none}body.tax-site.tax-home .intro-photo{border-radius:5px}}

@media screen {body.tax-site.tax-editorial *{font-family:inherit!important}body.tax-site.tax-guide .topnav{border-radius:0!important;box-shadow:none!important;border-top:0!important;border-left:0!important;border-right:0!important;border-bottom:1px solid #e3e6e9!important}}

@media screen {body.tax-site.tax-editorial > .hero:has(> canvas#fields){display:none!important}body.tax-site.tax-editorial:has(> .hero > canvas#fields) .mast{margin-top:0!important;padding-top:50px!important}}
