:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --ink: #09112b;
  --muted: #62708a;
  --soft: #eef3f8;
  --line: #dfe7f1;
  --blue: #185df5;
  --blue-dark: #0647d8;
  --green: #07965a;
  --green-soft: #e9f8f0;
  --red: #ef4444;
  --red-soft: #feecec;
  --orange: #f59e0b;
  --purple: #7c3aed;
  --shadow: 0 18px 48px rgba(9, 17, 43, 0.08);
  --shadow-strong: 0 24px 70px rgba(9, 17, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
tr:focus-visible {
  outline: 4px solid rgba(24, 93, 245, 0.16);
  outline-offset: 2px;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.workspace-app {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 268px minmax(0, 1fr);
  background:
    radial-gradient(circle at 56% 0%, rgba(24, 93, 245, 0.055), transparent 33%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

.workspace-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 16px 0 40px rgba(9, 17, 43, 0.03);
}

.workspace-brand {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.workspace-brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid #067a4a;
  border-radius: 10px;
  color: #067a4a;
}

.workspace-brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-nav {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 42px 12px 24px 0;
}

.nav-item {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 18px;
  border-radius: 0 10px 10px 0;
  padding: 0 18px 0 32px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 680;
  text-decoration: none;
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.nav-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: transparent;
  content: "";
}

.nav-item:hover {
  background: #f0f5f8;
  color: var(--green);
}

.nav-item.is-active {
  background: #eaf7f0;
  color: #057a49;
}

.nav-item.is-active::before {
  background: var(--green);
}

.nav-item svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-sidebar-footer {
  display: grid;
  gap: 22px;
  padding: 20px 18px 26px;
}

.campaign-card,
.progress-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.campaign-switcher {
  display: flex;
  width: 100%;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 20px 24px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.campaign-switcher strong,
.campaign-switcher small {
  display: block;
}

.campaign-switcher strong {
  font-size: 16px;
  font-weight: 850;
}

.campaign-switcher small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}

.campaign-switcher svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #22304a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-card {
  padding: 24px 24px 20px;
}

.progress-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
}

.progress-ring {
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  margin: 22px auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 66%, transparent 68%),
    conic-gradient(var(--green) 0 151deg, #e8edf4 151deg 360deg);
}

.progress-ring span {
  color: var(--ink);
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.progress-ring.is-pending {
  background:
    radial-gradient(circle closest-side, #fff 66%, transparent 68%),
    conic-gradient(#dfe7f1 0 360deg);
}

.progress-card p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.progress-card a,
.help-link a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  color: #035ce8;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.help-link {
  margin: 22px 8px 0;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.workspace-main {
  min-width: 0;
  padding: 42px 42px 56px;
}

.workspace-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #42526d;
  font-size: 15px;
  font-weight: 720;
}

.breadcrumb a,
.breadcrumb button {
  border: 0;
  background: transparent;
  color: #035ce8;
  cursor: pointer;
  font-weight: 780;
  text-decoration: none;
}

.breadcrumb button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.workspace-header h1 {
  margin: 32px 0 0;
  color: var(--ink);
  font-size: 33px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.workspace-header p {
  margin: 16px 0 0;
  color: #34435d;
  font-size: 17px;
  font-weight: 560;
}

.workspace-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box,
.filter-button,
.notification-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(9, 17, 43, 0.035);
}

.search-box {
  display: flex;
  width: min(100vw, 306px);
  min-height: 52px;
  align-items: center;
  gap: 13px;
  border-radius: 9px;
  padding: 0 16px;
}

.search-box svg,
.filter-button svg,
.notification-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-box svg {
  color: #42526d;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 580;
  outline: none;
}

.filter-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 0 20px;
  color: #22304a;
  cursor: pointer;
  font-size: 15px;
  font-weight: 690;
}

.notification-button {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #22304a;
  cursor: pointer;
}

.notification-button span {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.next-step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 38px;
  border: 1px solid #cbdcf5;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  padding: 34px 34px;
  box-shadow: 0 12px 30px rgba(9, 17, 43, 0.035);
}

.next-step-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 34px rgba(24, 93, 245, 0.26);
}

.next-step-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.next-step-copy span {
  color: #035ce8;
  font-size: 14px;
  font-weight: 850;
}

.next-step-copy h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.next-step-copy p {
  margin: 8px 0 0;
  color: #34435d;
  font-size: 15px;
  font-weight: 560;
}

.primary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  padding: 0 28px;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  transition:
    background 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.primary-action:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(24, 93, 245, 0.24);
  transform: translateY(-1px);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.verification-progress {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.verification-progress-track {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e8edf4;
}

.verification-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 220ms ease;
}

.verification-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #34435d;
  font-size: 13px;
  font-weight: 700;
}

