:root {
  color-scheme: light;
  --bg: #f6faf8;
  --surface: #ffffff;
  --surface-2: #f1f7f4;
  --surface-3: #e8f3ef;
  --ink: #12201b;
  --ink-2: #243832;
  --muted: #65766f;
  --muted-2: #899893;
  --line: #dce8e3;
  --line-2: #cbdcd6;
  --brand: #2f90c7;
  --brand-dark: #17698f;
  --green: #0b6b4f;
  --green-2: #16bf7a;
  --mint: #dff6ed;
  --blue: #2f90c7;
  --blue-soft: #e8f6fb;
  --yellow: #f3b83d;
  --red: #cf3f3b;
  --orange: #c47b15;
  --teal: #118c8b;
  --purple: #6f63c9;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    linear-gradient(180deg, rgba(227, 244, 236, 0.62), rgba(246, 250, 248, 0) 360px),
    var(--bg);
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
  background: transparent;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 78px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(19, 49, 39, 0.06);
  backdrop-filter: blur(14px);
}

.window-controls {
  display: none;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}

.dot.red {
  background: var(--red);
}

.dot.yellow {
  background: var(--yellow);
}

.dot.green {
  background: var(--green-2);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-home {
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
}

.brand-home:focus-visible {
  outline: 3px solid rgba(47, 144, 199, 0.28);
  outline-offset: 4px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(47, 144, 199, 0.2);
  border-radius: 999px;
  background: linear-gradient(145deg, #e7f8ff, #f3fbff 54%, #ffffff);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(47, 144, 199, 0.16);
}

.brand-bird {
  display: block;
  width: 31px;
  height: 24px;
}

.brand-bird path,
.brand-bird circle {
  stroke: none;
}

.brand-bird .bird-body,
.brand-bird .bird-tail {
  fill: var(--brand);
}

.brand-bird .bird-wing {
  fill: #8ed7f5;
}

.brand-bird circle {
  fill: #ffffff;
}

.brand-row h1,
.empty-panel h2,
.loading-state h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand-row .icon-button {
  display: none;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--line-2);
  background: var(--surface-2);
  color: var(--brand-dark);
  outline: none;
}

.icon-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.icon-button svg,
.site-nav-item svg,
.nav-item svg,
.new-analysis svg,
.primary-button svg,
.secondary-button svg,
.search-input-wrap svg,
.port-input-wrap svg,
.top-title svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.new-analysis {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  margin-left: auto;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 13px 24px rgba(11, 107, 79, 0.18);
}

.new-analysis:hover,
.new-analysis:focus-visible {
  background: #07563f;
  outline: none;
}

.site-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-heading {
  display: none;
}

.site-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.site-nav-item:hover,
.site-nav-item.active {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--green);
}

.site-nav-item.active {
  box-shadow: inset 0 -3px 0 rgba(11, 107, 79, 0.26);
}

.site-nav-item.is-muted {
  opacity: 0.62;
}

.sidebar-footer {
  order: 3;
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
}

.sidebar-footer::before {
  content: "Recent";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-footer .nav-heading {
  display: none;
}

.recent-list {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 260px;
  min-width: 0;
  overflow: hidden;
}

.recent-list > .muted {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}

.recent-button {
  display: grid;
  gap: 2px;
  max-width: 190px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--surface-2);
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
}

.recent-button span,
.recent-button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-button:hover {
  border-color: var(--line-2);
  background: #ffffff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-link,
.inline-link {
  color: var(--green);
  text-decoration: none;
}

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 800;
}

.action-link:hover,
.action-link:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.workspace {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: calc(100vh - 78px);
  background: transparent;
}

.topbar {
  order: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(220, 232, 227, 0.68);
  background: rgba(246, 250, 248, 0.72);
  backdrop-filter: blur(12px);
}

.top-title,
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-title {
  color: var(--ink-2);
  font-weight: 800;
}

.top-title svg {
  color: var(--brand);
}

.top-actions {
  min-width: 0;
  margin-left: auto;
}

.empty-state {
  order: 1;
  display: block;
  padding: 20px 28px 4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.86fr);
  gap: 44px;
  align-items: center;
  width: min(100%, 1540px);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
}

.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-label span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at center, var(--green-2) 0 32%, #d5f8e8 34% 100%);
}

.hero-copy > h2 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 50px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.preview-stage {
  min-width: 0;
  padding: 28px 0 0;
  background: linear-gradient(135deg, rgba(218, 245, 230, 0.94), rgba(232, 246, 251, 0.82) 60%, rgba(255, 255, 255, 0));
  border-radius: 8px;
}

.preview-window {
  width: min(100%, 690px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(21, 47, 39, 0.13);
}

.preview-chrome {
  display: grid;
  grid-template-columns: repeat(3, 12px) minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-chrome span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d3dfda;
}

.preview-chrome div {
  height: 40px;
  display: flex;
  align-items: center;
  margin-left: 12px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 6px 16px;
}

.preview-body p {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 850;
}

.preview-body strong {
  color: var(--ink);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
}

.confidence-ring {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 0 56%, transparent 57%),
    conic-gradient(var(--red) 0 72%, #e7efeb 72% 100%);
}

.confidence-ring span {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

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

.preview-metrics article {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.preview-metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.preview-finding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.preview-finding strong,
.preview-finding span {
  display: block;
}

.preview-finding strong {
  font-size: 16px;
}

.preview-finding span {
  margin-top: 3px;
  color: var(--muted);
}

.preview-finding em {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
}

.preview-finding.medium em {
  background: #fff3d8;
  color: var(--orange);
}

.preview-finding.high em {
  background: #ffe9e9;
  color: var(--red);
}

.search-stage {
  order: 2;
  display: flex;
  justify-content: center;
  padding: 18px 28px 12px;
}

.search-box {
  display: grid;
  gap: 14px;
  width: min(100%, 1120px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(26, 58, 47, 0.08);
}

.search-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.search-card-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 0;
}

.search-card-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.search-card-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fbfdfc;
}

.search-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 144, 199, 0.12);
}

.search-input-wrap svg {
  color: var(--brand);
}

.search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 0;
}

.search-input-wrap input::placeholder {
  color: #9aa9a4;
  font-weight: 400;
}

.active-scan-controls,
.scan-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.active-validation-warning {
  margin: 10px 0 0;
  color: #7b4747;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.validation-mutation-note {
  margin: 14px 0 0;
  color: #7b4747;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.validation-artifact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 9px 0 0;
}

.validation-artifact-list code {
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid rgba(26, 65, 55, 0.14);
  border-radius: 4px;
  background: rgba(247, 250, 249, 0.72);
  color: #50645f;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.scan-summary {
  grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 1fr) minmax(220px, 1.1fr);
}

.advanced-scan-controls[hidden] {
  display: none !important;
}

.auth-crawl-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfdfc;
}

.auth-crawl-card > .scan-toggle {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.auth-crawl-card > .scan-toggle:hover {
  background: transparent;
}

.auth-crawl-fields {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.auth-crawl-fields[hidden] {
  display: none !important;
}

.auth-crawl-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
}

.auth-crawl-method {
  width: min(100%, 280px);
}

.auth-crawl-field-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 10px;
}

.auth-crawl-field-grid[hidden] {
  display: none !important;
}

.auth-crawl-fields input,
.auth-crawl-fields select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  outline: 0;
}

.auth-crawl-fields input::placeholder {
  color: #9aa9a4;
  font-weight: 400;
}

.auth-crawl-fields input:focus,
.auth-crawl-fields select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 144, 199, 0.12);
}

.scan-toggle,
.port-input-wrap,
.scan-policy-card {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.scan-toggle,
.scan-policy-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ink-2);
}

.scan-toggle {
  cursor: pointer;
}

.scan-toggle:hover,
.port-input-wrap:focus-within,
.scan-policy-card:hover {
  border-color: var(--line-2);
  background: #ffffff;
}

.scan-toggle input {
  flex: 0 0 auto;
  accent-color: var(--green);
}

.scan-toggle span,
.scan-policy-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.scan-toggle.featured {
  background: var(--surface-2);
  border-color: rgba(19, 126, 88, 0.18);
}

.scan-toggle strong,
.scan-policy-card strong {
  font-size: 13px;
}

.scan-toggle small,
.scan-policy-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.scan-policy-card svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.port-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--muted);
}

.port-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.port-input-wrap input::placeholder {
  color: #9aa9a4;
}

.scope-check {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.scope-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
  outline: none;
  box-shadow: none;
}

.secondary-button,
.primary-button {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--green);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--green);
  outline: none;
}

.primary-button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #ffffff;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #07563f;
  outline: none;
}

.poc-code-button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26, 58, 47, 0.05);
}

.poc-code-button:hover,
.poc-code-button:focus-visible {
  border-color: var(--green);
  background: var(--surface-2);
  outline: none;
}

.safe-proof-poc-button {
  position: relative;
  isolation: isolate;
  border-color: rgba(24, 55, 99, 0.22);
  font-weight: 550;
}

@property --safe-proof-poc-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.safe-proof-poc-button::before,
.safe-proof-poc-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(
    from var(--safe-proof-poc-angle),
    transparent 0turn 0.64turn,
    rgba(27, 64, 118, 0.04) 0.7turn,
    rgba(35, 76, 139, 0.42) 0.77turn,
    #173b72 0.83turn,
    rgba(67, 112, 181, 0.34) 0.9turn,
    transparent 0.98turn 1turn
  );
  animation: safe-proof-poc-orbit 7.2s linear infinite;
}

.safe-proof-poc-button::before {
  inset: -2px;
  padding: 1.5px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.safe-proof-poc-button::after {
  z-index: -1;
  inset: -3px;
  padding: 2.5px;
  opacity: 0.38;
  filter: blur(3px);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

@keyframes safe-proof-poc-orbit {
  to {
    --safe-proof-poc-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .safe-proof-poc-button::before,
  .safe-proof-poc-button::after {
    animation: none;
  }
}

/* Account navigation and beta profile */
.account-nav {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  margin-left: auto;
}

.account-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.account-nav-trigger svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.account-nav:hover .account-nav-trigger svg,
.account-nav:focus-within .account-nav-trigger svg,
.account-nav.is-open .account-nav-trigger svg {
  transform: rotate(180deg);
}

.account-nav-trigger:focus-visible {
  outline: 2px solid rgba(47, 144, 199, 0.42);
  outline-offset: 6px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(292px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(17, 37, 30, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.account-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 14px;
}

.account-nav:hover .account-menu,
.account-nav:focus-within .account-menu,
.account-nav.is-open .account-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.account-nav.is-dismissed .account-nav-trigger svg {
  transform: none;
}

.account-nav.is-dismissed .account-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
}

.account-menu-identity {
  display: grid;
  gap: 3px;
  padding: 10px 10px 13px;
  border-bottom: 1px solid var(--line);
}

.account-menu-identity strong {
  color: var(--ink);
  font-size: 15px;
}

.account-menu-identity span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-meta {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}

.account-menu-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-menu-meta dt,
.account-menu-meta dd {
  margin: 0;
  font-size: 12px;
}

.account-menu-meta dt {
  color: var(--muted);
}

.account-menu-meta dd {
  color: var(--green);
  font-weight: 700;
}

.account-menu > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.account-menu > button:hover,
.account-menu > button:focus-visible {
  background: var(--surface-2);
  color: var(--green);
  outline: none;
}

.account-menu > button svg {
  width: 17px;
  height: 17px;
}

.release-osint .account-nav-trigger {
  color: rgba(231, 240, 236, 0.76);
}

.release-osint .account-nav-trigger:hover,
.release-osint .account-nav-trigger:focus-visible,
.release-osint .account-nav.is-open .account-nav-trigger {
  color: #ffffff;
}

.profile-panel {
  width: min(calc(100% - 56px), 1040px);
  margin: 118px auto 76px;
  scroll-margin-top: 96px;
}

.profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-2);
}

.profile-heading h2 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.08;
  font-weight: 500;
}

.profile-heading p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.profile-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(11, 107, 79, 0.24);
  border-radius: 6px;
  background: rgba(11, 107, 79, 0.07);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.profile-summary {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(120px, 1fr));
  border-bottom: 1px solid var(--line-2);
}

.profile-summary > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.profile-summary > div:first-child {
  padding-left: 0;
}

.profile-summary > div:last-child {
  border-right: 0;
}

.profile-summary span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.profile-summary strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-settings-section {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: 64px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-2);
}

.profile-settings-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}

.profile-settings-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.profile-form,
.profile-email-workflow,
.profile-email-code {
  display: grid;
  gap: 16px;
}

.profile-form label,
.profile-email-code label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.profile-form input,
.profile-email-code input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  outline: 0;
}

.profile-form input:focus,
.profile-email-code input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 144, 199, 0.12);
}

.profile-form .primary-button,
.profile-email-code .primary-button {
  width: fit-content;
}

.profile-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.profile-message.error {
  color: var(--red);
}

.profile-message.success {
  color: var(--green);
  font-weight: 700;
}

.profile-email-code {
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fbfdfc;
}

.profile-email-code-intro {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-email-code-intro > span,
.auth-verification-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(11, 107, 79, 0.22);
  border-radius: 8px;
  color: var(--green);
}

.profile-email-code-intro svg,
.auth-verification-icon svg {
  width: 19px;
  height: 19px;
}

.profile-email-code-intro div {
  display: grid;
  gap: 3px;
}

.profile-email-code-intro small {
  color: var(--muted);
}

.profile-email-code input,
#auth-code {
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 25px;
  letter-spacing: 0;
}

.profile-email-code-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-verification-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 5px;
  padding: 16px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: #fbfdfc;
}

.auth-verification-banner > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.auth-verification-banner strong {
  color: var(--ink);
}

