/* ── Design tokens ── */
:root {
  /* Dark shell */
  --bg:             #131110;
  --shell-border:   rgba(255,255,255,0.07);
  --shell-hi:       rgba(255,255,255,0.09);
  --shell-text:     #F2EDE6;
  --shell-muted:    #8A8078;
  /* Card (light parchment) */
  --card-bg:        #F3F1EC;
  --card-bg2:       #EAE8E2;
  --card-bg3:       #E0DDD6;
  --card-border:    rgba(0,0,0,0.07);
  --card-border-hi: rgba(0,0,0,0.12);
  --card-text:      #1A1714;
  --card-muted:     #7A7268;
  --card-dim:       #A8A09A;
  /* Accents */
  --maroon: #C0324A;
  --gold:   #F5A623;
  --teal:   #0AB5B5;
  --red:    #E53E3E;
  --orange: #DD6B20;
  --amber:  #D97706;
  --green:  #2F855A;
  --blue:   #3182CE;
  /* Severity chips (light-bg style) */
  --chip-crit-bg:     #FEF2F2; --chip-crit-color:  #C53030; --chip-crit-border:  rgba(197,48,48,0.25);
  --chip-high-bg:     #FFF7ED; --chip-high-color:  #C05621; --chip-high-border:  rgba(192,86,33,0.25);
  --chip-med-bg:      #FFFBEB; --chip-med-color:   #B45309; --chip-med-border:   rgba(180,83,9,0.25);
  --chip-low-bg:      #F0FDF4; --chip-low-color:   #276749; --chip-low-border:   rgba(39,103,73,0.25);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 13px;
  color: var(--shell-text);
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 700px at -5% -5%, rgba(107,29,42,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 105% 105%, rgba(245,166,35,0.06) 0%, transparent 60%);
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(19,17,16,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--shell-border);
}
.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Brand ── */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand-sq {
  width: 28px; height: 28px;
  background: linear-gradient(145deg, #C0324A 0%, #7B1D2E 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 20px rgba(192,50,74,0.55), 0 1px 4px rgba(0,0,0,0.6);
  flex-shrink: 0;
}
.brand-sq svg { color: #fff; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.025em; color: var(--shell-text); }
.brand-dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold); margin-left: 1px; vertical-align: middle;
  box-shadow: 0 0 10px rgba(245,166,35,0.8);
}

/* ── Pill nav (inside header) ── */
.pill-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  min-width: 0;
}
.pnav-item {
  padding: 7px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 500; color: var(--shell-muted);
  cursor: pointer; transition: all .15s ease;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  text-decoration: none;
}
.pnav-item:hover { color: var(--shell-text); background: rgba(255,255,255,0.07); }
.pnav-item.active {
  background: linear-gradient(145deg, #C0324A 0%, #8B1D2E 100%);
  color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 10px rgba(192,50,74,0.45);
}
.pnav-badge {
  background: rgba(255,71,87,0.9); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 9px;
  box-shadow: 0 0 7px rgba(255,71,87,0.6);
}
.pnav-item.active .pnav-badge { background: rgba(255,255,255,0.28); box-shadow: none; }

/* ── Header right ── */
.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── Notification button ── */
.notif-btn {
  position: relative; width: 36px; height: 36px;
  border-radius: 10px; background: rgba(255,255,255,0.07);
  border: 1px solid var(--shell-border); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--shell-muted);
  box-shadow: inset 0 1px 0 var(--shell-hi), 0 2px 8px rgba(0,0,0,0.4);
  transition: all .15s ease;
}
.notif-btn:hover { background: rgba(255,255,255,0.11); color: var(--shell-text); }
.notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #FF4757; border: 1.5px solid var(--bg);
  box-shadow: 0 0 8px rgba(255,71,87,0.9);
}

