/* =====================================================
   style.css — CSS Variables, Reset, Base Layout
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg1: #1c1c1e;
  --bg2: #2c2c2e;
  --bg3: #3a3a3c;
  --surface: #2c2c2e;
  --surface2: #3a3a3c;
  --text1: #f5f5f7;
  --text2: #aeaeb2;
  --text3: #636366;
  --accent: #0a84ff;
  --yellow: #ffd60a;
  --danger: #ff453a;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius-card: 10px;
  --radius-ui: 6px;
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --topbar-h: 48px;
  --sidebar-l: 220px;
  --sidebar-r: 280px;
  --font-ui: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg1);
  color: var(--text1);
  font-family: var(--font-ui);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbars */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* Main 3-panel layout */
#app {
  display: flex;
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
