:root{color-scheme:light dark;--focus:#b14c00;--summary:#3c4c61;--notice-bg:#edf2fb;--notice-line:#d4deee;--notice-ink:#364b70;--code:#f3f5f4;--ink:#172435;--muted:#526174;--paper:#fff;--wash:#f5f7fa;--line:#d7dfe9;--accent:#2451a0;--reading:48rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:var(--accent);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}a:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:2px}.skip-link{position:absolute;left:1rem;top:-6rem;padding:.7rem 1rem;background:var(--paper);z-index:5}.skip-link:focus{top:1rem}.site-header{max-width:76rem;margin:auto;display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1.5rem 2rem}.brand{font-size:1.25rem;font-weight:750;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.site-header nav a{font-size:.95rem}.preview-notice{background:var(--notice-bg);border-block:1px solid var(--notice-line);color:var(--notice-ink)}.preview-notice p{max-width:72rem;margin:0 auto;padding:.55rem 2rem;font-size:.85rem}main{max-width:76rem;margin:0 auto;padding:3rem 2rem 5rem}main:focus{outline:none}h1,h2,h3{line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere}h1{font-size:clamp(2rem,4.5vw,3.6rem);margin:.65rem 0 1.2rem}h2{font-size:1.6rem}h3{font-size:1.3rem}p{overflow-wrap:anywhere}.index-intro{max-width:var(--reading);margin-bottom:3rem}.index-intro>p:last-child{font-size:1.15rem;color:var(--muted)}.eyebrow{font-size:.8rem;letter-spacing:.065em;text-transform:uppercase;font-weight:650;color:var(--muted);margin:0}.article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr));gap:1.5rem}.article-card{border:1px solid var(--line);border-radius:.75rem;padding:1.6rem;background:var(--paper)}.article-card h2{margin:.65rem 0;font-size:1.5rem}.article-card h2 a{text-decoration:none}.article-card h2 a:hover{text-decoration:underline}.article-card>p:not(.eyebrow){margin:.7rem 0}.dates,.source-count,.list-note,.source-date{font-size:.85rem;color:var(--muted)}.empty{padding:2rem;background:var(--wash);border:1px solid var(--line);border-radius:.75rem;max-width:var(--reading)}.empty p:first-child{font-weight:650}.reading{max-width:var(--reading);margin:auto}.article-header{margin-bottom:2.5rem}.summary{font-size:1.25rem;line-height:1.55;color:var(--summary)}.tags{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0}.tags li{font-size:.8rem;padding:.25rem .65rem;border-radius:2rem;background:var(--wash);border:1px solid var(--line)}figure{margin:2rem 0}figure img{display:block;width:100%;height:auto;border-radius:.65rem}figcaption{margin-top:.65rem;font-size:.9rem;color:var(--muted)}.article-body{font-family:Georgia,"Times New Roman",serif;font-size:1.16rem;line-height:1.8}.article-body p{margin:1.4rem 0}.article-body h2,.article-body h3{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin-top:2.5rem}.sources{margin-top:3rem;border-top:1px solid var(--line);padding-top:1rem}.sources ul{padding-left:1.35rem}.sources li{margin:.8rem 0;overflow-wrap:anywhere}.series-panel{margin-top:2.5rem;padding:1.5rem;background:var(--wash);border:1px solid var(--line);border-radius:.75rem}.series-panel h2{margin:.7rem 0}.series-parts{list-style:none;padding:0;margin-bottom:0}.series-parts li{padding:.6rem 0;border-top:1px solid var(--line)}.series-parts [aria-current=page]{font-weight:700}.part-number{color:var(--muted)}.pending{display:block;font-size:.8rem;color:var(--muted);font-weight:400;margin-left:1.3rem}.back-link{margin-top:2.5rem}.error-state{padding-block:2rem}.error-state h1{font-size:clamp(2rem,4vw,2.8rem)}.site-footer{background:var(--wash);border-top:1px solid var(--line);padding:1.5rem 2rem;color:var(--muted);font-size:.85rem}.site-footer p{max-width:72rem;margin:auto}@media(max-width:40rem){.site-header{padding:1.1rem 1.2rem;align-items:flex-start;flex-direction:column;gap:.6rem}.preview-notice p{padding-inline:1.2rem}main{padding:2rem 1.2rem 3rem}.article-card{padding:1.25rem}.series-panel{padding:1.2rem}.site-footer{padding-inline:1.2rem}.summary{font-size:1.15rem}.article-body{font-size:1.1rem}}

.pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:2rem;font-size:.95rem}.pagination span{color:var(--muted)}@media(max-width:30rem){.pagination{flex-wrap:wrap;justify-content:center}.pagination span{flex-basis:100%;text-align:center;order:-1}}
.site-header{flex-wrap:wrap}.brand:has(.brand-name){display:inline-flex;flex-direction:column;gap:.15rem}.brand-descriptor{font-size:.78rem;line-height:1.4;font-weight:500;letter-spacing:.025em;color:var(--muted)}.main-nav a[aria-current=page]{font-weight:750;text-decoration:underline;text-decoration-thickness:2px}.author-profile{min-width:0;overflow-wrap:anywhere}.author-profile section{margin-top:2rem}.author-profile li{margin:.65rem 0}.author-profile a{white-space:normal;overflow-wrap:anywhere}.author-profile>h1{margin-bottom:2rem}