.verification-progress-meta strong {
  color: #22304a;
  font-weight: 720;
}

.verification-summary {
  margin-top: 16px;
  border: 1px solid #bde9d1;
  border-radius: 8px;
  background: #f0fbf5;
  padding: 14px 16px;
}

.verification-summary strong {
  display: block;
  color: #057a49;
  font-size: 14px;
  font-weight: 850;
}

.verification-summary p {
  margin: 6px 0 0;
  color: #22304a;
  font-size: 13px;
  line-height: 1.5;
}

.progress-card p {
  display: grid;
  gap: 4px;
}

.progress-card p strong {
  color: var(--ink);
  font-size: 15px;
}

.progress-card p span {
  color: #53627a;
  font-size: 13px;
  font-weight: 720;
}

.drawer-workflow-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eaf5ff;
  padding: 7px 11px;
  color: #035ce8;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.workflow-lead .drawer-section-inner {
  border-color: #bde9d1;
  background: #f0fbf5;
}

.workflow-lead.is-complete .drawer-section-inner,
.workflow-lead.is-healthy .drawer-section-inner {
  border-color: #cbdcf5;
  background: #f5f8ff;
}

.workflow-recommendation {
  display: grid;
  gap: 8px;
}

.workflow-recommendation span {
  color: #057a49;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.workflow-recommendation h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
}

.workflow-recommendation p {
  margin: 0;
  color: #34435d;
  line-height: 1.55;
}

.workflow-recommendation strong {
  color: #0f5132;
  font-size: 14px;
}

.verified-evidence {
  display: grid;
  gap: 16px;
}

.verified-evidence ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.verified-evidence li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #22304a;
}

.verified-evidence li span {
  color: var(--green);
  font-weight: 850;
}

.verified-evidence li p {
  margin: 4px 0 0;
  color: #53627a;
  line-height: 1.5;
}

.verified-evidence .evidence-empty {
  display: block;
  color: #63718a;
}

.selection-factors,
.actionable-assessment,
.decision-gates {
  display: grid;
  gap: 12px;
}

.selection-factors ul,
.decision-gate-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selection-factors li {
  display: flex;
  gap: 9px;
  color: #22304a;
}

.selection-factors li span {
  color: var(--green);
  font-weight: 900;
}

