.product-body {
  background:
    radial-gradient(circle at 80% 0%, rgba(42, 157, 148, 0.12), transparent 34rem),
    radial-gradient(circle at 0% 22%, rgba(244, 96, 60, 0.1), transparent 30rem),
    var(--bg);
}

.product-nav-wrap {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 8, 19, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.product-nav,
.product-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.product-nav .brand { color: var(--paper); }

.product-nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.product-nav-actions a { color: var(--paper-3); }
.product-nav-actions a:hover { color: var(--orange); }
.product-nav-actions a[aria-current="page"] { color: var(--paper); }

.nav-signout {
  min-height: 44px;
  border: 1px solid var(--line-mute);
  border-radius: 999px;
  background: transparent;
  color: var(--paper-3);
  padding: 0 18px;
  font: 600 14px var(--sans);
  cursor: pointer;
}

.nav-signout[hidden],
.product-footer-signout[hidden] { display: none; }

.auth-page {
  min-height: min(680px, calc(100vh - 240px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.auth-intro { padding: 24px 0; }
.auth-intro .product-title { max-width: 650px; color: var(--paper); }
.auth-intro .product-lede { max-width: 610px; color: var(--paper-4); }

.auth-benefits {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.auth-benefits li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.auth-benefits li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 205, 192, 0.5);
  border-radius: 50%;
  color: var(--teal-bright);
  font-weight: 800;
}

.auth-benefits strong,
.auth-benefits small { display: block; }
.auth-benefits strong { color: var(--paper); font-size: 15px; }
.auth-benefits small { margin-top: 4px; color: var(--paper-6); line-height: 1.5; }
.auth-card { width: 100%; max-width: none; margin: 0; }
.auth-signed-out { margin: 18px 0 0; }

.product-shell {
  width: min(1100px, calc(100% - 40px));
  min-height: calc(100vh - 168px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.product-shell:focus { outline: none; }

/* Report unlock: approved Action Plan concept. */
.unlock-a { color: var(--ink); }
.unlock-a-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: stretch; }
.unlock-a-summary, .unlock-a .unlock-panel { min-width: 0; background: var(--cream); border: 1px solid var(--cream-line); border-radius: 7px; padding: 28px; }
.unlock-a .summary-head { display: block; margin: 0; }
.unlock-a-complete { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-badge-ink); background: var(--teal-badge-bg); border-radius: 30px; padding: 6px 12px; font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.unlock-a-complete > span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-badge-ink); }
.unlock-a .product-url { color: var(--ink-4); font: 500 16px/1.4 var(--sans); margin: 0 0 24px; overflow-wrap: anywhere; }
.unlock-a .product-title { font: 700 clamp(36px,4.5vw,56px)/1.03 var(--serif); letter-spacing: -1.5px; margin: 0 0 16px; }
.unlock-a .product-title em { font-style: normal; color: var(--orange-deep); }
.unlock-a .product-lede { font-size: 18px; line-height: 1.5; color: var(--ink-4); margin: 0 0 24px; }
.unlock-a-counts { background: var(--panel-deep); color: var(--paper); border-radius: 12px; padding: 22px; border-top: 3px solid var(--teal); }
.unlock-a-counts.has-findings { border-top-color: var(--orange-deep); }
.unlock-a-summary h2 { margin: 0 0 20px; font: 700 27px/1.2 var(--serif); }
.unlock-a-counts .unlock-a-counts-label { color: var(--paper-3); font: 700 10px/1.5 var(--sans); letter-spacing: 1.3px; margin: 0 0 8px; }
.unlock-a-counts h2 { color: var(--paper); margin-bottom: 10px; }
.unlock-a-counts h2 strong { color: var(--paper); font: 700 36px/1 var(--sans); }
.unlock-a-counts-intro { color: var(--paper-3); font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.unlock-a-categories { display: grid; grid-template-columns: 1fr; gap: 10px; }
.unlock-a-category { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 12px; align-items: center; color: var(--ink); padding: 14px; background: var(--cream-card); border: 1px solid var(--cream-line); border-left: 4px solid var(--orange-deep); border-radius: 7px; }
.unlock-a-category .category-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border: 0; border-radius: 9px; background: var(--cream-fill); color: var(--orange-deep); }
.unlock-a-category .category-icon svg { display: block; width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.unlock-a-category b,.unlock-a-category strong,.unlock-a-category span { display: block; }
.unlock-a-category b { font-size: 16px; line-height: 1.3; }
.unlock-a-category-count { text-align: center; }
.unlock-a-category strong { color: var(--orange-deep); font: 700 30px/1.1 var(--sans); }
.unlock-a-category span { color: var(--ink-4); font-size: 12px; }
.unlock-a-other { margin: 16px 0 0; color: var(--paper-3); font-size: 13px; line-height: 1.5; }
.unlock-a-next { margin-top: 16px; }
.unlock-a-next .product-button { display: flex; gap: 16px; width: 100%; min-height: 50px; font-size: 16px; }
.unlock-a-next p { margin: 10px 0 0; text-align: center; color: var(--ink-4); font-size: 13px; }
/* Keep consent settings accessible without covering report purchase actions. */
body:has(.unlock-a) .lqa-privacy-choices { position: static; display: block; min-height: 44px; margin: 16px auto 24px; }
.unlock-a-path { margin-top: 24px; }
.unlock-a-path ol { padding: 0; margin: 0; list-style: none; }
.unlock-a-path li { display: flex; gap: 20px; position: relative; padding-bottom: 25px; }
.unlock-a-path li:last-child { padding-bottom: 0; }
.unlock-a-path li:not(:last-child)::before { content: ''; position: absolute; top: 40px; bottom: 4px; left: 19px; width: 1px; background: var(--teal); }
.unlock-a-path li > span,.unlock-a-benefits li > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-badge-ink); color: var(--white); font-size: 21px; }
.unlock-a-path h3 { margin: 0 0 6px; font: 700 23px/1.25 var(--serif); }
.unlock-a-path p { color: var(--ink-5); margin: 0; font-size: 16px; line-height: 1.5; }
.unlock-a .unlock-panel { margin: 0; color: var(--ink); border-top: 3px solid var(--orange-deep); }
.unlock-a .unlock-panel > .product-eyebrow { color: var(--orange-deep); font-size: 11px; }
.unlock-a .unlock-panel > h2 { font: 700 40px/1.05 var(--serif); letter-spacing: -0.7px; margin: 26px 0 30px; }
.unlock-a-benefits { padding: 0 0 30px; margin: 0 0 22px; list-style: none; border-bottom: 1px solid var(--cream-line); }
.unlock-a-benefits li { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.unlock-a-benefits li:last-child { margin: 0; }
.unlock-a-benefits li > span { width: 32px; height: 32px; font-size: 20px; }
.unlock-a-benefits h3 { margin: 0 0 4px; font: 700 17px/1.3 var(--sans); }
.unlock-a-benefits p { margin: 0; color: var(--ink-5); font-size: 14px; line-height: 1.4; }
.unlock-a .pricing-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.unlock-a .price-card { padding: 16px; min-width: 0; background: var(--cream-card); color: var(--ink); border: 1px solid var(--cream-line); border-radius: 7px; }
.unlock-a .price-card.selected { background: var(--cream-card); border-color: var(--orange-deep); }
.result-conversion.unlock-a .price-card { min-height: 0; display: block; }
.result-conversion.unlock-a .pricing-grid { grid-auto-rows: auto; }
.unlock-a-service .landing-build-offer > div:first-child { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; }
.unlock-a-service .landing-build-offer h2 { grid-row:span 2; border-right:1px solid var(--line); padding-right:24px; }
.unlock-a-service .landing-build-offer .build-offer-terms { font-size:12px; }
.unlock-a-package-label { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; gap: 10px; align-items: start; cursor: pointer; min-height: 64px; }
.unlock-a-package-label input { appearance: auto; accent-color: var(--orange-deep); width: 20px; height: 20px; padding: 0; margin: 3px 0; }
.unlock-a-package-label > span > b { display: block; font: 700 21px/1.25 var(--serif); }
.unlock-a-package-label > span > span { display: block; font-size: 14px; color: var(--ink-5); line-height: 1.45; margin-top: 8px; }
.unlock-a-package-label .unlock-a-price { text-align: right; }
.unlock-a-package-label .unlock-a-price b { font: 700 18px/1.3 var(--sans); white-space: nowrap; }
.unlock-a-price small { font-size: 12px; }
.unlock-a-package-label .unlock-a-price > span { margin-top: 0; }
.unlock-a .price-card .product-button { width: 100%; margin-top: 12px; min-height: 48px; font-size: 16px; }
.unlock-a [hidden] { display: none !important; }
.unlock-a .one-time { color: var(--ink-5); font-size: 14px; text-align: left; margin: 22px 0; }
.unlock-a .result-honesty { margin: 0; text-align: left; }
.unlock-a .result-honesty a { color: var(--teal-badge-ink); font-size: 18px; }
.unlock-a .credit-action { display: block; color: var(--ink); background: var(--teal-badge-bg); }
.unlock-a-service .landing-build-offer { margin: 20px 0 0; background: var(--panel-deep); border: 1px solid var(--line); grid-template-columns: 1fr 270px; border-radius: 9px; }
.unlock-a-service .landing-build-offer h2 { color: var(--paper); font-size: 30px; }
.unlock-a-service .landing-build-offer p,.unlock-a-service .build-offer-action { color: var(--paper-3); }
.unlock-a-service .build-offer-label,.unlock-a-service .build-offer-action small { display: none; }
.unlock-a-service .landing-build-offer .build-quote-link { color: var(--paper); border-color: var(--line-mute); }
.unlock-a-service .landing-build-offer .build-quote-link:hover { background: var(--panel); border-color: var(--teal-bright); color: var(--paper); }
.unlock-a-service .landing-build-offer .build-quote-link:focus-visible { outline-color: var(--teal-bright); }
.unlock-a .credit-action { border-color: var(--teal); }
.unlock-a .credit-action p { color: var(--teal-badge-ink); }
.unlock-a .extra-packages summary { color: var(--ink-2); }
.unlock-a .price-card:focus-within { outline: 2px solid var(--orange-deep); outline-offset: 3px; }
.unlock-a .price-card:not(.selected):hover { border-color: var(--ink-5); }
.unlock-a .result-honesty a:hover { color: var(--ink); }
@media(max-width:800px) {
  .unlock-a-service .landing-build-offer > div:first-child { grid-template-columns:1fr; }
  .unlock-a-service .landing-build-offer h2 { border-right:0; padding-right:0; }
}
@media(max-width:1100px) { .unlock-a-summary,.unlock-a .unlock-panel { padding: 22px; } .unlock-a-package-label { grid-template-columns: 20px minmax(0,1fr); } .unlock-a-package-label .unlock-a-price { grid-column: 2; text-align: left; } }
@media(max-width:800px) { .unlock-a-grid { grid-template-columns: 1fr; } .unlock-a .product-title { font-size: 36px; letter-spacing: -1px; } .unlock-a .product-lede { font-size: 16px; } .unlock-a .unlock-panel > h2 { font-size: 34px; } .unlock-a-service .landing-build-offer { grid-template-columns: 1fr; } .unlock-a-package-label { grid-template-columns: 20px minmax(0,1fr) auto; } .unlock-a-package-label .unlock-a-price { grid-column: auto; text-align: right; } .unlock-a-counts { padding: 16px; } .unlock-a-counts h2 { font-size: 23px; } .unlock-a-category { grid-template-columns: 32px minmax(0,1fr) auto; gap: 8px; padding: 12px 10px; } .unlock-a-category .category-icon { width: 32px; height: 36px; } .unlock-a-category .category-icon svg { width: 24px; height: 24px; } .unlock-a-path { display: none; } }

.product-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  padding: 36px;
}

.product-card-narrow {
  max-width: 650px;
  margin: 40px auto;
}

.product-loading {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
}

.product-loading p { margin: 16px 0 0; color: var(--ink-4); }

.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--cream-line);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: product-spin 0.8s linear infinite;
}

