/* Planner look for the other pages (style.css console section, capture.html): dark space background, charcoal glass
   cards, white type, the same brand + page-tab pill top bar. Pages keep their own layout and only take these tokens. */
:root { --gap: 14px; --top: 64px; --r: 14px;
  --card: rgba(52, 60, 66, 0.38); --card-2: rgba(70, 80, 88, 0.42); --card-3: rgba(84, 96, 104, 0.55);
  --edge: rgba(255, 255, 255, 0.05); --edge-2: rgba(255, 255, 255, 0.12); --glass: blur(16px) saturate(1.2);
  --white: #fff; --mute: #e8ecef; --dim: rgba(232, 236, 239, 0.62); --faint: rgba(232, 236, 239, 0.38);
  --go: #4ade80; --warn: #f5a524; --bad: #ff6b6b;
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html, body { background: linear-gradient(180deg, #0e1317 0%, #12181d 40%, #171f25 75%, #192127 100%) fixed #12181d; }
body { color: var(--white); font-family: var(--font); word-break: keep-all; }
.cx-card { background: var(--card); border: 1px solid var(--edge); border-top-color: rgba(255, 255, 255, 0.1); border-radius: var(--r);
  -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }

.topbar { position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; pointer-events: none; background: linear-gradient(180deg, #0e1317 55%, rgba(14, 19, 23, 0)); }
.topbar > * { pointer-events: auto; }
.topbar .brand { color: var(--white); text-decoration: none; font: 700 14px var(--font); letter-spacing: 0.2em; text-transform: uppercase; margin: 0; }
.pages { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--edge); border-top-color: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); }
.pages a { padding: 8px 18px; border-radius: 9px; color: var(--dim); text-decoration: none; font: 13.5px var(--font); white-space: nowrap; }
.pages a:hover { color: var(--white); }
.pages a.on { color: var(--white); background: rgba(84, 96, 104, 0.5); }
.pages a.on::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--go); }
body.only .topbar { display: none; }   /* overview_src.html ?only=: the figure alone for scripts/render_overview.py */
@media (max-width: 900px) {
  .topbar { position: static; height: auto; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .pages { position: static; transform: none; flex-wrap: wrap; }
  .pages a { padding: 6px 10px; }
}
