:root {
  color-scheme:dark;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:#020617;
  color:#f8fafc;
  --primary:#60a5fa;
  --muted:#cbd5e1;
  --surface:#111827;
  --text:#f8fafc;
  --line:#ffffff26
}
* {
  box-sizing:border-box
}
body { margin:0; background:var(--mud-palette-background); color:var(--mud-palette-text-primary); }
.editorial-content { line-height:1.7; }
.editorial-content a:not(.cta), footer a {
  color:var(--primary);
  text-underline-offset:.2em
}
.editorial-content a:not(.cta):hover, footer a:hover {
  color:#bfdbfe
}
button {
  font:inherit
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #a78bfa;
  outline-offset:4px
}
.editorial-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  padding:1rem max(1rem,calc((100vw - 1100px)/2));
  border-bottom:1px solid var(--line)
}
.editorial-header nav {
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap
}
.editorial-header nav a {
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.brand {
  color:#f8fafc;
  font-size:1.2rem;
  font-weight:750;
  text-decoration:none;
  overflow-wrap:anywhere
}
.editorial-header button {
  min-height:44px;
  border:1px solid var(--line);
  border-radius:.6rem;
  color:inherit;
  background:var(--surface);
  padding:.4rem .85rem;
  cursor:pointer
}
.editorial-content {
  max-width:850px;
  margin:auto;
  padding:1.25rem max(1.25rem,env(safe-area-inset-right)) 3rem
}
.breadcrumb {
  color:var(--muted);
  font-size:.88rem;
  overflow-wrap:anywhere
}
.editorial-hero {
  padding:2.3rem 0 1.2rem
}
.eyebrow {
  color:var(--primary);
  font-weight:700;
  letter-spacing:.04em
}
h1 {
  font-size:clamp(2rem,5vw,3.35rem);
  line-height:1.16;
  letter-spacing:-.025em;
  margin:.5rem 0 1.2rem;
  overflow-wrap:break-word
}
.lede {
  font-size:1.16rem;
  color:var(--muted)
}
h2 {
  font-size:clamp(1.35rem,3vw,1.7rem);
  line-height:1.3;
  scroll-margin-top:76px
}
.editorial-content section {
  margin-top:2.7rem
}
p {
  margin:1rem 0
}
li {
  margin:.4rem 0
}
ul {
  padding-left:1.35rem
}
.cta {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:.6rem 1.15rem;
  margin:.6rem 0;
  background:#60a5fa;
  color:#061426;
  border-radius:.6rem;
  font-weight:750;
  text-decoration:none
}
.cta:hover {
  background:#93c5fd;
  color:#061426
}
.contents {
  border-block:1px solid var(--line);
  padding:1rem 0;
  margin:1rem 0 2rem
}
.contents ul {
  margin:.4rem 0
}
.example {
  padding:1.2rem 1.5rem;
  margin-top:2.5rem;
  border-left:3px solid #a78bfa;
  background:var(--surface)
}
.example h2 {
  margin-top:0
}
details {
  border-bottom:1px solid var(--line);
  padding:.85rem 0
}
summary {
  cursor:pointer;
  font-weight:650;
  min-height:44px;
  align-content:center
}
details p {
  color:var(--muted)
}
.related a {
  display:inline-block;
  padding:.25rem 0;
  min-height:44px
}
footer {
  border-top:1px solid var(--line);
  max-width:1100px;
  margin:auto;
  padding:2rem 1.25rem;
  color:var(--muted)
}
footer nav {
  display:flex;
  gap:.5rem 1.5rem;
  flex-wrap:wrap;
  margin-top:.5rem
}
footer a {
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.skip {
  position:absolute;
  top:0;
  left:1rem;
  transform:translateY(-150%);
  padding:.5rem 1rem;
  background:white;
  color:#111;
  z-index:2000
}
.skip:focus {
  transform:none
}
@media(max-width:420px) {
  .editorial-header {
    gap:.2rem;
    padding:.7rem 1.25rem
  }
  .editorial-header nav {
    gap:.8rem
  }
  .editorial-hero {
    padding-top:1.2rem
  }
}
@media(prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior:smooth
  }
}

html[data-theme="light"] { color-scheme:light; --primary:#2563eb; --muted:#475569; --surface:#fff; --text:#111827; --line:#0f172a26; }
.editorial-language { margin:0; text-align:end; }
