/* =========================================================
   vPenTest — product demo (rebuild)
   Brand: Rubik, primary #EC3131, dark sidebar
   ========================================================= */
:root {
  --red: #EC3131;
  --red-dark: #ce3131;
  --dark: #1e1e1e;
  --darker: #151515;
  --bg: #f4f5f7;
  --card: #ffffff;
  --border: #e8e8e8;
  --text: #444444;
  --muted: #8a94a6;
  --green: #2fbf71;
  --orange: #f5a623;
  --blue: #3f8cff;
  --teal: #20cab9;
  --sidebar-w: 232px;
  --font: 'Rubik', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* =====================  LAYOUT  ===================== */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: var(--dark);
  color: #cfcfcf;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.sidebar .logo {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar .logo .wordmark {
  font-family: var(--font);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 1px;
  color: #fff;
}
.sidebar .logo .wordmark .v { color: var(--red); }
.sidebar .logo .wordmark span.light { color: #9aa0aa; font-weight: 400; }
.sidebar nav { flex: 1; padding: 14px 0; overflow-y: auto; }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: #b7bdc7;
  font-weight: 500;
  font-size: 13.5px;
  border-left: 3px solid transparent;
  transition: background .2s, color .2s;
}
.sidebar nav a i { width: 18px; text-align: center; font-size: 14px; }
.sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.sidebar nav a.active {
  color: #fff;
  background: rgba(236,49,49,.12);
  border-left-color: var(--red);
}
.sidebar .sidebar-foot {
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  color: #737b88;
}

