/* MSCAN shared visual system: dashboard, reports, forms and navigation. */
:root {
  color-scheme: dark;
  --blue: #c6ff00;
  --blue-deep: #dbff65;
  --brand-ink: #111900;
  --brand-soft: rgba(198, 255, 0, 0.09);
  --brand-line: rgba(198, 255, 0, 0.32);
  --ink: #f5f7fa;
  --muted: #a9b3c0;
  --dim: #8090a3;
  --line: rgba(230, 237, 245, 0.11);
  --line-strong: rgba(230, 237, 245, 0.2);
  --canvas: #080b10;
  --surface: #0f151d;
  --surface-soft: #121a24;
  --surface-high: #17212d;
  --green: #57d9a3;
  --green-soft: rgba(87, 217, 163, 0.1);
  --amber: #f5bd62;
  --amber-soft: rgba(245, 189, 98, 0.1);
  --red: #ff8493;
  --red-soft: rgba(255, 132, 147, 0.1);
  --purple: #b49af4;
  --chart-secondary: #93a4b9;
  --radius: 22px;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  /* Keep the bundled Hope UI / Bootstrap primitives on the same palette. */
  --bs-blue: var(--blue);
  --bs-primary: var(--blue);
  --bs-primary-rgb: 198, 255, 0;
  --bs-secondary: var(--muted);
  --bs-secondary-rgb: 169, 179, 192;
  --bs-success: var(--green);
  --bs-success-rgb: 87, 217, 163;
  --bs-info: var(--chart-secondary);
  --bs-info-rgb: 147, 164, 185;
  --bs-warning: var(--amber);
  --bs-warning-rgb: 245, 189, 98;
  --bs-danger: var(--red);
  --bs-danger-rgb: 255, 132, 147;
  --bs-light: var(--surface-high);
  --bs-dark: var(--canvas);
  --bs-body-color: var(--ink);
  --bs-body-color-rgb: 245, 247, 250;
  --bs-body-bg: var(--canvas);
  --bs-body-bg-rgb: 8, 11, 16;
  --bs-border-color: var(--line);
  --bs-border-color-translucent: var(--line);
  --bs-link-color: var(--blue);
  --bs-link-hover-color: var(--blue-deep);
  --bs-code-color: var(--ink);
  --bs-highlight-bg: var(--brand-soft);

}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--canvas);
}
::-webkit-scrollbar-thumb {
  background: #526071;
}
::-webkit-scrollbar-track {
  background: var(--canvas);
}
body {
  margin: 0;
  font-family: Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  min-width: 320px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.045em;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 18px;
}
p {
  color: var(--muted);
}
a {
  color: var(--blue);
  text-decoration: none;
}
::selection {
  background: var(--blue);
  color: var(--brand-ink);
}
a:hover {
  color: var(--blue-deep);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
:focus-visible {
  outline: 3px solid var(--blue) !important;
  outline-offset: 3px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
code,
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: inherit;
}
code {
  background: var(--surface-soft);
  padding: 3px 6px;
  border-radius: 5px;
}
small,
.small {
  font-size: 12px;
}
hr {
  background: var(--line);
  opacity: 1;
}
svg.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm {
  width: 16px !important;
  height: 16px !important;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.brand img {
  width: 132px;
  height: auto;
  display: block;
  max-width: 100%;
  flex-shrink: 0;
}
.brand-product {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 7px;
  border: 1px solid var(--brand-line);
  border-radius: 7px;
  color: var(--blue);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
}
.brand span em {
  font-size: 12px;
  font-style: normal;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 5px;
}
.btn {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-high);
  --bs-btn-hover-border-color: var(--line-strong);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--surface-high);
  --bs-btn-active-border-color: var(--line-strong);
  --bs-btn-disabled-color: var(--muted);
  --bs-btn-disabled-bg: var(--surface-soft);
  --bs-btn-disabled-border-color: var(--line);
  --bs-btn-focus-shadow-rgb: 198, 255, 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  min-height: 46px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.4;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled:hover {
  transform: none;
  box-shadow: none;
}
.btn-white:hover {
  background: var(--blue-deep);
  color: var(--brand-ink);
}
.btn-danger:hover {
  background: rgba(255, 132, 147, 0.16);
  color: var(--red);
}
.btn-primary {
  --bs-btn-color: var(--brand-ink);
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-color: var(--brand-ink);
  --bs-btn-hover-bg: var(--blue-deep);
  --bs-btn-hover-border-color: var(--blue);
  --bs-btn-active-color: var(--brand-ink);
  --bs-btn-active-bg: var(--blue-deep);
  --bs-btn-active-border-color: var(--blue);
  --bs-btn-disabled-color: var(--brand-ink);
  --bs-btn-disabled-bg: var(--blue);
  --bs-btn-disabled-border-color: var(--blue);
  background: var(--blue);
  color: var(--brand-ink);
  box-shadow: none;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-deep);
  color: var(--brand-ink);
  border-color: var(--blue-deep);
  box-shadow: 0 8px 24px rgba(198, 255, 0, 0.14);
}
.btn-secondary {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--surface-soft);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-high);
  --bs-btn-hover-border-color: var(--line);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--surface-high);
  --bs-btn-active-border-color: var(--line);
  --bs-btn-disabled-color: var(--ink);
  --bs-btn-disabled-bg: var(--surface-soft);
  --bs-btn-disabled-border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: var(--surface-high);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-soft {
  --bs-btn-color: var(--blue);
  --bs-btn-bg: var(--brand-soft);
  --bs-btn-border-color: var(--brand-line);
  --bs-btn-hover-color: var(--blue);
  --bs-btn-hover-bg: var(--brand-soft);
  --bs-btn-hover-border-color: var(--brand-line);
  --bs-btn-active-color: var(--blue);
  --bs-btn-active-bg: var(--brand-soft);
  --bs-btn-active-border-color: var(--brand-line);
  --bs-btn-disabled-color: var(--blue);
  --bs-btn-disabled-bg: var(--brand-soft);
  --bs-btn-disabled-border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--blue);
  border-color: var(--brand-line);
}
.btn-soft:hover {
  background: rgba(198, 255, 0, 0.15);
}
.btn-white {
  --bs-btn-color: var(--brand-ink);
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-color: var(--brand-ink);
  --bs-btn-hover-bg: var(--blue-deep);
  --bs-btn-hover-border-color: var(--blue);
  --bs-btn-active-color: var(--brand-ink);
  --bs-btn-active-bg: var(--blue-deep);
  --bs-btn-active-border-color: var(--blue);
  --bs-btn-disabled-color: var(--brand-ink);
  --bs-btn-disabled-bg: var(--blue);
  --bs-btn-disabled-border-color: var(--blue);
  background: var(--blue);
  color: var(--brand-ink);
  border-color: var(--blue);
}
.btn-danger {
  --bs-btn-color: var(--red);
  --bs-btn-bg: var(--red-soft);
  --bs-btn-border-color: rgba(255, 132, 147, 0.2);
  --bs-btn-hover-color: var(--red);
  --bs-btn-hover-bg: var(--red-soft);
  --bs-btn-hover-border-color: rgba(255, 132, 147, 0.2);
  --bs-btn-active-color: var(--red);
  --bs-btn-active-bg: var(--red-soft);
  --bs-btn-active-border-color: rgba(255, 132, 147, 0.2);
  --bs-btn-disabled-color: var(--red);
  --bs-btn-disabled-bg: var(--red-soft);
  --bs-btn-disabled-border-color: rgba(255, 132, 147, 0.2);
  color: var(--red);
  background: var(--red-soft);
  border-color: rgba(255, 132, 147, 0.2);
}
.btn-sm {
  padding: 7px 11px;
  min-height: 34px;
  font-size: 12px;
}
.btn-link {
  padding: 0;
  background: none;
  color: var(--blue);
  min-height: 28px;
}
.icon-button {
  width: 38px;
  height: 38px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 11px;
  color: var(--muted);
}
.icon-button:hover {
  color: var(--blue);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
.muted {
  color: var(--muted);
}
.text-blue {
  color: var(--blue);
}
.text-green {
  color: var(--green);
}
.text-amber {
  color: var(--amber);
}
.text-red {
  color: var(--red);
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  --bs-card-color: var(--ink);
  --bs-card-bg: var(--surface);
  --bs-card-cap-color: var(--ink);
  --bs-card-cap-bg: var(--surface);
  --bs-card-border-color: var(--line);
  --bs-card-border-radius: var(--radius);
  --bs-card-inner-border-radius: calc(var(--radius) - 1px);
  --bs-card-box-shadow: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  padding: 26px;
  margin-bottom: 0;
  min-width: 0;
}
.card.between {
  flex-direction: row;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 24px;
  margin: 0;
  background: transparent;
  border: none;
}
.card-header h2,
.card-header h3 {
  margin: 0;
}
.card-header p {
  margin: 4px 0 0;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
}
.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.badge-blue {
  color: var(--blue);
  background: var(--brand-soft);
}
.badge-green {
  color: var(--green);
  background: var(--green-soft);
}
.badge-amber {
  color: var(--amber);
  background: var(--amber-soft);
}
.badge-red {
  color: var(--red);
  background: var(--red-soft);
}
.badge-gray {
  color: var(--muted);
  background: var(--surface-high);
}
.notice {
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 14px 17px;
  font-size: 12px;
  line-height: 1.65;
  border-color: var(--line-strong);
}
.notice-amber {
  background: var(--amber-soft);
  border-color: rgba(245, 189, 98, 0.22);
  color: var(--amber);
}
.notice-red {
  background: var(--red-soft);
  border-color: rgba(255, 132, 147, 0.24);
  color: var(--red);
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice[hidden] {
  display: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 19px;
}
.field label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 650;
}
.input,
select.input,
textarea.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  min-height: 48px;
  box-shadow: none;
  border-color: var(--line-strong);
}
.input::placeholder {
  color: var(--dim);
}
.input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.08);
}
.input:disabled,
.input[readonly] {
  background: var(--surface-soft);
  color: var(--muted);
}
.input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.input option {
  background: var(--surface-soft);
  color: var(--ink);
}
.input:-webkit-autofill,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-soft) inset;
  caret-color: var(--ink);
}
.field small {
  color: var(--muted);
  font-size: 12px;
}
.input-group {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.input-group .input {
  min-width: 0;
}
.error-text {
  color: var(--red);
  font-size: 12px;
  margin: 8px 0 0;
}
.table-wrap {
  overflow: auto;
  margin: 0 -26px;
}
.table {
  --bs-table-color: var(--ink);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--line);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--ink);
  --bs-table-striped-bg: rgba(230, 237, 245, 0.025);
  --bs-table-active-color: var(--ink);
  --bs-table-active-bg: var(--surface-high);
  --bs-table-hover-color: var(--ink);
  --bs-table-hover-bg: var(--surface-soft);
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
}
.table th {
  background: var(--surface-soft);
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table tbody tr td {
  color: var(--ink);
}
.table thead tr {
  background: var(--surface-soft);
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.table tbody tr:hover {
  background: rgba(230, 237, 245, 0.025);
}
.table .address-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.table td small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.empty {
  padding: 42px 20px;
  text-align: center;
  color: var(--muted);
}
.empty .empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 17px;
}
.empty h3 {
  font-size: 17px;
  margin-bottom: 7px;
}
.empty p {
  font-size: 12px;
  max-width: 390px;
  margin: 0 auto 20px;
}
.page-title {
  margin-bottom: 28px;
}
.page-title h1 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: -0.045em;
}
.page-title p {
  font-size: 13px;
  margin: 0;
}
.metric-label {
  font-size: 12px;
  color: var(--muted);
}
.metric-value {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 760;
  margin: 14px 0 10px;
  color: var(--ink);
}
.metric-foot {
  font-size: 11px;
  color: var(--muted);
}
.metric-icon {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--blue);
}
.metric-icon.green {
  color: var(--green);
  background: var(--green-soft);
}
.metric-icon.amber {
  color: var(--amber);
  background: var(--amber-soft);
}
.metric-icon.purple {
  color: var(--purple);
  background: rgba(180, 154, 244, 0.1);
}
.progress-track {
  height: 6px;
  background: var(--surface-high);
  border-radius: 10px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  background: var(--blue);
  height: 100%;
  border-radius: 10px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-high);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  z-index: 100;
  font-size: 13px;
  max-width: 90vw;
  border: 1px solid var(--line-strong);
}
.loading-box {
  padding: 65px;
  text-align: center;
  color: var(--muted);
}
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.loading-box .spinner {
  display: block;
  margin: 0 auto 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  padding: 10px 16px;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--blue);
}
.skip-link:focus {
  top: 12px;
}
.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;
}
/* Landing */
.landing {
  background: var(--surface);
}
.site-header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 16, 0.86);
  display: flex;
  align-items: center;
}
.site-container {
  max-width: 1180px;
  margin: auto;
  padding: 0 32px;
  width: 100%;
}
.site-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-nav {
  display: flex;
  gap: 29px;
  align-items: center;
}
.site-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.site-nav a:hover {
  color: var(--blue);
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
  padding: 85px 0 67px;
}
.hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -340px;
  top: -190px;
  border: 80px solid var(--brand-soft);
  border-radius: 50%;
  opacity: 0.65;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 65px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -2px;
  margin: 22px 0;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 29px 0 23px;
}
.hero-notes {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 18px;
}
.hero-notes span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-notes .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  border-radius: 17px;
  position: relative;
  transform: rotate(-1deg);
  padding: 24px;
}
.hero-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.hero-card h3 {
  margin: 0;
  font-size: 14px;
}
.demo-caption {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-wallet {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 17px;
}
.hero-verdict {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  background: var(--amber-soft);
  border: 1px solid rgba(245, 189, 98, 0.22);
  border-radius: 10px;
}
.hero-verdict .metric-icon {
  background: var(--amber-soft);
  color: var(--amber);
}
.hero-verdict strong {
  font-size: 14px;
  display: block;
  color: var(--amber);
}
.hero-verdict span {
  font-size: 11px;
  color: var(--amber);
}
.mini-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 27px 0;
}
.mini-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.mini-node .node-circle {
  width: 47px;
  height: 47px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-node:first-child .node-circle {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(245, 189, 98, 0.22);
}
.mini-node:last-child .node-circle {
  background: var(--brand-soft);
  color: var(--blue);
  border-color: var(--brand-line);
}
.mini-edge {
  height: 1px;
  background: var(--line-strong);
  flex: 1;
  margin: 0 8px 22px;
  position: relative;
}
.mini-edge:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border-left: 5px solid var(--line);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.mini-edge span {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
}
.mini-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.mini-facts span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.mini-facts strong {
  font-size: 14px;
  font-weight: 600;
}
.floating-label {
  position: absolute;
  right: -24px;
  bottom: 34px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}
.floating-label .icon {
  color: var(--green);
}
.floating-label strong {
  display: block;
  font-size: 12px;
}
.floating-label span {
  color: var(--muted);
}
.sources-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sources-strip .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.sources-strip small {
  max-width: 150px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.source-word {
  font-size: 17px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: -0.5px;
}
.source-word sub {
  font-size: 10px;
  letter-spacing: 1px;
  margin-left: 4px;
}
.site-section {
  padding: 85px 0;
}
.section-heading {
  max-width: 590px;
  margin-bottom: 38px;
}
.section-heading h2 {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 15px;
  letter-spacing: -1.2px;
}
.section-heading p {
  font-size: 14px;
}
.section-heading.center {
  text-align: center;
  margin: 0 auto 40px;
}
.feature-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.feature-card .metric-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.feature-card small {
  color: var(--muted);
  font-size: 11px;
}
.process-section {
  background: var(--surface-soft);
}
.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.process-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.process-step {
  display: flex;
  gap: 18px;
}
.step-number {
  width: 34px;
  height: 34px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 12px;
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 15px;
  margin-bottom: 7px;
}
.process-step p {
  font-size: 12px;
  margin: 0;
}
.detail-preview {
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
}
.detail-preview .timeline-item {
  padding: 0 0 24px 24px;
  border-left: 1px solid var(--line);
  position: relative;
  font-size: 12px;
}
.detail-preview .timeline-item:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 3px;
  background: var(--blue);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--brand-line);
}
.detail-preview .timeline-item:last-child {
  padding-bottom: 0;
}
.detail-preview .timeline-item small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.detail-preview .timeline-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.detail-preview .timeline-item p {
  font-size: 12px;
  margin: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 23px;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border: 1px solid var(--blue);
  box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.08);
  background: linear-gradient(160deg, rgba(198, 255, 0, 0.045), transparent 60%), var(--surface);
}
.plan-kicker {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 19px;
}
.pricing-card h3 {
  font-size: 17px;
  margin: 0 0 5px;
}
.price {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1.5px;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 7px;
}
.price span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.plan-checks {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin: 13px 0 21px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.pricing-card ul {
  padding: 0;
  margin: 0 0 23px;
  list-style: none;
  flex: 1;
}
.pricing-card li {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 11px;
  display: flex;
  gap: 8px;
}
.pricing-card li:before {
  content: "✓";
  color: var(--green);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  right: 19px;
}
.pricing-note {
  text-align: center;
  margin-top: 22px;
  font-size: 12px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 550;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
}
.faq-item summary:after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  line-height: 1.1;
}
.faq-item[open] summary:after {
  content: "−";
}
.faq-item p {
  font-size: 12px;
  line-height: 1.85;
  margin: 14px 30px 0 0;
}
.cta-section {
  padding: 20px 0 70px;
}
.cta-box {
  background: var(--surface-high);
  padding: 45px 50px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brand-line);
}
.cta-box:after {
  content: "";
  position: absolute;
  right: 180px;
  top: -100px;
  width: 310px;
  height: 310px;
  border: 45px solid #ffffff09;
  border-radius: 50%;
  pointer-events: none;
}
.cta-box h2 {
  font-size: 29px;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.8px;
}
.cta-box p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
}
.site-footer .site-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.site-footer .brand {
  font-size: 17px;
}
.site-footer .brand img {
  width: 114px;
  height: auto;
}
.site-footer p {
  font-size: 11px;
  margin: 8px 0 0;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: var(--muted);
}
/* Auth */
.auth-page {
  min-height: 100vh;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-visual {
  background: var(--surface);
  color: var(--ink);
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-visual:before,
.auth-visual:after {
  content: "";
  width: 650px;
  height: 650px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.auth-visual:after {
  width: 470px;
  height: 470px;
}
.auth-visual .brand {
  color: var(--ink);
  z-index: 1;
}
.auth-visual .brand img {
  background: transparent;
  border: 0;
}
.auth-visual .brand em {
  color: var(--muted);
}
.auth-story {
  max-width: 390px;
  margin: 65px auto;
  position: relative;
  z-index: 1;
}
.auth-story h1 {
  font-size: 39px;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -1.4px;
  margin: 0 0 24px;
}
.auth-story p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.auth-node-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 30px 0 70px;
}
.auth-node-visual .node {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff30;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: #ffffff0a;
}
.auth-node-visual .node.middle {
  width: 94px;
  height: 94px;
  border-radius: 27px;
  background: #ffffff18;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}
.auth-node-visual .node .icon {
  width: 29px;
  height: 29px;
}
.auth-node-visual .dash {
  width: 35px;
  border-top: 2px dashed #ffffff40;
}
.auth-visual footer {
  color: var(--muted);
  font-size: 12px;
  z-index: 1;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 45px;
}
.auth-form {
  max-width: 370px;
  width: 100%;
}
.auth-form h1 {
  font-size: 28px;
  margin-bottom: 10px;
}
.auth-form .intro {
  font-size: 12px;
  margin: 0 0 30px;
}
.auth-form .btn[type="submit"] {
  width: 100%;
  margin-top: 5px;
}
.auth-form .auth-footer {
  font-size: 12px;
  text-align: center;
  margin: 23px 0;
}
.auth-back {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 38px;
}
.auth-back .icon {
  width: 14px;
}
.auth-form .notice {
  margin: 18px 0;
  font-size: 12px;
}
.password-wrap {
  position: relative;
}
.password-wrap .input {
  padding-right: 45px;
}
.password-wrap .icon-button {
  position: absolute;
  right: 6px;
  top: 4px;
  border: 0;
}
.auth-mobile-brand {
  display: none;
  margin-bottom: 35px;
}
/* App shell */
.sidebar {
  color: var(--ink);
  box-shadow: none;
  max-width: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 248px;
  background: var(--canvas);
  border-right: 1px solid var(--line);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 30px 18px;
  scrollbar-color: var(--line-strong) transparent;
}
.sidebar .brand {
  padding: 0 9px;
  margin-bottom: 40px;
}
.sidebar .brand img {
  width: 124px;
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--dim);
  font-weight: 700;
  margin: 21px 15px 10px;
  text-transform: uppercase;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-link {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.sidebar-link .icon {
  width: 18px;
  height: 18px;
}
.sidebar-link:hover {
  background: var(--surface-soft);
  color: var(--ink);
  border-color: var(--line);
}
.sidebar-link.active {
  background: var(--brand-soft);
  color: var(--blue);
  box-shadow: none;
  border-color: var(--brand-line);
}
.sidebar-link .nav-count {
  margin-left: auto;
  background: var(--brand-soft);
  color: var(--blue);
  font-size: 10px;
  min-width: 19px;
  padding: 2px 5px;
  border-radius: 4px;
  text-align: center;
}
.sidebar-link.active .nav-count {
  background: rgba(198, 255, 0, 0.13);
  color: var(--blue);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.quota-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-color: var(--line);
}
.quota-card strong {
  color: var(--ink);
  font-size: 12px;
}
.quota-card .progress-track {
  margin: 13px 0 8px;
  height: 5px;
}
.quota-card p {
  font-size: 11px;
  margin-bottom: 14px;
}
.quota-card .btn {
  width: 100%;
  font-size: 11px;
  min-height: 32px;
  padding: 7px;
}
.sidebar-foot {
  font-size: 10px;
  color: var(--dim);
  padding: 17px 8px 0;
  line-height: 1.8;
}
.app-shell {
  margin-left: 248px;
}
.topbar {
  height: 80px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 16, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(16px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.network-pill {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.network-pill:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  border: 1px solid var(--brand-line);
}
.user-info strong {
  font-size: 12px;
  display: block;
  line-height: 1.5;
}
.user-info span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.mobile-menu {
  display: none;
}
.content {
  max-width: 1500px;
  padding: 34px 34px 44px;
  margin: auto;
  min-height: calc(100vh - 80px);
}
.app-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  padding: 8px 34px 25px;
  gap: 20px;
}
.welcome-banner {
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 100% 0, rgba(198, 255, 0, 0.08), transparent 64%), var(--surface);
  color: var(--ink);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  gap: 24px;
}
.welcome-banner:after {
  content: "";
  position: absolute;
  right: 130px;
  top: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  pointer-events: none;
}
.welcome-banner h1 {
  font-size: 29px;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.045em;
}
.welcome-banner p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}
.welcome-banner .btn {
  z-index: 1;
}
.dashboard-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 23px;
}
.activity-chart {
  height: 170px;
  display: flex;
  gap: 7px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 0;
  position: relative;
  background: repeating-linear-gradient(to top, transparent 0, transparent 41px, rgba(230, 237, 245, 0.055) 42px);
}
.activity-bar {
  flex: 1 1 0;
  max-width: 36px;
  min-width: 3px;
  background: rgba(198, 255, 0, 0.25);
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 2px;
}
.activity-bar:nth-last-child(-n + 7) {
  background: var(--blue);
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-top: 10px;
}
.chart-summary {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 15px;
}
.chart-summary strong {
  font-size: 29px;
  letter-spacing: -1px;
}
.chart-summary span {
  font-size: 12px;
  color: var(--muted);
}
.check-card .input-group {
  margin: 22px 0 13px;
}
.check-card .input {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
.check-card .network {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  background: var(--surface-high);
  border-radius: 6px;
  padding: 4px 7px;
  color: var(--muted);
  border: 1px solid var(--line);
}
.check-card .network img {
  width: 13px;
}
.check-hint {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.quick-points {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
}
.quick-points .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}
.quick-points span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.history-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.history-filters .input {
  max-width: 320px;
  font-size: 12px;
  min-height: 40px;
  padding: 9px 12px;
}
.history-filters select.input {
  max-width: 228px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.check-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  align-items: start;
}
.check-large {
  padding: 34px;
}
.check-large .input {
  font-size: 13px;
  padding: 15px;
  min-height: 52px;
}
.check-large .input-group {
  margin: 25px 0 17px;
}
.check-intro-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-soft);
  color: var(--blue);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.check-large h2 {
  font-size: 23px;
}
.check-large p {
  font-size: 12px;
}
.check-stages {
  list-style: none;
  padding: 0;
  margin: 5px 0;
}
.check-stages li {
  display: flex;
  gap: 12px;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.check-stages li:last-child {
  border-bottom: 0;
}
.check-stages .icon {
  color: var(--blue);
  width: 17px;
  height: 17px;
}
.check-stages small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.pending {
  padding: 50px 35px;
  text-align: center;
}
.pending .spinner {
  width: 45px;
  height: 45px;
  border-width: 3px;
  margin-bottom: 22px;
}
.pending h2 {
  font-size: 23px;
}
.pending p {
  max-width: 470px;
  margin: 12px auto;
  font-size: 12px;
}
.pending code {
  display: block;
  margin: 20px auto;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 12px;
  padding: 10px 15px;
}
.source-card {
  padding: 23px;
}
.source-symbol {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 750;
  flex-shrink: 0;
  border: 1px solid var(--brand-line);
}
.source-card h3 {
  font-size: 15px;
  margin: 0 0 3px;
}
.source-card p {
  font-size: 12px;
  margin-top: 20px;
}
.source-card .source-data {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 11px;
  color: var(--muted);
}
.source-card .source-data strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 2px;
}
.source-card footer {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
}
.billing-summary {
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.billing-summary .metric-value {
  margin-top: 8px;
}
.settings-layout {
  max-width: 780px;
}
.settings-layout .card {
  margin-bottom: 22px;
}
.settings-layout .field {
  max-width: 430px;
}
.watch-form {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 25px;
}
.watch-form .field {
  margin: 0;
}
/* Report */
.report-address {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.report-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.report-hero {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 27px;
  box-shadow: none;
}
.report-hero.review {
  border-left-color: var(--amber);
}
.report-hero.confirmed_restriction {
  border-left-color: var(--red);
}
.report-hero.insufficient_data {
  border-left-color: var(--line);
}
.verdict-symbol {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verdict-symbol .icon {
  width: 28px;
  height: 28px;
}
.review .verdict-symbol {
  background: var(--amber-soft);
  color: var(--amber);
}
.confirmed_restriction .verdict-symbol {
  background: var(--red-soft);
  color: var(--red);
}
.insufficient_data .verdict-symbol {
  background: var(--surface-soft);
  color: var(--muted);
}
.report-hero h2 {
  font-size: 24px;
  margin: 8px 0;
  letter-spacing: -0.035em;
}
.report-hero p {
  font-size: 13px;
  margin: 0;
  max-width: 780px;
  line-height: 1.8;
}
.report-hero .verdict-overline {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.report-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0 0;
}
.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.check-state {
  padding: 19px 21px;
}
.check-state .step-label {
  display: flex;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
  margin-bottom: 12px;
}
.check-state strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.7;
}
.report-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin: 8px 0 0;
  overflow: auto;
  white-space: nowrap;
}
.report-tabs button {
  border: 0;
  background: none;
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-weight: 650;
}
.report-tabs button:hover {
  color: var(--ink);
}
.report-tabs button.active {
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}
.report-panel {
  min-width: 0;
  display: none;
}
.report-panel.active {
  display: block;
}
.report-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 22px;
}
.report-columns > * {
  min-width: 0;
  max-width: 100%;
}
.report-columns > .stack {
  min-width: 0;
}
.reason-row {
  display: flex;
  gap: 13px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.reason-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.reason-row:last-child {
  padding-bottom: 0;
}
.reason-mark {
  width: 29px;
  height: 29px;
  background: var(--amber-soft);
  color: var(--amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reason-mark .icon {
  width: 15px;
  height: 15px;
}
.reason-row strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 3px 0 6px;
}
.reason-row p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.reason-row .badge {
  font-size: 10px;
  margin-bottom: 7px;
}
.flow-amount {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.flow-amount small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.flow-row {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.flow-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.flow-row .flow-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.flow-row .flow-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.coverage-line {
  margin-bottom: 18px;
}
.coverage-line:last-child {
  margin-bottom: 0;
}
.coverage-line .between {
  margin-bottom: 8px;
  font-size: 12px;
}
.coverage-line .between span {
  color: var(--muted);
}
.coverage-line .between strong {
  font-size: 12px;
  font-weight: 550;
}
.coverage-line .progress-track {
  height: 5px;
}
.coverage-line small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}
.graph-card {
  padding: 25px;
}
.path-network {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: contain;
  background: radial-gradient(rgba(230, 237, 245, 0.13) 0.75px, transparent 0.75px), var(--canvas);
  background-size: 15px 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 19px;
  min-height: 175px;
  overflow: auto;
  border-color: var(--line);
}
.path-node {
  text-align: center;
  min-width: 114px;
  max-width: 145px;
  flex-shrink: 0;
}
.path-node .node-circle {
  height: 52px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  color: var(--blue);
  margin: 0 auto 10px;
  box-shadow: none;
}
.path-node.risky .node-circle {
  background: var(--amber-soft);
  border-color: rgba(245, 189, 98, 0.26);
  color: var(--amber);
}
.path-node.target .node-circle {
  background: var(--blue);
  color: var(--brand-ink);
  border-color: var(--blue);
}
.path-node strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 4px;
}
.path-node a {
  font-size: 10px;
  font-family: monospace;
  color: var(--muted);
}
.path-edge {
  min-width: 45px;
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  margin-bottom: 36px;
}
.path-edge:after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border-left: 6px solid var(--line-strong);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.path-edge strong {
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  font-size: 10px;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 550;
}
.path-edge small {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted);
}
.path-evidence {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.path-evidence a {
  font-size: 11px;
}
.evidence-timeline {
  padding: 5px 0 0 12px;
}
.evidence-event {
  border-left: 1px solid var(--line-strong);
  padding: 0 0 23px 23px;
  position: relative;
}
.evidence-event:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.evidence-event:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--brand-line);
  position: absolute;
  left: -4px;
  top: 5px;
}
.evidence-event.restriction:before {
  background: var(--amber);
  box-shadow: 0 0 0 1px rgba(245, 189, 98, 0.3);
}
.evidence-event strong {
  font-size: 12px;
  font-weight: 550;
}
.evidence-event small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.evidence-event p {
  font-size: 11px;
  margin: 5px 0 0;
}
.report-limitations {
  padding-left: 17px;
  margin-bottom: 0;
}
.report-limitations li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.source-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.source-mini:last-child {
  border-bottom: 0;
}
.source-mini strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.source-mini small {
  font-size: 10px;
  color: var(--muted);
}
.technical-details summary {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.technical-details pre {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 18px;
  background: var(--canvas);
  border-radius: 12px;
  margin: 15px 0 0;
  font-size: 11px;
  max-height: 400px;
  overflow: auto;
  border: 1px solid var(--line);
  color: var(--muted);
}
.analysis-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.analysis-row:last-child {
  border-bottom: 0;
}
.analysis-row strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
}
.analysis-row p {
  font-size: 12px;
  margin: 6px 0 0;
}
.feedback-form .field {
  margin-bottom: 14px;
}
.feedback-form .input {
  font-size: 12px;
}
.feedback-form textarea {
  min-height: 80px;
}
.risk-index {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.risk-index strong {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
}
.risk-index span {
  font-size: 12px;
  color: var(--muted);
}
.report-empty {
  font-size: 12px;
  padding: 10px 0;
  color: var(--muted);
}
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.comparison-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.comparison-row:last-child {
  border: 0;
}
.mobile-overlay {
  display: none;
}
@media (min-width: 1550px) {
  .content {
    padding-top: 38px;
  }
  .sidebar {
    width: 264px;
  }
  .app-shell {
    margin-left: 264px;
  }
}
@media (max-width: 1200px) {
  .site-container {
    padding: 0 27px;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .floating-label {
    right: -10px;
  }
  .sidebar {
    width: 228px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .app-shell {
    margin-left: 228px;
  }
  .content {
    padding: 27px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .dashboard-main {
    grid-template-columns: 1.3fr 1fr;
  }
  .grid-4 {
    gap: 14px;
  }
  .card {
    padding: 22px;
  }
  .metric-value {
    font-size: 25px;
  }
  .report-columns {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .pricing-grid {
    gap: 12px;
  }
  .pricing-card {
    padding: 24px 17px;
  }
  .auth-visual {
    padding: 40px;
  }
  .table-wrap {
    margin: 0 -22px;
  }
}
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: start;
  }
  .hero-notes {
    flex-direction: column;
    gap: 7px;
  }
  .site-nav {
    gap: 18px;
  }
  .hero-card {
    padding: 19px;
  }
  .site-section {
    padding: 65px 0;
  }
  .process-grid {
    gap: 40px;
  }
  .faq-grid {
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .dashboard-main {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .check-layout {
    grid-template-columns: 1fr;
  }
  .report-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .welcome-banner h1 {
    font-size: 22px;
  }
  .welcome-banner p {
    max-width: 350px;
  }
  .report-summary-grid {
    gap: 10px;
  }
  .check-state {
    padding: 17px;
  }
  .network-pill {
    display: none;
  }
  .auth-story h1 {
    font-size: 32px;
  }
  .auth-visual {
    padding: 35px;
  }
  .auth-main {
    padding: 40px 30px;
  }
  .watch-form {
    grid-template-columns: 1fr 1fr;
  }
  .watch-form > .btn {
    grid-column: span 2;
  }
  .sources-strip .source-word {
    font-size: 14px;
  }
  .source-word sub {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 74px;
  }
  .site-header .site-container {
    padding: 0 20px;
  }
  .site-nav {
    display: none;
  }
  .site-header .btn {
    font-size: 12px;
    padding: 9px 13px;
    min-height: 37px;
  }
  .site-header .brand {
    font-size: 18px;
  }
  .site-header .brand img {
    width: 114px;
    height: auto;
  }
  .hero {
    padding: 47px 0 43px;
  }
  .site-container {
    padding: 0 23px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero h1 {
    font-size: 42px;
    max-width: 480px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-actions {
    flex-direction: row;
  }
  .hero-notes {
    flex-direction: row;
    gap: 15px;
  }
  .hero-card {
    max-width: 480px;
    width: 100%;
    margin: auto;
    transform: none;
  }
  .floating-label {
    right: -10px;
    bottom: 18px;
  }
  .sources-strip .site-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }
  .sources-strip small {
    max-width: none;
    flex-basis: 100%;
    text-align: center;
  }
  .source-word {
    font-size: 14px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .site-section {
    padding: 52px 0;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .pricing-card {
    padding: 23px 17px;
  }
  .price {
    font-size: 29px;
  }
  .cta-box {
    padding: 30px;
    flex-direction: column;
    align-items: start;
  }
  .cta-box h2 {
    font-size: 25px;
  }
  .site-footer .site-container {
    align-items: start;
    flex-direction: column;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 248px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 7, 0.74);
    z-index: 35;
  }
  .app-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 67px;
    padding: 0 20px;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .topbar .user-info {
    display: none;
  }
  .content {
    padding: 23px 19px;
  }
  .welcome-banner {
    padding: 25px;
    align-items: start;
    gap: 20px;
  }
  .welcome-banner h1 {
    font-size: 22px;
  }
  .welcome-banner p {
    font-size: 12px;
    max-width: 270px;
  }
  .welcome-banner .btn {
    padding: 9px 12px;
    font-size: 11px;
    min-height: 38px;
  }
  .page-title h1 {
    font-size: 23px;
  }
  .app-footer {
    padding: 5px 20px 23px;
  }
  .report-summary-grid {
    grid-template-columns: 1fr;
  }
  .check-state {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }
  .check-state .step-label {
    margin: 0;
    min-width: 120px;
  }
  .check-state strong {
    font-size: 12px;
    text-align: right;
  }
  .report-hero {
    gap: 17px;
    padding: 21px;
  }
  .verdict-symbol {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }
  .verdict-symbol .icon {
    width: 22px;
  }
  .report-hero h2 {
    font-size: 17px;
  }
  .report-hero p {
    font-size: 12px;
  }
  .report-toolbar .btn {
    font-size: 11px;
    padding: 8px 11px;
  }
  .report-header {
    align-items: start;
    flex-direction: column;
  }
  .report-tabs {
    gap: 22px;
  }
  .auth-page {
    display: block;
  }
  .auth-visual {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
    padding: 40px 25px;
  }
  .auth-mobile-brand {
    display: inline-flex;
  }
  .auth-back {
    margin-bottom: 24px;
  }
  .card {
    padding: 22px;
  }
  .table-wrap {
    margin: 0 -22px;
  }
  .billing-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sources-page .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .path-network {
    padding: 25px 10px;
  }
  .path-node {
    min-width: 95px;
  }
  .path-edge {
    min-width: 52px;
  }
  .path-edge strong {
    font-size: 10px;
  }
  .history-filters .input {
    max-width: none;
    flex: 1;
    min-width: 150px;
  }
  .history-filters select.input {
    max-width: none;
    min-width: 130px;
  }
  .input-group {
    flex-direction: column;
  }
  .input-group .btn {
    width: 100%;
  }
  .check-large {
    padding: 25px;
  }
  .quick-points {
    gap: 11px;
  }
  .feedback-form .input-group {
    flex-direction: row;
  }
  .report-address {
    font-size: 11px;
  }
  .cta-section {
    padding-bottom: 50px;
  }
  .site-footer .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 430px) {
  .hero h1 {
    font-size: 36px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-notes {
    font-size: 11px;
    gap: 9px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    padding: 20px 17px;
  }
  .floating-label {
    display: none;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    gap: 11px;
  }
  .grid-4 .card {
    padding: 18px 15px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-icon {
    width: 30px;
    height: 30px;
  }
  .metric-icon .icon {
    width: 16px;
  }
  .metric-value {
    font-size: 24px;
  }
  .metric-foot {
    font-size: 10px;
  }
  .welcome-banner {
    display: block;
  }
  .welcome-banner .btn {
    margin-top: 18px;
  }
  .welcome-banner p {
    max-width: none;
  }
  .watch-form {
    grid-template-columns: 1fr;
  }
  .watch-form > .btn {
    grid-column: auto;
  }
  .sources-page .grid-3 {
    grid-template-columns: 1fr;
  }
  .report-hero {
    align-items: start;
  }
  .report-hero h2 {
    font-size: 16px;
  }
  .report-meta {
    gap: 8px;
  }
  .check-state {
    gap: 10px;
  }
  .source-word {
    font-size: 12px;
  }
  .source-strip .site-container {
    gap: 15px;
  }
  .app-footer {
    flex-direction: column;
    gap: 4px;
  }
  .auth-form h1 {
    font-size: 26px;
  }
  .path-network {
    justify-content: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .spinner {
    border-color: var(--brand-line);
    border-top-color: var(--blue);
  }
}
@media print {
  body {
    background: white;
    font-size: 10pt;
  }
  .sidebar,
  .topbar,
  .app-footer,
  .report-toolbar,
  .report-tabs,
  .toast,
  .no-print,
  .feedback-section {
    display: none !important;
  }
  .app-shell {
    margin: 0;
  }
  .content {
    padding: 0;
    max-width: none;
  }
  .report-panel {
    display: block !important;
    margin-top: 20px;
  }
  .card,
  .report-hero {
    box-shadow: none;
    break-inside: avoid;
  }
  .report-columns,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .report-meta {
    font-size: 8pt;
  }
  .path-network {
    background: none;
  }
  .table {
    font-size: 8pt;
    white-space: normal;
  }
  .report-address {
    color: #333;
  }
  .report-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .report-limitations {
    color: #555;
  }
  .technical-details {
    display: none;
  }
  .report-hero,
  .badge,
  .verdict-symbol,
  .progress-track {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.hero .site-container {
  position: relative;
  z-index: 1;
}
.hero:after {
  z-index: 0;
}
.partial-history-track {
  background: repeating-linear-gradient(
    135deg,
    var(--surface-soft),
    var(--surface-soft) 5px,
    var(--surface-high) 5px,
    var(--surface-high) 10px
  );
}
@media (max-width: 600px) {
  .site-header .flex {
    gap: 4px;
  }
  .site-header .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
  .site-header .btn-primary .icon {
    display: none;
  }
  .site-header .brand {
    gap: 8px;
    font-size: 17px;
  }
  .site-header .brand img {
    width: 114px;
    height: auto;
  }
}
@media (max-width: 360px) {
  .dossier-metrics {
    grid-template-columns: 1fr;
  }
  .site-header .brand em {
    display: none;
  }
  .site-header .btn {
    padding: 10px 9px;
    font-size: 11px;
  }
}
/* Evidence methodology v0.7 */
.relationship-row {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.relationship-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.relationship-row:last-child {
  padding-bottom: 0;
}
.relationship-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 14px;
  border-color: var(--line);
}
.relationship-facts small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.relationship-facts strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.deep-network {
  justify-content: flex-start;
  gap: 0;
}
.deep-network .path-node {
  min-width: 110px;
  flex: 1;
}
.deep-network .path-edge {
  min-width: 90px;
}
.monitor-optin {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  border-color: var(--line-strong);
}
.monitor-optin input {
  margin-top: 4px;
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.monitor-optin strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.monitor-optin small {
  display: block;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 5px;
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.feedback-details {
  margin: 0 0 20px;
}
.feedback-details summary {
  font-size: 12px;
  color: var(--blue);
  cursor: pointer;
  padding: 6px 0 13px;
}
.feedback-details .input {
  font-size: 12px;
}
.relationship-row .between {
  align-items: flex-start;
}
@media (max-width: 1000px) {
  .outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .relationship-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deep-network .path-node {
    min-width: 105px;
  }
  .deep-network .path-edge {
    min-width: 85px;
  }
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  .deep-network {
    overflow: visible;
    flex-wrap: wrap;
  }
  .relationship-row {
    break-inside: avoid;
  }
  .monitor-optin,
  .feedback-details {
    display: none !important;
  }
}
.report-hero.weak_signals {
  border-left-color: var(--muted);
}
.weak_signals .verdict-symbol {
  background: var(--surface-soft);
  color: var(--muted);
}
.relationship-rules {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 18px;
}
.relationship-rules .comparison-row {
  gap: 28px;
}
.relationship-rules .comparison-row strong {
  flex-shrink: 0;
}
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar > .brand,
.sidebar-nav,
.sidebar-bottom {
  flex-shrink: 0;
}

/* Printable reports use the same hierarchy with ink-safe light surfaces. */
@media print {
  :root {
    --bs-primary-rgb: 66, 89, 0;
    --bs-secondary-rgb: 76, 89, 106;
    --bs-success-rgb: 22, 115, 72;
    --bs-warning-rgb: 137, 88, 14;
    --bs-danger-rgb: 160, 47, 64;
    --bs-body-color-rgb: 23, 33, 45;
    --bs-body-bg-rgb: 255, 255, 255;
    color-scheme: light;
    --canvas: #fff;
    --surface: #fff;
    --surface-soft: #f4f6f8;
    --surface-high: #e9edf1;
    --ink: #17212d;
    --muted: #4c596a;
    --dim: #596879;
    --line: #dbe1e7;
    --line-strong: #c5ced8;
    --blue: #425900;
    --blue-deep: #344600;
    --brand-ink: #17212d;
    --brand-soft: #f2f5e8;
    --brand-line: #b7c78c;
    --green: #167348;
    --green-soft: #edf7f1;
    --amber: #89580e;
    --amber-soft: #fff6e6;
    --red: #a02f40;
    --red-soft: #fff0f2;
    --purple: #69459f;
    --chart-secondary: #64748b;
    --shadow: none;
  }
  body {
    color: var(--ink);
    background: #fff;
  }
  .card,
  .report-hero,
  .path-network,
  .relationship-facts {
    background: var(--surface);
    border-color: var(--line-strong);
    box-shadow: none;
  }
  .report-hero {
    border-left-color: var(--green);
  }
  .report-hero.review {
    border-left-color: var(--amber);
  }
  .report-hero.confirmed_restriction {
    border-left-color: var(--red);
  }
  .report-hero.insufficient_data,
  .report-hero.weak_signals {
    border-left-color: var(--muted);
  }
  .path-node.target .node-circle {
    color: #fff;
  }
  .brand img {
    filter: brightness(0);
  }
  .table-wrap {
    overflow: visible;
  }
}