@keyframes product-spin { to { transform: rotate(360deg); } }

.product-eyebrow {
  margin: 0 0 12px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.product-title-sm { font-size: clamp(30px, 4vw, 42px); }

.product-lede {
  margin: 0;
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.65;
  max-width: 760px;
}

.product-url {
  margin: 18px 0 0;
  color: var(--teal-badge-ink);
  font: 500 13px/1.5 var(--mono);
  overflow-wrap: anywhere;
}

.product-form { margin-top: 28px; }

.scan-setup-card { max-width: 720px; }

.scan-google-option {
  margin: 28px 0 22px;
  padding: 22px;
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  background: var(--white);
}

.scan-google-option-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.scan-option-label {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-badge-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan-google-option h2 { margin: 0; font: 700 23px/1.15 var(--serif); }
.scan-google-option > p { margin: 18px 0 0; color: var(--ink-4); line-height: 1.55; }
.scan-google-option .integration-permissions { margin-bottom: 0; }

.scan-setup-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.scan-setup-actions .product-button { width: 100%; }
.scan-setup-card > .product-help { margin-bottom: 0; }

.scan-google-setup-card { max-width: none; }

.scan-google-setup-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 34px;
  margin-bottom: 26px;
}

.scan-google-live {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  padding: 18px;
  border: 1px solid #b7dedb;
  border-radius: 14px;
  background: #eef9f8;
}

.scan-google-live small,
.scan-google-live .status-badge { display: block; }
.scan-google-live small { margin-bottom: 7px; color: var(--ink-4); font-weight: 700; }
.scan-google-live .status-badge { width: fit-content; }
.scan-google-live p { grid-column: 1 / -1; margin: 2px 0 0; color: var(--ink-4); font-size: 13px; line-height: 1.5; }
.scan-google-integration-grid { margin-top: 4px; }

.scan-google-flow-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--cream-line);
}

