:root {
  --ink: #14213d;
  --ink-2: #24314b;
  --navy: #101b34;
  --navy-2: #172542;
  --surface: #f4f2ed;
  --card: #fffefa;
  --line: #deddd7;
  --muted: #687184;
  --coral: #eb6b55;
  --coral-dark: #cb4f3c;
  --green: #2aa876;
  --green-soft: #e4f5ee;
  --amber: #e0a12f;
  --amber-soft: #fff3d7;
  --red: #c84643;
  --red-soft: #fce7e5;
  --shadow: 0 1px 2px rgba(17, 27, 52, .05), 0 12px 34px rgba(17, 27, 52, .04);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
  color: #fff;
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,.06);
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  letter-spacing: .04em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--coral);
  color: #fff;
  font-weight: 850;
  font-size: 20px;
}
.brand strong { display: block; font-size: 17px; letter-spacing: .12em; }
.brand small { display: block; margin-top: 2px; color: #98a4bb; font-size: 9px; font-weight: 750; letter-spacing: .2em; }
.nav { margin-top: 40px; }
.nav-label {
  margin: 24px 12px 9px;
  color: #71809d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  margin: 3px 0;
  border-radius: 9px;
  color: #b9c2d4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: .18s ease;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-item.active { color: #fff; background: var(--navy-2); box-shadow: inset 3px 0 var(--coral); }
.nav-icon {
  width: 25px;
  color: #697896;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}
.nav-item.active .nav-icon { color: var(--coral); }
.sidebar-footer { margin-top: auto; }
.system-live {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  margin-bottom: 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.system-live strong, .system-live small { display: block; }
.system-live strong { font-size: 12px; }
.system-live small { color: #8794ab; margin-top: 3px; font-size: 10px; }
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(42,168,118,.12);
}
.status-dot-off { background: #8c94a2; box-shadow: none; }
.user-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
}
.user-button:hover { background: rgba(255,255,255,.05); }
.user-button .avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #ffdcd5;
  background: rgba(235,107,85,.18);
  font-weight: 800;
}
.user-button strong, .user-button small { display: block; }
.user-button strong { font-size: 12px; }
.user-button small { margin-top: 2px; color: #7f8ca4; font-size: 10px; }

.main { min-width: 0; }
.mobile-header { display: none; }
.page { max-width: 1520px; margin: 0 auto; padding: 46px 48px 70px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 {
  margin: 5px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.page-heading > p:last-child, .page-heading div > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow {
  margin: 0;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow-light { color: #f39887; }
.muted { color: var(--muted); }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: #445064;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255,255,255,.55);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
  transition: .18s ease;
}
.button-primary { color: #fff; background: var(--coral); box-shadow: 0 5px 16px rgba(235,107,85,.18); }
.button-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.button-secondary { color: var(--ink); border-color: #cfd1d1; background: #fff; }
.button-secondary:hover { border-color: #aeb3bb; background: #fafafa; }
.button-wide { width: 100%; }
.button-small { min-height: 36px; padding: 0 13px; font-size: 11px; }
.text-link { color: var(--coral-dark); text-decoration: none; font-size: 12px; font-weight: 750; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.metric-card {
  min-height: 148px;
  padding: 20px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.metric-card.metric-hero { color: #fff; border-color: var(--navy); background: var(--navy); }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.metric-hero .metric-label { color: #9faac0; }
.metric-card > strong { display: block; margin: 18px 0 8px; font-family: Georgia, serif; font-size: 40px; font-weight: 500; line-height: .9; }
.metric-card > span, .metric-card > a { color: var(--muted); font-size: 11px; text-decoration: none; }
.metric-hero > span { color: #b9c2d1; }
.metric-card > a { color: var(--coral-dark); font-weight: 750; }
.mini-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.mini-dot.amber { background: var(--amber); }
.metric-grid-small .metric-card { min-height: 120px; }
.metric-grid-small .metric-card > strong { font-size: 32px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.content-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; margin-top: 20px; }
.content-grid-bottom { grid-template-columns: 1.35fr 1fr; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 21px 22px 0; }
.card-heading h2, .section-heading h2 {
  margin: 5px 0 0;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.legend { display: flex; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 650; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend-swatch { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); }
.legend-swatch.coral { background: var(--coral); }
.activity-card { min-height: 325px; }
.activity-chart { height: 235px; display: flex; align-items: flex-end; gap: 7px; padding: 20px 22px 18px; }
.activity-column { height: 100%; min-width: 0; flex: 1; display: grid; grid-template-rows: 1fr 18px; gap: 7px; }
.activity-column .bars { min-height: 0; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.activity-column progress {
  width: 8px;
  height: 100%;
  appearance: none;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  border: 0;
  border-radius: 3px;
  background: #eceae4;
}
.activity-column progress::-webkit-progress-bar { background: #eceae4; border-radius: 3px; }
.activity-column progress::-webkit-progress-value { background: var(--ink); border-radius: 3px; }
.activity-column progress::-moz-progress-bar { background: var(--ink); border-radius: 3px; }
.activity-column progress.bar-qualified::-webkit-progress-value { background: var(--coral); }
.activity-column progress.bar-qualified::-moz-progress-bar { background: var(--coral); }
.activity-column small { color: #9299a5; font-size: 8px; text-align: center; white-space: nowrap; }
.health-list { padding: 13px 22px 10px; }
.health-list > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid #eceae5; font-size: 12px; }
.health-list > div:last-child { border: 0; }
.health-list span { display: flex; align-items: center; gap: 9px; color: #4d586c; }
.health-list strong { font-size: 11px; }
.health-icon { width: 19px; height: 19px; display: inline-grid; place-items: center; border-radius: 6px; font-style: normal; font-size: 10px; }
.health-icon.good { color: var(--green); background: var(--green-soft); }
.health-icon.warn { color: var(--amber); background: var(--amber-soft); }
.health-foot { display: flex; justify-content: space-between; gap: 15px; margin: 0 22px 20px; padding: 13px 15px; border-radius: 9px; color: var(--muted); background: #f5f3ed; font-size: 10px; }
.health-foot a { color: var(--coral-dark); font-weight: 750; text-decoration: none; }
.run-list { padding: 8px 22px 20px; }
.run-row { display: grid; grid-template-columns: 9px minmax(0, 1fr) 60px 82px; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eceae5; }
.run-row:last-child { border: 0; }
.run-row strong, .run-row small { display: block; }
.run-row strong { font-size: 11px; }
.run-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.run-status { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.run-status.failed { background: var(--red); }
.run-status.running { background: var(--amber); }
.run-count { color: var(--green); font-size: 11px; font-weight: 800; text-align: right; }
.export-list { padding: 9px 22px 19px; }
.export-list a { display: grid; grid-template-columns: 39px 1fr 20px; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid #eceae5; text-decoration: none; }
.export-list a:last-child { border: 0; }
.export-list a:hover strong { color: var(--coral-dark); }
.file-icon { width: 36px; height: 32px; display: grid; place-items: center; color: var(--coral-dark); border-radius: 7px; background: #faebe7; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.export-list strong, .export-list small { display: block; }
.export-list strong { font-size: 11px; }
.export-list small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.download-mark { color: var(--coral); font-weight: 900; }

.alert { display: block; padding: 13px 16px; margin: 0 0 20px; border: 1px solid; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.alert-link { text-decoration: none; font-weight: 700; }
.alert-warning { color: #77510e; border-color: #edcf8d; background: var(--amber-soft); }
.alert-success { color: #176547; border-color: #a7d8c5; background: var(--green-soft); }
.alert-error { color: #872c2a; border-color: #e9b3af; background: var(--red-soft); }
.callout { display: flex; gap: 13px; padding: 17px 19px; margin-bottom: 20px; color: #185f45; border: 1px solid #aed8c8; border-radius: 13px; background: var(--green-soft); }
.callout-neutral { color: #3e4b64; border-color: #cbd2de; background: #eef1f6; }
.callout-icon { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #fff; background: var(--green); font-size: 12px; font-weight: 850; }
.callout-neutral .callout-icon { background: var(--ink-2); }
.callout strong { font-size: 12px; }
.callout p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; }

.filter-card { margin-bottom: 18px; }
.filter-form { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, .65fr)) auto; align-items: end; gap: 12px; padding: 16px; }
.filter-form-short { grid-template-columns: minmax(240px, 600px) auto; justify-content: start; }
label > span, .stack-form label > span { display: block; margin: 0 0 6px; color: #596276; font-size: 10px; font-weight: 750; letter-spacing: .03em; }
input, select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--ink);
  border: 1px solid #d2d4d2;
  border-radius: 8px;
  outline: none;
  background: #fff;
  font-size: 12px;
}
input:focus, select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(235,107,85,.11); }
.table-card { overflow: hidden; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 11px 16px; color: #7b8391; border-bottom: 1px solid var(--line); background: #f7f6f2; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { min-width: 105px; padding: 13px 16px; color: #3f4a60; border-bottom: 1px solid #eceae5; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(244,242,237,.65); }
td strong, td small { display: block; }
td small { max-width: 280px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.4; text-overflow: ellipsis; }
.company-cell { min-width: 210px; }
.company-cell a { color: var(--ink); font-weight: 800; text-decoration: none; }
.company-cell a:hover { color: var(--coral-dark); }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 99px; font-size: 8px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.badge-qualified, .badge-completed { color: #176547; background: var(--green-soft); }
.badge-review, .badge-running, .badge-pending { color: #7a540f; background: var(--amber-soft); }
.badge-rejected, .badge-failed { color: #872c2a; background: var(--red-soft); }
.warning-text { color: #a66a09 !important; font-weight: 700; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.pagination a { color: var(--coral-dark); font-weight: 750; text-decoration: none; }
.pagination .disabled { opacity: .45; }
.empty-state { padding: 38px 20px; color: var(--muted); text-align: center; }
.empty-state.compact { padding: 25px 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; padding: 5px 8px; color: #33415a; border-radius: 6px; background: #edf0f3; font-size: 9px; font-weight: 750; }
.chip-warn { color: #805810; background: var(--amber-soft); }

.back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; }
.back-link:hover { color: var(--coral-dark); }
.detail-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.detail-badges { display: flex; gap: 7px; margin-bottom: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); gap: 20px; margin-bottom: 20px; }
.detail-main, .contact-card, .detail-grid > .card, .settings-card { padding: 23px; }
.section-heading { margin-bottom: 20px; }
.service-score { display: flex; align-items: baseline; gap: 10px; padding: 19px; color: #fff; border-radius: 12px; background: var(--navy); }
.service-score strong { font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.service-score span { color: #b7c0d1; font-size: 11px; }
.service-chips { margin: 15px 0; }
.evidence-list, .contact-list, .data-grid { margin: 0; }
.evidence-list > div, .contact-list > div { display: grid; grid-template-columns: 125px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eceae5; }
.evidence-list > div:last-child, .contact-list > div:last-child { border: 0; }
dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
dd { margin: 0; color: #354056; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.source-link { display: block; margin-top: 15px; color: var(--coral-dark); font-size: 11px; font-weight: 750; text-decoration: none; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.data-grid > div { padding: 12px 0; border-bottom: 1px solid #eceae5; }
.data-grid dt { margin-bottom: 5px; }
.data-grid-single { grid-template-columns: 1fr; }

.pipeline-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; margin-bottom: 20px; }
.pipeline-steps article { position: relative; min-height: 165px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.pipeline-steps article.featured { color: #fff; border-color: var(--navy); background: var(--navy); }
.pipeline-steps article > span { display: block; color: var(--coral); font-size: 9px; font-weight: 850; }
.pipeline-steps article > strong { display: block; margin: 12px 0 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.pipeline-steps article > b { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 33px; font-weight: 500; }
.pipeline-steps article > small { color: var(--muted); font-size: 9px; }
.pipeline-steps article.featured > small { color: #adb8cb; }
.pipeline-steps > i { align-self: center; color: #adb1b8; font-style: normal; font-size: 14px; }
.padded-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); }

.coverage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.coverage-card { padding: 20px; }
.coverage-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid #eceae5; }
.coverage-head h2 { margin: 7px 0 4px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.coverage-head p { margin: 0; color: var(--muted); font-size: 9px; }
.target-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.coverage-form { padding-top: 15px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 15px; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: 11px; }
.toggle-row small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.toggle-row input[type="checkbox"] { width: 40px; height: 22px; min-height: auto; accent-color: var(--coral); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.coverage-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0; color: var(--muted); font-size: 9px; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.stack-form { display: grid; gap: 14px; margin-top: 22px; }
.stack-form .button { justify-self: start; min-width: 150px; }
.security-note { display: flex; align-items: flex-start; gap: 11px; padding: 15px; margin-top: 20px; color: #28654f; border-radius: 10px; background: var(--green-soft); font-size: 10px; line-height: 1.5; }
.security-note span { font-weight: 900; }
.security-note p { margin: 0; }
.detail-json { max-width: 420px; color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }

.login-body { min-height: 100vh; background: #f6f3ed; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .9fr) 1.1fr; }
.login-story { min-height: 100vh; display: flex; flex-direction: column; padding: 45px clamp(36px, 5vw, 75px); color: #fff; background: var(--navy); }
.brand-light { align-self: flex-start; }
.login-story-copy { max-width: 590px; margin: auto 0; }
.login-story-copy h1 { margin: 18px 0 20px; font-family: Georgia, serif; font-size: clamp(43px, 5vw, 70px); font-weight: 500; line-height: 1.01; letter-spacing: -.045em; }
.login-story-copy > p:last-child { max-width: 520px; color: #aab4c7; font-size: 15px; line-height: 1.7; }
.login-signal { display: flex; align-items: center; gap: 11px; }
.login-signal strong, .login-signal small { display: block; }
.login-signal strong { font-size: 11px; }
.login-signal small { margin-top: 3px; color: #8e9ab1; font-size: 9px; }
.login-panel { display: grid; place-items: center; padding: 35px; }
.login-form-wrap { width: min(390px, 100%); }
.login-form-wrap h2 { margin: 10px 0 8px; font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.03em; }
.login-form-wrap > .muted { margin: 0 0 25px; font-size: 12px; line-height: 1.55; }
.login-form-wrap .stack-form { margin-top: 0; }
.login-form-wrap .button { justify-self: stretch; margin-top: 5px; }
.login-note { margin-top: 22px; color: #8b929e; font-size: 9px; text-align: center; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .filter-form { grid-template-columns: 1fr 1fr 1fr; }
  .search-field { grid-column: span 2; }
  .coverage-grid { grid-template-columns: 1fr; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; }
  .pipeline-steps > i { display: none; }
}

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(290px, 86vw);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 20px 0 60px rgba(10,18,35,.25);
  }
  .sidebar.sidebar-open { transform: translateX(0); }
  .mobile-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #fff; background: var(--navy); }
  .mobile-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 13px; font-weight: 850; letter-spacing: .12em; }
  .mobile-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
  .menu-button { padding: 7px 10px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: transparent; font-size: 10px; font-weight: 750; }
  .page { padding: 30px 18px 55px; }
  .heading-row, .detail-heading { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .filter-form, .filter-form-short { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .detail-grid, .settings-grid { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-panel { min-height: 100vh; }
}

@media (max-width: 560px) {
  .page-heading h1 { font-size: 36px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 125px; }
  .content-grid { gap: 15px; }
  .filter-form, .filter-form-short { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .coverage-head { flex-direction: column; }
  .data-grid { grid-template-columns: 1fr; }
  .evidence-list > div, .contact-list > div { grid-template-columns: 1fr; gap: 5px; }
  .login-panel { padding: 22px; }
}
