
  :root {
    --bg:            #0a0a0f;
    --bg-raised:     #111118;
    --bg-card:       #16161f;
    --bg-input:      #1c1c28;
    --text:          #f5f5f7;
    --text-2:        #8e8e93;
    --text-3:        #636366;
    --primary:       #6366f1;
    --primary-light: #818cf8;
    --primary-dim:   rgba(99,102,241,0.1);
    --accent:        #22d3ee;
    --calm:          #0ea5e9;
    --success:       #22c55e;
    --warn:          #f59e0b;
    --error:         #ef4444;
    --border:        rgba(255,255,255,0.08);
    --border-hi:     rgba(255,255,255,0.15);
    --font:          'DM Sans', -apple-system, sans-serif;
    --font-disp:     'Playfair Display', Georgia, serif;
    --font-mono:     ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
    --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px;
    --ease:          all 0.25s cubic-bezier(0.4,0,0.2,1);
    --ease-bounce:   all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    --glow:          0 0 60px rgba(99,102,241,0.12);
    --glow-calm:     0 0 60px rgba(14,165,233,0.10);
    --sidebar-w:     252px;
    --header-h:      60px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }

  body::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(99,102,241,0.02) 1px,transparent 1px), linear-gradient(90deg,rgba(99,102,241,0.02) 1px,transparent 1px);
    background-size: 52px 52px;
  }

  /* ── HEADER ── */
  .header {
    position: fixed; top:0; left:0; right:0; z-index:300;
    height: var(--header-h);
    background: rgba(10,10,15,0.88); backdrop-filter: blur(22px) saturate(1.3);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; gap: 16px;
  }
  .header-left { display:flex; align-items:center; gap:14px; }
  .logo { display:flex; align-items:center; gap:9px; text-decoration:none; color:var(--text); font-weight:700; font-size:16px; letter-spacing:-0.01em; }
  .logo img { width:30px; height:30px; }
  .breadcrumb { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--text-3); }
  .breadcrumb span { color:var(--text-2); font-weight:500; }
  .breadcrumb svg { width:10px; height:10px; }
  .header-right { display:flex; align-items:center; gap:8px; }
  .hbtn { display:inline-flex; align-items:center; gap:6px; padding:7px 13px; border-radius:var(--r-md); font-size:12px; font-weight:600; font-family:var(--font); cursor:pointer; border:none; transition:var(--ease); text-decoration:none; }
  .hbtn svg { width:12px; height:12px; stroke:currentColor; fill:none; stroke-width:2; flex-shrink:0; }
  .hbtn-ghost { background:transparent; color:var(--text-2); border:1px solid var(--border); }
  .hbtn-ghost:hover { background:var(--bg-raised); border-color:var(--border-hi); color:var(--text); }
  .hbtn-calm { background:linear-gradient(135deg,var(--calm),var(--primary)); color:white; box-shadow:0 2px 14px rgba(14,165,233,0.3); }
  .hbtn-calm:hover { opacity:.9; transform:translateY(-1px); }
  .user-chip { display:flex; align-items:center; gap:8px; padding:4px 12px 4px 4px; background:var(--bg-raised); border:1px solid var(--border); border-radius:100px; cursor:pointer; transition:var(--ease); }
  .user-chip:hover { border-color:var(--border-hi); }
  .user-avatar { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:white; flex-shrink:0; }
  .user-name { font-size:13px; font-weight:500; color:var(--text-2); }
  .signout-btn { background:none; border:none; cursor:pointer; font-family:var(--font); font-size:12px; color:var(--text-3); padding:6px 8px; border-radius:var(--r-sm); transition:var(--ease); }
  .signout-btn:hover { color:var(--text-2); background:var(--bg-raised); }

  /* ── LAYOUT ── */
  .layout { display:flex; padding-top:var(--header-h); min-height:100vh; position:relative; z-index:1; }

  /* ── SIDEBAR ── */
  .sidebar { width:var(--sidebar-w); flex-shrink:0; background:var(--bg-raised); border-right:1px solid var(--border); position:fixed; top:var(--header-h); left:0; bottom:0; overflow-y:auto; display:flex; flex-direction:column; padding:18px 0 24px; }
  .sidebar-sect { padding:0 12px; margin-bottom:24px; }
  .sidebar-lbl { font-size:9.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.13em; color:var(--text-3); padding:0 8px; margin-bottom:6px; }
  .snav { display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:var(--r-sm); font-size:13px; font-weight:500; color:var(--text-2); text-decoration:none; cursor:pointer; border:1px solid transparent; background:none; font-family:var(--font); width:100%; transition:var(--ease); text-align:left; white-space:nowrap; overflow:hidden; }
  .snav svg { width:14px; height:14px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.8; }
  .snav:hover { background:rgba(255,255,255,0.04); color:var(--text); }
  .snav.active { background:var(--primary-dim); color:var(--primary-light); border-color:rgba(99,102,241,0.22); }
  .snav.calm-nav { color:var(--calm); }
  .snav.calm-nav:hover { background:rgba(14,165,233,0.07); }
  .snav.contact-nav { color:var(--accent); }
  .snav.contact-nav:hover { background:rgba(34,211,238,0.06); }
  .snav-badge { margin-left:auto; font-size:10px; font-weight:700; font-family:var(--font-mono); padding:1px 7px; border-radius:100px; background:rgba(99,102,241,0.15); color:var(--primary-light); border:1px solid rgba(99,102,241,0.25); }
  .repo-search-wrap { padding:0 12px; margin-bottom:6px; }
  .repo-search { width:100%; padding:7px 11px; border-radius:var(--r-sm); background:var(--bg-card); border:1px solid var(--border); color:var(--text); font-family:var(--font); font-size:12px; outline:none; transition:var(--ease); }
  .repo-search:focus { border-color:rgba(99,102,241,0.4); }
  .repo-search::placeholder { color:var(--text-3); }
  .sidebar-cta { margin:auto 12px 0; background:linear-gradient(135deg,rgba(99,102,241,0.1),rgba(14,165,233,0.07)); border:1px solid rgba(99,102,241,0.22); border-radius:var(--r-md); padding:16px; }
  .sidebar-cta-title { font-size:12px; font-weight:700; color:var(--primary-light); margin-bottom:5px; }
  .sidebar-cta-desc { font-size:11px; color:var(--text-2); line-height:1.5; margin-bottom:12px; }
  .sidebar-cta-btn { display:block; width:100%; text-align:center; padding:8px; border-radius:var(--r-sm); background:var(--primary); color:white; font-size:12px; font-weight:700; text-decoration:none; border:none; cursor:pointer; font-family:var(--font); transition:var(--ease); }
  .sidebar-cta-btn:hover { background:var(--primary-light); }

  /* ── MAIN ── */
  .main { margin-left:var(--sidebar-w); flex:1; padding:28px 32px 80px; max-width:calc(100vw - var(--sidebar-w)); }
  .page-hdr { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:24px; gap:16px; }
  .page-hdr-eyebrow { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:var(--primary-light); margin-bottom:4px; }
  .page-hdr-title { font-family:var(--font-disp); font-size:26px; font-weight:700; line-height:1.15; }
  .page-hdr-actions { display:flex; gap:8px; flex-shrink:0; }

  /* ── STATS ── */
  .stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:28px; }
  .stat-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 20px; position:relative; overflow:hidden; transition:var(--ease); }
  .stat-card:hover { border-color:var(--border-hi); transform:translateY(-1px); }
  .stat-card::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--stat-color,var(--primary)); opacity:0.5; }
  .stat-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:var(--text-3); margin-bottom:10px; display:flex; align-items:center; gap:5px; }
  .stat-label svg { width:11px; height:11px; stroke:currentColor; fill:none; stroke-width:2; opacity:0.7; }
  .stat-value { font-family:var(--font-disp); font-size:32px; font-weight:700; line-height:1; margin-bottom:4px; }
  .stat-value.ok { color:var(--success); }
  .stat-value.err { color:var(--error); }
  .stat-value.warn { color:var(--warn); }
  .stat-value.neutral { color:var(--text); }
  .stat-sub { font-size:11px; color:var(--text-3); }

  /* ── SECTION ── */
  .section-hdr { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
  .section-title { font-size:14px; font-weight:700; letter-spacing:-0.01em; }
  .section-meta { font-size:11px; color:var(--text-3); font-family:var(--font-mono); }

  /* ── FILTER ROW ── */
  .filter-row { display:flex; gap:8px; margin-bottom:14px; }
  .filter-btn { padding:5px 14px; border-radius:var(--r-sm); font-size:12px; font-weight:600; background:var(--bg-card); border:1px solid var(--border); color:var(--text-2); cursor:pointer; transition:var(--ease); font-family:var(--font); }
  .filter-btn:hover  { border-color:var(--border-hi); color:var(--text); }
  .filter-btn.active { background:var(--primary-dim); color:var(--primary-light); border-color:rgba(99,102,241,0.35); }

  /* ── PR LIST ── */
  .pr-list { display:grid; gap:8px; }
  .pr-row { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:13px 18px; cursor:pointer; transition:var(--ease); display:grid; grid-template-columns:10px 1fr auto auto auto; gap:14px; align-items:center; position:relative; overflow:hidden; }
  .pr-row::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--row-accent,var(--text-3)); border-radius:0 2px 2px 0; opacity:0; transition:var(--ease); }
  .pr-row:hover { border-color:var(--border-hi); transform:translateX(3px); }
  .pr-row:hover::before { opacity:1; }
  .pr-row.selected { border-color:rgba(99,102,241,0.35); background:rgba(99,102,241,0.04); }
  .pr-row.selected::before { opacity:1; background:var(--primary-light); }
  .pr-row.row-err  { --row-accent:var(--error); }
  .pr-row.row-warn { --row-accent:var(--warn); }
  .pr-row.row-ok   { --row-accent:var(--success); }
  .dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
  .dot-ok   { background:var(--success); box-shadow:0 0 6px rgba(34,197,94,0.5); }
  .dot-warn { background:var(--warn);    box-shadow:0 0 6px rgba(245,158,11,0.4); }
  .dot-err  { background:var(--error);   box-shadow:0 0 6px rgba(239,68,68,0.5); }
  .pr-main { min-width:0; }
  .pr-title { font-size:13px; font-weight:600; color:var(--text); margin-bottom:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .pr-sub { font-size:11px; color:var(--text-3); font-family:var(--font-mono); }
  .pr-badge { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:600; font-family:var(--font-mono); padding:3px 9px; border-radius:var(--r-xs); white-space:nowrap; }
  .badge-err  { background:rgba(239,68,68,0.1);  color:var(--error);   border:1px solid rgba(239,68,68,0.2); }
  .badge-warn { background:rgba(245,158,11,0.09); color:var(--warn);    border:1px solid rgba(245,158,11,0.2); }
  .badge-ok   { background:rgba(34,197,94,0.08);  color:var(--success); border:1px solid rgba(34,197,94,0.2); }
  .pr-status { font-size:11px; white-space:nowrap; font-weight:500; }
  .pr-date   { font-size:11px; color:var(--text-3); white-space:nowrap; font-family:var(--font-mono); }

  /* ── STATES ── */
  .loading-state, .empty-state, .error-state { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:64px 20px; text-align:center; }
  .spinner { width:32px; height:32px; border:2px solid var(--border); border-top-color:var(--primary); border-radius:50%; animation:spin 0.7s linear infinite; }
  @keyframes spin { to{transform:rotate(360deg)} }
  .state-title { font-size:15px; font-weight:600; color:var(--text-2); }
  .state-desc  { font-size:13px; color:var(--text-3); max-width:300px; line-height:1.6; }

  /* ── PAGINATION ── */
  .pagination { display:flex; justify-content:center; gap:10px; margin-top:20px; }
  .page-btn { padding:8px 18px; border-radius:var(--r-sm); font-size:13px; font-weight:600; background:var(--bg-card); border:1px solid var(--border); color:var(--text-2); cursor:pointer; transition:var(--ease); font-family:var(--font); }
  .page-btn:hover:not(:disabled) { border-color:var(--border-hi); color:var(--text); }
  .page-btn:disabled { opacity:0.3; cursor:not-allowed; }

  /* ── DETAIL PANEL ── */
  .detail-panel { position:fixed; top:var(--header-h); right:0; bottom:0; width:660px; background:var(--bg-raised); border-left:1px solid var(--border); display:flex; flex-direction:column; z-index:100; transform:translateX(100%); transition:transform 0.32s cubic-bezier(0.4,0,0.2,1); box-shadow:-20px 0 60px rgba(0,0,0,0.45); }
  .detail-panel.open { transform:translateX(0); }
  .detail-header { padding:18px 22px; border-bottom:1px solid var(--border); display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-shrink:0; background:var(--bg); }
  .detail-title { font-size:15px; font-weight:700; margin-bottom:4px; letter-spacing:-0.01em; }
  .detail-meta  { font-size:11px; color:var(--text-3); font-family:var(--font-mono); line-height:1.5; }
  .detail-close { background:none; border:none; cursor:pointer; color:var(--text-3); font-size:17px; padding:3px 7px; border-radius:var(--r-sm); transition:var(--ease); line-height:1; }
  .detail-close:hover { color:var(--text); background:rgba(255,255,255,0.06); }
  .detail-actions { display:flex; gap:6px; flex-wrap:wrap; padding:10px 22px 14px; background:var(--bg); border-bottom:1px solid var(--border); }
  .hbtn-block { background:rgba(239,68,68,0.12); color:var(--error); border:1px solid rgba(239,68,68,0.25); }
  .hbtn-block:hover { background:rgba(239,68,68,0.2); border-color:rgba(239,68,68,0.45); }
  .detail-tabs { display:flex; border-bottom:1px solid var(--border); flex-shrink:0; }
  .detail-tab { padding:10px 18px; font-size:12px; font-weight:600; cursor:pointer; color:var(--text-3); border-bottom:2px solid transparent; transition:var(--ease); background:none; border-top:none; border-left:none; border-right:none; font-family:var(--font); }
  .detail-tab:hover { color:var(--text-2); }
  .detail-tab.active { color:var(--primary-light); border-bottom-color:var(--primary-light); }
  .detail-body { flex:1; overflow-y:auto; }

  /* violations */
  .violations-list { padding:16px; display:grid; gap:10px; }
  .violation-card { border-radius:var(--r-md); padding:13px 15px; border:1px solid; display:flex; gap:12px; align-items:flex-start; }
  .vc-error   { background:rgba(239,68,68,0.05);  border-color:rgba(239,68,68,0.2); }
  .vc-warning { background:rgba(245,158,11,0.05); border-color:rgba(245,158,11,0.2); }
  .vc-pass    { background:rgba(34,197,94,0.04);  border-color:rgba(34,197,94,0.15); }
  .vc-icon { font-size:15px; flex-shrink:0; margin-top:1px; }
  .vc-content { flex:1; min-width:0; }
  .vc-title { font-size:13px; font-weight:600; margin-bottom:4px; }
  .vc-desc  { font-size:12px; color:var(--text-2); line-height:1.5; }
  .vc-node  { font-size:11px; font-family:var(--font-mono); margin-top:5px; padding:2px 7px; background:rgba(255,255,255,0.05); border-radius:4px; display:inline-block; color:var(--accent); }

  /* arch graph node panel — same positioning as dashNodePanel */
  #archNodePanel { position:absolute; top:0; right:0; width:270px; height:100%; overflow-y:auto; background:var(--bg-raised); border-left:1px solid var(--border); z-index:10; box-shadow:-8px 0 24px rgba(0,0,0,0.3); }
  /* graph tab */
  .graph-wrap { padding:14px 16px 0; }
  .graph-container { position:relative; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
  .graph-bar { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; border-bottom:1px solid var(--border); background:var(--bg-raised); }
  .graph-bar-title { font-size:11px; font-family:var(--font-mono); color:var(--text-3); display:flex; align-items:center; gap:7px; }
  .graph-dot-pulse { width:7px; height:7px; border-radius:50%; background:var(--calm); animation:pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
  .graph-status { font-size:10px; font-family:var(--font-mono); color:var(--text-3); }
  #dash-graph-canvas { width:100%; height:380px; display:block; }
  .graph-empty-state { height:380px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--text-3); font-size:12px; }
  .graph-legend { display:flex; gap:14px; padding:10px 16px; border-top:1px solid var(--border); background:var(--bg-raised); flex-wrap:wrap; }
  .legend-item { display:flex; align-items:center; gap:5px; font-family:var(--font-mono); font-size:10px; color:var(--text-3); }
  .legend-dot { width:8px; height:8px; border-radius:50%; }

  /* node panel inside graph */
  #dashNodePanel { position:absolute; right:12px; top:12px; width:222px; background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; z-index:10; box-shadow:0 8px 32px rgba(0,0,0,0.5); animation:panelIn 0.2s ease; }
  @keyframes panelIn { from{opacity:0;transform:translateY(-5px) scale(0.97)} to{opacity:1;transform:none} }
  .np-hdr { padding:9px 12px; background:var(--bg-card); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
  .np-hdr-title { font-weight:700; font-size:12px; }
  .np-hdr-close { background:none; border:none; color:var(--text-3); cursor:pointer; font-size:13px; padding:0; line-height:1; }
  .np-hdr-close:hover { color:var(--text); }
  .np-body { padding:10px 12px; display:flex; flex-direction:column; gap:5px; }
  .np-badge { display:inline-flex; align-items:center; gap:4px; font-family:var(--font-mono); font-size:9px; letter-spacing:0.08em; text-transform:uppercase; padding:2px 7px; border-radius:100px; border:1px solid; width:fit-content; }
  .np-desc { font-size:11px; color:var(--text-2); line-height:1.5; }
  .np-section { margin-top:4px; }
  .np-section-title { font-family:var(--font-mono); font-size:9px; color:var(--text-3); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:3px; }
  .np-row { display:flex; gap:6px; font-size:10px; padding:3px 0; border-bottom:1px solid rgba(255,255,255,0.04); }
  .np-row:last-child { border-bottom:none; }
  .np-row-key { color:var(--text-3); flex:0 0 62px; font-family:var(--font-mono); font-size:9px; }
  .np-row-val { color:var(--text); word-break:break-all; font-size:10px; }
  .np-violation { padding:5px 8px; background:rgba(239,68,68,0.08); border:1px solid rgba(239,68,68,0.2); border-radius:5px; font-size:10px; color:var(--error); line-height:1.5; }

  /* ── IMPACT TAB ── */
  .impact-wrap { padding:16px; display:flex; flex-direction:column; gap:12px; }

  /* summary bar */
  .impact-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
  .impact-stat { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:10px 14px; text-align:center; }
  .impact-stat-val { font-family:var(--font-disp); font-size:22px; font-weight:700; line-height:1; margin-bottom:2px; }
  .impact-stat-lbl { font-size:10px; font-family:var(--font-mono); color:var(--text-3); text-transform:uppercase; letter-spacing:0.08em; }
  .impact-stat.high   .impact-stat-val { color:var(--error); }
  .impact-stat.medium .impact-stat-val { color:var(--warn); }
  .impact-stat.low    .impact-stat-val { color:var(--text-2); }

  /* changed nodes strip */
  .impact-changed { background:rgba(99,102,241,0.06); border:1px solid rgba(99,102,241,0.2); border-radius:var(--r-md); padding:10px 14px; }
  .impact-changed-title { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--primary-light); margin-bottom:7px; }
  .impact-changed-nodes { display:flex; flex-wrap:wrap; gap:6px; }
  .impact-changed-chip { font-family:var(--font-mono); font-size:11px; padding:3px 9px; border-radius:100px; background:rgba(99,102,241,0.12); border:1px solid rgba(99,102,241,0.3); color:var(--primary-light); }

  /* affected node cards */
  .impact-section-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--text-3); margin-top:4px; }
  .impact-node { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); transition:var(--ease); }
  .impact-node:hover { border-color:var(--border-hi); }
  .impact-risk-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; margin-top:4px; }
  .risk-high   { background:var(--error);   box-shadow:0 0 6px rgba(239,68,68,0.5); }
  .risk-medium { background:var(--warn);    box-shadow:0 0 6px rgba(245,158,11,0.4); }
  .risk-low    { background:var(--text-3); }
  .impact-node-main { flex:1; min-width:0; }
  .impact-node-name { font-size:12px; font-weight:600; margin-bottom:2px; }
  .impact-node-meta { font-size:10px; font-family:var(--font-mono); color:var(--text-3); margin-bottom:4px; }
  .impact-node-path { font-size:10px; font-family:var(--font-mono); color:var(--text-3); padding:3px 7px; background:rgba(255,255,255,0.04); border-radius:4px; display:inline-block; }
  .impact-hop { flex-shrink:0; text-align:right; }
  .impact-hop-num { font-family:var(--font-disp); font-size:18px; font-weight:700; line-height:1; }
  .impact-hop-lbl { font-size:9px; font-family:var(--font-mono); color:var(--text-3); text-transform:uppercase; }

  /* loading / empty states for impact tab */
  .impact-loading { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:48px 20px; color:var(--text-3); font-size:12px; }
  .impact-empty   { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:48px 20px; color:var(--text-3); font-size:12px; text-align:center; }

  /* tooltip */
  #dash-tooltip { position:fixed; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:10px 13px; font-family:var(--font-mono); font-size:11px; color:var(--text); pointer-events:none; z-index:9999; max-width:220px; line-height:1.5; box-shadow:0 8px 32px rgba(0,0,0,0.5); display:none; }
  .tt-name { font-family:var(--font); font-weight:700; font-size:12px; margin-bottom:3px; }
  .tt-type { font-size:9px; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:4px; opacity:0.55; }
  .tt-desc { font-size:10px; color:var(--text-2); line-height:1.4; margin-bottom:3px; }
  .tt-divider { height:1px; background:var(--border); margin:4px 0; }
  .tt-violation { font-size:10px; color:var(--error); padding:3px 6px; background:rgba(239,68,68,0.08); border-radius:4px; }

  /* ── OVERLAYS ── */
  .overlay-backdrop { display:none; position:fixed; inset:0; z-index:400; background:rgba(0,0,0,0.72); backdrop-filter:blur(7px); }
  .overlay-backdrop.open { display:block; }
  .overlay { position:fixed; top:var(--header-h); right:0; bottom:0; z-index:500; background:var(--bg-raised); border-left:1px solid var(--border); display:flex; flex-direction:column; transform:translateX(105%); transition:transform 0.32s cubic-bezier(0.4,0,0.2,1); box-shadow:-24px 0 80px rgba(0,0,0,0.6); }
  .overlay.open { transform:translateX(0); }
  .overlay-wide { width:min(90vw,1120px); }
  .overlay-narrow { width:min(90vw,680px); }
  .overlay-header { padding:18px 24px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; background:var(--bg); gap:16px; }
  .overlay-hdr-left { display:flex; align-items:center; gap:12px; }
  .overlay-icon { width:38px; height:38px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .overlay-icon svg { width:18px; height:18px; fill:none; stroke-width:1.8; }
  .oi-calm { background:rgba(14,165,233,0.12); border:1px solid rgba(14,165,233,0.25); }
  .oi-calm svg { stroke:var(--calm); }
  .oi-contact { background:rgba(99,102,241,0.12); border:1px solid rgba(99,102,241,0.25); }
  .oi-contact svg { stroke:var(--primary-light); }
  .overlay-title { font-size:15px; font-weight:700; margin-bottom:2px; }
  .overlay-subtitle { font-size:12px; color:var(--text-3); }
  .overlay-close { background:none; border:none; cursor:pointer; color:var(--text-3); font-size:18px; padding:4px 8px; border-radius:var(--r-sm); transition:var(--ease); line-height:1; }
  .overlay-close:hover { color:var(--text); background:var(--bg-raised); }
  .overlay-body { flex:1; overflow-y:auto; padding:24px; }

  /* CALM visualizer — kept intact */
  .cv-two-col { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
  .cv-panel { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; display:flex; flex-direction:column; }
  .cv-panel-hdr { padding:10px 16px; border-bottom:1px solid var(--border); background:var(--bg-raised); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
  .cv-panel-title { font-family:var(--font-mono); font-size:11px; color:var(--text-2); text-transform:uppercase; letter-spacing:0.08em; display:flex; align-items:center; gap:7px; }
  .cv-pdot { width:7px; height:7px; border-radius:50%; background:var(--calm); }
  .cv-panel-btns { display:flex; gap:6px; }
  .cv-sm-btn { font-family:var(--font-mono); font-size:10px; padding:3px 9px; border-radius:var(--r-xs); border:1px solid var(--border); background:transparent; color:var(--text-2); cursor:pointer; transition:var(--ease); }
  .cv-sm-btn:hover { border-color:var(--calm); color:var(--calm); }
  .cv-editor-wrap { position:relative; flex:1; }
  .cv-linenums { position:absolute; left:0; top:0; bottom:0; width:38px; padding:12px 6px 12px 0; text-align:right; font-family:var(--font-mono); font-size:11px; color:var(--text-3); pointer-events:none; line-height:1.6; border-right:1px solid var(--border); user-select:none; }
  #cv-input { width:100%; min-height:340px; padding:12px 13px 12px 46px; background:transparent; border:none; outline:none; color:var(--calm); font-family:var(--font-mono); font-size:12px; line-height:1.6; resize:vertical; tab-size:2; }
  #cv-input::placeholder { color:var(--text-3); }
  .cv-results-body { padding:14px; min-height:340px; flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:8px; }
  .cv-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--text-2); text-align:center; }
  .cv-empty-icon { width:44px; height:44px; border:1px solid var(--border); border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; background:var(--bg-raised); }
  .cv-empty p { font-size:12px; max-width:180px; line-height:1.5; }
  .cv-issue { border-radius:var(--r-md); padding:10px 12px; border:1px solid; display:flex; gap:10px; align-items:flex-start; animation:fadeIn 0.18s ease both; }
  @keyframes fadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }
  .cv-issue.error   { background:rgba(239,68,68,0.06);  border-color:rgba(239,68,68,0.2); }
  .cv-issue.warning { background:rgba(245,158,11,0.06); border-color:rgba(245,158,11,0.2); }
  .cv-issue.success { background:rgba(34,197,94,0.05);  border-color:rgba(34,197,94,0.18); }
  .cv-issue-icon  { font-size:13px; flex-shrink:0; margin-top:1px; }
  .cv-issue-title { font-size:12px; font-weight:600; margin-bottom:3px; }
  .cv-issue-desc  { font-family:var(--font-mono); font-size:10px; color:var(--text-2); line-height:1.5; }
  .cv-issue-path  { font-family:var(--font-mono); font-size:10px; margin-top:4px; padding:2px 7px; background:rgba(255,255,255,0.04); border-radius:4px; display:inline-block; color:var(--accent); }
  .cv-summary-bar { display:flex; gap:7px; padding:10px 14px; background:var(--bg-raised); border-top:1px solid var(--border); flex-wrap:wrap; flex-shrink:0; }
  .cv-pill { display:flex; align-items:center; gap:4px; font-family:var(--font-mono); font-size:10px; padding:3px 9px; border-radius:100px; border:1px solid; }
  .cv-pill.errors   { color:var(--error);   border-color:rgba(239,68,68,0.3);  background:rgba(239,68,68,0.08); }
  .cv-pill.warnings { color:var(--warn);    border-color:rgba(245,158,11,0.3); background:rgba(245,158,11,0.08); }
  .cv-pill.passed   { color:var(--success); border-color:rgba(34,197,94,0.3);  background:rgba(34,197,94,0.08); }
  .cv-status-badge { display:inline-flex; align-items:center; gap:5px; font-family:var(--font-mono); font-size:10px; padding:2px 9px; border-radius:100px; }
  .cv-badge-valid   { background:rgba(34,197,94,0.1);  color:var(--success); border:1px solid rgba(34,197,94,0.3); }
  .cv-badge-invalid { background:rgba(239,68,68,0.1);  color:var(--error);   border:1px solid rgba(239,68,68,0.3); }
  .cv-run-row { display:flex; justify-content:center; gap:12px; margin:10px 0 20px; }
  .cv-run-btn { font-family:var(--font); font-weight:700; font-size:14px; padding:12px 36px; background:linear-gradient(135deg,var(--calm),var(--primary)); border:none; border-radius:var(--r-md); color:white; cursor:pointer; transition:var(--ease); box-shadow:0 4px 20px rgba(14,165,233,0.3); }
  .cv-run-btn:hover { transform:translateY(-1px); box-shadow:0 6px 28px rgba(14,165,233,0.4); }
  .cv-run-btn:disabled { opacity:0.5; cursor:not-allowed; transform:none; }
  .cv-demo-btn { font-family:var(--font); font-weight:600; font-size:13px; padding:12px 22px; background:transparent; border:1px solid var(--border); border-radius:var(--r-md); color:var(--text-2); cursor:pointer; transition:var(--ease); }
  .cv-demo-btn:hover { border-color:var(--calm); color:var(--calm); }
  .cv-graph-panel { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
  #cv-graph-canvas { width:100%; height:380px; display:block; }
  .cv-graph-empty { height:380px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--text-3); font-size:12px; }
  .cv-graph-legend { display:flex; gap:14px; padding:10px 16px; border-top:1px solid var(--border); background:var(--bg-raised); flex-wrap:wrap; }
  #cv-nodePanel { position:absolute; right:12px; top:12px; width:222px; background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; z-index:10; box-shadow:0 8px 32px rgba(0,0,0,0.5); animation:panelIn 0.2s ease; }
  #cv-tooltip { position:fixed; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:10px 13px; font-family:var(--font-mono); font-size:11px; color:var(--text); pointer-events:none; z-index:9999; max-width:220px; line-height:1.5; box-shadow:0 8px 32px rgba(0,0,0,0.5); display:none; }
  #cv-toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:9px 16px; font-family:var(--font-mono); font-size:12px; color:var(--text); z-index:9999; pointer-events:none; display:none; box-shadow:0 4px 20px rgba(0,0,0,0.5); }

  /* contact form */
  .contact-body { max-width:580px; margin:0 auto; }
  .email-badge { display:flex; align-items:center; gap:14px; background:linear-gradient(135deg,rgba(99,102,241,0.1),rgba(14,165,233,0.07)); border:1px solid rgba(99,102,241,0.22); border-radius:var(--r-md); padding:15px 18px; margin-bottom:20px; }
  .email-badge-icon { width:38px; height:38px; border-radius:var(--r-sm); background:rgba(99,102,241,0.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .email-badge-icon svg { width:18px; height:18px; stroke:var(--primary-light); fill:none; stroke-width:1.8; }
  .email-badge-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--text-3); margin-bottom:3px; }
  .email-badge-addr { font-size:16px; font-weight:700; color:var(--primary-light); }
  .email-badge-addr a { color:inherit; text-decoration:none; }
  .email-badge-addr a:hover { text-decoration:underline; }
  .onboard-banner { background:linear-gradient(135deg,rgba(34,211,238,0.06),rgba(99,102,241,0.06)); border:1px solid rgba(34,211,238,0.15); border-radius:var(--r-md); padding:15px 18px; margin-bottom:24px; display:flex; align-items:flex-start; gap:12px; }
  .onboard-banner svg { width:18px; height:18px; stroke:var(--accent); fill:none; stroke-width:1.8; flex-shrink:0; margin-top:1px; }
  .onboard-banner-title { font-size:13px; font-weight:700; color:var(--accent); margin-bottom:4px; }
  .onboard-banner-desc  { font-size:12px; color:var(--text-2); line-height:1.55; }
  .cf-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:16px; }
  .cf-grp { margin-bottom:16px; }
  .cf-lbl { display:block; font-size:12px; font-weight:600; color:var(--text-2); margin-bottom:6px; }
  .cf-input, .cf-select, .cf-textarea { width:100%; padding:11px 14px; background:var(--bg-input); border:1px solid var(--border); border-radius:var(--r-md); color:var(--text); font-family:var(--font); font-size:14px; outline:none; transition:var(--ease); }
  .cf-input:focus,.cf-select:focus,.cf-textarea:focus { border-color:rgba(99,102,241,0.45); box-shadow:0 0 0 3px rgba(99,102,241,0.08); }
  .cf-input::placeholder,.cf-textarea::placeholder { color:var(--text-3); }
  .cf-select { cursor:pointer; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23636366' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:42px; }
  .cf-select option { background:var(--bg-card); }
  .cf-textarea { min-height:130px; resize:vertical; line-height:1.6; }
  .cf-hint { font-size:11px; color:var(--text-3); margin-top:5px; }
  .cf-error { display:none; font-size:12px; color:var(--error); padding:10px 14px; background:rgba(239,68,68,0.07); border:1px solid rgba(239,68,68,0.2); border-radius:var(--r-sm); margin-bottom:14px; }
  .cf-submit { width:100%; padding:14px; background:linear-gradient(135deg,var(--primary),var(--calm)); border:none; border-radius:var(--r-md); color:white; font-family:var(--font); font-size:15px; font-weight:700; cursor:pointer; transition:var(--ease); box-shadow:0 4px 20px rgba(99,102,241,0.3); }
  .cf-submit:hover { transform:translateY(-1px); box-shadow:0 6px 28px rgba(99,102,241,0.4); }
  .cf-submit:disabled { opacity:0.5; cursor:not-allowed; transform:none; }
  .cf-success { display:none; text-align:center; padding:52px 0; }
  .cf-success-icon  { font-size:44px; margin-bottom:14px; }
  .cf-success-title { font-family:var(--font-disp); font-size:22px; font-weight:700; color:var(--success); margin-bottom:8px; }
  .cf-success-desc  { font-size:14px; color:var(--text-2); line-height:1.6; }


  /* ── REVIEW MODAL ── */
  .modal-backdrop { display:none; position:fixed; inset:0; z-index:600; background:rgba(0,0,0,0.75); backdrop-filter:blur(8px); align-items:center; justify-content:center; }
  .modal-backdrop.open { display:flex; }
  .modal { background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--r-lg); width:min(92vw,480px); box-shadow:0 24px 80px rgba(0,0,0,0.6); overflow:hidden; animation:modalIn 0.2s cubic-bezier(0.34,1.56,0.64,1); }
  @keyframes modalIn { from{opacity:0;transform:scale(0.95) translateY(8px)} to{opacity:1;transform:none} }
  .modal-hdr { padding:18px 20px; border-bottom:1px solid var(--border); background:var(--bg); display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
  .modal-hdr-left { display:flex; flex-direction:column; gap:3px; }
  .modal-hdr-title { font-size:14px; font-weight:700; letter-spacing:-0.01em; }
  .modal-hdr-sub { font-size:11px; color:var(--text-3); font-family:var(--font-mono); }
  .modal-close { background:none; border:none; cursor:pointer; color:var(--text-3); font-size:16px; padding:2px 6px; border-radius:var(--r-sm); transition:var(--ease); line-height:1; }
  .modal-close:hover { color:var(--text); background:rgba(255,255,255,0.06); }
  .modal-body { padding:18px 20px; display:flex; flex-direction:column; gap:14px; }
  .modal-pr-chip { display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); }
  .modal-pr-avatar { width:28px; height:28px; border-radius:50%; object-fit:cover; flex-shrink:0; }
  .modal-pr-avatar-fallback { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:white; flex-shrink:0; }
  .modal-pr-info { flex:1; min-width:0; }
  .modal-pr-title { font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .modal-pr-meta { font-size:10px; color:var(--text-3); font-family:var(--font-mono); }
  .modal-pr-link { font-size:10px; color:var(--calm); text-decoration:none; flex-shrink:0; }
  .modal-pr-link:hover { text-decoration:underline; }
  .modal-label { font-size:11px; font-weight:700; color:var(--text-2); margin-bottom:4px; }
  .modal-textarea { width:100%; padding:10px 12px; background:var(--bg-input); border:1px solid var(--border); border-radius:var(--r-md); color:var(--text); font-family:var(--font); font-size:13px; line-height:1.55; resize:vertical; min-height:100px; outline:none; transition:var(--ease); }
  .modal-textarea:focus { border-color:rgba(99,102,241,0.45); box-shadow:0 0 0 3px rgba(99,102,241,0.08); }
  .modal-footer { padding:14px 20px; border-top:1px solid var(--border); background:var(--bg); display:flex; justify-content:flex-end; gap:8px; }
  .modal-cancel { padding:8px 16px; border-radius:var(--r-sm); font-size:13px; font-weight:600; background:transparent; border:1px solid var(--border); color:var(--text-2); cursor:pointer; font-family:var(--font); transition:var(--ease); }
  .modal-cancel:hover { border-color:var(--border-hi); color:var(--text); }
  .modal-confirm { padding:8px 18px; border-radius:var(--r-sm); font-size:13px; font-weight:700; border:none; cursor:pointer; font-family:var(--font); transition:var(--ease); }
  .modal-confirm:disabled { opacity:0.5; cursor:not-allowed; }
  .modal-confirm.approve { background:linear-gradient(135deg,var(--calm),var(--primary)); color:white; box-shadow:0 2px 12px rgba(14,165,233,0.3); }
  .modal-confirm.approve:hover:not(:disabled) { opacity:0.9; transform:translateY(-1px); }
  .modal-confirm.block { background:rgba(239,68,68,0.15); color:var(--error); border:1px solid rgba(239,68,68,0.35); }
  .modal-confirm.block:hover:not(:disabled) { background:rgba(239,68,68,0.25); }
  /* ── ARCHITECT TAB ── */
  .architect-wrap { padding:16px; display:flex; flex-direction:column; gap:14px; }
  .arch-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
  .arch-stat { border-radius:var(--r-md); padding:10px 12px; border:1px solid; }
  .arch-stat-val { font-family:var(--font-disp); font-size:22px; font-weight:700; line-height:1; margin-bottom:2px; }
  .arch-stat-lbl { font-size:10px; font-family:var(--font-mono); }
  .arch-stat.ok   { background:rgba(34,197,94,0.06);  border-color:rgba(34,197,94,0.2);  }
  .arch-stat.ok   .arch-stat-val { color:var(--success); }
  .arch-stat.ok   .arch-stat-lbl { color:#0f6e56; }
  .arch-stat.new  { background:rgba(245,158,11,0.06); border-color:rgba(245,158,11,0.2); }
  .arch-stat.new  .arch-stat-val { color:var(--warn); }
  .arch-stat.new  .arch-stat-lbl { color:#854f0b; }
  .arch-stat.vio  { background:rgba(239,68,68,0.06);  border-color:rgba(239,68,68,0.2);  }
  .arch-stat.vio  .arch-stat-val { color:var(--error); }
  .arch-stat.vio  .arch-stat-lbl { color:#a32d2d; }
  .arch-lbl { font-size:10px; font-weight:700; letter-spacing:0.1em; color:var(--text-3); text-transform:uppercase; }
  .arch-three-col { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .arch-col { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; }
  .arch-col-head { padding:7px 11px; border-bottom:1px solid var(--border); background:rgba(255,255,255,0.02); }
  .arch-col-label { font-size:10px; font-weight:700; letter-spacing:0.07em; }
  .arch-col-sub { font-size:10px; color:var(--text-3); margin-top:1px; }
  .arch-col-body { padding:8px; display:flex; flex-direction:column; gap:5px; }
  .arch-rel { padding:6px 8px; border-radius:6px; border:1px solid; }
  .arch-rel-target { font-size:11px; font-weight:600; }
  .arch-rel-meta { font-size:10px; font-family:var(--font-mono); margin-top:1px; }
  .arch-rel.r-ok     { background:rgba(34,197,94,0.07);  border-color:rgba(34,197,94,0.3);  }
  .arch-rel.r-ok     .arch-rel-target { color:#6ee7b7; }
  .arch-rel.r-ok     .arch-rel-meta   { color:#34d399; }
  .arch-rel.r-vio    { background:rgba(239,68,68,0.07);  border-color:rgba(239,68,68,0.35); }
  .arch-rel.r-vio    .arch-rel-target { color:#fca5a5; }
  .arch-rel.r-vio    .arch-rel-meta   { color:#ef4444; }
  .arch-rel.r-new    { background:rgba(245,158,11,0.07); border-color:rgba(245,158,11,0.35);}
  .arch-rel.r-new    .arch-rel-target { color:#fcd34d; }
  .arch-rel.r-new    .arch-rel-meta   { color:#f59e0b; }
  .arch-rel.r-absent { background:rgba(255,255,255,0.02); border-color:rgba(255,255,255,0.08); border-style:dashed; }
  .arch-rel.r-absent .arch-rel-target { color:var(--text-3); }
  .arch-rel.r-absent .arch-rel-meta   { color:#48484a; }
  .arch-diff-wrap { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; }
  .arch-diff-table { width:100%; border-collapse:collapse; table-layout:fixed; }
  .arch-diff-table th { font-size:10px; font-weight:700; letter-spacing:0.07em; color:var(--text-3); padding:7px 10px; text-align:left; border-bottom:1px solid var(--border); background:rgba(255,255,255,0.02); }
  .arch-diff-table td { font-size:11px; padding:7px 10px; border-bottom:1px solid rgba(255,255,255,0.04); font-family:var(--font-mono); vertical-align:middle; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .arch-diff-table tr:last-child td { border-bottom:none; }
  .arch-diff-table td.td-attr { font-family:var(--font); color:var(--text-2); font-size:11px; }
  .arch-diff-table td.td-calm { color:#60a5fa; }
  .arch-diff-table td.td-before { color:var(--text-3); font-style:italic; }
  .arch-diff-table td.td-after-ok  { color:#34d399; }
  .arch-diff-table td.td-after-vio { color:var(--error); }
  .arch-diff-table td.td-after-new { color:var(--warn); }
  .arch-diff-table tr.row-vio { background:rgba(239,68,68,0.03); }
  .arch-diff-table tr.row-new { background:rgba(245,158,11,0.03); }
  .arch-pill { display:inline-flex; align-items:center; gap:3px; font-size:10px; padding:2px 7px; border-radius:100px; font-family:var(--font); white-space:nowrap; }
  .arch-pill-dot { width:4px; height:4px; border-radius:50%; background:currentColor; }
  .arch-pill.pill-ok  { background:rgba(34,197,94,0.1);  color:#34d399; border:1px solid rgba(34,197,94,0.25); }
  .arch-pill.pill-vio { background:rgba(239,68,68,0.1);  color:var(--error); border:1px solid rgba(239,68,68,0.25); }
  .arch-pill.pill-new { background:rgba(245,158,11,0.1); color:var(--warn); border:1px solid rgba(245,158,11,0.25); }
  .arch-no-snapshot { background:rgba(99,102,241,0.05); border:1px solid rgba(99,102,241,0.15); border-radius:var(--r-md); padding:12px 14px; font-size:12px; color:var(--text-2); line-height:1.6; }

  @media (max-width:1100px) { .detail-panel{width:520px;} }
  @media (max-width:900px) { .sidebar{display:none;} .main{margin-left:0;padding:20px 16px 60px;max-width:100vw;} .overlay-wide,.overlay-narrow{width:100%;} .detail-panel{width:100%;} .stats-row{grid-template-columns:repeat(2,1fr);} .cv-two-col{grid-template-columns:1fr;} .cf-row{grid-template-columns:1fr;} .impact-summary{grid-template-columns:repeat(3,1fr);} .arch-three-col{grid-template-columns:1fr;} .arch-summary{grid-template-columns:repeat(3,1fr);} }
  @media (max-width:600px) { .stats-row{grid-template-columns:1fr 1fr;} }