.auth-verification-banner span,
.auth-verification-banner small {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asm-lock-overlay {
  display: none;
}

.release-osint .search-stage {
  position: relative;
  overflow: hidden;
}

.release-osint .search-stage .search-box {
  filter: blur(5px);
  opacity: 0.62;
  pointer-events: none;
  user-select: none;
}

.release-osint .asm-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  background: rgba(247, 250, 248, 0.38);
  color: var(--ink);
  text-align: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.asm-lock-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 3px;
  border: 1px solid rgba(11, 107, 79, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  box-shadow: 0 10px 24px rgba(17, 37, 30, 0.08);
}

.asm-lock-icon svg {
  width: 22px;
  height: 22px;
}

.asm-lock-overlay strong {
  font-size: 18px;
}

.asm-lock-overlay small {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .account-nav {
    order: 2;
    margin-left: auto;
  }

  .account-nav-trigger {
    min-height: 34px;
  }

  .account-menu {
    top: calc(100% + 8px);
  }

  .profile-panel {
    width: min(calc(100% - 36px), 1040px);
    margin-top: 58px;
  }

  .profile-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .profile-heading h2 {
    font-size: 32px;
  }

  .profile-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-summary > div,
  .profile-summary > div:first-child {
    padding: 17px 12px;
    border-bottom: 1px solid var(--line);
  }

  .profile-summary > div:nth-child(2n) {
    border-right: 0;
  }

  .profile-settings-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }

  .profile-email-code-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-email-code-actions .primary-button,
  .profile-email-code-actions .secondary-button,
  .profile-form .primary-button {
    width: 100%;
  }

  .asm-lock-overlay strong {
    max-width: 240px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-menu,
  .account-nav-trigger svg {
    transition: none;
  }
}

/* Fast public-domain intelligence workspace */
.osint-panel {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding: 76px 0 110px;
  scroll-margin-top: 98px;
}

.osint-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 34px;
}

.osint-intro h2 {
  max-width: 780px;
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.osint-intro > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
}

.osint-passive-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.osint-passive-mark svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  stroke-width: 1.8;
}

.osint-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px rgba(22, 55, 44, 0.08);
}

.osint-search-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fcfb;
}

.osint-search-input:focus-within {
  border-color: rgba(47, 144, 199, 0.58);
  box-shadow: 0 0 0 3px rgba(47, 144, 199, 0.09);
}

.osint-search-input svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  stroke-width: 1.7;
}

.osint-search-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
}

.osint-search-input input::placeholder {
  color: #99a7a2;
  font-weight: 300;
}

.osint-search-form .primary-button {
  min-width: 132px;
  min-height: 58px;
  font-weight: 600;
}

.osint-message {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}

.osint-message.error {
  border-color: rgba(207, 63, 59, 0.24);
  background: #fff4f3;
  color: #9f302c;
}

.osint-loading {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: 27px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.osint-loading > div:first-child {
  display: grid;
  gap: 6px;
}

.osint-loading span {
  font-size: 15px;
  font-weight: 600;
}

.osint-loading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.osint-loading-track {
  height: 3px;
  overflow: hidden;
  background: var(--surface-3);
}

.osint-loading-track span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--brand);
  animation: osint-indeterminate 1.15s cubic-bezier(0.42, 0, 0.28, 1) infinite;
}

@keyframes osint-indeterminate {
  from { transform: translateX(-110%); }
  to { transform: translateX(300%); }
}

.osint-results {
  margin-top: 46px;
  scroll-margin-top: 105px;
}

.osint-panel:not(.hidden) {
  flex: 1 0 auto;
}

.osint-page-footer {
  flex: 0 0 auto;
}

.osint-panel.hidden + .osint-page-footer {
  display: none;
}

.osint-snapshot {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(20, 49, 40, 0.1);
}

.osint-browser-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: #f5f9f7;
}

.osint-browser-dots {
  display: flex;
  gap: 7px;
}

.osint-browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfdcd7;
}

.osint-browser-bar > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.osint-browser-bar strong {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.osint-browser-bar small,
.osint-browser-bar > span:last-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.osint-browser-bar > span:last-child {
  color: var(--green);
}

.osint-snapshot-body {
  padding: 0 34px 34px;
}

.osint-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: 60px;
  align-items: end;
  padding: 46px 0 38px;
}

.osint-overview h3 {
  margin: 7px 0 12px;
  font-size: 32px;
  font-weight: 550;
  line-height: 1.15;
}

.osint-overview p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.osint-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.osint-metrics > div {
  display: grid;
  gap: 4px;
  padding: 18px 13px;
  border-right: 1px solid var(--line);
}

.osint-metrics > div:last-child {
  border-right: 0;
}

.osint-metrics strong {
  font-size: 24px;
  font-weight: 550;
}

.osint-metrics span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.osint-section {
  min-width: 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.osint-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.osint-section-grid > .osint-section {
  padding: 30px 28px 30px 0;
  border-top: 0;
}

.osint-section-grid > .osint-section + .osint-section {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.osint-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.osint-section-head > div {
  display: grid;
  gap: 5px;
}

.osint-section-head span {
  font-size: 16px;
  font-weight: 600;
}

.osint-section-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.osint-section-head > svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  stroke-width: 1.6;
}

.osint-section-head > strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.osint-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.osint-key-rows {
  display: grid;
  gap: 0;
  margin: 0;
}

.osint-key-rows > div {
  display: grid;
  grid-template-columns: minmax(112px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f0;
}

.osint-key-rows > div:last-child {
  border-bottom: 0;
}

.osint-key-rows dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
}

.osint-key-rows dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.osint-value-list {
  display: grid;
  gap: 5px;
}

.osint-value-list > span {
  min-width: 0;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.osint-empty {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 400;
}

.osint-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.osint-status-strip span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.osint-status-strip .present {
  border-color: rgba(11, 107, 79, 0.18);
  color: var(--green);
  background: rgba(223, 246, 237, 0.45);
}

.osint-record-group + .osint-record-group {
  margin-top: 22px;
}

.osint-record-group-title {
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.osint-dns-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f0;
}

.osint-dns-row > span:first-child {
  color: var(--brand-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
}

.osint-mail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.osint-mail-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.osint-mail-grid > div > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.osint-tech-list,
.osint-network-list,
.osint-policy-list,
.osint-source-list {
  display: grid;
  margin-bottom: 18px;
}

.osint-tech-list > div,
.osint-policy-list > div,
.osint-source-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 39px;
  border-bottom: 1px solid #edf2f0;
}

.osint-tech-list span,
.osint-policy-list span,
.osint-policy-list a,
.osint-source-list span {
  min-width: 0;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
}

.osint-policy-list a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.osint-policy-list a:hover,
.osint-policy-list a:focus-visible {
  color: var(--green);
  border-bottom-color: currentColor;
}

.osint-tech-list span small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.osint-tech-list em,
.osint-policy-list small,
.osint-source-list small {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 450;
  text-align: right;
}

.osint-policy-list .present {
  color: var(--green);
}

.osint-source-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.osint-source-list span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
}

.osint-source-list span i.ok,
.osint-source-list span i.cached {
  background: var(--green-2);
}

.osint-source-list span i.failed {
  background: var(--red);
}

.osint-network-list {
  gap: 0;
}

.osint-network-list > div {
  padding: 13px 0;
  border-bottom: 1px solid #edf2f0;
}

.osint-network-list > div:last-child {
  border-bottom: 0;
}

.osint-network-list span {
  font-size: 11px;
  font-weight: 600;
}

.osint-network-list p {
  margin: 4px 0;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.45;
}

.osint-network-list small {
  color: var(--muted);
  font-size: 9px;
}

.osint-asset-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.osint-asset-group {
  min-width: 0;
  border-top: 1px solid #edf2f0;
}

.osint-asset-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  cursor: pointer;
  list-style: none;
}

.osint-asset-group summary::-webkit-details-marker {
  display: none;
}

.osint-asset-group summary > span {
  font-size: 11px;
  font-weight: 550;
  text-transform: capitalize;
}

.osint-asset-group summary small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.osint-asset-group summary svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.osint-asset-group[open] summary svg {
  transform: rotate(180deg);
}

.osint-asset-row {
  display: grid;
  gap: 3px;
  padding: 8px 0 8px 12px;
  border-left: 1px solid var(--line);
}

.osint-asset-row span {
  min-width: 0;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.osint-asset-row small {
  color: var(--muted-2);
  font-size: 8px;
}

.osint-footnote {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.osint-footnote span {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.osint-footnote p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 980px) {
  .osint-overview,
  .osint-section-grid {
    grid-template-columns: 1fr;
  }

  .osint-overview {
    gap: 30px;
  }

  .osint-section-grid > .osint-section,
  .osint-section-grid > .osint-section + .osint-section {
    padding: 30px 0;
    border-left: 0;
  }

  .osint-section-grid > .osint-section + .osint-section {
    border-top: 1px solid var(--line);
  }

  .osint-mail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .osint-panel {
    width: min(calc(100% - 28px), 1280px);
    padding: 46px 0 76px;
  }

  .osint-intro {
    align-items: start;
  }

  .osint-intro h2 {
    font-size: 39px;
  }

  .osint-passive-mark {
    display: none;
  }

  .osint-search-form {
    grid-template-columns: 1fr;
  }

  .osint-search-form .primary-button {
    width: 100%;
  }

  .osint-browser-bar {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0 16px;
  }

  .osint-browser-bar > div {
    display: grid;
    gap: 3px;
  }

  .osint-browser-bar > span:last-child {
    display: none;
  }

  .osint-snapshot-body {
    padding: 0 18px 24px;
  }

  .osint-overview {
    padding: 34px 0 28px;
  }

  .osint-overview h3 {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .osint-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .osint-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .osint-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .osint-two-column,
  .osint-asset-groups {
    grid-template-columns: 1fr;
  }

  .osint-mail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .osint-key-rows > div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .osint-footnote {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .osint-loading-track span {
    animation-duration: 2.4s;
  }
}

.status-line {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  min-height: 34px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--muted-2);
}

.status-line.running .status-dot {
  background: var(--orange);
}

.status-line.ready .status-dot {
  background: var(--green-2);
}

.status-line.error .status-dot {
  background: var(--red);
}

.reports-home {
  order: 4;
  width: min(100%, 1040px);
  margin: 24px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(26, 58, 47, 0.08);
}

.monitoring-schedules-section {
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.monitoring-schedules-head,
.monitoring-schedule-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.monitoring-schedules-head {
  justify-content: space-between;
}

.monitoring-schedules-head span,
.monitoring-schedules-head small {
  display: block;
}

.monitoring-schedules-head span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.monitoring-schedules-head small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.monitoring-schedule-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 0.6fr) minmax(190px, 0.9fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(215, 228, 223, 0.75);
}

.monitoring-schedule-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.monitoring-schedule-form input,
.monitoring-schedule-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 0 11px;
  background: #fbfdfc;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 400;
}

.monitoring-schedule-form .primary-button {
  min-height: 42px;
}

.monitoring-schedule-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--red);
  font-size: 11px;
}

.monitoring-schedule-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.monitoring-schedule-row {
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(215, 228, 223, 0.72);
}

.monitoring-schedule-row > div {
  min-width: 0;
  flex: 1 1 auto;
}

.monitoring-schedule-row strong,
.monitoring-schedule-row small,
.monitoring-schedule-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-schedule-row strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
}

.monitoring-schedule-row small,
.monitoring-schedule-row em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.monitoring-schedule-row em { color: var(--red); }

.monitoring-schedule-state {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green-2);
}

.monitoring-schedule-row.paused .monitoring-schedule-state { background: var(--muted-2); }

.monitoring-schedule-empty,
.monitoring-schedule-upgrade {
  margin: 0;
  padding-top: 11px;
  color: var(--muted);
  font-size: 11px;
}

.monitoring-schedule-upgrade {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.monitoring-schedule-upgrade button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  cursor: pointer;
}

@media (max-width: 900px) {
  .monitoring-schedule-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .monitoring-schedule-form {
    grid-template-columns: 1fr;
  }

  .monitoring-schedule-message {
    grid-column: 1;
  }
}

.auth-panel {
  order: 4;
  display: grid;
  gap: 26px;
  width: min(100% - 56px, 520px);
  margin: 52px auto 70px;
  scroll-margin-top: 104px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  padding: 34px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(26, 58, 47, 0.09);
}

.auth-copy h2,
.reports-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: 0;
}

.auth-copy h2 {
  max-width: 460px;
  font-size: 40px;
  line-height: 1.04;
  font-weight: 500;
  margin-top: 12px;
}

.auth-copy p:last-child,
.reports-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-copy p:last-child {
  max-width: 460px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  min-height: 50px;
  padding: 0 16px;
  background: #fbfdfc;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  outline: 0;
}

.auth-form input::placeholder {
  color: #8f9995;
  font-weight: 400;
}

.auth-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 144, 199, 0.12);
}

.auth-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.auth-message:empty {
  display: none;
}

.auth-message.error {
  color: var(--red);
  font-weight: 800;
}

.auth-message.success {
  color: var(--green);
  font-weight: 850;
}

.auth-actions {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.auth-actions::before {
  content: "";
  order: 2;
  display: block;
  border-top: 1px solid var(--line);
  margin: 12px 0 2px;
}

.auth-actions .primary-button {
  order: 1;
  width: 100%;
  min-height: 52px;
  font-size: 17px;
  font-weight: 760;
}

.auth-actions .primary-button svg {
  display: none;
}

.auth-actions .secondary-button {
  order: 3;
  justify-content: flex-start;
  width: fit-content;
  min-height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.auth-actions .secondary-button:hover,
.auth-actions .secondary-button:focus-visible {
  color: var(--green);
  background: transparent;
  border-color: transparent;
  outline: none;
}

.reports-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.reports-list {
  display: grid;
  gap: 10px;
}

.report-history-locked {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.report-history-locked-preview {
  display: grid;
  gap: 12px;
  padding: 28px;
  filter: blur(7px);
  opacity: 0.68;
  transform: scale(1.02);
  pointer-events: none;
}

.report-history-locked-preview article {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1fr) 260px;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid #cfdcd6;
  border-radius: 8px;
  background: #ffffff;
}

.report-history-locked-preview article > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d9e6e0;
}

.report-history-locked-preview div {
  display: grid;
  gap: 10px;
}

.report-history-locked-preview b,
.report-history-locked-preview i,
.report-history-locked-preview em {
  display: block;
  height: 11px;
  border-radius: 3px;
  background: #c6d8d0;
}

.report-history-locked-preview b {
  width: 46%;
}

.report-history-locked-preview i {
  width: 72%;
}

.report-history-lock-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 34px;
  background: rgba(248, 251, 249, 0.34);
  backdrop-filter: blur(2px);
  text-align: center;
}

