@font-face {
  font-family: Manrope;
  src: url("./fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f7f5ef;
  --surface: #fffcf6;
  --surface-subtle: #f1eee6;
  --surface-hover: #ebe7dc;
  --text: #202523;
  --text-secondary: #505952;
  --border: #e0dbcf;
  --action: #286052;
  --action-hover: #1d493e;
  --on-action: #fff;
  --focus: #286052;
  --accent: #286052;
  --accent-surface: #dce9e1;
  --stage: #efece4;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 4px 16px rgb(0 0 0 / .06);
  --gutter: clamp(14px, 4vw, 44px);
  --touch-target: 44px;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.app-header { background: var(--canvas); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.header-inner { max-width: 1460px; margin: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 7px; min-height: var(--touch-target); font-size: 18px; font-weight: 690; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { width: 27px; height: 27px; object-fit: contain; flex: none; }
.brand-suffix { color: var(--text-secondary); }
.header-action, .status-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 570; }
.header-action { min-height: var(--touch-target); padding-inline: 8px; }
.header-action:hover { background: var(--surface-subtle); }
.header-action svg { width: 15px; height: 15px; }
.status-badge { padding: 5px 10px; background: var(--surface-subtle); color: var(--text-secondary); border: 1px solid var(--border); white-space: nowrap; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 13px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font-weight: 650; font-size: 13px; }
.primary { color: var(--on-action); background: var(--action); border-color: var(--action); }
.primary:hover:not(:disabled) { background: var(--action-hover); border-color: var(--action-hover); }
.secondary:hover:not(:disabled) { background: var(--surface-hover); }
@media (max-width: 720px), (pointer: coarse) and (max-height: 500px) and (orientation: landscape) {
  .header-inner { height: 52px; }
  .brand { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
