:root {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #f6f7f9;
  --color-sidebar: #f4f5f7;
  --color-border: #e6e8ed;
  --color-border-strong: #cbd0d9;
  --color-text: #202734;
  --color-text-muted: #626d7c;
  --color-primary: #235fc9;
  --color-primary-hover: #1c4da4;
  --color-primary-soft: #eaf1fc;
  --color-danger: #b8323a;
  --color-danger-soft: #fff0f1;
  --color-success: #237453;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgb(20 30 50 / 5%);
  --shadow-md: 0 12px 36px rgb(20 30 50 / 12%);
  --sidebar-width: 260px;
  --header-height: 72px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 14px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled, input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; }
button:disabled { opacity: .5; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: var(--color-primary); background: var(--color-primary-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: 18px; font-weight: 700; }
.button-primary, .button-secondary, .button-danger, .button-danger-subtle { padding: 9px 15px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 550; }
.button-primary { background: var(--color-primary); color: var(--color-surface); }
.button-primary:hover:not(:disabled) { background: var(--color-primary-hover); }
.button-secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border-strong); }
.button-secondary:hover:not(:disabled) { background: var(--color-surface-muted); }
.button-danger { background: var(--color-danger); color: var(--color-surface); }
.button-danger-subtle { background: transparent; color: var(--color-danger); border-color: var(--color-border); }
.button-danger-subtle:hover:not(:disabled) { background: var(--color-danger-soft); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