.report-history-lock-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(29, 66, 52, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.report-history-lock-icon svg {
  width: 20px;
  height: 20px;
}

.report-history-lock-message h3 {
  margin: 8px 0 8px;
  font-size: 25px;
  font-weight: 600;
}

.report-history-lock-message > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.report-history-card,
.report-history-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 14px 36px rgba(26, 58, 47, 0.055);
}

.report-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
}

.report-history-card h3,
.report-history-empty h3 {
  margin: 8px 0 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.report-history-card p,
.report-history-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.report-history-metrics {
  display: flex;
  gap: 8px;
}

.report-history-metrics span {
  min-width: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-history-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
}

.loading-state {
  order: 4;
  display: block;
  width: min(calc(100% - 56px), 1120px);
  margin: 28px auto 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(211, 224, 218, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 72px rgba(26, 58, 47, 0.09);
}

.loading-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.loading-window-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 252, 251, 0.92);
}

.loading-window-dots {
  display: flex;
  gap: 7px;
}

.loading-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d4dfda;
}

.loading-window-address {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f0f5f3;
  color: var(--muted);
}

.loading-window-address span,
.loading-window-address small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-window-address span {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}

.loading-window-address small {
  min-width: 0;
  font-size: 10px;
  font-weight: 400;
}

.loading-window-status {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.loading-copy {
  display: grid;
  gap: 15px;
  min-width: 0;
  padding: 42px 46px 38px;
}

.loading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 14px;
}

.loading-head .eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.loading-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0;
}

.loading-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.loading-progress-meta strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.loading-progress-meta span {
  color: var(--ink);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.loading-bird {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 68px;
  height: 50px;
  margin-top: 2px;
}

.loading-bird-svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 48px;
  overflow: visible;
  will-change: transform;
}

.loading-bird-svg path {
  stroke: none;
}

.loading-bird-svg circle {
  stroke: none;
}

.loading-bird-body,
.loading-bird-tail {
  fill: var(--brand);
}

.loading-bird-wing {
  transform-box: fill-box;
  transform-origin: 30% 75%;
}

.loading-bird-wing-back {
  fill: rgba(142, 215, 245, 0.58);
  will-change: transform;
}

.loading-bird-wing-front {
  fill: #8ed7f5;
  will-change: transform;
}

.loading-bird-eye {
  fill: #ffffff;
}

@keyframes bird-glide {
  0%, 100% {
    transform: translateY(1px) translateX(-1px);
  }
  50% {
    transform: translateY(-3px) translateX(2px);
  }
}

@keyframes bird-wing-front {
  0%, 100% {
    transform: rotate(16deg) scaleY(0.86);
  }
  45% {
    transform: rotate(-29deg) scaleY(1.18) translateY(-1px);
  }
}

@keyframes bird-wing-back {
  0%, 100% {
    transform: rotate(10deg) scaleY(0.72);
  }
  45% {
    transform: rotate(-21deg) scaleY(1.06) translateY(-1px);
  }
}

@keyframes bird-current {
  0% {
    opacity: 0;
    transform: translateX(22px) scaleX(0.35);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-16px) scaleX(1);
  }
}

.progress-track {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #edf3f1;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 420ms ease;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.progress-steps li {
  min-width: 0;
  padding: 11px 0 0;
  border-top: 2px solid #e4ece8;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
}

.progress-steps li.done,
.progress-steps li.active {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.results {
  order: 5;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 24px 28px 80px;
}

.report-shell {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.report-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(26, 58, 47, 0.07);
}

.report-context {
  display: grid;
  gap: 4px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid var(--line);
}

.report-context h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.report-context p,
.report-context small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-nav {
  display: grid;
  gap: 6px;
}

.report-nav .nav-heading {
  display: block;
  margin: 12px 8px 2px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-nav .nav-heading:first-child {
  margin-top: 0;
}

.report-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.report-nav .nav-item:hover,
.report-nav .nav-item.active {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--green);
}

.report-nav .nav-item.active {
  box-shadow: inset 3px 0 0 rgba(47, 144, 199, 0.55);
}

.report-content {
  min-width: 0;
}

.section {
  scroll-margin-top: 96px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.section-offset {
  margin-top: 18px;
}

.report-page {
  display: none;
  border-top: 0;
  padding-top: 10px;
}

.report-page.active {
  display: block;
}

.section:first-child {
  border-top: 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.section-title p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.rapid-report-progress {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(180px, 1fr) 42px 48px;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  padding: 9px 12px 9px 14px;
  border-top: 1px solid rgba(47, 144, 199, 0.22);
  border-bottom: 1px solid rgba(47, 144, 199, 0.22);
  background: rgba(241, 249, 252, 0.72);
  scroll-margin-top: 88px;
}

.rapid-progress-copy {
  min-width: 0;
}

.rapid-progress-copy strong,
.rapid-progress-copy span {
  display: block;
}

.rapid-progress-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.rapid-progress-copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.rapid-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47, 144, 199, 0.12);
}

.rapid-progress-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #75c6ec, #18b77f);
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rapid-progress-percent {
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.rapid-progress-bird {
  width: 46px;
  height: 32px;
  margin: 0;
}

.rapid-progress-bird .loading-bird-svg {
  width: 43px;
  height: 32px;
}

@media (min-width: 1081px) {
  .report-content > .rapid-report-progress {
    margin-top: 62px;
  }
}

@media (max-width: 760px) {
  .rapid-report-progress {
    grid-template-columns: minmax(0, 1fr) 42px 44px;
    gap: 7px 10px;
    padding: 9px 10px 10px 12px;
    scroll-margin-top: 138px;
  }

  .rapid-progress-copy {
    grid-column: 1;
  }

  .rapid-progress-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rapid-progress-track {
    grid-row: 2;
    grid-column: 1 / 3;
  }

  .rapid-progress-percent {
    grid-row: 1;
    grid-column: 2;
  }

  .rapid-progress-bird {
    grid-row: 1 / 3;
    grid-column: 3;
  }
}

.sample-report-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #cfe2da;
  border-radius: 8px;
  background: #f4f9f7;
  color: var(--green);
}

.sample-report-notice > svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

.sample-report-notice strong,
.sample-report-notice span {
  display: block;
}

.sample-report-notice strong {
  font-size: 13px;
  font-weight: 650;
}

.sample-report-notice span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.report-protocol-notice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 14px 0 18px;
  border: 1px solid rgba(47, 144, 199, 0.24);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(238, 248, 252, 0.72);
}

.report-protocol-notice > svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--blue);
}

.report-protocol-notice div {
  display: grid;
  gap: 4px;
}

.report-protocol-notice strong {
  color: var(--ink);
  font-size: 14px;
}

.report-protocol-notice span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sample-evidence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.sample-evidence-metric {
  min-width: 0;
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sample-evidence-metric span,
.sample-evidence-metric strong {
  display: block;
}

.sample-evidence-metric span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-evidence-metric strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric,
.data-card,
.finding-card,
.record-card,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(26, 58, 47, 0.055);
}

.metric {
  min-height: 112px;
  padding: 16px;
}

.metric .label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.metric .value {
  margin-top: 10px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 850;
}

.metric .hint {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 12px;
}

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

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

.data-card,
.record-card {
  padding: 16px;
  min-width: 0;
}

.data-card h3,
.record-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.kv-list {
  display: grid;
  gap: 8px;
}

.kv {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-2);
  font-size: 13px;
}

