/* site-wide/00-core.css */
/* Site-wide design layer · core (owner, 15 Nov 2026: "home page etc sab pe entire website pe karo").
   The look approved on the gold service pages, carried to every other public page:
     1. full width with one side gutter (header, page, footer)
     2. white + neutral light grey canvas (owner liked neither the warm/gold nor the sky-blue one)
     3. motion: scroll reveals, word-mask headings, smooth scroll — partials/site-design.blade.php
   Loaded only when App\Support\GoldDesign::isCompact(); html carries class "tc-wide".
   Family-specific fixes live next to this file (one file per page family), loaded in name order.
   NO shadows (no-shadow.css, 6 Sep 2026). Headings, text, links and order are not touched here. */

html.tc-wide{--tc-gut:16px;--tc-n0:#fff;--tc-n1:#F6F7F9;--tc-n2:#EEF0F3;--tc-nline:#E4E7EC}
/* 26 Nov 2026 (owner: "width thodi kam karo, jyada full hai", then "thodi, itni nahi"): the side gutter grows a touch
   (4.5vw) and the content never gets wider than 1600px on big screens (was full: ~1766px at 1920); header, page and
   footer all follow --tc-gut, gold pages through --gs-pad. */
@media (min-width:900px){
  html.tc-wide{--tc-gut:max(clamp(40px,4.5vw,96px),calc((100vw - 1600px) / 2))}
  html.tc-wide .gs.gs-compact{--gs-pad:var(--tc-gut)}
}

/* 1 · full width. Every page family caps its content with its own wrapper class (measured in a browser at
   1920px: 1160–1520px). Narrow, deliberately centred columns (.au-c-nar, .srch-wrap, .nf-wrap) are left alone. */
html.tc-wide .tc-hdr .tc-hdr-inner,html.tc-wide .tcf .tcf-wrap{max-width:none}
@media (min-width:900px){
  html.tc-wide .tc-hdr .tc-hdr-inner,html.tc-wide .tcf .tcf-wrap{padding-left:var(--tc-gut);padding-right:var(--tc-gut)}
  html.tc-wide main :is(.container,.hx-wrap,.au-c,.nx-credbar-in,.nx-ctaband-in,.qa-c,.apf-wrap,.sol-in,.svx-c,.tbw,
    .tbx-catnav-wrap,.cxv-top-in,.cxv-body,.cxv-band-in,.gl-w,.tv-top-in,.tv-jump-in,.tvx-in,.tv-crumb-in,.sbz-in,.rc-wrap,
    .rhub-hero-in,.rhub-wrap,.rsc-crumb-in,.rsc-hero-in,.rsc-wrap,.dlp-layout,.sm-page,.cbs-wrap){
    max-width:none;padding-left:var(--tc-gut);padding-right:var(--tc-gut)}
  /* a wrapper inside a wrapper must not get the gutter twice */
  html.tc-wide main :is(.container,.au-c,.rc-wrap,.cxv-band-in,.sbz-in) :is(.container,.au-c,.rc-wrap,.cxv-band-in,.sbz-in){
    padding-left:0;padding-right:0}
  /* .gs-* pages that are not gold service pages (compare, downloads, seo guides) use the same variables */
  html.tc-wide .gs:not(.gs-compact){--gs-max:100vw;--gs-pad:var(--tc-gut)}
}

/* 2 · canvas */
html.tc-wide[data-theme="light"] body{background:var(--tc-n0)}
html.tc-wide[data-theme="light"] .bg-canvas{background:linear-gradient(180deg,var(--tc-n0) 0%,var(--tc-n1) 100%)}
html.tc-wide .bg-grid,html.tc-wide .orb{display:none}
/* the footer's warm cream band follows the canvas (same rule the gold pages use in gs-magic.css) */
html.tc-wide footer.tcf{background:var(--tc-n1)!important;background-image:none!important}

/* 3 · motion (data attributes are set by the script; without it nothing is hidden).
   data-sw="rv" waiting → "in" shown; data-sw-lift = hover-lift card. Attributes, not classes, so legacy
   [class*="-card"] / [class$="…"] selectors are never touched. */
html.tc-wide [data-sw]{opacity:0;translate:0 22px;transition:opacity .7s cubic-bezier(.2,.7,.2,1),translate .7s cubic-bezier(.2,.7,.2,1)}
html.tc-wide [data-sw="in"]{opacity:1;translate:none}
html.tc-wide .mw{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em;margin-bottom:-.08em}
html.tc-wide .mw__in{display:inline-block;transform:translateY(105%);transition:transform .8s cubic-bezier(.2,.75,.2,1);transition-delay:calc(var(--wi,0)*32ms)}
html.tc-wide .is-split-play .mw__in{transform:none}
html.tc-wide [data-sw-lift]{transition:translate .35s cubic-bezier(.2,.7,.2,1),border-color .35s}
@media (hover:hover){html.tc-wide [data-sw-lift]:hover{translate:0 -3px;border-color:#C9CFD8}}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
@media (prefers-reduced-motion:reduce){
  html.tc-wide [data-sw]{opacity:1;translate:none;transition:none}
  html.tc-wide .mw__in{transform:none;transition:none}
  html.tc-wide [data-sw-lift]{transition:none}
}
@media print{html.tc-wide [data-sw]{opacity:1!important;translate:none!important}html.tc-wide .mw__in{transform:none!important}}

/* 27 Nov 2026 · narrow phones: logo + 4 header buttons (44px tap targets) were wider than a 360px screen, so the
   menu button was half off-screen. Below 380px the logo scales down and the gaps tighten; buttons keep 44px. */
@media (max-width:380px){
  html.tc-wide .tc-hdr .tc-hdr-inner{padding-left:12px;padding-right:12px}
  html.tc-wide .tc-hdr .tc-actions{gap:3px}
  html.tc-wide .tc-hdr .tc-logo{flex-shrink:1;min-width:0;margin-right:6px}
  html.tc-wide .tc-hdr .tc-logo img{height:26px}
}
@media (max-width:340px){
  html.tc-wide .tc-hdr .tc-hdr-inner{padding-left:10px;padding-right:10px}
  html.tc-wide .tc-hdr .tc-actions{gap:2px}
  html.tc-wide .tc-hdr .tc-logo img{height:21px}
}

/* site-wide/10-home.css */
/* Site-wide design layer · HOME PAGE ( / ) only.
   This file is inlined on every public page, so every rule hangs off the home hero (section.hx) and the
   sections that follow it (`.hx ~ section`); nothing here can match another page.
   The home page keeps its own motion (.reveal, GSAP, the hero) — the generic script only adds smooth scroll
   here (its reveals and heading split stand down next to .reveal). Text, links, order: untouched. NO shadows. */

/* ── 1 · canvas: white + neutral grey bands (was ivory / champagne with dotted "starfield" rails) ── */
html.tc-wide .hx ~ section{--hg-band-a:var(--tc-n0);--hg-band-b:var(--tc-n1);--hg-astro:none}
html.tc-wide .hx ~ :is(#india,#about,#partners,#blog){--band:var(--tc-n0);background-color:var(--tc-n0)!important;background-image:none!important}
html.tc-wide .hx ~ :is(#services.hr-warm,#sectors,#featured-clients,#faq){--band:var(--tc-n1);background-color:var(--tc-n1)!important;background-image:none!important}
/* the gold seam on top of each band becomes a plain hairline */
html.tc-wide .hx ~ section:not(.nx-navy)::before{background:var(--tc-nline)!important}
html.tc-wide .hx ~ #partners .q-ptnr-outer::before,html.tc-wide .hx ~ #featured-clients .q-clients-outer::before{background:linear-gradient(to right,var(--band),transparent)!important}
html.tc-wide .hx ~ #partners .q-ptnr-outer::after,html.tc-wide .hx ~ #featured-clients .q-clients-outer::after{background:linear-gradient(to left,var(--band),transparent)!important}
html.tc-wide .hx ~ #partners .ptnr-cta-outline{border-color:#CDD3DC!important}
html.tc-wide .hx ~ #blog .nx-blog-feat{background:linear-gradient(180deg,var(--tc-n0) 0%,var(--tc-n0) 55%,var(--tc-n1) 100%)}

/* hero: white, its coloured glow kept but calmer; the paper behind the Compliance Desk and its hairlines go neutral */
html.tc-wide .hx{background:var(--tc-n0)}
html.tc-wide .hx .hx-bg{opacity:.5}
html.tc-wide .hx .hx-desk-ghost{background:var(--tc-n2);border-color:var(--tc-nline)}
html.tc-wide .hx :is(.hx-desk,.hx-row.is-next,.hx-desk-ft,.hx-cred,.hx-proof){border-color:var(--tc-nline)}
html.tc-wide .hx .hx-row.is-next,html.tc-wide .hx .hx-desk-ft{background:var(--tc-n1)}
html.tc-wide .hx .hx-live-sep{background:var(--tc-nline)}
html.tc-wide .hx .hx-ring .hx-ring-bg{stroke:var(--tc-n2)}

/* ── 2 · rhythm: one section padding, tighter than the 72–90px each band had ── */
@media (min-width:900px){
  html.tc-wide .hx{--hp:clamp(46px,3.6vw,68px);padding-top:clamp(36px,2.8vw,52px);padding-bottom:clamp(36px,2.8vw,52px)}
  html.tc-wide .hx ~ section{--hp:clamp(46px,3.6vw,68px)}
  html.tc-wide .hx ~ section:not(#featured-clients){padding-top:var(--hp)!important;padding-bottom:var(--hp)!important}
  html.tc-wide .hx ~ #featured-clients{padding-top:40px!important;padding-bottom:40px!important}
  html.tc-wide .hx ~ section .sec-header{margin-bottom:32px}
  html.tc-wide .hx ~ #why .nx-ben{margin-bottom:40px}
  html.tc-wide .hx ~ #about .nx-how{margin-top:44px;padding-top:36px}
}

/* "Also" row under the key services: an entry whose page is switched off is a <span class="tc-off-link">, which
   had no style and sat in the chip row as loose 16px text — give it the chip shape (no hover: it is not a link) */
html.tc-wide .hx ~ #services .nx-also .tc-off-link{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:600;color:#0A132B;background:var(--tc-n0);border:1px solid #D3DAE3}

/* the home cards (.nx-key-card, .in-card, .nx-need, .q-client-item) already lift 3px with a red hairline:
   the generic [data-sw-lift] lift would double it and replace their eased transition */
html.tc-wide .hx ~ section [data-sw-lift]{transition:transform .25s ease,border-color .25s ease,background-color .25s ease}
@media (hover:hover){html.tc-wide .hx ~ section [data-sw-lift]:hover{translate:none;border-color:rgba(227,25,55,.28)}}

/* ── 3 · wide screens: use the width, keep text at a readable measure ── */
html.tc-wide .hx ~ #about .nx-way-p{max-width:68ch}
/* blog: the featured card is as tall as the list beside it — label at the top, link at the bottom, title and
   excerpt centred between them, instead of everything pushed down under an empty half */
@media (min-width:1025px){
  html.tc-wide .hx ~ #blog .nx-blog-feat{justify-content:flex-start}
  html.tc-wide .hx ~ #blog .nx-blog-feat .nx-blog-tag{margin-bottom:auto}
  html.tc-wide .hx ~ #blog .nx-blog-feat .nx-blog-more{margin-top:auto}
}
@media (min-width:1600px){
  html.tc-wide .hx .hx-h1{font-size:clamp(66px,3.9vw,84px)}
  html.tc-wide .hx ~ #faq .nx-faq-main .faq{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* 26 Nov 2026 (PageSpeed mobile LCP 4.2 s): the hero headline IS the largest paint, and its 0.8 s fade-in made Google
   count it only when the fade ended. The headline now paints at once; the other hero pieces keep their entrance. */
html.tc-wide .hx .hx-h1.hx-in{animation:none!important;opacity:1!important;transform:none!important}

/* 27 Nov 2026 · phone fixes (owner-approved mobile draft): hours badge on one line, small section tags on one line.
   Phone width only (tablet + desktop unchanged). :where() keeps the home-only scope at zero weight, so these rules
   weigh exactly what the approved draft weighed (.hx-live / .sec-tag) and cannot reach .sec-tag on other pages. */
@media (max-width:640px){
  :where(html.tc-wide .hx) .hx-live{flex-wrap:nowrap;white-space:nowrap;font-size:12px;gap:7px!important;padding-left:12px!important;padding-right:12px!important;max-width:100%}
  :where(html.tc-wide .hx) .hx-live small{font-size:10.5px;white-space:nowrap}
  :where(html.tc-wide .hx ~ section) .sec-tag{letter-spacing:.1em!important;font-size:10.5px!important}
}
/* 27 Nov 2026 · narrow phones (360px and below) clipped the badge's end ("fully onli"): the hours stay on line 1
   (never splitting "10:00 AM"), "CA/CS managed · fully online" moves to line 2 under the text. */
@media (max-width:380px){
  /* the search box's min-content made the hero copy wider than a 320px screen (text cut at the right) */
  :where(html.tc-wide .hx) .hx-grid>*{min-width:0}
  :where(html.tc-wide .hx) .hx-live{flex-wrap:wrap;row-gap:2px;border-radius:14px}
  :where(html.tc-wide .hx) .hx-live [data-hours-label]{white-space:nowrap}
  :where(html.tc-wide .hx) .hx-live-sep{display:none}
  :where(html.tc-wide .hx) .hx-live small{flex-basis:100%;padding-left:15px;white-space:normal}
}

/* site-wide/20-inner.css */
/* Site-wide design layer · inner / trust / hub pages (about, contact, reviews, faq, glossary, certifications,
   clients, careers, partners, press, stories, case studies, legal, author, solutions, start-a-business,
   assessments, services hub, sitemap, search, 404, city business-setup). Loaded after 00-core.css; every rule
   is html.tc-wide. Design only: neutral canvas, the full width used well, tighter rhythm. NO shadows. */

/* ── 1 · canvas: every family keeps its own token names, so the tokens are re-pointed, not the rules ── */
/* "au-" pages — au-home.css `body .au` paints warm ivory bands; inline copies use a cool blue-grey */
html.tc-wide body .au{--paper:#fff;--warm:var(--tc-n0);--ivory:var(--tc-n1);--soft:var(--tc-n1);
  --line:var(--tc-nline);--line-2:#D8DDE5;background:var(--tc-n0)}
html.tc-wide body .au .au-hero{background:linear-gradient(180deg,var(--tc-n1) 0%,var(--tc-n0) 100%)}
html.tc-wide body .au > section:not(.au-navy):not(.au-hero):not(.au-hero-navy) + section:not(.au-navy),
html.tc-wide body .au > section + section.au-sec:not(.au-navy){border-top-color:var(--tc-nline)}
html.tc-wide body .au .ctx-summary{background:var(--tc-n1)}
html.tc-wide .nx-credbar{background:var(--tc-n0);border-color:var(--tc-nline)}
/* faq, search, 404, sitemap (cool blue-grey tokens) */
html.tc-wide :is(.qa,.srch,.nf,.smap){--ivory:var(--tc-n1);--warm:var(--tc-n1);--soft:var(--tc-n2);
  --line:var(--tc-nline);--line-2:#D8DDE5}
/* solutions hub, persona pages, start-a-business / coming-soon, author (warm ivory tokens) */
html.tc-wide :is(.pf-page,.sbz,.sol,.apf){--ivory:var(--tc-n0);--warm:var(--tc-n1);--line:var(--tc-nline);--line-2:#D8DDE5}
html.tc-wide :is(.pf-hero,.sbz-top,.sol-top){background:linear-gradient(180deg,var(--tc-n1) 0%,var(--tc-n0) 100%)}
html.tc-wide .apf-main h2{color:var(--ink)}
/* legal pages (legal.css): white page, grey nested blocks */
html.tc-wide body .au:has(.lp-page){--ivory:var(--tc-n0);--warm:var(--tc-n1)}
html.tc-wide .lp-hero{background:linear-gradient(180deg,var(--tc-n1) 0%,var(--tc-n0) 100%)}
/* services hub */
html.tc-wide .au .svx{--gold-soft:var(--tc-n1);--band:var(--tc-n0)}
html.tc-wide .au .svx-band{border-color:var(--tc-nline)}
html.tc-wide .au .svx-pop{border-color:var(--tc-nline)}
/* city business-setup guide */
html.tc-wide .cbs{--bg:var(--tc-n1);--line:var(--tc-nline)}
html.tc-wide .cbs-tips{background:var(--tc-n0);border-color:var(--tc-nline)}
/* its navy hero title and navy lead card were unreadable (global heading colour / theme-light card repaint) */
html.tc-wide .cbs-hero h1{color:#fff}
html.tc-wide[data-theme="light"] main .cbs .cbs-leadcard{background:linear-gradient(160deg,#0A132B,#132146)!important;border-color:transparent!important}

/* ── 2 · width + rhythm (desktop) ── */
@media (min-width:900px){
  html.tc-wide body .au .au-sec{padding-top:clamp(52px,3.9vw,76px);padding-bottom:clamp(52px,3.9vw,76px)}
  html.tc-wide body .au .au-hero{padding-top:clamp(40px,3vw,58px);padding-bottom:clamp(48px,3.6vw,68px)}
  html.tc-wide .pf-sec{padding-top:clamp(52px,3.6vw,68px);padding-bottom:clamp(52px,3.6vw,68px)}
  html.tc-wide .sbz-sec{padding-top:clamp(48px,3.2vw,60px);padding-bottom:clamp(48px,3.2vw,60px)}
  html.tc-wide :is(.nx-ctaband,.pf-cta){padding-top:clamp(48px,3.2vw,60px);padding-bottom:clamp(48px,3.2vw,60px)}
  html.tc-wide .qa-body{padding-top:40px;padding-bottom:64px}
  html.tc-wide .au-body{padding-top:40px;padding-bottom:64px}

  /* long copy keeps a readable measure inside the full-width layout */
  html.tc-wide .au .au-split .au-p{max-width:80ch}
  html.tc-wide .au .cs-block-full > p{max-width:110ch}
  html.tc-wide .pf-table-note{max-width:120ch}

  /* services hub: the sticky filter row follows the page gutter */
  html.tc-wide .au .svx-chips{max-width:none;padding-left:var(--tc-gut);padding-right:var(--tc-gut)}

  /* legal: hero, contents and text share the page gutter */
  html.tc-wide .lp-hero .container > .lp-hero-inner,html.tc-wide .lp-hero-inner,html.tc-wide .lp-layout{max-width:none}
  html.tc-wide .lp-layout{padding-top:40px;padding-bottom:64px}
}

/* ── 3 · wide screens: more columns instead of longer lines ── */
@media (min-width:1280px){
  /* legal: contents | text (readable measure) | related documents as a sticky side rail */
  html.tc-wide .lp-content{display:grid;grid-template-columns:minmax(0,880px) minmax(280px,1fr);column-gap:clamp(40px,4vw,72px);align-content:start}
  html.tc-wide .lp-content > *{grid-column:1;max-width:none}
  html.tc-wide .lp-content > .lp-related{grid-column:2;grid-row:1/span 80;align-self:start;position:sticky;top:104px;margin-top:0}
  /* faq-style lists in two columns */
  html.tc-wide .sbz-faq{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  html.tc-wide .sbz-posts{max-width:none!important;columns:2;column-gap:28px}
  html.tc-wide .sbz-posts > li{break-inside:avoid}
  /* city business-setup guide: wider rail, licences in columns, copy at a readable measure, faq in two columns */
  html.tc-wide .cbs-grid{grid-template-columns:minmax(0,1fr) clamp(320px,22vw,400px);gap:clamp(40px,3.4vw,64px)}
  html.tc-wide .cbs-main > p,html.tc-wide .cbs-main > ul{max-width:92ch}
  html.tc-wide .cbs-lic{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
  html.tc-wide .cbs-faq > .cbs-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-items:start}
  html.tc-wide .cbs-faq > .cbs-wrap > :not(details){grid-column:1/-1}
  html.tc-wide .au .au-trust-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 48px}
}
@media (min-width:1500px){
  html.tc-wide .qa-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;align-items:start}
  html.tc-wide .apf-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;align-items:stretch}
  html.tc-wide .cbs-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px}
}
@media (min-width:1600px){
  html.tc-wide .lp-section p,html.tc-wide .lp-section ul li,html.tc-wide .lp-section ol li{font-size:16px}
  html.tc-wide .au .au-cert-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  html.tc-wide .au .pr-facts{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
  /* sector checklist: mandatory | if it applies | recommended side by side instead of three short rows */
  html.tc-wide .sbz-in:has(> .sbz-grp){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;align-items:start}
  html.tc-wide .sbz-in:has(> .sbz-grp) > :not(.sbz-grp){grid-column:1/-1}
  html.tc-wide .sbz-in:has(> .sbz-grp) > .sbz-grp{margin-bottom:0}
  html.tc-wide .sbz-in:has(> .sbz-grp) .sbz-cards{grid-template-columns:minmax(0,1fr)}
}

/* site-wide/30-content.css */
/* Site-wide design layer · content family: blog (index, category, tag, article), guides (hub + guide),
   data pages (HSN, rate charts, trademark / design classes), seo guides, compare pages.
   Reading pages: the extra width goes to the side rails, the tables and the grids — never to the line length.
   Every rule is prefixed html.tc-wide; ?design=classic switches the whole layer off. NO shadows. */

/* ── 1 · canvas: the warm / ivory / champagne tokens of each renderer become the neutral ones ── */
html.tc-wide .cxv{--ivory:var(--tc-n1);--warm:var(--tc-n2);--champ:var(--tc-n2);--line:var(--tc-nline);--line-2:#D5DAE1}
html.tc-wide .tbx{--paper:var(--tc-n0);--cream:var(--tc-n0);--surface-2:var(--tc-n1);--sand:var(--tc-n2);--line:var(--tc-nline)}
html.tc-wide .tcx{--cream:var(--tc-n0);--paper2:var(--tc-n1);--line:var(--tc-nline)}
html.tc-wide .ttx{--paper:var(--tc-n0);--surface-2:var(--tc-n1);--line:var(--tc-nline)}
html.tc-wide .au.gl{--warm:var(--tc-n1);--ivory:var(--tc-n1);--line:var(--tc-nline);--line-2:#D5DAE1;background:var(--tc-n0)}
html.tc-wide .cxv-top{background:linear-gradient(180deg,var(--tc-n0),var(--tc-n1))}
html.tc-wide .cxv-verdict{background:var(--tc-n1)}
html.tc-wide .cxv .cxv-tbl tbody tr:hover td,html.tc-wide .bav .bav-tbl tbody tr:hover td{background:var(--tc-n1)!important}
html.tc-wide .cxv .cx-disc{background:var(--tc-n1);border-color:var(--tc-nline)}

/* ── 2 · article / guide / data renderer (.cxv) ── */
/* 2a · body: contents rail | article | side rail fill the row; the rails grow with the screen */
@media (min-width:1280px){
  html.tc-wide .cxv-body{grid-template-columns:clamp(220px,15vw,300px) minmax(0,1fr);justify-content:stretch;
    gap:clamp(36px,3.2vw,64px);padding-top:44px;padding-bottom:56px}
  html.tc-wide .cxv-body:has(>.cxv-side){grid-template-columns:clamp(220px,15vw,300px) minmax(0,1fr) clamp(300px,19vw,380px)}
}
@media (min-width:1280px) and (max-width:1439px){
  html.tc-wide .cxv-body:has(>.cxv-side){grid-template-columns:200px minmax(0,1fr) 270px;gap:32px}
}
/* 2b · readable measure: prose keeps ~80 characters; tables, figures, cards and banners use the whole column */
html.tc-wide .cxv-article :is(.cxv-sec,.bav-content)>:is(p,ul,ol,blockquote,h3,h4):not(.cx-disc){max-width:44em}
html.tc-wide .cxv-article .cxv-verdict p{max-width:40em}
/* 2c · hero: type and the glance panel scale with the screen */
@media (min-width:1500px){
  html.tc-wide .cxv-top-in{grid-template-columns:minmax(0,1fr) clamp(440px,29vw,580px);padding-top:24px;padding-bottom:40px}
  html.tc-wide .cxv-top h1{font-size:clamp(58px,3.5vw,72px)}
  html.tc-wide .bav .cxv-top h1.is-long{font-size:clamp(46px,2.7vw,56px);max-width:30ch}
  html.tc-wide .cxv-sub{max-width:68ch}
}
/* 2d · bands: tighter, and the question list in two columns on wide screens */
html.tc-wide .cxv-band{padding:56px 0}
@media (min-width:1500px){
  html.tc-wide .cxv-faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px 14px}
}
@media (max-width:768px){html.tc-wide .cxv-band{padding:44px 0}}

/* ── 3 · blog index (.tbx), category (.tcx), tag (.ttx) ── */
html.tc-wide .tbx-hero,html.tc-wide .tcx-hero,html.tc-wide .ttx-hero{background:linear-gradient(180deg,var(--tc-n0),var(--tc-n1))}
html.tc-wide .tbx-catnav{background:rgba(255,255,255,.92)}
@media (min-width:900px){
  html.tc-wide main :is(.tcw,.ttx-wrap,.tcx-topics-in){max-width:none;padding-left:var(--tc-gut);padding-right:var(--tc-gut)}
  html.tc-wide .tbx-hero{padding:44px 0 40px}
  html.tc-wide .tbx-sec,html.tc-wide .tcx-sec{padding:46px 0}
}
@media (min-width:1500px){
  html.tc-wide .bh-dir{grid-template-columns:repeat(6,minmax(0,1fr))}
  html.tc-wide .bh-arch{grid-template-columns:repeat(12,minmax(0,1fr))}
  html.tc-wide .tbx-guides{grid-template-columns:repeat(4,minmax(0,1fr))}
  html.tc-wide .tbx-trust2{grid-template-columns:minmax(0,.7fr) minmax(0,2fr);align-items:center;gap:56px}
  html.tc-wide .tcx-mr-wrap{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.tc-wide .ttx-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ── 4 · guide hub (.au.gl): whole rows only — 6 across shows 12 cards, 4 across shows 8 ── */
@media (min-width:1200px){
  html.tc-wide .au .gl-sec .gl-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:1500px){
  html.tc-wide .au .gl-sec .gl-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  html.tc-wide.js .au .gl-sec.gl-col .gl-grid>.gl-item:nth-child(-n+12){display:flex}
  html.tc-wide .au .gl-hero h1{font-size:clamp(60px,3.6vw,74px)}
}

/* ── 5 · seo guides (.gs without .gs-compact): text column + a side column for FAQ / help / related ── */
html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.s234-wrap,.stk-wrap){max-width:none}
@media (min-width:900px){
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.s234-wrap,.stk-wrap){padding-left:var(--tc-gut);padding-right:var(--tc-gut)}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap):has(>[class*="-faq"])>:is([class*="-content"],[class*="-section"])>:is(p,ul,ol){max-width:46em}
}
@media (min-width:1280px){
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap):has(>[class*="-faq"]){display:grid;
    grid-template-columns:minmax(0,1fr) clamp(400px,34vw,640px);grid-template-rows:auto auto auto auto 1fr;
    column-gap:clamp(40px,3.4vw,72px);align-items:start}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap):has(>[class*="-faq"])>*{grid-column:1;min-width:0}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap):has(>[class*="-faq"])>nav{grid-column:1/-1;grid-row:1}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap)>:is([class*="-content"],[class*="-section"]){grid-row:2/span 4}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap)>[class*="-faq"]{grid-column:2;grid-row:2;margin-top:0}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap)>[class*="-cta"]{grid-column:2;grid-row:3}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap)>[class*="-related"]{grid-column:2;grid-row:4}
  /* two-section page (section 234): the calculator takes the full row, the explanation sits beside the FAQ */
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.s234-wrap{grid-template-rows:auto auto auto auto auto 1fr}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.s234-wrap>.s234-section:first-of-type{grid-column:1/-1;grid-row:2}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.s234-wrap>.s234-section+.s234-section{grid-row:3/span 4}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.s234-wrap>.s234-faq{grid-row:3}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.s234-wrap>.s234-cta{grid-row:4}
  html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.s234-wrap>.s234-related{grid-row:5}
}

/* ── 6 · compare pages (.cmp-*) ── */
html.tc-wide .cmp-body{background:var(--tc-n1)}
html.tc-wide .cmp-table tbody tr:nth-child(odd){background:var(--tc-n1)}
html.tc-wide .cmp-rec-card.cyan{background:var(--tc-n0)}
@media (min-width:900px){
  html.tc-wide .cmp-body{padding:44px 0}
  html.tc-wide .cmp-body-inner{max-width:none}
  html.tc-wide .cmp-calc-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
}
@media (min-width:1280px){
  /* pros beside cons inside each card; the "choose … if" points in two columns */
  html.tc-wide .cmp-pc-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto 1fr;
    grid-auto-flow:column;column-gap:28px}
  html.tc-wide .cmp-pc-card>.cmp-pc-title{grid-column:1/-1;grid-row:1}
  html.tc-wide .cmp-rec-list{display:block;columns:2;column-gap:28px}
  html.tc-wide .cmp-rec-list li{break-inside:avoid;margin-bottom:7px}
}

/* ── 7 · seo guide canvas: the .gs root paints a blue-grey gradient; neutral here ── */
html.tc-wide .gs:not(.gs-compact):not(.tv-on):has(>:is(.container,.s234-wrap,.stk-wrap)>[class*="-faq"]){background:linear-gradient(180deg,var(--tc-n0),var(--tc-n1))}
html.tc-wide .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap):has(>[class*="-faq"]) :is([class*="-callout"].green,[class*="-legacy"]){background:var(--tc-n1)}

/* the hero's bold words: gold-service.css sets .gs strong to ink — navy on the navy hero, unreadable (classic too) */
html.tc-wide .gs:not(.gs-compact):not(.tv-on)>.gs-calc-hero p :is(strong,b){color:#fff}

/* ── 8 · theme-light.css repaints every [class*="-card"] white with a 1px var(--navy-line) border (#E7E1D6, warm).
   The page families here get a neutral line through that same variable (their own *-card classes included).
   (The motion layer marks lifted cards with data-sw-lift, so it no longer trips that selector.) ── */
html.tc-wide[data-theme="light"] main :is(.cxv,.tbx,.tcx,.ttx,.au.gl,.cmp-body),
html.tc-wide[data-theme="light"] .gs:not(.gs-compact):not(.tv-on)>:is(.container,.s234-wrap,.stk-wrap):has(>[class*="-faq"]){--navy-line:var(--tc-nline)}

/* a heading that carries id="faq" / "how" / "services" …: quantum.css + theme-light.css paint those ids as page bands (ivory) — a patch behind the heading */
html.tc-wide[data-theme] .cxv h2[id]{background:none!important}

/* a calculator embedded in a guide's middle column (.cx-tool, e.g. /income-tax-calculator): its own grid is
   "form | 400px result"; between the two side rails (about 1100–1700px wide screens) the column is ~550px and
   the form was squeezed to ~120px. When the tool's own width is under 780px: form first, result below it. */
html.tc-wide .cxv .cx-tool{container-type:inline-size}
@container (max-width:780px){
  html.tc-wide .cxv .cx-tool [class$="-grid"]:has(>[class*="verdict"],>[class*="result"]){grid-template-columns:minmax(0,1fr)!important}
}
/* site-wide/40-tools.css */
/* Site-wide design layer · tools and calculators: /tools/{slug} (Tools v2 shell .tv-* / .tvx-*), /free-tools, /calculators.
   The shell in tools-v2.css is driven by two variables: --tw (content cap, 1360px) and --tg (side gutter).
   Here the cap is lifted and the gutter becomes the site gutter, so crumb, hero, jump bar, work area and the
   chapters below all start on the header's line. Warm ivory/champagne surfaces become the neutral tokens.
   NO shadows. No text, link or order is touched. */

/* 1 · neutral canvas (all widths): the shell's warm variables → neutral tokens */
html.tc-wide :is(.gs.tv-on,.tv-crumb,.tvx){--ivory:var(--tc-n1);--warm:var(--tc-n2);--champ:var(--tc-n2);--tline:var(--tc-nline);--tline-2:#D5DAE1}
html.tc-wide .gs.tv-on .tv-top{background:var(--tc-n1)}
html.tc-wide .gs.tv-on .tv-chap::before{background:var(--tc-n1)}
html.tc-wide .gs.tv-on .tv-content>.tv-chap:nth-of-type(even)::before{background:var(--tc-n0)}
html.tc-wide .gs.tv-on .tv-steps>.tv-step::before{border-color:var(--tc-n1)}
html.tc-wide .gs.tv-on .tv-content>.tv-chap:nth-of-type(even) .tv-steps>.tv-step::before{border-color:var(--tc-n0)}
html.tc-wide .tvx .is-faq{background:var(--tc-n1)}
html.tc-wide .tvx .is-rel{background:var(--tc-n0)}

/* 2 · the "Disclaimer:" note. theme-light.css styles the ~250 per-tool notes with .gs p[class$="-disc"] as a
   centred mono line; here they become a neutral note box on the page's left line (selector also tolerates extra classes). */
html.tc-wide[data-theme="light"] p:is(.tinfo-disc,.ch-disc),
html.tc-wide[data-theme="light"] .gs p:is([class$="-disc"],[class*="-disc "]){
  position:relative;box-sizing:border-box;display:block;max-width:none;margin:28px 0 10px;padding:15px 20px 15px 54px;
  background:var(--tc-n1);border:1px solid var(--tc-nline);border-radius:14px;
  font-family:var(--sans,'DM Sans',system-ui,sans-serif);font-size:12.5px;line-height:1.65;letter-spacing:0;text-align:left;color:#5C6A80}
html.tc-wide[data-theme="light"] .gs p[class*="-disc "]::before{
  content:"i";position:absolute;left:18px;top:14px;width:22px;height:22px;box-sizing:border-box;border-radius:50%;background:#fff;
  font:italic 600 13px/19px 'Fraunces',Georgia,serif;text-align:center}
html.tc-wide[data-theme="light"] p:is(.tinfo-disc,.ch-disc)::before,
html.tc-wide[data-theme="light"] .gs p:is([class$="-disc"],[class*="-disc "])::before{border:1.5px solid #C9CFD8;color:#4E5B72}
html.tc-wide[data-theme="light"] .gs p[class*="-disc "] strong{color:#0A132B;font-weight:600}
html.tc-wide[data-theme="light"] .gs p[class*="-disc "] a{color:#C11430;text-decoration:underline;text-underline-offset:2px}
html.tc-wide[data-theme="light"] .tvx p.tinfo-disc{margin:28px var(--tc-gut) 36px}

/* 3 · the result panel and working parts of a calculator never lift on hover (a sticky panel must stay put) */
html.tc-wide .gs.tv-on :is(.tv-verdict,.tv-card,.tv-bd,.tv-lead-box,.tv-gl-tile)[data-sw-lift],
html.tc-wide .gs.tv-on :is(.tv-verdict,.tv-card,.tv-bd,.tv-lead-box,.tv-gl-tile)[data-sw-lift]:hover{translate:none}

/* the working parts never wait for a scroll reveal: form, result panel, breakdown (on phones they sit below the fold
   and the script would fade them in; a result must be there the moment it is computed) */
html.tc-wide .gs.tv-on :is(.tv-grid,.tv-card,.tv-verdict,.tv-bd,.lc)[data-sw]{opacity:1;translate:none;transition:none}

/* tablets and phones: tools-v2.css gives calculator grids "form | 420px result" with :has(>.tv-verdict) (0,4,0); its
   own one-column rule for <=1024px is (0,3,0) and loses, so the form was squeezed to nothing beside the result panel.
   One column again (form, then result). */
@media (max-width:1024px){
  html.tc-wide .gs.tv-on .tv-grid:has(>.tv-verdict){grid-template-columns:minmax(0,1fr)}
}

/* tiles that already lift on hover with their own transform must not lift twice, and keep their own easing */
html.tc-wide .tvx a.tvx-tile[data-sw-lift]{transition:border-color .18s,transform .18s}
html.tc-wide .au .ft-card[data-sw-lift]{transition:border-color .25s,transform .25s}
html.tc-wide .au .ft-pop a[data-sw-lift]{transition:border-color .2s,transform .2s;border:1px solid var(--line-2)!important}
html.tc-wide :is(.tvx a.tvx-tile,.au .ft-card,.au .ft-pop a)[data-sw-lift]:hover{translate:none}

/* 3b · hubs (/free-tools, /calculators): neutral hero; a card in the filterable grids is never left waiting for a
   scroll reveal (search results are clones of the cards, filters show and hide them) */
html.tc-wide .au .ft-hero{background:linear-gradient(180deg,var(--tc-n1),var(--tc-n0) 82%)}
/* the hero's guilloche halo: gs-fx.js gives the "loan"/"fema" fields a gold accent (inline --acr on the hero; /calculators).
   On the neutral hubs it takes the blue of /free-tools; gold service pages are not hubs and keep theirs. */
html.tc-wide main :is(.ft-hero,.svx-hero,.rh-hero,.nf-hero,.gl-hero,.rhub-hero)[style*="183 131 31"] .fx-clip{--acr:27 58 138}
html.tc-wide .au .ft-grid .ft-card[data-sw],html.tc-wide .au .ft-pop a[data-sw]{opacity:1;translate:none}
/* while a search, a tab or a topic chip is active the page is a result list: everything shows at once */
html.tc-wide .au:has(.ch-clear.on,.ft-tab.active:not([data-cat="all"],[data-kind="all"]),.ft-chip.active:not([data-cat="all"])) [data-sw]{opacity:1;translate:none;transition:none}

@media (min-width:900px){
  html.tc-wide .au .ft-tabs{max-width:none;padding:0 calc(var(--tc-gut) - 16px)}
  /* card grids: fixed column counts (3 → 6) instead of auto-fill, so the collapsed preview of a long section can be
     trimmed to whole rows (the page script previews 8 cards; "Show all" / "View all" still open the full list) */
  html.tc-wide .au .ft-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1100px){html.tc-wide .au .ft-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1400px){html.tc-wide .au .ft-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1700px){html.tc-wide .au .ft-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* a collapsed section previews its 8 cards (owner, 16 Nov 2026) as two whole rows of 4; "Show all" opens the full grid */
@media (min-width:1400px){
  html.tc-wide .au .ft-kind:has(>.ft-more-row:not(.hidden)) .ft-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:900px){

  /* 4 · one gutter for the whole shell: crumb, hero, jump bar, work area, chapters, related */
  html.tc-wide :is(.gs.tv-on,.tv-crumb,.tvx){--tw:100vw;--tg:var(--tc-gut)}
  html.tc-wide .tvx .tvx-sec::after{left:var(--tc-gut)}
  /* live-calculator parts (calc-live.css) carry their own 1360px cap */
  html.tc-wide .gs.tv-on :is(.lc-wrap,.lc-tabs,.lc-content,.lc-part){max-width:none}
  /* the only other 1360px caps inside the 323 tool views (scan of their inline CSS) */
  html.tc-wide .gs.tv-on :is(.s80-widget,.s80-investments,.s80-table-block,.nr-faq){max-width:none}
  /* /tools/80c-planner: a 760px card alone in the page → a wider working card, three fields a row on wide screens */
  html.tc-wide .gs.tv-on .s80-card:has(>.s80-form){max-width:1240px}

  /* 5 · less empty height */
  html.tc-wide .gs.tv-on #tv-work{margin-top:28px}
  html.tc-wide .gs.tv-on .tv-workhead{margin:32px auto 20px}
  html.tc-wide .gs.tv-on .tv-content{margin-top:40px}
  html.tc-wide .gs.tv-on .tv-chap{padding:54px 0}
  html.tc-wide .gs.tv-on .tv-chap:not(:has(>:not(.tv-bh):not(.tv-moved))){padding:40px 0}
  html.tc-wide .tvx .tvx-sec{padding:56px 0}
  html.tc-wide :is(.gs.tv-on,.tvx) .tv-bh{margin-bottom:28px}
}

@media (min-width:1500px){
  /* 6 · wide screens: the hero and the work area use the width. The result panel grows with the screen so the
     form is not one long empty card; the hero type scales. */
  html.tc-wide .gs.tv-on .tv-top-in{grid-template-columns:minmax(0,1fr) clamp(440px,29vw,580px)}
  html.tc-wide .gs.tv-on .tv-top-in.is-solo{grid-template-columns:minmax(0,1fr)}
  html.tc-wide .gs.tv-on .tv-top h1{font-size:clamp(58px,3.7vw,74px);max-width:20ch}
  html.tc-wide .gs.tv-on .tv-top p{font-size:19px;max-width:68ch}
  html.tc-wide .gs.tv-on .tv-grid:has(>.tv-verdict){grid-template-columns:minmax(0,1fr) clamp(420px,32vw,640px)}
  html.tc-wide .gs.tv-on .s80-card:has(>.s80-form) .s80-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.tc-wide .au .ft-hero h1{font-size:clamp(58px,3.6vw,72px)}
  html.tc-wide .au .ft-hero p{font-size:17px;max-width:680px}
}
@media (min-width:1700px){
  html.tc-wide .tvx .tvx-faqs{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* site-wide/50-resources.css */
/* Site-wide design layer · resources, templates, downloads:
     A  /{slug} resource pages (.rc-* shell: guides, calendars, checklists, scheme guides)
     B  /free-templates (.rhub) and /templates/{slug} (.rsc)
     C  /free-drafts and /free-downloads (.au + .fd-* / .dl-*)
     D  /downloads/{slug} and /downloads/board-resolutions-master/{slug} (.gs + .dlp-* / .brp-*)
   The wrappers are already full width (00-core.css). Here: warm / cool-blue surfaces become the neutral tokens,
   the reading column of each family is re-laid for the width (side rail, more columns, a capped line length),
   the empty height is tightened. A document preview stays a document: the paper keeps a page width and its own
   text is not styled here. NO shadows. No text, link or order is touched. */

/* ───────── A · resource pages (.rc-*) ───────── */
html.tc-wide .rc-page{--rc-cream:var(--tc-n0);--rc-tint:var(--tc-n1);--rc-line:var(--tc-nline);--rc-line-2:#D5DAE1}
html.tc-wide .rc-hero{background:linear-gradient(180deg,var(--tc-n1),var(--tc-n0) 82%)}
html.tc-wide .rc-table tbody tr:hover{background:var(--tc-n1)}
/* a house ad is a size container with auto margins: as a grid item it would shrink to nothing */
html.tc-wide .rc-body-inner>.tc-ad,html.tc-wide .gs .dlp-content>.tc-ad,html.tc-wide .rsc-main>.tc-ad{width:100%}
@media (min-width:900px){
  html.tc-wide .rc-hero{padding:44px 0 40px}
  html.tc-wide .rc-body{padding:40px 0 52px}
  html.tc-wide .rc-cta-band{padding:44px 0}
  html.tc-wide .rc-desc{margin-bottom:26px}
}
@media (min-width:1100px){
  /* the 860px reading column sat centred under a left-aligned hero: it now starts on the header's line, the
     related links become a side rail, and text keeps a readable measure inside the wide column */
  html.tc-wide .rc-body-inner{max-width:none}
  html.tc-wide .rc-body-inner:has(>.rc-related){display:grid;grid-template-columns:minmax(0,1fr) clamp(260px,21vw,380px);
    column-gap:clamp(36px,3.6vw,72px);align-items:start}
  html.tc-wide .rc-body-inner:has(>.rc-related)>*{grid-column:1;min-width:0}
  html.tc-wide .rc-body-inner:has(>.rc-related)>.rc-related{grid-column:2;grid-row:1/span 60;position:sticky;
    top:calc(var(--hdr-h,76px) + 24px);margin-top:0;padding:22px 24px 24px;border:1px solid var(--tc-nline);
    border-radius:14px;background:var(--tc-n1)}
  html.tc-wide .rc-body-inner:has(>.rc-related)>.rc-related .rc-rel-links{flex-direction:column;align-items:stretch;gap:8px}
  html.tc-wide .rc-body-inner:has(>.rc-related)>.rc-related .rc-rel-link{border-radius:10px;padding:10px 14px}
  html.tc-wide .rc-body-inner>:is(p,ul,ol,h3),html.tc-wide .rc-desc,html.tc-wide .rc-sub,
  html.tc-wide .rc-body-inner :is(.rc-infobox,.rc-tip,.rc-faq-a){max-width:84ch}
  html.tc-wide .rc-faq-wrap{max-width:1040px}
  html.tc-wide .rc-cl-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 28px}
}
@media (min-width:1400px){
  html.tc-wide .rc-h1{font-size:clamp(2.9rem,3vw,3.6rem);max-width:24ch}
  html.tc-wide .rc-sub{font-size:17px}
  html.tc-wide .rc-guide-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(36px,3vw,56px)}
  html.tc-wide .rc-guide-item:last-child{border-bottom:1px solid var(--rc-line)}
}
@media (min-width:1800px){
  html.tc-wide .rc-guide-wrap{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.tc-wide .rc-cl-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ───────── B · free templates hub (.rhub) and one template (.rsc) ───────── */
html.tc-wide .rhub{background:var(--tc-n0);--line:var(--tc-nline)}
html.tc-wide .rhub-hero{background:linear-gradient(180deg,var(--tc-n1),var(--tc-n0) 82%)}
html.tc-wide .rhub-nav a:hover{background:var(--tc-n1)}
/* a flex heading turns every word-mask span into a flex item (the spaces between the words collapse, the gap
   opens between each word): the heading is a normal line again, the count keeps its distance */
html.tc-wide .rhub-cat h2{display:block}
html.tc-wide .rhub-cat h2 .rhub-count{margin-left:10px}
html.tc-wide .rsc{background:var(--tc-n1)!important;--line:var(--tc-nline)}
html.tc-wide .rsc .rsc-hero{background:linear-gradient(180deg,var(--tc-n1),var(--tc-n0) 82%)!important}
html.tc-wide .rsc .rsc-note{background:var(--tc-n0)!important}
html.tc-wide .rsc .rsc-form input{background:var(--tc-n1)!important}
@media (min-width:900px){
  html.tc-wide .rhub-hero-in{padding-top:40px;padding-bottom:36px}
  html.tc-wide .rhub-wrap{padding-top:28px;padding-bottom:48px}
  html.tc-wide .rsc-hero-in{padding-top:36px;padding-bottom:34px}
  html.tc-wide .rsc-wrap{padding-top:28px;padding-bottom:52px}
}
@media (min-width:1025px){
  /* sticky side blocks sat under the sticky site header (top:20px) */
  html.tc-wide .rhub-nav{top:calc(var(--hdr-h,76px) + 20px)}
  html.tc-wide .rsc-lead{top:calc(var(--hdr-h,76px) + 20px)}
}
@media (min-width:1400px){
  html.tc-wide .rhub-hero h1{font-size:clamp(44px,3vw,58px)}
  html.tc-wide .rsc-hero h1{font-size:clamp(40px,2.7vw,52px);max-width:28ch}
  html.tc-wide .rhub-wrap{grid-template-columns:240px minmax(0,1fr);gap:clamp(34px,3vw,56px)}
  html.tc-wide .rhub-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
}
@media (min-width:1600px){
  /* the draft keeps a page width; the two note panels move beside it instead of under it */
  html.tc-wide .rsc-wrap{grid-template-columns:minmax(0,1fr) clamp(320px,19vw,372px)}
  html.tc-wide .rsc-main{display:grid;grid-template-columns:minmax(0,920px) minmax(250px,1fr);column-gap:28px;align-items:start;
    align-content:start}
  html.tc-wide .rsc-main>.rsc-doc{grid-column:1;grid-row:1/span 4}
  html.tc-wide .rsc-main>.rsc-note{grid-column:2;margin-top:0}
  html.tc-wide .rsc-main>.rsc-note+.rsc-note{margin-top:20px}
}

/* ───────── C · free drafts, free downloads (.au) ───────── */
html.tc-wide .au:has(.fd-body,.dl-hero){--warm:var(--tc-n1);--ivory:var(--tc-n1);--line:var(--tc-nline);--line-2:#D5DAE1}
@media (min-width:900px){
  html.tc-wide .au .dl-filter{max-width:none;padding:0 var(--tc-gut)}
  html.tc-wide .au .fd-body{padding:40px 0 48px}
  html.tc-wide .au .dl-section{padding-top:26px}
}
@media (min-width:1500px){
  html.tc-wide .au .dl-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
}

/* ───────── D · download pages (.gs + .dlp-*) ───────── */
html.tc-wide .gs:has(>.dlp-hero){--warm:var(--tc-n1);--paper:var(--tc-n0);--line:var(--tc-nline);--line-2:#D5DAE1;
  background:var(--tc-n0)}
html.tc-wide .gs .dlp-hero{background:linear-gradient(180deg,var(--tc-n1),var(--tc-n0) 86%)}
html.tc-wide .gs .dlp-alert{background:var(--tc-n1);border-color:var(--tc-nline)}
html.tc-wide .gs .dlp-table tbody tr:hover td{background:var(--tc-n1)}
html.tc-wide .gs .dlp-bottom-cta{background:var(--tc-n1)}
html.tc-wide .gs .dlp-sidebar-icon{background:var(--tc-n2)}
/* flex heading + word-mask spans: see .rhub-cat h2 above */
html.tc-wide .gs .dlp-section-title{display:block}
html.tc-wide .gs .dlp-section-title::before{vertical-align:-4px;margin-right:12px}
@media (min-width:900px){
  html.tc-wide .gs .dlp-hero{padding:32px 0 32px}
  html.tc-wide .gs .dlp-layout{padding-top:36px;padding-bottom:56px}
  html.tc-wide .gs .dlp-section{margin-bottom:34px}
  html.tc-wide .gs .dlp-bottom-cta{padding:48px 0}
}
@media (min-width:1400px){
  html.tc-wide .gs .dlp-h1{font-size:clamp(50px,3.2vw,64px);max-width:24ch}
  html.tc-wide .gs .dlp-layout{grid-template-columns:minmax(0,1fr) clamp(320px,20vw,380px);gap:clamp(40px,3.4vw,64px)}
  /* one long column of full-width rows became a wide, mostly empty strip: rows sit two / three abreast */
  html.tc-wide .gs .dlp-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
  html.tc-wide .gs .dlp-grid-2{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.tc-wide .gs .dlp-alert,html.tc-wide .gs .dlp-info-box{max-width:110ch}
  /* one board resolution: the draft keeps its page width, the other drafts of the pack sit beside it */
}
@media (min-width:1700px){
  html.tc-wide .gs .dlp-content:has(.brp-doc){display:grid;grid-template-columns:minmax(0,780px) minmax(260px,1fr);column-gap:32px;align-items:start}
  html.tc-wide .gs .dlp-content:has(.brp-doc)>*{grid-column:1;min-width:0}
  html.tc-wide .gs .dlp-content:has(.brp-doc)>.dlp-section:has(.brp-related){grid-column:2;grid-row:1/span 8}
  html.tc-wide .gs .dlp-content:has(.brp-doc) .brp-related{grid-template-columns:minmax(0,1fr)}
}
@media (min-width:1800px){
  html.tc-wide .gs .dlp-grid-2{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ───────── E · the three tool-style resource pages (/document-checklist, /govt-schemes-guide, /gem-portal-guide):
   .gs shell with their own body band. Cool blue-grey surfaces → neutral tokens; layout left as it is. ───────── */
html.tc-wide .gs:has(>.dc-body,>.gem-body,>.gs-page){--warm:var(--tc-n2);--paper:var(--tc-n0);--line:var(--tc-nline);--line-2:#D5DAE1;
  background:var(--tc-n1)}
html.tc-wide .gs :is(.dc-body,.gem-body),html.tc-wide .gs .gs-page,html.tc-wide .gs .gs-page .gs-body{background:var(--tc-n1)}

/* site-wide/60-news.css */
/* Site-wide design layer · TaxClue News (/news, /news/{section}, /news/{story}, /news/search).
   The portal has its own layout (layouts/news, html.nw-doc) and its own stylesheets (news.css, news-paper.css),
   both driven by :root variables: --wrap (1520px cap), --gut (side gutter) and the ivory paper tokens.
   Here the cap is lifted, the gutter becomes the site gutter and the ivory tokens become the neutral ones.
   A newspaper front page: the width goes to more columns; a story keeps a readable measure.
   NO shadows. No text, link or order is touched. */

/* 1 · neutral canvas (all widths). Navy bands, red and gold accents stay. */
html.tc-wide.nw-doc{--paper:var(--tc-n1);--nest:var(--tc-n2);--line:var(--tc-nline);--line-2:#D5DAE1;--sheet:#fff}
html.tc-wide.nw-doc body.nw{background:var(--tc-n0)}

/* 2 · full width with the site gutter (16px on phones is the portal's own value already) */
@media (min-width:900px){
  html.tc-wide.nw-doc{--wrap:none;--gut:var(--tc-gut)}
}

/* 3 · wide screens. Front page: the two side columns grow with the screen. Story: the text keeps a readable
   measure (it ran to ~125 characters a line at 1920px); the width goes to the contents rail and the sidebar,
   and the key-facts box stays as wide as the sidebar under it. */
@media (min-width:1500px){
  html.tc-wide.nw-doc .np-front-g{grid-template-columns:clamp(320px,19vw,380px) minmax(0,1fr) clamp(360px,22vw,440px)}
  html.tc-wide.nw-doc .np-agrid{grid-template-columns:clamp(200px,14vw,270px) minmax(0,1fr) clamp(380px,24vw,460px);gap:clamp(48px,3.6vw,72px)}
  html.tc-wide.nw-doc .np-atop{grid-template-columns:minmax(0,1fr) clamp(380px,24vw,460px);gap:clamp(48px,3.6vw,72px)}
  html.tc-wide.nw-doc .np-amain{max-width:880px}
  html.tc-wide.nw-doc .np-cgrid{grid-template-columns:minmax(0,1fr) clamp(340px,21vw,410px);gap:clamp(56px,3.6vw,72px)}
}
/* 4 · the month headings of a section / search list are flex rows (text + rule). The word-mask spans became flex
   items: the space between the words collapsed and the 12px gap opened instead. Same line as before the split. */
html.tc-wide.nw-doc .np-mon>h2[data-split]{gap:0}
html.tc-wide.nw-doc .np-mon>h2[data-split] .mw+.mw{margin-left:1ch}
html.tc-wide.nw-doc .np-mon>h2[data-split]::after{margin-left:12px}

/* site-wide/70-surfaces.css */
/* Site-wide design layer · leftovers found by the 16 Nov 2026 audit.
   1. the cool blue-grey of the old light theme (#EEF3F8 panels, #F4F8FB bands) written as literal colours in page
      styles (variables are re-mapped per family in 20–60): the neutral tokens instead (#EEF3F8 → n2, #F4F8FB → n1)
   2. two wrappers that still capped the page (/resources 1360px, /document-checklist 1200px)
   Only under html.tc-wide; the classic look (?design=classic) is unchanged. No text, link or order is touched. */

/* 1a · panels, table heads, callouts, CTA bands, related links, progress tracks */
html.tc-wide :is(
  .cmp-pill.b,.cmp-vs-name.b,.cmp-vs-pill,.cmp-table thead tr,.cmp-slab-header.cyan,
  .stk-table thead th,.stk-cta,.stk-related-link,
  .g3b-content code,.g3b-table th,.g3b-callout.info,.g3b-cta,.g3b-related-link,
  .s234-table thead th,.s234-callout.info,.s234-related-link,
  .gstlf-table th,.gstlf-table tr.total-row,.gstlf-callout.info,.gstlf-cta,.gstlf-related-link,
  .itcnr-table th,.itcnr-table tr.total-row,.itcnr-callout.info,.itcnr-cta,.itcnr-related-link,
  .dc-progress-bar,.dc-cat-hd,.dc-svc-progress,
  .gem-portal-btn,.gem-tool-hdr,.gem-ref-table th,.gem-faq-q:hover,
  .gs-page :is(.gs-filters,.gs-filter-btn.active,.gs-cat-count,.gs-cta),
  .pv-note){background-color:var(--tc-n2)}
html.tc-wide .gs-page .gs-filter-btn.active{border-bottom-color:var(--tc-n2)}
html.tc-wide .s234-result{border-top-color:var(--tc-n2)}
html.tc-wide .gs .dlp-bottom-cta{background:var(--tc-n1)}
/* 1b · bands and row hovers in #F4F8FB */
html.tc-wide :is(.dc-body,.gem-body,.gs-page .gs-body,.dc-svc-head:hover,.gem-ref-table tr:hover td){background-color:var(--tc-n1)}
/* 1c · the same colour written inline in a few templates (a note box, a progress track, a table row) */
html.tc-wide main [style*="#EEF3F8" i]{background-color:var(--tc-n2)!important}

/* 2 · full width with the page gutter */
@media (min-width:900px){
  html.tc-wide .au .rh-wrap,html.tc-wide .dc-body-inner{max-width:none;padding-left:var(--tc-gut);padding-right:var(--tc-gut)}
  html.tc-wide .au .rh-wrap .rh-wrap{padding-left:0;padding-right:0}
}

