/* Stoked-only presentation layer. Existing layouts and Coronado tokens stay intact. */
html[data-stoked-theme="navy"] {
  color-scheme: dark;
  --stoked-ink: #f8fafc;
  --stoked-ink-soft: #cbd5e1;
  --stoked-paper: #07131f;
  --stoked-surface: #0f1f2b;
  --stoked-surface-muted: #142937;
  --stoked-line: #344754;
  --stoked-green: #22c55e;
  --stoked-accent: #38bdf8;
  --stoked-error: #fda4af;
  --stoked-focus: #7dd3fc;
  --stoked-shadow: 0 24px 70px rgba(2,6,23,.34);
  --stoked-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --stoked-gradient: linear-gradient(135deg, #22c55e, #38bdf8);
  background: #07131f;
}
html[data-stoked-theme="navy"] body {
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --ink-faint: #b0c0cf;
  --muted: #cbd5e1;
  --text: #f8fafc;
  --paper: #0f1f2b;
  --paper-strong: #142937;
  --field: #091923;
  --line: #344754;
  --border: #344754;
  --moss: #7dd3fc;
  --deep-green: #22c55e;
  --gold: #38bdf8;
  --accent: #38bdf8;
  --error: #fda4af;
  --success: #86efac;
  --flow-page: #07131f;
  --flow-surface: #0f1f2b;
  --flow-surface-muted: #142937;
  --flow-border: #344754;
  --flow-muted: #cbd5e1;
  --flow-focus: #7dd3fc;
  --color-midnight-navy: #07131f;
  --color-steel-grey: #cbd5e1;
  color-scheme: dark;
  background: radial-gradient(ellipse at 12% 0%, rgba(34,197,94,.08), transparent 45%),
              radial-gradient(ellipse at 88% 8%, rgba(56,189,248,.09), transparent 40%),
              #07131f !important;
  color: #f8fafc !important;
  font-family: var(--stoked-font) !important;
  -webkit-font-smoothing: antialiased;
}
html[data-stoked-theme="navy"] :is(h1,h2,h3,h4,h5,h6,input,textarea,select,button) {
  font-family: var(--stoked-font) !important;
}
html[data-stoked-theme="navy"] :is(h1,h2,h3,h4,h5,h6) { color: #f8fafc; }
html[data-stoked-theme="navy"] :is(.card,.panel,.opportunity,.glass-card,.flow-panel,.section-card,.b2z-panel,.choice-card,.finish-card,.step-card,.info-card,.event-card,.audience-card,.topic-card,dialog) {
  background: #0f1f2b !important;
  color: #f8fafc !important;
  border-color: #344754 !important;
  box-shadow: 0 24px 70px rgba(2,6,23,.25);
}
html[data-stoked-theme="navy"] :is(.flow-panel--accent,.flow-panel--agent,.event-strip,.example,.notice,.chip,.pill,.badge,.choice-card.is-selected) {
  background: #142937 !important;
  color: #d5edf9 !important;
  border-color: #344754 !important;
}
html[data-stoked-theme="navy"] :is(.topbar,.pilot-header,.club-header,.flow-nav) {
  border-color: #344754;
}
html[data-stoked-theme="navy"] :is(.eyebrow,.flow-kicker,.label) { color: #7dd3fc !important; }
html[data-stoked-theme="navy"] :is(.muted,.hint,.quiet,.form-note,.flow-note,.flow-lede,.flow-footer,.founder,.model dt,.b2z-small,.brand-subtitle) { color: #cbd5e1; }
html[data-stoked-theme="navy"] :is(.card,.panel,.section-card,.flow-panel) p { color: #cbd5e1; }
html[data-stoked-theme="navy"] :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]) {
  background: #091923 !important;
  color: #f8fafc !important;
  border-color: #527082 !important;
}
html[data-stoked-theme="navy"] :is(input,textarea)::placeholder { color: #a5b8c8; opacity: 1; }
html[data-stoked-theme="navy"] :is(input[type="checkbox"],input[type="radio"]) { accent-color: #38bdf8; }
html[data-stoked-theme="navy"] :is(button,.button,.btn,.btn-main,.btn-primary,.primary-button,.nav-join,.flow-button,.b2z-primary,input[type="submit"]) {
  background: var(--stoked-gradient) !important;
  color: #04151f !important;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--stoked-font) !important;
  font-weight: 700;
  min-height: 44px;
  box-shadow: none;
}
html[data-stoked-theme="navy"] :is(.secondary,.btn-outline,.btn-secondary,.btn-ghost,.ghost-button,.secondary-button,.flow-secondary,.btn-link,button[type="button"].close) {
  background: #142937 !important;
  color: #f8fafc !important;
  border-color: #527082 !important;
}
html[data-stoked-theme="navy"] :is(.club-mode a,.flow-tabs a,.flow-tabs button,.b2z-tabs button) {
  background: #142937 !important;
  color: #d5edf9 !important;
  border-color: #344754;
}
html[data-stoked-theme="navy"] :is(.club-mode a:first-child,.flow-tabs [aria-selected="true"],.b2z-tabs [aria-selected="true"]) {
  background: var(--stoked-gradient) !important;
  color: #04151f !important;
}
html[data-stoked-theme="navy"] :is(a,button,input,textarea,select,summary):focus-visible {
  outline: 3px solid #7dd3fc !important;
  outline-offset: 3px;
}
html[data-stoked-theme="navy"] :is(.error,.hint:not(:empty):not(.success),.flow-status.is-error) { color: #fda4af; }
html[data-stoked-theme="navy"] .hint.success { color: #86efac; }
html[data-stoked-theme="navy"] button:disabled { opacity: .55; cursor: not-allowed; }
@media(prefers-reduced-motion:reduce) {
  html[data-stoked-theme="navy"] *,html[data-stoked-theme="navy"] *::before,html[data-stoked-theme="navy"] *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
/* Legacy forms did not all include border-box sizing. */
html[data-stoked-theme="navy"] *,html[data-stoked-theme="navy"] *::before,html[data-stoked-theme="navy"] *::after { box-sizing: border-box; }
html[data-stoked-theme="navy"] .b2z { color: #f8fafc; }
html[data-stoked-theme="navy"] :is(.b2z-optional,.b2z-small,.import-sources span,.import-ai,.import-own) { color: #cbd5e1; }
html[data-stoked-theme="navy"] .b2z-card { background: #0f1f2b; color: #f8fafc; border-color: #344754; }
html[data-stoked-theme="navy"] :is(.button,.btn,.btn-main,.btn-primary,.primary-button,.nav-join,.flow-button,.b2z-primary,.secondary,.btn-outline,.btn-secondary,.btn-ghost,.ghost-button,.secondary-button,.flow-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: .4em;
  padding: 11px 18px;
  min-height: 44px;
  border-radius: 999px;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