.kv span:first-child {
  color: var(--muted);
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.record-card .mono {
  font-family: inherit;
  font-weight: 750;
  line-height: 1.35;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  max-width: 100%;
}

.tag.high {
  border-color: rgba(207, 63, 59, 0.2);
  background: #ffe9e9;
  color: var(--red);
}

.tag.medium {
  border-color: rgba(196, 123, 21, 0.25);
  background: #fff3d8;
  color: var(--orange);
}

.tag.low {
  border-color: rgba(47, 144, 199, 0.25);
  background: var(--blue-soft);
  color: var(--brand);
}

.tag.info {
  border-color: rgba(11, 107, 79, 0.22);
  background: var(--mint);
  color: var(--green);
}

.finding-list {
  display: grid;
  gap: 10px;
}

.finding-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.severity {
  align-self: start;
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.severity.high {
  background: #ffe9e9;
  color: var(--red);
}

.severity.medium {
  background: #fff3d8;
  color: var(--orange);
}

.severity.low {
  background: var(--blue-soft);
  color: var(--brand);
}

.severity.info {
  background: var(--mint);
  color: var(--green);
}

.finding-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.finding-card p {
  margin: 6px 0;
  color: var(--ink-2);
  line-height: 1.5;
}

.finding-card .remediation {
  color: var(--muted);
}

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

.vuln-table-wrap {
  scrollbar-gutter: stable;
}

.vuln-reference-table {
  min-width: 760px;
}

.vuln-candidate-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.vuln-candidate-group {
  margin-top: 12px;
  min-width: 0;
}

.vuln-candidate-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 8px 2px;
}

.vuln-candidate-heading > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.vuln-candidate-heading p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vuln-candidate-heading > strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.vuln-candidate-list {
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  scrollbar-gutter: stable;
}

.vuln-candidate-row {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) 88px minmax(132px, auto);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.vuln-candidate-row:last-child {
  border-bottom: 0;
}

.vuln-candidate-row:hover,
.vuln-candidate-row:focus-visible {
  background: rgba(244, 249, 247, 0.62);
}

.vuln-candidate-row:focus-visible {
  outline: 2px solid rgba(47, 144, 199, 0.52);
  outline-offset: -2px;
}

.vuln-candidate-row.reproduced {
  box-shadow: inset 3px 0 0 var(--green-2);
}

.vuln-candidate-row > strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vuln-candidate-row > .tag {
  justify-self: end;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vuln-candidate-score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vuln-candidate-score small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.safe-proof-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.safe-proof-row {
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.74);
}

.safe-proof-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.safe-proof-head > div {
  min-width: 0;
}

.safe-proof-head h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.safe-proof-head .poc-code-button {
  flex: 0 0 auto;
}

.safe-proof-target {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 9px 0;
  border-top: 1px solid rgba(215, 228, 223, 0.78);
  border-bottom: 1px solid rgba(215, 228, 223, 0.78);
}

.safe-proof-target > span,
.safe-proof-evidence span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.safe-proof-target code {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.safe-proof-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 13px;
}

.safe-proof-evidence > div {
  min-width: 0;
}

.safe-proof-evidence p {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag.proof-mode {
  border-color: rgba(47, 144, 199, 0.22);
  background: rgba(239, 248, 253, 0.8);
  color: #246f98;
}

.tag.proof-mode.visual {
  border-color: rgba(18, 126, 94, 0.25);
  background: rgba(235, 248, 243, 0.86);
  color: var(--green);
}

.safe-proof-visual {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(215, 228, 223, 0.78);
  color: inherit;
  text-decoration: none;
}

.safe-proof-visual img {
  display: block;
  width: 100%;
  max-height: 126px;
  object-fit: contain;
  object-position: left center;
  border: 1px solid rgba(99, 215, 178, 0.28);
  border-radius: 5px;
  background: #071d19;
}

.safe-proof-visual span,
.safe-proof-visual strong,
.safe-proof-visual small {
  display: block;
}

.safe-proof-visual strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.safe-proof-visual small {
  margin-top: 4px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
}

.safe-proof-header-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.safe-proof-info {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  cursor: help;
  outline: none;
}

.safe-proof-info > svg {
  width: 16px;
  height: 16px;
}

.safe-proof-info:hover,
.safe-proof-info:focus-visible {
  color: var(--ink);
  background: rgba(236, 243, 240, 0.82);
}

.safe-proof-tooltip {
  position: absolute;
  z-index: 12;
  top: calc(100% + 8px);
  right: 0;
  width: 286px;
  padding: 12px 13px;
  border: 1px solid rgba(205, 220, 214, 0.92);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 46px rgba(22, 49, 40, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.safe-proof-info:hover .safe-proof-tooltip,
.safe-proof-info:focus .safe-proof-tooltip,
.safe-proof-info:focus-within .safe-proof-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.safe-proof-tooltip > strong,
.safe-proof-tooltip > span {
  display: block;
}

.safe-proof-tooltip > strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.safe-proof-tooltip > span {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.safe-proof-tooltip b {
  color: var(--ink-2);
  font-weight: 550;
}

.proof-disclosure {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 252, 251, 0.68);
}

.proof-disclosure + .proof-disclosure {
  margin-top: 8px;
}

.proof-disclosure > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.proof-disclosure > summary::-webkit-details-marker {
  display: none;
}

.proof-disclosure > summary > span {
  min-width: 0;
}

.proof-disclosure > summary strong,
.proof-disclosure > summary small {
  display: block;
}

.proof-disclosure > summary strong {
  font-size: 13px;
  font-weight: 600;
}

.proof-disclosure > summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.proof-disclosure > summary svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 160ms ease;
}

.proof-disclosure[open] > summary svg {
  transform: rotate(180deg);
}

.version-matching-list,
.configuration-evidence-list {
  border-top: 1px solid var(--line);
}

.version-matching-list {
  max-height: 520px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.version-match-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) 86px minmax(180px, 0.9fr) minmax(260px, 1.7fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(215, 228, 223, 0.76);
}

.version-match-row:last-child {
  border-bottom: 0;
}

.version-match-primary {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.version-match-primary code {
  overflow: hidden;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.version-match-row > strong,
.version-match-row > span,
.version-match-row > p,
.version-match-row > small {
  min-width: 0;
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.version-match-row > strong {
  color: var(--ink-2);
  font-weight: 550;
}

.version-match-row > span,
.version-match-row > p,
.version-match-row > small {
  color: var(--muted);
}

.version-match-row > p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.version-match-row > small {
  grid-column: 1 / -1;
}

.configuration-evidence-list > article {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2fr);
  gap: 18px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(215, 228, 223, 0.76);
}

.configuration-evidence-list > article:last-child {
  border-bottom: 0;
}

.configuration-evidence-list > article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.configuration-evidence-list > article > div > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.configuration-evidence-list .poc-code-button.compact {
  min-height: 25px;
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 550;
  box-shadow: none;
}

.configuration-evidence-list strong {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 550;
}

.configuration-evidence-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .vuln-candidate-heading p {
    display: none;
  }

  .vuln-candidate-row {
    grid-template-columns: minmax(100px, 1fr) 68px minmax(104px, auto);
    gap: 8px;
    padding-inline: 10px;
  }

  .safe-proof-row {
    padding: 14px 12px;
  }

  .safe-proof-head {
    gap: 12px;
  }

  .safe-proof-target {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .safe-proof-evidence {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .poc-execution-guide {
    grid-template-columns: 1fr;
  }

  .poc-execution-guide dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safe-proof-tooltip {
    right: -6px;
    width: min(286px, calc(100vw - 32px));
  }

  .version-match-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .version-match-row > span,
  .version-match-row > p,
  .version-match-row > small {
    grid-column: 1 / -1;
  }

  .configuration-evidence-list > article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.record-list {
  display: grid;
  gap: 10px;
}

.record-card {
  display: grid;
  gap: 10px;
}

.record-card .record-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.muted {
  color: var(--muted);
}

.empty-row {
  padding: 16px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.error-box {
  width: min(100%, 900px);
  margin: 28px auto;
  border: 1px solid rgba(207, 63, 59, 0.28);
  border-radius: 8px;
  padding: 16px;
  background: #ffe9e9;
  color: #8c2421;
}

.poc-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 32, 27, 0.24);
  backdrop-filter: blur(7px) saturate(128%);
  -webkit-backdrop-filter: blur(7px) saturate(128%);
}

.poc-modal.hidden {
  display: none;
}

.poc-modal-panel {
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 34px 80px rgba(18, 32, 27, 0.22);
  overflow: hidden;
}

.poc-execution-guide {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 12px 22px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(215, 228, 223, 0.78);
  background: rgba(248, 252, 250, 0.56);
}

.poc-execution-summary > strong,
.poc-execution-summary > span {
  display: block;
}

.poc-execution-summary > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.poc-execution-summary > span {
  margin-top: 4px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
}

.poc-reproduction-help {
  position: relative;
}

.poc-reproduction-toggle {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}

.poc-reproduction-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 4;
  width: min(410px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(18, 32, 27, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.poc-reproduction-popover > strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.poc-reproduction-popover ol {
  margin: 11px 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}

.poc-reproduction-popover pre {
  margin: 0;
  padding: 11px 12px;
  overflow-x: auto;
  border: 1px solid rgba(215, 228, 223, 0.84);
  border-radius: 5px;
  background: #f4f8f6;
  color: #11211c;
  font: 500 11px/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.poc-reproduction-popover p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.poc-execution-guide dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.poc-execution-guide dl div {
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(215, 228, 223, 0.78);
}

.poc-execution-guide dt {
  color: var(--muted);
  font-size: 10px;
}

.poc-execution-guide dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poc-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.poc-modal-head h2 {
  margin: 0;
  font-size: 21px;
}

.poc-modal-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.poc-impact {
  max-width: 660px;
  margin-top: 13px;
  padding: 11px 13px;
  border: 1px solid rgba(178, 116, 34, 0.28);
  border-radius: 6px;
  background: rgba(255, 247, 229, 0.72);
}

.poc-impact[data-kind="version_check"] {
  border-color: rgba(47, 144, 199, 0.24);
  background: rgba(239, 248, 253, 0.72);
}

.poc-impact > strong,
.poc-impact > span {
  display: block;
}

.poc-impact > strong {
  color: #8b5a17;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.poc-impact[data-kind="version_check"] > strong {
  color: #236f9b;
}

.poc-impact > span {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.poc-impact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
}

.poc-impact-meta span {
  color: var(--muted);
  font-size: 11px;
}

.poc-impact-meta b {
  margin-right: 5px;
  color: var(--ink-2);
  font-weight: 600;
}

.poc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.poc-code-box {
  margin: 0;
  padding: 18px;
  overflow: auto;
  border-top: 1px solid rgba(219, 231, 226, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 44%),
    rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(26px) brightness(0.48) saturate(150%);
  -webkit-backdrop-filter: blur(26px) brightness(0.48) saturate(150%);
  color: #f1fff9;
  font: 12px/1.55 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cve-modal {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 32, 27, 0.22);
  backdrop-filter: blur(7px) saturate(122%);
  -webkit-backdrop-filter: blur(7px) saturate(122%);
}

.cve-modal.hidden {
  display: none;
}

.cve-modal-panel {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid rgba(215, 228, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(28px) saturate(138%);
  -webkit-backdrop-filter: blur(28px) saturate(138%);
  box-shadow: 0 30px 80px rgba(18, 32, 27, 0.2);
}

.cve-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 17px;
  border-bottom: 1px solid rgba(215, 228, 223, 0.84);
  background: rgba(255, 255, 255, 0.36);
}

.cve-modal-head .eyebrow {
  margin: 0 0 5px;
  color: var(--green);
}

.cve-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
}

.cve-modal-head .icon-button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-color: transparent;
  background: transparent;
}

.cve-modal-body {
  max-height: calc(min(760px, 100vh - 48px) - 92px);
  overflow-y: auto;
  padding: 20px 22px 24px;
}

.cve-modal-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cve-modal-score {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-left: 5px;
  color: var(--ink-2);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.cve-modal-score b {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.cve-modal-description {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.68;
}

.cve-modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin: 20px 0 0;
  border-top: 1px solid rgba(215, 228, 223, 0.9);
}

.cve-modal-detail-grid > div {
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(215, 228, 223, 0.72);
}

.cve-modal-detail-grid dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.cve-modal-detail-grid dd {
  margin: 5px 0 0;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .sidebar {
    gap: 14px;
    padding: 0 18px;
  }

  .recent-list,
  .sidebar-footer::before {
    display: none;
  }

  .hero-copy h2 {
    font-size: 56px;
  }

  .active-scan-controls,
  .scan-summary {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }
}

@media (max-width: 860px) {
  .vuln-candidate-columns {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .vuln-candidate-list {
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .cve-modal {
    padding: 12px;
  }

  .cve-modal-panel {
    max-height: calc(100vh - 24px);
  }

  .cve-modal-head {
    padding: 17px 16px 14px;
  }

  .cve-modal-body {
    max-height: calc(100vh - 102px);
    padding: 16px;
  }

  .cve-modal-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .sidebar {
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: 0;
    padding: 14px 18px;
  }

  .site-nav {
    order: 5;
    flex-basis: 100%;
  }

  .new-analysis {
    margin-left: auto;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  .top-actions {
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy h2 {
    font-size: 46px;
  }

  .preview-stage {
    padding-top: 24px;
  }

  .search-row {
    grid-template-columns: minmax(260px, 1fr);
  }

  .active-scan-controls,
  .scan-summary {
    grid-template-columns: 1fr 1fr;
  }

  .auth-crawl-field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-grid,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-evidence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-panel,
  .report-history-card {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    width: min(100% - 36px, 520px);
    padding: 34px;
  }

  .auth-copy h2 {
    font-size: 38px;
  }

  .auth-copy p:last-child {
    font-size: 16px;
  }

  .report-shell {
    grid-template-columns: 1fr;
  }

  .report-sidebar {
    position: static;
    max-height: none;
  }

  .report-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .report-nav .nav-heading {
    display: none;
  }
}

@media (max-width: 760px) {
  .sidebar {
    position: relative;
  }

  .sample-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-row {
    width: 100%;
    justify-content: space-between;
  }

  .brand-row .icon-button {
    display: inline-grid;
  }

  .new-analysis {
    width: 100%;
    margin-left: 0;
  }

  .site-nav-item,
  .report-nav .nav-item {
    flex: 0 0 auto;
  }

  .loading-state {
    grid-template-columns: 1fr;
  }

  .progress-visual {
    min-height: 88px;
  }

  .progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-crawl-field-grid {
    grid-template-columns: 1fr;
  }

  .report-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .empty-state {
    padding: 34px 18px 10px;
  }

  .search-stage,
  .auth-panel,
  .reports-home,
  .results {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-panel {
    width: calc(100% - 24px);
    margin-top: 18px;
    padding: 24px;
  }

  .auth-copy h2 {
    font-size: 34px;
  }

  .auth-copy p:last-child {
    font-size: 15px;
  }

  .auth-form input,
  .auth-actions .primary-button {
    min-height: 50px;
    font-size: 16px;
  }

  .auth-form label {
    font-size: 14px;
  }

  .reports-head {
    display: block;
  }

  .reports-head .secondary-button {
    margin-top: 12px;
  }

  .report-history-metrics {
    flex-wrap: wrap;
  }

  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-copy > p:last-child {
    font-size: 17px;
  }

  .preview-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-card-head,
  .section-header {
    display: block;
  }

  .search-card-head > span,
  .meta-pill {
    margin-top: 10px;
  }

  .active-scan-controls,
  .scan-summary,
  .metric-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .finding-card {
    grid-template-columns: 1fr;
  }

  .kv {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* EchoTrail-inspired Canaria home layout */
body {
  background:
    linear-gradient(180deg, rgba(238, 247, 243, 0.88), rgba(247, 248, 247, 0) 430px),
    #f7f8f7;
}

.app-shell {
  display: block;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(223, 230, 226, 0.88);
  background: rgba(247, 248, 247, 0.84);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-row {
  flex: 0 0 auto;
}

.brand-lockup {
  gap: 10px;
}

.brand-row .eyebrow,
.brand-row .icon-button,
.sidebar-footer {
  display: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-bird {
  width: 40px;
  height: 30px;
  filter: drop-shadow(0 9px 16px rgba(47, 144, 199, 0.2));
}

.brand-row h1 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  line-height: 1;
}

.brand-home {
  min-width: 126px;
  border-radius: 4px;
}

.brand-home:focus-visible {
  outline: 2px solid rgba(47, 144, 199, 0.3);
  outline-offset: 6px;
}

.brand-row .canaria-wordmark {
  display: block;
  min-width: 124px;
  margin: 0;
}

.canaria-wordmark-image {
  display: block;
  width: 126px;
  height: 35px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  position: absolute;
  left: 50%;
  order: initial;
  gap: 28px;
  transform: translateX(-50%);
}

.site-nav-item {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.site-nav-item svg {
  display: none;
}

.site-nav-item:hover,
.site-nav-item.active {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.site-nav-item.is-muted {
  opacity: 1;
}

.new-analysis {
  order: initial;
  min-height: 42px;
  margin-left: auto;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(11, 107, 79, 0.13);
}

.workspace {
  min-height: 100vh;
  background: transparent;
}

.topbar {
  margin-top: 72px;
}

.empty-state {
  order: 1;
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 76px;
  align-items: start;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 150px 28px 74px;
}

.hero-copy {
  min-width: 0;
}

.signal-label {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.signal-label span {
  width: 9px;
  height: 9px;
  background: var(--green-2);
  box-shadow: 0 0 0 8px rgba(22, 191, 122, 0.12);
}

.hero-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-copy > p:not(.signal-label) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.search-stage {
  display: block;
  width: 100%;
  max-width: 680px;
  margin-top: 28px;
  padding: 0;
}

.search-box {
  width: 100%;
  gap: 12px;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(22, 42, 33, 0.09);
}

.search-card-head {
  align-items: center;
}

.search-card-head h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.search-card-head p {
  max-width: 390px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.search-card-head > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.search-row {
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  justify-content: start;
}

.search-input-wrap {
  grid-column: 1 / -1;
  height: 50px;
  padding: 0 13px;
}

.search-input-wrap input {
  font-size: 16px;
  font-weight: 400;
}

.search-input-wrap input::placeholder,
.auth-crawl-fields input::placeholder {
  color: #9aa9a4;
  font-weight: 400;
}

.scope-check {
  height: 42px;
  min-width: 0;
  padding: 0 4px;
  justify-content: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.search-box .scope-check:hover {
  color: #000000;
}

.search-box .scope-check:focus-within {
  outline: none;
}

.search-box .scope-check input:focus,
.search-box .scope-check input:focus-visible {
  outline: none;
  box-shadow: none;
}

.primary-button,
.secondary-button {
  height: 42px;
  font-size: 14px;
  font-weight: 600;
}

.search-box .primary-button {
  min-width: 124px;
  box-shadow: 0 12px 24px rgba(11, 107, 79, 0.12);
}

.search-box .secondary-button {
  min-width: 142px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  box-shadow: none;
}

.search-box .scope-check svg,
.search-box .primary-button svg,
.search-box .secondary-button svg,
.search-box .scan-policy-card svg,
.search-box .scan-toggle svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.scan-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.scan-toggle,
.scan-policy-card {
  min-height: 64px;
  align-items: flex-start;
  padding: 10px;
}

.scan-toggle strong,
.scan-policy-card strong {
  font-size: 12px;
  font-weight: 600;
}

.scan-toggle small,
.scan-policy-card small {
  font-size: 11px;
  line-height: 1.35;
}

.auth-crawl-card {
  padding: 10px;
}

.auth-crawl-card > .scan-toggle {
  align-items: center;
  min-height: 0;
  padding: 0;
}

.auth-crawl-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-stage {
  min-width: 0;
  min-height: 620px;
  margin-top: 20px;
  padding: 142px 0 0;
  position: relative;
  background: transparent;
}

.preview-stage::before {
  content: "";
  position: absolute;
  inset: 24px 0 76px 24px;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(23, 178, 106, 0.2), transparent 42%),
    radial-gradient(circle at 75% 28%, rgba(47, 111, 237, 0.16), transparent 32%);
}

.preview-window {
  position: relative;
  width: min(100%, 620px);
  margin: 0 0 0 -12px;
  padding: 18px;
  border-color: rgba(223, 230, 226, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 90px rgba(22, 42, 33, 0.2);
}

.preview-body {
  padding: 28px 6px 22px;
}

.preview-chrome div {
  font-weight: 400;
}

.preview-body p {
  font-weight: 700;
}

.preview-body strong {
  font-size: 64px;
  font-weight: 400;
}

.confidence-ring {
  width: 132px;
  height: 132px;
}

.confidence-ring span {
  font-size: 14px;
  font-weight: 700;
}

.preview-metrics span,
.preview-metrics strong,
.preview-finding strong,
.preview-finding em {
  font-weight: 700;
}

.preview-finding span {
  font-weight: 400;
}

.status-line {
  order: 2;
}

.auth-panel {
  margin-top: 126px;
}

.reports-home {
  margin-top: 116px;
}

.loading-state {
  margin-top: 118px;
}

.results {
  padding-top: 24px;
}

@media (max-width: 1180px) {
  .sidebar {
    padding: 0 24px;
  }

  .site-nav {
    position: static;
    transform: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 124px;
  }

  .preview-stage {
    min-height: 0;
    padding-top: 96px;
  }

  .preview-window {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .sidebar {
    position: sticky;
    flex-wrap: wrap;
    min-height: 0;
    padding: 14px 18px;
  }

  .brand-row {
    width: auto;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    gap: 18px;
  }

  .new-analysis {
    width: auto;
    min-height: 40px;
    margin-left: auto;
  }

  .hero-grid {
    padding: 44px 18px 44px;
  }

  .hero-copy > h2 {
    font-size: 42px;
  }

  .search-card-head {
    display: block;
  }

  .search-card-head h2 {
    font-size: 18px;
  }

  .search-card-head > span {
    display: block;
    margin-top: 8px;
  }

  .hero-copy > p:not(.signal-label) {
    font-size: 17px;
  }

  .search-row,
  .scan-summary,
  .auth-crawl-field-grid {
    grid-template-columns: 1fr;
  }

  .search-stage,
  .auth-panel,
  .reports-home,
  .results {
    padding-left: 0;
    padding-right: 0;
  }

  .preview-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-stage {
    padding-top: 64px;
  }

  .preview-stage::before {
    inset: 20px 0 56px 0;
    border-radius: 8px;
  }
}

/* OSINT early-access release */
.release-osint .new-analysis {
  display: none;
}

.release-osint .sidebar {
  border-bottom-color: rgba(130, 159, 149, 0.18);
  background:
    linear-gradient(105deg, rgba(4, 15, 12, 0.82), rgba(11, 27, 22, 0.7), rgba(22, 28, 27, 0.72));
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
}

.release-osint .canaria-wordmark-image {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.release-osint .site-nav-item {
  color: rgba(231, 240, 236, 0.65);
}

.release-osint .site-nav-item:hover,
.release-osint .site-nav-item.active {
  color: #ffffff;
}

.asm-development-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 72px;
  align-items: center;
  width: min(calc(100% - 48px), 1120px);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 132px 0 76px;
}

.asm-development-copy {
  max-width: 720px;
}

.asm-development-copy h2 {
  max-width: 680px;
  margin: 10px 0 20px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: 0;
}

.asm-development-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.asm-development-copy .primary-button {
  width: fit-content;
  padding: 0 18px;
}

.asm-development-status {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.asm-development-status > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border: 1px solid rgba(11, 107, 79, 0.22);
  border-radius: 50%;
  color: var(--green);
}

.asm-development-status svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.asm-development-status strong {
  color: var(--ink);
  font-size: 16px;
}

.asm-development-status small {
  font-size: 12px;
}

.release-osint .osint-panel {
  width: min(calc(100% - 48px), 1120px);
  padding-top: 128px;
}

.release-osint .osint-intro {
  display: block;
  max-width: 720px;
  padding-bottom: 24px;
}

.release-osint .osint-intro h2 {
  margin: 8px 0 12px;
  font-size: 42px;
  line-height: 1.08;
}

.release-osint .osint-search-form,
.release-osint .osint-loading,
.release-osint .osint-message {
  width: min(100%, 680px);
}

.release-osint .osint-search-form {
  padding: 10px;
}

.release-osint .osint-search-input,
.release-osint .osint-search-form .primary-button {
  min-height: 50px;
}

.release-osint .osint-search-form .primary-button {
  min-width: 112px;
}

.release-osint .osint-results {
  margin-top: 54px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .asm-development-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(calc(100% - 36px), 1120px);
    min-height: auto;
    padding: 70px 0 54px;
  }

  .asm-development-copy h2 {
    font-size: 38px;
  }

  .asm-development-status {
    justify-items: start;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .release-osint .osint-panel {
    width: min(calc(100% - 36px), 1120px);
    padding-top: 68px;
  }

  .release-osint .osint-intro h2 {
    font-size: 36px;
  }
}

/* Typography refinement: keep emphasis reserved for hierarchy and actions. */
:where(
  .site-nav-item,
  .top-title,
  .ghost-link,
  .status-line,
  .search-card-head p,
  .scan-toggle small,
  .scan-policy-card small,
  .auth-crawl-fields label,
  .preview-chrome div,
  .preview-body p,
  .preview-metrics span,
  .preview-finding span,
  .reports-head p,
  .report-history-card p,
  .report-history-empty p,
  .report-context p,
  .report-context small,
  .section-title p,
  .kv,
  th,
  td,
  .muted,
  .empty-row,
  .auth-message
) {
  font-weight: 400;
}

:where(
  .brand-row h1,
  .new-analysis,
  .primary-button,
  .secondary-button,
  .search-card-head h2,
  .scan-toggle strong,
  .scan-policy-card strong,
  .preview-metrics strong,
  .preview-finding strong,
  .preview-finding em,
  .auth-form label,
  .report-history-metrics span,
  .tag,
  .severity,
  .meta-pill,
  .record-card .mono,
  .finding-card h3,
  .data-card h3,
  .record-card h3
) {
  font-weight: 700;
}

:where(
  .hero-copy > h2,
  .preview-body strong,
  .metric .value,
  .progress-badge
) {
  font-weight: 400;
}

@media (max-width: 640px) {
  .loading-state {
    width: calc(100% - 28px);
  }

  .loading-window-bar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .loading-window-address small,
  .loading-window-status {
    display: none;
  }

  .loading-copy {
    padding: 30px 24px 26px;
  }

  .loading-head {
    align-items: flex-start;
    gap: 16px;
  }

  .loading-head h2 {
    font-size: 23px;
  }

  .progress-steps {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .progress-steps li {
    display: none;
  }

  .progress-steps li.active {
    display: block;
  }

  .loading-bird {
    width: 50px;
    height: 38px;
  }

  .loading-bird-svg {
    width: 48px;
    height: 36px;
  }
}

/* Billing and report history use the same quiet, evidence-first layout as reports. */
.reports-home,
.billing-panel {
  order: 4;
  width: min(100% - 56px, 1180px);
  margin: 116px auto 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: 96px;
}

.reports-head,
.billing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.reports-head .eyebrow,
.billing-head .eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.reports-head h2,
.billing-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}

.reports-head p,
.billing-head p {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
}

.reports-head .secondary-button {
  flex: 0 0 auto;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.76);
}

.reports-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.reports-summary:empty {
  display: none;
}

.reports-summary span {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.reports-summary span:last-child {
  border-right: 0;
}

.reports-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.reports-summary strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.exposure-trends {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.exposure-trends-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.exposure-trends-head span,
.exposure-trends-head small {
  display: block;
}

.exposure-trends-head span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.exposure-trends-head small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.exposure-trends-head select {
  width: min(360px, 48%);
  min-height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.exposure-trend-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.exposure-trend-metrics span {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
}

.exposure-trend-metrics span:last-child {
  border-right: 0;
}

.exposure-trend-metrics small,
.exposure-trend-metrics strong {
  display: block;
}

.exposure-trend-metrics small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.exposure-trend-metrics strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
}

.exposure-trend-chart {
  padding: 18px 20px 10px;
}

.exposure-trend-chart-label,
.exposure-trend-dates,
.exposure-trend-transitions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.exposure-trend-chart-label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.exposure-trend-chart-label small,
.exposure-trend-dates,
.exposure-trend-transitions small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.exposure-trend-svg {
  display: block;
  width: 100%;
  height: 154px;
  margin-top: 8px;
  overflow: visible;
}

.trend-axis {
  stroke: #dce8e3;
  stroke-width: 1;
}

.trend-line {
  fill: none;
  stroke: #16795f;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-point {
  fill: #fff;
  stroke: #16795f;
  stroke-width: 2.5;
}

.trend-point.incomplete {
  stroke: #a5b4ae;
  stroke-dasharray: 2 2;
}

.exposure-trend-gap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  color: #9a6620;
  font-size: 11px;
}

.exposure-trend-gap svg {
  width: 14px;
  height: 14px;
}

.exposure-trend-transitions {
  justify-content: flex-start;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.exposure-trend-transitions strong {
  margin-left: 4px;
  color: var(--ink);
  font-weight: 500;
}

.exposure-trend-transitions small {
  margin-left: auto;
}

.reports-list {
  display: grid;
  gap: 10px;
}

.report-history-card {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, auto) auto;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.report-history-card:hover {
  border-color: #bfd3ca;
  background: #ffffff;
}

.report-history-running {
  border-color: rgba(45, 148, 202, 0.28);
  background: rgba(247, 252, 254, 0.96);
}

.report-history-running:hover {
  border-color: rgba(45, 148, 202, 0.42);
  background: #ffffff;
}

.report-history-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.report-complete {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 400;
}

.report-complete svg {
  width: 14px;
  height: 14px;
}

.report-running-indicator,
.report-running-stage {
  display: inline-flex;
  align-items: center;
  color: #176f99;
  font-size: 12px;
  font-weight: 400;
}

.report-running-indicator {
  gap: 7px;
}

.report-running-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d94ca;
  box-shadow: 0 0 0 5px rgba(45, 148, 202, 0.1);
  animation: report-running-pulse 1.8s ease-in-out infinite;
}

.report-running-stage {
  color: var(--muted);
}

.report-running-stage::before {
  content: "·";
  margin-right: 9px;
  color: var(--muted-2);
}

.report-history-live-progress {
  min-width: 360px;
}

.report-history-live-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.report-history-live-progress strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.report-history-progress-track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0ed;
}

.report-history-progress-track > span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: #2d94ca;
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes report-running-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

.report-history-card h3 {
  margin: 10px 0 7px;
  overflow: hidden;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-retention-expiry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 7px;
  color: #ad3d38;
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
}

.report-retention-expiry:empty {
  display: none;
}

.report-retention-expiry svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.7;
}

.report-history-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.report-history-card p span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--muted-2);
}

.report-history-card p .mono {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-history-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.report-history-metrics span {
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fbfdfc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.report-history-metrics span:last-child {
  border-right: 0;
}

.report-history-metrics strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  font-weight: 500;
}

.report-history-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.report-history-actions .icon-button {
  flex: 0 0 auto;
  width: 40px;
  min-height: 40px;
  background: #ffffff;
}

.report-history-actions .report-delete-button {
  color: var(--muted);
}

.report-history-actions .report-delete-button:hover {
  border-color: rgba(184, 53, 49, 0.3);
  background: rgba(184, 53, 49, 0.05);
  color: #a7332f;
}

.loading-window-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.loading-cancel-button,
.report-history-actions .report-cancel-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #7b8a84;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.loading-cancel-button svg,
.report-history-actions .report-cancel-button svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}

.loading-cancel-button:hover,
.report-history-actions .report-cancel-button:hover {
  border-color: rgba(165, 48, 45, 0.2);
  background: rgba(165, 48, 45, 0.055);
  color: #9f302d;
}

.loading-cancel-button:focus-visible,
.report-history-actions .report-cancel-button:focus-visible {
  outline: 2px solid rgba(47, 144, 199, 0.28);
  outline-offset: 2px;
}

.report-open-button {
  white-space: nowrap;
}

body.modal-open {
  overflow: hidden;
}

.delete-report-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 32, 27, 0.22);
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
}

.delete-report-dialog {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(205, 219, 213, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 72px rgba(18, 32, 27, 0.16);
}

.delete-report-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border: 1px solid rgba(184, 53, 49, 0.22);
  border-radius: 8px;
  background: rgba(184, 53, 49, 0.05);
  color: #a7332f;
}

.delete-report-icon svg {
  width: 17px;
  height: 17px;
}

.delete-report-dialog .eyebrow {
  margin: 0 0 8px;
  color: #a7332f;
}

.delete-report-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0;
}

.delete-report-dialog > p:not(.eyebrow):not(.delete-report-error) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.delete-report-dialog > p strong {
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  color: var(--ink-2);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delete-report-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(184, 53, 49, 0.22);
  border-radius: 6px;
  background: rgba(184, 53, 49, 0.05);
  color: #9b2e2a;
  font-size: 12px;
  line-height: 1.5;
}

.delete-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.danger-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #a7332f;
  border-radius: 7px;
  padding: 0 16px;
  background: #a7332f;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.danger-button:hover {
  border-color: #8f2925;
  background: #8f2925;
}

.danger-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.danger-button svg {
  width: 15px;
  height: 15px;
}

.report-history-empty {
  display: grid;
  justify-items: start;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.report-history-empty-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
}

.report-history-empty h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.report-history-empty p {
  margin: 9px 0 22px;
  font-size: 14px;
}

.billing-head {
  align-items: flex-end;
}

.billing-cycle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.billing-cycle button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.billing-cycle button.active {
  background: var(--ink);
  color: #ffffff;
}

.billing-cycle button span {
  margin-left: 5px;
  color: #89d8f3;
  font-size: 10px;
}

.billing-credit-rule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: -4px 0 24px;
}

.billing-credit-rule > span {
  display: grid;
  grid-template-columns: 18px auto;
  column-gap: 9px;
  align-items: center;
  min-height: 40px;
  padding: 0 22px 0 0;
  border-right: 1px solid var(--line);
}

.billing-credit-rule > span:last-child {
  padding-right: 0;
  border-right: 0;
}

.billing-credit-rule svg {
  grid-row: 1 / 3;
  width: 17px;
  height: 17px;
  color: var(--brand-dark);
}

.billing-credit-rule strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.billing-credit-rule em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

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

.billing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.billing-card.recommended {
  border-color: rgba(47, 144, 199, 0.56);
  box-shadow: inset 0 3px 0 var(--brand);
}

.billing-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.billing-plan-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.billing-card-top p {
  min-height: 42px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.billing-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 28px;
}

.billing-price strong {
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
}

.billing-price span,
.billing-effective {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.billing-effective {
  min-height: 18px;
  margin: 8px 0 0;
}

.billing-credit-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.billing-credit-count strong {
  color: var(--brand-dark);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.billing-credit-count span {
  color: var(--muted);
  font-size: 12px;
}

.billing-usage {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
}

.billing-usage i {
  color: var(--muted-2);
  font-style: normal;
}

.billing-limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.billing-limits div {
  padding: 10px 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.billing-limits div:nth-child(2n) {
  border-right: 0;
}

.billing-limits div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.billing-limits dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.billing-limits dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.billing-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.billing-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.billing-card li svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--green);
}

.billing-card li.unavailable {
  color: #a5afaa;
}

.billing-card li.unavailable svg {
  color: #d3dcd8;
}

.billing-card li.included {
  color: var(--ink-2);
}

.billing-card li.included svg {
  color: var(--brand-dark);
}

.billing-select {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}

.billing-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  font-weight: 400;
}

.billing-note.is-visible {
  color: var(--green);
}

.scan-credit-addon {
  display: inline;
  margin-left: 5px;
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .report-history-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .report-history-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .report-history-live-progress {
    min-width: 0;
  }

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

  .billing-card-top p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .reports-home,
  .billing-panel {
    width: min(100% - 36px, 1180px);
    margin-top: 42px;
  }

  .reports-head,
  .billing-head {
    display: grid;
    align-items: start;
  }

  .reports-head h2,
  .billing-head h2 {
    font-size: 34px;
  }

  .reports-head .secondary-button,
  .billing-cycle {
    margin-top: 0;
    justify-self: start;
  }

  .reports-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exposure-trends-head {
    align-items: stretch;
    flex-direction: column;
  }

  .exposure-trends-head select {
    width: 100%;
  }

  .exposure-trend-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exposure-trend-metrics span:nth-child(2) {
    border-right: 0;
  }

  .exposure-trend-metrics span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .reports-summary span:nth-child(2) {
    border-right: 0;
  }

  .reports-summary span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .report-history-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .report-history-card h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .report-history-card p {
    flex-wrap: wrap;
  }

  .report-history-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-history-metrics span:nth-child(2) {
    border-right: 0;
  }

  .report-history-metrics span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .report-history-actions {
    grid-column: auto;
  }

  .billing-credit-rule {
    display: grid;
    gap: 9px;
  }

  .billing-credit-rule > span {
    min-height: 34px;
    padding: 0;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-running-indicator i {
    animation: none;
  }

  .loading-bird::before,
  .loading-bird::after,
  .loading-bird-svg,
  .loading-bird-wing-back,
  .loading-bird-wing-front {
    animation: none;
  }
}

/* Canaria product narrative */
.home-story {
  overflow: clip;
  border-top: 1px solid rgba(220, 232, 227, 0.88);
  background: #ffffff;
}

.home-section {
  padding: 124px 28px;
}

.home-section[id] {
  scroll-margin-top: 92px;
}

.home-section-inner,
.home-cta-inner,
.home-footer-inner {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.home-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-section-heading h2,
.technical-heading h2,
.capability-copy h2,
.operations-copy h2,
.measurement-layout h2,
.home-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

.home-section-heading > p:last-child,
.technical-heading > p,
.capability-copy > p,
.operations-copy > p,
.measurement-layout p,
.home-cta p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
}

.problem-section {
  background:
    linear-gradient(180deg, rgba(232, 246, 251, 0.46), rgba(255, 255, 255, 0) 360px),
    #ffffff;
}

.problem-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.problem-heading .home-kicker {
  grid-column: 1 / -1;
  margin-bottom: -38px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 70px;
}

.problem-grid article {
  min-height: 356px;
  padding: 28px;
  border: 1px solid #e4ece8;
  border-radius: 8px;
  background: rgba(248, 250, 249, 0.92);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.problem-grid article:hover {
  border-color: #c9ded6;
  background: #ffffff;
  transform: translateY(-4px);
}

.problem-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.problem-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.problem-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.problem-number {
  color: #a1afaa;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.problem-grid h3 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.problem-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.technical-section {
  border-top: 1px solid #e6efeb;
  background: #ffffff;
}

.technical-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.55fr);
  gap: 84px;
  align-items: end;
}

.technical-heading > p {
  max-width: 500px;
  justify-self: end;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 64px;
}

.technical-grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #e0ebe6;
  border-radius: 8px;
  background: #f8faf9;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.technical-grid article:hover {
  border-color: #c4dbd1;
  background: #ffffff;
  transform: translateY(-3px);
}

.technical-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.technical-card-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.technical-card-head svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.technical-card-head em {
  color: #9aa9a3;
  font-size: 11px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.technical-grid h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.technical-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.technical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 28px;
}

.technical-tags span {
  padding: 6px 8px;
  border: 1px solid #d9e6e1;
  border-radius: 4px;
  background: #ffffff;
  color: #60736b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.workflow-section {
  border-top: 1px solid #e6efeb;
  border-bottom: 1px solid #e6efeb;
  background:
    linear-gradient(135deg, rgba(223, 246, 237, 0.72), transparent 42%),
    #f5f8f7;
}

.workflow-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.6fr);
  gap: 80px;
  align-items: end;
}

.workflow-heading > p {
  max-width: 520px;
  justify-self: end;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 64px;
  align-items: center;
  margin-top: 72px;
}

.workflow-tabs {
  display: grid;
}

.workflow-tab {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 18px 10px;
  border: 0;
  border-bottom: 1px solid #d6e3de;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.workflow-tab::before {
  content: "";
  position: absolute;
  inset: 20px auto 20px -10px;
  width: 2px;
  background: transparent;
  transition: background 180ms ease;
}

.workflow-tab:hover,
.workflow-tab:focus-visible,
.workflow-tab.active {
  color: var(--ink);
  outline: none;
}

.workflow-tab.active::before {
  background: var(--blue);
}

.workflow-step-number {
  color: #91a39c;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.workflow-tab strong,
.workflow-tab small {
  display: block;
}

.workflow-tab strong {
  font-size: 18px;
  font-weight: 600;
}

.workflow-tab small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.workflow-product,
.capability-visual,
.operations-console {
  border: 1px solid rgba(203, 220, 214, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(25, 64, 51, 0.11);
}

.workflow-product {
  min-width: 0;
  min-height: 574px;
  overflow: hidden;
}

.product-window-bar,
.capability-browser-bar {
  display: grid;
  grid-template-columns: repeat(3, 9px) minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #e2ebe7;
  background: #fbfcfc;
}

.product-window-bar > span,
.capability-browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d4dfda;
}

.product-window-bar p,
.capability-browser-bar p {
  min-width: 0;
  margin: 0 0 0 8px;
  overflow: hidden;
  color: #73837d;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-window-bar em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.workflow-views {
  min-height: 514px;
}

.workflow-view {
  min-height: 514px;
  padding: 34px;
  animation: workflow-view-in 240ms ease both;
}

.workflow-view[hidden] {
  display: none;
}

@keyframes workflow-view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.surface-map {
  position: relative;
  min-height: 442px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(47, 144, 199, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 144, 199, 0.06) 1px, transparent 1px),
    #f9fbfa;
  background-size: 28px 28px;
}

.surface-root {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 22px auto 0;
  padding: 14px 18px;
  border: 1px solid #bfd7cd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(19, 80, 60, 0.08);
}

.surface-root > svg {
  width: 22px;
  color: var(--green);
}

.surface-root strong,
.surface-root small,
.surface-branches strong,
.surface-branches small,
.surface-signal strong,
.surface-signal small {
  display: block;
}

.surface-root strong,
.surface-branches strong,
.surface-signal strong {
  font-weight: 600;
}

.surface-root small,
.surface-branches small,
.surface-signal small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.surface-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 72px;
}

.surface-branches::before {
  content: "";
  position: absolute;
  top: -37px;
  left: 16.7%;
  width: 66.6%;
  height: 37px;
  border-top: 1px solid #b8d1c7;
  border-left: 1px solid #b8d1c7;
  border-right: 1px solid #b8d1c7;
}

.surface-branches article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.surface-branches svg {
  width: 18px;
  color: var(--blue);
}

.surface-signal {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 50px;
  padding: 15px 16px;
  border: 1px solid rgba(47, 144, 199, 0.24);
  border-radius: 8px;
  background: #ffffff;
}

.surface-signal p {
  margin: 0;
}

.surface-signal em {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.signal-pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(47, 144, 199, 0.12);
}

.explore-model {
  min-height: 442px;
}

.session-strip,
.validation-head,
.evidence-sample-head,
.operations-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.session-strip {
  padding: 14px 16px;
  border-radius: 8px;
  background: #eef7f3;
  color: var(--green);
  font-size: 12px;
}

.session-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.session-state svg {
  width: 17px;
}

.session-domain {
  color: var(--muted);
}

.route-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 28px 0 0 18px;
}

.route-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 6px;
  width: 1px;
  background: #d5e2dd;
}

.route-timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 12px 0;
}

.route-timeline article > span {
  width: 13px;
  height: 13px;
  border: 2px solid #c1d1cb;
  border-radius: 999px;
  background: #ffffff;
}

.route-timeline article.complete > span {
  border-color: var(--green-2);
  background: var(--green-2);
}

.route-timeline article.active > span {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(47, 144, 199, 0.1);
}

.route-timeline strong,
.route-timeline small {
  display: block;
}

.route-timeline strong {
  font-size: 15px;
  font-weight: 600;
}

.route-timeline small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.route-timeline em {
  color: #7d8d87;
  font-size: 11px;
  font-style: normal;
}

.validation-model {
  min-height: 442px;
}

.validation-head {
  padding: 13px 15px;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  background: #f8faf9;
}

.validation-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}

.validation-head svg {
  width: 18px;
  color: var(--green);
}

.validation-head em {
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

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

.validation-columns article {
  min-height: 218px;
  padding: 22px;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  background: #fbfcfc;
}

.validation-columns article.validation-alert {
  border-color: rgba(207, 63, 59, 0.3);
  background: #fffafa;
}

.validation-columns span,
.validation-columns strong,
.validation-columns code {
  display: block;
}

.validation-columns span {
  color: var(--muted);
  font-size: 11px;
}

.validation-columns strong {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 600;
}

.validation-columns code {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 12px;
}

.validation-columns p {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.validation-columns p em {
  margin-right: 7px;
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.validation-verdict,
.evidence-decision,
.operations-audit {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 8px;
}

.validation-verdict {
  background: #eaf7f1;
  color: var(--green);
}

.validation-verdict svg,
.evidence-decision svg,
.operations-audit svg {
  width: 20px;
  flex: 0 0 auto;
}

.validation-verdict strong,
.validation-verdict small,
.evidence-decision strong,
.evidence-decision small,
.operations-audit strong,
.operations-audit small {
  display: block;
}

.validation-verdict strong,
.evidence-decision strong,
.operations-audit strong {
  font-size: 12px;
  font-weight: 600;
}

.validation-verdict small,
.evidence-decision small,
.operations-audit small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.report-model {
  min-height: 442px;
  padding: 4px;
}

.report-model-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e1ebe6;
}

.report-model-head > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.severity-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(207, 63, 59, 0.1);
}

.report-model-head p {
  margin: 0;
}

.report-model-head strong,
.report-model-head small {
  display: block;
}

.report-model-head strong {
  font-size: 16px;
  font-weight: 600;
}

.report-model-head small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.report-model-head > em {
  padding: 6px 9px;
  border-radius: 999px;
  background: #ffe9e9;
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.report-model dl {
  margin: 22px 0 0;
}

.report-model dl > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e7eeeb;
}

.report-model dt {
  color: var(--muted);
  font-size: 11px;
}

.report-model dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.55;
}

.report-poc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 15px 16px;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  background: #f7faf8;
}

.report-poc-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-2);
  font-size: 12px;
}

.report-poc-row svg {
  width: 17px;
  color: var(--blue);
}

.report-poc-row button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #bcd4ca;
  border-radius: 7px;
  background: #ffffff;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.capability-section {
  background: #ffffff;
}

.capability-stack {
  display: grid;
  gap: 150px;
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  gap: 88px;
  align-items: center;
}

.capability-row.reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.capability-row.reverse .capability-copy {
  order: 2;
}

.capability-copy > p {
  max-width: 510px;
}

.capability-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--ink-2);
  list-style: none;
}