.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 60px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.org-select {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  cursor: pointer;
}
.topbar .spacer { flex: 1; }
.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 16px;
}
.icon-btn:hover { background: #f0f1f4; color: var(--text); }
.icon-btn .badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
}
.user-chip:hover { background: #f0f1f4; }
.user-chip .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.user-chip .name { font-weight: 500; font-size: 13px; }
.user-chip .role { font-size: 11px; color: var(--muted); }

.content { padding: 24px; flex: 1; }
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 21px; font-weight: 600; color: #1f2430; }
.page-head .sub { color: var(--muted); font-size: 13px; margin-top: 3px; }

/* =====================  COMPONENTS  ===================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(16,24,40,.05);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}
.card-head h3 { font-size: 14.5px; font-weight: 600; color: #1f2430; }
.card-body { padding: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  transition: all .2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: #f0f1f4; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.tag.critical { background: #1f2430; color: #fff; }
.tag.high { background: #fde8e8; color: var(--red); }
.tag.medium { background: #fef3d9; color: #b7791f; }
.tag.low { background: #e3f2fd; color: #1976d2; }
.tag.info { background: #edf0f3; color: #6b7280; }
.tag.green { background: #e2f7ec; color: #1e8e53; }
.tag.blue { background: #e8f0fe; color: #1a5cd6; }
.tag.gray { background: #edf0f3; color: #6b7280; }

table.data {
  width: 100%;
  border-collapse: collapse;
}
table.data th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
}
table.data td {
  padding: 13px 20px;
  border-bottom: 1px solid #f0f1f4;
  font-size: 13.5px;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr.rowlink { cursor: pointer; }
table.data tr.rowlink:hover { background: #faf7f7; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #3d4351;
  margin-bottom: 6px;
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=date], .field input[type=time], .field select, .field textarea {
  width: 100%;
  border: 1px solid #d7dbe2;
  border-radius: 6px;
  padding: 9px 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(236,49,49,.12);
}
.field .error { color: var(--red); font-size: 12px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .error { display: block; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,18,25,.55);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 20px;
  overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: pop .18s ease;
}
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 16px; color: #1f2430; }
.modal-close { background: none; border: 0; font-size: 22px; color: var(--muted); line-height: 1; }
.modal-body { padding: 24px; }
.modal-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Notifications dropdown */
.dropdown-menu {
  position: absolute;
  top: 54px;
  right: 24px;
  width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16,24,40,.16);
  z-index: 100;
  display: none;
}
.dropdown-menu.open { display: block; }
.dropdown-menu .dm-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
}
.dropdown-menu .dm-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f2f3f5;
  font-size: 12.5px;
}
.dropdown-menu .dm-item:last-child { border-bottom: 0; }
.dropdown-menu .dm-item .dot {
  width: 8px; height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.dropdown-menu .dm-item.read .dot { background: #d5d9e0; }
.dropdown-menu .dm-item .when { color: var(--muted); font-size: 11px; margin-top: 2px; }

/* Toast */
#toast-zone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #1f2430;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slidein .25s ease;
}
.toast i { color: var(--green); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }

/* =====================  LOGIN  ===================== */
.login-wrap {
  min-height: 100vh;
  display: flex;
  background: var(--dark) url('../../images/vonahi-bg.webp') center/cover no-repeat;
  position: relative;
}
.login-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,10,12,.92) 0%, rgba(20,20,24,.75) 55%, rgba(236,49,49,.25) 130%);
}
.login-panel {
  position: relative;
  z-index: 2;
  margin: auto;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.login-panel .brand { text-align: center; margin-bottom: 26px; }
.login-panel .brand .wordmark { font-size: 26px; font-weight: 700; letter-spacing: 1px; color: #1f2430; }
.login-panel .brand .wordmark .v { color: var(--red); }
.login-panel .brand .wordmark span.light { color: #9aa0aa; font-weight: 400; }
.login-panel h2 { font-size: 15px; font-weight: 500; color: var(--muted); text-align: center; margin-bottom: 22px; }
.login-panel .btn { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }
.login-panel .demo-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: #faf5f5;
  border: 1px dashed #eecfcf;
  border-radius: 6px;
  padding: 10px;
}
.login-error {
  display: none;
  background: #fde8e8;
  color: var(--red);
  border-radius: 6px;
  font-size: 12.5px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.login-error.show { display: block; }
.login-footer {
  position: absolute;
  bottom: 18px;
  left: 0; right: 0;
  text-align: center;
  color: #8a8f98;
  font-size: 12px;
  z-index: 2;
}

/* =====================  DASHBOARD  ===================== */
.assess-banner {
  background: linear-gradient(100deg, #23272f 0%, #2d323c 100%);
  border-radius: 10px;
  color: #fff;
  padding: 18px 24px 20px;
  margin-bottom: 22px;
}
.assess-banner .ab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.assess-banner .ab-title { font-weight: 600; font-size: 15px; }
.assess-banner .ab-date {
  background: var(--red);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
}
.phase-stepper {
  display: flex;
  align-items: flex-start;
  margin-top: 26px;
}
.phase {
  flex: 1;
  text-align: center;
  position: relative;
}
.phase .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid #4a4f5a;
  background: #23272f;
  color: #9aa0aa;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phase .lbl {
  margin-top: 9px;
  font-size: 11px;
  color: #9aa0aa;
  line-height: 1.3;
}
.phase::before, .phase::after {
  content: "";
  position: absolute;
  top: 13px;
  height: 2px;
  background: #4a4f5a;
  width: 50%;
}
.phase::before { left: 0; }
.phase::after { right: 0; }
.phase:first-child::before, .phase:last-child::after { display: none; }
.phase.done .dot, .phase.current .dot { border-color: var(--red); color: #fff; }
.phase.done .dot { background: var(--red); }
.phase.done::before, .phase.done::after,
.phase.current::before { background: var(--red); }
.phase.current .dot { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(236,49,49,.5); }
  70% { box-shadow: 0 0 0 9px rgba(236,49,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(236,49,49,0); }
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
}
.dash-grid .span-2 { grid-column: span 1; }
.activity-card .log-list { max-height: 380px; overflow-y: auto; }
.log-item {
  display: flex;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid #f0f1f4;
  animation: fadein .4s ease;
}
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } }
.log-item:last-child { border-bottom: 0; }
.log-item .log-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fdecec;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.log-item .log-title { font-weight: 600; font-size: 13px; color: #1f2430; }
.log-item .log-when { font-size: 11px; color: var(--muted); margin: 1px 0 4px; }
.log-item .log-text { font-size: 12.5px; color: #5b6472; line-height: 1.55; }
.log-item .log-tag { color: var(--red); font-size: 11px; font-weight: 600; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
}
.stat-card .sc-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat-card .sc-value { font-size: 26px; font-weight: 700; color: #1f2430; margin-top: 4px; }
.stat-card .sc-sub { font-size: 11.5px; margin-top: 4px; color: var(--muted); }
.stat-card .sc-sub b { color: var(--red); }

.findings-legend { font-size: 12px; color: var(--muted); }
.findings-legend .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed #eef0f3;
}
.findings-legend .row:last-child { border-bottom: 0; }
.findings-legend .swatch {
  width: 10px; height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 8px;
}

.vuln-bars .vb-row { margin-bottom: 13px; }
.vuln-bars .vb-row:last-child { margin-bottom: 0; }
.vuln-bars .vb-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 5px;
  color: #5b6472;
}
.vuln-bars .vb-track {
  height: 8px;
  border-radius: 4px;
  background: #eef0f3;
  overflow: hidden;
}
.vuln-bars .vb-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1s ease;
}

.discovery-list { font-size: 13px; }
.discovery-list .d-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eef0f3;
}
.discovery-list .d-row:last-child { border-bottom: 0; }
.discovery-list .d-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.discovery-list .d-row .d-num { margin-left: auto; font-weight: 600; color: #1f2430; }

/* Wizard */
.wizard-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.wizard-steps .ws {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  position: relative;
  padding-top: 30px;
}
.wizard-steps .ws::before {
  content: attr(data-n);
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #eef0f3;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.wizard-steps .ws.active { color: var(--red); font-weight: 600; }
.wizard-steps .ws.active::before { background: var(--red); color: #fff; }
.wizard-steps .ws.done::before { content: "✓"; background: var(--green); color: #fff; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.option-card {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  cursor: pointer;
  transition: border .2s, background .2s;
}
.option-card:hover { border-color: #f0b9b9; }
.option-card.selected { border-color: var(--red); background: #fff8f8; }
.option-card .oc-icon { font-size: 22px; color: var(--red); margin-bottom: 10px; }
.option-card .oc-title { font-weight: 600; color: #1f2430; margin-bottom: 4px; }
.option-card .oc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.review-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.review-table td { padding: 8px 0; border-bottom: 1px dashed #eef0f3; }
.review-table td:first-child { color: var(--muted); width: 42%; }
.review-table td:last-child { font-weight: 600; color: #1f2430; }

/* Report */
.report-doc { background: #fff; max-width: 900px; margin: 0 auto; padding: 48px 56px; border: 1px solid var(--border); border-radius: 8px; }
.report-doc .rp-cover { text-align: center; padding: 30px 0 40px; border-bottom: 3px solid var(--red); margin-bottom: 34px; }
.report-doc .rp-cover h1 { font-size: 26px; color: #1f2430; margin: 14px 0 6px; }
.report-doc .rp-cover .rp-meta { color: var(--muted); font-size: 13px; }
.report-doc h2 { font-size: 18px; color: #1f2430; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.report-doc h3 { font-size: 15px; color: #1f2430; margin: 22px 0 8px; }
.report-doc p { line-height: 1.75; margin-bottom: 12px; }
.finding-block { border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 6px; padding: 16px 20px; margin-bottom: 16px; }
.finding-block.f-high { border-left-color: var(--red); }
.finding-block.f-medium { border-left-color: var(--orange); }
.finding-block.f-low { border-left-color: var(--blue); }
.finding-block.f-info { border-left-color: #9aa0aa; }
.finding-block .fb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.finding-block .fb-head h4 { font-size: 14.5px; color: #1f2430; }
.finding-block p { font-size: 13px; margin-bottom: 8px; }
.finding-block .fb-rem { background: #f6f8fa; border-radius: 6px; padding: 10px 14px; font-size: 12.5px; }
.finding-block .fb-rem b { color: #1e8e53; }

/* =====================  ASSESSMENT DETAIL  ===================== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
  overflow-x: auto;
}
.tab-btn {
  background: none;
  border: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.console {
  background: #10131a;
  color: #b8e0c8;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 12px;
  line-height: 1.75;
  border-radius: 8px;
  padding: 16px 18px;
  height: 460px;
  overflow-y: auto;
}
.console .cl { white-space: pre-wrap; word-break: break-all; }
.console .cl .ct { color: #5a6472; margin-right: 10px; }
.console .cl.warn { color: #f5c26b; }
.console .cl.crit { color: #ff7b72; }
.console .cl.ok { color: #7ee2a8; }

.host-status {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.host-status.alive { background: #9aa0aa; }
.host-status.enumerated { background: var(--blue); }
.host-status.compromised { background: var(--red); box-shadow: 0 0 6px rgba(236,49,49,.8); }
.host-status.filtered { background: #4a4f5a; }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.mini-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}
.mini-stat .ms-v { font-size: 21px; font-weight: 700; color: #1f2430; }
.mini-stat .ms-l { font-size: 11.5px; color: var(--muted); }
.mini-stat .ms-v .comp { color: var(--red); }

.cred-table code { font-size: 11.5px; }

/* =====================  LOGIN SCREEN BG FALLBACK  ===================== */
.particle-bg { position: fixed; inset: 0; }

.empty-state {
  text-align: center;
  padding: 46px 20px;
  color: var(--muted);
}
.empty-state i { font-size: 34px; color: #d5d9e0; margin-bottom: 12px; }
.empty-state .es-title { font-weight: 600; color: #3d4351; margin-bottom: 4px; }

.copy-box {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.copy-box code {
  flex: 1;
  background: #1f2430;
  color: #9fe3c1;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  overflow-x: auto;
  white-space: nowrap;
}
.copy-box button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .dash-grid { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr; }
  .report-doc { padding: 28px 22px; }
  .phase .lbl { font-size: 9px; }
}
