/*
 * The one token set for the whole app: the member site, the sign-in pages
 * and the Lead admin. Values are from design_handoff_lead_admin, which
 * matches the NorthPoint Cafe Manager's admin, and were made shared by the
 * design review (design_handoff_setup_team_review).
 *
 * Orange (--warn) is for problems only: counts that need action, gaps,
 * cancelled, open spots, destructive confirms. Setup is teal; teardown is
 * a neutral outline, not orange.
 *
 * Text colours clear WCAG AA (4.5:1) on --bg and --surface, where text
 * sits. --text-dim was #7E756D in the handoff, 3.8:1 on a card, and it
 * carries real words at 12px: the password rules, "To do", a Lead row's
 * rooms and times. Cream on --teal is 3.5:1, so small text on a teal
 * fill uses --primary and --on-primary instead, as the buttons do.
 */

/*
 * The two typefaces, served from here rather than Google Fonts, so a page
 * (on an app most of whose users are minors) makes no request to anyone
 * but NorthPoint, and the CSP needs no outside origin for styles or fonts.
 * The files are Google's own subsets, as their stylesheet served them on
 * 2026-10-01: Inter is one variable file per subset for every weight.
 * Both are under the SIL Open Font License (fonts/OFL-*.txt).
 */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.65850a373e25.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin-ext.01ba6c2a184b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-vietnamese.d54db44de5cc.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/libre-caslon-text-400-latin.001d520e0d8b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/libre-caslon-text-400-latin-ext.22fac7cc1022.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/libre-caslon-text-700-latin.33af9ef1744b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/libre-caslon-text-700-latin-ext.3bc8145e0619.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #171412;
  --surface: #1E1A18;
  --raised: #262220;
  --band: #1A1715;
  --rule: #2C2724;
  --rule-strong: #37312D;
  --checkbox: #4A443E;
  --text: #FFF9EF;
  --text-2: #C9C0B7;
  --text-muted: #9E958C;
  --text-dim: #8C847C;
  --teal: #00968F;
  --primary: #00B5AB;
  --on-primary: #10201E;
  --teal-light: #9CDBD9;
  --setup-tint: rgba(0, 150, 143, 0.22);
  --warn: #F68D2E;
  --on-warn: #1E1A18;
  --backdrop: rgba(10, 8, 7, 0.6);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