.capability-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.capability-list svg {
  width: 17px;
  margin-top: 2px;
  color: var(--green-2);
  stroke-width: 2;
}

.capability-visual {
  overflow: hidden;
}

.capability-browser-bar {
  grid-template-columns: repeat(3, 9px) minmax(0, 1fr);
}

.browser-capability-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 390px;
}

.browser-capability-body aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 18px;
  border-right: 1px solid #e2ebe7;
  background: #f7faf8;
}

.browser-capability-body aside strong {
  margin: 0 8px 18px;
  font-size: 13px;
  font-weight: 600;
}

.browser-capability-body aside span {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}

.browser-capability-body aside span.active {
  background: #e8f3ef;
  color: var(--green);
  font-weight: 600;
}

.browser-capability-main {
  padding: 30px;
}

.capture-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.capture-status svg {
  width: 19px;
}

.capture-status strong,
.capture-status small {
  display: block;
}

.capture-status strong {
  font-size: 12px;
  font-weight: 600;
}

.capture-status small {
  margin-top: 3px;
  color: #507c91;
  font-size: 10px;
}

.captured-route {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  padding: 19px 4px;
  border-bottom: 1px solid #e4ece8;
  font-size: 11px;
}

.captured-route > span {
  color: var(--green);
  font-weight: 600;
}

