


[data-theme] {
  --slate: #243039;            
  --slate-2: #3d4a55;          
  --muted: #4a5660;            
  --dark: #14213d;             
  --dark-2: #0d1830;
  --on-dark-2: #dfe6ec;        
  --cta: var(--blue);
  --cta-d: var(--blue-d);
  --tfsa: #2a47b3; --tfsa-bg: #eef3ff;   
  --rrsp: #1d6b3a; --rrsp-bg: #e4f0e8;   
  --fhsa: #6b2c7e; --fhsa-bg: #f4eaf7;   
  --hero: #f2f7fa;
  --hl-bg: #f2f7fa;
  --vd-bg: #eef3ff;
  --band-ds: #e9edf6;
  --bar-past: #6d84d6;
}
[data-theme="b"] {
  --dark: #0f2440;             
  --dark-2: #0a1a30;
  --on-dark-2: #dfe6ec;        
  --cta: #c8102e;              
  --cta-d: #a50d26;
  --hero: #e6eef6;
  --hl-bg: #e8eff8;
  --vd-bg: #dfe9fb;
  --band-ds: #dde5f2;
}
[data-acct="tfsa"] { --acc: var(--tfsa); --acc-bg: var(--tfsa-bg); }
[data-acct="rrsp"] { --acc: var(--rrsp); --acc-bg: var(--rrsp-bg); }
[data-acct="fhsa"] { --acc: var(--fhsa); --acc-bg: var(--fhsa-bg); }


