:root {
  color-scheme: light;
  --yellow: #ffd400;
  --accent: #ffd400;
  --ink: #151515;
  --text: #151515;
  --bg: #f5f5f0;
  --surface: #fff;
  --paper: #fff;
  --soft: #f0f1eb;
  --muted: #666762;
  --border: #e2e3dd;
  --line: #e2e3dd;
  --danger: #aa402b;
  --danger-soft: #fff2ed;
  --success: #2d7353;
  --success-soft: #edf6ef;
  --radius: 20px;
  --radius-small: 11px;
  --shadow: 0 10px 35px #15151508;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); background: var(--bg); font-size: 1rem; line-height: 1.5; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 750; }
h1 { font-size: 2rem; letter-spacing: -1px; }
h2 { font-size: 1.5rem; letter-spacing: -.6px; }
h3 { font-size: 1.125rem; letter-spacing: -.3px; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .65; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5175dd; outline-offset: 4px; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-small); color: var(--ink); background: var(--surface); font-size: 1rem;
}
textarea { min-height: 100px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #929588; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); }
.button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius-small); color: var(--ink); background: var(--yellow); text-align: center; text-decoration: none; font-size: .875rem; font-weight: 700; line-height: 1.4; cursor: pointer;
}
.button:hover:not(:disabled), .btn:hover:not(:disabled) { background: #efc700; }
.btn-secondary, .button-secondary { color: #fff; background: var(--ink); }
.btn-secondary:hover:not(:disabled), .button-secondary:hover:not(:disabled) { background: #36372f; }
.btn-outline, .button-outline { color: var(--ink); background: var(--surface); border-color: var(--border); }
.btn-outline:hover:not(:disabled), .button-outline:hover:not(:disabled) { background: var(--soft); }
.btn-danger, .button-danger { color: var(--danger); background: var(--danger-soft); border-color: #f0d1c7; }
.btn-danger:hover:not(:disabled), .button-danger:hover:not(:disabled) { background: #fce7df; }
.btn-block, .button-block { width: 100%; }
.button[aria-disabled="true"], .btn[aria-disabled="true"] { opacity: .65; pointer-events: none; }
.card, .panel { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.muted { color: var(--muted); }
.small { font-size: .8125rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 100px; background: var(--soft); font-size: .6875rem; font-weight: 650; line-height: 1.4; }
.pill-yellow { background: #fff3ab; color: #665509; }
.pill-success { background: var(--success-soft); color: var(--success); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.notice, .demo-banner { display: flex; align-items: flex-start; gap: 10px; padding: 15px 17px; border: 1px solid #e5e3cc; border-radius: 13px; color: #696959; background: #f1f0df; font-size: .8125rem; line-height: 1.6; }
.notice-danger { color: var(--danger); background: var(--danger-soft); border-color: #f0d1c7; }
.notice-success { color: var(--success); background: var(--success-soft); border-color: #d4e8d8; }
.empty-state { display: grid; place-items: center; gap: 12px; padding: 36px 24px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); background: #fafbf7; text-align: center; }
.empty-state h2, .empty-state h3 { color: var(--ink); }
.empty-state p { max-width: 400px; font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; padding: 0; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 480px) {
  .card, .panel { padding: 20px; }
  .notice, .demo-banner { padding: 14px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
