:root {
  --sidebar: 280px;
  --sidebar-collapsed: 68px;
  --page: #f9fafc;
  --panel: #22252d;
  --card: #2a2d35;
  --card-line: rgba(113, 113, 122, 0.35);
  --ink: #27272a;
  --muted: #71717a;
  --line: #e5e5ea;
  --accent: #2563eb;
  --green: #34d399;
  --red: #f87171;
  --zinc-200: #e4e4e7;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  height: 100vh;
  min-height: 100vh;
  background: var(--page);
  transition: grid-template-columns 180ms ease;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: var(--sidebar-collapsed) minmax(0, 1fr);
}

.main-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.side-toggle,
.icon-button,
.nav-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.icon-button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.icon-button.subtle {
  display: none;
}