body[data-theme="a"][data-sec="payment-dates"], body[data-theme="a"][data-sec="benefits"], body[data-theme="a"][data-sec="retirement"] { --hero: #e8f2fc; }
body[data-theme="a"][data-sec="calculators"] { --hero: #eef3ff; }
body[data-theme="a"][data-sec="investing"] { --hero: #e9edf6; }
body[data-theme="a"][data-sec="work"] { --hero: #e5f5ee; }
body[data-theme="b"][data-sec="payment-dates"], body[data-theme="b"][data-sec="benefits"], body[data-theme="b"][data-sec="retirement"] { --hero: #d9e9f9; }
body[data-theme="b"][data-sec="calculators"] { --hero: #e1e9ff; }
body[data-theme="b"][data-sec="investing"] { --hero: #dde3f1; }
body[data-theme="b"][data-sec="work"] { --hero: #d3efe2; }
body[data-theme][data-acct] { --hero: var(--acc-bg); }
body[data-theme="b"][data-acct="tfsa"] { --hero: #e1e9ff; }
body[data-theme="b"][data-acct="rrsp"] { --hero: #d6eadc; }
body[data-theme="b"][data-acct="fhsa"] { --hero: #eedff3; }


body[data-theme] { font-weight: 400; }
[data-theme] .tool small, [data-theme] .hub-card small { font-size: 15px; }
[data-theme] :is(.sit p, .wk p, .trust p, .hub-money, .sec-lead) { color: var(--slate-2); }


[data-theme] .bar { background: var(--dark); }
[data-theme] .ft { background: var(--dark); color: var(--on-dark-2); }
[data-theme] .ft a.nolink, [data-theme] .ft-col a.nolink, [data-theme] .ft-col a.nolink:hover { color: #aab6c2; }


[data-theme] .btn:not(.btn-outline):not(.btn-light):not(.btn-outline-dk) { background: var(--cta); border-color: var(--cta); }
[data-theme] .btn:not(.btn-outline):not(.btn-light):not(.btn-outline-dk):hover { background: var(--cta-d); border-color: var(--cta-d); }


[data-theme] .art-head { background: var(--hero); }
body[data-theme][data-acct] .art-head { box-shadow: inset 0 5px 0 var(--acc); }
body[data-theme][data-acct] .art-head .kicker { color: var(--acc); }
[data-theme] .art-head .byline { border-top-color: rgb(27 37 45 / .14); }
[data-theme="b"] .art-head h1 { font-weight: 700; }


.ts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.ts-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 3px 12px 3px 9px; border-radius: 999px; background: #fff; border: 1px solid rgb(27 37 45 / .12); color: var(--slate); font: 600 14px/1.3 var(--f-body); text-decoration: none; }
a.ts-chip:hover { border-color: var(--blue); color: var(--slate); }
.ts-chip svg { width: 16px; height: 16px; color: var(--ok); flex: none; stroke-width: 2.4; }
.ts-band { min-width: 0; }
.ts-band summary { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 2px; cursor: pointer; list-style: none; font: 600 14.5px/1.3 var(--f-body); color: var(--blue-d); }
.ts-band summary::-webkit-details-marker { display: none; }
.ts-band summary:hover span:not(.ts-ico) { text-decoration: underline; text-underline-offset: 3px; }
.ts-ico svg { width: 18px; height: 18px; display: block; }
.ts-band summary .chev { width: 15px; height: 15px; transition: transform .15s; }
.ts-band[open] { flex-basis: 100%; }
.ts-band[open] summary .chev { transform: rotate(180deg); }
.ts-panel { margin-top: 8px; padding: 16px 18px 8px; background: #fff; border-radius: var(--r-md); color: var(--slate); }
.ts-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ts-list li { display: flex; gap: 10px; align-items: flex-start; }
.ts-list svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; stroke-width: 2.4; }
.ts-list p { font-size: 15px; line-height: 1.5; color: var(--slate); }
.ts-links { display: flex; gap: 18px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.ts-links a { display: inline-flex; align-items: center; min-height: 36px; }
@media (prefers-reduced-motion: reduce) { .ts-band summary .chev { transition: none; } }
@media (max-width: 900px) { .ts-list { grid-template-columns: 1fr; } }


[data-theme="a"] :is(.art-top .finder) { background: var(--dark); border-color: var(--dark); color: #fff; }
[data-theme="a"] :is(.art-top .finder) :is(.ans-k, .ans-cd, .src, .f-row label) { color: var(--on-dark-2); }
[data-theme="a"] :is(.art-top .finder) :is(.ans-date, b, strong) { color: #fff; }
[data-theme="a"] :is(.art-top .finder) a:not(.btn) { color: #fff; }
[data-theme="a"] :is(.art-top .finder) :is(.cd-b, .cd) { color: var(--on-dark); }
[data-theme="a"] :is(.art-top .finder) .tag-ok { background: rgb(155 227 184 / .16); color: var(--ok-dk); }
[data-theme="a"] :is(.art-top .finder) .f-row { border-top-color: rgb(255 255 255 / .16); }
[data-theme="a"] :is(.art-top .finder) .btn-outline { background: transparent; border-color: var(--on-dark); color: #fff; }
[data-theme="a"] :is(.art-top .finder) .btn-outline:hover { background: rgb(143 182 245 / .14); }
[data-theme="a"] :is(.art-top .finder) :focus-visible { outline-color: var(--on-dark); }


[data-theme] .band-ds { background: var(--band-ds); }
[data-theme] .band-ds .search-dk { border-color: var(--field); }
[data-theme] .band-ds .btn-light { background: var(--cta); border-color: var(--cta); color: #fff; }
[data-theme] .band-ds .btn-light:hover { background: var(--cta-d); border-color: var(--cta-d); color: #fff; }
[data-theme] .band-ds .pills-dk a { background: #fff; border-color: var(--line); color: var(--slate); }
[data-theme] .band-ds .pills-dk a:hover { border-color: var(--blue); color: var(--slate); }
[data-theme] .band-gray { background: var(--hl-bg); }



[data-theme] :is(.ch-hl, .ch-fact, .ch-rel, .ch-verdict) { margin-top: 40px; padding: 26px 28px 14px; border-radius: var(--r-lg); background: var(--hl-bg); }
[data-theme] :is(.ch-hl, .ch-fact, .ch-rel, .ch-verdict) h2 { border-top: 0; padding-top: 0; }
[data-theme] :is(.ch-hl, .ch-fact, .ch-rel) h2::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: 14px; }
body[data-theme][data-acct] :is(.ch-hl, .ch-rel) h2::before { background: var(--acc); }
[data-theme] .ch-fact h2::before { background: var(--ok); }

[data-theme] .ch-verdict { background: var(--vd-bg); box-shadow: inset 6px 0 0 var(--dark); padding-left: 32px; }
.vd-k { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 8px; margin-bottom: 10px; border-radius: 6px; background: var(--dark); color: #fff; font: 700 13px/1 var(--f-body); letter-spacing: .02em; }
.vd-k svg { width: 15px; height: 15px; stroke-width: 2.6; }
[data-theme] .ch-verdict ul:not([class]) { display: grid; gap: 10px; }
[data-theme] .ch-verdict .vd-li { margin: 0; padding: 13px 16px 13px 18px; background: #fff; border-radius: var(--r); box-shadow: inset 5px 0 0 var(--acc); }
[data-theme] .ch-verdict .vd-li::before { display: none; }
[data-theme] .ch-verdict .vd-li a { color: var(--acc); font-weight: 600; }

[data-theme] .ch-rel ul:not([class]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
[data-theme] .ch-rel ul:not([class]) > li { margin: 0; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
[data-theme] .ch-rel ul:not([class]) > li::before { display: none; }
[data-theme] .ch-rel ul:not([class]) > li a { font-weight: 600; }
@media (max-width: 640px) {
  [data-theme] :is(.ch-hl, .ch-fact, .ch-rel, .ch-verdict) { padding: 20px 16px 8px; border-radius: var(--r-md); }
  [data-theme] .ch-verdict { padding-left: 22px; }
  [data-theme] .ch-rel ul:not([class]) { grid-template-columns: 1fr; }
}
[data-theme="b"] .ch:not(.ch-hl, .ch-fact, .ch-rel, .ch-verdict, .ch-cmp) h2 { border-top-width: 3px; border-top-color: var(--dark); }


[data-theme] .hub-group[data-acct] h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
[data-theme] .hub-group[data-acct] h2::before { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--acc); color: #fff; font: 700 14px/1 var(--f-body); letter-spacing: .02em; }
[data-theme] .hub-group[data-acct="tfsa"] h2::before { content: 'TFSA'; }
[data-theme] .hub-group[data-acct="rrsp"] h2::before { content: 'RRSP'; }
[data-theme] .hub-group[data-acct="fhsa"] h2::before { content: 'FHSA'; }
[data-theme] .hub-group[data-acct] .tool { box-shadow: inset 5px 0 0 var(--acc), var(--shadow); padding-left: 20px; }
[data-theme] .hub-group[data-acct] .tool:hover { border-color: var(--acc); }
[data-theme] .hub-group[data-acct] .ibox { background: var(--acc-bg); color: var(--acc); width: 48px; height: 48px; }
[data-theme] .hub-group[data-acct] .ibox svg { width: 26px; height: 26px; }
[data-theme] .hub-group[data-acct] .hub-fig { display: block; margin-top: 4px; font: 600 28px/1.1 var(--f-head); color: var(--acc); }
[data-theme] .hub-group[data-acct] .hub-fig-n { margin-top: 0; font-size: 14px; color: var(--muted); }
@media (min-width: 768px) {
  [data-theme] .hub-groups { gap: 28px; }
  [data-theme] .hub-group[data-acct] { padding: 24px 24px 26px; border-radius: var(--r-lg); background: var(--acc-bg); }
}


.ch-cmp { padding-top: 44px; }
.cmp-band { padding: 28px 28px 30px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.ch-cmp .cmp-band h2 { color: #fff; border-top: 0; padding-top: 0; margin-bottom: 18px; }
.cmp-heads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ch-cmp .cmp-card a { display: flex; flex-direction: column; height: 100%; padding: 16px 18px 14px; border-radius: var(--r-md); background: #fff; color: var(--slate); text-decoration: none; border-top: 5px solid var(--acc); }
.ch-cmp .cmp-card a:hover { color: var(--slate); box-shadow: 0 0 0 3px var(--on-dark); }
.ch-cmp .cmp-card a:focus-visible { outline-color: var(--on-dark); }
.cmp-chip { display: inline-flex; align-items: center; align-self: flex-start; justify-self: start; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--acc); color: #fff; font: 700 13.5px/1 var(--f-body); letter-spacing: .03em; }
.cmp-fig { margin-top: 10px; font: 600 38px/1.05 var(--f-head); color: var(--acc); }
.cmp-fn { font-size: 14px; color: var(--muted); }
.cmp-for { margin-top: 8px; font-size: 15.5px; line-height: 1.45; }
.cmp-go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--acc); }
.cmp-go .ri { width: 15px; height: 15px; }
.cmp-grid { margin-top: 18px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 0 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); align-items: start; }
.cmp-hrow { padding-top: 0; border-bottom: 2px solid var(--slate); }
.cmp-q { font-weight: 600; }
.cmp-t { display: flex; gap: 8px; align-items: flex-start; }
.cmp-m { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 2px; }
.cmp-m svg { width: 14px; height: 14px; stroke-width: 3; }
.cmp-yes { background: var(--ok-bg); color: var(--ok); }
.cmp-no { background: #eceff2; color: var(--muted); }
.cmp-l, .cmp-short, .cmp-more { display: none; }
@media (max-width: 900px) { .cmp-band { padding: 22px 18px 20px; } .cmp-fig { font-size: 32px; } }
@media (max-width: 760px) {
  .cmp-band { border-radius: var(--r-md); }
  .cmp-heads { grid-template-columns: 1fr; gap: 10px; }
  .ch-cmp .cmp-card a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 14px 14px 12px 16px; border-top: 0; border-left: 5px solid var(--acc); }
  .cmp-chip { grid-column: 1; grid-row: 1; }
  .cmp-fig { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 30px; text-align: right; align-self: center; }
  .cmp-fn { grid-column: 2; grid-row: 3; text-align: right; font-size: 13px; }
  .cmp-for { grid-column: 1; grid-row: 2 / span 2; margin-top: 6px; font-size: 14.5px; }
  .cmp-go { grid-column: 1 / -1; grid-row: 4; padding-top: 6px; font-size: 14.5px; min-height: 32px; }
  .cmp-hrow { display: none; }
  .cmp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; padding: 16px 0; }
  .cmp-q { grid-column: 1 / -1; font-size: 16px; }
  .cmp-v { padding: 8px 8px 10px; border-radius: var(--r); background: var(--acc-bg); font-size: 14.5px; line-height: 1.35; }
  .cmp-l { display: block; margin-bottom: 4px; font: 700 12.5px/1.2 var(--f-body); letter-spacing: .03em; color: var(--acc); }
  .cmp-t { gap: 5px; }
  .cmp-m { width: 20px; height: 20px; margin-top: 0; }
  .cmp-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cmp-short { display: inline; }
  .cmp-more { display: grid; gap: 3px; grid-column: 1 / -1; font-size: 14px; line-height: 1.45; color: var(--slate-2); }
  .cmp-more b { color: var(--acc); font-weight: 700; }
}


.ra-chart { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: end; margin: 18px 0 22px; padding: 22px 24px 18px; border-radius: var(--r-lg); background: var(--tfsa-bg); }
.ra-chart figcaption { display: grid; gap: 2px; align-self: center; }
.rc-k { font: 600 13px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--tfsa); }
.rc-big { font: 600 44px/1.05 var(--f-head); color: var(--tfsa); }
.rc-s { font-size: 14.5px; line-height: 1.45; color: var(--slate-2); }
.rc-bars { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 4px; height: 190px; align-items: end; padding: 26px 0 24px; position: relative; }
.rc-bars li { position: relative; height: 100%; display: flex; align-items: flex-end; }
.rc-bar { display: block; width: 100%; height: var(--h); min-height: 3px; border-radius: 4px 4px 0 0; background: var(--bar-past); }
.is-now .rc-bar { background: var(--tfsa); }
.rc-y { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font: 600 12.5px/1.2 var(--f-body); color: var(--slate-2); white-space: nowrap; }
.rc-lab .rc-y { display: block; }
.rc-bars li:first-child .rc-y { left: 0; transform: none; }
.rc-bars li:last-child .rc-y { left: auto; right: 0; transform: none; }
.rc-v { position: absolute; right: 0; bottom: calc(var(--h) + 6px); font: 700 14px/1 var(--f-body); color: var(--tfsa); white-space: nowrap; }
@media (max-width: 760px) {
  .ra-chart { grid-template-columns: 1fr; gap: 6px; padding: 18px 16px 14px; border-radius: var(--r-md); }
  .rc-big { font-size: 36px; }
  .rc-bars { height: 150px; gap: 3px; }
}


[data-theme="b"] .remind .btn:not(.btn-outline):not(.btn-light):not(.btn-outline-dk) { background: var(--dark); border-color: var(--dark); }
[data-theme="b"] .remind .btn:not(.btn-outline):not(.btn-light):not(.btn-outline-dk):hover { background: var(--dark-2); border-color: var(--dark-2); }
[data-theme] .art-top .finder .sel select { color: var(--slate); }


.hf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; }
.hf-k { font: 600 13px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--slate-2); }
.hf-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 14px 5px 6px; border-radius: 999px; background: #fff; border: 1.5px solid var(--acc); color: var(--slate); text-decoration: none; }
.hf-list a:hover { box-shadow: 0 0 0 3px var(--acc-bg); color: var(--slate); }
.hf-list .cmp-chip { height: 30px; border-radius: 999px; padding: 0 11px; }
.hf-list b { font: 600 22px/1 var(--f-head); color: var(--acc); }
.hf-list small { font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) {
  .hf { gap: 6px; }
  .hf-k { flex-basis: 100%; }
  .hf-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .hf-list a { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px 9px; border-radius: var(--r); }
  .hf-list .cmp-chip { height: 22px; padding: 0 7px; font-size: 12px; border-radius: 5px; }
  .hf-list b { font-size: 21px; margin-top: 2px; }
  .hf-list small { font-size: 12.5px; }
}


body[data-theme="b"] { --hero-dk: #1d3f7a; --hero-k: #bcd2fb; }
body[data-theme="b"][data-acct="tfsa"] { --hero-dk: #2a47b3; --hero-k: #cfe0ff; }
body[data-theme="b"][data-acct="rrsp"] { --hero-dk: #1d6b3a; --hero-k: #c8f0d6; }
body[data-theme="b"][data-acct="fhsa"] { --hero-dk: #6b2c7e; --hero-k: #f0d9f7; }
[data-theme="b"] .art-head { background: var(--hero-dk); color: #fff; box-shadow: none; }
[data-theme="b"] .art-head h1 { color: #fff; }
[data-theme="b"] .art-head .kicker, body[data-theme="b"][data-acct] .art-head .kicker { color: var(--hero-k); }
[data-theme="b"] .art-head .dek { color: #e3eaf2; }
[data-theme="b"] .art-head .byline { color: #dfe6ec; border-top-color: rgb(255 255 255 / .22); }
[data-theme="b"] .art-head .byline a { color: #fff; }
[data-theme="b"] .art-head .tag-ok { background: #fff; color: var(--ok); }
[data-theme="b"] .art-head .avatar { border-color: #fff; }
[data-theme="b"] .art-head .ts-chip { border-color: #fff; }
[data-theme="b"] .art-head .ts-band summary { color: #fff; }
[data-theme="b"] .art-head .ts-band summary:hover span:not(.ts-ico) { text-decoration-color: #fff; }
[data-theme="b"] .art-head .hf-k { color: #dfe6ec; }
[data-theme="b"] .art-head :focus-visible { outline-color: #fff; }
[data-theme="b"] .art-head .stub-note { color: var(--slate); }

[data-theme="b"] .cmp-band { background: var(--band-ds); color: var(--slate); }
[data-theme="b"] .ch-cmp .cmp-band h2 { color: var(--slate); }
[data-theme="b"] .ch-cmp .cmp-card a { box-shadow: var(--shadow); }
[data-theme="b"] .ch-cmp .cmp-card a:hover { box-shadow: 0 0 0 3px var(--acc); }
[data-theme="b"] .ch-cmp .cmp-card a:focus-visible { outline-color: var(--blue); }


@media (max-width: 1023px) { a.ts-chip, .ts-band summary { min-height: 44px; } }


.ts-m { display: none; }
@media (max-width: 1023px) {
  .ts-d.has-m { display: none; }
  .ts-m { display: flex; margin: 14px 0 0; }
}


[data-theme] :is(.ch-watch, .ch-key, .ch-two, .ch-alt) { margin-top: 40px; padding: 24px 28px 12px; border-radius: var(--r-lg); }
[data-theme] :is(.ch-watch, .ch-key, .ch-two, .ch-alt) h2 { border-top: 0; padding-top: 0; }
[data-theme] .ch-watch { background: #fdf1ef; box-shadow: inset 6px 0 0 #a1260d; padding-left: 32px; }
[data-theme] .ch-key { background: var(--vd-bg); box-shadow: inset 6px 0 0 var(--blue); padding-left: 32px; }
.ch-watch-k { background: #a1260d; }
.ch-key-k { background: var(--blue-d); }
[data-theme] .ch-watch ol:not([class]) { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 8px; }
[data-theme] .ch-watch ol:not([class]) > li { counter-increment: st; position: relative; margin: 0; padding: 12px 14px 12px 52px; background: #fff; border-radius: var(--r); }
[data-theme] .ch-watch ol:not([class]) > li::before { content: counter(st); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #a1260d; color: #fff; font: 700 14px/1 var(--f-body); }
[data-theme] .ch-watch ol:not([class]) > li::marker { content: none; }

[data-theme] .ch-two { background: var(--hl-bg); }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 16px; }
.two-up > li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.two-n { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--dark); color: #fff; font: 700 16px/1 var(--f-body); }
@media (max-width: 640px) { .two-up { grid-template-columns: 1fr; } }

[data-theme] .ch-alt { background: var(--hl-bg); }
[data-theme] .ch-alt .tbl-wrap { padding: 2px 14px 6px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); }
[data-theme] .ch-alt .tbl thead th { border-bottom: 2px solid var(--blue); color: var(--blue-d); }
[data-theme] .ch-alt .tbl tbody tr:nth-child(even) { background: #f7f9fc; }
@media (max-width: 640px) { [data-theme] :is(.ch-watch, .ch-key, .ch-two, .ch-alt) { padding: 20px 16px 8px; border-radius: var(--r-md); } [data-theme] :is(.ch-watch, .ch-key) { padding-left: 22px; } [data-theme] .ch-alt .tbl-wrap { padding: 2px 8px 6px; } }


[data-theme="b"] :is(.tool-out-dk, .calc-out) { --on-dark: var(--blue-d); --on-dark-2: var(--slate-2); background: var(--band-ds); color: var(--slate); }
[data-theme="b"] :is(.tool-out-dk, .calc-out) :is(.out-big, .cv-row dd, b) { color: var(--slate); }
[data-theme="b"] :is(.tool-out-dk, .calc-out) .cv, [data-theme="b"] .tool-out-dk .cv-row { border-color: rgb(27 37 45 / .14); }
[data-theme="b"] :is(.tool-out-dk, .calc-out) .fix-dk { color: #a1260d; background: #fdecea; }
[data-theme="b"] :is(.tool-out-dk, .calc-out) .tag-grey { color: var(--slate-2); border-color: var(--line); }
[data-theme="b"] :is(.tool-out-dk, .calc-out) .tag-ok-dk { background: var(--ok-bg); color: var(--ok); }
[data-theme="b"] :is(.tool-out-dk, .calc-out) .share .btn-outline, [data-theme="b"] .tool-out-dk .btn-outline-dk { background: #fff; border-color: var(--blue); color: var(--blue); }
[data-theme="b"] :is(.tool-out-dk, .calc-out) :focus-visible { outline-color: var(--blue); }


[data-theme] .wm { white-space: nowrap; }
@media (max-width: 350px) { [data-theme] .wm { font-size: 22px; } }
[data-theme] .cmp-v, [data-theme] .cmp-more { overflow-wrap: anywhere; }
.rc-jump .rc-bar { background: var(--tfsa); opacity: .85; }
.rc-jv { position: absolute; right: 0; bottom: calc(var(--h) + 6px); padding: 2px 6px; border-radius: 6px; background: #fff; font: 700 12.5px/1.2 var(--f-body); color: var(--tfsa); white-space: nowrap; box-shadow: var(--shadow); }



[data-theme] .ctiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

[data-theme] .sits { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 1100px) { [data-theme] .sits { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { [data-theme] .sits { grid-template-columns: 1fr; } }

[data-theme] .work { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
[data-theme] .wk { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-content: start; padding: 22px 24px; box-shadow: inset 5px 0 0 var(--blue), var(--shadow); }
[data-theme] .wk .ibox { grid-row: 1 / span 3; width: 48px; height: 48px; }
[data-theme] .wk h3 { margin-top: 0; }
[data-theme] .wk a { margin-top: 2px; }

.topix { display: grid; border-top: 2px solid var(--slate); }
.tpx { display: grid; grid-template-columns: 44px minmax(160px, 220px) minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tpx h3 { font-size: 22px; }
.tpx h3 a { color: var(--slate); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.tpx h3 a:hover { color: var(--blue); text-decoration: underline; }
.tpx ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tpx li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 16px; font-weight: 500; }
@media (max-width: 760px) { .tpx { grid-template-columns: 40px minmax(0, 1fr); } .tpx ul { grid-column: 2; display: grid; gap: 0; } }
[data-theme] .stories { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 1023px) { .tpx li a, .tpx h3 a { min-height: 44px; } }

@media (max-width: 380px) {
  .hf-list a { padding: 7px 6px 8px 8px; }
  .hf-list b { font-size: 17px; }
  .hf-list .cmp-chip { padding: 0 6px; font-size: 11.5px; }
  .hf-list small { font-size: 12px; }
}


@media (max-width: 640px) {
  [data-theme] .ch-alt { padding: 20px 0 10px; border-radius: var(--r-md); }
  [data-theme] .ch-alt > :not(.tbl-wrap) { padding-left: 14px; padding-right: 14px; }
  [data-theme] .ch-alt .tbl-wrap { padding: 0; border-radius: 0; box-shadow: none; }
  [data-theme] .ch-alt .tbl caption { padding-left: 14px; padding-right: 14px; background: var(--hl-bg); }
}

[data-theme] .ch-alt .tbl caption { padding-top: 10px; }

@media (max-width: 1023px) { .ts-m + .art-grid, .ts-m + .stub-note { padding-top: 4px; margin-top: 0; } .ts-m { margin-bottom: 0; } }

[data-theme="b"] .ch-watch { background: #f8eef2; box-shadow: inset 6px 0 0 #7d1d3f; }
[data-theme="b"] .ch-watch-k, [data-theme="b"] .ch-watch ol:not([class]) > li::before { background: #7d1d3f; }

@media (max-width: 340px) { [data-theme] .tbl td, [data-theme] .tbl td b { white-space: normal; } [data-theme] .tbl { font-size: 15px; } [data-theme] .tbl :is(th, td) { padding-left: 5px; padding-right: 5px; } [data-theme] .tbl thead th { letter-spacing: 0; font-size: 12px; } }
@media (max-width: 1023px) {
  .ts-m + .art-grid .art-body > .md-lead:first-child { padding-top: 0; }
  .ts-m + .art-grid .art-body > .md-lead:first-child + .ch:not(.ch-key, .ch-watch, .ch-two, .ch-alt, .ch-hl, .ch-fact, .ch-rel, .ch-verdict) { padding-top: 24px; }
  .ts-m + .art-grid .art-body > .md-lead:first-child + :is(.ch-key, .ch-watch, .ch-two, .ch-alt, .ch-hl, .ch-fact) { margin-top: 20px; }
}
@media (max-width: 640px) { [data-theme] .ch-alt .tbl :is(th, td):first-child { padding-left: 12px; } [data-theme] .ch-alt .tbl :is(th, td):last-child { padding-right: 10px; } }


.pn-chart { background: var(--vd-bg); }
.pn-chart :is(.rc-k, .rc-big) { color: var(--blue-d); }
.pn-chart .is-now .rc-bar { background: var(--blue); }
.pn-chart .rc-bars { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; padding-top: 30px; }
.pn-chart .rc-bars li .rc-y { left: 50%; right: auto; transform: translateX(-50%); }
.pn-chart .rc-v { left: 50%; right: auto; transform: translateX(-50%); font-size: 13px; color: var(--slate-2); }
.pn-chart .is-now .rc-v { color: var(--blue-d); }
@media (max-width: 760px) {
  .pn-chart .rc-bars { gap: 4px; }
  .pn-chart .rc-v { font-size: 11.5px; }
}
@media (max-width: 420px) { .pn-chart .rc-vm { display: none; } }

.two-n.two-yes { background: #1f7a4d; }
.two-n.two-no { background: #a1260d; }