/* ── Operator pill ── */
.op-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07); border: 1px solid var(--shell-border);
  padding: 5px 13px 5px 5px; border-radius: 22px; cursor: pointer;
  box-shadow: inset 0 1px 0 var(--shell-hi), 0 2px 8px rgba(0,0,0,0.3);
  transition: all .15s ease; text-decoration: none;
}
.op-pill:hover { background: rgba(255,255,255,0.11); }
.op-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #2D2D8E 0%, #1B1B4E 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.op-name { font-size: 12px; font-weight: 500; color: var(--shell-text); }

/* ── Buttons (header / dark-shell context) ── */
.shield-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 10px;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  border: none; font-family: inherit; transition: all .18s ease;
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.shield-btn-primary {
  background: linear-gradient(145deg, #C0324A 0%, #8B1D2E 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 4px 18px rgba(192,50,74,0.45), 0 1px 4px rgba(0,0,0,0.5);
}
.shield-btn-primary:hover {
  background: linear-gradient(145deg, #CE3A54 0%, #9B2438 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 6px 28px rgba(192,50,74,0.6), 0 2px 6px rgba(0,0,0,0.5);
  transform: translateY(-1px); color: #fff;
}
.shield-btn-primary:active { transform: translateY(0); color: #fff; }
.shield-btn-secondary {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: var(--shell-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 4px rgba(0,0,0,0.35);
}
.shield-btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22) !important;
  transform: translateY(-1px); color: var(--shell-text);
}
.shield-btn-secondary:active { transform: translateY(0); color: var(--shell-text); }

/* ── Page layout ── */
main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 40px 52px;
}
.shield-page {
  position: relative;
  z-index: 1;
}
.shield-page-title { font-size: 20px; font-weight: 700; color: var(--shell-text); margin-bottom: 4px; letter-spacing: -.02em; }
.shield-page-sub   { font-size: 12px; color: var(--shell-muted); margin-bottom: 24px; }

/* ── KPI row ── */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.kpi {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px; overflow: hidden; cursor: default;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 8px 28px rgba(0,0,0,0.18), 0 32px 64px rgba(0,0,0,0.14);
}
.kpi:hover { transform: translateY(-5px); }
.kpi-c1:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.22), 0 20px 48px rgba(0,0,0,0.18), 0 0 80px -10px rgba(192,50,74,0.4); }
.kpi-c2:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.22), 0 20px 48px rgba(0,0,0,0.18), 0 0 80px -10px rgba(229,62,62,0.4); }
.kpi-c3:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.22), 0 20px 48px rgba(0,0,0,0.18), 0 0 80px -10px rgba(245,166,35,0.35); }
.kpi-c4:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.22), 0 20px 48px rgba(0,0,0,0.18), 0 0 80px -10px rgba(10,181,181,0.35); }
.kpi-accent         { height: 3px; }
.kpi-accent-maroon  { background: linear-gradient(90deg, #C0324A 0%, rgba(192,50,74,0) 100%); }
.kpi-accent-red     { background: linear-gradient(90deg, #E53E3E 0%, rgba(229,62,62,0) 100%); }
.kpi-accent-gold    { background: linear-gradient(90deg, #F5A623 0%, rgba(245,166,35,0) 100%); }
.kpi-accent-teal    { background: linear-gradient(90deg, #0AB5B5 0%, rgba(10,181,181,0) 100%); }
.kpi-body  { padding: 18px 20px 22px; }
.kpi-label { font-size: 11px; font-weight: 600; color: var(--card-muted); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 10px; }
.kpi-value { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.035em; color: var(--card-text); }
.kpi-sub   { font-size: 12px; color: var(--card-muted); margin-top: 9px; }
.kpi-up    { color: var(--green); font-weight: 600; }
.kpi-warn  { color: var(--red);   font-weight: 600; }
.kpi-amber { color: var(--amber); font-weight: 600; }

/* ── Content grids ── */
.content-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.content-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── Shield cards ── */
.shield-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 8px 28px rgba(0,0,0,0.18), 0 32px 64px rgba(0,0,0,0.14);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s cubic-bezier(.2,.8,.2,1);
  animation: fadeSlideUp .55s cubic-bezier(.2,.8,.2,1) both;
}
.shield-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22), 0 16px 48px rgba(0,0,0,0.22), 0 48px 96px rgba(0,0,0,0.16);
}
.shield-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: space-between;
}
.shield-card-head h3 { font-size: 13.5px; font-weight: 600; color: var(--card-text); margin: 0; }
.shield-link { font-size: 11.5px; color: var(--maroon); text-decoration: none; font-weight: 500; transition: color .12s; }
.shield-link:hover { color: #9B2438; }

/* ── Finding rows ── */
.finding-row {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 13px 20px; border-bottom: 1px solid var(--card-border);
  cursor: pointer; transition: background .12s ease;
}
.finding-row:last-child { border-bottom: none; }
.finding-row:hover { background: rgba(0,0,0,0.025); }
.fr-sev-bar { width: 3px; border-radius: 2px; align-self: stretch; flex-shrink: 0; min-height: 38px; }
.fr-main   { flex: 1; }
.fr-title  { font-size: 12.5px; font-weight: 500; line-height: 1.35; margin-bottom: 4px; color: var(--card-text); }
.fr-meta   { font-size: 11px; color: var(--card-muted); display: flex; gap: 10px; }
.fr-client { font-weight: 500; color: var(--card-text); }
.fr-right  { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.fr-age    { font-size: 10.5px; color: var(--card-dim); }

/* ── Severity chips ── */
.sev-chip { padding: 2px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 600; }
.sc-crit  { background: var(--chip-crit-bg); color: var(--chip-crit-color); border: 1px solid var(--chip-crit-border); }
.sc-high  { background: var(--chip-high-bg); color: var(--chip-high-color); border: 1px solid var(--chip-high-border); }
.sc-med   { background: var(--chip-med-bg);  color: var(--chip-med-color);  border: 1px solid var(--chip-med-border); }
.sc-low   { background: var(--chip-low-bg);  color: var(--chip-low-color);  border: 1px solid var(--chip-low-border); }

/* ── Client rows ── */
.cl-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--card-border);
  cursor: pointer; transition: background .12s ease;
}
.cl-row:last-child { border-bottom: none; }
.cl-row:hover { background: rgba(0,0,0,0.025); }
.cl-av {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.cl-name   { font-size: 12.5px; font-weight: 600; color: var(--card-text); }
.cl-domain { font-size: 11px; color: var(--card-muted); font-family: 'JetBrains Mono', monospace; }
.cl-right  { margin-left: auto; }
.sev-row   { display: flex; gap: 5px; }

/* ── Scanner / pipeline rows ── */
.scan-type-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--card-border);
}
.scan-type-row:last-child { border-bottom: none; }
.st-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.06);
}
.st-name     { font-size: 12.5px; font-weight: 500; flex: 1; color: var(--card-text); }
.st-bar-wrap { width: 80px; height: 5px; border-radius: 4px; background: #DDDAD3; overflow: hidden; }
.st-bar      { height: 100%; border-radius: 4px; }
.st-count    { font-size: 12px; font-weight: 600; min-width: 28px; text-align: right; }

/* ── Status rows ── */
.status-row {
  display: flex; align-items: center; padding: 12px 20px;
  border-bottom: 1px solid var(--card-border);
}
.status-row:last-child { border-bottom: none; }
.status-dot       { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-right: 10px; }
.status-dot-green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.7); }
.status-dot-amber { background: #F5A623; box-shadow: 0 0 6px rgba(245,166,35,0.7); }
.status-dot-red   { background: #E53E3E; box-shadow: 0 0 6px rgba(229,62,62,0.7); }
.status-label     { font-size: 12px; color: var(--card-text); flex: 1; }
.status-value     { font-size: 11px; font-weight: 600; }
.status-ok        { color: #22c55e; }
.status-warn      { color: #F5A623; }
.status-error     { color: #E53E3E; }

/* ── Quick links ── */
.quick-link {
  display: block; padding: 10px 14px; border-radius: 10px; margin: 0 12px 6px;
  font-size: 12px; font-weight: 500; text-decoration: none;
  transition: all .12s ease;
  background: rgba(0,0,0,0.04);
  color: var(--card-text);
  border: 1px solid var(--card-border);
}
.quick-link:last-child { margin-bottom: 0; }
.quick-link:hover { background: rgba(0,0,0,0.07); color: var(--maroon); }
.quick-link-primary { background: rgba(192,50,74,0.07); border-color: rgba(192,50,74,0.2); color: var(--maroon); }
.quick-link-primary:hover { background: rgba(192,50,74,0.12); color: var(--maroon); }

/* ── Animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.kpi:nth-child(1) { animation: fadeSlideUp .55s cubic-bezier(.2,.8,.2,1) both .04s; }
.kpi:nth-child(2) { animation: fadeSlideUp .55s cubic-bezier(.2,.8,.2,1) both .10s; }
.kpi:nth-child(3) { animation: fadeSlideUp .55s cubic-bezier(.2,.8,.2,1) both .16s; }
.kpi:nth-child(4) { animation: fadeSlideUp .55s cubic-bezier(.2,.8,.2,1) both .22s; }

/* ── Inner-page card system ── */
.it-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14), 0 8px 28px rgba(0,0,0,0.14), 0 32px 64px rgba(0,0,0,0.10);
  margin-bottom: 24px;
  animation: fadeSlideUp .55s cubic-bezier(.2,.8,.2,1) both .05s;
}
.it-card-head {
  padding: 14px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.it-card-head h3 { font-size: 13.5px; font-weight: 700; color: var(--card-text); margin: 0; letter-spacing: -.02em; }
.it-card-count { font-size: 11px; color: var(--card-muted); font-weight: 500; }

/* Filter bar */
.it-filter {
  padding: 12px 20px;
  background: var(--card-bg2);
  border-bottom: 1px solid var(--card-border);
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.it-filter select, .it-filter .form-select {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border-hi) !important;
  color: var(--card-text) !important;
  font-size: 12px; font-family: inherit;
  border-radius: 8px; height: 34px;
  padding: 0 28px 0 10px; min-width: 130px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: pointer;
}
.it-filter select:focus, .it-filter .form-select:focus {
  border-color: var(--maroon) !important;
  box-shadow: 0 0 0 3px rgba(192,50,74,0.12) !important;
  outline: none;
}
.it-filter-btn {
  background: var(--maroon); color: #fff; border: none;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  height: 34px; padding: 0 18px; cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(192,50,74,0.35);
  transition: background .12s;
}
.it-filter-btn:hover { background: #9B2438; }
.it-filter-label {
  font-size: 11px; font-weight: 600; color: var(--card-muted);
  text-transform: uppercase; letter-spacing: .07em;
  margin-right: 4px;
}

/* Inner table */
.it-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.it-table thead tr { background: var(--card-bg2); }
.it-table thead th {
  padding: 11px 14px;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--card-muted);
  border-bottom: 2px solid var(--card-border);
  white-space: nowrap;
}
.it-table tbody tr { border-bottom: 1px solid var(--card-border); transition: background .1s; }
.it-table tbody tr:last-child { border-bottom: none; }
.it-table tbody tr:hover { background: rgba(0,0,0,0.028); }
.it-table td { padding: 10px 14px; color: var(--card-text); vertical-align: middle; border: none; font-size: 12.5px; }
.it-td-muted { color: var(--card-muted) !important; font-size: 11.5px !important; }
.it-td-mono  { font-family: 'JetBrains Mono', monospace !important; font-size: 11px !important; color: var(--card-muted) !important; }
.it-empty    { text-align: center; padding: 36px 20px; color: var(--card-dim); font-size: 12px; }

/* Type tag (scan category, monospace label) */
.it-type {
  display: inline-block; padding: 2px 8px; border-radius: 5px;
  font-size: 10.5px; font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  background: var(--card-bg3); color: var(--card-muted);
  border: 1px solid var(--card-border-hi);
  white-space: nowrap; letter-spacing: -.01em;
}

/* Severity chips — light card context */
.sev-chip { padding: 3px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.sc-crit { background: var(--chip-crit-bg); color: var(--chip-crit-color); border: 1px solid var(--chip-crit-border); }
.sc-high { background: var(--chip-high-bg); color: var(--chip-high-color); border: 1px solid var(--chip-high-border); }
.sc-med  { background: var(--chip-med-bg);  color: var(--chip-med-color);  border: 1px solid var(--chip-med-border);  }
.sc-low  { background: var(--chip-low-bg);  color: var(--chip-low-color);  border: 1px solid var(--chip-low-border);  }
.sc-info { background: #F0F4FF; color: #3730A3; border: 1px solid rgba(55,48,163,0.18); }

/* Status chips — light card context */
.it-status {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
.it-st-new       { background: rgba(49,130,206,0.1);  color: #1E4E8C; border: 1px solid rgba(49,130,206,0.25); }
.it-st-reviewed  { background: rgba(180,83,9,0.1);    color: #7B341E; border: 1px solid rgba(180,83,9,0.25); }
.it-st-escalated { background: rgba(229,62,62,0.12);  color: #742A2A; border: 1px solid rgba(229,62,62,0.25); }
.it-st-alerted   { background: rgba(197,48,48,0.15);  color: #C53030; border: 1px solid rgba(197,48,48,0.3); }
.it-st-resolved  { background: rgba(47,133,90,0.1);   color: #276749; border: 1px solid rgba(47,133,90,0.25); }
.it-st-dismissed { background: rgba(0,0,0,0.05);      color: var(--card-muted); border: 1px solid var(--card-border-hi); }

/* Tier / category chips */
.it-tier-sme   { background: rgba(99,102,241,0.1); color: #4338CA; border: 1px solid rgba(99,102,241,0.25); }
.it-tier-gov   { background: rgba(20,184,166,0.1); color: #0F766E; border: 1px solid rgba(20,184,166,0.25); }
.it-tier { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; }

/* Action buttons inside tables */
.it-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px; border-radius: 7px;
  font-size: 11px; font-weight: 600; cursor: pointer;
  border: none; font-family: inherit; text-decoration: none;
  transition: all .12s ease; white-space: nowrap;
}
.it-btn-primary {
  background: linear-gradient(145deg, #C0324A 0%, #8B1D2E 100%);
  color: #fff; box-shadow: 0 2px 8px rgba(192,50,74,0.3);
}
.it-btn-primary:hover { background: linear-gradient(145deg, #CE3A54 0%, #9B2438 100%); color: #fff; transform: translateY(-1px); }
.it-btn-ghost {
  background: transparent; color: var(--card-muted);
  border: 1px solid var(--card-border-hi) !important;
}
.it-btn-ghost:hover { background: rgba(0,0,0,0.05); color: var(--card-text); }

/* Section labels above cards */
.it-section-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--shell-muted);
  margin-bottom: 10px; margin-top: 28px;
}
.it-section-label:first-child { margin-top: 0; }

/* Dark-context badges (profile page, legacy use) */
.badge-critical   { background: rgba(239,68,68,0.15);   color: #fca5a5; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.badge-high       { background: rgba(249,115,22,0.15);  color: #fdba74; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.badge-medium     { background: rgba(234,179,8,0.15);   color: #fde047; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.badge-low        { background: rgba(34,197,94,0.15);   color: #86efac; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.badge-info       { background: rgba(148,163,184,0.1);  color: #94a3b8; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.badge-sme        { background: rgba(99,102,241,0.15);  color: #a5b4fc; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.badge-government { background: rgba(20,184,166,0.15);  color: #5eead4; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }

/* Login page inputs */
.shield-input { background: #0f172a; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0; font-size: 12px; }
.shield-input:focus { background: #0f172a; border-color: #C0324A; color: #e2e8f0; box-shadow: none; }
.shield-field-label { font-size: 11px; color: #64748b; letter-spacing: 1px; margin-bottom: 4px; display: block; }

/* ── Login page ── */
.shield-login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.shield-login-card { background: #1e293b; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 40px; width: 360px; }
