/* ══════════════════════════════════════════════════════════════════════════
   Migration Command Center — Ericsson × ZTE  ·  dark / futuristic theme
══════════════════════════════════════════════════════════════════════════ */
:root {
  --bg-0: #070d16;
  --bg-1: #0b1220;
  --surface: rgba(19, 27, 46, 0.72);
  --surface-2: rgba(28, 38, 62, 0.55);
  --border: rgba(120, 160, 210, 0.14);
  --border-hi: rgba(120, 200, 170, 0.35);
  --text: #e7edf7;
  --text-dim: #93a3bd;
  --text-faint: #5f6f8c;

  --eri: #1f9d57;         /* Ericsson green */
  --eri-2: #22c55e;
  --zte: #a855f7;         /* ZTE violet */
  --cyan: #22d3ee;

  --st-done: #22c55e;
  --st-reverted: #ef4444;
  --st-hold: #f59e0b;
  --st-issue: #fb923c;
  --st-pending: #64748b;

  --r-card: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.dsh-body {
  font-family: 'Segoe UI', Tahoma, system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── animated background ─────────────────────────────────────────────────── */
.dsh-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(1200px 700px at 78% -10%, #10203a 0%, transparent 55%),
              radial-gradient(1000px 600px at 10% 110%, #0f2a22 0%, transparent 55%),
              linear-gradient(180deg, var(--bg-0), var(--bg-1)); }
.dsh-bg-grid { position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(120, 170, 220, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120, 170, 220, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%); }
.dsh-bg-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%;
  filter: blur(120px); opacity: 0.5; }
.dsh-bg-glow-a { background: #135e3a; top: -220px; right: -160px; animation: floatA 22s ease-in-out infinite; }
.dsh-bg-glow-b { background: #3b1d6b; bottom: -260px; left: -140px; animation: floatB 26s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translate(-60px, 60px) scale(1.1); } }
@keyframes floatB { 50% { transform: translate(70px, -50px) scale(1.08); } }

/* ─── top bar ─────────────────────────────────────────────────────────────── */
.dsh-topbar { position: relative; z-index: 5;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 22px;
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.85), rgba(10, 16, 30, 0.55));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px); }
.dsh-back { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; white-space: nowrap;
  transition: all .18s; }
.dsh-back:hover { color: var(--text); border-color: var(--border-hi); background: var(--surface-2); }
.dsh-topbar-center { margin-right: auto; }
.dsh-topbar-title { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800;
  letter-spacing: .2px; }
.dsh-topbar-icon { color: var(--eri-2); filter: drop-shadow(0 0 8px rgba(34, 197, 94, .6)); }
.dsh-topbar-sub { font-size: 11.5px; color: var(--text-dim); margin-top: 1px; }
.dsh-topbar-right { display: flex; align-items: center; gap: 14px; }
.dsh-live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  color: var(--eri-2); letter-spacing: 1px; }
.dsh-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--eri-2);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.dsh-clock { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--text-dim);
  font-weight: 600; letter-spacing: .5px; }

/* ─── layout ──────────────────────────────────────────────────────────────── */
.dsh-main { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto;
  padding: 22px 22px 60px; display: flex; flex-direction: column; gap: 18px; }

