/* Dark theme, hand-tuned. site/build_dark.py generates the bulk of the dark palette
   from the light stylesheets (dark-base.css plus dark-home.css or dark-campaign.css);
   this file loads after them and holds what a colour mapping cannot decide. */
html[data-theme="dark"]{color-scheme:dark}

/* The landing keeps a faint version of the light theme's blue glow. */
html[data-theme="dark"] .landing{background:radial-gradient(1100px 620px at 78% -6%,rgba(64,96,255,.16),transparent 70%),radial-gradient(900px 560px at -10% 38%,rgba(90,110,255,.08),transparent 70%),#080e1b}
html[data-theme="dark"] .live-dot{background:#7f97ff;box-shadow:0 0 0 4px rgba(127,151,255,.16)}

/* Diagrams are drawn for white paper (and multiplied onto it), so they keep a
   paper backdrop instead of vanishing into the dark card. */
html[data-theme="dark"] .home-diagram .artifact-cover{background:#e7ebf4}

/* Student feedback: the reply pane reads as the accent side, not a sage one. */
html[data-theme="dark"] .feedback-split>section{color:#d3d9e6}
html[data-theme="dark"] .feedback-split>section:last-child{background:#1a2546}
html[data-theme="dark"] .feedback-split .feedback-note{border-top-color:rgba(160,180,255,.16)}