.decision-gates {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.decision-gate {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.decision-gate > span {
  color: #9a6700;
  font-size: 18px;
  font-weight: 900;
}

.decision-gate.is-yes > span { color: var(--green); }
.decision-gate.is-no > span { color: var(--red); }

.decision-gate p,
.decision-next-step,
.actionable-assessment p {
  margin: 4px 0 0;
  color: #53627a;
  line-height: 1.5;
}

.next-opportunity-summary {
  display: grid;
  gap: 5px;
  border-left: 3px solid var(--green);
  padding-left: 12px;
}

.workflow-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.workflow-navigation span {
  color: #53627a;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.drawer-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.assessment-explanation {
  margin: 14px 0 0;
  color: #34435d;
  font-size: 14px;
  line-height: 1.55;
}

.external-open-notice .drawer-section-inner {
  border-color: #f3d29b;
  background: #fff8ec;
}

.external-open-notice strong {
  display: block;
  color: #8a5200;
  font-size: 14px;
  font-weight: 850;
}

.external-open-notice p {
  margin: 6px 0 0;
  color: #4f3b1d;
  font-size: 14px;
  line-height: 1.5;
}

.live-verification-summary {
  display: grid;
  gap: 18px;
  margin: 24px 0 22px;
  border: 1px solid #dbe6f2;
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.live-verification-summary[hidden] { display: none; }

.live-verification-summary-heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
}

.live-verification-summary-heading span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-verification-summary-heading h2,
.live-verification-summary-heading p { margin: 4px 0 0; }

.live-verification-summary-heading p {
  color: #5d6b82;
  font-weight: 750;
}

.live-verification-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.verification-category {
  display: flex;
  min-height: 62px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px 14px;
  color: #344258;
  text-align: left;
  cursor: pointer;
}

.verification-category:hover {
  border-color: #8bb8f5;
  background: #f2f7ff;
}

.verification-category.is-active {
  border-color: #1268e8;
  background: #eaf3ff;
  color: #084fae;
  box-shadow: 0 0 0 2px rgba(18, 104, 232, 0.12);
}

.verification-category span {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

.verification-category strong {
  min-width: 28px;
  font-size: 22px;
  text-align: right;
}

.workspace-tabs {
  display: flex;
  gap: 48px;
  margin-top: 44px;
  border-bottom: 1px solid var(--line);
}

.workspace-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 22px;
  color: #22304a;
  cursor: pointer;
  font-size: 16px;
  font-weight: 690;
}

.workspace-tab.is-active {
  color: var(--green);
}

.workspace-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.table-card {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(9, 17, 43, 0.04);
}

.table-scroll {
  overflow-x: auto;
}

.opportunity-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.opportunity-table th {
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
  color: #34435d;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}

.opportunity-table th,
.opportunity-table td {
  padding: 0 20px;
}

.opportunity-table tbody tr {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition:
    background 150ms ease,
    box-shadow 150ms ease;
}

.opportunity-table tbody tr:last-child {
  border-bottom: 0;
}

.opportunity-table tbody tr:hover,
.opportunity-table tbody tr.is-selected {
  background: #f8fbff;
}

.opportunity-table td {
  height: 92px;
  color: #34435d;
  font-size: 14px;
  font-weight: 560;
  vertical-align: middle;
}

.opportunity-table .empty-row td {
  height: 120px;
  color: #63718a;
  font-weight: 680;
  text-align: center;
}

.opportunity-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.opportunity-logo {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: #101827;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.opportunity-logo.is-orange {
  background: #fff1e8;
  color: #f15b2a;
}

.opportunity-logo.is-green {
  background: #effaf3;
  color: #15935a;
}

.opportunity-logo.is-blue {
  background: #ecf4ff;
  color: #1976d2;
}

.opportunity-logo.is-slate {
  background: #303848;
  color: #fff;
}

.opportunity-name strong,
.drawer-title-block h2 {
  color: var(--ink);
  font-weight: 760;
}

.opportunity-name strong {
  display: block;
  font-size: 14px;
}

.opportunity-name span {
  display: block;
  margin-top: 8px;
  color: #34435d;
}

.type-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.type-cell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #34435d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 1px;
}

.probability-badge,
.priority-badge,
.status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 780;
}

.probability-badge {
  background: var(--green-soft);
  color: #057a49;
}

.priority-badge.is-high {
  background: #f0e9ff;
  color: #5b21b6;
}

.priority-badge.is-medium {
  background: #eaf1ff;
  color: #0b57d0;
}

.status-badge.is-ready {
  background: #eef6ff;
  color: #0b57d0;
}

.status-badge.is-present {
  background: var(--green-soft);
  color: #057a49;
}

.status-badge.is-checking {
  background: #fff7e8;
  color: #b45309;
}

.status-badge.is-missing {
  background: var(--red-soft);
  color: #dc2626;
}

.status-badge.is-unavailable {
  background: #f1f5f9;
  color: #475569;
}

.status-badge.is-failed {
  background: var(--red-soft);
  color: #b91c1c;
}

.row-chevron {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #63718a;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 0;
}

.table-footer p {
  margin: 0;
  color: #34435d;
  font-size: 14px;
  font-weight: 560;
}

.pagination {
  display: flex;
  gap: 14px;
}

.pagination button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #63718a;
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
}