.scan-google-flow-actions .product-button { flex: 0 0 auto; }
.scan-google-flow-actions p { margin: 0; color: var(--ink-4); font-size: 13px; line-height: 1.5; }
.scan-google-flow-message { min-height: 20px; margin-bottom: 0; color: var(--teal-badge-ink); }

.product-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.product-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--cream-line-2);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 0 16px;
  font: 16px var(--sans);
}

.product-input:focus { border-color: var(--teal); outline: 2px solid rgba(31, 157, 148, 0.18); }

.product-button {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: var(--orange-deep);
  color: var(--white);
  padding: 0 24px;
  font: 700 16px var(--sans);
  cursor: pointer;
}

.product-button:hover { background: #a93e23; }
a.product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.product-button:disabled { opacity: 0.55; cursor: wait; }
.product-button-wide { width: 100%; margin-top: 14px; }

.product-button-secondary {
  background: var(--panel);
  color: var(--paper);
}

.product-button-secondary:hover { background: #211a46; }

.product-link-button {
  border: 0;
  background: transparent;
  color: var(--teal-badge-ink);
  padding: 0;
  font: 700 14px var(--sans);
  cursor: pointer;
}

.product-help,
.product-security {
  color: var(--ink-4);
  font-size: 13px;
  line-height: 1.6;
}

.product-help { margin: 16px 0 0; }
.product-security { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--cream-line); }

.product-alert {
  border: 1px solid #cfe4e1;
  border-radius: 10px;
  background: #e9f3f2;
  color: #26404a;
  padding: 14px 16px;
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.product-alert-error { border-color: #efc8bd; background: #fff0eb; color: #712e1d; }
.report-reconnecting { margin: 0 0 20px; font-size: 16px; }
.product-alert-warn { border-color: #ead3a2; background: #fff8e7; color: #63460c; }

.mail-illustration {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-badge-bg);
  color: var(--teal-badge-ink);
  font-size: 34px;
  margin-bottom: 18px;
}

.mail-illustration svg {
  display: block;
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.status-card { overflow: hidden; }
.scan-plan-layout { max-width: none; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; }
.scan-plan-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.scan-plan-layout .status-card { padding: 32px; }
.scan-plan-card { padding: 28px 32px; }
.scan-plan-card > h2 { margin: 0 0 12px; font: 700 40px/1.12 var(--serif); letter-spacing: -.6px; }
.scan-plan-card > p { color: var(--ink-3); line-height: 1.5; }
.scan-plan-card > .product-eyebrow { color: var(--orange-deep); }
.scan-plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.scan-plan-option { position: relative; border: 1px solid var(--cream-line); border-radius: 10px; background: var(--cream-card); padding: 18px 14px; cursor: pointer; color: var(--ink); }
.scan-plan-option.selected { border-color: var(--orange-deep); box-shadow: inset 0 0 0 1px var(--orange-deep); }
.scan-plan-option:focus-within { outline: 2px solid var(--orange-deep); outline-offset: 3px; }
.scan-plan-option:hover { border-color: var(--orange-deep); }
.scan-plan-recommended { position: absolute; top: -12px; left: 10px; right: 10px; text-align: center; padding: 3px 6px; border-radius: 5px; color: var(--white); background: var(--orange-deep); font-size: 11px; font-weight: 700; }
.scan-plan-name { display: flex; gap: 9px; align-items: start; min-height: 45px; font-size: 16px; }
.scan-plan-name input { width: 18px; height: 18px; accent-color: var(--orange-deep); margin: 2px 0 0; flex: none; }
.scan-plan-name small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-4); }
.scan-plan-price { display: block; white-space: nowrap; padding-left: 27px; }
.scan-plan-price strong { font: 700 36px/1.25 var(--serif); }
.scan-plan-option > span:last-child { display: block; padding-left: 27px; }
.scan-plan-price small,.scan-plan-option > span:last-child { color: var(--ink-4); font-size: 12px; }
.scan-plan-buy { width: 100%; margin-top: 12px; background: var(--orange-deep); color: var(--white); }
.scan-plan-card .scan-plan-terms { margin: 10px 0 0; font-size: 12px; text-align: center; color: var(--ink-5); }
.scan-plan-error { color: var(--orange-deep); }
.scan-plan-aside { padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.scan-plan-aside h2 { font: 700 36px/1.15 var(--serif); }
.scan-plan-benefits { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 38px; }
.scan-plan-benefits li { display: flex; gap: 18px; }
.scan-plan-benefits .category-icon { width: 52px; height: 52px; flex: none; border: 1px solid var(--teal-badge-dark); border-radius: 50%; display: grid; place-items: center; color: var(--teal-bright); background: var(--panel-inset); }
.scan-plan-benefits svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scan-plan-benefits h3 { margin: 0 0 6px; font: 700 17px/1.4 var(--sans); }
.scan-plan-benefits p { margin: 0; font-size: 16px; line-height: 1.6; }
.scan-plan-aside .scan-leave-note { margin-top: auto; }
.product-shell:has(.scan-plan-layout) { width: min(1180px, calc(100% - 40px)); padding-top: 24px; }
.scan-plan-layout .scan-plan-aside { padding: 32px; }
.scan-plan-layout .scan-plan-aside h2 { font: 700 40px/1.1 var(--serif); max-width: 300px; }
.scan-plan-layout .scan-plan-benefits { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; margin-top: 36px; }
.scan-plan-layout .scan-plan-benefits h3 { font-size: 19px; }
.scan-plan-layout .scan-leave-note { margin-top: 10px; padding-top: 32px; }
.scan-plan-layout .scan-leave-note p { font-size: 16px; }
.scan-plan-layout .scan-plan-benefits .category-icon { width: 60px; height: 60px; color: var(--teal-bright); }
.scan-plan-layout .scan-plan-benefits p { font-size: 16px; }
@media(max-width:1000px) { .scan-plan-layout { grid-template-columns: 1fr; } .scan-plan-aside { display: block; } .scan-plan-benefits { grid-template-columns: 1fr 1fr; } }
@media(max-width:520px) { .scan-plan-layout .status-card,.scan-plan-card,.scan-plan-aside { padding: 24px; } .scan-plan-card > h2 { font-size: 30px; } .scan-plan-options { grid-template-columns: 1fr; gap: 20px; } .scan-plan-option { display: grid; grid-template-columns: 1fr auto; align-items: center; } .scan-plan-name { min-height: 0; } .scan-plan-option > span:last-child { grid-column: 2; text-align: right; } .scan-plan-benefits { grid-template-columns: 1fr; } }
@media(max-width:520px) { .scan-plan-price,.scan-plan-option > span:last-child { padding-left: 0; } .scan-plan-layout .scan-plan-aside { padding: 24px; } }
.scan-value-heading { max-width: 1040px; margin: 0 auto 32px; }
.scan-value-heading h1 { font: 700 clamp(34px, 4vw, 52px)/1.08 var(--serif); margin: 12px 0 16px; letter-spacing: -0.025em; }
.scan-value-heading > p:last-child { max-width: 660px; color: var(--paper-4); line-height: 1.65; font-size: 16px; }
.status-aside .product-eyebrow { color: var(--teal-bright); font-size: 11px; }
.status-aside h2 { font-size: 30px; line-height: 1.15; }
.report-value-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 24px; }
.report-value-list li { display: flex; gap: 14px; align-items: flex-start; }
.report-value-list li > span { flex: none; color: var(--teal-bright); border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font: 600 12px var(--mono); }
.report-value-list h3 { font: 700 16px/1.4 var(--sans); margin: 2px 0 6px; }
.report-value-list p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--paper-4); }
.scan-purchase-note { margin: 22px 0; padding: 20px; border: 1px solid #655077; border-top: 3px solid var(--orange); border-radius: 12px; background: #19142c; }
.status-aside .scan-purchase-label { margin: 0 0 10px; color: var(--teal-bright); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.scan-purchase-note h3 { margin: 0 0 12px; color: var(--paper); font: 700 25px/1.16 var(--serif); }
.status-aside .scan-purchase-outcome { color: #ffffff; font-weight: 600; }
.status-aside .scan-purchase-preview { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; margin-top: 18px; padding: 10px 12px; border: 1px solid #777089; border-radius: 8px; color: #ffffff; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.scan-purchase-preview:hover { background: #302742; }
.landing-build-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 28px; align-items: center; margin: 32px 0; padding: 28px; border: 1px solid #d6dad9; border-top: 3px solid #199e96; border-radius: 14px; background: #ffffff; color: #171522; }
.landing-build-offer .build-offer-label { margin: 0 0 10px; color: #086d66; font: 700 11px/1.5 Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.landing-build-offer h2 { margin: 0 0 12px; color: #171522; font: 700 28px/1.2 Georgia, serif; }
.landing-build-offer p { margin: 0 0 12px; color: #504b5c; font: 400 16px/1.6 Arial, sans-serif; }
.landing-build-offer .build-offer-terms { margin-bottom: 0; font-size: 13px; }
.build-offer-action { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; overflow-wrap: anywhere; font: 400 14px/1.5 Arial, sans-serif; }
.landing-build-offer .build-quote-link { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 16px; border: 1px solid #0a716c; border-radius: 8px; color: #075f5a; font-weight: 700; line-height: 1.4; text-decoration: none; }
.build-quote-link:hover { background: #e8f4f2; }
.build-quote-link:focus-visible { outline: 3px solid #199e96; outline-offset: 3px; }
.build-offer-action small { color: #504b5c; font-size: 12px; }
@media (max-width: 700px) { .landing-build-offer { grid-template-columns: 1fr; padding: 22px; gap: 22px; } .build-quote-link { width: 100%; } }
.scan-purchase-preview:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
.status-aside .scan-purchase-terms { margin-top: 12px; font-size: 12px; line-height: 1.5; }
.scan-purchase-note strong, .scan-leave-note strong { font-size: 14px; }
.scan-purchase-note p, .scan-leave-note p { margin: 8px 0 0; }
.scan-example-link { display: flex; align-items: center; min-height: 44px; margin: 12px 0; font-size: 14px; }
.scan-leave-note { border-top: 1px solid var(--line); padding-top: 18px; }
.unlock-panel .report-value-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.extra-packages { margin-top: 20px; }
.extra-packages summary { cursor: pointer; padding: 14px 0; min-height: 44px; }
.unlock-panel .result-honesty { font-size: 13px; margin-top: 18px; }
.result-honesty a { color: var(--teal-bright); display: inline-block; padding-block: 12px; }
@media (max-width: 700px) {
  .scan-value-heading { margin-bottom: 24px; }
  .scan-value-heading h1 br { display: none; }
  .unlock-panel .report-value-list { grid-template-columns: 1fr; }
  .report-value-list p, .status-aside p { font-size: 16px; }
  .result-conversion .unlock-panel { padding: 20px; }
  .result-conversion .summary-head { flex-direction: column; }
  .result-conversion .summary-total { align-self: stretch; }
}

.status-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.scan-indicator {
  width: 108px;
  height: 108px;
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--cream-card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--cream-line);
}

.scan-indicator::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid var(--cream-line);
  border-top-color: var(--orange);
  border-right-color: var(--teal);
  border-radius: inherit;
  animation: product-spin 1.2s linear infinite;
}

.scan-indicator > span {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.scan-indicator b { font-family: Arial, Helvetica, sans-serif; font-size: 36px; font-weight: 700; line-height: 1; }

.scan-indicator small {
  display: block;
  margin: 0;
  color: var(--ink-5);
  font: 600 20px/1 Arial, Helvetica, sans-serif;
}

.status-live-panel {
  margin-top: 28px;
  border: 1px solid #cfe4e1;
  border-radius: 12px;
  background: #eef7f6;
  padding: 16px;
}

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

.status-live-copy strong,
.status-live-copy span { display: block; }
.status-live-copy strong { color: var(--ink-2); font-size: 14px; }
.status-live-copy span { margin-top: 3px; color: var(--ink-4); font-size: 12px; }
.status-elapsed { color: var(--teal-badge-ink); font: 700 12px/1 var(--mono); white-space: nowrap; }

.status-progress {
  height: 5px;
  margin-top: 14px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: #d6e9e6;
}

.status-progress > span {
  width: 42%;
  height: 100%;
  position: absolute;
  left: -42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  animation: status-progress 2.5s ease-in-out infinite;
}

@keyframes status-progress {
  0% { transform: translateX(0); }
  100% { transform: translateX(340%); }
}

.status-live-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9px;
  color: var(--ink-5);
  font-size: 11px;
}

.status-aside {
  background: var(--panel-deep);
  color: var(--paper);
  border-radius: 14px;
  padding: 24px;
}

.status-aside h2 { margin: 0 0 10px; font-size: 22px; }
.status-aside p { color: var(--paper-4); font-size: 14px; line-height: 1.6; }
.status-aside a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.status-timeline { list-style: none; padding: 0; margin: 26px 0 0; }
.status-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 20px; }
.status-step::after { content: ""; position: absolute; left: 13px; top: 27px; bottom: 0; border-left: 1px solid var(--cream-line); }
.status-step:last-child::after { display: none; }
.status-dot { width: 28px; height: 28px; margin: 0; position: relative; border: 2px solid var(--cream-line); border-radius: 50%; background: var(--cream-card); display: grid; place-items: center; color: var(--ink-5); font-size: 12px; font-weight: 700; line-height: 1; }
.status-step.done .status-dot { border-color: var(--teal); background: var(--teal); color: white; }
.status-step.active .status-dot { border-color: var(--orange); color: var(--orange-deep); box-shadow: 0 0 0 5px rgba(244, 96, 60, 0.12); }
.status-step.active .status-dot::after { content: ""; position: absolute; inset: -5px; border: 2px solid transparent; border-top-color: var(--orange); border-radius: 50%; animation: product-spin 1s linear infinite; }
.status-step-copy { min-width: 0; padding-top: 3px; }
.status-step-copy > b { display: block; font-size: 14px; }
.status-step-copy > span { display: block; margin-top: 4px; color: var(--ink-5); font-size: 12px; line-height: 1.4; }

.live-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(31, 157, 148, 0.5); animation: product-pulse 1.8s infinite; }
@keyframes product-pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 157, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 148, 0); } }

.summary-unlock-link { margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; text-decoration: none; text-align: center; }
#unlock-report { scroll-margin-top: 24px; }
.summary-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 30px; }
.summary-total { flex: none; min-width: 150px; border: 1px solid var(--cream-line); border-radius: 12px; background: var(--cream-card); text-align: center; padding: 18px; }
.summary-total strong { display: block; font: 800 46px/1 var(--serif); }
.summary-total span { color: var(--ink-4); font-size: 12px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card { border: 1px solid var(--cream-line); border-radius: 10px; background: var(--cream-card); padding: 16px; }
.category-card strong { display: block; font: 700 28px/1 var(--serif); color: var(--orange-deep); }
.category-card span { display: block; margin-top: 7px; color: var(--ink-3); font-size: 13px; }
.result-conversion .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .result-conversion .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .result-conversion .category-card { padding: 12px; }
  .result-conversion .summary-unlock-link { width: 100%; }
  .result-conversion .price-card p, .result-conversion .price-card ul { font-size: 16px; }
}

.unlock-panel { margin-top: 28px; border-radius: 14px; background: var(--panel-deep); color: var(--paper); padding: 26px; }
.unlock-panel h2 { margin: 0 0 8px; font-size: 26px; }
.unlock-panel > p { margin: 0; color: var(--paper-4); line-height: 1.6; }

.credit-action { display: flex; justify-content: space-between; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-top: 20px; }
.credit-action p { margin: 3px 0 0; color: var(--paper-5); font-size: 13px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 20px; min-height: 270px; }
.price-card.featured { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.price-kicker { color: var(--teal-bright); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.price { margin: 12px 0 4px; font: 800 38px/1 var(--serif); }
.price small { font: 500 13px var(--sans); color: var(--paper-6); }
.price-card p { color: var(--paper-4); font-size: 13px; line-height: 1.55; }
.price-card ul { padding-left: 18px; color: var(--paper-3); font-size: 13px; line-height: 1.55; }
.price-card .product-button { margin-top: auto; }
.one-time { margin: 14px 0 0; color: var(--paper-6); font-size: 12px; text-align: center; }

.report-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.report-toolbar .product-url { color: var(--teal-bright); }
.report-toolbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report-toolbar a, .report-toolbar button { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line-mute); border-radius: 9px; background: transparent; color: var(--paper); padding: 0 15px; font: 700 13px var(--sans); cursor: pointer; }
.report-toolbar a:hover, .report-toolbar button:hover { border-color: var(--orange); color: var(--orange); }

.report-frame { display: grid; gap: 22px; }
.report-section { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 28px; }
.report-section h2 { margin: 0 0 8px; font-size: 28px; }
.report-section-lede { margin: 0 0 22px; color: var(--ink-4); line-height: 1.55; }

.score-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 10px; }
.score-card { border: 1px solid var(--cream-line); border-radius: 10px; background: var(--cream-card); padding: 16px; }
.score-card strong { display: block; font: 800 32px/1 var(--serif); }
.score-card span { display: block; margin-top: 7px; color: var(--ink-4); font-size: 12px; }

.finding-list { display: grid; gap: 14px; }
.finding-card { border: 1px solid var(--cream-line); border-radius: 12px; background: var(--cream-card); overflow: hidden; }
.finding-head { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--cream-line); }
.finding-head h3 { margin: 4px 0 0; font: 700 21px/1.25 var(--serif); }
.finding-rank { color: var(--orange-deep); font: 700 12px var(--mono); }
.finding-meta { flex: none; text-align: right; color: var(--ink-4); font-size: 12px; line-height: 1.6; }
.finding-body { padding: 20px; }
.finding-body h4 { margin: 18px 0 6px; color: var(--ink-3); font: 700 12px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.finding-body h4:first-child { margin-top: 0; }
.finding-body p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.evidence-list { margin: 0; padding-left: 20px; color: var(--ink-3); font: 12px/1.7 var(--mono); overflow-wrap: anywhere; }
.finding-pill { display: inline-block; border-radius: 999px; background: var(--teal-badge-bg); color: var(--teal-badge-ink); padding: 4px 9px; font: 700 10px var(--sans); letter-spacing: 0.07em; text-transform: uppercase; }
.finding-pill.inferred { background: var(--violet-badge-bg); color: var(--violet-badge-ink); }

.ai-prompt { white-space: pre-wrap; border-radius: 10px; background: var(--panel-deep); color: var(--paper-2); padding: 18px; font: 12px/1.65 var(--mono); overflow-wrap: anywhere; }
.workflow { padding-left: 22px; line-height: 1.7; color: var(--ink-2); }
.limitations { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--ink-3); }

.account-product-body .product-nav,
.account-product-body .product-footer { max-width: 1350px; }

.account-product-body .product-shell {
  width: min(1280px, calc(100% - 40px));
  padding-top: 31px;
}

.account-page { min-width: 0; }

.account-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
}