/* Bundled editorial layout: lead story followed by roomy article cards. */
[data-template=editorial] .article-lead{grid-column:1 / -1;background:var(--wash);padding:2rem}[data-template=editorial] .article-lead h2{font-size:clamp(1.8rem,3.5vw,2.65rem)}.lead-image figure{margin:0 0 1.5rem}.lead-image figcaption{font-size:.8rem}.card-content>p:not(.eyebrow){margin:.7rem 0}[data-template=editorial] .article-header{border-bottom:1px solid var(--line);padding-bottom:1.5rem}
/* Bundled briefing layout: compact dated feed for repeated daily consultation. */
[data-template=briefing] .index-intro{max-width:none;border-bottom:3px solid var(--ink);padding-bottom:1.5rem;margin-bottom:2rem}[data-template=briefing] .index-intro h1{font-size:clamp(1.8rem,3.8vw,2.65rem)}.briefing-list{list-style:none;padding:0;margin:0}.briefing-entry{display:grid;grid-template-columns:12rem minmax(0,1fr);gap:2rem;padding:1.5rem 0;border-bottom:1px solid var(--line)}.briefing-meta .dates{margin:.6rem 0}.briefing-content h2{font-size:1.35rem;margin:0 0 .6rem}.briefing-content h2 a{text-decoration:none}.briefing-content h2 a:hover{text-decoration:underline}.briefing-content p{margin:0;color:var(--muted)}[data-template=briefing] .article-header{border-left:4px solid var(--accent);padding-left:1.4rem}[data-template=briefing] .article-header h1{font-size:clamp(1.8rem,4vw,2.75rem)}[data-template=briefing] .site-header{border-bottom:3px solid var(--ink)}
@media(min-width:55rem){[data-template=editorial] .article-lead:has(.lead-image){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:center}.lead-image figure{margin:0}}@media(max-width:40rem){[data-template=editorial] .article-lead{padding:1.25rem}.briefing-entry{grid-template-columns:1fr;gap:.6rem}.briefing-meta{display:flex;gap:.5rem 1rem;flex-wrap:wrap;align-items:center}.briefing-meta .dates,.briefing-meta .source-count{margin:0}[data-template=briefing] .article-header{padding-left:1rem}}