/* ─── controls ────────────────────────────────────────────────────────────── */
.dsh-controls { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.dsh-field { display: flex; flex-direction: column; gap: 5px; }
.dsh-field-label { font-size: 11px; color: var(--text-dim); font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; }
.dsh-date { background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 9px 12px; border-radius: 9px; font-size: 13px; font-family: inherit;
  color-scheme: dark; }
.dsh-date:focus { outline: none; border-color: var(--border-hi); }
.dsh-control-actions { display: flex; gap: 10px; margin-left: auto; align-self: flex-end; }

/* saved-snapshot history navigator */
.dsh-history { display: flex; flex-direction: column; gap: 5px; }
.dsh-date-nav { display: flex; align-items: center; gap: 6px; }
.dsh-date-select { background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 9px 11px; border-radius: 9px; font-size: 13px; font-family: inherit; color-scheme: dark;
  min-width: 210px; max-width: 260px; }
.dsh-date-select:focus { outline: none; border-color: var(--border-hi); }
.dsh-navbtn { background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer; font-size: 17px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; transition: all .14s; line-height: 1; }
.dsh-navbtn:hover:not(:disabled) { color: var(--text); border-color: var(--border-hi); background: var(--surface-2); }
.dsh-navbtn:disabled { opacity: .3; cursor: not-allowed; }
.dsh-navbtn-del { font-size: 14px; }
.dsh-navbtn-del:hover:not(:disabled) { color: #fca5a5; border-color: rgba(239, 68, 68, .5); }
.dsh-date-age { font-size: 11px; color: var(--text-faint); min-height: 14px; }
.dsh-btn { font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; transition: all .16s;
  white-space: nowrap; }
.dsh-btn-primary { background: linear-gradient(135deg, var(--eri) 0%, var(--eri-2) 100%); color: #04170d;
  box-shadow: 0 6px 18px rgba(34, 197, 94, .28); }
.dsh-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(34, 197, 94, .42); }
.dsh-btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text-dim); }
.dsh-btn-ghost:hover { color: var(--text); border-color: var(--border-hi); }

/* ─── paste areas ─────────────────────────────────────────────────────────── */
.dsh-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dsh-paste-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 14px; position: relative; overflow: hidden; backdrop-filter: blur(6px); }
.dsh-paste-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; }
.dsh-paste-eri::before { background: linear-gradient(90deg, var(--eri), transparent); }
.dsh-paste-zte::before { background: linear-gradient(90deg, var(--zte), transparent); }
.dsh-paste-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dsh-vendor-badge { font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 3px 9px;
  border-radius: 6px; }
