/* ─── APP SHELL ──────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: var(--leading-normal);
  overflow: hidden;
}

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ─── BODY SPLIT ─────────────────────────────────────────────── */
.app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* ─── SIDEBAR ────────────────────────────────────────────────── */
.app-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ─── WORKSPACE ──────────────────────────────────────────────── */
.app-workspace {
  flex: 1;
  overflow-y: auto;
  background: var(--bg-base);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ─── INFO PANEL ─────────────────────────────────────────────── */
.app-infopanel {
  width: var(--infopanel-width);
  flex-shrink: 0;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width var(--transition-slow);
}

.app-infopanel.collapsed {
  width: 40px;
}

/* ─── TRANSITIONS ────────────────────────────────────────────── */
.app-sidebar,
.app-infopanel,
.app-workspace {
  transition: none;
}
