/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--page-bg);
  min-height: 100vh;
}
button { font-family: var(--font-body); cursor: pointer; }
input, textarea, select { font-family: var(--font-body); font-size: 14px; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
/* Phase 2: the v1 top nav, sidebar and mobile tab bar are replaced by the app shell
   (header, left nav, phone bottom nav); its layout lives in shell.css. */
.logo-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: #fff; flex-shrink: 0;
}
.nav-icon { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; }
.nav-badge {
  margin-left: auto; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 10px;
  padding: 1px 7px; font-family: var(--font-mono);
}

/* Main content area */
.main-content {
  padding: 24px;
  min-height: 100vh;
}

/* ===== VIEWS (one per route; the shell marks the current one .active) ===== */
.view { display: none; }
.view.active { display: block; }