.captured-route code {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.captured-route em {
  color: var(--muted);
  font-style: normal;
}

.evidence-capability {
  min-height: 430px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(232, 246, 251, 0.66), transparent 48%),
    #ffffff;
}

.evidence-sample-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #dce8e3;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.evidence-sample-head em {
  color: var(--blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.evidence-sample-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid #e4ece8;
}

.evidence-sample-row > span {
  color: var(--muted);
  font-size: 11px;
}

.evidence-sample-row code {
  font-size: 12px;
}

.evidence-sample-row em {
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.evidence-sample-row.muted-row em {
  color: var(--muted);
}

.evidence-decision {
  margin-top: 28px;
  background: #f1f5f3;
  color: #64766f;
}

.evidence-band {
  position: relative;
  color: #f5fbf8;
  background:
    linear-gradient(120deg, rgba(47, 144, 199, 0.16), transparent 42%),
    #11231e;
}

.evidence-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, transparent);
}

.evidence-band .home-section-inner {
  position: relative;
  z-index: 1;
}

.evidence-band .home-kicker {
  color: #77d3f2;
}

.evidence-band-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.65fr);
  gap: 88px;
  align-items: end;
}

.evidence-band-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.05;
}

.evidence-band-heading > p {
  margin: 0;
  color: #afc1ba;
  font-size: 16px;
  line-height: 1.7;
}

.evidence-standard-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: center;
  margin-top: 76px;
}

.evidence-gates {
  display: grid;
}

