@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --type: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #302532;
  --muted: #625963;
  --paper: #fbf9f8;
  --surface: #fff;
  --line: #dcd7d5;
  --plum: #27152a;
  --coral: #f36246;
  --action: #c8432b;
  --soft: #f6e8e1;
  --focus-ring: #804c84;
  --error: #942c29;
  --control-radius: 8px;
  --control-height: 44px;
}

button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); text-decoration: none; white-space: nowrap; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.brand img { display: block; object-fit: contain; }
.pill { display: inline-flex; align-items: center; max-width: 100%; background: #f2edf1; color: #62485e; font-size: 12px; font-weight: 600; line-height: 1.35; padding: 4px 9px; border-radius: 6px; overflow-wrap: anywhere; }
.pill.soft, .pill.green { background: #e8eeea; color: #385849; }
.pill.orange { background: #ffe8d6; color: #803b15; }
.pill.gray { background: #efedeb; color: #59525a; }
.primary, .secondary { display: inline-flex; justify-content: center; align-items: center; min-height: var(--control-height); border-radius: var(--control-radius); padding: 9px 16px; font: 650 14px/1.35 var(--type); text-decoration: none; cursor: pointer; }
.primary { background: var(--action); color: white; border: 1px solid var(--action); }
.primary:hover { background: #a63220; }
.secondary { background: white; border: 1px solid #bfb3bc; color: var(--plum); }
.secondary:hover { background: #f5eef2; border-color: #8d7788; }
input, select, textarea { width: 100%; min-width: 0; min-height: var(--control-height); background-color: white; border: 1px solid #b9afb6; border-radius: var(--control-radius); padding: 9px 12px; font-size: 15px; line-height: 1.45; }
input[type=checkbox], input[type=radio] { width: 18px; min-height: 18px; height: 18px; accent-color: var(--plum); }
input::placeholder, textarea::placeholder { color: #706771; }
textarea { min-height: 96px; resize: vertical; }
.row-action button, .close { min-width: 40px; min-height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--plum); font-size: 18px; }
.row-action button:hover, .close:hover { background: #f6c8b8; }

.primary:active { background: #892d20; }
.secondary:active { background: #eadfe6; }
.row-action button:active, .close:active { background: #ebb098; }
:where(input, select, textarea):enabled:hover { border-color: #867581; }
:where(input, select, textarea)[aria-invalid="true"],
.guest:has(#login-error) input { border-color: var(--error); }
button:disabled, input:disabled, select:disabled, textarea:disabled {
  opacity: .65;
  cursor: not-allowed;
}
button[aria-busy="true"] { cursor: progress; }