.account-hero .product-eyebrow { margin-bottom: 14px; }
.account-hero .product-title { margin-bottom: 13px; font-size: clamp(44px, 4vw, 54px); }
.account-hero .product-lede { color: var(--paper-4); font-size: 16px; line-height: 1.5; }
.account-email { color: var(--paper); font-weight: 700; overflow-wrap: anywhere; }
.account-new-report {
  width: 186px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 3px;
  border-radius: 8px;
}

.account-overview {
  width: min(100%, 700px);
  display: flex;
  align-items: stretch;
  margin: 40px 0 52px;
}

.account-stat {
  min-width: 0;
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  margin-right: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0 58px 0 0;
}

.account-stat > span {
  order: 2;
  display: block;
  margin-top: 7px;
  color: var(--paper-4);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.account-stat strong {
  order: 1;
  display: block;
  margin: 0;
  color: var(--paper);
  font: 700 31px/1 var(--serif);
}

.account-stat small { display: none; }
.account-stat.account-access {
  flex-basis: 230px;
  margin-right: 0;
  border: 0;
  background: transparent;
  padding-right: 0;
}
.account-stat.account-access strong { color: var(--teal-bright); font-size: 33px; }

.account-section {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  padding: 0;
  box-shadow: none;
}

.account-section .product-eyebrow { margin-bottom: 14px; }

.account-live-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.account-live-card {
  min-width: 0;
  min-height: 136px;
  display: grid;
  grid-template-columns: 86px minmax(220px, 1.05fr) minmax(330px, 1.25fr) minmax(210px, 1.1fr);
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  padding: 20px 30px;
}

.account-live-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange-deep);
}

