:root {
  --bg: #f7f5f8;
  --card: #ffffff;
  --text: #1d171d;
  --dim: #574e57;
  --muted: #766c76;
  --line: #ece7ee;
  --field: #d9d1dc;
  --field-bg: #ffffff;
  --accent: #93509f;
  --accent-text: #7e3f8b;
  --accent-ring: #93509f;
  --on-accent: #ffffff;
  --seg: #ece7ee;
  --seg-on: #ffffff;
  --seg-shadow: 0 1px 2px rgba(29, 23, 29, 0.12);
  --step-ahead: #d9d1dc;
  --step-line: #e2dbe2;
  --card-shadow: 0 1px 2px rgba(29, 23, 29, 0.06), 0 8px 24px rgba(29, 23, 29, 0.08);
  --danger: #b3171d;
  --focus: #e0872e;
  --banner: #3d9ad8;
  color-scheme: light;
}


:root[data-theme='dark'] {
  --bg: #121013;
  --card: #1b181c;
  --text: #eee9ee;
  --dim: #b3aab3;
  --muted: #8a818a;
  --line: #2f2a31;
  --field: #3e3841;
  --field-bg: #141115;
  --accent: #93509f;
  --accent-text: #d3a6db;
  --accent-ring: #c28bcc;
  --on-accent: #ffffff;
  --seg: #221e23;
  --seg-on: #35303a;
  --seg-shadow: none;
  --step-ahead: #3e3841;
  --step-line: #35303a;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --danger: #f2624a;
  --focus: #faa457;
  color-scheme: dark;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}


button,
input,
textarea {
  font: inherit;
  color: inherit;
}


:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}


.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


.card {
  padding: 32px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 32px;
}


.seg {
  display: flex;
  padding: 3px;
  border-radius: 8px;
  background: var(--seg);
}


.seg button {
  min-width: 44px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 600 12px/1 'IBM Plex Mono', monospace;
  cursor: pointer;
}


.seg button[aria-checked='true'] {
  background: var(--seg-on);
  color: var(--text);
  box-shadow: var(--seg-shadow);
}


.seg svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
