:root {
  --ui-brand: #4353ff;
  --ui-brand-hover: #2e3fe1;
  --ui-brand-soft: #eef0ff;
  --ui-lime: #d8f568;
  --ui-lime-soft: #f2f8d8;
  --ui-ink: #191c2c;
  --ui-muted: #687087;
  --ui-canvas: #f5f6fb;
  --ui-surface: #fff;
  --ui-border: #e3e7f1;
  --ui-danger: #b7354b;
  --ui-radius-control: 12px;
  --ui-radius-card: 20px;
  --ui-shadow: 0 12px 32px #242b5110;
}
.ui-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ui-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px; border: 1px solid transparent;
  border-radius: var(--ui-radius-control); font: inherit; font-size: 14px;
  font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer;
  background: var(--ui-brand); color: #fff;
  box-shadow: 0 4px 12px #4353ff20;
  transition: background .16s, border-color .16s, box-shadow .16s, transform .16s;
}
.ui-button:hover:not(:disabled) { background: var(--ui-brand-hover); transform: translateY(-1px); box-shadow: 0 6px 16px #4353ff28; }
.ui-button:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.ui-button:focus-visible { outline: 3px solid #9aa4ff; outline-offset: 3px; }
.ui-button:disabled { opacity: .52; cursor: not-allowed; box-shadow: none; }
.ui-button[aria-busy=true] { cursor: progress; }
.ui-button--secondary { background: var(--ui-surface); color: var(--ui-ink); border-color: var(--ui-border); box-shadow: none; }
.ui-button--secondary:hover:not(:disabled) { background: var(--ui-brand-soft); border-color: #bcc4ff; box-shadow: none; }
.ui-button--tertiary { background: transparent; color: var(--ui-muted); box-shadow: none; }
.ui-button--tertiary:hover:not(:disabled) { background: var(--ui-brand-soft); color: var(--ui-brand); box-shadow: none; }
.ui-button--danger { background: #fff1f3; color: var(--ui-danger); border-color: #f4ced5; box-shadow: none; }
.ui-button--danger:hover:not(:disabled) { background: #ffe5e9; border-color: #e9a6b4; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .ui-button { transition: none; }
  .ui-button:hover:not(:disabled) { transform: none; }
}
