:root {
  --portal-action: #111111;
  --portal-surface: #ffffff;
  --portal-canvas: #f5f5f5;
  --portal-text: #171717;
  --portal-muted: #666666;
  --portal-border: #d9d9d9;
  --portal-focus-color: var(--portal-action);
  --portal-control-radius: 12px;
  --portal-panel-radius: 16px;
  --portal-shadow: 0 3px 12px rgb(0 0 0 / 5%);
  --canvas: var(--portal-surface); --surface: var(--portal-canvas);
  --surface-strong: #eeeeee; --surface-selected: #eeeeee;
  --text: var(--portal-text); --muted: var(--portal-muted);
  --line: var(--portal-border); --border: var(--portal-border); --border-soft: #eeeeee;
  --soft: var(--portal-canvas); --accent: var(--portal-action); --accent-dark: #333333;
  --success: var(--portal-text); --success-bg: var(--portal-canvas);
  --warning: var(--portal-text); --warning-bg: var(--portal-canvas);
  --danger: var(--portal-text); --danger-dark: var(--portal-action); --danger-bg: var(--portal-canvas);
  --radius: var(--portal-control-radius); --shadow: var(--portal-shadow);
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--portal-text); background: var(--portal-surface);
}
html, body { min-width: 0; }
button, input, textarea, select { font-family: inherit; }
:where(button, input:not([type=checkbox]):not([type=radio]), textarea, select) { border-radius: var(--portal-control-radius); }
:is(button, input, textarea, select, a, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--portal-focus-color); outline-offset: 3px;
}
:where(button, input, textarea, select):disabled { cursor: not-allowed; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--portal-action); }
dialog { border-radius: var(--portal-panel-radius); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
