/* StudyGPA site. White, black and a little pink. One stylesheet for every page; no scripts, no web fonts.
   Light is the default; dark follows the device (black, white, the lighter pink). Raise ?v= in build.py on change. */

:root {
  --bg: #FFFFFF;
  --ink: #0B0B0D;
  --muted: #5D5F66;
  --line: #E4E4E8;
  --soft: #F4F4F6;
  --pink: #D81B8C;
  --ok: #12805C;
  --warn: #B4381F;
  --r: 28px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --ink: #FFFFFF; --muted: #A3A5AD; --line: #27272C; --soft: #121215; --pink: #FF5CB8; --ok: #3DDC9A; --warn: #FF806B; }
}
/* A band flips the two grounds: black on a white page, white on a black one. */
.band { --bg: #0B0B0D; --ink: #FFFFFF; --muted: #A3A5AD; --line: #2A2A30; --soft: #17171B; --pink: #FF5CB8; --ok: #3DDC9A; background: var(--bg); color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .band { --bg: #FFFFFF; --ink: #0B0B0D; --muted: #5D5F66; --line: #E4E4E8; --soft: #F4F4F6; --pink: #D81B8C; --ok: #12805C; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { color: inherit; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.wordmark { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.wordmark i { color: var(--pink); font-style: normal; }
.site-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--soft); color: inherit; }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.site-nav a { white-space: nowrap; }
@media (max-width: 560px) { .site-nav .nav-wide { display: none; } .site-nav a { padding: 8px 10px; } }
@media (max-width: 440px) { .site-nav li:nth-child(3) { display: none; } .site-nav ul { gap: 2px; } }