.evidence-gates article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-gates article > span {
  color: #77d3f2;
  font-size: 11px;
}

.evidence-gates strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.evidence-gates p {
  margin: 7px 0 0;
  color: #9eb1aa;
  font-size: 12px;
  line-height: 1.55;
}

.proof-console {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(4, 13, 11, 0.72);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.proof-console-head,
.proof-console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 0 18px;
}

.proof-console-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-console-head > span {
  color: #cfddd8;
  font-size: 11px;
}

.proof-console-head > div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8ca49c;
  font-size: 10px;
}

.proof-console-head svg,
.proof-console-foot svg {
  width: 14px;
}

.proof-console pre {
  min-height: 326px;
  margin: 0;
  padding: 32px;
  overflow: auto;
  color: #e7f0ed;
  font-size: 13px;
  line-height: 1.8;
}

.proof-console > pre:not(.proof-console-blur-copy) {
  -webkit-mask-image: radial-gradient(
    ellipse 85% 70% at 2% 2%,
    #000 0 67%,
    rgba(0, 0, 0, 0.78) 75%,
    transparent 85%
  );
  mask-image: radial-gradient(
    ellipse 85% 70% at 2% 2%,
    #000 0 67%,
    rgba(0, 0, 0, 0.78) 75%,
    transparent 85%
  );
}

.proof-console .proof-console-blur-copy {
  position: absolute;
  z-index: 2;
  inset: 55px 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(15px);
  opacity: 1;
  -webkit-mask-image: radial-gradient(
    ellipse 85% 70% at 2% 2%,
    transparent 0 64%,
    rgba(0, 0, 0, 0.42) 75%,
    #000 87%
  );
  mask-image: radial-gradient(
    ellipse 85% 70% at 2% 2%,
    transparent 0 64%,
    rgba(0, 0, 0, 0.42) 75%,
    #000 87%
  );
}

.proof-console code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.code-muted {
  color: #9eb1aa;
}

.code-sky {
  color: #77d3f2;
}

.code-string {
  color: #8cd7b9;
}

.code-number {
  color: #f3c777;
}

.proof-console-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9eb1aa;
  font-size: 10px;
}

.proof-console-foot > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8cd7b9;
}

.proof-console-foot em {
  font-style: normal;
}

.operations-section {
  background:
    linear-gradient(135deg, rgba(232, 246, 251, 0.52), transparent 50%),
    #f8faf9;
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
  align-items: center;
}

.operations-copy > p {
  max-width: 500px;
}

.operations-list {
  display: grid;
  margin-top: 34px;
}

.operations-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #dce8e3;
}

.operations-list svg {
  width: 19px;
  color: var(--blue);
  stroke-width: 1.7;
}

.operations-list strong,
.operations-list span {
  display: block;
}

.operations-list strong {
  font-size: 14px;
  font-weight: 600;
}

.operations-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.operations-console {
  min-width: 0;
  overflow: hidden;
}

.operations-console-head {
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid #e1eae6;
}

.operations-console-head > span {
  font-size: 13px;
  font-weight: 600;
}

.operations-console-head em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 10px;
  font-style: normal;
}

.operations-console-head svg {
  width: 14px;
}

.operations-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #e1eae6;
}

.operations-metrics article {
  padding: 22px;
  border-right: 1px solid #e1eae6;
}

.operations-metrics article:last-child {
  border-right: 0;
}

.operations-metrics span,
.operations-metrics strong,
.operations-metrics small {
  display: block;
}

.operations-metrics span {
  color: var(--muted);
  font-size: 10px;
}

.operations-metrics strong {
  margin-top: 12px;
  font-size: 32px;
  font-weight: 400;
}

.operations-metrics small {
  margin-top: 4px;
  color: #91a19b;
  font-size: 9px;
}

.operations-timeline {
  padding: 10px 22px;
}

.operations-timeline article {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid #e5ece9;
}

.timeline-state {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #aebdb7;
}

.timeline-state.success {
  background: var(--green-2);
}

.timeline-state.active {
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(47, 144, 199, 0.1);
}

.operations-timeline strong,
.operations-timeline small {
  display: block;
}

.operations-timeline strong {
  font-size: 12px;
  font-weight: 600;
}

.operations-timeline small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.operations-timeline time {
  color: #8c9b95;
  font-size: 10px;
}

.operations-audit {
  margin: 16px 22px 22px;
  background: #edf6f2;
  color: var(--green);
}

.measurement-section {
  padding-top: 104px;
  padding-bottom: 104px;
  border-top: 1px solid #d9e7e1;
  border-bottom: 1px solid #d9e7e1;
  background: #eef8fb;
}

.measurement-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.62fr) minmax(0, 1.38fr);
  gap: 84px;
  align-items: start;
}

.measurement-layout h2 {
  font-size: 40px;
}

.measurement-heading > p:last-child {
  max-width: 430px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  white-space: nowrap;
}

.benchmark-chart {
  min-width: 0;
}

.benchmark-legend {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid rgba(47, 144, 199, 0.24);
  border-bottom: 1px solid rgba(47, 144, 199, 0.16);
}

.benchmark-legend-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #71857d;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: help;
}

.benchmark-legend-item b {
  font-weight: 500;
}

.benchmark-legend-item i,
.benchmark-point > i {
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid #eef8fb;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(47, 144, 199, 0.28);
}

.benchmark-legend-item.precision i,
.benchmark-point.precision > i {
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(16, 117, 88, 0.28);
}

.benchmark-legend-item.fpr i,
.benchmark-point.fpr > i {
  background: #d36d5f;
  box-shadow: 0 0 0 1px rgba(211, 109, 95, 0.3);
}

.benchmark-dot-plot {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid rgba(47, 144, 199, 0.24);
}

.benchmark-y-scale {
  position: relative;
  height: 310px;
  margin-bottom: 76px;
  border-right: 1px solid rgba(47, 144, 199, 0.22);
}

.benchmark-y-tick {
  position: absolute;
  top: var(--benchmark-y);
  right: 10px;
  color: #7b8d86;
  font-size: 10px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  transform: translateY(-50%);
}

.benchmark-plot-surface {
  position: relative;
  min-width: 0;
}

.benchmark-grid-layer {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 310px;
  pointer-events: none;
}

.benchmark-grid-line {
  position: absolute;
  top: var(--benchmark-y);
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(47, 144, 199, 0.13);
}

.benchmark-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--benchmark-column-count, 3), minmax(0, 1fr));
  min-width: 0;
}

.benchmark-column {
  min-width: 0;
}

.benchmark-column + .benchmark-column {
  border-left: 1px solid rgba(47, 144, 199, 0.1);
}

.benchmark-column-plot {
  position: relative;
  height: 310px;
}

.benchmark-point {
  position: absolute;
  top: 92%;
  left: 24%;
  transform: translate(-50%, -50%);
  transition: top 1350ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--benchmark-delay, 0ms);
  will-change: top;
}

.benchmark-chart.is-plotted .benchmark-point {
  top: var(--benchmark-target-y);
}

.benchmark-point.precision {
  left: 50%;
}

.benchmark-point.fpr {
  left: 76%;
}

.benchmark-point > i {
  width: 12px;
  height: 12px;
  border-width: 3px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.benchmark-point:hover > i {
  transform: scale(1.32);
  box-shadow: 0 0 0 5px rgba(47, 144, 199, 0.12);
}

.benchmark-point.precision:hover > i {
  box-shadow: 0 0 0 5px rgba(16, 117, 88, 0.12);
}

.benchmark-point.fpr:hover > i {
  box-shadow: 0 0 0 5px rgba(211, 109, 95, 0.13);
}

.benchmark-point b {
  position: absolute;
  bottom: 13px;
  left: 50%;
  padding: 1px 3px;
  color: var(--ink);
  background: #eef8fb;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translateX(-50%);
}

.benchmark-point.precision b {
  top: 13px;
  bottom: auto;
}

.benchmark-column-caption {
  min-height: 76px;
  padding: 16px 10px 0;
  border-top: 1px solid rgba(47, 144, 199, 0.18);
  text-align: center;
}

.benchmark-column-caption strong,
.benchmark-column-caption span {
  display: block;
}

.benchmark-column-caption strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.benchmark-column-caption span {
  margin-top: 6px;
  color: #73867f;
  font-size: 10px;
  font-weight: 400;
}

.benchmark-chart-status {
  margin: 0;
  padding: 32px 0;
  color: #71857d;
  font-size: 12px;
}

.home-cta {
  padding: 112px 28px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(47, 144, 199, 0.14), transparent 48%),
    #0f261f;
}

.home-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 80px;
  align-items: center;
}

.home-cta .home-kicker {
  color: #7fd3ef;
}

.home-cta h2 {
  color: #ffffff;
  font-size: 56px;
}

.home-cta p {
  max-width: 580px;
  color: #afc1ba;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.home-cta-primary,
.home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.home-cta-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #103529;
}

.home-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
}

.home-cta-primary:hover,
.home-cta-primary:focus-visible {
  background: #eaf7f1;
  outline: none;
}

.home-cta-secondary:hover,
.home-cta-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.home-cta-actions svg {
  width: 17px;
}

.cta-bird {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.cta-bird img {
  position: relative;
  z-index: 2;
  display: block;
  width: 188px;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.25));
}

.cta-bird > span {
  position: absolute;
  right: 4%;
  width: 78%;
  height: 1px;
  background: linear-gradient(90deg, rgba(121, 209, 239, 0.5), transparent);
}

.cta-bird > span:nth-of-type(1) {
  top: 34%;
}

.cta-bird > span:nth-of-type(2) {
  top: 50%;
  width: 94%;
}

.cta-bird > span:nth-of-type(3) {
  top: 66%;
  width: 62%;
}

.home-footer {
  padding: 38px 28px;
  border-top: 1px solid #dce8e3;
  background: #ffffff;
}

.home-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 34px;
  align-items: center;
}

.home-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.home-footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.home-footer-brand .brand-bird {
  width: 34px;
}

.home-footer-brand strong,
.home-footer-brand small {
  display: block;
}

.home-footer-brand strong {
  font-size: 15px;
  font-weight: 600;
}

.home-footer-brand small,
.home-footer p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.home-footer-contact {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin: 0;
  text-align: right;
}

.home-footer-contact span {
  color: #899892;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-footer-contact a {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms ease;
}

.home-footer-contact a:hover,
.home-footer-contact a:focus-visible {
  color: var(--green);
}