.account-live-icon img { width: 34px; height: 34px; }
.account-live-summary { min-width: 0; }
.account-live-summary h2 {
  margin: 0 0 7px;
  color: var(--orange-deep);
  font: 700 16px/1.2 var(--sans);
}
.account-live-summary h3 {
  margin: 0 0 11px;
  color: var(--ink);
  font: 700 25px/1.12 var(--serif);
  overflow-wrap: anywhere;
}

.account-live-progress { min-width: 0; }
.account-live-progress .scan-card-date {
  display: block;
  margin-bottom: 17px;
  color: var(--ink-5);
  font-size: 13px;
  text-align: left;
}

.account-live-meter-row { display: flex; align-items: center; gap: 14px; }
.account-live-meter {
  position: relative;
  height: 5px;
  min-width: 0;
  flex: 1;
  border-radius: 999px;
  background: #d6d2d0;
}
.account-live-meter::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -2px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-deep);
  transform: translateY(-50%);
}
.account-live-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--scan-progress);
  border-radius: inherit;
  background: var(--orange);
}
.account-live-meter-row strong { color: var(--ink-2); font: 700 15px/1 var(--sans); }

.account-live-card > .scan-card-action {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  align-self: stretch;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--cream-line);
  color: var(--teal-badge-ink);
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}