/* Type */
.display { margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
h1.display { font-size: clamp(2.75rem, 9vw, 5.5rem); }
h2.display { font-size: clamp(2.125rem, 6vw, 3.75rem); }
.display em { color: var(--pink); font-style: normal; }
.kicker { margin: 0 0 14px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lede { margin: 18px 0 0; max-width: 34em; font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.note { margin: 20px 0 0; font-size: 0.9375rem; color: var(--muted); }
.note a { color: var(--ink); font-weight: 600; }

/* Sections */
.sec { padding: clamp(64px, 10vw, 128px) 0; }
.sec + .sec:not(.band) { border-top: 1px solid var(--line); }
.band + .sec { border-top: 0 !important; }
.feat { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .feat.is-flip > .art { order: -1; }
}
.pts { margin: 26px 0 0; padding: 0; list-style: none; max-width: 32em; }
.pts li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); color: var(--muted); }
.pts li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.pts li:first-child::before { background: var(--pink); }
.pts strong { color: var(--ink); font-weight: 650; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; } }
.soon { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 30px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.band .pill::before, .pill.is-plain::before { display: none; }
.soon span:not(.pill) { font-size: 0.9375rem; color: var(--muted); }

/* The card on its tile: the icon, life size. It turns over by itself: the logo on the front; on the back,
   what you have goes into the orb, the orb spins and takes the card over, and out comes everything you study with.
   One 14 s loop, CSS only. Sizes inside the card are in cqw so it works at any width. */
.tile { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1.04; border-radius: 22.5%/21.6%; overflow: hidden; background: linear-gradient(#2B2D38, #383B4A); perspective: 1400px; }
.fan { position: absolute; left: 21.8%; top: 17.6%; width: 56.4%; height: 64.8%; border-radius: 10% / 8.7%; }
.fan.a { transform: rotate(90deg); background: #555A70; }
.fan.b { transform: rotate(67.5deg); background: #7B7F93; }
.fan.c { transform: rotate(-67.5deg); background: #7B7F93; }
.fan.d { transform: rotate(45deg); background: #A0A5B5; }
.fan.e { transform: rotate(-45deg); background: #A0A5B5; }
.fan.f { transform: rotate(22.5deg); background: #C6CAD8; }
.fan.g { transform: rotate(-22.5deg); background: #C6CAD8; }
.flip { position: absolute; left: 19%; top: 15%; width: 62%; height: 70%; transform-style: preserve-3d; animation: card-turn 14s ease-in-out infinite; }
.face { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; container-type: size; border-radius: 9% / 8%; background: linear-gradient(#FFFFFF, #EEF0F6); color: #17181F; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.face.is-back { transform: rotateY(180deg); }
.face .mark { width: 78%; height: auto; }
.ins, .outs { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ins li { position: absolute; left: 50%; top: 50%; padding: 0.3em 0.75em; border-radius: 999px; background: #17181F; color: #FFFFFF; font-size: 4.6cqw; font-weight: 700; white-space: nowrap; opacity: 0; animation: fly-in 14s ease-in infinite; }
.ins li:nth-child(1) { --x: -26cqw; --y: -44cqw; }
.ins li:nth-child(2) { --x: 27cqw; --y: -35cqw; animation-delay: 0.35s; }
.ins li:nth-child(3) { --x: -31cqw; --y: 6cqw; animation-delay: 0.7s; }
.ins li:nth-child(4) { --x: 24cqw; --y: 33cqw; animation-delay: 1.05s; }
.ins li:nth-child(5) { --x: -20cqw; --y: 44cqw; animation-delay: 1.4s; }
.orb { position: absolute; left: 50%; top: 50%; width: 30cqw; aspect-ratio: 1; margin: -15cqw 0 0 -15cqw; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FF9AD6 0, #E32A98 38%, #D81B8C 62%, #A01268 100%); transform: scale(0); animation: orb 14s ease-in-out infinite; }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0 20%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0) 42% 70%, rgba(255, 255, 255, 0.35) 80%, rgba(255, 255, 255, 0) 92%); animation: orb-spin 1.1s linear infinite, orb-streak 14s linear infinite; }
.outs { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2cqw; }
.outs li { padding: 0.32em 0.85em; border-radius: 999px; background: #FFFFFF; color: #17181F; font-size: 5.3cqw; font-weight: 750; line-height: 1.2; white-space: nowrap; opacity: 0; animation: spit 14s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite; }
.outs li:nth-child(1) { --dy: 35.85cqw; }
.outs li:nth-child(2) { --dy: 23.9cqw; animation-delay: 0.45s; }
.outs li:nth-child(3) { --dy: 11.95cqw; animation-delay: 0.9s; }
.outs li:nth-child(4) { --dy: 0cqw; animation-delay: 1.35s; }
.outs li:nth-child(5) { --dy: -11.95cqw; animation-delay: 1.8s; }
.outs li:nth-child(6) { --dy: -23.9cqw; animation-delay: 2.25s; }
.outs li:nth-child(7) { --dy: -35.85cqw; animation-delay: 2.7s; }
@keyframes card-turn { 0%, 14% { transform: rotateY(0); } 19%, 94% { transform: rotateY(180deg); } 99%, 100% { transform: rotateY(360deg); } }
@keyframes fly-in {
  0%, 19% { opacity: 0; transform: translate(-50%, -50%) translate(var(--x), var(--y)); }
  22%, 26% { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)); }
  33%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
}
@keyframes orb { 0%, 19% { transform: scale(0); } 23% { transform: scale(1); } 28% { transform: scale(1.08); } 32% { transform: scale(1); } 36% { transform: scale(1.1); } 40% { transform: scale(1); } 47% { transform: scale(1.2); } 55%, 100% { transform: scale(6); } }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-streak { 0%, 19% { opacity: 0; } 23%, 47% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes spit {
  0%, 55% { opacity: 0; transform: translateY(var(--dy)) scale(0.15); }
  59%, 93% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
.art-cap { margin: 14px auto 0; max-width: 520px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flip, .orb, .orb::before, .ins li, .outs li { animation: none; }
  .flip { transform: rotateY(180deg); }
  .orb { transform: scale(6); }
  .orb::before { opacity: 0; }
  .outs li { opacity: 1; }
}

/* Steps and the five ways */
.steps, .five, .tiles { display: grid; gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 560px) { .five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .five { grid-template-columns: repeat(5, 1fr); } .tiles.n4 { grid-template-columns: repeat(4, 1fr); } }
.steps li, .five li, .tiles li { padding: 26px 24px 28px; border-radius: var(--r); background: var(--soft); }
.steps .n { display: block; font-size: 3.25rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.steps li:first-child .n { color: var(--pink); }
.steps h3, .five h3, .tiles h3 { margin: 14px 0 6px; font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.five h3, .tiles h3 { margin-top: 0; }
.steps p, .five p, .tiles p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* Art panels: real content from the sample class, drawn simply */
.art { min-width: 0; }
.panel { max-width: 460px; margin: 0 auto; padding: 22px; border-radius: var(--r); background: var(--soft); }
.sheet { padding: 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.sheet + .sheet { margin-top: 12px; }
.sheet .topic { margin: 0; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sheet .q { margin: 8px 0 0; font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; }
.rows { margin: 16px 0 0; padding: 0; list-style: none; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 650; }
.rows small { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.rows.is-right li { border-color: var(--ok); }
.tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: var(--bg); font-size: 0.8125rem; font-weight: 800; }
.when { flex: none; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.star { color: var(--pink); }
.line { display: flex; gap: 10px; margin: 12px 0 0; line-height: 1.4; }
.line b { flex: none; }
.at { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--soft); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 0.9375rem; font-weight: 650; }
.chips li.is-on { background: var(--ink); color: var(--bg); }
.sketches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 44px 0 0; }
.art .sketches { max-width: 460px; margin: 0 auto; }
@media (min-width: 760px) { .art .sketches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .sketches { grid-template-columns: repeat(4, 1fr); } }
.sketches figure { margin: 0; padding: 12px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); }
.sketches img { display: block; width: 100%; border-radius: 10px; }
.sketches figcaption { margin-top: 8px; font-size: 0.8125rem; font-weight: 600; color: #5D5F66; text-align: center; }

/* Pledges (on a band) and closing */
.pledges { display: grid; gap: 28px; margin: 44px 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .pledges { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.pledges strong { display: block; font-size: 1.375rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.pledges span { display: block; margin-top: 8px; color: var(--muted); }
.platforms { margin: 44px 0 0; font-size: 0.9375rem; color: var(--muted); }
.closing { text-align: center; }
.closing .lede { margin-left: auto; margin-right: auto; }
.closing .soon { justify-content: center; }
.fineprint { max-width: 62em; margin: 56px auto 0; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); text-align: left; }

/* FAQ */
.faq { max-width: 760px; margin: 36px 0 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 500; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; max-width: 40em; color: var(--muted); }

/* Footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } .site-footer .legal { grid-column: 1 / -1; } }
.site-footer .tagline { margin: 8px 0 0; color: var(--muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; max-width: 520px; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer .legal { margin: 0; color: var(--muted); font-size: 0.8125rem; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 80px 24px; text-align: center; }
.lost p { color: var(--muted); }
.btn { display: inline-flex; align-items: center; min-height: 48px; margin-top: 18px; padding: 10px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.btn:hover { color: var(--bg); background: var(--pink); }

/* Documents: privacy, terms, support, parents (the body comes from the legal build; see build.py) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 24px clamp(64px, 9vw, 112px); }
.doc-head { margin-bottom: 28px; }
.doc h1.display { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.doc .updated { margin: 12px 0 0; color: var(--muted); font-size: 0.9375rem; }
.renamed { margin: 0 0 28px; padding: 14px 18px; border-radius: 16px; background: var(--soft); border-left: 4px solid var(--pink); font-size: 0.9375rem; }
.doc h2 { margin: 44px 0 10px; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; scroll-margin-top: 76px; }
.doc h3 { margin: 28px 0 8px; font-size: 1.125rem; font-weight: 700; scroll-margin-top: 76px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.doc p { margin: 12px 0 0; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc strong { color: var(--ink); }
.doc a { font-weight: 600; overflow-wrap: anywhere; }
.toc { margin: 28px 0 0; padding: 20px 22px; border-radius: 20px; background: var(--soft); }
.doc .toc h2 { margin: 0 0 8px; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; columns: 2; column-gap: 28px; font-size: 0.9375rem; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a { text-decoration: none; }
.table-wrap { margin: 16px 0 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.doc th, .doc td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--soft); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }
.stack { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.doc details { border-top: 1px solid var(--line); }
.doc details summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.doc details > :last-child { margin-bottom: 16px; }

/* The sample note (/notes-example/): the generator's markup, in the new colours */
.sample-note { --hue: var(--ink); --gold: var(--pink); }
.sample-note .sn-kicker { margin: 0 0 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sample-note .sn-meta { margin: 12px 0 0; color: var(--muted); font-size: 0.9375rem; }
.sample-note .sn-intro { margin-top: 24px; }
.sn-summary { margin: 24px 0 0; padding: 18px 20px; border-radius: 20px; background: var(--soft); }
.doc .sn-summary p { margin: 0; }
.doc .sn-summary .sn-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: var(--muted); font-size: 0.875rem; }
.sn-stats .gold { display: inline-flex; align-items: center; gap: 4px; color: var(--pink); font-weight: 700; }
.sn-sec { margin: 16px 0 0; padding: 22px 22px 24px; border-radius: 22px; border: 1px solid var(--line); }
.doc .sn-sec h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; font-size: 1.3125rem; }
.sn-ai { padding: 3px 10px; border-radius: 999px; background: var(--soft); font-size: 0.8125rem; font-weight: 600; }
.doc .sn-note { color: var(--muted); font-size: 0.9375rem; }
.doc .sn-gist { margin-top: 6px; color: var(--muted); font-weight: 500; }
.doc .sn-blocks { margin: 10px 0 0; padding: 0; list-style: none; }
.doc .sn-b { display: flex; gap: 10px; margin: 10px 0 0; line-height: 1.5; }
.sn-b > div { min-width: 0; }
.sn-mark { flex: none; width: 20px; font-weight: 700; text-align: center; }
.sn-stressed .sn-mark { color: var(--pink); }
.sn-stressed > div { font-weight: 650; color: var(--ink); }
.sn-star { margin-top: 5px; }
.sn-detail { padding-left: 22px; }
.sn-detail .sn-mark { color: var(--muted); }
.sn-term, .sn-label { color: var(--ink); font-weight: 750; }
.sn-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 0.75rem; }
.sn-formula code { display: inline-block; padding: 8px 12px; border-radius: 10px; background: var(--soft); font: 600 1rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; }
.sn-warning > div { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 9%, transparent); }
.sn-warning .sn-label, .sn-warning .sn-mark { color: var(--warn); }
.sn-mine > div { padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.sn-jot { display: table; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.sn-at { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 0.75rem; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc .sn-moment { margin: 18px 0 0; color: var(--pink); font-size: 0.875rem; font-weight: 700; }
.doc .sn-moment:first-child { margin-top: 8px; }
.sn-table { margin: 16px 0 0; overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.sn-table table, .sn-values table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.sn-table tr:last-child td { border-bottom: 0; }
/* The charts are drawn for a dark ground by the generator, so they keep one. */
.sn-chart { margin: 18px 0 0; padding: 14px 14px 12px; border-radius: 16px; background: #0B0B0D; color: #FFFFFF; }
.sn-chart-title { font-weight: 600; line-height: 1.35; }
.sn-chart-title > span:first-child { display: inline-block; margin-right: 6px; vertical-align: -3px; }
.sn-chart-title .sn-shape { margin-left: 8px; }
.sn-shape { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #C9CAD1; font-size: 0.75rem; font-weight: 700; }
.sn-chart svg { display: block; width: 100%; max-width: 480px; height: auto; margin-top: 10px; }
.doc .sn-chart .sn-takeaway { margin-top: 8px; color: #C9CAD1; font-size: 0.9375rem; }
.doc .sn-takeaway { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.sn-chart .sn-values { margin-top: 10px; font-size: 0.875rem; }
.sn-chart .sn-values summary { color: #C9CAD1; cursor: pointer; padding: 4px 0; font-weight: 600; }
.doc .sn-chart details { border-top: 0; }
.doc .sn-chart th, .doc .sn-chart td { background: none; color: #FFFFFF; border-bottom-color: rgba(255, 255, 255, 0.14); }
.doc .sn-foot { margin-top: 32px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 480px) { .sn-sec { padding: 16px 14px 18px; } .sn-detail { padding-left: 12px; } }
