/* Becky design tokens. Whiteboard-and-marker: deep ink, a marker-yellow highlight, a teal for "live". */
:root {
  --ink: #0F2E3D;
  --ink-2: #3D5866;
  --paper: #F4F7F8;
  --card: #FFFFFF;
  --line: #D5DEE2;
  --marker: #FFC93C;
  --teal: #1F8A8A;
  --alert: #D64545;
  --ok: #1E7F4F;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 46, 61, .10);
  --font-display: "Secular One", "Assistant", sans-serif;
  --font-body: "Assistant", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
[hidden] { display: none !important; }

/* the marker stroke: the one signature mark, used under a heading word chosen by the copy, never decoration */
.mark { background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 90%, transparent 90%); padding: 0 .12em; }

/* buttons: squared-off (10px), one height, a dark primary with a soft shadow, a white secondary, red only for destroying */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 10px;
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 46, 61, .18), 0 4px 12px rgba(15, 46, 61, .12); transition: background .12s, border-color .12s, box-shadow .12s, transform .06s; }
.btn:hover { background: #1A4459; border-color: #1A4459; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.light { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 46, 61, .06); }
.btn.light:hover { background: #F4F8F9; border-color: #AFC2C9; }
.btn.light svg { color: var(--teal); }
.btn.danger { background: var(--card); color: var(--alert); border-color: #EBC2C2; box-shadow: 0 1px 2px rgba(15, 46, 61, .06); }
.btn.danger:hover { background: #FDF1F1; border-color: var(--alert); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14.5px; border-radius: 9px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: #fff; }
.field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255, 201, 60, .55); }
.err { color: var(--alert); font-weight: 700; font-size: 15px; min-height: 1.4em; margin: 0; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
