/* ForeToday tokens (trimmed from the brand kit) + shared base. */
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Noto Sans Thai'; src: url('../fonts/NotoSansThai-VariableFont_wdth_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root {
  /* Hogwarts palette (ForeToday orange kept as an accent) */
  --orange: #b3412b; --mid: #9a2f2a; --gold: #d4a945; --charcoal: #2b2118; --white: #f4ead5;
  --grad: linear-gradient(135deg, #6e1a26 0%, #a8392b 55%, #d4a945 100%);
  --bg: #f4ead5; --card: #fbf5e6; --inset: #ece0c4; --fg: #2b2118; --fg2: rgba(43,33,24,.75); --fg3: rgba(43,33,24,.55); --fg4: rgba(43,33,24,.35);
  --line: rgba(59,36,20,.12); --line2: rgba(59,36,20,.22);
  --side: #15111c; --side2: #1e1828; --side3: #3a3046; --sfg: #efe3c8; --sfg2: rgba(239,227,200,.75); --sfg3: rgba(239,227,200,.5); --sline: rgba(239,227,200,.09);
  --ok: #2fa37a; --away: #e6a93a; --busy: #d64545; --off: #8a8686;
  --font: 'Outfit', 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Outfit', 'Noto Sans Thai', system-ui, sans-serif; /* ForeToday brand type everywhere (no display serif) */
  --r: 10px; --shadow: 0 10px 34px rgba(20,12,6,.28);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-weight: 300; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, b, strong, .med { font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: .01em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.btn { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--grad); color: #fff; font-weight: 500; transition: transform .1s, filter .15s; }
.btn:hover { filter: brightness(1.05); } .btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line2); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--fg2); }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--card); color: var(--fg); font-weight: 300; font-size: 15px; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,169,69,.25); }
.err { color: var(--busy); font-size: 13px; min-height: 18px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
