.drh-command {
    /* Base &mdash; pulled from dr-global.css / dr-home.css */
    --bg: #071019;
    --bg-alt: #0b1622;
    --bg-deep: #040910;
    --panel: rgba(10, 18, 28, 0.66);
    --panel-strong: rgba(13, 23, 35, 0.9);
    --text: #ecf5fb;
    --soft: #c9d7e3;
    --muted: #8fa4b7;
    --faint: #6f8293;
    --gold: #c6a768;
    --cyan: #7ceaff;
    --line: rgba(124, 234, 255, 0.14);

    /* Per-domain accents (your established theme colors) */
    --sys: #4f8fc0;
    --cyber: #63d8e6;
    --culture: #cdab4f;
    --philosophy: #c76b73;   /* cardinal-ink identity, distinct from culture gold */
    --practical: #e08a3c;
    --health: #9ec27d;       /* sage-green from dr-health-performance.css --hp-sage */

    --radius: 18px;
    --radius-lg: 24px;
    --speed: 0.28s;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    --grid: 32px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  }

  .drh-command, .drh-command * { box-sizing: border-box; }
.drh-command * { margin: 0; padding: 0; }
.drh-command {
    background:
      radial-gradient(ellipse 44% 36% at 8% 6%, rgba(198,168,94,0.10), transparent 52%),
      radial-gradient(ellipse 34% 26% at 92% 10%, rgba(124,234,255,0.09), transparent 55%),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 52%, var(--bg-deep) 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    /* Full-width viewport breakout — background extends edge-to-edge on desktop */
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  /* Moving grid overlay */
  .drh-command::before {
    content: "";
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
      linear-gradient(rgba(198,168,94,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(198,168,94,0.03) 1px, transparent 1px);
    background-size: var(--grid) var(--grid);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.12));
    animation: gridDrift 24s linear infinite;
  }
  @keyframes gridDrift { to { background-position: var(--grid) var(--grid); } }

  /* Cursor spotlight */
  #spotlight {
    position: fixed; width: 480px; height: 480px; border-radius: 50%;
    pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(circle, rgba(124,234,255,0.10), transparent 65%);
    transform: translate(-50%, -50%); mix-blend-mode: screen;
  }

  .drh-command .shell { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 24px 80px; }

  /* Scroll progress */
  .drh-command .progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 9998;
    transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--cyber), var(--gold), var(--philosophy));
    box-shadow: 0 0 18px rgba(198,168,94,0.5);
  }

  /* -- Topbar -- */
  .drh-command .topbar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap; padding: 22px 0 8px;
  }
  .drh-command .topbar-group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .drh-command .chip, .drh-command .nav-btn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 40px;
    padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: rgba(7,16,26,0.56); color: var(--soft);
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    backdrop-filter: blur(10px); transition: all var(--speed) ease; cursor: pointer;
    text-decoration: none;
  }
  .drh-command .nav-btn:hover { border-color: var(--cyber); color: var(--text); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,216,230,0.18); }
  .drh-command .chip.is-live { border-color: rgba(119,214,164,0.4); color: #9be7c2; }
  .drh-command .chip.is-live::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: #77d6a4;
    box-shadow: 0 0 10px #77d6a4; animation: pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
  .drh-command .kbd-hint {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
    border-radius: 999px; border: 1px solid var(--line); background: rgba(7,16,26,0.56);
    color: var(--muted); font-size: 11px; cursor: pointer; transition: all var(--speed) ease;
  }
  .drh-command .kbd-hint:hover { border-color: var(--gold); color: var(--text); }
  .drh-command .kbd-hint kbd {
    font-family: "Courier New", monospace; font-size: 11px; padding: 2px 6px;
    border-radius: 5px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  }

  /* -- Hero -- */
  .drh-command .hero { padding: 38px 0 20px; }
  .drh-command .hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
  @media (min-width: 940px) { .drh-command .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; } }

  .drh-command .eyebrow {
    color: var(--gold); font-family: "Courier New", monospace; font-size: 12px;
    letter-spacing: 3px; text-transform: uppercase; display: inline-block; margin-bottom: 14px;
  }
  .drh-command .title { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -1px; font-weight: 800; }
  .drh-command .title .lit { color: var(--gold); position: relative; }
  .drh-command .title .cursor { color: var(--cyber); animation: blink 1s step-end infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .drh-command .subtitle { color: var(--soft); font-size: 1.05rem; line-height: 1.6; max-width: 46ch; margin: 20px 0 26px; }

  .drh-command .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
  .drh-command .btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 14px 26px; border-radius: 12px; font-weight: 700;
    font-size: 0.95rem; cursor: pointer; text-decoration: none; overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; border: 0;
  }
  .drh-command .btn.is-primary { background: linear-gradient(135deg, var(--gold), var(--practical)); color: #10141a; }
  .drh-command .btn.is-secondary { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--line); }
  .drh-command .btn:hover { transform: translateY(-3px); }
  .drh-command .btn.is-primary:hover { box-shadow: 0 16px 40px rgba(198,168,94,0.32); filter: brightness(1.06); }
  .drh-command .btn.is-secondary:hover { border-color: var(--cyber); box-shadow: 0 12px 30px rgba(99,216,230,0.18); }
  .drh-command .btn .ripple { position: absolute; border-radius: 50%; transform: translate(-50%,-50%); background: rgba(255,255,255,0.4); pointer-events: none; animation: ripple 0.6s ease-out forwards; }
  @keyframes ripple { from { width: 0; height: 0; opacity: 0.5; } to { width: 320px; height: 320px; opacity: 0; } }

  /* Signal meter */
  .drh-command .signal {
    display: inline-flex; flex-direction: column; gap: 8px; padding: 14px 18px;
    border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
    backdrop-filter: blur(10px); cursor: pointer; transition: all var(--speed) ease; max-width: 520px;
  }
  .drh-command .signal:hover { border-color: var(--cyber); box-shadow: 0 0 0 1px rgba(99,216,230,0.2), 0 16px 40px rgba(0,0,0,0.3); }
  .drh-command .signal-label { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
  .drh-command .meter-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; position: relative; }
  .drh-command .meter-fill { height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyber), var(--gold)); position: relative; }
  .drh-command .meter-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); animation: scan 2.2s ease-in-out infinite; }
  @keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(220%); } }
  .drh-command .signal-value { font-size: 11px; color: var(--soft); line-height: 1.45; }
  .drh-command .signal-value b { color: var(--cyber); }

  /* Hero side */
  .drh-command .hero-side { display: grid; gap: 18px; }
  .drh-command .panel { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(12px); padding: 20px; box-shadow: var(--shadow); }
  .drh-command .panel-label { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
  .drh-command .status-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; }
  .drh-command .status-row span { color: var(--muted); }
  .drh-command .status-row strong { color: var(--text); text-align: right; max-width: 60%; }

  /* Knowledge graph visual */
  .drh-command .graph-panel { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; min-height: 260px; background: linear-gradient(160deg, rgba(20,32,46,0.6), rgba(7,16,26,0.9)); }
  .drh-command .graph-panel canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
  .drh-command .graph-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyber); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,16,26,0.7); }
  .drh-command .graph-caption { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 18px 16px 14px; background: linear-gradient(180deg, transparent, rgba(4,9,16,0.92)); }
  .drh-command .graph-caption strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
  .drh-command .graph-caption span { color: var(--muted); font-size: 0.8rem; }

  /* -- Diagnostics strip -- */
  .drh-command .diag {
    display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 26px 0;
  }
  @media (min-width: 720px) { .drh-command .diag { grid-template-columns: repeat(4, 1fr); } }
  .drh-command .diag-tile {
    border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
    padding: 16px 18px; backdrop-filter: blur(8px); position: relative; overflow: hidden;
  }
  .drh-command .diag-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent, var(--cyber)); }
  .drh-command .diag-tile .num { font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--text); }
  .drh-command .diag-tile .lbl { font-family: "Courier New", monospace; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

  /* -- Section heads -- */
  .drh-command .section { margin-top: 56px; }
  .drh-command .section-head { margin-bottom: 22px; max-width: 60ch; }
  .drh-command .section-label { font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
  .drh-command .section-head h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.5px; }
  .drh-command .section-head p { color: var(--muted); margin-top: 10px; line-height: 1.6; }

  /* -- Route grid (per-domain) -- */
  .drh-command .route-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .drh-command .route-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .drh-command .route-grid { grid-template-columns: repeat(3, 1fr); } }

  .drh-command .route {
    position: relative; display: block; padding: 22px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--panel); overflow: hidden;
    text-decoration: none; color: inherit; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    --accent: var(--cyber);
  }
  .drh-command .route::before { content: ""; position: absolute; inset: 0; opacity: 0.0; transition: opacity 0.3s ease; background: radial-gradient(circle at var(--mx,50%) var(--my,0%), color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%); }
  .drh-command .route:hover::before { opacity: 1; }
  .drh-command .route:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 50px color-mix(in srgb, var(--accent) 18%, transparent); }
  .drh-command .route .sweep { position: absolute; top: 0; left: -120%; width: 80%; height: 100%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent); transition: left 0.6s ease; }
  .drh-command .route:hover .sweep { left: 130%; }
  .drh-command .route-index { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .drh-command .route-index::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
  .drh-command .route h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .drh-command .route p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
  .drh-command .route .go { margin-top: 14px; font-family: "Courier New", monospace; font-size: 11px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: all 0.25s ease; }
  .drh-command .route:hover .go { opacity: 1; transform: translateX(0); }

  .drh-command .route[data-domain="systems"]    { --accent: var(--sys); }
  .drh-command .route[data-domain="cyber"]      { --accent: var(--cyber); }
  .drh-command .route[data-domain="culture"]    { --accent: var(--culture); }
  .drh-command .route[data-domain="philosophy"] { --accent: var(--philosophy); }
  .drh-command .route[data-domain="practical"]  { --accent: var(--practical); }

  /* -- Activity ticker -- */
  .drh-command .ticker {
    margin-top: 40px; border-radius: 12px; border: 1px solid var(--line);
    background: rgba(7,16,26,0.6); overflow: hidden; display: flex; align-items: center;
    backdrop-filter: blur(8px);
  }
  .drh-command .ticker-label {
    flex-shrink: 0; padding: 12px 16px; font-family: "Courier New", monospace; font-size: 10px;
    letter-spacing: 2px; text-transform: uppercase; color: #10141a; background: var(--cyber);
    display: flex; align-items: center; gap: 7px;
  }
  .drh-command .ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10141a; animation: pulse 1.4s infinite; }
  .drh-command .ticker-track { display: flex; gap: 38px; white-space: nowrap; animation: tick 38s linear infinite; padding-left: 38px; }
  .drh-command .ticker:hover .ticker-track { animation-play-state: paused; }
  .drh-command .ticker-track span { font-family: "Courier New", monospace; font-size: 12px; color: var(--soft); padding: 12px 0; }
  .drh-command .ticker-track span b { color: var(--gold); }
  @keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* -- Pathway tabs -- */
  .drh-command .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
  .drh-command .tab {
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
    background: rgba(7,16,26,0.5); color: var(--muted); font-size: 11px; letter-spacing: 1.5px;
    text-transform: uppercase; cursor: pointer; transition: all var(--speed) ease;
  }
  .drh-command .tab:hover { color: var(--text); }
  .drh-command .tab.is-active { color: #10141a; font-weight: 700; }
  .drh-command .tab[data-d="cyber"].is-active { background: var(--cyber); border-color: var(--cyber); }
  .drh-command .tab[data-d="systems"].is-active { background: var(--sys); border-color: var(--sys); }
  .drh-command .tab[data-d="culture"].is-active { background: var(--culture); border-color: var(--culture); }
  .drh-command .tab[data-d="philosophy"].is-active { background: var(--philosophy); border-color: var(--philosophy); }
  .drh-command .tab[data-d="practical"].is-active { background: var(--practical); border-color: var(--practical); }
  .drh-command .panel-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
  @media (min-width: 760px) { .drh-command .panel-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1100px) { .drh-command .panel-grid { grid-template-columns: repeat(3, 1fr); } }
  .drh-command .tabpanel { display: none; }
  .drh-command .tabpanel.is-active { display: block; animation: fadeUp 0.4s ease both; }
  .drh-command .path-card { position: relative; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: inherit; overflow: hidden; transition: all 0.2s ease; --accent: var(--cyber); }
  .drh-command .path-card:hover { transform: translateY(-3px); border-color: var(--accent); }
  .drh-command .path-step { font-family: "Courier New", monospace; font-size: 10px; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
  .drh-command .path-card h4 { font-size: 1rem; margin-bottom: 6px; }
  .drh-command .path-card p { color: var(--muted); font-size: 0.84rem; line-height: 1.5; }

  /* -- Reveal -- */
  .drh-command .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .drh-command .reveal.in { opacity: 1; transform: none; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  /* -- CTA -- */
  .drh-command .cta { margin-top: 60px; text-align: center; padding: 48px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(ellipse at top, rgba(99,216,230,0.08), transparent 60%), var(--panel); }
  .drh-command .cta h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); max-width: 24ch; margin: 0 auto 14px; line-height: 1.15; }
  .drh-command .cta p { color: var(--muted); max-width: 56ch; margin: 0 auto 24px; line-height: 1.6; }
  .drh-command .footer-note { margin-top: 48px; text-align: center; color: var(--faint); font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 1px; }

  /* -- Command palette -- */
  .drh-command .cmdk { position: fixed; inset: 0; z-index: 10000; display: none; align-items: flex-start; justify-content: center; padding-top: 14vh; background: rgba(4,9,16,0.72); backdrop-filter: blur(6px); }
  .drh-command .cmdk.open { display: flex; animation: fadeIn 0.18s ease; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .drh-command .cmdk-box { width: min(620px, 92vw); border-radius: 16px; border: 1px solid var(--line); background: var(--panel-strong); box-shadow: 0 40px 100px rgba(0,0,0,0.6); overflow: hidden; animation: popIn 0.22s cubic-bezier(0.2,0.9,0.3,1.2); }
  @keyframes popIn { from { opacity: 0; transform: translateY(-12px) scale(0.98); } to { opacity: 1; transform: none; } }
  .drh-command .cmdk-input { width: 100%; padding: 18px 20px; border: 0; background: transparent; color: var(--text); font-size: 1.05rem; outline: none; border-bottom: 1px solid var(--line); }
  .drh-command .cmdk-input::placeholder { color: var(--faint); }
  .drh-command .cmdk-list { max-height: 50vh; overflow-y: auto; padding: 8px; }
  .drh-command .cmdk-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; text-decoration: none; color: var(--soft); }
  .drh-command .cmdk-item .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--accent, var(--cyber)); box-shadow: 0 0 10px var(--accent, var(--cyber)); }
  .drh-command .cmdk-item .nm { flex: 1; color: var(--text); font-size: 0.95rem; }
  .drh-command .cmdk-item .cat { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
  .drh-command .cmdk-item.sel, .drh-command .cmdk-item:hover { background: rgba(124,234,255,0.08); }
  .drh-command .cmdk-empty { padding: 20px; text-align: center; color: var(--faint); font-size: 0.9rem; }
  .drh-command .cmdk-foot { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; gap: 16px; color: var(--faint); font-size: 11px; }
  .drh-command .cmdk-foot kbd { font-family: "Courier New", monospace; padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }

  /* -- Stats modal -- */
  .drh-command .modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(4,9,16,0.72); backdrop-filter: blur(6px); }
  .drh-command .modal.open { display: flex; animation: fadeIn 0.18s ease; }
  .drh-command .modal-panel { width: min(440px, 92vw); border-radius: 18px; border: 1px solid var(--line); background: var(--panel-strong); padding: 26px; box-shadow: 0 40px 100px rgba(0,0,0,0.6); animation: popIn 0.24s cubic-bezier(0.2,0.9,0.3,1.2); }
  .drh-command .modal-panel h3 { margin-bottom: 16px; font-size: 1.2rem; }
  .drh-command .stat-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .drh-command .stat-row span { color: var(--muted); }
  .drh-command .stat-row strong { color: var(--cyber); }
  .drh-command .close-btn { margin-top: 18px; width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); color: var(--text); cursor: pointer; transition: all var(--speed) ease; }
  .drh-command .close-btn:hover { border-color: var(--cyber); }

  /* -- Per-domain accent (shared across cards) -- */
  .drh-command [data-domain="systems"]    { --accent: var(--sys); }
  .drh-command [data-domain="cyber"]      { --accent: var(--cyber); }
  .drh-command [data-domain="culture"]    { --accent: var(--culture); }
  .drh-command [data-domain="philosophy"] { --accent: var(--philosophy); }
  .drh-command [data-domain="practical"]  { --accent: var(--practical); }
  .drh-command [data-domain="health"]     { --accent: var(--health); }

  /* -- Start Here -- */
  .start-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 18px; }
  @media (min-width: 640px) { .start-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .start-grid { grid-template-columns: repeat(4, 1fr); } }
  .start-hub {
    position: relative; display: flex; align-items: center; gap: 10px; padding: 18px 20px;
    border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
    font-weight: 700; text-decoration: none; overflow: hidden; transition: all 0.2s ease; --accent: var(--cyber);
  }
  .start-hub::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex-shrink: 0; }
  .start-hub:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 18%, transparent); }
  .start-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
  .start-links-label { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
  .start-links a {
    padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,16,26,0.5);
    color: var(--soft); font-size: 0.85rem; text-decoration: none; transition: all 0.2s ease;
  }
  .start-links a:hover { border-color: var(--gold); color: var(--text); transform: translateY(-2px); }

  /* -- Dutch Integration -- */
  .drh-command .dutch-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
  @media (min-width: 760px) { .dutch-grid { grid-template-columns: 1.4fr 1fr; } }
  @media (min-width: 1060px) { .dutch-grid { grid-template-columns: 1.8fr 1fr 1fr; grid-template-rows: auto auto; } .dutch-main { grid-row: span 2; } }
  .drh-command .dutch-main { position: relative; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(150deg, color-mix(in srgb, var(--practical) 12%, transparent), transparent 55%), var(--panel); overflow: hidden; --accent: var(--practical); }
  .drh-command .dutch-main h3 { font-size: 1.5rem; margin: 6px 0 8px; }
  .drh-command .dutch-main p { color: var(--soft); line-height: 1.55; margin-bottom: 18px; max-width: 44ch; }
  /* Dutch flag &mdash; horizontal bands (red top, white middle, blue bottom) */
  .drh-command .dutch-flag { display: flex; flex-direction: column; width: 44px; border-radius: 3px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 4px 14px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12); }
  .drh-command .dutch-flag span { display: block; width: 100%; height: 9px; }
  .drh-command .dutch-flag span:nth-child(1) { background: #ae1c28; }
  .drh-command .dutch-flag span:nth-child(2) { background: #ffffff; }
  .drh-command .dutch-flag span:nth-child(3) { background: #21468b; }
  .drh-command .dutch-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .drh-command .dutch-actions .btn { min-height: 44px; padding: 11px 20px; }
  .drh-command .dutch-card { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); transition: all 0.2s ease; }
  .drh-command .dutch-card:hover { transform: translateY(-3px); border-color: var(--practical); }
  .drh-command .dutch-card span { font-family: "Courier New", monospace; font-size: 1.4rem; font-weight: 800; color: var(--practical); }
  .drh-command .dutch-card h4 { margin: 6px 0 6px; font-size: 1.05rem; }
  .drh-command .dutch-card p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

  /* -- Filters + page cards -- */
  .drh-command .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .drh-command .filter-btn {
    padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,16,26,0.5);
    color: var(--muted); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all var(--speed) ease;
  }
  .drh-command .filter-btn:hover { color: var(--text); border-color: var(--cyan); }
  .drh-command .filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: #10141a; font-weight: 700; }
  .card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
  .drh-command .pcard {
    position: relative; display: block; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--panel); overflow: hidden; text-decoration: none; color: inherit; --accent: var(--cyber);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .drh-command .pcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 50px color-mix(in srgb, var(--accent) 16%, transparent); }
  .drh-command .pcard .sweep { position: absolute; top: 0; left: -120%; width: 80%; height: 100%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent); transition: left 0.6s ease; }
  .drh-command .pcard:hover .sweep { left: 130%; }
  .drh-command .pcard h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .drh-command .pcard p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
  .drh-command .pcard.hide { display: none; }
  .drh-command .pcard .go { margin-top: 12px; font-family: "Courier New", monospace; font-size: 11px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: all 0.25s ease; }
  .drh-command .pcard:hover .go { opacity: 1; transform: translateX(0); }

  /* -- Theme Explorer (cards + detail window) -- */
  .explorer-layout { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
  @media (min-width: 980px) { .explorer-layout { grid-template-columns: minmax(0, 1fr) 24rem; } }

  .explorer-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
  @media (min-width: 560px) { .explorer-grid { grid-template-columns: repeat(2, 1fr); } }

  .drh-command .theme-card {
    position: relative; text-align: left; cursor: pointer; padding: 18px 18px 18px 20px;
    border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
    color: inherit; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    --accent: var(--cyber); display: grid; gap: 6px;
  }
  .drh-command .theme-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
  .drh-command .theme-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 16%, transparent); }
  .drh-command .theme-card.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 18px 44px color-mix(in srgb, var(--accent) 14%, transparent); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
  .drh-command .theme-card .tc-kicker { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 7px; }
  .drh-command .theme-card .tc-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
  .drh-command .theme-card h3 { font-size: 1.12rem; }
  .drh-command .theme-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
  .drh-command .theme-card .tc-count { font-family: "Courier New", monospace; font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: 1px; }

  .explorer-detail {
    position: sticky; top: 16px; border-radius: var(--radius-lg); border: 1px solid var(--line);
    border-top: 3px solid var(--accent, var(--cyber)); background: var(--panel-strong);
    backdrop-filter: blur(12px); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; --accent: var(--cyber);
  }
  .drh-command .detail-kicker { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
  .drh-command .detail-title { font-size: 1.5rem; line-height: 1.1; }
  .drh-command .detail-extract { color: var(--soft); font-size: 0.92rem; line-height: 1.6; }
  .drh-command .detail-hub-btn {
    display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 11px 18px;
    border-radius: 10px; border: 0; font-weight: 700; font-size: 0.9rem; cursor: pointer; text-decoration: none;
    color: #10141a; background: var(--accent); transition: transform 0.18s ease, filter 0.18s ease;
  }
  .drh-command .detail-hub-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
  .drh-command .detail-h4 { font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); }
  .drh-command .detail-list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .drh-command .detail-list a {
    display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px; text-decoration: none;
    color: var(--text); font-size: 0.88rem; background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.05); transition: all 0.16s ease;
  }
  .drh-command .detail-list a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
  .drh-command .detail-list a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, rgba(0,0,0,0.22)); transform: translateX(3px); }
  .drh-command .detail-list a .arr { margin-left: auto; color: var(--accent); opacity: 0; transition: opacity 0.16s ease; font-family: "Courier New", monospace; }
  .drh-command .detail-list a:hover .arr { opacity: 1; }
  /* numbered reading path */
  .drh-command .detail-steps { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .drh-command .detail-steps a {
    display: flex; align-items: flex-start; gap: 11px; padding: 11px 12px; border-radius: 10px; text-decoration: none;
    color: var(--text); background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.05); transition: all 0.16s ease;
  }
  .drh-command .detail-steps a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, rgba(0,0,0,0.22)); transform: translateX(3px); }
  .drh-command .step-no { font-family: "Courier New", monospace; font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0; padding-top: 1px; min-width: 20px; }
  .drh-command .step-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
  .drh-command .step-nm { font-size: 0.9rem; font-weight: 600; }
  .drh-command .step-note { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
  .drh-command .detail-steps a .arr { margin-left: auto; align-self: center; color: var(--accent); opacity: 0; transition: opacity 0.16s ease; font-family: "Courier New", monospace; }
  .drh-command .detail-steps a:hover .arr { opacity: 1; }
  .drh-command .coming-list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .drh-command .coming-list li {
    display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px; font-size: 0.85rem;
    color: var(--muted); background: rgba(0,0,0,0.16); border: 1px dashed rgba(255,255,255,0.12);
  }
  .drh-command .coming-list li .badge { margin-left: auto; font-family: "Courier New", monospace; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(198,168,94,0.3); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .drh-command .reveal { opacity: 1; transform: none; }
  }

  .drh-command .actions-center { justify-content: center; }
  .drh-command .route-index-practical { --accent: var(--practical); }
  .drh-command .section-label-practical { color: var(--practical); }

  /* Mobile reset — undo the viewport breakout on small screens */
  @media (max-width: 640px) {
    .drh-command {
      left: auto;
      right: auto;
      width: 100%;
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
    }

    .drh-command .shell {
      padding: 0 16px 48px;
    }

    .drh-command .hero-grid {
      grid-template-columns: 1fr;
    }

    .drh-command .title {
      font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .drh-command .topbar {
      padding: 14px 0 4px;
    }

    .drh-command .chip,
    .drh-command .nav-btn {
      font-size: 9px;
      padding: 8px 10px;
      min-height: 38px;
    }

    .drh-command .actions {
      flex-direction: column;
    }

    .drh-command .btn {
      width: 100%;
    }

    .drh-command .route-grid {
      grid-template-columns: 1fr;
    }

    .drh-command .dutch-grid {
      grid-template-columns: 1fr;
    }

    .drh-command .card-grid,
    .card-grid {
      grid-template-columns: 1fr;
    }

    .start-grid {
      grid-template-columns: 1fr;
    }

    .explorer-layout {
      grid-template-columns: 1fr;
    }

    .drh-command .cta {
      padding: 32px 18px;
    }
  }