.pagination button[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.opportunity-drawer {
  position: fixed;
  z-index: 30;
  inset: 0 0 0 auto;
  width: min(100vw, 570px);
  pointer-events: none;
}

.drawer-panel {
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-strong);
  transform: translateX(100%);
  transition: transform 250ms ease;
}

.opportunity-drawer.is-open {
  pointer-events: auto;
}

.opportunity-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-close {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 50;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #22304a;
  cursor: pointer;
}

.drawer-close svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.drawer-content {
  padding: 0 34px 34px;
}

.drawer-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0 -34px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  padding: 24px 86px 24px 34px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.drawer-header-v2 {
  grid-template-columns: 64px minmax(0, 1fr);
}

.drawer-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--red);
}

.drawer-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-title-block h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.drawer-title-block p {
  margin: 8px 0 0;
  color: #42526d;
  font-size: 17px;
  font-weight: 560;
}

.drawer-source-label {
  display: block;
  margin-top: 18px;
  color: #63718a;
  font-size: 13px;
  font-weight: 760;
  text-transform: none;
}

.drawer-source-path {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.drawer-header-meta {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  padding: 18px;
}

.drawer-meta-section {
  padding-top: 0;
}

.drawer-meta-section .drawer-header-meta {
  margin-top: 0;
}

.drawer-priority-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 1px;
}

.drawer-priority-line strong {
  border-radius: 999px;
  background: var(--red-soft);
  padding: 6px 10px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.drawer-meta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  color: #34435d;
  font-size: 14px;
  font-weight: 650;
}

.drawer-meta-row strong {
  color: var(--ink);
  font-weight: 820;
}

.drawer-priority {
  margin-top: 16px;
  background: var(--red-soft);
  color: #dc2626;
  text-transform: uppercase;
}

.drawer-section {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(9, 17, 43, 0.035);
}

.drawer-section-inner {
  padding: 28px 24px;
}

.drawer-section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.drawer-section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--blue);
}

.drawer-section-icon.is-green {
  background: var(--green-soft);
  color: var(--green);
}

.drawer-section-icon.is-purple {
  background: #f0e9ff;
  color: var(--purple);
}

.drawer-section-icon.is-blue {
  background: #eaf1ff;
  color: var(--blue);
}

.drawer-section-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 820;
}

.found-list {
  display: grid;
  gap: 22px;
}

.found-summary {
  display: grid;
  gap: 18px;
}

.technical-details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
}

.technical-details summary {
  min-height: 44px;
  cursor: pointer;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.technical-details .found-list {
  border-top: 1px solid var(--line);
  padding: 18px 16px;
}

.found-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  color: #34435d;
  font-size: 15px;
  font-weight: 560;
}

.found-list strong {
  color: #035ce8;
  font-weight: 680;
}

.drawer-section p {
  color: #34435d;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.75;
}

.drawer-section p + p {
  margin-top: 12px;
}

.strategy-options {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
  padding: 16px;
}

.strategy-options span {
  display: block;
  color: #63718a;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.strategy-options ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: #34435d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.decision-gates {
  margin-top: 16px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drawer-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #22304a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.drawer-action:hover {
  border-color: #bfd2f5;
  background: #f8fbff;
  color: var(--blue);
  transform: translateY(-1px);
}

