/* Mycel design tokens (shared by the public site and the app) */
:root {
  --bg: #f7f6f3; --surface: #ffffff; --surface-2: #fbfaf8; --ink: #15171b; --ink-2: #353a42; --muted: #646b76; --faint: #8b919b;
  --line: #e6e3dd; --line-2: #efede8;
  --accent: #1f5c4a; --accent-ink: #164536; --accent-soft: #e7f0eb; --accent-2: #b08d57;
  --em: #b42318; --em-soft: #fdecea; --ur: #c2410c; --ur-soft: #fff1e7; --hi: #a16207; --hi-soft: #fdf6e3; --st: #2f5d8a; --st-soft: #eaf1f8; --lo: #667085; --lo-soft: #f1f2f4;
  --ok: #157f3c; --ok-soft: #e8f5ec;
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --sh-1: 0 1px 2px rgba(20, 23, 27, .05), 0 1px 1px rgba(20, 23, 27, .03);
  --sh-2: 0 8px 24px -8px rgba(20, 23, 27, .12), 0 2px 6px rgba(20, 23, 27, .04);
  --sh-3: 0 30px 60px -20px rgba(20, 23, 27, .22), 0 8px 20px -10px rgba(20, 23, 27, .10);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 550; font-size: 14px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:hover { border-color: #d3cfc7; background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: #2a2e35; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-ink); }
.btn.danger { background: var(--em); border-color: var(--em); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(20, 23, 27, .05); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 550; background: var(--lo-soft); color: var(--ink-2); white-space: nowrap; }
.chip.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.em { background: var(--em-soft); color: var(--em); } .chip.ur { background: var(--ur-soft); color: var(--ur); } .chip.hi { background: var(--hi-soft); color: var(--hi); }
.chip.st { background: var(--st-soft); color: var(--st); } .chip.lo { background: var(--lo-soft); color: var(--lo); } .chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.ac { background: var(--accent-soft); color: var(--accent); }
.field { display: grid; gap: 6px; }
.field > span, .label { font-size: 13px; font-weight: 550; color: var(--ink-2); }
.field small, .hint { color: var(--muted); font-size: 12.5px; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; font-size: 14.5px; }
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.check input { margin-top: 3px; accent-color: var(--accent); }

[hidden] { display: none !important; }
.btn svg { width: 18px; height: 18px; flex: none; }
