/* Course windows: petrol, rose quartz and silver; editorial pages: quiet surfaces. */
body.studio.course-page{
  --bg:#edf2f2;--ink:#203941;--muted:#52676e;--panel:#f8faf9;
  --line:#c5d3d6;--accent:#315f70;--gold:#795263;
  background-color:var(--bg);
  background-image:radial-gradient(ellipse at 0 5%,#cedfe3 0,transparent 45%),radial-gradient(ellipse at 100% 30%,#eadde4 0,transparent 43%);
}
html[data-theme=dark] body.studio.course-page{
  --bg:#172930;--ink:#eef2f4;--muted:#c2ced3;--panel:#233940;
  --line:#4d6772;--accent:#e7bec9;--gold:#e7bec9;
  background-image:radial-gradient(ellipse at 0 4%,#294b59 0,transparent 42%),radial-gradient(ellipse at 100% 42%,#383544 0,transparent 48%);
}
/* Keep the original three course identities and their gradient surfaces. */
body.course-page .store-course{--ink:#24323d;--muted:#475964;--lavender:#7055af;--mint:#28705a;--coral:#985343}
html[data-theme=dark] body.course-page .store-course{--ink:#f2f3ed;--muted:#d0dbe1;--lavender:#c2b8ff;--mint:#9ae1c2;--coral:#efbca8}
body.course-page .store-copy h2{color:var(--ink)}
body.course-page .store-copy p{color:var(--muted);font-size:15px;line-height:1.85}
body.course-page .store-copy .text-link{color:var(--store-accent)}
body.course-page .store-copy .btn{background:var(--store-accent);color:#fff}
html[data-theme=dark] body.course-page .store-copy .btn{color:#202c35}

/* Three distinct hues, each with a soft illuminated-to-deep gradient. */
body.course-page .store-ai{--store-accent:#285d99;--course-start:#d5e8f5;--course-mid:#e5edf7;--course-end:#cdd9ed;--course-glow:#ffffff70;--course-edge:#88aed0;--course-bar:#d5e1ee}
body.course-page .store-ml{--store-accent:#246b50;--course-start:#d5eadd;--course-mid:#e5f0e8;--course-end:#cbded7;--course-glow:#ffffff70;--course-edge:#86b59e;--course-bar:#d2e3da}
body.course-page .store-security{--store-accent:#9a4146;--course-start:#efd6d6;--course-mid:#f5e6e2;--course-end:#e5cbd1;--course-glow:#ffffff70;--course-edge:#c7989d;--course-bar:#e9d5d7}
html[data-theme=dark] body.course-page .store-ai{--store-accent:#a9d0ff;--course-start:#335b7b;--course-mid:#243c59;--course-end:#353c60;--course-glow:#7bc6ed20;--course-edge:#7b9fc9;--course-bar:#263c53}
html[data-theme=dark] body.course-page .store-ml{--store-accent:#a1e3bf;--course-start:#355d4b;--course-mid:#253f36;--course-end:#354e49;--course-glow:#a6e1ac20;--course-edge:#7fae96;--course-bar:#293f37}
html[data-theme=dark] body.course-page .store-security{--store-accent:#ffc0b9;--course-start:#72464b;--course-mid:#4d303b;--course-end:#563f50;--course-glow:#ffb99d20;--course-edge:#bf8990;--course-bar:#47323c}
html[data-theme] body.course-page .store-course{
  border:2px solid transparent;
  background:linear-gradient(120deg,var(--course-start),var(--course-mid) 57%,var(--course-end)) padding-box,linear-gradient(135deg,var(--course-edge),var(--course-mid) 50%,var(--course-edge)) border-box;
}
html[data-theme] body.course-page .store-course .store-body{background:radial-gradient(ellipse at 5% 0,var(--course-glow),transparent 65%)}
body.course-page .store-course .store-chrome,body.course-page .store-course .store-cover>span{background:var(--course-bar)}
body.course-page .store-course .store-chrome,body.course-page .store-course .store-cover{border-color:var(--course-edge)}
body.course-page .store-course .store-copy .tag,body.course-page .store-course .chips span{background:color-mix(in srgb,var(--course-bar) 75%,transparent);border-color:var(--course-edge)}
body.course-page .store-course .store-copy .btn{background:linear-gradient(115deg,var(--store-accent),color-mix(in srgb,var(--store-accent) 85%,#122c40))}

/* Avoid gradients beneath long-form reading. Theme tokens also cover the header. */
body.studio.radar-page{
  --bg:#f0f2f3;--ink:#202f3d;--muted:#495969;--panel:#fff;
  --soft:#f0f4f6;--line:#ced7df;--accent:#285c75;--mint:#266750;
  --gold:#715424;--lavender:#52648a;--radar-body:#374957;
  background:var(--bg);
}
html[data-theme=dark] body.studio.radar-page{
  --bg:#141d27;--ink:#edf1f5;--muted:#bdc9d5;--panel:#202d3b;
  --soft:#283849;--line:#415367;--accent:#b0cfe7;--mint:#a2d9c3;
  --gold:#e5cea0;--lavender:#c0c9ed;--radar-body:#d0dbe6;
  background:var(--bg);
}
body.radar-page .radar-intro{max-width:900px}
body.radar-page .radar-intro h1 em{color:var(--accent)}
body.radar-page .radar-card{background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--accent);box-shadow:0 5px 20px #12233706;padding:32px;min-width:0}
body.radar-page .radar-card h2{color:var(--ink);font-size:clamp(23px,2vw,28px);line-height:1.4;letter-spacing:-.5px;text-wrap:balance}
body.radar-page .radar-card p,body.radar-page .radar-action li{color:var(--radar-body);font-size:16px;line-height:1.85;overflow-wrap:anywhere}
body.radar-page .radar-card small{font-size:12px;line-height:1.7;color:var(--muted)}
body.radar-page .radar-impact{background:var(--soft);padding:20px;border-radius:10px}
body.radar-page .radar-impact strong{color:var(--ink);font-size:14px}
body.radar-page .radar-action{background:var(--panel);border-left-color:var(--mint);padding:20px}
body.radar-page .radar-action h3{color:var(--ink)}
body.radar-page .radar-action li::marker{color:var(--mint)}
body.radar-page .radar-card>.text-link{color:var(--accent);display:inline-block;margin-top:12px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
body.radar-page .filter{color:var(--muted);background:var(--panel);border-color:var(--line)}
body.radar-page .filter[aria-pressed=true]{color:var(--bg);background:var(--accent);border-color:var(--accent)}
body.radar-page a:focus-visible,body.radar-page button:focus-visible,body.course-page a:focus-visible,body.course-page button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:950px){body.radar-page .radar-list{grid-template-columns:1fr;max-width:850px;margin-inline:auto}}
@media(max-width:650px){body.radar-page .radar-card{padding:23px}body.radar-page .radar-impact,body.radar-page .radar-action{padding:16px}body.radar-page .radar-card p,body.radar-page .radar-action li{font-size:15px}}
/* Compact feed and focused article reading layout. */
body.radar-page .radar-brief{display:flex;flex-direction:column;border-top-width:1px;padding:28px;position:relative}
body.radar-page .radar-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
body.radar-page .radar-category{padding:6px 10px;background:var(--soft);border-radius:6px;color:var(--accent);font-weight:700}
body.radar-page .radar-brief h2{font-size:24px;line-height:1.45;margin:22px 0 12px}
body.radar-page .radar-brief h2 a{color:inherit;text-decoration:none}
body.radar-page .radar-brief h2 a:hover{color:var(--accent)}
body.radar-page .radar-brief .radar-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.8;margin:0 0 24px}
body.radar-page .radar-card-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-top:auto;border-top:1px solid var(--line);padding-top:18px}
body.radar-page .radar-card-footer .text-link{color:var(--accent);font-size:13px;margin:0}
.radar-reader{max-width:830px;margin:0 auto;padding:45px 0 85px}
.radar-back{display:inline-block;font-size:14px;color:var(--accent);margin-bottom:30px}
.radar-draft{padding:12px 18px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px}
.radar-article{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:clamp(24px,5vw,58px)}
.radar-article-header{border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:30px}
.radar-article h1{font-size:clamp(29px,3.5vw,43px);line-height:1.22;letter-spacing:-1px;text-wrap:balance;margin:18px 0 22px;color:var(--ink)}
.radar-article .radar-byline{font-size:12px;color:var(--muted)}
.radar-article p,.radar-article li{font-size:17px;line-height:1.9;color:var(--radar-body);overflow-wrap:anywhere}
.radar-article .radar-lead{font-size:19px;line-height:1.8;margin-top:24px}
.radar-article h2{font-size:23px;line-height:1.4;letter-spacing:-.4px;color:var(--ink)}
.radar-detail-section{margin-bottom:32px}
body.radar-page .radar-article .radar-action{padding:25px;background:var(--soft);margin:30px 0}
body.radar-page .radar-article .radar-action li{font-size:17px;margin:18px 0}
.radar-article .radar-action>p{font-size:13px;color:var(--muted)}
.radar-sources{border-top:1px solid var(--line);padding-top:25px;margin-top:35px}
.radar-sources p{font-size:14px;color:var(--muted)}
.radar-sources a{color:var(--accent)}
@media(max-width:650px){.radar-reader{padding-top:25px}.radar-article{padding:23px 19px;border-radius:15px}.radar-article p,body.radar-page .radar-article .radar-action li{font-size:16px}.radar-article .radar-lead{font-size:17px}body.radar-page .radar-article .radar-action{padding:18px}}
/* Category identity: brand-inspired hues, with readable tinted surfaces. */
body.studio.radar-page{background:radial-gradient(ellipse at 0 0,#e2eaf1,transparent 48%),linear-gradient(135deg,#f6f4f0,#edf2f5 65%,#f0edf5)}
html[data-theme=dark] body.studio.radar-page{background:radial-gradient(ellipse at 0 0,#2e4351,transparent 48%),linear-gradient(135deg,#1c2935,#17232d 65%,#262a38)}
body.radar-page :is([data-category],[data-radar]){--category-color:#356477;--category-tint:#e1edf1;--category-edge:#9ebecb}
body.radar-page :is([data-category="Claude"],[data-radar="Claude"]){--category-color:#934629;--category-tint:#f6e0d4;--category-edge:#dca184}
body.radar-page :is([data-category="Codex / OpenAI"],[data-radar="Codex / OpenAI"]){--category-color:#28624e;--category-tint:#e0e9e4;--category-edge:#9bb9ac}
body.radar-page :is([data-category=".NET"],[data-radar=".NET"]){--category-color:#67419d;--category-tint:#eae0f7;--category-edge:#b49bd8}
body.radar-page :is([data-category="Security"],[data-radar="Security"]){--category-color:#236475;--category-tint:#dceef2;--category-edge:#91bec9}
html[data-theme=dark] body.radar-page :is([data-category="Claude"],[data-radar="Claude"]){--category-color:#f0b292;--category-tint:#50392f;--category-edge:#94644c}
html[data-theme=dark] body.radar-page :is([data-category="Codex / OpenAI"],[data-radar="Codex / OpenAI"]){--category-color:#b1dac8;--category-tint:#2b403b;--category-edge:#5f8778}
html[data-theme=dark] body.radar-page :is([data-category=".NET"],[data-radar=".NET"]){--category-color:#d0b8fa;--category-tint:#403450;--category-edge:#8b71aa}
html[data-theme=dark] body.radar-page :is([data-category="Security"],[data-radar="Security"]){--category-color:#a0d9e6;--category-tint:#293f4c;--category-edge:#5a8c9a}
body.radar-page .radar-brief{
 --accent:var(--category-color);
 border-color:color-mix(in srgb,var(--category-edge) 65%,var(--line));border-top:3px solid var(--category-edge);
 background:linear-gradient(135deg,var(--category-tint),var(--panel) 72%);
 box-shadow:0 12px 32px #1329370a;
}
body.radar-page .radar-brief .radar-category{background:var(--panel);color:var(--category-color);border:1px solid var(--category-edge)}
body.radar-page .radar-card-footer{border-color:color-mix(in srgb,var(--category-edge) 50%,var(--line))}
body.radar-page .filter:not([data-radar="all"]){border-color:var(--category-edge);color:var(--category-color);background:linear-gradient(120deg,var(--category-tint),var(--panel))}
body.radar-page .filter:not([data-radar="all"])[aria-pressed=true]{background:var(--category-color);color:var(--panel);box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--category-edge)}
body.radar-page .radar-article{--accent:var(--category-color);border-top:3px solid var(--category-edge);background:linear-gradient(145deg,var(--category-tint),transparent 550px),var(--panel)}
body.radar-page .radar-article-header>.eyebrow{color:var(--category-color);font-weight:700}
body.radar-page .radar-article .radar-action{background:linear-gradient(120deg,color-mix(in srgb,var(--mint) 8%,var(--panel)),var(--panel));border-left-color:var(--mint)}

/* Gemini: distinct blue, retaining readable light/dark contrast. */
body.radar-page :is([data-category="Gemini"],[data-radar="Gemini"]){--category-color:#2859a5;--category-tint:#e2ebfc;--category-edge:#96b4e3}
html[data-theme=dark] body.radar-page :is([data-category="Gemini"],[data-radar="Gemini"]){--category-color:#b4ceff;--category-tint:#293c58;--category-edge:#7095ce}

body.radar-page :is([data-category="Qwen"],[data-radar="Qwen"]){--category-color:#6742a6;--category-tint:#eee6fc;--category-edge:#b59ad8}

html[data-theme=dark] body.radar-page :is([data-category="Qwen"],[data-radar="Qwen"]){--category-color:#d5bdff;--category-tint:#392c50;--category-edge:#9476bd}

body.radar-page :is([data-category="Kimi"],[data-radar="Kimi"]){--category-color:#176860;--category-tint:#e0f3ef;--category-edge:#81b7ae}

html[data-theme=dark] body.radar-page :is([data-category="Kimi"],[data-radar="Kimi"]){--category-color:#9de6d8;--category-tint:#203f3c;--category-edge:#609a91}

/* Course palette 20261130 */
body.course-page .store-data{--store-accent:#805b08;--course-start:#f4e5af;--course-mid:#faf2d5;--course-end:#eaddac;--course-glow:#ffffff70;--course-edge:#bca04c;--course-bar:#eee1b6}
html[data-theme=dark] body.course-page .store-data{--store-accent:#f3d575;--course-start:#655426;--course-mid:#40391f;--course-end:#514827;--course-glow:#f5d77720;--course-edge:#ab9655;--course-bar:#443d25}
