/* ============================================================
   ACONIX AI — Org Chart  ·  styles  (v2 re-skin)
   Design system via ui-ux-pro-max:
   Style: Dark Mode (OLED) · Pattern: Bento Grid
   Palette: deep navy + slate + status-green
   Type: Space Grotesk (display) / DM Sans (body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* surfaces */
  --bg: #0b1120;
  --bg-grad-1: rgba(34, 197, 94, 0.10);
  --bg-grad-2: rgba(45, 212, 191, 0.09);
  --bg-grad-3: rgba(59, 130, 246, 0.07);
  --panel: #131c30;            /* card base */
  --panel-strong: #1b2740;     /* elevated */
  --muted: #222d45;
  --border: rgba(71, 85, 105, 0.32);
  --border-bright: rgba(120, 139, 165, 0.5);
  /* text */
  --text: #f1f5f9;
  --text-dim: #97a6bd;
  --text-faint: #5e6e88;
  /* brand */
  --green: #22c55e;
  --jarvis: #2dd4bf;           /* teal — central nervous system */
  --jarvis-2: #22c55e;         /* green — status / active */
  /* shape */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 18px 44px rgba(2, 6, 18, 0.55);
  --ring: 0 0 0 3px rgba(45, 212, 191, 0.4);
  /* type */
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 200ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 720px at 80% -10%, var(--bg-grad-2), transparent 60%),
    radial-gradient(1000px 820px at 10% 2%, var(--bg-grad-1), transparent 55%),
    radial-gradient(950px 760px at 50% 118%, var(--bg-grad-3), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 25%, black, transparent 82%);
}

.wrap { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 28px 24px 88px; }

/* focus accessibility */
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 44px; width: auto; filter: drop-shadow(0 4px 16px rgba(45, 212, 191, 0.3)); }
.brand .b-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.4px; }
.brand .b-sub { font-size: 12px; color: var(--text-dim); margin-top: 1px; }
.top-right { display: flex; align-items: center; gap: 12px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.3px; color: var(--green);
  background: rgba(34, 197, 94, 0.09); border: 1px solid rgba(34, 197, 94, 0.32);
  padding: 7px 13px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  display: grid; place-items: center; transition: border-color var(--t), background var(--t), transform 120ms;
}
.theme-toggle:hover { border-color: var(--border-bright); background: var(--panel-strong); transform: translateY(-1px); }
.theme-ico { display: grid; place-items: center; }
.theme-ico svg { width: 19px; height: 19px; }