.main-nav,.topic-nav,.site-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .65rem}.main-nav a,.topic-nav a,.site-footer nav a{display:inline-flex;align-items:center;min-height:2.75rem;padding:.45rem .35rem;white-space:nowrap}.topic-nav{max-width:76rem;margin:auto;padding:.3rem 2rem .55rem;border-bottom:1px solid var(--line);font-size:.87rem}.topic-index{max-width:var(--reading);padding:0;margin:0;list-style:none}.topic-index li{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.topic-index span{font-size:.85rem;color:var(--muted);white-space:nowrap}.tags a{text-decoration:none}.tags a:hover{text-decoration:underline}.site-footer nav{max-width:72rem;margin:1rem auto 0}.legal-page{line-height:1.7}.legal-page h2{margin-top:2rem}@media(max-width:40rem){.topic-nav{padding:.3rem 1.2rem .55rem}.main-nav{gap:.25rem .55rem}.topic-index li{align-items:flex-start}.topic-index span{white-space:normal;text-align:right}}

.article-body{display:flow-root}.article-image-inline{width:50%;clear:both;margin-top:.4rem;margin-bottom:1rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}.article-image-left{float:left;margin-right:1.5rem}.article-image-right{float:right;margin-left:1.5rem}@media(max-width:40rem){.article-image-inline{float:none;width:100%;margin:1.5rem 0}}
/* Guide navigation and editorial content remain readable without client scripts. */
.guide-reading{clear:both;margin:32px 0;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--wash)}.guide-reading nav{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.guide-index{padding-left:24px;line-height:1.8}.guide-index li{margin:14px 0}.image-credit{display:block;margin-top:5px;font-size:.82em}.article-body pre{clear:both;white-space:pre;overflow-x:auto;background:var(--code);border:1px solid var(--line);border-radius:7px;padding:16px;font-size:.88em;line-height:1.6}.article-body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.article-body :not(pre)>code{background:var(--code);border-radius:3px;padding:2px 4px}.article-body li{margin-bottom:8px}.article-body a{overflow-wrap:anywhere}

.contact-details{max-width:100%;margin-block:1rem}.contact-details>summary{cursor:pointer;min-height:2.75rem;padding-block:.5rem}.contact-details>summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.contact-details p,.contact-details a{overflow-wrap:anywhere;white-space:normal}
/* The system preference controls both schemes, without scripts or stored preferences. */
@media(prefers-color-scheme:dark){:root{--ink:#edf3fa;--muted:#aebfd3;--paper:#111923;--wash:#1b2737;--line:#44546a;--accent:#9ec5ff;--focus:#ffb86b;--summary:#c5d3e3;--notice-bg:#202f49;--notice-line:#485c7b;--notice-ink:#c7d7f5;--code:#202c3b}}
.home-section{margin-block:clamp(1.75rem,4vw,3rem)}.section-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.35rem 1.5rem;margin-bottom:1rem}.section-heading h2{margin:0}.home-guides{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem}.home-guides li{min-width:0;padding:1.1rem 1.25rem;border:1px solid var(--line);border-radius:.65rem;background:var(--wash);overflow-wrap:anywhere}.home-guides h3{margin:.3rem 0}.home-author{max-width:var(--reading);border-top:1px solid var(--line)}.home-author p{color:var(--muted)}.home-archive-disclosure{border-top:1px solid var(--line);padding-top:1.5rem}.home-archive-disclosure>summary{cursor:pointer;font-size:1.15rem;font-weight:650;padding:.6rem .25rem}.home-archive-disclosure>summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.home-archive{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr));gap:1.3rem}.home-archive li{min-width:0;border-bottom:1px solid var(--line);padding-bottom:1rem}.home-archive h3{font-size:1.2rem;margin:.5rem 0}.home-archive .dates{margin:.4rem 0}
.breadcrumbs{margin-bottom:2rem;font-size:.85rem;color:var(--muted)}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.35rem .6rem;list-style:none;padding:0}.breadcrumbs li{min-width:0;overflow-wrap:anywhere}.breadcrumbs li+li::before{content:"/";padding-right:.6rem}.article-categories,.share-links{font-size:.9rem}.share-links{clear:both;margin-top:2rem;border-top:1px solid var(--line);padding-top:1.25rem}

