
/* SingWithAI design tokens (no build tools, no external libs) */
:root {
  --brand-1: #3b82f6; /* primary */
  --brand-2: #2563eb; /* hover */
  --text-1: #111827;
  --text-2: #4b5563;
  --surface-1: #ffffff;
  --surface-2: #f8fafc;
  --border-1: #e5e7eb;
  --radius-ctl: 8px;
  --shadow-ctl: 0 1px 2px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.06);
  --easing-ctl: cubic-bezier(.2,.8,.2,1);
  --dur-ctl: 160ms;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text-1: #f3f4f6;
    --text-2: #9ca3af;
    --surface-1: #111827;
    --surface-2: #0b1220;
    --border-1: #1f2937;
    --brand-1: #60a5fa;
    --brand-2: #3b82f6;
    --shadow-ctl: 0 1px 2px rgba(0,0,0,.4), 0 6px 16px rgba(0,0,0,.5);
  }
}

/* Core surface/card/buttons shared by both public & admin */
.swai-card {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-ctl);
  box-shadow: var(--shadow-ctl);
}
.swai-btn {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  color: var(--text-1);
  border-radius: calc(var(--radius-ctl) - 2px);
  padding: 8px 12px;
  cursor: pointer;
  transition: background var(--dur-ctl) var(--easing-ctl), border-color var(--dur-ctl) var(--easing-ctl), transform var(--dur-ctl) var(--easing-ctl);
}
.swai-btn:hover { border-color: var(--brand-1); transform: translateY(-1px); }
.swai-btn.primary { background: var(--brand-1); color: #fff; border-color: var(--brand-2); }
.swai-btn.primary:hover { background: var(--brand-2); }
.swai-input, select, textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid var(--border-1);
  background: var(--surface-1);
  color: var(--text-1);
  padding: 8px 10px;
}
:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 2px;
  border-radius: 6px;
}
