/* Interaction layer for the sealed synthetic preview.
   The canonical product surface remains in public.css; this file only adds
   accessible states and the supplementary in-place views. */

/* This sealed product replica is deliberately dark. Pin every token here so
   unrelated public-site theme work cannot wash out financial evidence. */
body.preview-shell {
  color-scheme: dark;
  --theme-canvas: #030506;
  --theme-surface: #090c0b;
  --theme-surface-soft: #0e1311;
  --theme-surface-subtle: #101512;
  --theme-line: rgba(218, 239, 231, 0.09);
  --theme-line-strong: rgba(218, 239, 231, 0.17);
  --theme-ink: #f5f7f8;
  --theme-ink-soft: #a6b1b9;
  --theme-ink-faint: #7d8992;
  --theme-navy: #f5f7f8;
  --theme-navy-hover: #ffffff;
  --theme-jade: #67e4ba;
  --theme-jade-deep: #91edc9;
  --theme-jade-soft: rgba(100, 224, 176, 0.1);
  --theme-brass: #e5b85d;
  --theme-brass-soft: rgba(239, 197, 116, 0.1);
  --theme-rose: #f2827f;
  --theme-rose-deep: #ffaaa6;
  --theme-rose-soft: rgba(242, 130, 127, 0.1);
  --theme-paper: #0b0f0d;
  --theme-paper-ink: #f2f6f4;
  --theme-paper-line: rgba(211, 233, 225, 0.1);
  --theme-shadow: 0 80px 180px -82px rgba(0, 0, 0, 0.98);
  --theme-shadow-soft: 0 18px 44px -34px rgba(0, 0, 0, 0.95);
  --ground: #030506;
  --panel: #0a0e11;
  --panel-2: #0e1317;
  --panel-3: #11171c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f7f8;
  --ink-soft: #a6b1b9;
  --ink-faint: #7d8992;
  --brand: #f5f7f8;
  --jade: #67e4ba;
  --jade-light: #91edc9;
  --jade-deep: #2aad7e;
  --jade-wash: rgba(100, 224, 176, 0.09);
  --brass: #e5b85d;
  --brass-wash: rgba(239, 197, 116, 0.09);
  --paper: #0b0f0d;
  --paper-ink: #f2f6f4;
  --paper-soft: #a9b7b2;
  --paper-faint: #85948f;
  --paper-line: rgba(211, 233, 225, 0.1);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 680px at 50% -260px, rgba(69, 151, 120, 0.17), transparent 72%),
    #030506;
  color: #f5f7f8;
}

.preview-shell main {
  background: transparent;
}

.preview-shell .preview-app-main,
.preview-shell .preview-app-stage {
  min-height: 100vh;
  min-height: 100dvh;
}

.preview-shell .preview-app-stage {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  perspective: none;
}

.preview-shell .preview-app-stage > .landing-product {
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  border-color: rgba(218, 239, 231, 0.15);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: #090c0b;
  color: #eef5f1;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  transform: none;
}

.preview-shell .preview-app-stage > .landing-product:hover {
  border-color: rgba(218, 239, 231, 0.15);
  transform: none;
}

.preview-shell .preview-app-stage .landing-stage__halo {
  display: none;
}

.preview-shell .landing-product__bar {
  flex: none;
  border-bottom-color: rgba(218, 239, 231, 0.08);
  background: rgba(18, 24, 21, 0.96);
}

.preview-shell .landing-product__brand {
  text-decoration: none;
}

