/* BuckBallot design tokens: Premium Green 4. Import once at app root. */
:root {
  --bb-green: #2F4D36; --bb-green-deep: #17281D; --bb-gold: #B8955A; --bb-gold-light: #D9C08E;
  --bb-ink: #1C2620; --bb-muted: #6E6A5E; --bb-paper: #FBF8F1; --bb-paper-edge: #EEE6D4; --bb-card: #FFFFFF;
  --bb-rule: #E2D8C3; --bb-nay: #7A2E22; --bb-on-green: #F6F1E6;
  --bb-font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;   /* "… Fallback": css/fonts.css, no text jump while the font loads (v29 L3a) */
  --bb-font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* The type scale (Chris, Nov 15): ten sizes, the iOS text styles at the default size. Every font size in css/*.css
     is one of these; nothing else. Text size in Settings scales them (Large: the root grows; Small: the set below). */
  --bb-fs-large-title: 2.125rem; /* 34 */ --bb-fs-title1: 1.75rem; /* 28 */ --bb-fs-title2: 1.375rem; /* 22 */
  --bb-fs-title3: 1.25rem; /* 20 */ --bb-fs-headline: 1.0625rem; /* 17, semibold */ --bb-fs-body: 1.0625rem; /* 17 */
  --bb-fs-callout: 1rem; /* 16 */ --bb-fs-subhead: .9375rem; /* 15 */ --bb-fs-footnote: .8125rem; /* 13 */ --bb-fs-caption: .75rem; /* 12 */
  --bb-text-body: var(--bb-fs-body); --bb-text-label: var(--bb-fs-footnote);
  --bb-radius-card: 14px; --bb-radius-button: 12px; --bb-space: 8px;
  --bb-shadow-card: 0 1px 2px rgba(28,38,32,.06), 0 8px 24px rgba(28,38,32,.06);
}
/* Text size Small: the whole scale steps down one notch (the iOS "Small" sizes); captions keep their 12px floor */
:root[data-text="s"] {
  --bb-fs-large-title: 2.0625rem; --bb-fs-title1: 1.6875rem; --bb-fs-title2: 1.3125rem; --bb-fs-title3: 1.1875rem;
  --bb-fs-headline: 1rem; --bb-fs-body: 1rem; --bb-fs-callout: .9375rem; --bb-fs-subhead: .875rem; --bb-fs-footnote: .75rem; --bb-fs-caption: .75rem;
}
:root[data-theme="dark"], .bb-dark {
  --bb-green: #D9C08E; --bb-ink: #F2EFE8; --bb-muted: #A9B1A4; --bb-paper: #0F1712; --bb-paper-edge: #0A110D;
  --bb-card: #16211A; --bb-rule: #26352B; --bb-on-green: #17281D; --bb-nay: #E08A7A;
  --bb-shadow-card: 0 1px 2px rgba(0,0,0,.4);
}
.bb-eyebrow { font: 600 var(--bb-text-label)/1.3 var(--bb-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--bb-gold); }
.bb-headline { font-family: var(--bb-font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; color: var(--bb-ink); }
/* BB-378 (Chris, Nov 15): no notes on screen. Older demo build tools add a "Pretend demo, nothing saved" bar (#demo-note);
   it never shows, whichever tool built the page. */
#demo-note{display:none !important}
