.landing-copy h1 em { color: var(--cr-copper); font-style: italic; }
@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/static/fonts/instrument-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/static/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cr-paper: #f4f0e6;
  --cr-ink: #263b4b;
  --cr-teal: #087f73;
  --cr-copper: #ad4e31;
  --cr-muted: #626b65;
  --cr-quiet: #70766f;
  --cr-rule: #d8d3c6;
  --cr-mat: #e9e3d6;
  --cr-button-text: #faf3e7;
  --cr-surface: #f8f5ed;
  --cr-soft-copper: #f1e4d9;
  --cr-font-sans: "DM Sans", sans-serif;
  --cr-font-serif: "Instrument Serif", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--cr-paper); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--cr-paper);
  color: var(--cr-ink);
  font: 16px/1.65 var(--cr-font-sans);
  -webkit-font-smoothing: antialiased;
}
.cr-shell {
  width: min(100% - 48px, 1052px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 32px 0 24px;
  display: flex;
  flex-direction: column;
}
.cr-nav {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--cr-rule);
  padding: 0 0 19px;
}
.customer-links { display: flex; align-items: center; justify-content: center; flex: 1; gap: clamp(8px,1.6vw,22px); }
.customer-links a { color: var(--cr-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.customer-links a:hover, .customer-links a:focus-visible { color: var(--cr-copper); text-decoration: underline; }
.dashboard-quick-links { margin: 0 0 20px; font-size: 13px; }
.danger-action, .account-delete-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--cr-rule); }
.danger-button { border: 1px solid #943d2a; background: #943d2a; color: white; min-height: 42px; padding: 10px 16px; border-radius: 4px; font-weight: 600; cursor: pointer; }
.account-panel { margin: 18px 0; }
.account-panel form { display: grid; gap: 12px; max-width: 620px; }
.account-panel .cr-field input { width: 100%; }
.danger-panel { border-color: #aa684d; }
.profile-panel .grid { margin: 20px 0; }
.customer-links a:focus-visible, .danger-button:focus-visible { outline: 3px solid #b77b56; outline-offset: 3px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cr-ink);
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}
.brand:hover { color: var(--cr-copper); }
.radar-mark {
  display: inline-block;
  position: relative;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 1.4px solid var(--cr-copper);
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 47%, var(--cr-copper) 48%, var(--cr-copper) 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, var(--cr-copper) 49%, var(--cr-copper) 52%, transparent 53%);
  opacity: .94;
}
.radar-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.2px solid var(--cr-copper);
  border-radius: 50%;
}
.radar-mark::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 11px;
  top: 11px;
  border-radius: 50%;
  background: var(--cr-copper);
  box-shadow: 0 -10px 0 -1px var(--cr-copper), 10px 0 0 -1px var(--cr-copper), 0 10px 0 -1px var(--cr-copper), -10px 0 0 -1px var(--cr-copper);
}
.nav-account { margin: 0; }
.nav-price { margin-left: auto; }
main { flex: 1; }
h1, h2, h3 { color: var(--cr-ink); }
h1, .landing-copy h1 {
  margin: 0;
  font: 400 clamp(42px, 6vw, 64px)/1.03 var(--cr-font-serif);
  letter-spacing: -1.7px;
}
h2 {
  margin: 0 0 12px;
  font: 400 clamp(27px, 3.4vw, 36px)/1.1 var(--cr-font-serif);
  letter-spacing: -.3px;
}
h3 { font-size: 17px; line-height: 1.35; }
p { margin: 0 0 15px; }
p, .muted { color: var(--cr-muted); }
a { color: var(--cr-ink); text-decoration-color: var(--cr-copper); text-underline-offset: 3px; }
a:hover { color: var(--cr-copper); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--cr-ink);
  outline-offset: 5px;
}
.badge, .panel-kicker, .footer-mark {
  display: inline-block;
  color: var(--cr-muted);
  font: 600 10px/1.7 var(--cr-font-sans);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.panel-kicker { margin: 0 0 9px; color: var(--cr-copper); }
.panel-kicker.cr-eyebrow { display: flex; align-items: center; gap: 9px; }
.notice {
  margin: 16px 0;
  padding: 13px 16px;
  border: 1px solid var(--cr-rule);
  border-left: 3px solid var(--cr-copper);
  border-radius: 3px;
  background: var(--cr-surface);
  color: var(--cr-ink);
  overflow-wrap: anywhere;
}
.flash-message { margin: 17px 0 0; }
.cr-button, button, .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--cr-copper);
  border-radius: 3px;
  background: var(--cr-copper);
  color: var(--cr-button-text);
  font: 600 13px/1.3 var(--cr-font-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.cr-button:hover, button:hover, .button:hover {
  transform: translateY(-2px);
  background: #98412a;
  border-color: #98412a;
  color: var(--cr-button-text);
}
.secondary {
  background: transparent;
  color: var(--cr-ink);
  border-color: var(--cr-rule);
}
.secondary:hover { background: var(--cr-mat); color: var(--cr-ink); border-color: #c8c1b3; }
button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
form { margin: 0; }
label {
  display: block;
  margin: 0 0 17px;
  color: var(--cr-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.cr-field { display: grid; gap: 7px; }
input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 7px 0 0;
  padding: 11px 13px;
  border: 1px solid #c9c4b7;
  border-radius: 3px;
  background: var(--cr-surface);
  color: var(--cr-ink);
  font: 16px/1.4 var(--cr-font-sans);
}
input::placeholder { color: var(--cr-muted); opacity: 1; }
input:focus-visible { border-color: var(--cr-ink); }
section.editorial-panel, .editorial-panel {
  margin: 24px 0;
  padding: 25px 0;
  border-top: 1px solid var(--cr-rule);
  border-bottom: 1px solid var(--cr-rule);
  border-left: 0;
  border-right: 0;
  border-radius: 3px;
  background: transparent;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.grid .card, article.card {
  margin: 0;
  padding: 21px 22px;
  border: 1px solid var(--cr-rule);
  border-radius: 3px;
  background: var(--cr-surface);
}
.small { font-size: 13px; }
.cr-footer {
  margin-top: auto;
  padding: 25px 0 0;
  border-top: 1px solid var(--cr-rule);
  color: var(--cr-muted);
  font-size: 11px;
  line-height: 1.8;
}
.footer-mark { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 7px; font-size: 9px; letter-spacing: 1.4px; }
.footer-mark .radar-mark { width: 19px; height: 19px; flex-basis: 19px; transform: scale(.72); transform-origin: center; margin: -4px; }
.cr-footer p { max-width: 750px; margin: 0; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--cr-rule); }
.footer-links a { color: var(--cr-ink); }

/* Landing: the original editorial copy remains the product's promise. */
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 44px;
  min-height: 590px;
  padding: 40px 0 52px;
}
.landing-copy { padding: 18px 0; }
.landing-copy .badge { margin: 0 0 15px; color: var(--cr-copper); }
.landing-copy h1 { max-width: 650px; margin: 0 0 22px; }
.landing-copy .landing-description { max-width: 435px; margin: 0; font-size: 17px; line-height: 1.8; }
.landing-price { margin: 25px 0 19px; color: var(--cr-ink); font-size: 14px; font-weight: 600; }
.landing-cta { padding-inline: 23px; }
.landing-art { min-width: 0; overflow: hidden; }
.cr-art-mat {
  padding: 10px;
  border: 1px solid var(--cr-rule);
  border-radius: 3px;
  background: var(--cr-mat);
}
.landing-art picture { display: block; }
.landing-art img { display: block; width: 100%; height: auto; object-fit: contain; }

/* Public benchmark charts, rendered from official observations only. */
.benchmark-section { max-width: 100%; min-width: 0; overflow-x: clip; margin: 36px 0 48px; padding: 28px 0 10px; border-top: 1px solid var(--cr-rule); }
.section-heading { max-width: 760px; margin: 0 0 20px; }
.section-heading > .badge { margin-bottom: 9px; color: var(--cr-copper); }
.section-heading h2 { margin: 0 0 10px; }
.section-heading > p:last-child { margin: 0; color: var(--cr-muted); }
.benchmark-status, .benchmark-updated { color: var(--cr-muted); font-size: 12px; }
.benchmark-carousel { width: 100%; max-width: 100%; min-width: 0; }
.benchmark-grid {
  display: flex; gap: 16px; width: 100%; min-width: 0; max-width: 100%;
  overflow-x: auto; overflow-y: hidden; align-items: stretch;
  scroll-snap-type: x mandatory; scroll-padding-inline: 1px;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; touch-action: pan-x pan-y;
}
.benchmark-grid::-webkit-scrollbar { display: none; }
.benchmark-card {
  flex: 0 0 calc((100% - 16px) / 2); min-width: 0; max-width: 100%;
  padding: 18px 16px; border: 1px solid var(--cr-rule); border-radius: 3px; background: var(--cr-surface);
  scroll-snap-align: start; scroll-snap-stop: always;
}
.chart-carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 10px; }
.chart-carousel-arrow {
  display: inline-grid; place-items: center; width: 44px; min-width: 44px; height: 44px;
  border: 1px solid var(--cr-rule); border-radius: 50%; background: var(--cr-surface);
  color: var(--cr-ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.chart-carousel-arrow:hover:not(:disabled) { border-color: var(--cr-teal); color: var(--cr-teal); }
.chart-carousel-arrow:disabled { opacity: .45; cursor: not-allowed; }
.chart-carousel-dots { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 4px 0; }
.chart-carousel-dots button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.chart-carousel-dots button span {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cr-muted); transition: width .18s ease, background-color .18s ease;
}
.chart-carousel-dots button[aria-current="true"] span { width: 22px; border-radius: 8px; background: var(--cr-teal); }
.chart-swipe-hint { display: none; margin: 3px 0 0; color: var(--cr-muted); font-size: 12px; text-align: center; }
.term-help { margin-block: 7px; }
.term-help > summary { min-height: 42px; font-size: 12px; }
.term-help .cr-accordion__content p { margin: 0; color: var(--cr-muted); font-size: 12px; line-height: 1.55; }
.benchmark-card h3 { margin: 0 0 4px; font-size: 18px; }
.benchmark-card .chart-unit { margin: 0; color: var(--cr-muted); font-size: 12px; }
.benchmark-chart { min-height: 180px; margin-top: 10px; display: flex; align-items: center; color: var(--cr-muted); font-size: 12px; }
.benchmark-chart svg { display: block; width: 100%; height: auto; min-height: 160px; overflow: visible; }
.chart-gridline { stroke: var(--cr-rule); stroke-width: 1; }
.chart-axis { stroke: var(--cr-ink); stroke-width: 1; }
.chart-axis-label { fill: var(--cr-muted); font: 11px sans-serif; }
.chart-line { fill: none; stroke: var(--cr-teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-marker { fill: var(--cr-copper); stroke: var(--cr-surface); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-controls { margin: 7px 0 4px; }
.chart-slider-label { display: flex; align-items: center; gap: 10px; color: var(--cr-muted); font-size: 11px; }
.chart-slider-label input { flex: 1; min-width: 0; accent-color: var(--cr-teal); }
.chart-readout { min-height: 20px; margin: 7px 0; font-size: 12px; font-weight: 600; color: var(--cr-ink); }
.chart-note { min-height: 62px; margin: 10px 0; color: var(--cr-muted); font-size: 12px; line-height: 1.65; }
.chart-explanation { margin: 12px 0 15px; padding: 13px 14px; border-left: 2px solid var(--cr-teal); background: var(--cr-paper); font-size: 12px; line-height: 1.65; }
.chart-explanation p { margin: 0 0 8px; }
.chart-explanation p:last-child { margin-bottom: 0; }
.chart-explanation strong { color: var(--cr-ink); }
.benchmark-card > a { font-size: 12px; }
.report-benchmarks { margin-top: 25px; }
.business-meaning { margin: 0 0 50px; padding: 28px 0 0; border-top: 1px solid var(--cr-rule); }
.impact-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.impact-guide { padding: 17px 18px; border: 1px solid var(--cr-rule); background: var(--cr-surface); }
.impact-guide h3 { margin: 0 0 8px; font-size: 17px; }
.impact-guide p { margin: 0; color: var(--cr-muted); font-size: 13px; line-height: 1.7; }
.impact-disclaimer { max-width: 850px; margin: 17px 0; color: var(--cr-muted); font-size: 12px; line-height: 1.7; }

/* Public Contact and legal pages. */
.contact-panel { max-width: 760px; margin: 15px 0 45px; }
.contact-panel h2 { margin-top: 0; }
.contact-form { display: grid; gap: 17px; margin-top: 20px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--cr-ink); font-size: 13px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid var(--cr-rule);
  border-radius: 3px; background: var(--cr-surface); color: var(--cr-ink); font: inherit;
}
.form-field textarea { min-height: 155px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--cr-teal) 30%, transparent); border-color: var(--cr-teal);
}
.form-field [aria-invalid="true"] { border-color: #a83e32; }
.field-error { color: #8f2d24; font-size: 12px; }
.form-error { margin: 10px 0; }
.privacy-note { margin: 0; color: var(--cr-muted); font-size: 12px; line-height: 1.7; }
.contact-honeypot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.legal-page { max-width: 800px; padding: 35px 0 48px; }
.legal-page h1 { margin-bottom: 9px; }
.legal-page h2 { margin-top: 27px; font-size: 20px; }
.legal-page p { max-width: 760px; line-height: 1.8; }
.support-inbox { display: grid; gap: 14px; margin: 10px 0 48px; }
.inbox-message { overflow-wrap: anywhere; }
.inbox-message-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.inbox-message-heading h2 { margin: 4px 0; font-size: 20px; }
.inbox-message-heading .panel-kicker { margin: 0; }
.inbox-message-body { white-space: pre-wrap; overflow-wrap: anywhere; padding: 15px; background: var(--cr-mat); border-left: 2px solid var(--cr-copper); }

/* Authentication and account recovery */
.page-heading { padding: 35px 0 13px; }
.page-heading > .badge { margin: 0 0 8px; color: var(--cr-copper); }
.page-heading h1 { margin: 0 0 13px; }
.page-heading > p:last-child { max-width: 690px; }
.auth-heading { max-width: 740px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.auth-panel { margin: 20px 0 !important; }
.auth-panel h2 { margin-bottom: 19px; }
.form-footnote { margin: 18px 0 0; font-size: 13px; }
.recovery-panel { max-width: 680px; margin-top: 31px !important; }
.recovery-panel h1 { margin: 7px 0 16px; }
.recovery-copy { max-width: 620px; margin-bottom: 22px; }
.recovery-panel form { max-width: 550px; }

/* Dashboard and one-time purchase ledger */
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 35px 0 17px; }
.dash-head h1 { max-width: 700px; margin: 8px 0 15px; }
.dash-head .intro { max-width: 680px; margin: 0; }
.mode {
  flex: 0 0 auto;
  margin-top: 9px;
  padding: 6px 10px;
  border: 1px solid var(--cr-rule);
  border-radius: 3px;
  color: var(--cr-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mode.test { border-color: #c58c61; background: #f5e9d7; color: #714322; }
.mode.live { border-color: #a9b9a6; background: #e9eee4; color: #3d5a46; }
.settings-panel > p:not(.panel-kicker) { max-width: 700px; }
.settings-panel .grid { margin: 21px 0 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 34px;
  padding: 25px 26px !important;
  border: 1px solid var(--cr-rule) !important;
  background: var(--cr-mat) !important;
}
.buy-panel h2 { margin: 3px 0 11px; }
.buy-panel p:not(.panel-kicker) { max-width: 680px; margin: 0; }
.buy-form { min-width: 0; text-align: center; }
.buy-form form button { width: 100%; min-height: 52px; }
.buy-form > p { margin-top: 12px !important; font-size: 13px; }
.subtle { font-size: 13px; color: var(--cr-muted); }
.table-wrap, .history-table { margin-top: 17px; }
.scroll { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; color: var(--cr-ink); font-size: 13px; }
th { color: var(--cr-muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
td, th { padding: 13px 12px; border-bottom: 1px solid var(--cr-rule); text-align: left; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(233, 227, 214, .45); }
.run-id, .purchase-id, .reference, .receipt-ref {
  color: var(--cr-ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.state, .purchase-state, .environment, .payment-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid var(--cr-rule);
  border-radius: 3px;
  background: var(--cr-surface);
  color: var(--cr-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .45px;
  text-transform: capitalize;
}
.state[data-state="paid"], .state[data-state="complete"], .purchase-state[data-state="paid"], .purchase-state[data-state="complete"], .payment-status[data-state="paid"], .payment-status[data-state="complete"] {
  border-color: #a9b9a6;
  background: #e9eee4;
  color: #3d5a46;
}
.state[data-state="unpaid"], .purchase-state[data-state="unpaid"], .payment-status[data-state="unpaid"] {
  border-color: #d2a77c;
  background: #f5e9d7;
  color: #714322;
}
.row-actions, .purchase-actions { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.row-actions form, .purchase-actions form { margin: 0; }
.row-actions button, .purchase-actions .button { min-height: 38px; padding: 7px 10px; font-size: 12px; }
.row-actions .report-link { font-weight: 700; }
.empty-runs, .empty-history { padding: 30px 18px !important; color: var(--cr-muted); font-size: 14px; }
.history-head { padding: 31px 0 13px; }
.history-head h1 { margin: 6px 0 12px; }
.history-head p { max-width: 760px; }
.history-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 15px; }
.history-tools form { margin: 0; }
.history-tools button, .history-tools .button { min-height: 42px; }
.history-note { margin: 13px 0 21px; }
.history-table table { min-width: 800px; }
.environment { text-transform: uppercase; }
.environment.test { border-color: #d2a77c; background: #f5e9d7; color: #714322; }
.environment.live { border-color: #a9b9a6; background: #e9eee4; color: #3d5a46; }
.archive-label { display: block; margin-top: 5px; color: var(--cr-muted); font-size: 11px; }
.receipt-ref { display: block; margin-top: 5px; color: var(--cr-muted); line-height: 1.5; }
.purchase-actions a { white-space: nowrap; }
.back-link { display: inline-block; margin: 8px 0 24px; }

/* Payment confirmation and polling states */
.payment-shell { max-width: 760px; margin: 34px auto; }
.payment-hero { padding: 28px 30px !important; border: 1px solid var(--cr-rule) !important; background: var(--cr-surface) !important; }
.payment-hero h1 { margin: 13px 0 18px; font-size: clamp(39px, 5vw, 52px); }
.payment-status { margin-bottom: 2px; text-transform: uppercase; letter-spacing: .8px; }
.payment-hero h2 { margin: 0 0 11px; }
.payment-hero #payment-message p { max-width: 650px; }
.payment-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.payment-actions form { margin: 0; }
.payment-actions button { min-width: 150px; }
.meta { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--cr-rule); }
.meta p { margin: 7px 0; overflow-wrap: anywhere; }
.poll-note { font-size: 13px; }
.consumed { padding-left: 13px; border-left: 3px solid var(--cr-copper); }

/* Saved report: source values stay legible without suggesting generated precision. */
.report-top { padding: 32px 0 8px; }
.report-top > .badge { color: var(--cr-copper); }
.report-top h1 { margin: 7px 0 13px; }
.report-lede { max-width: 780px; font-size: 18px; line-height: 1.65; }
.report-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 21px 0; }
.report-actions .button { min-height: 48px; }
.impacts-panel, .next-steps-panel { margin: 20px 0; }
.impact-total-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.impact-total { display: grid; gap: 4px; padding: 15px 16px; border: 1px solid var(--cr-rule); background: var(--cr-surface); }
.impact-total span { color: var(--cr-muted); font-size: 12px; }
.impact-total strong { color: var(--cr-copper); font: 400 clamp(24px, 3vw, 32px)/1.15 var(--cr-font-serif); overflow-wrap: anywhere; }
.impact-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 18px;
  align-items: start; padding: 17px 0; border-bottom: 1px solid var(--cr-rule);
}
.impact-row:last-child { border-bottom: 0; }
.impact-label { color: var(--cr-ink); font-weight: 700; }
.impact-amount { display: grid; gap: 3px; color: var(--cr-copper); text-align: right; }
.impact-amount strong { font: 400 25px/1.1 var(--cr-font-serif); overflow-wrap: anywhere; }
.impact-amount span, .impact-observation { color: var(--cr-muted); font-size: 11px; }
.impact-row > p { grid-column: 1 / -1; margin: 0; }
.impact-assumption { color: var(--cr-muted); font-size: 13px; }
.market-overview-label { display: inline-block; margin: 2px 0 10px; padding: 5px 9px; border: 1px solid var(--cr-teal); color: var(--cr-teal); font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.next-steps-list { display: grid; gap: 9px; padding-left: 21px; }
.next-steps-list li { padding-left: 3px; }
.input-assumption-note { max-width: 700px; margin-top: -5px; }
.report-cards { margin-top: 18px; }
.financial-snapshot-panel { display: grid; gap: 15px; }
.financial-snapshot-panel > h2 { margin: -8px 0 0; }
.snapshot-disclaimer { max-width: 850px; margin: -6px 0 0; color: var(--cr-muted); font-size: 13px; }
.financial-snapshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.snapshot-card { min-width: 0; padding: 18px; border: 1px solid var(--cr-rule); background: var(--cr-surface); }
.snapshot-card h3 { margin: 0 0 11px; font: 400 22px/1.2 var(--cr-font-serif); color: var(--cr-ink); }
.score-display { display: flex; align-items: baseline; gap: 8px; color: var(--cr-copper); }
.score-display strong { font: 400 clamp(42px, 6vw, 58px)/1 var(--cr-font-serif); }
.score-display span { color: var(--cr-muted); font-size: 13px; }
.score-card meter { display: block; width: 100%; height: 15px; margin: 12px 0; accent-color: var(--cr-teal); }
.score-parts { display: grid; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.score-parts li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--cr-rule); }
.score-parts li > span { display: grid; gap: 3px; }
.score-parts b { flex: 0 0 auto; color: var(--cr-copper); }
.snapshot-value { color: var(--cr-copper); font: 400 clamp(25px, 3vw, 34px)/1.15 var(--cr-font-serif); overflow-wrap: anywhere; }
.snapshot-unavailable { color: var(--cr-muted); font: 600 18px/1.4 var(--cr-font-sans); }
.snapshot-secondary { color: var(--cr-muted); font-size: 12px; }
.financial-detail-accordions { display: grid; gap: 8px; }
.financial-detail-accordions > details > summary { min-height: 52px; }
.financial-detail-accordions .cr-accordion__summary-copy { display: grid; gap: 3px; }
.financial-detail-accordions .cr-accordion__summary-copy > span:first-child { font-weight: 700; }
.financial-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.financial-snapshot-table, .projection-table { width: 100%; border-collapse: collapse; }
.financial-snapshot-table { min-width: 430px; }
.projection-table { min-width: 590px; }
.financial-snapshot-table th, .financial-snapshot-table td,
.projection-table th, .projection-table td { padding: 10px 11px; border-bottom: 1px solid var(--cr-rule); text-align: left; vertical-align: top; }
.financial-snapshot-table th, .projection-table th { color: var(--cr-ink); font-weight: 700; }
.financial-snapshot-table td, .projection-table td { color: var(--cr-copper); font-weight: 700; }
.financial-snapshot-table td { white-space: nowrap; }
.projection-table thead { background: var(--cr-navy); }
.projection-table thead th { color: #fff; }
.snapshot-metrics { display: grid; gap: 0; margin: 0; }
.snapshot-metrics > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--cr-rule); }
.snapshot-metrics dt { color: var(--cr-muted); }
.snapshot-metrics dd { margin: 0; color: var(--cr-copper); font-weight: 700; text-align: right; }

@media (max-width: 760px) {
  .benchmark-section { margin-inline: 0; }
  .benchmark-grid { gap: 12px; scroll-padding-inline: 1px; }
  .benchmark-card { flex-basis: calc(100% - 42px); padding: 17px; }
  .chart-carousel-controls { display: none; }
  .chart-swipe-hint { display: block; }
  .chart-note { min-height: 0; }
  .contact-panel { padding: 20px !important; }
  .inbox-message-heading { flex-direction: column; }
  .impact-guide-grid { grid-template-columns: 1fr; }
  .impact-total-grid { grid-template-columns: 1fr; }
  .financial-snapshot-grid { grid-template-columns: 1fr; }
  .snapshot-card { padding: 15px; }
  .snapshot-metrics > div { align-items: flex-start; }
  .score-parts li { display: grid; }
}
@media (max-width: 480px) {
  .footer-links { gap: 11px 15px; }
  .benchmark-section { margin-top: 26px; padding-top: 22px; }
  .benchmark-chart svg { min-height: 145px; }
  .contact-form button { width: 100%; }
  .financial-snapshot-table { min-width: 420px; }
  .projection-table { min-width: 560px; }
}
.report-card { min-width: 0; }
.report-card h2 { margin: 10px 0 9px; }
.value { color: var(--cr-copper); font: 400 clamp(26px, 3vw, 34px)/1.2 var(--cr-font-serif); overflow-wrap: anywhere; }
.report-card p { margin: 10px 0 0; }
.source-list { display: flex; flex-wrap: wrap; gap: 9px; }
.source-list a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 12px; border: 1px solid var(--cr-rule); border-radius: 3px; background: var(--cr-surface); text-decoration: none; font-size: 13px; }
.source-list a:hover { border-color: var(--cr-copper); }
.limitation { max-width: 900px; margin: 20px 0 0; font-size: 13px; }

@media (min-width: 1500px) {
  .cr-shell { padding-top: 44px; }
}
@media (max-width: 760px) {
  .cr-shell { width: calc(100% - 36px); padding-top: 22px; }
  .cr-nav { flex-wrap: wrap; }
  .customer-links { order: 3; width: 100%; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding: 8px 0; gap: 16px; }
  .customer-links a { white-space: nowrap; font-size: 12px; }
  .nav-account { margin-left: auto; }
  .cr-nav { padding-bottom: 16px; }
  .landing-hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 35px 0 25px; }
  .landing-copy { padding: 0; }
  .landing-copy h1 { font-size: clamp(42px, 10vw, 58px); }
  .landing-copy .landing-description { font-size: 17px; }
  .landing-art img { aspect-ratio: 16 / 9; object-fit: contain; }
  .page-heading, .history-head { padding-top: 25px; }
  .auth-grid { grid-template-columns: 1fr; gap: 0; }
  .auth-panel { margin: 14px 0 !important; }
  .dash-head { display: block; padding-top: 25px; }
  .mode { display: inline-flex; margin: 17px 0 0; }
  .settings-panel .grid { grid-template-columns: 1fr; gap: 0; }
  .buy-panel { grid-template-columns: 1fr; gap: 18px; padding: 21px 18px !important; }
  .buy-form { text-align: left; }
  .buy-form form { max-width: 350px; }
  .scroll table { min-width: 620px; }
  .history-table table { min-width: 800px; }
  .payment-shell { margin: 20px auto; }
  .payment-hero { padding: 22px 18px !important; }
  .payment-actions > * { width: 100%; }
  .payment-actions form button { width: 100%; }
  .impact-row { grid-template-columns: 1fr; gap: 6px; }
  .impact-amount { text-align: left; }
  .report-actions > * { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .cr-shell { width: calc(100% - 32px); }
  .brand { font-size: 21px; }
  .nav-price { font-size: 9px; }
  h1 { font-size: 43px; }
  .landing-copy h1 { font-size: clamp(42px, 12vw, 52px); }
  .landing-art { padding: 6px; }
  .grid .card, article.card { padding: 18px; }
  .footer-mark { font-size: 8px; letter-spacing: 1px; }
}

/* Customer report actions use cards rather than horizontally-scrolling tables. */
.customer-report-list { display: grid; gap: 13px; margin-top: 18px; }
.customer-report-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--cr-rule);
  background: var(--cr-surface);
}
.customer-report-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.customer-report-heading h2,
.customer-report-heading h3 {
  margin: 0;
  color: var(--cr-ink);
  font: 400 22px/1.2 var(--cr-font-serif);
}
.customer-report-heading .state { flex: 0 0 auto; }
.customer-report-status { margin: 12px 0 0; color: var(--cr-text-accessible); font-size: 13px; line-height: 1.65; }
.report-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.report-card-actions form { margin: 0; }
.report-run-form { flex: 0 1 290px; display: grid; gap: 8px; }
.report-period-label {
  display: grid;
  gap: 5px;
  color: var(--cr-text-accessible);
  font-size: 12px;
  line-height: 1.4;
}
.report-period-label .cr-input { width: 100%; min-height: 42px; }
.report-run-button { width: 100%; min-height: 48px; font-size: 15px; }
.report-action-button { min-height: 44px; text-align: center; }
.report-progress {
  flex: 1 1 100%;
  padding: 13px 15px;
  border-left: 3px solid var(--cr-copper);
  background: var(--cr-mat);
  color: var(--cr-ink);
}
.report-progress progress { display: block; width: 100%; height: 10px; margin: 10px 0; accent-color: var(--cr-teal); }
.report-progress p { margin: 0; color: var(--cr-text-accessible); font-size: 13px; line-height: 1.6; }
.report-deleted-note { flex: 1 1 100%; color: var(--cr-text-accessible); font-size: 13px; line-height: 1.6; }

@media (max-width: 760px) {
  .customer-report-card { padding: 17px; }
  .customer-report-heading { flex-direction: column; gap: 9px; }
  .report-card-actions { align-items: stretch; }
  .report-card-actions > a,
  .report-card-actions > form,
  .report-card-actions > form button { width: 100%; }
  .report-run-form { flex-basis: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