/* ---------- Hero ---------- */
.hero { text-align: center; margin: 6px 0 26px; }
.hero h1 { font-family: var(--display); font-size: clamp(28px, 4.8vw, 50px); font-weight: 700; line-height: 1.04; letter-spacing: -0.6px; }
.hero h1 .accent { background: linear-gradient(100deg, var(--jarvis), #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-dim); max-width: 680px; margin: 16px auto 0; font-size: 15.5px; line-height: 1.65; }

/* ---------- Stats (bento) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 30px; }
.stat {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-1);
}
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--jarvis)); opacity: 0.7; }
.stat .num { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--text-dim); font-size: 12.5px; margin-top: 4px; }

/* ---------- View tabs ---------- */
.viewtabs { display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 4px; margin-bottom: 18px; }
.vtab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; background: transparent; color: var(--text-dim);
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 9px; transition: all var(--t) var(--ease);
}
.vtab svg { width: 15px; height: 15px; }
.vtab:hover { color: var(--text); }
.vtab.active { background: var(--panel-strong); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-bright); }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.search { flex: 1 1 240px; position: relative; }
.search input {
  width: 100%; background: var(--panel); border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 12px 14px 12px 40px; font-size: 14px; font-family: var(--sans); outline: none; transition: border-color var(--t);
}
.search input::placeholder { color: var(--text-faint); }
.search input:focus { border-color: var(--jarvis); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: 0.55; width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 11px 16px; font-size: 13.5px; font-weight: 600; font-family: var(--sans);
  transition: border-color var(--t), background var(--t), transform 120ms;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { border-color: var(--border-bright); background: var(--panel-strong); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(100deg, var(--green), var(--jarvis)); color: #04140e; border: none; font-weight: 700; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; }

/* ---------- CEO node ---------- */
.ceo-wrap { display: flex; flex-direction: column; align-items: center; }
.ceo {
  position: relative; width: min(460px, 100%);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.10), rgba(45, 212, 191, 0.03)),
    var(--panel-strong);
  border: 1px solid rgba(45, 212, 191, 0.42); border-radius: 22px; padding: 24px 26px;
  text-align: center; box-shadow: 0 0 56px rgba(45, 212, 191, 0.16), var(--shadow-2);
  cursor: pointer; transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.ceo:hover { transform: translateY(-3px); box-shadow: 0 0 80px rgba(45, 212, 191, 0.26), var(--shadow-2); }
.ceo .crown { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.5px; color: var(--jarvis); text-transform: uppercase; }
.ceo .name { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: 1px; margin: 6px 0 2px; }
.ceo .title { color: var(--text); font-size: 13.5px; font-weight: 600; }
.ceo .role { color: var(--text-dim); font-size: 12.5px; margin-top: 7px; }
.ceo .avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px;
  background: radial-gradient(circle at 35% 28%, #99f6e4, var(--jarvis) 55%, #0d7d70);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 24px; color: #042321;
  box-shadow: 0 0 28px rgba(45, 212, 191, 0.5);
}

/* ---------- Connectors ---------- */
.spine { width: 2px; height: 34px; background: linear-gradient(var(--jarvis), var(--border-bright)); margin: 0 auto; }
.bus { height: 2px; background: var(--border-bright); margin: 0 auto; border-radius: 2px; width: min(100%, 1180px); }

/* ---------- Department grid ---------- */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dept {
  position: relative; background: var(--panel); border: 1px solid var(--border);
  border-top: 3px solid var(--accent, #888); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1);
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.dept:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.dept::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; background: var(--border-bright); transform: translateX(-50%); }

.dept-head { padding: 17px 18px 15px; border-bottom: 1px solid var(--border); cursor: pointer; display: flex; gap: 13px; align-items: center; transition: background var(--t); }
.dept-head:hover { background: rgba(255, 255, 255, 0.018); }
.dept-portrait { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; object-fit: cover; background: var(--accent-soft, rgba(255, 255, 255, 0.06)); border: 1px solid var(--accent-border, var(--border)); padding: 3px; }
.dept-badge { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 19px; color: #04140e; background: var(--accent, #888); }
.dept-h-text { flex: 1; min-width: 0; }
.dept-sys { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.dept-code { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: 0.4px; line-height: 1.15; }
.dept-vp { font-size: 12px; color: var(--text-dim); }
.dept-caret { color: var(--text-faint); transition: transform var(--t); flex-shrink: 0; display: grid; place-items: center; }
.dept.collapsed .dept-caret { transform: rotate(-90deg); }

.dept-sysname { padding: 11px 18px 0; font-size: 12px; color: var(--accent); font-weight: 700; }
.dept-mission { padding: 4px 18px 13px; font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }

.emp-list { padding: 4px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.dept.collapsed .emp-list, .dept.collapsed .dept-sysname, .dept.collapsed .dept-mission, .dept.collapsed .dept-foot { display: none; }

.emp {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.022); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 11px 13px; transition: background var(--t), transform 120ms, border-color var(--t);
}
.emp:hover { background: rgba(255, 255, 255, 0.055); transform: translateX(3px); }
.emp-ico { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border); }
.emp-body { flex: 1; min-width: 0; }
.emp-role { font-size: 13.5px; font-weight: 600; line-height: 1.22; }
.emp-spec { font-size: 11.5px; color: var(--text-dim); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emp-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.emp-skill-badge { font-family: var(--mono); font-size: 10px; color: var(--jarvis); background: rgba(45, 212, 191, 0.1); border: 1px solid rgba(45, 212, 191, 0.3); padding: 2px 6px; border-radius: 6px; }
.emp-tasks-n { font-family: var(--mono); font-size: 10px; color: var(--text-faint); }

.emp-add { display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; border: 1px dashed var(--border-bright); border-radius: var(--radius-sm); padding: 10px; color: var(--text-dim); font-size: 12.5px; font-weight: 600; transition: all var(--t); }
.emp-add:hover { color: var(--text); border-color: var(--accent); background: rgba(255, 255, 255, 0.03); }
.dept-foot { padding: 0 12px 12px; }

.dept.add-dept { align-items: center; justify-content: center; min-height: 170px; border: 1px dashed var(--border-bright); cursor: pointer; color: var(--text-dim); transition: all var(--t); }
.dept.add-dept::before { display: none; }
.dept.add-dept:hover { color: var(--text); border-color: var(--jarvis); transform: translateY(-2px); }
.dept.add-dept .plus { font-family: var(--display); font-size: 30px; line-height: 1; }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(4, 8, 18, 0.62); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.overlay.open { display: flex; }
.modal { width: min(560px, 100%); max-height: 88vh; overflow-y: auto; background: linear-gradient(180deg, var(--panel-strong), var(--panel)); border: 1px solid var(--border-bright); border-radius: 20px; box-shadow: 0 36px 90px rgba(0, 0, 0, 0.62); animation: rise var(--t) var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-head { padding: 24px 26px 17px; border-bottom: 1px solid var(--border); position: relative; border-top: 4px solid var(--accent, var(--jarvis)); border-radius: 20px 20px 0 0; }
.modal-close { position: absolute; top: 16px; right: 18px; cursor: pointer; color: var(--text-dim); font-size: 24px; line-height: 1; background: none; border: none; transition: color var(--t); }
.modal-close:hover { color: var(--text); }
.modal-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent, var(--jarvis)); }
.modal-title { font-family: var(--display); font-size: 25px; font-weight: 700; margin-top: 6px; letter-spacing: -0.3px; }
.modal-sub { color: var(--text-dim); font-size: 13.5px; margin-top: 4px; }
.modal-reports { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; font-size: 12px; color: var(--text-dim); background: var(--panel); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; }
.modal-body { padding: 19px 26px 26px; }
.modal-body h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin: 19px 0 10px; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p.desc { font-size: 14px; line-height: 1.65; color: var(--text); }
.task-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.task-list li { display: flex; gap: 11px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.task-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--accent, var(--jarvis)); box-shadow: 0 0 8px var(--accent, var(--jarvis)); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 12px; font-family: var(--mono); color: var(--text); background: var(--panel); border: 1px solid var(--border); padding: 5px 10px; border-radius: 8px; }
.chip.skill { background: rgba(45, 212, 191, 0.1); border-color: rgba(45, 212, 191, 0.32); display: inline-flex; align-items: center; gap: 6px; }
.chip.skill::before { content: "✦"; color: var(--jarvis); font-size: 10px; }

/* form */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; background: var(--panel); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: var(--sans); outline: none; resize: vertical; transition: border-color var(--t); }
.field input:focus, .field textarea:focus { border-color: var(--jarvis); }
.field .hint { font-size: 11px; color: var(--text-faint); margin-top: 5px; }
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; }
.skill-opt { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text); cursor: pointer; padding: 3px 0; }
.skill-opt input { width: auto; accent-color: var(--jarvis); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-actions .btn { flex: 1; justify-content: center; }
.btn.danger-btn { border-color: rgba(239, 68, 68, 0.4); color: #ff8585; }
.btn.danger-btn:hover { background: rgba(239, 68, 68, 0.1); }

/* ---------- Flow strip ---------- */
.flow { margin-top: 42px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.flow h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.flow-steps { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.flow-step { flex: 1 1 150px; min-width: 132px; position: relative; padding: 12px 14px; }
.flow-step .n { font-family: var(--mono); font-size: 11px; color: var(--jarvis); }
.flow-step .t { font-family: var(--display); font-weight: 600; font-size: 14px; margin: 5px 0; }
.flow-step .d { font-size: 11.5px; color: var(--text-dim); line-height: 1.45; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -7px; top: 18px; color: var(--text-faint); }

footer { text-align: center; color: var(--text-faint); font-size: 12px; margin-top: 46px; line-height: 1.6; }

/* ---------- Mind map ---------- */
.map-legend { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: var(--text-dim); font-size: 12.5px; margin-bottom: 12px; }
.map-legend i.lg { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 7px; }
.map-legend i.solid { border-top: 2px solid var(--border-bright); }
.map-legend i.dash { border-top: 2px dashed var(--jarvis); }
.map-hint { margin-left: auto; color: var(--text-faint); font-style: italic; }
.map-canvas { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; overflow: hidden; box-shadow: var(--shadow-1); }
.map-canvas svg { width: 100%; height: auto; display: block; }
.mm-node { cursor: pointer; }
.mm-node circle { transition: filter 120ms; }
.mm-node:hover circle { filter: brightness(1.25); }
.mm-label { font-family: var(--sans); fill: var(--text); pointer-events: none; font-weight: 500; }
.mm-sublabel { font-family: var(--mono); fill: var(--text-dim); pointer-events: none; }
.mm-flow-label { font-family: var(--mono); fill: var(--text-dim); pointer-events: none; }
.mm-flow-label-bg { fill: var(--bg); opacity: 0.85; }
.mm-edge { fill: none; }
.mm-skill-dot { fill: var(--jarvis); }
.mm-arrow { fill: var(--text-dim); }
.mm-node.dim { opacity: 0.18; }
.mm-edge.dim { opacity: 0.06; }

/* search dimming */
.dept.dimmed { opacity: 0.32; }
.emp.hidden { display: none; }
.emp.match { border-left-color: var(--jarvis); }

/* ============================================================
   LIGHT THEME
   ============================================================ */
body.light {
  --bg: #eef2f8;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --muted: #eef2f8;
  --border: rgba(15, 23, 42, 0.1);
  --border-bright: rgba(15, 23, 42, 0.2);
  --text: #0f1b2d;
  --text-dim: #51607a;
  --text-faint: #8593aa;
  --jarvis: #0d9488;
  --green: #16a34a;
  --shadow-1: 0 1px 3px rgba(30, 41, 75, 0.07);
  --shadow-2: 0 18px 40px rgba(30, 41, 75, 0.12);
}
body.light {
  background:
    radial-gradient(1100px 720px at 80% -10%, rgba(13, 148, 136, 0.10), transparent 60%),
    radial-gradient(1000px 820px at 10% 2%, rgba(22, 163, 74, 0.09), transparent 55%),
    radial-gradient(950px 760px at 50% 118%, rgba(59, 130, 246, 0.06), transparent 60%),
    var(--bg);
}
body.light::before { background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px); }
body.light .hero h1 .accent { background: linear-gradient(100deg, #0d9488, #14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.light .ceo { background: linear-gradient(180deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.04)), #fff; box-shadow: 0 0 44px rgba(13, 148, 136, 0.16), var(--shadow-2); border-color: rgba(13, 148, 136, 0.42); }
body.light .emp { background: rgba(15, 23, 42, 0.022); }
body.light .emp:hover { background: rgba(15, 23, 42, 0.05); }
body.light .dept-head:hover { background: rgba(15, 23, 42, 0.02); }
body.light .btn.primary, body.light .dept-badge, body.light .ceo .avatar { color: #042b1c; }

/* ---------- View toggle hide ---------- */
body.map-mode #toolbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .depts { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .depts { grid-template-columns: 1fr; } .dept::before, .spine, .bus { display: none; } .wrap { padding: 20px 16px 64px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