.account-section-head { margin: 0 0 12px; }
.account-section-head .product-eyebrow { margin-bottom: 7px; color: var(--teal-bright); }
.account-section-head h2 { margin: 0; color: var(--paper); font-size: 36px; }

.account-library { margin-top: 46px; }
.account-library > .scan-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 86px;
  row-gap: 0;
}

.account-library > .scan-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-0.5px);
}

.account-library .scan-card {
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.95fr) auto;
  align-items: center;
  column-gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  padding: 0;
}

.account-library .scan-card-top { display: contents; }
.account-library .status-badge { display: none; }
.account-library .scan-card h3 {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  color: var(--paper);
  font: 700 21px/1.2 var(--serif);
  overflow-wrap: anywhere;
}
.account-library .scan-card-date {
  grid-column: 2;
  grid-row: 1;
  color: var(--paper-4);
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}
.account-library .scan-card-action {
  grid-column: 3;
  grid-row: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  align-self: center;
  margin: 0;
  border: 0;
  color: var(--teal-bright);
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.scan-card-action span { color: currentColor; font-size: 20px; transition: transform 0.18s ease; }
.scan-card-action:hover { color: var(--orange); }
.scan-card-action:hover span { color: currentColor; transform: translateX(3px); }

.status-badge { display: inline-block; border-radius: 999px; background: #e9f3f2; color: var(--teal-badge-ink); padding: 4px 9px; font-size: 11px; font-weight: 700; }
.status-badge.failed { background: #fff0eb; color: #712e1d; }
.status-badge.cancelled { background: #eeeaf4; color: #4e465c; }
.status-badge.active { background: #fff5db; color: #6c4b08; }

.account-history {
  margin-top: 30px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.account-history summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.account-history summary::-webkit-details-marker { display: none; }
.account-history summary strong, .account-history summary small { display: block; }
.account-history summary strong { color: var(--paper-4); font: 600 18px var(--sans); }
.account-history summary small { display: none; }
.account-history-control { display: flex; align-items: center; gap: 10px; }
.account-history-count { display: none; }
.account-history-chevron { color: var(--paper-5); font-size: 22px; line-height: 1; transition: transform 0.18s ease; }
.account-history[open] .account-history-chevron { transform: rotate(180deg); }
.scan-grid-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 24px;
}

.scan-grid-history .scan-card {
  min-width: 0;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-deep);
  color: var(--paper);
  padding: 18px;
}
.scan-grid-history .scan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scan-grid-history .scan-card-date { color: var(--paper-6); font-size: 11px; text-align: right; }
.scan-grid-history .scan-card h3 { margin: 18px 0; color: var(--paper); font: 700 20px/1.25 var(--serif); overflow-wrap: anywhere; }
.scan-grid-history .scan-card-action { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; border-top: 1px solid var(--line); color: var(--teal-bright); padding-top: 13px; font-size: 13px; font-weight: 700; }

.empty-state { text-align: center; padding: 54px 20px; }
.empty-state h2 { margin: 0 0 9px; }
.empty-state p { color: var(--ink-4); }

.integration-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.integration-hero .product-title { max-width: 800px; color: var(--paper); }
.integration-hero .product-lede { max-width: 820px; color: var(--paper-4); }
.integration-page-alert { margin-bottom: 20px; }

.integration-project-panel {
  max-width: 620px;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-deep);
}

.integration-project-panel .product-label { color: var(--paper-3); }
.integration-project-panel .product-help { color: var(--paper-6); }

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

.integration-owner-evidence { margin-top: 22px; }

.integration-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.integration-card-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.integration-google-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  background: #fff;
  color: #4285f4;
  font: 800 25px var(--sans);
  box-shadow: inset 0 -4px 0 #34a853;
}

.integration-card h2 { margin: 2px 0 7px; font: 700 26px var(--serif); }
.integration-card-head p { margin: 0; color: var(--ink-4); line-height: 1.5; }

.integration-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.integration-permissions span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--teal-badge-bg);
  color: var(--teal-badge-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integration-card > .product-button { margin-top: auto; width: 100%; }
.integration-message { min-height: 21px; margin-bottom: 0; color: var(--orange-deep); }

.integration-connected {
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--cream-line);
  border-radius: 12px;
  background: #fff;
}

.integration-connected strong,
.integration-connected code { display: block; }
.integration-connected strong { margin-bottom: 8px; }
.integration-connected code { color: var(--teal-badge-ink); overflow-wrap: anywhere; }
.integration-connected p { color: var(--ink-4); line-height: 1.5; }
.integration-health {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cream-line);
}

