:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --border: #e6e9ee;
  --text: #1c2430;
  --muted: #6b7380;
  --primary: #1a6f8a;
  --primary-hover: #155a71;
  --primary-soft: #e8f3f6;
  --success: #2f7d4a;
  --warning: #b45309;
  --danger: #b42318;
  --shadow: #6d4aa8;
  --shadow-soft: #f4eefc;
  --selected: #1a6f8a;
  --hover: #f7f8fa;
  --shift-early-bg: #d9eee8;
  --shift-early-fg: #0f4a43;
  --shift-early-bd: #8fbfb4;
  --shift-day-bg: #dce7f2;
  --shift-day-fg: #1a3550;
  --shift-day-bd: #91acc8;
  --shift-late-bg: #f3e6d0;
  --shift-late-fg: #5c4215;
  --shift-late-bd: #d2b78a;
  --shift-night-bg: #e0e3ef;
  --shift-night-fg: #2a334d;
  --shift-night-bd: #9aa3bd;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 60px;
  --sidebar-w: 232px;
  --ease: 160ms ease;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: var(--space-2); }
.w-full { width: 100%; }
.hidden { display: none; }
.font-semibold { font-weight: 600; }
.icon { display: block; flex-shrink: 0; }
.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;
}