.drawer-action.is-primary {
  grid-column: 1 / -1;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.drawer-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-list {
  display: grid;
  gap: 0;
}

.resource-list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  color: #22304a;
  font-size: 15px;
  font-weight: 610;
  text-decoration: none;
}

.resource-list a + a {
  border-top: 1px solid var(--line);
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.assessment-grid div {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
  padding: 16px 14px;
}

.assessment-grid span {
  display: block;
  color: #63718a;
  font-size: 12px;
  font-weight: 820;
}

.assessment-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.assessment-stars {
  color: var(--orange) !important;
  font-size: 17px !important;
  letter-spacing: 1px;
}

.recovery-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recovery-timeline li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #63718a;
  font-size: 12px;
  font-weight: 780;
  text-align: center;
}

.recovery-timeline li::before {
  position: absolute;
  top: 9px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: var(--line);
  content: "";
}

.recovery-timeline li:first-child::before {
  display: none;
}

.recovery-timeline li.is-complete::before {
  background: rgba(7, 150, 90, 0.28);
}

.recovery-timeline li span {
  position: relative;
  z-index: 1;
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.recovery-timeline li.is-complete span {
  border-color: var(--green);
  background: var(--green);
}

.recovery-timeline strong {
  color: inherit;
  font-weight: 780;
}

.notes-field {
  display: grid;
  gap: 10px;
}

.notes-field span {
  color: #34435d;
  font-size: 14px;
  font-weight: 760;
}

.notes-field textarea {
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 14px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
}

.notes-field textarea:focus {
  border-color: #bfd2f5;
  outline: 4px solid rgba(24, 93, 245, 0.12);
}

.notes-field textarea:disabled {
  background: #f8fafc;
  color: #63718a;
  cursor: not-allowed;
}

.outcome-form {
  display: grid;
  gap: 14px;
}

.outcome-form label {
  color: #34435d;
  font-size: 14px;
  font-weight: 720;
}

.outcome-form select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  color: #22304a;
  font-size: 15px;
  font-weight: 610;
}

.save-outcome {
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
}

@media (max-width: 1180px) {
  .workspace-app {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .workspace-sidebar {
    overflow: hidden;
  }

  .workspace-brand {
    justify-content: center;
    padding: 0;
  }

  .workspace-brand > span:last-child,
  .nav-item span,
  .workspace-sidebar-footer {
    display: none;
  }

  .workspace-nav {
    padding-right: 10px;
  }

  .nav-item {
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .workspace-app {
    display: block;
  }

  .workspace-sidebar {
    position: static;
    display: block;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-brand {
    min-height: 70px;
  }

  .workspace-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 0 14px 14px;
  }

  .nav-item {
    min-width: 58px;
    min-height: 50px;
    border-radius: 10px;
  }

  .nav-item::before {
    display: none;
  }

  .workspace-main {
    padding: 28px 18px 42px;
  }

  .workspace-header {
    grid-template-columns: 1fr;
  }

  .workspace-tools {
    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
  }

  .next-step-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .workspace-tabs {
    overflow-x: auto;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .live-verification-summary-heading {
    display: grid;
  }

  .live-verification-categories {
    grid-template-columns: 1fr;
  }

  .opportunity-drawer {
    width: 100vw;
  }

  .drawer-content {
    padding: 76px 18px 26px;
  }

  .drawer-header {
    grid-template-columns: 1fr;
  }

  .found-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .assessment-grid,
  .recovery-timeline {
    grid-template-columns: 1fr;
  }

  .recovery-timeline {
    gap: 14px;
  }

  .recovery-timeline li {
    grid-template-columns: 22px 1fr;
    justify-items: start;
    text-align: left;
  }

  .recovery-timeline li::before {
    top: -18px;
    bottom: 18px;
    left: 9px;
    width: 2px;
    height: auto;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }
}