.integration-health-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-badge-ink);
  font-size: 13px;
  font-weight: 800;
}

.integration-health-state i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 157, 148, 0.14);
}

.integration-health small { color: var(--ink-4); font-size: 12px; line-height: 1.45; }
.integration-resource-form { display: grid; gap: 10px; }
.integration-resource-form .product-button { width: 100%; }
.spinner-small { width: 18px; height: 18px; border-width: 2px; vertical-align: middle; }

.integration-account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  margin-top: 16px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #101023;
  color: var(--paper);
}

.integration-account-actions strong { font-size: 14px; }
.integration-account-actions p { margin: 5px 0 0; color: var(--paper-6); font-size: 12px; line-height: 1.45; }
.integration-account-actions .integration-account-message { grid-column: 1 / -1; margin: 0; color: var(--orange-light); }

.integration-disconnect-google {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: transparent;
  color: var(--paper);
  padding: 0 16px;
  font: 700 13px var(--sans);
  cursor: pointer;
}

.integration-disconnect-google:hover { border-color: var(--orange); color: var(--orange-light); }
.integration-disconnect-google:disabled { opacity: 0.55; cursor: wait; }

.integration-boundary {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.integration-boundary h2,
.integration-boundary .integration-privacy { grid-column: 1 / -1; }
.integration-boundary h2 { margin: 0; padding: 24px; background: var(--panel-deep); color: var(--paper); font: 700 25px var(--serif); }
.integration-boundary > div { padding: 22px; background: var(--panel-deep); }
.integration-boundary strong { color: var(--paper); }
.integration-boundary p { margin: 7px 0 0; color: var(--paper-5); line-height: 1.55; }
.integration-boundary > div > a { display: inline-block; margin-top: 12px; color: var(--teal-bright); font-size: 12px; font-weight: 700; }
.integration-boundary .integration-privacy { margin: 0; padding: 18px 22px; background: #101023; color: var(--paper-5); }

.product-footer { justify-content: center; color: var(--paper-7); font-size: 12px; flex-wrap: wrap; }
.product-footer a { color: var(--paper-5); }

.product-footer-signout {
  border: 0;
  background: transparent;
  color: var(--paper-5);
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.product-footer-signout:hover { color: var(--orange); }

@media (max-width: 850px) {
  .auth-page { min-height: 0; grid-template-columns: 1fr; gap: 28px; }
  .auth-intro { max-width: 680px; padding: 0; }
  .auth-card { max-width: 680px; }
  .status-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { min-height: 0; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .score-card:first-child { grid-column: 1 / -1; }
  .account-overview { grid-template-columns: 1fr 1fr; }
  .account-stat.account-access { grid-column: 1 / -1; }
  .integration-grid { grid-template-columns: 1fr; }
  .scan-google-setup-head { grid-template-columns: 1fr; gap: 20px; }
  .scan-google-live { max-width: 520px; }
  .integration-card { min-height: 0; }
  .integration-boundary { grid-template-columns: 1fr; }
  .integration-boundary h2,
  .integration-boundary .integration-privacy { grid-column: 1; }
}

@media (max-width: 560px) {
  .product-nav, .product-footer { padding: 15px 18px; }
  .product-nav-actions { gap: 12px; font-size: 12px; }
  .nav-new-report { display: none; }
  .nav-integrations { display: none; }
  .nav-signout {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    font-size: 12px;
  }
  .product-shell { width: min(100% - 24px, 1100px); padding: 26px 0 48px; }
  .auth-page { gap: 24px; }
  .auth-intro .product-title { font-size: 38px; }
  .auth-benefits { margin-top: 26px; gap: 15px; }
  .product-card { padding: 24px 20px; border-radius: 14px; }
  .product-card-narrow { margin: 18px auto; }
  .scan-google-option { margin-top: 22px; padding: 18px; }
  .scan-google-option-head { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .scan-google-option h2 { font-size: 20px; }
  .scan-setup-actions { grid-template-columns: 1fr; }
  .scan-google-flow-actions { flex-direction: column; align-items: stretch; }
  .scan-google-flow-actions .product-button { width: 100%; }
  .status-heading { grid-template-columns: 1fr; gap: 22px; }
  .scan-indicator { width: 88px; height: 88px; margin: 0 auto; }
  .scan-indicator::before { border-width: 5px; }
  .scan-indicator b { font-size: 32px; }
  .status-live-head { grid-template-columns: auto minmax(0, 1fr); }
  .status-elapsed { grid-column: 2; }
  .status-live-meta { flex-direction: column; gap: 4px; }
  .summary-head, .account-hero, .account-section-head, .credit-action { flex-direction: column; align-items: stretch; }
  .integration-hero { flex-direction: column; align-items: stretch; }
  .integration-hero .product-button { width: 100%; }
  .integration-card { padding: 22px 20px; }
  .integration-card-head { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .integration-google-mark { width: 44px; height: 44px; border-radius: 12px; font-size: 21px; }
  .integration-card h2 { font-size: 22px; }
  .integration-account-actions { grid-template-columns: 1fr; }
  .integration-account-actions .integration-account-message { grid-column: 1; }
  .integration-disconnect-google { width: 100%; }
  .category-grid { grid-template-columns: 1fr; }
  .summary-total { width: 100%; }
  .score-grid { grid-template-columns: 1fr; }
  .score-card:first-child { grid-column: auto; }
  .finding-head { flex-direction: column; }
  .finding-meta { text-align: left; }
  .account-new-report { width: 100%; }
  .account-overview { grid-template-columns: 1fr 1fr; gap: 10px; }
  .account-stat { min-height: 118px; padding: 16px; }
  .account-stat.account-access { grid-column: 1 / -1; min-height: 112px; }
  .account-stat strong { font-size: 27px; }
  .account-section { padding: 22px 20px; border-radius: 14px; }
  .account-section-head { gap: 8px; }
  .scan-grid { grid-template-columns: 1fr; }
  .scan-card { min-height: 160px; }
  .scan-card-top { align-items: flex-start; }
  .scan-card-date { max-width: 56%; }
  .account-history summary { min-height: 80px; padding: 18px 20px; }
  .account-history summary small { max-width: 240px; line-height: 1.45; }
  .scan-grid-history { padding: 0 16px 16px; }
}

@media (max-width: 850px) {
  .account-product-body .product-shell {
    width: min(100% - 40px, 1296px);
  }

  .account-page .account-overview {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-page .account-stat {
    min-height: 60px;
    margin: 0;
    padding: 0 26px;
  }

  .account-page .account-stat:first-child { padding-left: 0; }
  .account-page .account-stat.account-access {
    grid-column: auto;
    padding-right: 0;
  }

  .account-live-card {
    grid-template-columns: 72px minmax(0, 1fr);
    row-gap: 22px;
  }

  .account-live-progress,
  .account-live-card > .scan-card-action { grid-column: 1 / -1; }

  .account-live-card > .scan-card-action {
    min-height: 52px;
    justify-content: space-between;
    border-top: 1px solid var(--cream-line);
    border-left: 0;
    padding: 14px 0 0;
  }

  .account-library > .scan-grid { grid-template-columns: 1fr; }
  .account-library > .scan-grid::before { display: none; }
}

@media (max-width: 560px) {
  .account-product-body .product-shell {
    width: calc(100% - 24px);
    padding: 30px 0 48px;
  }

  .account-page .account-hero {
    gap: 24px;
    align-items: stretch;
  }

  .account-hero .product-title { font-size: 42px; }
  .account-new-report { min-height: 54px; }

  .account-page .account-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 34px 0 42px;
  }

  .account-page .account-stat {
    min-height: 72px;
    padding: 0 20px;
  }

  .account-page .account-stat:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .account-page .account-stat.account-access {
    grid-column: 1 / -1;
    min-height: 88px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }

  .account-page .account-section {
    border-radius: 0;
    padding: 0;
  }

  .account-live-card {
    min-height: 0;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px 14px;
    padding: 20px;
  }

  .account-live-icon {
    width: 56px;
    height: 56px;
  }

  .account-live-icon img { width: 28px; height: 28px; }
  .account-live-summary h3 { font-size: 23px; }
  .account-live-progress { margin-top: 4px; }
  .account-live-progress .scan-card-date { margin-bottom: 14px; }
  .account-live-card > .scan-card-action {
    min-height: 48px;
    justify-content: flex-end;
    gap: 34px;
  }

  .account-library { margin-top: 40px; }
  .account-section-head h2 { font-size: 32px; }

  .account-library .scan-card {
    min-height: 104px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 14px 0;
  }

  .account-library .scan-card h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 20px;
  }

  .account-library .scan-card-date {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    font-size: 11px;
    text-align: right;
  }

  .account-library .scan-card-action {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 34px;
    justify-content: space-between;
    align-self: end;
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
  }

  .account-history summary { min-height: 68px; padding: 16px 0; }
  .scan-grid-history {
    grid-template-columns: 1fr;
    padding: 0 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner,
  .scan-indicator::before,
  .status-step.active .status-dot::after,
  .status-progress > span,
  .live-pulse { animation: none; }
  .status-progress > span { left: 29%; }
}

@media print {
  .product-nav-wrap, .product-footer, .report-toolbar { display: none !important; }
  body, .product-body { background: white !important; color: black; }
  .product-shell { width: 100%; padding: 0; }
  .report-frame { display: block; }
  .report-section { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; margin-bottom: 16px; }
  .finding-card { break-inside: avoid; }
}