.preview-shell .preview-app-stage > .landing-product > .landing-product__body {
  min-height: 0;
  height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.preview-shell .landing-product__body,
.preview-shell .landing-product__nav {
  background-color: #070a09;
}

.preview-shell .landing-product__nav {
  border-color: rgba(218, 239, 231, 0.07);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.preview-shell .landing-product__main {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(500px 280px at 50% -10%, rgba(100, 224, 176, 0.045), transparent 72%),
    #0b0f0d;
  color: #eef5f1;
}

.preview-shell .landing-product__rail {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-color: rgba(218, 239, 231, 0.075);
  background: linear-gradient(150deg, #101512, #0b0e0d);
  color: #eef5f1;
}

.preview-shell .landing-product h2,
.preview-shell .landing-product h3,
.preview-shell .landing-product__brand,
.preview-shell .preview-record > span > strong,
.preview-shell .preview-answer-grid strong {
  color: #eef5f1;
}

.preview-shell .landing-result > span,
.preview-shell .landing-result small,
.preview-shell .landing-proof__head > div > span,
.preview-shell .landing-proof__math small,
.preview-shell .landing-coverage__label,
.preview-shell .preview-rail-panel > p,
.preview-shell .landing-stage__caption {
  color: #7d8992;
}

.preview-shell .landing-result strong,
.preview-shell .landing-proof__head > div > strong,
.preview-shell .landing-proof__math strong,
.preview-shell .landing-coverage__label strong {
  color: #eef5f1;
}

.preview-shell .landing-result--claim strong,
.preview-shell .landing-proof__math em {
  color: #91edc9;
}

.preview-shell .landing-result--review strong {
  color: #f0ca81;
}

.preview-shell .state-tag--planned,
.preview-shell .state-tag--review {
  border-color: rgba(239, 197, 116, 0.36);
  background: rgba(239, 197, 116, 0.085);
  color: #f4cc7e;
}

.preview-shell .landing-proof__math {
  border-color: rgba(100, 224, 176, 0.2);
  background: linear-gradient(90deg, rgba(100, 224, 176, 0.075), rgba(100, 224, 176, 0.025));
}

.preview-shell .landing-product__rail-state {
  background: rgba(239, 197, 116, 0.07);
}

.preview-shell .landing-product__rail-state strong {
  color: #dfc58f;
}

.preview-shell .landing-product__rail-state small {
  color: #a99b7d;
  font-size: 0.62rem;
}

.preview-shell .landing-result,
.preview-shell .landing-proof,
.preview-shell .preview-record,
.preview-shell .preview-answer-grid > div,
.preview-shell .preview-analytics-grid {
  border-color: rgba(218, 239, 231, 0.085);
  background-color: #101411;
}

.preview-shell .landing-coverage,
.preview-shell .preview-analytics-copy > div {
  background: #101411;
}

.preview-product-footer {
  display: flex;
  min-height: 48px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 20px;
  border-top: 1px solid rgba(218, 239, 231, 0.075);
  background: #090c0b;
}

.preview-product-footer .landing-stage__caption {
  margin: 0;
  font-size: 0.54rem;
  line-height: 1.45;
  text-align: left;
}

.preview-product-footer .landing-stage__caption:first-child {
  flex: 1 1 auto;
}

.preview-product-footer .landing-stage__caption:last-child {
  flex: none;
  white-space: nowrap;
}

.preview-product-footer a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: #91d9bd;
  text-decoration: none;
}

.preview-product-footer a:hover {
  color: #c4f1de;
}

.preview-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.landing-product__nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #73817c;
  font-size: 0.65rem;
  font-weight: 590;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.landing-product__nav a:hover {
  color: #b8d8cb;
}

.landing-product__nav a.is-active,
.landing-product__nav a[aria-current="page"] {
  background: rgba(100, 224, 176, 0.085);
  color: #c4f1de;
}

.landing-product__nav a i {
  width: 8px;
  height: 8px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.landing-product__nav a:focus-visible,
.preview-record:focus-visible,
.preview-metric-hit:focus-visible,
.preview-proof-step > summary:focus-visible,
.preview-action-row a:focus-visible,
.preview-proof-step__detail a:focus-visible,
.preview-rail-panel > a:focus-visible {
  outline: 2px solid #83e9c2;
  outline-offset: 3px;
}

.preview-view[hidden],
.preview-rail-panel[hidden] {
  display: none !important;
}

.preview-view.is-active,
.preview-rail-panel.is-active {
  animation: preview-enter 240ms ease-out both;
}

.preview-view__intro {
  margin: -8px 0 17px;
  color: #81908b;
  font-size: 0.64rem;
  line-height: 1.55;
}

.landing-result {
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.landing-result.is-selected {
  border-color: rgba(100, 224, 176, 0.24);
  background: rgba(100, 224, 176, 0.045);
  box-shadow: 0 0 0 1px rgba(100, 224, 176, 0.025), 0 14px 36px -28px rgba(100, 224, 176, 0.8);
}

.landing-result--review.is-selected {
  border-color: rgba(239, 197, 116, 0.27);
  background: rgba(239, 197, 116, 0.045);
  box-shadow: 0 14px 36px -28px rgba(239, 197, 116, 0.8);
}

.preview-metric-hit {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
}

.preview-proof-step {
  border-bottom: 1px solid rgba(218, 239, 231, 0.065);
}

.preview-proof-step > summary {
  display: grid;
  min-height: 44px;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-radius: 5px;
  cursor: pointer;
  list-style: none;
}

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

.preview-proof-step > summary > span {
  color: #899892;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.preview-proof-step > summary p,
.preview-proof-step > summary strong,
.preview-proof-step > summary small {
  display: block;
  margin: 0;
}

.preview-proof-step > summary strong {
  color: #c8d3ce;
  font-size: 0.61rem;
}

.preview-proof-step > summary small {
  color: #74847e;
  font-family: var(--mono);
  font-size: 0.54rem;
}

.preview-proof-step > summary b {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(100, 224, 176, 0.12);
  color: #7ce5bc;
  font-size: 0.56rem;
  transition: transform 180ms ease, background-color 180ms ease;
}

.preview-proof-step[open] > summary b {
  background: rgba(100, 224, 176, 0.2);
  transform: scale(1.06);
}

.preview-proof-step__detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 9px 32px;
  padding: 9px 10px;
  border-left: 1px solid rgba(100, 224, 176, 0.24);
  background: rgba(100, 224, 176, 0.035);
  color: #7f9089;
  font-size: 0.53rem;
  line-height: 1.45;
}

.preview-proof-step__detail strong {
  color: #aab9b3;
  text-transform: uppercase;
}

.preview-proof-step__detail a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: #a8e8d0;
  font-weight: 650;
  text-decoration: none;
}

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

.preview-record {
  display: grid;
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(218, 239, 231, 0.075);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.preview-record:hover {
  border-color: rgba(100, 224, 176, 0.2);
  background: rgba(100, 224, 176, 0.035);
  transform: translateY(-1px);
}

.preview-record.is-selected,
.preview-record[aria-current="true"] {
  border-color: rgba(100, 224, 176, 0.27);
  background: linear-gradient(90deg, rgba(100, 224, 176, 0.075), rgba(100, 224, 176, 0.02));
}

.preview-record > span,
.preview-record > span > small,
.preview-record > span > strong,
.preview-record > span > em,
.preview-record > b > small {
  display: block;
}

.preview-record > span > small {
  color: #74847e;
  font-family: var(--mono);
  font-size: 0.52rem;
}

.preview-record > span > strong {
  margin-top: 4px;
  color: #e5ede9;
  font-size: 0.7rem;
}

.preview-record > span > em {
  margin-top: 4px;
  color: #81908a;
  font-size: 0.55rem;
  font-style: normal;
}

.preview-record > b {
  color: #e9c77f;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-align: right;
}

.preview-record > b > small {
  margin-top: 3px;
  color: #a99b7d;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 550;
}

.preview-record-list--issues .preview-record {
  min-height: 68px;
  padding-block: 10px;
}

.preview-boundary-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(239, 197, 116, 0.12);
  border-radius: 9px;
  background: rgba(239, 197, 116, 0.04);
}

.preview-boundary-note > i {
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 4px;
  border-radius: 50%;
  background: #edc576;
  box-shadow: 0 0 12px rgba(239, 197, 116, 0.4);
}

.preview-boundary-note strong,
.preview-boundary-note small {
  display: block;
}

.preview-boundary-note strong {
  color: #d8c292;
  font-size: 0.61rem;
}

.preview-boundary-note small {
  margin-top: 3px;
  color: #a99b7d;
  font-size: 0.62rem;
  line-height: 1.5;
}

.preview-boundary-note--large {
  margin-top: 20px;
  padding: 17px;
}

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

.preview-answer-grid > div {
  min-height: 122px;
  padding: 17px;
  border: 1px solid rgba(218, 239, 231, 0.075);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.preview-answer-grid span,
.preview-answer-grid strong,
.preview-answer-grid small {
  display: block;
}

.preview-answer-grid span {
  color: #84938e;
  font-size: 0.58rem;
  font-weight: 620;
}

.preview-answer-grid strong {
  margin-top: 13px;
  color: #f2f7f4;
  font-family: var(--mono);
  font-size: 1.25rem;
}

.preview-answer-grid small {
  margin-top: 9px;
  color: #74847e;
  font-size: 0.53rem;
  line-height: 1.4;
}

.preview-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.preview-action-row a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid rgba(100, 224, 176, 0.18);
  border-radius: 8px;
  color: #b9e8d5;
  font-size: 0.61rem;
  font-weight: 650;
  text-decoration: none;
}

/* Graph-first evidence views. Every visual starts at zero, exposes its exact
   values in adjacent text, and keeps money, counts, and line coverage in
   separately titled figures. */
.preview-overview-graphs,
.preview-analytics-dashboard {
  display: grid;
  gap: 14px;
}

.preview-overview-graphs {
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
}

.preview-chart-card {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(218, 239, 231, 0.09);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(100, 224, 176, 0.026), transparent 46%),
    #101411;
  box-shadow: 0 24px 50px -42px rgba(0, 0, 0, 0.95);
}

.preview-chart-card > figcaption {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-chart-card > figcaption > span,
.preview-chart-card > figcaption b,
.preview-chart-card > figcaption small,
.preview-chart-card > figcaption > strong {
  display: block;
}

.preview-chart-card > figcaption b {
  color: #e7efeb;
  font-size: 0.78rem;
  font-weight: 670;
  letter-spacing: -0.01em;
}

.preview-chart-card > figcaption small {
  margin-top: 5px;
  color: #899892;
  font-size: 0.66rem;
  font-weight: 520;
  line-height: 1.4;
}

.preview-chart-card > figcaption > strong {
  flex: none;
  color: #e8f0ec;
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.15;
  text-align: right;
}

.preview-chart-card > figcaption > strong small {
  color: #899892;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 560;
}

.preview-review-figure > figcaption > .preview-review-total {
  color: #f0ca81;
}

.preview-stack-chart {
  display: flex;
  width: 100%;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(218, 239, 231, 0.08);
  border-radius: 10px;
  background: #17201c;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.preview-stack-chart > span {
  display: flex;
  width: var(--value);
  min-width: 0;
  align-items: center;
  justify-content: center;
  transition: width 280ms ease;
}

.preview-stack-chart > span i {
  color: #04100b;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 760;
}

.preview-stack-chart__evaluated {
  background: linear-gradient(90deg, #35b786, #73e2b7);
}

.preview-stack-chart__gap {
  background: repeating-linear-gradient(135deg, #596560 0 7px, #64716c 7px 14px);
}

.preview-stack-chart__gap i {
  color: #f3f6f4 !important;
}

.preview-spend-figure > .landing-result-grid,
.landing-result-grid--states {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.preview-shell .preview-spend-figure > .landing-result-grid .landing-result,
.preview-shell .landing-result-grid--states .landing-result {
  min-height: 88px;
  padding: 12px;
  border-radius: 10px;
}

.preview-shell .preview-spend-figure > .landing-result-grid .landing-result > span,
.preview-shell .landing-result-grid--states .landing-result > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
}

.preview-spend-figure > .landing-result-grid .landing-result > span::before {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 2px;
  background: #67e4ba;
  content: "";
}

.preview-spend-figure > .landing-result-grid .landing-result--gap > span::before {
  border: 1px solid #8b9893;
  background: repeating-linear-gradient(135deg, #596560 0 2px, #77837f 2px 4px);
}

.preview-shell .preview-spend-figure > .landing-result-grid .landing-result strong,
.preview-shell .landing-result-grid--states .landing-result strong {
  margin-top: 8px;
  font-size: 1.05rem;
}

.preview-shell .preview-spend-figure > .landing-result-grid .landing-result small,
.preview-shell .landing-result-grid--states .landing-result small {
  margin-top: 6px;
  color: #8f9d97;
  font-size: 0.61rem;
  line-height: 1.35;
}

.preview-key {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 2px;
}

.preview-key--evaluated {
  background: #67e4ba;
}

.preview-key--gap {
  border: 1px solid #8b9893;
  background: repeating-linear-gradient(135deg, #596560 0 2px, #77837f 2px 4px);
}

.preview-review-bars {
  display: grid;
  gap: 10px;
}

.preview-review-bars > div {
  display: grid;
  grid-template-columns: 68px minmax(70px, 1fr) 66px;
  gap: 10px;
  align-items: center;
}

.preview-review-bars span,
.preview-review-bars b {
  font-size: 0.62rem;
}

.preview-review-bars span {
  overflow: hidden;
  color: #a8b4af;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-review-bars b {
  color: #e9c77f;
  font-family: var(--mono);
  text-align: right;
}

.preview-review-bars i,
.preview-bar-record__plot i,
.preview-coverage-bars i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #202823;
  box-shadow: inset 0 0 0 1px rgba(218, 239, 231, 0.04);
}

.preview-review-bars u,
.preview-bar-record__plot u,
.preview-coverage-bars u {
  position: relative;
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ba8737, #edc576);
  text-decoration: none;
  transition: width 280ms ease;
}

.preview-review-bars u[data-min-marker]::after,
.preview-bar-record__plot u[data-min-marker]::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border: 1px solid #0f130f;
  border-radius: 50%;
  background: #f4d18b;
  box-shadow: 0 0 0 1px rgba(239, 197, 116, 0.34);
  content: "";
  transform: translateY(-50%);
}

.preview-table-chart {
  padding: 0;
  overflow: hidden;
}

.preview-table-chart > figcaption {
  margin: 0;
  padding: 18px 18px 14px;
}

.preview-axis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 92px 5px min(42%, 310px);
  color: #899892;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.preview-axis span:nth-child(2) {
  text-align: center;
}

.preview-axis span:last-child {
  text-align: right;
}

.preview-record-list--charts {
  gap: 0;
}

.preview-shell .preview-bar-record {
  min-height: 92px;
  grid-template-columns: minmax(190px, 0.86fr) minmax(150px, 1.14fr) 82px;
  gap: 18px;
  padding: 14px 18px;
  border-width: 1px 0 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.008);
  transform: none;
}

.preview-shell .preview-bar-record:hover {
  transform: none;
}

.preview-shell .preview-bar-record.is-selected,
.preview-shell .preview-bar-record[aria-current="true"] {
  background: linear-gradient(90deg, rgba(100, 224, 176, 0.075), rgba(100, 224, 176, 0.012));
  box-shadow: inset 3px 0 #67e4ba;
}

.preview-shell .preview-bar-record--review.is-selected,
.preview-shell .preview-bar-record--review[aria-current="true"] {
  border-color: rgba(239, 197, 116, 0.18);
  background: linear-gradient(90deg, rgba(239, 197, 116, 0.085), rgba(239, 197, 116, 0.01));
  box-shadow: inset 3px 0 #e5b85d;
}

.preview-bar-record__plot {
  min-width: 0;
}

.preview-bar-record__plot i {
  position: relative;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.11) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    #202823;
}

.preview-bar-record:not(.preview-bar-record--review) .preview-bar-record__plot u,
.preview-coverage-bars u {
  background: linear-gradient(90deg, #2eac7d, #72dfb4);
}

.preview-bar-record > b {
  min-width: 0;
}

.preview-pipeline-figure {
  padding-bottom: 22px;
}

.preview-pipeline {
  display: grid;
  grid-template-columns: 1.1fr 0.78fr repeat(3, 1fr);
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-pipeline > li {
  position: relative;
  min-width: 0;
  min-height: 154px;
  padding: 13px;
  border: 1px solid rgba(218, 239, 231, 0.08);
  border-radius: 11px;
  background: #0c100e;
}

.preview-pipeline > li > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(218, 239, 231, 0.12);
  border-radius: 50%;
  color: #899892;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.preview-pipeline > li > i {
  display: block;
  width: 100%;
  height: 3px;
  margin: 14px 0;
  border-radius: 99px;
  background: #303a35;
}

.preview-pipeline > li small,
.preview-pipeline > li strong,
.preview-pipeline > li em {
  display: block;
}

.preview-pipeline > li small {
  color: #9aa7a1;
  font-size: 0.62rem;
  line-height: 1.35;
}

.preview-pipeline > li strong {
  margin-top: 8px;
  color: #e9efec;
  font-family: var(--mono);
  font-size: 1rem;
}

.preview-pipeline > li em {
  margin-top: 6px;
  color: #899892;
  font-size: 0.58rem;
  font-style: normal;
  line-height: 1.35;
}

.preview-pipeline > .preview-pipeline__review {
  border-color: rgba(239, 197, 116, 0.28);
  background: linear-gradient(145deg, rgba(239, 197, 116, 0.1), rgba(239, 197, 116, 0.025));
}

.preview-pipeline > .preview-pipeline__review > span {
  border-color: rgba(239, 197, 116, 0.3);
  color: #edc576;
}

.preview-pipeline > .preview-pipeline__review > i {
  background: #e5b85d;
}

.preview-pipeline > .preview-pipeline__review strong,
.preview-pipeline > .preview-pipeline__review em {
  color: #f0ca81;
}

.preview-pipeline > .preview-pipeline__gate {
  border: 1px dashed rgba(239, 197, 116, 0.34);
  background: repeating-linear-gradient(135deg, rgba(239, 197, 116, 0.055) 0 8px, transparent 8px 16px);
}

.preview-pipeline > .preview-pipeline__gate > span {
  border-color: rgba(239, 197, 116, 0.4);
  color: #f0ca81;
  font-size: 0.9rem;
}

.preview-pipeline > .preview-pipeline__gate strong {
  color: #f0ca81;
  font-family: var(--sans);
}

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

.preview-analytics-spend {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
}

.preview-analytics-spend > figcaption {
  grid-column: 1 / -1;
}

.preview-analytics-spend .preview-donut {
  width: 132px;
  height: 132px;
}

.preview-analytics-spend .preview-donut::before {
  width: 94px;
  height: 94px;
}

.preview-chart-legend {
  display: grid;
  gap: 7px;
  margin: 0;
}

.preview-chart-legend > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(218, 239, 231, 0.065);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.preview-chart-legend dt,
.preview-chart-legend dd {
  margin: 0;
}

.preview-chart-legend dt {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a8b4af;
  font-size: 0.64rem;
}

.preview-chart-legend dd {
  color: #e3ebe7;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-align: right;
}

.preview-chart-legend dd small {
  display: block;
  margin-top: 2px;
  color: #899892;
  font-family: var(--sans);
  font-size: 0.58rem;
}

.preview-stack-chart--counts {
  height: 64px;
  margin-top: 28px;
}

.preview-chart-legend--horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.preview-spend-comparison {
  grid-column: 1 / -1;
}

.preview-spend-comparison .preview-axis {
  margin-right: 0;
  margin-left: 0;
}

.preview-spend-comparison .preview-coverage-bars {
  margin-top: 9px;
}

.preview-spend-comparison .preview-coverage-bars > div {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.preview-spend-comparison .preview-coverage-bars > div > span {
  display: grid;
  gap: 3px;
}

.preview-spend-comparison .preview-coverage-bars em {
  color: #899892;
  font-family: var(--mono);
  font-size: 0.63rem;
}

.preview-view__footnote strong {
  color: #b8c5c0;
}

.preview-analytics-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(218, 239, 231, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.preview-donut {
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(#64e0b0 0 var(--value, 54.28%), #1c2521 var(--value, 54.28%) 100%);
}

.preview-donut::before {
  grid-area: 1 / 1;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #0b0f0d;
  box-shadow: inset 0 0 0 1px rgba(218, 239, 231, 0.06);
  content: "";
}

.preview-donut > span {
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
}

.preview-donut strong,
.preview-donut small {
  display: block;
}

.preview-donut strong {
  color: #ddf7ed;
  font-family: var(--mono);
  font-size: 1.05rem;
}

.preview-donut small {
  margin-top: 3px;
  color: #71817b;
  font-size: 0.51rem;
}

.preview-analytics-copy {
  display: grid;
  gap: 9px;
}

.preview-analytics-copy > div {
  padding: 12px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.preview-analytics-copy span,
.preview-analytics-copy strong,
.preview-analytics-copy small {
  display: block;
}

.preview-analytics-copy span {
  color: #81908b;
  font-size: 0.53rem;
}

.preview-analytics-copy strong {
  margin-top: 4px;
  color: #e5eee9;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.preview-analytics-copy small {
  margin-top: 3px;
  color: #899892;
  font-size: 0.62rem;
}

.preview-coverage-bars {
  display: grid;
  gap: 11px;
  margin-top: 17px;
}

.preview-coverage-bars > div > span {
  display: flex;
  justify-content: space-between;
  color: #81908b;
  font-size: 0.55rem;
}

.preview-coverage-bars b {
  color: #aebcb6;
  font-family: var(--mono);
}

.preview-coverage-bars em {
  font-style: normal;
}

.preview-coverage-bars i {
  display: block;
  height: 8px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #1c2421;
}

.preview-coverage-bars u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2aaa7b, #74e5b8);
  text-decoration: none;
}

.preview-view__footnote {
  margin-top: 16px;
  color: #788781;
  font-size: 0.54rem;
  line-height: 1.55;
}

.preview-rail-panel > h3 {
  margin-top: 12px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.preview-rail-panel > p {
  margin: 15px 0 0;
  color: #84948e;
  font-size: 0.66rem;
  line-height: 1.6;
}

.preview-rail-panel > p strong {
  color: #b7c8c1;
}

.preview-rail-panel > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  color: #b9e8d5;
  font-size: 0.62rem;
  font-weight: 650;
  text-decoration: none;
}

.preview-rail-facts {
  display: grid;
  gap: 1px;
  margin: 18px 0 0;
}

.preview-rail-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(218, 239, 231, 0.06);
}

.preview-rail-facts dt,
.preview-rail-facts dd {
  margin: 0;
  font-size: 0.54rem;
}

.preview-rail-facts dt {
  color: #72817b;
}

.preview-rail-facts dd {
  color: #becbc6;
  font-family: var(--mono);
  text-align: right;
}

.preview-noscript {
  margin: 18px auto 0;
  color: #8a9993;
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: center;
}

.preview-data-error {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 12px 15px;
  border: 1px solid rgba(239, 197, 116, 0.18);
  border-radius: 9px;
  background: rgba(239, 197, 116, 0.055);
  color: #d8c292;
  font-size: 0.7rem;
  line-height: 1.55;
  text-align: center;
}

.preview-data-error[hidden] {
  display: none;
}

.preview-noscript a {
  color: #b9e8d5;
}

@keyframes preview-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 881px) {
  .preview-shell .landing-product__bar {
    min-height: 64px;
    padding-inline: 24px;
  }

  .preview-shell .landing-product__brand {
    color: #eef5f1;
    font-size: 0.9rem;
    text-decoration: none;
  }

  .preview-shell .landing-product__context,
  .preview-shell .landing-product__mode {
    font-size: 0.73rem;
  }

  .preview-shell .landing-product__body {
    grid-template-columns: 210px minmax(0, 1fr) 340px;
  }

  .preview-shell .landing-product__nav {
    gap: 7px;
    padding: 28px 16px;
  }

  .preview-shell .landing-product__nav a {
    min-height: 48px;
    gap: 12px;
    padding-inline: 14px;
    font-size: 0.82rem;
  }

  .preview-shell .landing-product__nav a i {
    width: 10px;
    height: 10px;
  }

  .preview-shell .landing-product__main {
    padding: 34px 36px;
  }

  .preview-shell .landing-product__heading {
    margin-bottom: 24px;
  }

  .preview-shell .landing-product__eyebrow {
    margin-bottom: 9px;
    font-size: 0.7rem;
  }

  .preview-shell .landing-product__heading h2 {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
    line-height: 1.04;
  }

  .preview-shell .landing-product__heading .state-tag,
  .preview-shell .landing-proof .state-tag {
    padding: 0.55em 0.85em;
    font-size: 0.66rem;
  }

  .preview-shell .landing-result-grid {
    gap: 12px;
  }

  .preview-shell .landing-result {
    min-height: 116px;
    padding: 19px;
    border-radius: 12px;
  }

  .preview-shell .landing-result > span {
    font-size: 0.75rem;
  }

  .preview-shell .landing-result strong {
    margin-top: 12px;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  }

  .preview-shell .landing-result small {
    margin-top: 10px;
    font-size: 0.7rem;
  }

  .preview-shell .landing-proof {
    margin-top: 16px;
    padding: 20px;
    border-radius: 14px;
  }

  .preview-shell .landing-proof__head > div > span {
    font-size: 0.65rem;
  }

  .preview-shell .landing-proof__head > div > strong {
    margin-top: 5px;
    font-size: 0.88rem;
  }

  .preview-shell .preview-proof-step > summary {
    min-height: 52px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 13px;
  }

  .preview-shell .preview-proof-step > summary > span,
  .preview-shell .preview-proof-step > summary small {
    font-size: 0.68rem;
  }

  .preview-shell .preview-proof-step > summary strong {
    font-size: 0.78rem;
  }

  .preview-shell .preview-proof-step__detail {
    margin-left: 41px;
    font-size: 0.68rem;
  }

  .preview-shell .landing-proof__math {
    min-height: 62px;
    padding: 14px;
  }

  .preview-shell .landing-proof__math small,
  .preview-shell .landing-proof__math > b {
    font-size: 0.65rem;
  }

  .preview-shell .landing-proof__math strong {
    font-size: 0.82rem;
  }

  .preview-shell .landing-coverage {
    margin-top: 16px;
    padding: 14px 16px;
  }

  .preview-shell .landing-coverage__label {
    font-size: 0.7rem;
  }

  .preview-shell .landing-product__rail {
    padding: 36px 30px;
  }

  .preview-shell .preview-rail-panel > h3 {
    margin-top: 16px;
    font-size: 1.72rem;
  }

  .preview-shell .preview-rail-panel > p {
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .preview-shell .landing-product__rail-state {
    padding: 15px;
  }

  .preview-shell .landing-product__rail-state strong {
    font-size: 0.76rem;
  }

  .preview-shell .landing-product__rail-state small,
  .preview-shell .preview-rail-facts dt,
  .preview-shell .preview-rail-facts dd {
    font-size: 0.68rem;
  }

  .preview-shell .preview-rail-panel > a {
    font-size: 0.78rem;
  }

  .preview-shell .preview-view__intro,
  .preview-shell .preview-view__footnote {
    font-size: 0.76rem;
  }

  .preview-shell .preview-record {
    min-height: 88px;
    padding: 16px 18px;
  }

  .preview-shell .preview-record > span > small,
  .preview-shell .preview-record > span > em,
  .preview-shell .preview-record > b > small {
    font-size: 0.68rem;
  }

  .preview-shell .preview-record > span > strong,
  .preview-shell .preview-record > b {
    font-size: 0.86rem;
  }

  .preview-shell .preview-answer-grid > div {
    min-height: 136px;
    padding: 20px;
  }

  .preview-shell .preview-answer-grid span,
  .preview-shell .preview-answer-grid small,
  .preview-shell .preview-boundary-note strong,
  .preview-shell .preview-boundary-note small,
  .preview-shell .preview-analytics-copy span,
  .preview-shell .preview-analytics-copy small,
  .preview-shell .preview-coverage-bars > div > span {
    font-size: 0.7rem;
  }

  .preview-shell .preview-answer-grid strong {
    font-size: 1.5rem;
  }

  .preview-shell .preview-analytics-copy strong {
    font-size: 0.92rem;
  }

  .preview-shell .preview-product-footer .landing-stage__caption {
    font-size: 0.61rem;
  }
}

@media (max-width: 1100px) {
  .preview-shell .landing-product__body {
    grid-template-columns: 180px minmax(0, 1fr) 290px;
  }

  .preview-shell .landing-product__main {
    padding: 28px;
  }

  .preview-shell .landing-product__rail {
    padding-inline: 24px;
  }

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

  .preview-overview-graphs,
  .preview-analytics-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-spend-comparison {
    grid-column: auto;
  }

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

@media (max-width: 880px) {
  .preview-shell .preview-app-stage > .landing-product > .landing-product__body {
    height: auto;
    overflow: visible;
  }

  .preview-shell .landing-product__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-product__nav {
    display: flex;
    position: sticky;
    z-index: 5;
    top: 0;
    flex-direction: row;
    gap: 5px;
    padding: 8px 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(218, 239, 231, 0.08);
    background: rgba(7, 11, 9, 0.96);
    scrollbar-width: thin;
  }

  .landing-product__nav a {
    min-width: max-content;
    min-height: 44px;
    padding-inline: 13px;
  }

  .landing-product__main {
    padding: 24px;
    overflow: visible;
  }

  .landing-product__rail {
    padding: 24px;
    overflow: visible;
    border-top: 1px solid rgba(218, 239, 231, 0.075);
    border-left: 0;
  }

  .preview-rail-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
    gap: 0 28px;
  }

  .preview-rail-panel .landing-product__eyebrow,
  .preview-rail-panel > h3,
  .preview-rail-panel > p {
    grid-column: 1;
  }

  .preview-rail-panel .preview-rail-facts,
  .preview-rail-panel .landing-product__rail-state,
  .preview-rail-panel > a {
    grid-column: 2;
  }

  .preview-rail-panel .preview-rail-facts {
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .preview-rail-panel .landing-product__rail-state {
    align-self: start;
    margin-top: 0;
  }

  .preview-rail-panel > a {
    align-self: end;
  }

  .preview-product-footer {
    flex-wrap: wrap;
    gap: 3px 16px;
  }

  .preview-product-footer .landing-stage__caption:first-child {
    flex-basis: 100%;
  }

  .preview-overview-graphs,
  .preview-analytics-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .preview-spend-comparison {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .landing-product__bar {
    grid-template-columns: 1fr auto;
  }

  .landing-product__context {
    display: none;
  }

  .landing-product__main,
  .landing-product__rail {
    padding: 20px 16px;
  }

  .landing-product__heading {
    align-items: flex-start;
  }

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

  .landing-result {
    min-height: 108px;
  }

  .preview-proof-step > summary {
    min-height: 52px;
  }

  .preview-proof-step__detail {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .preview-proof-step__detail a {
    min-height: 44px;
  }

  .preview-record {
    min-height: 92px;
    gap: 12px;
  }

  .preview-record > b {
    max-width: 90px;
  }

  .preview-shell .landing-product__rail-state small {
    font-size: 0.7rem;
  }

  .preview-view__intro,
  .preview-view__footnote,
  .preview-record > span > small,
  .preview-record > span > em,
  .preview-record > b > small,
  .preview-proof-step > summary > span,
  .preview-proof-step > summary small,
  .preview-proof-step__detail,
  .preview-analytics-copy span,
  .preview-analytics-copy small,
  .preview-coverage-bars > div > span,
  .preview-rail-facts dt,
  .preview-rail-facts dd,
  .preview-boundary-note small,
  .preview-answer-grid small {
    font-size: 0.7rem;
  }

  .preview-record > span > strong,
  .preview-proof-step > summary strong,
  .preview-boundary-note strong,
  .preview-answer-grid span,
  .preview-rail-panel > p,
  .preview-rail-panel > a {
    font-size: 0.74rem;
  }

  .preview-analytics-grid {
    grid-template-columns: 1fr;
  }

  .preview-rail-panel {
    display: block;
  }

  .preview-rail-panel .preview-rail-facts,
  .preview-rail-panel .landing-product__rail-state {
    margin-top: 18px;
  }

  .preview-product-footer {
    padding: 10px 16px;
  }

  .preview-product-footer .landing-stage__caption {
    width: 100%;
    flex: none;
    font-size: 0.64rem;
  }

  .preview-product-footer .landing-stage__caption:last-child {
    white-space: normal;
  }

  .preview-product-footer a {
    min-height: 36px;
  }

  .preview-chart-card {
    padding: 15px;
    border-radius: 12px;
  }

  .preview-chart-card > figcaption {
    gap: 10px;
    margin-bottom: 15px;
  }

  .preview-chart-card > figcaption b,
  .preview-chart-card > figcaption small,
  .preview-chart-card > figcaption > strong small,
  .preview-stack-chart > span i,
  .preview-spend-figure > .landing-result-grid .landing-result > span,
  .preview-spend-figure > .landing-result-grid .landing-result small,
  .landing-result-grid--states .landing-result > span,
  .landing-result-grid--states .landing-result small,
  .preview-review-bars span,
  .preview-review-bars b,
  .preview-axis,
  .preview-pipeline > li > span,
  .preview-pipeline > li small,
  .preview-pipeline > li em,
  .preview-donut small,
  .preview-chart-legend dt,
  .preview-chart-legend dd,
  .preview-chart-legend dd small,
  .preview-spend-comparison .preview-coverage-bars em {
    font-size: 0.7rem;
  }

  .preview-chart-card > figcaption > strong {
    font-size: 0.88rem;
  }

  .preview-overview-graphs,
  .preview-analytics-dashboard,
  .preview-analytics-spend {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-analytics-spend > figcaption {
    grid-column: auto;
  }

  .preview-analytics-spend .preview-donut {
    margin-inline: auto;
  }

  .preview-review-bars > div {
    grid-template-columns: 72px minmax(48px, 1fr) 72px;
    gap: 8px;
  }

  .preview-shell .preview-bar-record {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
  }

  .preview-bar-record__label {
    grid-column: 1 / -1;
  }

  .preview-bar-record__plot {
    grid-column: 1;
  }

  .preview-bar-record > b {
    grid-column: 2;
    grid-row: 2;
  }

  .preview-axis {
    margin-right: 82px;
    margin-left: 18px;
  }

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

  .preview-pipeline > li {
    min-height: 126px;
  }

  .preview-spend-comparison .preview-coverage-bars > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .preview-chart-legend--horizontal {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .landing-product__nav a {
    min-width: 44px;
    justify-content: center;
    padding-inline: 10px;
  }

  .landing-product__nav a i {
    display: none;
  }

  .landing-result-grid,
  .preview-answer-grid {
    grid-template-columns: 1fr;
  }

  .landing-result {
    min-height: 96px;
  }

  .preview-record {
    grid-template-columns: 1fr;
  }

  .preview-record > b {
    max-width: none;
    text-align: left;
  }

  .preview-shell .preview-bar-record {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .preview-bar-record > b {
    text-align: right;
  }

  .preview-spend-figure > .landing-result-grid,
  .landing-result-grid--states {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-view.is-active,
  .preview-rail-panel.is-active {
    animation: none;
  }

  .landing-result,
  .preview-record,
  .preview-proof-step > summary b,
  .landing-product__nav a,
  .preview-stack-chart > span,
  .preview-review-bars u,
  .preview-bar-record__plot u,
  .preview-coverage-bars u {
    transition: none;
  }
}