.dsh-badge-eri { background: rgba(34, 197, 94, .16); color: #6ee7a8; border: 1px solid rgba(34, 197, 94, .4); }
.dsh-badge-zte { background: rgba(168, 85, 247, .16); color: #d0a6fb; border: 1px solid rgba(168, 85, 247, .4); }
.dsh-paste-hint { font-size: 11.5px; color: var(--text-faint); margin-right: auto; }
.dsh-paste-count { font-size: 11px; color: var(--text-dim); font-weight: 700; font-variant-numeric: tabular-nums; }
.dsh-textarea { width: 100%; height: 150px; resize: vertical; background: rgba(6, 10, 20, .6);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-family: 'Consolas', 'Courier New', monospace; font-size: 12px; line-height: 1.5;
  padding: 11px 13px; }
.dsh-textarea:focus { outline: none; border-color: var(--border-hi); box-shadow: 0 0 0 3px rgba(34, 197, 94, .08); }
.dsh-textarea::placeholder { color: var(--text-faint); }

/* ─── empty state ─────────────────────────────────────────────────────────── */
.dsh-empty { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.dsh-empty-ring { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%;
  border: 3px solid rgba(34, 197, 94, .25); border-top-color: var(--eri-2);
  animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dsh-empty h2 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.dsh-empty p { max-width: 560px; margin: 0 auto; font-size: 13.5px; line-height: 1.6; }

/* ─── results ─────────────────────────────────────────────────────────────── */
.dsh-results { display: flex; flex-direction: column; gap: 18px; }
.dsh-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 18px; backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.dsh-card-title { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: .2px;
  display: flex; align-items: center; gap: 8px; }
.dsh-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 14px; }

/* ─── KPI tiles ───────────────────────────────────────────────────────────── */
.dsh-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dsh-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 15px 16px; position: relative; overflow: hidden; backdrop-filter: blur(6px);
  transition: transform .16s, border-color .16s; }
.dsh-kpi:hover { transform: translateY(-2px); border-color: var(--border-hi); }
.dsh-kpi::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.dsh-kpi-key { font-size: 11px; color: var(--text-dim); font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; }
.dsh-kpi-val { font-size: 30px; font-weight: 800; margin: 6px 0 2px; line-height: 1;
  font-variant-numeric: tabular-nums; }
.dsh-kpi-sub { font-size: 11px; color: var(--text-faint); }
.dsh-kpi-delta { font-size: 11px; font-weight: 800; margin-top: 5px; letter-spacing: .2px; }
.dsh-kpi-delta.up { color: #6ee7a8; }
.dsh-kpi-delta.down { color: #fca5a5; }
.dsh-kpi-delta.flat { color: var(--text-dim); }
.dsh-kpi-cyan::after { background: var(--cyan); } .dsh-kpi-cyan .dsh-kpi-val { color: var(--cyan); }
.dsh-kpi-green::after { background: var(--st-done); } .dsh-kpi-green .dsh-kpi-val { color: #6ee7a8; }
.dsh-kpi-red::after { background: var(--st-reverted); } .dsh-kpi-red .dsh-kpi-val { color: #fca5a5; }
.dsh-kpi-amber::after { background: var(--st-hold); } .dsh-kpi-amber .dsh-kpi-val { color: #fcd34d; }
.dsh-kpi-slate::after { background: var(--st-pending); } .dsh-kpi-slate .dsh-kpi-val { color: #cbd5e1; }
.dsh-kpi-blue::after { background: #3b82f6; } .dsh-kpi-blue .dsh-kpi-val { color: #93c5fd; }
.dsh-kpi-violet::after { background: var(--zte); } .dsh-kpi-violet .dsh-kpi-val { color: #d0a6fb; }

/* ─── hero row ────────────────────────────────────────────────────────────── */
.dsh-hero-row { display: grid; grid-template-columns: 1.05fr 1.15fr 0.9fr; gap: 18px; align-items: stretch; }

/* dot ring */
.dsh-ring-card { display: flex; flex-direction: column; }
.dsh-ring-wrap { position: relative; flex: 1; display: flex; align-items: center; justify-content: center;
  margin-top: 6px; }
.dsh-ring-svg { width: 100%; max-width: 320px; height: auto; overflow: visible; }
.dsh-dot { opacity: .88; transform-box: fill-box; transform-origin: center;
  animation: dotIn .5s ease-out both; }
@keyframes dotIn { from { opacity: 0; transform: scale(0); } to { opacity: .88; transform: scale(1); } }
.dsh-ring-center { position: absolute; left: 0; right: 0; top: 47%; transform: translateY(-50%);
  text-align: center; pointer-events: none; }
.dsh-ring-label { font-size: 11px; letter-spacing: 2px; color: var(--text-dim); font-weight: 700; }
.dsh-ring-total { font-size: 52px; font-weight: 800; line-height: 1; margin: 2px 0;
  background: linear-gradient(180deg, #fff, #9fe6bd); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.dsh-ring-pct { font-size: 12px; color: var(--eri-2); font-weight: 700; }
.dsh-ring-legend { display: flex; gap: 14px; justify-content: center; margin-top: 6px; }
.dsh-ring-stat { display: flex; align-items: center; gap: 8px; }
.dsh-ring-stat-bar { width: 3px; height: 30px; border-radius: 3px; }
.dsh-ring-stat-val { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.dsh-ring-stat-key { font-size: 10.5px; color: var(--text-dim); }

/* tech bars */
.dsh-chart-card { display: flex; flex-direction: column; }
.dsh-tech-bars { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; flex: 1;
  justify-content: center; }
.dsh-techbar-row { display: grid; grid-template-columns: 66px 1fr 42px; align-items: center; gap: 10px; }
.dsh-techbar-name { font-size: 12px; font-weight: 700; color: var(--text); }
.dsh-techbar-track { height: 15px; border-radius: 8px; background: rgba(6, 10, 20, .6); overflow: hidden;
  display: flex; border: 1px solid var(--border); }
.dsh-seg-fill { height: 100%; transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.dsh-seg-empty { font-size: 10px; color: var(--text-faint); padding-left: 8px; align-self: center; }
.dsh-techbar-pct { font-size: 12px; font-weight: 700; color: var(--text-dim); text-align: right;
  font-variant-numeric: tabular-nums; }
.dsh-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border); }
.dsh-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-dim); }
.dsh-legend-dot { width: 9px; height: 9px; border-radius: 3px; }

/* vendor bars + donut */
.dsh-chart-narrow { }
.dsh-vendor-bars { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.dsh-vbar-row { display: grid; grid-template-columns: 88px 1fr 38px; align-items: center; gap: 10px; }
.dsh-vbar-name { font-size: 12px; font-weight: 700; display: flex; flex-direction: column; }
.dsh-vbar-name small { font-size: 10px; color: var(--text-faint); font-weight: 500; }
.dsh-vbar-track { height: 12px; border-radius: 7px; background: rgba(6, 10, 20, .6); overflow: hidden;
  border: 1px solid var(--border); }
.dsh-vbar-fill { display: block; height: 100%; transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.dsh-vbar-pct { font-size: 12px; font-weight: 700; text-align: right; color: var(--text-dim);
  font-variant-numeric: tabular-nums; }
.dsh-donut-wrap { position: relative; width: 140px; height: 140px; margin: 10px auto 0; }
.dsh-donut-svg { width: 100%; height: 100%; }
.dsh-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; pointer-events: none; }
.dsh-donut-center span { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.dsh-donut-center small { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; }

/* ─── matrix ──────────────────────────────────────────────────────────────── */
.dsh-matrix-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dsh-search { background: rgba(6, 10, 20, .6); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); font-size: 12px; padding: 8px 12px; font-family: inherit; width: 150px; }
.dsh-search:focus { outline: none; border-color: var(--border-hi); }
.dsh-seg { display: flex; background: rgba(6, 10, 20, .5); border: 1px solid var(--border);
  border-radius: 9px; overflow: hidden; }
.dsh-seg button { background: none; border: none; color: var(--text-dim); font-family: inherit;
  font-size: 12px; font-weight: 600; padding: 7px 13px; cursor: pointer; transition: all .14s; }
.dsh-seg button:hover { color: var(--text); }
.dsh-seg button.active { background: rgba(34, 197, 94, .18); color: #6ee7a8; }

.dsh-table-scroll { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
.dsh-matrix { width: 100%; border-collapse: collapse; min-width: 520px; }
.dsh-src { font-size: 8px; font-weight: 800; opacity: .65; margin-left: 2px; vertical-align: super; }
.dsh-matrix thead th { position: sticky; top: 0; background: rgba(14, 20, 36, .96);
  font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .4px;
  padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; z-index: 2; }
.dsh-matrix thead th small { display: block; font-size: 9px; color: var(--text-faint); font-weight: 600;
  letter-spacing: .5px; }
.dsh-th-site { text-align: left !important; }
.dsh-matrix tbody td { padding: 9px 10px; border-bottom: 1px solid rgba(120, 160, 210, .07);
  text-align: center; font-size: 12.5px; }
.dsh-matrix tbody tr:hover { background: rgba(120, 170, 220, .05); }
.dsh-site { text-align: left !important; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .5px; }
.dsh-site-flag { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
  border-radius: 50%; font-size: 10px; font-weight: 900; margin-left: 4px; }
.dsh-site-flag.st-done { background: rgba(34, 197, 94, .2); color: var(--st-done); }
.dsh-site-flag.st-reverted { background: rgba(239, 68, 68, .2); color: var(--st-reverted); }
.dsh-cell { }
.dsh-na { color: var(--text-faint); }
.dsh-pill { display: inline-block; min-width: 46px; padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; }
.dsh-matrix-empty { padding: 26px !important; color: var(--text-dim); font-size: 13px; }

/* status pill colors */
.st-done    { background: rgba(34, 197, 94, .16);  color: #6ee7a8; box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .35); }
.st-reverted{ background: rgba(239, 68, 68, .16);  color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .35); }
.st-hold    { background: rgba(245, 158, 11, .16); color: #fcd34d; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); }
.st-issue   { background: rgba(251, 146, 60, .16); color: #fdba74; box-shadow: inset 0 0 0 1px rgba(251, 146, 60, .35); }
.st-pending { background: rgba(100, 116, 139, .18);color: #cbd5e1; box-shadow: inset 0 0 0 1px rgba(100, 116, 139, .35); }

/* site progress column */
.dsh-th-prog { min-width: 130px; }
.dsh-prog { display: flex; align-items: center; gap: 8px; }
.dsh-prog-track { flex: 1; height: 8px; border-radius: 5px; background: rgba(6, 10, 20, .6);
  overflow: hidden; border: 1px solid var(--border); }
.dsh-prog-fill { display: block; height: 100%; transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.dsh-prog-fill.st-done { background: var(--st-done); box-shadow: none; }
.dsh-prog-fill.st-reverted { background: var(--st-reverted); box-shadow: none; }
.dsh-prog-fill.st-issue { background: var(--st-issue); box-shadow: none; }
.dsh-prog-fill.st-pending { background: var(--st-pending); box-shadow: none; }
.dsh-prog-txt { font-size: 11px; color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ─── only-in-one ─────────────────────────────────────────────────────────── */
.dsh-only-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dsh-only-count { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--text-dim);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 2px 10px; }
.dsh-chip-wrap { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.dsh-chip { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .4px; padding: 5px 10px; border-radius: 7px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text); }
.dsh-chip-empty { font-size: 12px; color: var(--text-faint); }

/* ─── footer ──────────────────────────────────────────────────────────────── */
.dsh-foot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-faint); padding-top: 4px; }

/* ─── icons ───────────────────────────────────────────────────────────────── */
.dsh-ico { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dsh-btn-ico { display: inline-flex; align-items: center; gap: 7px; }
.dsh-navbtn .dsh-ico { width: 15px; height: 15px; }

/* ─── focus rings (a11y) ──────────────────────────────────────────────────── */
.dsh-btn:focus-visible, .dsh-navbtn:focus-visible, .dsh-date:focus-visible,
.dsh-date-select:focus-visible, .dsh-search:focus-visible, .dsh-seg button:focus-visible,
.dsh-textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ─── executive summary ───────────────────────────────────────────────────── */
.dsh-exec { display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(19, 94, 58, 0.34), rgba(19, 27, 46, 0.72) 55%);
  border: 1px solid var(--border); border-left: 3px solid var(--eri-2);
  border-radius: var(--r-card); padding: 18px 22px; box-shadow: var(--shadow);
  backdrop-filter: blur(6px); }
.dsh-exec-main { flex: 1; min-width: 300px; }
.dsh-exec-eyebrow { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--eri-2); font-weight: 700; margin-bottom: 7px; }
.dsh-exec-headline { font-size: 16.5px; line-height: 1.55; color: var(--text-dim); font-weight: 400; }
.dsh-exec-headline strong { font-weight: 800; color: var(--text); }
.dsh-exec-risk { color: #fca5a5; font-weight: 700; }
.dsh-exec-delta { font-weight: 700; }
.dsh-exec-delta.up { color: #6ee7a8; }
.dsh-exec-delta.down { color: #fca5a5; }
.dsh-exec-delta.flat { color: var(--text-dim); }
.dsh-exec-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 13px; }
.dsh-exec-chip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.dsh-exec-chip b { font-weight: 800; margin-right: 3px; }
.dsh-exec-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ─── trend chart ─────────────────────────────────────────────────────────── */
.dsh-trend-meta { font-size: 11px; color: var(--text-dim); font-weight: 600; font-variant-numeric: tabular-nums; }
.dsh-trend-wrap { margin-top: 8px; }
.dsh-trend-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ─── scrollbars ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120, 160, 210, .22); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(120, 160, 210, .4); }

/* ─── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .dsh-hero-row { grid-template-columns: 1fr 1fr; }
  .dsh-ring-card { grid-column: 1 / -1; }
  .dsh-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .dsh-inputs, .dsh-hero-row, .dsh-only-row { grid-template-columns: 1fr; }
  .dsh-topbar-sub { display: none; }
  .dsh-control-actions { margin-left: 0; width: 100%; }
  .dsh-control-actions .dsh-btn { flex: 1; }
}

/* ─── reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .dsh-dot { animation: none !important; opacity: .88; }
  .dsh-bg-glow-a, .dsh-bg-glow-b, .dsh-empty-ring, .dsh-live-dot { animation: none !important; }
  .dsh-seg-fill, .dsh-vbar-fill, .dsh-prog-fill { transition: none !important; }
}

/* ─── print / PDF (clean light report) ────────────────────────────────────── */
@media print {
  @page { margin: 12mm; }
  .dsh-bg, .dsh-controls, .dsh-inputs, .dsh-empty, .dsh-exec-actions,
  .dsh-matrix-tools, .dsh-live, .dsh-clock, .dsh-back, .dsh-foot { display: none !important; }
  html, body, .dsh-body { background: #fff !important; color: #0f172a !important; }
  .dsh-topbar { background: none !important; border-bottom: 1px solid #cbd5e1 !important;
    backdrop-filter: none !important; }
  .dsh-topbar-title, .dsh-topbar-sub { color: #0f172a !important; }
  .dsh-topbar-icon { color: #1f9d57 !important; filter: none !important; }
  .dsh-main { max-width: none; padding: 0; gap: 12px; }
  .dsh-results { gap: 12px; }
  .dsh-card, .dsh-kpi, .dsh-exec { background: #fff !important; border: 1px solid #cbd5e1 !important;
    box-shadow: none !important; backdrop-filter: none !important;
    break-inside: avoid; page-break-inside: avoid; }
  .dsh-exec { border-left: 3px solid #1f9d57 !important; }
  .dsh-exec-headline, .dsh-card-title, .dsh-kpi-val, .dsh-site,
  .dsh-matrix tbody td, .dsh-ring-label, .dsh-ring-pct { color: #0f172a !important; }
  .dsh-exec-headline strong { color: #0f172a !important; }
  .dsh-kpi-key, .dsh-kpi-sub, .dsh-trend-meta, .dsh-techbar-name,
  .dsh-matrix thead th { color: #475569 !important; }
  .dsh-matrix thead th { background: #f1f5f9 !important; }
  .dsh-kpis { grid-template-columns: repeat(4, 1fr) !important; }
  .dsh-hero-row { grid-template-columns: 1fr 1fr !important; }
  .dsh-ring-card { grid-column: auto !important; }
  .dsh-ring-total { -webkit-text-fill-color: #0f172a !important; color: #0f172a !important; }
  .dsh-table-scroll { overflow: visible !important; border: none !important; }
  .dsh-dot { animation: none !important; }
  /* high-contrast status pills for paper */
  .st-done { color: #15803d !important; background: #dcfce7 !important; box-shadow: none !important; }
  .st-reverted { color: #b91c1c !important; background: #fee2e2 !important; box-shadow: none !important; }
  .st-hold { color: #b45309 !important; background: #fef3c7 !important; box-shadow: none !important; }
  .st-issue { color: #c2410c !important; background: #ffedd5 !important; box-shadow: none !important; }
  .st-pending { color: #475569 !important; background: #f1f5f9 !important; box-shadow: none !important; }
}