/* Fabio's supplied editorial identity extends the existing reading layout. */
body[data-editorial-profile="fabio-accalai"] {
  --ink:#0b132b;
  --muted:#475569;
  --paper:#f8fafc;
  --wash:#eef3fa;
  --line:#cbd5e1;
  --accent:#2563eb;
  --summary:#334155;
  color:var(--ink);
  background:var(--paper);
}
body[data-editorial-profile="fabio-accalai"] ::selection { color:#f8fafc; background:#2563eb; }
body[data-editorial-profile="fabio-accalai"] .brand {
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  gap:.8rem;
  max-width:100%;
  min-width:0;
}
body[data-editorial-profile="fabio-accalai"][data-portal-theme="v2"] .main-nav a {
  color:var(--ink);
  text-decoration:none;
}
body[data-editorial-profile="fabio-accalai"][data-portal-theme="v2"] .main-nav a:is(:hover,:focus-visible,[aria-current=page]) {
  color:var(--accent);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:.35em;
}
.brand-mark { display:block; flex:0 0 4rem; width:4rem; }
.brand-mark img { display:block; width:100%; height:auto; }
.brand-copy { display:flex; flex-direction:column; gap:.15rem; min-width:0; }
.brand-copy .brand-name { font-size:1.2rem; line-height:1.25; }
.brand-copy .brand-descriptor { max-width:24rem; font-size:.75rem; letter-spacing:0; }
.editorial-hero {
  --portrait-width:clamp(9.75rem,13vw,11rem);
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--portrait-width);
  align-items:center;
  gap:clamp(1.25rem,3vw,2.5rem);
  padding-block:1.65rem;
  padding-inline:clamp(1.5rem,3.5vw,2.5rem);
  margin-bottom:3rem;
  border-radius:1rem;
  color:#f8fafc;
  background-color:#0b132b;
  background-image:linear-gradient(108deg,transparent 45%,#1d2e48);
}
.hero-copy { min-width:0; }
.editorial-hero h1 { font-size:clamp(2.6rem,4.5vw,4.4rem); margin:0 0 .8rem; }
.hero-subtitle { max-width:32rem; margin:0; font-size:clamp(1.15rem,2.1vw,1.65rem); line-height:1.4; font-weight:600; color:#7dd3fc; }
.hero-payoff { max-width:35rem; margin:.8rem 0 .4rem; font-size:1.1rem; color:#cbd5e1; }
.hero-archive-link { display:inline-flex; align-items:center; min-height:2.75rem; color:#f8fafc; }
.hero-archive-link:focus-visible { outline-color:#7dd3fc; }
.hero-portrait {
  display:block;
  width:var(--portrait-width);
  aspect-ratio:1;
  overflow:hidden;
  border:1px solid #59728c;
  border-radius:50%;
  background-color:#223552;
}
.hero-portrait img { display:block; width:100%; height:100%; object-fit:cover; }

.home-stories .article-card { min-width:0; }
.home-story-copy { min-width:0; }
.home-story-copy h3 {
  margin:0;
  font-size:clamp(1.15rem,2.1vw,1.45rem);
  text-wrap:balance;
}
.home-story-copy h3 a {
  color:var(--ink);
  text-decoration-thickness:1px;
  text-decoration-color:var(--muted);
}
.home-story-copy h3 a:is(:hover,:focus-visible) {
  color:var(--accent);
  text-decoration-color:currentColor;
  text-decoration-thickness:2px;
}
.home-story-summary {
  max-width:70ch;
  margin:.65rem 0 .85rem;
  color:var(--summary);
}
.home-story-meta {
  display:flex;
  flex-wrap:wrap;
  column-gap:.85rem;
  color:var(--muted);
  font-size:.85rem;
}
.home-story-meta p { margin:0; }
.home-story-meta p:first-child { font-weight:650; }
.home-story-copy .tags { margin:.65rem 0 0; gap:.35rem; }
.home-story-copy .tags li { min-width:0; max-width:100%; padding:0; }
.home-story-copy .tags a {
  display:inline-flex;
  align-items:center;
  min-height:1.5rem;
  max-width:100%;
  padding:.1rem .55rem;
  overflow-wrap:anywhere;
}
.home-stories--lead .article-card {
  padding:clamp(1rem,2vw,1.5rem) 0 0;
  border:0;
  border-top:2px solid var(--ink);
  border-radius:0;
}
.home-stories--lead h3 {
  max-width:33ch;
  font-size:clamp(1.75rem,3.5vw,2.65rem);
}
.home-stories--lead .home-story-summary { font-size:1.05rem; }
.home-story-cover { margin:1.25rem 0 0; }
.home-story-cover img {
  width:auto;
  max-width:100%;
  max-height:22rem;
  object-fit:contain;
  object-position:left center;
}
.home-story-cover figcaption { font-size:.8rem; }
.home-stories--analysis {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));
  gap:1rem;
}
.home-stories--analysis .article-card {
  padding:clamp(1rem,2vw,1.35rem);
  background:var(--wash);
}
.home-stories--analysis .article-card:only-child { max-width:var(--reading); }
.home-stories--news { border-block:1px solid var(--line); }
.home-stories--news .article-card {
  padding:1.15rem 0;
  border:0;
  border-radius:0;
}
.home-stories--news .article-card + .article-card { border-top:1px solid var(--line); }
.home-topics {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  padding:0;
  margin:0;
  list-style:none;
}
.home-topics li { min-width:0; max-width:100%; }
body[data-portal-theme="v2"] .home-topics a {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0 .65rem;
  min-height:2.75rem;
  padding:.4rem .8rem;
  border:1px solid var(--line);
  border-radius:.5rem;
  background:var(--wash);
  overflow-wrap:anywhere;
  text-decoration:none;
}
body[data-portal-theme="v2"] .home-topics a:is(:hover,:focus-visible) span { text-decoration:underline; }
body[data-portal-theme="v2"] .home-topics small { color:var(--muted); font-size:.8rem; }

@media (min-width:46rem) {
  .home-stories--lead .article-card:has(.home-story-cover) {
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
    align-items:center;
    gap:clamp(1rem,4vw,3rem);
  }
  .home-story-cover { margin:0; }
}
@media (max-width:55rem) {
  .editorial-hero h1 { font-size:clamp(2.6rem,5vw,3.4rem); }
}
@media (max-width:40rem) {
  .brand-mark { flex-basis:3rem; width:3rem; }
  .brand-copy .brand-name { font-size:1.1rem; }
  .brand-copy .brand-descriptor { font-size:.74rem; }
  .editorial-hero {
    --portrait-width:clamp(7rem,30vw,8rem);
    grid-template-columns:minmax(0,1fr);
    gap:1rem;
    padding-block:1.35rem;
    background-image:linear-gradient(transparent 55%,#1d2e48);
  }
  .editorial-hero h1 { font-size:clamp(2.25rem,9.8vw,2.7rem); }
  .hero-subtitle { font-size:1.15rem; }
  .hero-payoff { font-size:1rem; }
  .hero-portrait { justify-self:center; }
}
@media (prefers-color-scheme:dark) {
  body[data-editorial-profile="fabio-accalai"] {
    --ink:#f8fafc;
    --muted:#a7b6cb;
    --paper:#0b132b;
    --wash:#172340;
    --line:#435373;
    --accent:#7dd3fc;
    --summary:#cbd5e1;
  }
  .editorial-hero { background-color:#172340; }
}
@media (forced-colors:active) {
  .editorial-hero { color:CanvasText; background:Canvas; border:1px solid CanvasText; }
  .hero-portrait { background-color:Canvas; border-color:CanvasText; }
  .hero-subtitle,.hero-payoff { color:CanvasText; }
  .hero-archive-link { color:LinkText; }
}

/* Theme V1 preserves the editorial homepage before the 6a52ad3 redesign. */
body[data-portal-theme="v1"] .home-section { margin-block:3rem; }
body[data-portal-theme="v1"] .section-heading { gap:.5rem 1.5rem; margin-bottom:1.2rem; }
body[data-portal-theme="v1"] .home-section .article-card h3 { font-size:1.4rem; margin:.65rem 0; }
body[data-portal-theme="v1"] .home-section .article-card h3 a { text-decoration:none; }
body[data-portal-theme="v1"] .home-section .article-card h3 a:hover { text-decoration:underline; }
body[data-portal-theme="v1"] .home-section .article-lead h3 { font-size:clamp(1.8rem,3.5vw,2.65rem); }
body[data-portal-theme="v1"] .home-topics,
body[data-portal-theme="v1"] .home-guides {
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));
  gap:1rem;
}
body[data-portal-theme="v1"] .home-topics li,
body[data-portal-theme="v1"] .home-guides li {
  min-width:0;
  padding:1.1rem 1.25rem;
  border:1px solid var(--line);
  border-radius:.65rem;
  background:var(--wash);
  overflow-wrap:anywhere;
}
body[data-portal-theme="v1"] .home-topics span { display:block; color:var(--muted); font-size:.85rem; }
body[data-portal-theme="v1"] .home-guides h3 { margin:.3rem 0; }
