/* Homepage editorial refresh. The theory map keeps its existing visual system. */
.home-refresh { --paper: #f6f8f8; --muted: #4f6272; }
.home-refresh .section { scroll-margin-top: 90px; }
.home-refresh .site-header nav { gap: clamp(12px,1.25vw,22px); }
.home-refresh .site-header nav a { padding-block: 10px; }
.home-refresh .hero { padding-top: 60px; padding-bottom: 52px; min-height: 540px; }
.home-refresh .hero h1 { max-width: none; }
.home-refresh .hero-copy > p { max-width: 61ch; }
.home-refresh .hero-actions { gap: 12px; }
.home-refresh .button { border-radius: 8px; min-height: 48px; padding: 12px 20px; text-align: center; }
.home-refresh .hero-tags { margin-top: 24px; gap: 10px; }
.home-refresh .summary-strip h2 { font-size: 1.4rem; line-height: 1.25; }
.home-refresh .summary-strip p { max-width: 42ch; }
.home-refresh .section-heading h2 { line-height: 1.15; letter-spacing: -.035em; }
.home-refresh .section-heading p, .home-refresh .status-copy p { line-height: 1.8; }
.home-refresh .visual-section { background: #eaf1f4; padding-block: 66px; }
.home-refresh .visual-section .section-heading { max-width: none; }
.home-refresh .visual-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.home-refresh .visual-actions .primary { background: #0d566a; color: #fff; }
.home-refresh .visual-actions .primary:hover { background: #0b4555; }
.home-refresh .visual-actions .secondary { color: #153e50; border-color: #91acb7; background: #f6fafb; }
.home-refresh .visual-actions > span { font-size: .83rem; color: #486373; margin-left: auto; }
.home-refresh .infographic-preview { margin: 0; border: 1px solid #c6d6df; border-radius: 14px; background: #f7fafc; overflow: hidden; box-shadow: 0 14px 34px -22px #173d5066; }
.home-refresh .infographic-preview > a { display: block; }
.home-refresh .infographic-preview img { display: block; width: 100%; height: auto; }
.home-refresh .infographic-preview figcaption { border-top: 1px solid #d2dfe7; margin: 0; padding: 18px 24px; background: #fff; color: #4a6070; font-size: .88rem; line-height: 1.7; }
.home-refresh .visual-transcript { margin-top: 18px; padding: 16px 20px; background: #ffffffb8; border: 1px solid #cbdbe3; border-radius: 9px; }
.home-refresh .visual-transcript summary { font-weight: 650; cursor: pointer; min-height: 24px; }
.home-refresh .visual-transcript ol { max-width: 95ch; padding-left: 24px; }
.home-refresh .visual-transcript li { padding-left: 8px; margin: 14px 0; line-height: 1.8; }
.home-refresh .scope-note { margin: 25px 0; max-width: 104ch; padding: 18px 22px; border-left: 3px solid #16778c; background: #e8f1f3; line-height: 1.8; font-size: .95rem; }
.home-refresh .convention-note { font-size: .95rem; line-height: 1.9; }
.home-refresh .formula-card, .home-refresh .notation-key { border-radius: 10px; }
.home-refresh .review-note { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,1.65fr); gap: 18px 40px; margin: 0 0 34px; padding: 28px 30px; border: 1px solid #cedde1; border-radius: 12px; background: #edf4f4; }
.home-refresh .review-note h3 { margin: 0; font: 600 1.6rem/1.35 "CMG Serif",Georgia,serif; }
.home-refresh .review-note .eyebrow { font-size: .7rem; line-height: 1.8; }
.home-refresh .review-note ul { margin: 0; padding-left: 20px; }
.home-refresh .review-note li { padding-left: 5px; margin: 0 0 14px; font-size: .93rem; line-height: 1.75; }
.home-refresh .review-note .review-scope { grid-column: 1/-1; border-top: 1px solid #d0dfe0; padding-top: 16px; margin: 0; font-size: .83rem; color: #536873; }
.home-refresh .status-entry summary { padding-block: 22px; }
.home-refresh .status-title { line-height: 1.45; }
.home-refresh .status-copy { padding-top: 4px; padding-bottom: 24px; }
.home-refresh .research-details { border-radius: 10px; }
.home-refresh .papers-section { background: #eaf0f0; }
.home-refresh .library-tools { padding: 22px; background: #f8fbfb; border: 1px solid #ccd9dd; border-radius: 10px; }
.home-refresh .library-note { max-width: 100ch; font-size: .84rem; }
.home-refresh .library-tools input, .home-refresh .library-tools select, .home-refresh .library-tools button { border-radius: 6px; }
.home-refresh .faq-section details { border-radius: 8px; }
.home-refresh .faq-section summary { line-height: 1.6; }
.home-refresh .source-links a { text-underline-offset: 4px; }
.home-refresh a:focus-visible, .home-refresh button:focus-visible, .home-refresh summary:focus-visible { outline: 3px solid #1186a2; outline-offset: 4px; }
.home-refresh .hero a:focus-visible, .home-refresh .site-header a:focus-visible { outline-color: #7ee6f5; }
@media (min-width: 961px) and (max-width: 1190px) { .home-refresh .brand > span:last-child { display: none; } }
.home-refresh .updates-section { background: #f6f8f8; }
.updates-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 32px; align-items: start; }
.news-list ol { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; border-left: 2px solid #b9cfd4; }
.news-list li { position: relative; padding: 0 0 24px 24px; }
.news-list li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #16778c; box-shadow: 0 0 0 3px #f6f8f8; }
.news-list time { font-size: .8rem; font-weight: 700; color: #1f6b7b; letter-spacing: .04em; }
.news-list h3 { margin: 4px 0 6px; font: 600 1.22rem/1.35 "CMG Serif", Georgia, serif; }
.news-list h3 a { color: inherit; text-decoration: none; }
.news-list h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-list p { margin: 0; line-height: 1.7; font-size: .94rem; color: #3d4f5c; max-width: 62ch; }
.updates-section .text-link { color: #0d566a; padding-inline: 0; }
.cite-programme { padding: 24px; border: 1px solid #cedde1; border-radius: 12px; background: #edf4f4; }
.cite-programme h3 { margin: 0 0 10px; font: 600 1.35rem/1.3 "CMG Serif", Georgia, serif; }
.cite-programme p { line-height: 1.7; font-size: .93rem; }
.cite-programme .cite-apa { padding: 12px 14px; background: #fff; border: 1px solid #d3e0e3; border-radius: 8px; font-size: .88rem; overflow-wrap: anywhere; }
.cite-files { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 0; }
.cite-files a, .cite-programme .orcid-link { color: #0d566a; margin: 0; }
@media (max-width: 960px) {
 .updates-grid { grid-template-columns: 1fr; }
 .home-refresh .hero { min-height: auto; padding-top: 44px; padding-bottom: 38px; }
 .home-refresh .hero-visual { display: none; }
 .home-refresh .hero { grid-template-columns: 1fr; }
 .home-refresh .hero h1 { max-width: none; }
 .home-refresh .visual-actions > span { width: 100%; margin-left: 0; }
 .home-refresh .review-note { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}
@media (max-width: 600px) {
 .home-refresh .hero-actions .button { flex: 1 1 155px; }
 .home-refresh .hero-tags { gap: 8px; }
 .home-refresh .hero-tags .status-pill { font-size: .69rem; }
 .home-refresh .visual-section { padding-block: 40px; }
 .home-refresh .visual-actions .button { flex: 1 1 100%; }
 .home-refresh .infographic-preview figcaption { padding: 14px 16px; font-size: .83rem; }
 .home-refresh .visual-transcript { padding: 16px; }
 .home-refresh .scope-note { padding: 16px; }
 .home-refresh .library-tools { padding: 16px; }
 .home-refresh .review-note { padding: 20px; }
 .home-refresh .review-note h3 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
 .home-refresh *, .home-refresh *::before, .home-refresh *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
 .home-refresh .visual-actions { display: none; }
 .home-refresh .visual-section, .home-refresh .papers-section { background: white; }
 .home-refresh .infographic-preview { box-shadow: none; break-inside: avoid; }
 .home-refresh .review-note { display: block; break-inside: avoid; }
}

/* ==== 2026-11 refresh: BeogradPC button family, living network hero ==== */
/* Buttons follow the beogradpc.com family (.main-nav a, .button-primary in the portal's home.css):
   raised slate pills in the header with a coloured line icon, a blue-to-cyan gradient for the main action.
   Header icons are own line drawings, carried as CSS masks so the generated HTML stays as it is. */
/* header pills live in app.css (shared by every CMG page); only the home spacing stays here */
.home-refresh .site-header nav { gap: 7px; }
.home-refresh .site-header nav a { padding-block: 9px; }

.home-refresh .hero .button,
.home-refresh .hero .text-link {
  min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px;
  font-size: .88rem; font-weight: 800; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.home-refresh .hero .button:hover,
.home-refresh .hero .text-link:hover { transform: translateY(-2px); text-decoration: none; }
.home-refresh .hero .button.primary {
  background: linear-gradient(135deg, #5b9df2, #5ad8e4); color: #06101d;
  box-shadow: 0 16px 36px rgba(57, 146, 234, .24), inset 0 1px 0 rgba(255, 255, 255, .42);
}
.home-refresh .hero .button.primary:hover { box-shadow: 0 19px 42px rgba(57, 146, 234, .32), inset 0 1px 0 rgba(255, 255, 255, .52); }
.home-refresh .hero .button.secondary,
.home-refresh .hero .text-link {
  border-color: rgba(189, 211, 241, .2); color: #dcebf7;
  background: linear-gradient(145deg, rgba(50, 70, 101, .78), rgba(25, 40, 65, .86));
  box-shadow: 4px 5px 11px rgba(0, 0, 0, .32), -2px -2px 7px rgba(138, 183, 239, .08), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.home-refresh .hero .button.secondary:hover,
.home-refresh .hero .text-link:hover { border-color: rgba(116, 179, 255, .42); background: linear-gradient(145deg, rgba(61, 86, 124, .92), rgba(31, 50, 80, .94)); color: #fff; }

/* the same family on the light sections */
.home-refresh .visual-actions .button,
.home-refresh .library-tools button,
.home-refresh .explorer-actions button,
.home-refresh .cite-tabs button {
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(13, 53, 69, .1), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.home-refresh .visual-actions .button:hover,
.home-refresh .library-tools button:hover,
.home-refresh .explorer-actions button:hover,
.home-refresh .cite-tabs button:hover { transform: translateY(-2px); border-color: #1186a2; box-shadow: 0 10px 20px rgba(13, 53, 69, .16), inset 0 1px 0 rgba(255, 255, 255, .8); }
.home-refresh .library-tools input,
.home-refresh .library-tools select { border-radius: 11px; }

/* living hero: the network drifts and carries signals, the emblem and its three notes float slowly */
.home-refresh .hero::before {
  opacity: .9;
  background-image: url("/planck-network.svg?v=1"),
    linear-gradient(rgba(103, 200, 218, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 200, 218, .035) 1px, transparent 1px);
  background-size: cover, 62px 62px, 62px 62px;
  background-position: center;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .28), #000 46%); mask-image: linear-gradient(to right, rgba(0, 0, 0, .28), #000 46%);
}
.home-refresh .hero-visual img { animation: cmgFloat 9s ease-in-out infinite alternate; }
.home-refresh .signal-card { border-radius: 12px; animation: cmgFloat 7s ease-in-out infinite alternate; }
.home-refresh .signal-b { animation-delay: -2.4s; }
.home-refresh .signal-c { animation-delay: -4.8s; }
.home-refresh .hero-orbit { animation: cmgOrbit 13s ease-in-out infinite alternate; }
.home-refresh .orbit-two { animation-delay: -6s; }
@keyframes cmgFloat { from { transform: translateY(5px); } to { transform: translateY(-7px); } }
@keyframes cmgOrbit { from { transform: scale(1); opacity: 1; } to { transform: scale(1.04); opacity: .55; } }

.home-refresh .summary-strip article { transition: background .25s ease; }
.home-refresh .summary-strip article::after { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: linear-gradient(90deg, #36d5f5, #5b9df2); transition: width .45s ease; }
.home-refresh .summary-strip article:hover { background: rgba(54, 213, 245, .055); }
.home-refresh .summary-strip article:hover::after { width: 100%; }

@media (max-width: 900px) {
  .home-refresh .site-header nav a { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .home-refresh .hero-visual img, .home-refresh .signal-card, .home-refresh .hero-orbit { animation: none !important; }
}
@media print {
  .home-refresh .hero::before { display: none; }
}

/* >>> portal-2026-11-14 */
/* ==== 2026-11-14: beogradpc.com portal style for the CMG home ====
   The page sits on the portal's night background with a slowly moving layer.
   Every section is a distinct panel; colour is kept for what matters
   (the DESI benchmark, the claim boundaries and the closing summary). */
.home-refresh {
  --ink: #eef3fb;
  --muted: #a7b6c9;
  --paper: transparent;
  --paper-2: rgba(10, 18, 32, .5);
  --line: rgba(194, 215, 243, .14);
  --cmg-panel: linear-gradient(160deg, rgba(31, 48, 76, .9), rgba(16, 27, 46, .94));
  --cmg-panel-strong: linear-gradient(160deg, rgba(36, 58, 92, .94), rgba(17, 30, 52, .97));
  --cmg-inset: rgba(7, 13, 25, .5);
  --cmg-inset-2: rgba(7, 13, 25, .34);
  --cmg-border: rgba(194, 215, 243, .14);
  --cmg-border-strong: rgba(194, 215, 243, .24);
  --cmg-accent: #7cc8e6;
  --cmg-accent-2: #9fb8ff;
  --cmg-link: #9fdcf1;
  --cmg-warm: #e9b46f;
  --cmg-shadow: 0 24px 60px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--ink);
  background:
    radial-gradient(1000px 640px at 14% -8%, rgba(55, 130, 246, .2), transparent 65%),
    radial-gradient(820px 540px at 92% 6%, rgba(54, 211, 238, .1), transparent 62%),
    radial-gradient(900px 700px at 50% 108%, rgba(111, 78, 246, .11), transparent 64%),
    linear-gradient(180deg, #08101d 0%, #070b13 52%, #060910 100%) fixed;
  background-color: #070b13;
}

/* ---------- moving background ---------- */
.home-refresh .bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.home-refresh .bg-fx span {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  filter: blur(90px); opacity: .15; animation: cmgFxDrift 24s ease-in-out infinite alternate;
}
.home-refresh .bg-fx span:nth-child(1) { top: 6%; left: -160px; background: #2f8cff; }
.home-refresh .bg-fx span:nth-child(2) { top: 46%; right: -180px; background: #6a5cff; animation-duration: 29s; animation-delay: -9s; }
.home-refresh .bg-fx span:nth-child(3) { bottom: -200px; left: 34%; background: #22c3de; opacity: .09; animation-duration: 33s; animation-delay: -15s; }
.home-refresh .bg-fx::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 84% 60% at 50% 14%, #000 15%, transparent 76%);
  mask-image: radial-gradient(ellipse 84% 60% at 50% 14%, #000 15%, transparent 76%);
  animation: cmgFxGrid 50s linear infinite;
}
@keyframes cmgFxDrift { from { transform: translate3d(0, -30px, 0) scale(.95); } to { transform: translate3d(90px, 70px, 0) scale(1.14); } }
@keyframes cmgFxGrid { to { background-position: 58px 58px, 58px 58px; } }

/* ---------- header and hero on the open background ---------- */
.home-refresh .site-header {
  background: linear-gradient(145deg, rgba(20, 33, 55, .9), rgba(10, 18, 33, .92));
  border-bottom-color: rgba(194, 215, 243, .14);
}
.home-refresh .hero { background: radial-gradient(circle at 76% 44%, rgba(54, 170, 230, .13), transparent 32%); }
.home-refresh .hero::after { display: none; }
.home-refresh .hero h1 span {
  background: linear-gradient(102deg, #6fb3ff 4%, #5fd6ec 50%, #a99bff 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-refresh .hero .eyebrow { color: #8fd3e8; }
.home-refresh .hero-lede { color: #c3d1e1; }
.home-refresh .signal-card {
  background: linear-gradient(150deg, rgba(31, 48, 76, .9), rgba(15, 26, 45, .92));
  border: 1px solid var(--cmg-border-strong);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}

/* the sixty-second summary: three cards instead of a full-width strip */
.home-refresh .summary-strip {
  width: min(1280px, calc(100% - 40px)); margin: 0 auto 26px;
  gap: 16px; background: none; border: 0; color: var(--ink);
}
.home-refresh .summary-strip article {
  min-height: 0; padding: 26px 28px; overflow: hidden;
  border: 1px solid var(--cmg-border); border-radius: 22px;
  background: var(--cmg-panel); box-shadow: var(--cmg-shadow);
}
.home-refresh .summary-strip article:last-child { border-right: 1px solid var(--cmg-border); }
.home-refresh .summary-strip article:hover { background: var(--cmg-panel-strong); }
.home-refresh .summary-strip span { color: #7aa9cf; }
.home-refresh .summary-strip p { color: var(--muted); }

/* ---------- every section is a panel ---------- */
.home-refresh main > .section {
  position: relative;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 26px;
  padding: clamp(30px, 4.2vw, 58px);
  border: 1px solid var(--cmg-border);
  border-radius: 28px;
  background: var(--cmg-panel);
  box-shadow: var(--cmg-shadow);
  color: var(--ink);
}
.home-refresh main > .section:last-child { margin-bottom: 44px; }
.home-refresh .section-heading h2 { color: #f4f7fc; }
.home-refresh .section-heading > p:last-child,
.home-refresh .section-heading p { color: var(--muted); }
.home-refresh .eyebrow { color: var(--cmg-accent); }

/* the evidence and the closing summary carry the emphasis */
.home-refresh main > .evidence-section,
.home-refresh main > .scope-section {
  border-color: rgba(124, 200, 230, .3);
  background: var(--cmg-panel-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42), 0 0 0 1px rgba(124, 200, 230, .08), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.home-refresh main > .evidence-section::before,
.home-refresh main > .scope-section::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #5aa7ff 22%, #5fd6ec 50%, #9d8cff 78%, transparent);
}

/* ---------- inner surfaces ---------- */
.home-refresh .formula-card,
.home-refresh .notation-key,
.home-refresh .research-details,
.home-refresh .library-tools,
.home-refresh .publication-rows,
.home-refresh .cite,
.home-refresh .cite-programme,
.home-refresh .visual-transcript,
.home-refresh .review-note,
.home-refresh .papers-grid > article {
  border: 1px solid var(--cmg-border);
  border-radius: 16px;
  background: var(--cmg-inset);
  box-shadow: none;
  color: var(--ink);
}
.home-refresh .closure-card {
  background: linear-gradient(160deg, rgba(26, 46, 76, .85), rgba(10, 20, 37, .9));
  border-color: rgba(124, 200, 230, .26);
}
.home-refresh .formula-card p,
.home-refresh .closure-card p,
.home-refresh .card-topline,
.home-refresh .closure-card .card-topline,
.home-refresh .limit-grid small,
.home-refresh .fine-print,
.home-refresh .control-help,
.home-refresh .library-note,
.home-refresh .review-note .review-scope,
.home-refresh .publication .publication-meta,
.home-refresh .publication .paper-date,
.home-refresh .publication-components small,
.home-refresh .publication-group-title span,
.home-refresh .news-list p,
.home-refresh .cite-programme p,
.home-refresh .infographic-preview figcaption,
.home-refresh .status-copy p,
.home-refresh .faq-list p,
.home-refresh .sector-grid p,
.home-refresh .research-details summary small,
.home-refresh .research-details .open-grid p,
.home-refresh .mini-readout span { color: var(--muted); }
.home-refresh .formula.auxiliary,
.home-refresh .publication-equation { color: #9fd2e6; }
.home-refresh .formula.gamma { color: #7fd8ee; }
.home-refresh .scope-note {
  border-left-color: var(--cmg-warm); border-radius: 0 14px 14px 0;
  background: rgba(233, 180, 111, .07); color: #d7e0ec;
}
.home-refresh .limit-grid,
.home-refresh .sector-grid,
.home-refresh .open-grid,
.home-refresh .research-details .open-grid,
.home-refresh .evidence-grid,
.home-refresh .explorer-grid {
  gap: 1px; overflow: hidden; border: 1px solid var(--cmg-border); border-radius: 16px; background: var(--cmg-border);
}
.home-refresh .limit-grid article,
.home-refresh .sector-grid article,
.home-refresh .research-details .open-grid article,
.home-refresh .open-grid article { background: #0e1a2e; }
.home-refresh .research-details .sector-grid,
.home-refresh .research-details .open-grid { border: 0; border-top: 1px solid var(--cmg-border); border-radius: 0; }
.home-refresh .notation-key dt,
.home-refresh .research-details .open-grid b,
.home-refresh .open-grid b { color: var(--cmg-accent); }
.home-refresh .sector-icon { color: var(--cmg-accent); border-color: rgba(124, 200, 230, .45); }
.home-refresh .details-icon,
.home-refresh .publication .details-icon { color: var(--cmg-accent); }
.home-refresh .status-entry > summary:hover,
.home-refresh .research-details > summary:hover,
.home-refresh .publication > summary:hover,
.home-refresh .publication[open] { background: rgba(124, 200, 230, .05); }

/* links in the panels */
.home-refresh .source-links > span { color: #8b9bb0; }
.home-refresh .source-links a,
.home-refresh .publication-doi,
.home-refresh .publication-components a,
.home-refresh .publication-parent a,
.home-refresh .publication-page,
.home-refresh .cite > summary,
.home-refresh .cite-files a,
.home-refresh .cite-programme .orcid-link,
.home-refresh .updates-section .text-link,
.home-refresh .section .text-link,
.home-refresh .paper-list a i { color: var(--cmg-link); }
.home-refresh .publication .paper-id,
.home-refresh .news-list time { color: #8fc6de; }
.home-refresh .publication-group-title { color: #b4c3d6; }
.home-refresh .publication { border-top-color: var(--cmg-border); }
.home-refresh .publication-components,
.home-refresh .publication-parent { border-top-color: var(--cmg-border); }
.home-refresh .permalink { color: var(--cmg-accent); }
.home-refresh .permalink:hover { background: rgba(124, 200, 230, .12); }

/* ---------- status pills: one quiet family, the colour lives in a dot ---------- */
.home-refresh .status-pill,
.home-refresh .status-pill:is(.green, .blue, .amber, .red) {
  align-items: center; gap: 7px;
  border: 1px solid var(--cmg-border-strong);
  background: rgba(9, 16, 29, .55);
  color: #d5dfeb;
}
.home-refresh .status-pill::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #8b9bb0; }
.home-refresh .status-pill.green::before { background: #59c9a0; }
.home-refresh .status-pill.blue::before { background: #6fa8f0; }
.home-refresh .status-pill.amber::before { background: #e3a957; }
.home-refresh .status-pill.red::before { background: #e07a7c; }

/* ---------- infographic: the light figure sits in a calm frame ---------- */
.home-refresh .infographic-preview { border-color: var(--cmg-border-strong); background: #0e1a2e; box-shadow: 0 18px 40px rgba(0, 0, 0, .34); }
.home-refresh .infographic-preview figcaption { border-top-color: var(--cmg-border); background: rgba(9, 16, 29, .7); }
.home-refresh .visual-actions > span { color: #8b9bb0; }

/* ---------- buttons and fields in the panels ---------- */
.home-refresh .visual-actions .button,
.home-refresh .library-tools button,
.home-refresh .explorer-actions button,
.home-refresh .cite-tabs button {
  border: 1px solid rgba(189, 211, 241, .18);
  background: linear-gradient(145deg, rgba(50, 70, 101, .78), rgba(25, 40, 65, .86));
  box-shadow: 4px 5px 11px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #dbe6f3;
}
.home-refresh .visual-actions .button:hover,
.home-refresh .library-tools button:hover,
.home-refresh .explorer-actions button:hover,
.home-refresh .cite-tabs button:hover {
  border-color: rgba(116, 179, 255, .42);
  background: linear-gradient(145deg, rgba(61, 86, 124, .92), rgba(31, 50, 80, .94));
  box-shadow: 6px 8px 16px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff;
}
.home-refresh .visual-actions .primary,
.home-refresh .cite-tabs button[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #5b9df2, #5ad8e4); color: #06101d;
  box-shadow: 0 12px 28px rgba(57, 146, 234, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.home-refresh .visual-actions .primary:hover { background: linear-gradient(135deg, #6aa8f5, #6be0ea); color: #06101d; }
.home-refresh .library-tools input,
.home-refresh .library-tools select,
.home-refresh .controls .numeric-control input {
  border: 1px solid var(--cmg-border-strong);
  background: rgba(6, 11, 21, .7);
  color: #eef3fb;
}
.home-refresh .library-tools input::placeholder { color: #7d8da3; }
.home-refresh .library-tools select option { background: #0e1a2e; color: #eef3fb; }
.home-refresh .library-tools label,
.home-refresh .controls label,
.home-refresh .library-count { color: #c9d5e3; }
.home-refresh .cite pre { background: rgba(6, 11, 21, .75); color: #dbe6f3; }
.home-refresh .cite-programme .cite-apa { border-color: var(--cmg-border); background: rgba(6, 11, 21, .6); color: #dbe6f3; }
.home-refresh .cite-status { color: #7fd8b4; }

/* ---------- explorer ---------- */
.home-refresh .controls { background: #0e1a2e; }
.home-refresh .controls output { color: #8fd3e8; }
.home-refresh .controls input[type="range"] { accent-color: #5fb4e8; background: transparent; }
.home-refresh .controls .input-error { color: #f09a95; }
.home-refresh .chart-shell { background: #0a1424; }
.home-refresh .chart-shell figcaption { color: var(--muted); }

/* ---------- evidence ---------- */
.home-refresh .metric-card { background: #0e1a2e; }
.home-refresh .metric-card.featured { background: linear-gradient(160deg, #15284a, #0e1b33); }
.home-refresh .metric-card small { color: #a9bbd0; }
.home-refresh .metric-card p { color: #b9c7d8; }
.home-refresh .claim-boundary { border-left-color: var(--cmg-warm); border-radius: 0 14px 14px 0; background: rgba(233, 180, 111, .08); }
.home-refresh .claim-boundary span { color: var(--cmg-warm); }
.home-refresh .claim-boundary p { color: #d3dceb; }

/* ---------- status, papers, updates, FAQ ---------- */
.home-refresh .status-list,
.home-refresh .status-entry,
.home-refresh .faq-list,
.home-refresh .faq-list details,
.home-refresh .paper-list a { border-color: var(--cmg-border); }
.home-refresh .review-note { background: rgba(124, 200, 230, .06); border-color: rgba(124, 200, 230, .22); }
.home-refresh .review-note .review-scope { border-top-color: var(--cmg-border); }
.home-refresh .papers-grid h3 { color: #9fb2c8; }
.home-refresh .paper-list a:hover { color: #fff; }
.home-refresh .supplements a { border-color: var(--cmg-border-strong); border-radius: 10px; color: #c9d5e3; }
.home-refresh .news-list ol { border-left-color: rgba(124, 200, 230, .3); }
.home-refresh .news-list li::before { background: #5fb4e8; box-shadow: 0 0 0 3px #16253f; }
.home-refresh .faq-list summary { color: #eef3fb; }
.home-refresh .faq-section details { border-radius: 0; }
.home-refresh .faq-list summary span { color: var(--cmg-accent); }

.home-refresh footer { background: rgba(6, 10, 19, .82); border-top-color: var(--cmg-border); }

/* ---------- closing summary: what CMG is, could become, is not ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scope-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 26px 22px; border: 1px solid var(--cmg-border); border-radius: 18px;
  background: var(--cmg-inset);
}
.scope-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--scope-accent); }
.scope-is { --scope-accent: #59c9a0; }
.scope-could { --scope-accent: #6fa8f0; }
.scope-not { --scope-accent: #e3a957; }
.scope-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 600 1.32rem/1.3 "CMG Serif", Georgia, serif; color: #f4f7fc;
}
.scope-kicker::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--scope-accent); box-shadow: 0 0 10px var(--scope-accent); }
.scope-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.scope-card li { position: relative; padding-left: 18px; color: #cbd6e4; font-size: .94rem; line-height: 1.7; }
.scope-card li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--scope-accent); }
.scope-note-line { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--cmg-border); color: #8b9bb0; font-size: .84rem; font-style: italic; }
.scope-card ul + .scope-note-line { margin-top: 18px; }
.home-refresh .scope-sources { margin-top: 22px; }

/* ---------- phones and tablets ---------- */
@media (max-width: 1100px) {
  .scope-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .home-refresh .summary-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-refresh main > .section,
  .home-refresh .summary-strip { width: calc(100% - 24px); }
  .home-refresh main > .section { padding: 26px 18px; border-radius: 20px; margin-bottom: 16px; }
  .home-refresh .summary-strip { margin-bottom: 16px; gap: 12px; }
  .home-refresh .summary-strip article { padding: 22px 20px; border-radius: 18px; }
  .home-refresh main > .evidence-section::before,
  .home-refresh main > .scope-section::before { left: 18px; right: 18px; }
  .scope-card { padding: 22px 18px 18px 22px; }
  .home-refresh .bg-fx span { width: 300px; height: 300px; filter: blur(70px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-refresh .bg-fx span, .home-refresh .bg-fx::after { animation: none !important; }
}
@media print {
  .home-refresh { background: #fff; color: #132135; }
  .home-refresh .bg-fx { display: none; }
  .home-refresh main > .section { box-shadow: none; background: #fff; color: #132135; break-inside: avoid; }
}
/* <<< portal-2026-11-14 */