html.home-motion-ready [data-home-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

html.home-motion-ready [data-home-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.status-line.home-idle {
  display: none;
}

.status-line:not(.home-idle):not(.hidden) {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 45;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(203, 220, 214, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(22, 42, 33, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

@media (max-width: 1040px) {
  .problem-heading,
  .technical-heading,
  .workflow-heading,
  .workflow-layout,
  .capability-row,
  .capability-row.reverse,
  .evidence-band-heading,
  .evidence-standard-layout,
  .operations-layout,
  .measurement-layout,
  .home-cta-inner {
    grid-template-columns: 1fr;
  }

  .measurement-heading > p:last-child {
    white-space: normal;
  }

  .problem-heading .home-kicker {
    margin-bottom: 0;
  }

  .problem-heading,
  .technical-heading,
  .workflow-heading,
  .workflow-layout,
  .evidence-band-heading,
  .evidence-standard-layout,
  .operations-layout,
  .measurement-layout,
  .home-cta-inner {
    gap: 44px;
  }

  .workflow-heading > p {
    justify-self: start;
  }

  .technical-heading > p {
    justify-self: start;
  }

  .workflow-layout {
    align-items: stretch;
  }

  .workflow-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  .workflow-tab {
    grid-template-columns: 1fr;
    min-width: 164px;
    min-height: 112px;
    border-right: 1px solid #d6e3de;
    border-bottom: 0;
  }

  .workflow-tab::before {
    inset: auto 10px 0;
    width: auto;
    height: 2px;
  }

  .capability-row.reverse .capability-copy {
    order: initial;
  }

  .operations-console,
  .capability-visual,
  .workflow-product {
    width: 100%;
  }

  .home-cta-inner {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .home-footer-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

}

@media (max-width: 760px) {
  .home-section {
    padding: 82px 18px;
  }

  .home-section[id] {
    scroll-margin-top: 126px;
  }

  .status-line:not(.home-idle):not(.hidden) {
    top: 124px;
    max-width: calc(100% - 28px);
  }

  .home-section-heading h2,
  .technical-heading h2,
  .capability-copy h2,
  .operations-copy h2,
  .evidence-band-heading h2,
  .home-cta h2 {
    font-size: 38px;
  }

  .measurement-layout h2 {
    font-size: 34px;
  }

  .problem-grid,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .technical-grid {
    margin-top: 44px;
  }

  .technical-grid article {
    min-height: 280px;
  }

  .problem-grid {
    margin-top: 44px;
  }

  .problem-grid article {
    min-height: 288px;
  }

  .problem-grid h3 {
    margin-top: 38px;
  }

  .workflow-layout {
    margin-top: 46px;
  }

  .workflow-product,
  .workflow-views,
  .workflow-view {
    min-height: 0;
  }

  .workflow-view {
    padding: 18px;
  }

  .surface-map,
  .explore-model,
  .validation-model,
  .report-model {
    min-height: 420px;
  }

  .surface-branches,
  .validation-columns {
    grid-template-columns: 1fr;
  }

  .surface-branches {
    margin-top: 34px;
  }

  .surface-branches::before {
    display: none;
  }

  .surface-signal {
    margin-top: 20px;
  }

  .validation-columns article {
    min-height: 158px;
  }

  .validation-columns strong {
    margin-top: 20px;
  }

  .validation-columns p {
    margin-top: 24px;
  }

  .report-model dl > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .capability-stack {
    gap: 96px;
  }

  .capability-row {
    gap: 42px;
  }

  .browser-capability-body {
    grid-template-columns: 1fr;
  }

  .browser-capability-body aside {
    display: none;
  }

  .browser-capability-main,
  .evidence-capability {
    padding: 22px;
  }

  .evidence-sample-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .evidence-sample-row em {
    grid-column: 2;
  }

  .proof-console pre {
    min-height: 0;
    padding: 22px;
    font-size: 11px;
  }

  .operations-metrics {
    grid-template-columns: 1fr;
  }

  .operations-metrics article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #e1eae6;
  }

  .operations-metrics strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
  }

  .benchmark-legend {
    justify-content: flex-start;
    gap: 18px;
  }

  .benchmark-y-scale {
    height: 280px;
    margin-bottom: 76px;
  }

  .benchmark-grid-layer,
  .benchmark-column-plot {
    height: 280px;
  }

  .benchmark-column-caption {
    min-height: 76px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .benchmark-column-caption strong {
    font-size: 12px;
  }

  .benchmark-column-caption span {
    font-size: 9px;
    line-height: 1.45;
  }

  .benchmark-point {
    left: 20%;
  }

  .benchmark-point.precision {
    left: 50%;
  }

  .benchmark-point.fpr {
    left: 80%;
  }

  .benchmark-point b {
    font-size: 9px;
  }

  .benchmark-dot-plot {
    overflow-x: auto;
  }

  .benchmark-dot-plot:has(.benchmark-column:nth-child(4)) {
    grid-template-columns: 40px minmax(620px, 1fr);
  }

  .benchmark-dot-plot:has(.benchmark-column:nth-child(4)) .benchmark-y-scale {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--page);
  }

  .home-cta {
    padding: 82px 18px;
  }

  .home-cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-bird {
    min-height: 190px;
  }

  .cta-bird img {
    width: 142px;
  }

  .home-footer {
    padding: 30px 18px;
  }

  .home-footer-inner {
    grid-template-columns: 1fr;
  }

  .home-footer-copyright {
    display: none;
  }

  .home-footer-contact {
    display: grid;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .home-section-heading h2,
  .technical-heading h2,
  .capability-copy h2,
  .operations-copy h2,
  .evidence-band-heading h2,
  .home-cta h2 {
    font-size: 34px;
  }

  .workflow-tabs {
    grid-template-columns: repeat(4, 150px);
  }

  .product-window-bar {
    grid-template-columns: repeat(3, 8px) minmax(0, 1fr);
  }

  .product-window-bar em {
    display: none;
  }

  .surface-root {
    max-width: 100%;
  }

  .route-timeline {
    margin-left: 4px;
  }

  .report-model-head,
  .report-poc-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Product-preview report language, applied to the complete customer report. */
.results {
  width: min(100%, 1440px);
  padding: 24px 28px 96px;
}

.report-shell {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.report-sidebar {
  top: 94px;
  gap: 12px;
  padding: 12px;
  border-color: rgba(211, 224, 218, 0.92);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.report-context {
  gap: 5px;
  padding: 7px 7px 13px;
}

.report-context .eyebrow {
  font-size: 10px;
  font-weight: 600;
}

.report-context h2 {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.report-context small {
  font-size: 10px;
  line-height: 1.45;
}

.report-nav {
  gap: 3px;
}

.report-nav .nav-heading {
  margin: 14px 8px 4px;
  font-size: 10px;
  font-weight: 600;
}

.report-nav .nav-item {
  min-height: 38px;
  gap: 9px;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 500;
}

.report-nav .nav-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

.report-nav .nav-item:hover {
  border-color: transparent;
  background: rgba(241, 247, 244, 0.72);
}

.report-nav .nav-item.active {
  border-color: var(--line);
  background: #f4f8f6;
  box-shadow: inset 2px 0 0 rgba(47, 144, 199, 0.68);
  color: var(--green);
  font-weight: 650;
}

.report-content {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(211, 224, 218, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 72px rgba(26, 58, 47, 0.09);
}

.report-window-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 252, 251, 0.92);
}

.report-window-dots {
  display: flex;
  gap: 7px;
}

.report-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d4dfda;
}

.report-window-address {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f0f5f3;
  color: var(--muted);
}

.report-window-address span,
.report-window-address small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-window-address span {
  flex: 0 1 auto;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}

.report-window-address small {
  min-width: 0;
  font-size: 10px;
  font-weight: 400;
}

.report-window-status {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.report-content > .rapid-report-progress {
  margin: 16px 26px 0;
}

.report-content .report-page {
  padding: 30px 36px 40px;
}

.report-page > .section-header:first-child {
  margin-bottom: 20px;
}

.report-content .report-page .section {
  padding: 24px 0;
}

.report-content .section-offset {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.report-content .section-offset > .section-header {
  margin-bottom: 14px;
}

.report-content .section-header {
  align-items: center;
  gap: 18px;
}

.report-content .section-title h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

.report-content .section-title p {
  margin-top: 5px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.55;
}

.report-content .meta-pill {
  padding: 6px 10px;
  background: #f8faf9;
  font-size: 10px;
  font-weight: 600;
}

.report-overview-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 186px;
  padding: 24px 8px 24px;
}

.report-score-copy p,
.report-score-copy strong,
.report-score-copy span {
  display: block;
}

.report-score-copy p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.report-score-copy strong {
  color: var(--ink);
  font-size: 66px;
  font-weight: 400;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.report-score-copy span {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.report-score-ring {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 0 56%, transparent 57%),
    conic-gradient(var(--report-score-color) 0 var(--report-score), #e7efeb var(--report-score) 100%);
}

.report-score-ring span {
  color: var(--report-score-color);
  font-size: 14px;
  font-weight: 700;
}

.report-key-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.report-key-metrics article {
  min-width: 0;
  min-height: 78px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.report-key-metrics span,
.report-key-metrics strong {
  display: block;
}

.continuous-monitoring {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.continuous-monitoring-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.continuous-monitoring-head > div:first-child > span,
.continuous-monitoring-head > div:first-child > small {
  display: block;
}

.continuous-monitoring-head > div:first-child > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.continuous-monitoring-head > div:first-child > small {
  margin-top: 3px;
  max-width: 340px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.continuous-monitoring-counts {
  display: flex;
  align-items: center;
  gap: 15px;
}

.monitoring-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.monitoring-metric b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.monitoring-metric.regression b { color: var(--red); }
.monitoring-metric.new b { color: var(--orange); }
.monitoring-metric.fixed b { color: var(--green); }

.asset-monitoring {
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.asset-monitoring.compact {
  margin-top: 0;
  border-top: 0;
}

.asset-monitoring-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.asset-monitoring-head > div:first-child > span,
.asset-monitoring-head > div:first-child > small {
  display: block;
}

.asset-monitoring-head > div:first-child > span {
  font-size: 12px;
  font-weight: 600;
}

.asset-monitoring-head > div:first-child > small {
  margin-top: 3px;
  max-width: 340px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-monitoring-counts {
  display: flex;
  align-items: center;
  gap: 14px;
}

.asset-monitoring-counts .changed b { color: var(--brand); }
.asset-monitoring-counts .removed b { color: var(--green); }
.asset-monitoring-counts .not-observed b { color: var(--muted); }

.asset-event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.asset-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(252, 253, 252, 0.96);
}

.asset-event > span {
  padding: 3px 6px;
  border-radius: 999px;
  background: #f1f7f4;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.asset-event.new > span { background: #fff3d8; color: var(--orange); }
.asset-event.changed > span { background: var(--blue-soft); color: var(--brand); }

.asset-event strong,
.asset-event small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-event strong { font-size: 11px; font-weight: 550; }
.asset-event small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.asset-monitoring-empty,
.asset-monitoring-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; }

.monitoring-fixed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 228, 223, 0.76);
}

.monitoring-fixed-list span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 340px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-fixed-list svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--green-2);
}

.monitoring-closure-note {
  margin: 10px 0 0;
  color: var(--orange);
  font-size: 10px;
  font-weight: 400;
}

.tag.monitoring-state.new {
  border-color: rgba(196, 123, 21, 0.25);
  background: #fff8ea;
  color: var(--orange);
}

.tag.monitoring-state.regression {
  border-color: rgba(207, 63, 59, 0.22);
  background: #fff0f0;
  color: var(--red);
}

.tag.monitoring-state.fixed {
  color: var(--green);
}

.report-key-metrics span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-key-metrics strong {
  margin-top: 7px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.report-content .sample-report-notice {
  margin-bottom: 0;
  padding: 11px 13px;
  background: rgba(244, 249, 247, 0.68);
}

.report-content .sample-evidence-grid {
  margin: 16px 0 0;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-content .sample-evidence-metric {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 12px 13px;
}

.report-content .sample-evidence-metric:last-child {
  border-right: 0;
}

.report-content .sample-evidence-metric strong {
  font-size: 18px;
  font-weight: 600;
}

.report-severity-grid {
  margin-top: 14px;
}

.report-content .metric,
.report-content .data-card,
.report-content .finding-card,
.report-content .record-card,
.report-content .table-wrap {
  border-color: rgba(215, 228, 223, 0.94);
  background: #ffffff;
  box-shadow: none;
}

.report-content .metric {
  position: relative;
  min-height: 82px;
  padding: 13px 14px;
}

.report-content .metric::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #aab8b2;
}

.report-content .metric:nth-child(1)::before { background: var(--red); }
.report-content .metric:nth-child(2)::before { background: var(--orange); }
.report-content .metric:nth-child(3)::before { background: var(--blue); }
.report-content .metric:nth-child(4)::before { background: var(--green-2); }

.report-content .metric .label {
  font-size: 11px;
  font-weight: 500;
}

.report-content .metric .value {
  margin-top: 5px;
  font-size: 24px;
  font-weight: 600;
}

.report-content .metric .hint {
  margin-top: 2px;
  font-size: 10px;
}

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

.report-content .data-card,
.report-content .record-card {
  align-content: start;
  padding: 15px 16px;
}

.report-content .vuln-overview-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.report-content .vuln-overview-grid > .record-card:last-child .kv-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.report-content .data-card h3,
.report-content .record-card h3 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.report-content .kv-list {
  gap: 9px;
}

.report-content .kv {
  grid-template-columns: 112px minmax(0, 1fr);
  font-size: 12px;
}

.report-content .record-card .mono {
  font-weight: 500;
}

.report-content .tag-list {
  gap: 5px;
}

.report-content .tag {
  min-height: 22px;
  padding: 3px 7px;
  background: #f7faf8;
  font-size: 10px;
  font-weight: 500;
}

.report-content .finding-list {
  gap: 8px;
}

.report-content .finding-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 15px 16px;
  background: rgba(252, 253, 252, 0.96);
}

.report-content .finding-card > div {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.report-content .finding-card > .severity {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.report-content .finding-card h3 {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.report-content .finding-card p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.report-content .finding-card .remediation {
  padding-top: 8px;
  border-top: 1px solid rgba(220, 232, 227, 0.78);
}

.finding-fix-packet {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr) minmax(0, 0.9fr);
  gap: 0 16px;
  margin: 12px 0 0;
  border-top: 1px solid rgba(220, 232, 227, 0.78);
}

.finding-fix-packet > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(220, 232, 227, 0.62);
}

.finding-fix-packet dt {
  color: var(--muted-2);
  font-size: 9px;
}

.finding-fix-packet dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink-2);
  font-size: 10px;
}

.finding-fix-packet code {
  margin-left: 6px;
  color: var(--ink-2);
  font-size: 9px;
}

.finding-method {
  color: var(--green);
  font-size: 9px;
  font-weight: 650;
}

.report-content .finding-card .finding-impact {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink-2);
}

.finding-impact > span {
  color: var(--muted-2);
  font-size: 9px;
}

.report-content .severity {
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 650;
}

.report-content .table-wrap {
  border-radius: 8px;
}

.report-content th {
  background: #f7faf8;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.report-content td {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.report-content th,
.report-content td {
  padding: 10px 11px;
}

.report-content tbody tr:hover td {
  background: rgba(244, 249, 247, 0.62);
}

.report-content .safe-proof-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.report-content .empty-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .report-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .report-sidebar {
    padding: 10px;
  }

  .report-context {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 12px;
  }

  .report-context .eyebrow {
    grid-row: 1 / 3;
  }

  .report-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .report-nav .nav-item {
    flex: 0 0 auto;
    min-width: 108px;
  }

  .report-content .report-page {
    padding: 26px 26px 34px;
  }
}

@media (max-width: 760px) {
  .results {
    padding: 14px 12px 52px;
  }

  .report-sidebar {
    gap: 8px;
  }

  .report-context {
    padding: 4px 5px 9px;
  }

  .report-context .eyebrow,
  .report-context small {
    display: none;
  }

  .report-context h2 {
    font-size: 14px;
  }

  .report-window-bar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 54px;
    padding: 9px 11px;
  }

  .report-window-status,
  .report-window-address small {
    display: none;
  }

  .report-window-address {
    min-height: 34px;
    padding: 0 11px;
  }

  .report-window-address span {
    font-size: 11px;
  }

  .report-content > .rapid-report-progress {
    margin: 12px 13px 0;
  }

  .report-content .report-page {
    padding: 20px 16px 26px;
  }

  .report-content .section-title h2 {
    font-size: 21px;
  }

  .report-content .section-title p {
    font-size: 12px;
  }

  .report-overview-hero {
    min-height: 150px;
    padding: 18px 3px;
  }

  .report-score-copy strong {
    font-size: 54px;
  }

  .report-score-copy span {
    max-width: 190px;
    font-size: 10px;
    line-height: 1.45;
  }

  .report-score-ring {
    width: 104px;
    height: 104px;
  }

  .report-key-metrics,
  .report-severity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .continuous-monitoring-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .continuous-monitoring-counts {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .asset-monitoring-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .asset-monitoring-counts {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }

  .asset-event-list,
  .finding-fix-packet {
    grid-template-columns: 1fr;
  }

  .report-content .sample-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-content .sample-evidence-metric {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .report-content .sample-evidence-metric:nth-child(2n) {
    border-right: 0;
  }

  .report-content .sample-evidence-metric:last-child {
    border-bottom: 0;
  }

  .overview-detail-grid {
    grid-template-columns: 1fr;
  }

  .report-content .grid-2,
  .report-content .grid-3 {
    grid-template-columns: 1fr;
  }

  .report-content .finding-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px;
  }

  .report-content .finding-card > div {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .report-content .finding-card > .severity {
    grid-column: 2;
    grid-row: 1;
  }

  .report-content .finding-card::before {
    content: "Finding";
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 500;
  }

  .report-content .kv {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 9px;
  }

  .report-content .vuln-overview-grid > .record-card:last-child .kv-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .problem-grid article,
  .workflow-view,
  .benchmark-point,
  html.home-motion-ready [data-home-reveal] {
    transition: none;
    animation: none;
    transform: none;
  }
}
