/* Alphasyn design kit -- element baseline.
   Extracted byte-faithful from the console (src/web/styles.css). Body text is 14px
   sans on warm paper; buttons are pill-shaped and clay; inputs get the clay focus
   ring. Labels are small-caps. */

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 600; }
a { color: var(--clay-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* ---- controls ---- */
button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--clay);
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.15s ease;
}
button:hover { background: var(--clay-hover); }
button:disabled { opacity: 0.5; cursor: default; }
button.secondary {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border-strong);
}
button.secondary:hover { background: var(--panel); }
button.link {
  background: none; border: none; color: var(--clay-ink); cursor: pointer;
  padding: 0; margin: 0; font-size: 13px; border-radius: 0;
}
button.link:hover { text-decoration: underline; background: none; }
button.link.danger { color: var(--bad); }

input, select, textarea {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 9px 11px;
  width: 100%;
  margin: 4px 0 10px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px var(--clay-weak);
}
textarea { min-height: 90px; resize: vertical; }
label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); font-weight: 600; }
