/* Dose Insider inner pages in the site palette, the same as the home page: reel 2 "Slate · coral & mint" on a white page (18.11.2026).
   Loaded last on article pages: palette tokens, emoji, people-first widget titles, charts in slate panels with white lines. */
:root{--ink:#1F2D33;--muted:#4D5F66;--line:#DCE3E6;--cite:#E8EEF0;--fig:#3C4E55;--soft:rgba(60,78,85,.3);
  --panel:#4A5C62;--mint:#B9F5C2;--coral:#F08A6C;--sg0:#F3F6F7;--sg1:#E6ECEE;--sg2:#D3DDE0;--sg4:#A7B7BC;
  --a-text:#2A3A40;--a-head:#1F2D33;--a-mut:#4D5F66;--a-line:#DCE3E6;--pn:#F3F6F7;--pn2:#E6ECEE;--acc:#3C4E55;--ok:#237A54;--no:#B8462B}
.emo{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-style:normal;font-weight:400;letter-spacing:0;line-height:1;display:inline-block}
/* widget and figure titles read as text, with the topic emoji */
.w-t>span:first-child{font:600 15px/1.35 var(--body,var(--sans));letter-spacing:-.005em;color:var(--a-head);display:inline-flex;align-items:center;gap:8px}
.w-t .emo{font-size:17px}
.v h5{font:600 14px/1.35 var(--body,var(--sans));letter-spacing:0;text-transform:none;color:var(--a-head);display:flex;align-items:center;gap:8px}
.cheat .ch-h small{font:600 13px var(--body,var(--sans));letter-spacing:0;text-transform:none;display:inline-flex;align-items:center;gap:6px}
.cta{background:var(--panel)}.cta .btn{color:var(--ink)}
.seg button[aria-pressed="true"],.btn{background:var(--ink);border-color:var(--ink)}
.wg input[type=range]{accent-color:var(--ink)}
.prog i,.progress{background:var(--fig)}
.opts button.y{background:#E4F3EA}
.cite,.callout,.f{background:var(--sg1)}
/* charts: slate panels with white lines, mint and coral accents (learn pages and the article list thumbnails) */
svg.chart,.row .fig svg{background:linear-gradient(180deg,#56696F 0%,#45565C 100%);border-radius:16px;padding:22px 24px}
.row .fig svg{padding:12px 14px;border-radius:12px}
:is(svg.chart,.row .fig svg) [stroke="#2E4148"],:is(svg.chart,.row .fig svg) [stroke="#1E2B30"]{stroke:#fff}
:is(svg.chart,.row .fig svg) [fill="#2E4148"]:not(text),:is(svg.chart,.row .fig svg) [fill="#1E2B30"]:not(text){fill:rgba(255,255,255,.88)}
:is(svg.chart,.row .fig svg) text{fill:rgba(255,255,255,.78)}
svg.chart text[fill="#2E4148"],svg.chart text[fill="#1E2B30"]{fill:#fff}
svg.chart text[fill="#fff"],svg.chart text[fill="#FFFFFF"]{fill:var(--panel)}
:is(svg.chart,.row .fig svg) [stroke="rgba(46,65,72,.12)"],:is(svg.chart,.row .fig svg) [stroke="#E3E8EA"]{stroke:rgba(255,255,255,.11)}
:is(svg.chart,.row .fig svg) [stroke="#5B6B71"],:is(svg.chart,.row .fig svg) [stroke="#56666C"],:is(svg.chart,.row .fig svg) [stroke="rgba(46,65,72,.3)"]{stroke:rgba(255,255,255,.4)}
:is(svg.chart,.row .fig svg) [fill="rgba(161,186,194,.32)"]{fill:rgba(185,245,194,.16)}
:is(svg.chart,.row .fig svg) [fill="#E3E8EA"],:is(svg.chart,.row .fig svg) [fill="#EEF3F4"]{fill:rgba(255,255,255,.13)}
:is(svg.chart,.row .fig svg) [fill="#8FA6AD"],:is(svg.chart,.row .fig svg) [fill="#A9BCC2"]{fill:rgba(255,255,255,.42)}
svg.chart rect[fill="#fff"],svg.chart rect[fill="#FFFFFF"],svg.chart circle[fill="#fff"],svg.chart circle[fill="#FFFFFF"]{fill:var(--panel)}
svg.chart [stroke="#fff"],svg.chart [stroke="#FFFFFF"]{stroke:var(--panel)}
svg.chart [stroke-dasharray="5 4"]{stroke:var(--mint)}
/* the older study explainer keeps light figures, recoloured to the palette until it is rebuilt in the article template */
figure.fig svg [fill="#2E4148"],.legend i[style*="#2E4148"]{fill:var(--fig);background:var(--fig)!important}
figure.fig svg [fill="#8FA6AD"]{fill:var(--sg4)}
figure.fig svg [fill="#E3E8EA"],.legend i[style*="#E3E8EA"]{fill:var(--sg1);background:var(--sg1)!important}
figure.fig svg [stroke="#E3E8EA"]{stroke:var(--sg1)}
figure.fig svg [fill="#3E5158"],figure.fig svg [fill="#1E2B30"]{fill:var(--ink)}
@media (max-width:640px){svg.chart{padding:16px 14px;border-radius:14px}}
