:root {
  color-scheme: light;
  --wl-serif: "Source Serif 4", ui-serif, Georgia, serif;
  --wl-sans: -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
  --wl-ink: #131f3f;
  --wl-ink-2: #5a6072;
  --wl-ink-3: #6e7385;
  --wl-ink-off: #b4b8c3;
  --wl-sheet: #fff;
  --wl-chrome: #f6f7f9;
  --wl-chrome-hover: #eceef3;
  --wl-sheet-ring: #e6e8ee;
  --wl-rule: #e6e7eb;
  --wl-rule-soft: #f0f0f2;
  --wl-row-hover: #fafbfc;
  --wl-card-ring: #dcdfe7;
  --wl-mark: #fff1c2;
  --wl-accent: #253d79;
  --wl-primary: #253d79;
  --wl-primary-hover: #1d3166;
  --wl-on-primary: #fff;
  --wl-glow: #e7edf9;
  --wl-max: #f77e0d;
  --wl-max-ink: #9c4d05;
  --wl-max-tint: #fff6ee;
  --wl-ok: #2b6e47;
  --wl-ok-tint: #eef6f1;
  --wl-err: #a1302a;
  --wl-err-tint: #fcf2f1;
  --wl-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wl-dur: 160ms;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --wl-ink: #e9e9ec; --wl-ink-2: #b4b6bd; --wl-ink-3: #92959e; --wl-ink-off: #55575d;
    --wl-sheet: #242424; --wl-chrome: #1b1b1b; --wl-chrome-hover: #2c2c2c; --wl-sheet-ring: #343434;
    --wl-rule: #3a3a3a; --wl-rule-soft: #2e2e2e; --wl-row-hover: #2a2a2a; --wl-card-ring: #3a3a3a;
    --wl-mark: rgb(255 214 102 / 0.28); --wl-accent: #9db0e1; --wl-primary: #385cb8; --wl-primary-hover: #4468c4;
    --wl-glow: #2a3550; --wl-max: #f99a45; --wl-max-ink: #f5ad6b; --wl-max-tint: rgb(247 126 13 / 0.12);
    --wl-ok: #74c495; --wl-ok-tint: rgb(43 110 71 / 0.25); --wl-err: #f08a82; --wl-err-tint: rgb(161 48 42 / 0.22);
  }
}
*, *::before, *::after { box-sizing: border-box; }
input, button, select { font: inherit; }
body {
  margin: 0; min-height: 100dvh; padding: 8px;
  font-family: var(--wl-sans); font-size: 15px; line-height: 1.55;
  background: var(--wl-chrome); color: var(--wl-ink);
  -webkit-font-smoothing: antialiased;
}
.sheet {
  min-height: calc(100dvh - 16px); background: var(--wl-sheet);
  border-radius: 14px; box-shadow: 0 0 0 1px var(--wl-sheet-ring);
}
button {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; height: 40px;
  border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap;
  background: var(--wl-chrome); color: var(--wl-ink); font-weight: 500;
  transition: background var(--wl-dur) var(--wl-ease);
}
button:hover:not(:disabled) { background: var(--wl-chrome-hover); }
button:disabled { opacity: 0.55; cursor: default; }
button.primary { background: var(--wl-primary); color: var(--wl-on-primary); }
button.primary:hover:not(:disabled) { background: var(--wl-primary-hover); }
input.text {
  min-width: 0; padding: 10px 14px; border: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--wl-card-ring); background: var(--wl-sheet); color: var(--wl-ink);
  font-size: 16px; outline: none; transition: box-shadow var(--wl-dur) var(--wl-ease);
}
input.text:focus { box-shadow: inset 0 0 0 1px var(--wl-ink-3); }
input.text::placeholder { color: var(--wl-ink-off); }
h1 { margin: 0; font: 500 30px/1.2 var(--wl-serif); letter-spacing: -0.01em; }
.brand { font-size: 13px; color: var(--wl-ink-3); }
.notice { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; font-size: 13px; background: var(--wl-err-tint); color: var(--wl-err); }
