.analysis-progress {
  --analysis-accent: #00ff00;
  --analysis-line: #303a30;
  background: #121215;
  border: 1px solid var(--analysis-line);
  border-radius: 16px;
  color: #f7f4f4;
  overflow: hidden;
}

.analysis-layout {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
}

.analysis-scanner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(8px, 2vw, 20px);
  min-height: 226px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, #24351c 0%, #161e16 56%, transparent 90%),
    #151917;
  border-right: 1px solid var(--analysis-line);
}

.analysis-scanner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#ffffff10 1px, transparent 1px),
    linear-gradient(90deg, #ffffff10 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 85%);
}

.analysis-terminal {
  position: relative;
  width: min(100%, 320px);
  min-width: 0;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #455c38;
  border-radius: 10px;
  background: #10170fed;
  box-shadow: 0 14px 28px #070a067a;
  font: 11px/1.4 monospace;
  color: #d6e9c8;
}

.analysis-terminal-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 8px; color: #adbea3; font-size: 10px; letter-spacing: .045em; }
.analysis-terminal-label span { color: #99ad91; }
.analysis-terminal [hidden] { display: none; }
.analysis-hex-window { overflow: hidden; margin-top: 6px; }
.analysis-hex-track {
  display: flex;
  width: max-content;
  color: var(--analysis-accent);
  font-variant-numeric: tabular-nums;
  white-space: pre;
  animation: analysis-hex-scroll 1.45s linear infinite;
}
.analysis-hex-track span { min-width: 34ch; padding-right: 2ch; }
.analysis-map-title { border-top: 1px solid #455c38; padding-top: 7px; margin-top: 7px; }
.analysis-scan-window { height: 12.4em; overflow: hidden; margin-top: 6px; }
.analysis-scan-track, .analysis-map-names { list-style: none; padding: 0; margin: 0; }
.analysis-scan-track { animation: analysis-scan-scroll 2.6s linear infinite; }
.analysis-map-names { margin-top: 6px; min-height: 12.4em; color: var(--analysis-accent); }
.analysis-scan-track li, .analysis-map-names li {
  line-height: 1.55;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.analysis-map-names li { animation: analysis-row-in .18s ease-out both; }
.analysis-scan-track li::before, .analysis-map-names li::before { content: '›'; color: var(--analysis-accent); margin-right: 7px; }
.analysis-map-names li:nth-child(2) { animation-delay: .13s; }
.analysis-map-names li:nth-child(3) { animation-delay: .26s; }
.analysis-map-names li:nth-child(4) { animation-delay: .39s; }
.analysis-map-names li:nth-child(5) { animation-delay: .52s; }
.analysis-map-names li:nth-child(6) { animation-delay: .65s; }
.analysis-map-names li:nth-child(7) { animation-delay: .78s; }
.analysis-map-names li:nth-child(8) { animation-delay: .91s; }
.analysis-progress:not([data-state="running"]) :is(.analysis-hex-track, .analysis-scan-track) { animation-play-state: paused; }
@keyframes analysis-hex-scroll { to { transform: translateX(-50%); } }
@keyframes analysis-scan-scroll { to { transform: translateY(-50%); } }
@keyframes analysis-row-in { from { opacity: 0; transform: translateY(4px); } }

.analysis-reading { min-width: 0; padding: 23px 26px; }
.analysis-topline, .analysis-measure { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.analysis-kicker, .analysis-state { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.analysis-kicker { color: #c2b8be; }
.analysis-state { display: inline-flex; align-items: center; gap: 7px; color: var(--analysis-accent); }
.analysis-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--analysis-accent); box-shadow: 0 0 12px #00ff0040; }
.analysis-progress[data-state="queued"] .analysis-state i { background: #e8ad6d; box-shadow: 0 0 10px #e8ad6d70; }
.analysis-progress .analysis-file { margin: 8px 0 0; color: #c6bbc2; font: 12px/1.5 monospace; overflow-wrap: anywhere; }
.analysis-phase-copy { min-height: 69px; margin: 12px 0; }
.analysis-phase-copy h2 { margin: 0 0 3px; font-size: clamp(1.2rem, 2.6vw, 1.65rem); line-height: 1.22; letter-spacing: -.025em; }
.analysis-phase-copy p { margin: 0; color: #c6bbc2; font-size: .86rem; }
.analysis-measure { color: #ded4d9; font-size: .85rem; }
.analysis-number { color: #fff; font-size: clamp(1.6rem, 4.6vw, 2.25rem); font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }

.analysis-track {
  display: block;
  width: 100%;
  height: 8px;
  margin: 8px 0 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #303a30;
  accent-color: var(--analysis-accent);
}

.analysis-track::-webkit-progress-bar { background: #303a30; }
.analysis-track::-webkit-progress-value { border-radius: 999px; background: var(--analysis-accent); transition: width .35s ease-out; }
.analysis-track::-moz-progress-bar { border-radius: 999px; background: var(--analysis-accent); }
.analysis-progress .analysis-caption { margin: 5px 0 0; font-size: .76rem; color: #c2b8be; }

.analysis-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--analysis-line);
}

.analysis-phases li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  font-size: .8rem;
  color: #c2b8be;
  border-right: 1px solid var(--analysis-line);
}

.analysis-phases li:last-child { border-right: 0; }
.analysis-phases li span { font-family: monospace; color: #b4a4af; }
.analysis-phases li[data-phase="done"] { color: #e6dce1; }
.analysis-phases li[data-phase="active"] { color: #fff; background: #23331f; box-shadow: inset 0 2px var(--analysis-accent); }
.analysis-phases li[data-phase="active"] span { color: var(--analysis-accent); }

.customer-checkout .customer-fields {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "company company name" "email street street" "postcode city country" "vat vat vat";
  gap: 9px 12px;
  font-size: .85rem;
}
.customer-fields [data-field="company"] { grid-area: company; }
.customer-fields [data-field="name"] { grid-area: name; }
.customer-fields [data-field="email"] { grid-area: email; }
.customer-fields [data-field="street"] { grid-area: street; }
.customer-fields [data-field="postcode"] { grid-area: postcode; }
.customer-fields [data-field="city"] { grid-area: city; }
.customer-fields [data-field="country"] { grid-area: country; }
.customer-fields [data-field="vat"] { grid-area: vat; }
.customer-checkout .customer-order-form { display: grid; gap: 12px; max-width: 740px; margin: 16px auto 0; }
.customer-checkout [data-purchase-panel] { max-width: 740px; margin-inline: auto; }
.customer-checkout .customer-order-form :is(h3, p) { margin: 0; }
.customer-checkout .customer-order-form [data-tax-id-hint] { margin-top: 8px; }
.customer-checkout label:not(.customer-check) { display: grid; gap: 4px; }
.customer-checkout .customer-confirmations { display: grid; gap: 7px; padding-top: 10px; border-top: 1px solid #353035; }
.customer-checkout .customer-check { display: flex; align-items: flex-start; gap: 9px; font-size: .86rem; line-height: 1.45; }
.customer-checkout .customer-check input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--red, #e30613); }
.customer-checkout .customer-check a { text-decoration: underline; text-underline-offset: .15em; }
.customer-checkout input:not([type="checkbox"]), .customer-checkout select {
  box-sizing: border-box; width: 100%; padding: 10px; background: #18181b;
  border: 1px solid #45404a; border-radius: 6px; color: inherit; font: inherit;
}
.customer-checkout .customer-order-form .customer-fields :is(input, select) {
  min-width: 0; min-height: 38px; padding: 7px 9px; line-height: 1.4;
}
.customer-checkout .customer-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.customer-checkout [data-total] { color: #f5d8e1; font-size: .9rem; font-weight: 700; }
.customer-checkout [data-total]:empty { display: none; }
.customer-checkout .btn { margin-top: 5px; }
.customer-checkout [hidden] { display: none; }
.customer-steps { display: flex; gap: 16px; margin-bottom: 16px; color: #c1b9bf; font-size: .82rem; }
.customer-steps [aria-current="step"] { color: #fff; border-bottom: 2px solid var(--red, #e30613); }
.progress-card.customer-result {
  --result-signal: #97dce5;
  --result-signal-muted: #a6bac0;
  --result-signal-border: #30464f;
  position: relative;
  padding: clamp(16px, 3vw, 30px);
  border-color: #353a42;
  background: linear-gradient(155deg, #171c22 0, #111317 38%, #111113 100%);
  box-shadow: 0 18px 45px #0004;
}
.customer-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 30px);
  height: 1px;
  background: linear-gradient(90deg, #66b3c0, #3d5964 29%, #66323d 75%, transparent);
  pointer-events: none;
}
.customer-result .customer-steps [aria-current="step"] { color: var(--result-signal); border-color: var(--result-signal); }
.customer-result [data-preview-panel] { animation: analysis-row-in .26s ease-out both; }
.customer-result-hero {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(15px, 2.5vw, 25px);
  margin-bottom: 16px;
  border: 1px solid #344852;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #213038 0, #19232be8 46%, #151a20a0 100%),
    repeating-linear-gradient(90deg, #6693a221 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, #6693a221 0 1px, transparent 1px 22px),
    #141a21;
}
.customer-result-icon, .customer-product-mark {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--result-signal);
  background: #1e3038;
  border: 1px solid #42606b;
  border-radius: 10px;
}
.customer-result-icon { width: 50px; height: 50px; }
.customer-result-icon svg { width: 26px; height: 26px; }
.customer-result-heading { flex: 1; min-width: 0; }
.customer-result .customer-result-kicker {
  color: var(--result-signal);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin: 0 0 5px;
}
.customer-result-heading h3 { color: var(--text, #fff); font-size: clamp(1.35rem, 3vw, 2rem); }
.customer-result-heading p:last-child { margin: 7px 0 0; font-size: .88rem; }
.customer-result-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  max-width: 35%;
  padding: 8px 11px;
  border: 1px solid #344650;
  border-radius: 8px;
  background: #131c22c9;
  text-align: right;
}
.customer-result-meta span { font-size: .78rem; color: #c7d5dc; overflow-wrap: anywhere; }
.customer-result-meta [data-identified] { color: var(--result-signal); font-weight: 700; font-variant-numeric: tabular-nums; }
.customer-result .customer-result-notice { margin: 14px 0 0; font-size: .75rem; }
.customer-result [data-review-contact] { margin-top: 12px; }
.customer-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.customer-product {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  border: 1px solid #343a42;
  border-radius: 14px;
  background: linear-gradient(155deg, #1c2229, #181a1e 57%);
  padding: clamp(14px, 2vw, 20px);
}
.customer-product:only-child { grid-column: 1 / -1; }
.customer-product-intro p { margin: 10px 0; font-size: .88rem; }
.customer-product-heading, .customer-product-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.customer-product-heading h4 { font-size: 1.32rem; margin: 0 auto 0 0; }
.customer-product-mark { width: 34px; height: 34px; border-radius: 8px; }
.customer-product-mark svg { width: 19px; height: 19px; }
.customer-product-count {
  padding: 4px 8px;
  color: #c5dde1;
  background: #202d34;
  border: 1px solid var(--result-signal-border);
  border-radius: 7px;
  font-size: .77rem;
  font-variant-numeric: tabular-nums;
}
.customer-product-count strong { color: var(--result-signal); }
.customer-product-tags { display: flex; flex-wrap: wrap; gap: 5px 7px; }
.customer-product-tags span { font-size: .73rem; color: #c5d1d7; padding: 2px 7px; border: 1px solid #37414a; border-radius: 5px; }
.customer-product-preview { min-width: 0; }
.customer-product-footer { justify-content: space-between; }
.customer-product .customer-product-footer { margin-top: auto; padding-top: 11px; border-top: 1px solid #38343a; }
.customer-product-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; }
.customer-product-price strong { font-size: clamp(1.3rem, 2.5vw, 1.7rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.customer-product-footer small { font-weight: 400; color: #c8c8cb; }
.customer-result [data-buy] { margin-top: 0; }
.customer-combo { margin-top: 13px; padding: 12px 16px; background: #23191e; border: 1px solid #5b3642; border-radius: 12px; }
.customer-combo-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.customer-combo-saving {
  padding: 2px 8px;
  border: 1px solid #63353e;
  border-radius: 999px;
  background: #352027;
  color: #ffb9c0;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.customer-map-samples { padding: 10px 12px; border: 1px solid #303b44; border-radius: 9px; background: #12171c; }
.customer-map-samples p { margin: 0 0 4px; color: var(--result-signal); font-size: .68rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.customer-map-samples ul { list-style: none; padding: 0; margin: 0; }
.customer-map-samples li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: .8rem; }
.customer-map-samples li + li { border-top: 1px solid #29323a; }
.customer-map-samples li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-map-samples li small { flex: none; max-width: 32%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--result-signal-muted); }
.customer-product-preview:has(details[open]) .customer-map-samples { display: none; }
.customer-map-details summary { min-height: 40px; padding: 6px 2px; color: var(--result-signal); font-size: .81rem; }
.customer-map-details summary:hover { color: #fff; }
.customer-map-details[open] { padding-inline: 10px; background: #12171c; border: 1px solid #303b44; border-radius: 9px; }
.customer-map-body { padding-bottom: 10px; }
.customer-map-body label, .customer-map-body [data-map-count] { font-size: .78rem; }
.customer-map-list { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow: auto; }
.customer-map-list li { padding: 6px 8px 6px 0; border-bottom: 1px solid #353035; overflow-wrap: anywhere; }
.customer-map-list strong, .customer-map-list small { display: block; }
.customer-map-list small { color: #c8c8cb; }
.customer-selected-product { color: #f5d8e1; font-weight: 700; }
.customer-checkout [data-challenge-status]:empty { display: none; }
.customer-upload-form { max-width: 680px; margin-inline: auto; }
.customer-upload-filename { padding-bottom: 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.customer-upload-language { border: 0; padding: 0; margin: 14px 0; min-inline-size: 0; }
.customer-upload-language legend { padding: 0; margin-bottom: 7px; font-size: .88rem; }
.customer-upload-language p { margin: 6px 0 0; font-size: .78rem; }
.customer-language-options { display: flex; flex-wrap: wrap; gap: 6px; }
.customer-upload-form .customer-language-options label {
  position: relative;
  place-items: center;
  width: 46px;
  height: 44px;
  padding: 5px;
  border: 1px solid #39393e;
  border-radius: 7px;
  background: #151518;
}
.customer-language-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.customer-language-options label:has(input:checked) { border-color: #b34652; background: #30191e; }
.customer-language-options label:has(input:focus-visible) { outline: 2px solid #fb5961; outline-offset: 3px; }
.customer-language-options img { display: block; }
.customer-upload-expectation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.customer-upload-expectation p { margin: 4px 0 0; font-size: .84rem; }
.customer-upload-clock { color: #ff929c; font-size: 1.3rem; line-height: 1.15; }
.customer-upload-form .customer-upload-notify { background: linear-gradient(105deg, #211518, #151518 72%); border-color: #59303a; }
.customer-upload-form label.customer-upload-email-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.customer-upload-email-label span { color: var(--muted); font-size: .76rem; }
.customer-upload-notify input { margin-top: 10px; }
.customer-upload-actions { display: flex; justify-content: flex-end; margin-top: 13px; }
@media (max-width: 480px) {
  .customer-upload-notify input[type="email"] { font-size: 16px; }
  .customer-upload-actions .btn { width: 100%; }
}
.customer-checkout .customer-upload-note { margin-bottom: 0; font-size: .82rem; }
.customer-analysis-notify {
  margin-top: 16px;
  padding: 16px;
  background: #25191d;
  border: 1px solid #87434c;
  border-radius: 12px;
  animation: analysis-row-in .24s ease-out both;
}
.customer-notify-intro { display: flex; align-items: flex-start; gap: 12px; }
.customer-notify-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid #87434c;
  border-radius: 8px;
  background: #3d242c;
  color: #ffc2ca;
}
.customer-notify-icon svg { width: 20px; height: 20px; }
.customer-analysis-notify h3 { margin: 0; font-size: 1.08rem; }
.customer-analysis-notify p { margin: 4px 0 0; color: #ded4d9; font-size: .84rem; line-height: 1.45; }
.customer-notify-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 12px; }
.customer-notify-fields label { display: grid; gap: 4px; min-width: 0; color: #f3e9ed; font-size: .82rem; }
.customer-notify-fields :is(input, button) { min-height: 44px; }
.customer-notify-fields input { width: 100%; min-width: 0; }
.customer-analysis-notify [data-notify-status] { margin-top: 10px; }
.customer-analysis-notify [data-notify-status]:empty { display: none; }
.customer-analysis-notify[data-saved] { border-color: #50715b; background: #18251e; }
.customer-analysis-notify[data-saved] .customer-notify-intro p { display: none; }
.customer-analysis-notify[data-saved] [data-notify-status] { color: #b6e4c3; }

@media (min-width: 681px) {
  @supports (grid-template-rows: subgrid) {
    .customer-product-grid[data-layout="comparison"] .customer-product { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
    .customer-product-grid[data-layout="comparison"] .customer-product-footer { align-self: end; }
  }
  .customer-product-grid[data-layout="single"] .customer-product:has(.customer-product-footer) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(155px, .42fr);
    column-gap: 20px;
  }
  .customer-product-grid[data-layout="single"] .customer-product-footer {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid #38343a;
  }
}

@media (max-width: 680px) {
  .customer-product-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-result-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .customer-result-icon { width: 39px; height: 39px; }
  .customer-result-icon svg { width: 22px; height: 22px; }
  .customer-result-meta { grid-column: 1 / -1; justify-items: start; max-width: none; text-align: left; }
  .customer-result [data-buy] { padding-inline: 14px; }
  .customer-checkout .customer-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "company name" "email email" "street street" "postcode city" "country country" "vat vat";
  }
  .customer-checkout .customer-order-form .customer-fields :is(input, select) { min-height: 44px; font-size: 16px; }
  .customer-notify-fields { grid-template-columns: minmax(0, 1fr); }
  .customer-analysis-notify .customer-notify-fields input[type="email"] { font-size: 16px; }
  .analysis-layout { grid-template-columns: minmax(0, 1fr); }
  .analysis-scanner { min-height: 184px; border-right: 0; border-top: 1px solid var(--analysis-line); }
  .analysis-reading { grid-row: 1; padding: 17px; }
  .analysis-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-phases li:nth-child(2) { border-right: 0; }
  .analysis-phases li:nth-child(n+3) { border-top: 1px solid var(--analysis-line); }
}

@media (prefers-reduced-motion: reduce) {
  .analysis-hex-track, .analysis-scan-track, .analysis-map-names li, .customer-analysis-notify { animation: none; }
  .customer-result [data-preview-panel] { animation: none; }
  .analysis-track::-webkit-progress-value { transition: none; }
}

/* Keep drawing attention to the empty field while the prompt is visible. */
.customer-analysis-notify[data-attention]:not([data-saved]):has(input:placeholder-shown) button[type="submit"]:not(:disabled) {
  animation: customer-notify-pulse 2.5s ease-in-out infinite;
}
@keyframes customer-notify-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(255 165 177 / 0%); filter: brightness(1); }
  50% { box-shadow: 0 0 0 5px rgb(255 165 177 / 32%); filter: brightness(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .customer-analysis-notify[data-attention]:not([data-saved]):has(input:placeholder-shown) button[type="submit"]:not(:disabled) {
    animation: none;
    box-shadow: 0 0 0 2px rgb(255 165 177 / 38%);
  }
}

/* Only confirmed payments use the success layout. */
.customer-purchase-confirmed {
  position:relative; max-width:850px; margin-inline:auto; padding:clamp(19px,4vw,35px);
  border-color:#474149; background:#151416; box-shadow:0 18px 55px #0003;
}
.customer-purchase-confirmed .purchase-header { display:flex; align-items:center; gap:15px; }
.customer-purchase-confirmed .purchase-check {
  display:grid; place-items:center; width:54px; height:54px; flex:none; border-radius:15px;
  color:#9ce0b3; border:1px solid #437359; background:#1c3025;
}
.customer-purchase-confirmed .purchase-check svg { width:28px; height:28px; }
.customer-purchase-confirmed .purchase-eyebrow { display:block; font-size:.68rem; letter-spacing:.14em; font-weight:700; color:#a7dcb7; }
.customer-purchase-confirmed h3 { margin:3px 0; font-size:clamp(1.48rem,3vw,2rem); line-height:1.16; }
.customer-purchase-confirmed .purchase-header p { margin:.28rem 0 0; color:#cfccd0; font-size:.92rem; }
.customer-purchase-confirmed .purchase-details {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin:22px 0 18px;
  border:1px solid #3d383f; border-radius:12px; overflow:hidden; background:#3d383f;
}
.customer-purchase-confirmed .purchase-details>div { min-width:0; padding:11px 13px; background:#1b191d; }
.customer-purchase-confirmed .purchase-details dt { color:#ada7b0; font-size:.72rem; }
.customer-purchase-confirmed .purchase-details dd { margin:2px 0 0; color:#f6f3f7; font-size:.91rem; font-weight:650; overflow-wrap:anywhere; }
.customer-purchase-confirmed .purchase-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.customer-purchase-confirmed .purchase-actions .btn { min-height:44px; text-align:center; }
.customer-purchase-confirmed .purchase-actions .purchase-refresh { border-color:transparent; background:transparent; color:#c6bdc9; }
.customer-purchase-confirmed .purchase-actions .purchase-refresh:hover { border-color:#555059; }
.customer-purchase-confirmed .purchase-download-note { margin:12px 0 0; color:#beb8c1; font-size:.78rem; }
@media(max-width:630px) {
  .customer-purchase-confirmed .purchase-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .customer-purchase-confirmed .purchase-actions .btn { width:100%; }
  .customer-purchase-confirmed .purchase-header { align-items:flex-start; gap:10px; }
  .customer-purchase-confirmed .purchase-check { width:40px; height:40px; border-radius:10px; }
  .customer-purchase-confirmed .purchase-check svg { width:22px; height:22px; }
}

/* Completed-analysis results: quiet surfaces, red actions, green totals. */
.progress-card.customer-result {
  --result-signal: #ededee;
  --result-signal-muted: #a6a6ad;
  --result-signal-border: #36363b;
  --result-map-green: #69c98d;
  background: #101012;
  border-color: #2c2c31;
}
.customer-result::before { display: none; }
.customer-result .customer-steps [aria-current="step"] { color: #fff; border-color: #e30613; }
.customer-result .customer-result-hero {
  border: 0;
  border-bottom: 1px solid #303035;
  border-radius: 0;
  background: transparent;
  padding: clamp(9px, 1.5vw, 16px) 0 clamp(16px, 2vw, 24px);
  margin-bottom: 17px;
}
.customer-result .customer-result-kicker { color: #a6a6ad; }
.customer-result :is(.customer-result-icon, .customer-product-mark) {
  color: #d0d0d4;
  background: #1a1a1d;
  border-color: #35353a;
}
.customer-result .customer-result-meta { background: #151517; border-color: #333338; }
.customer-result .customer-result-meta span { color: #c8c8cb; }
.customer-result .customer-result-meta [data-identified] { color: #fff; }
.customer-result .customer-product { background: #18181b; border-color: #333338; }
.customer-result .customer-product-count { color: #d5d5d8; background: #202023; border-color: #36363b; }
.customer-result .customer-product-count strong { color: var(--result-map-green); }
.customer-result :is(.customer-map-samples li span, .customer-map-list strong) { color: #fff; }
.customer-result .customer-product-tags span { border-color: #38383d; color: #c8c8cb; }
.customer-result :is(.customer-map-samples, .customer-map-details[open]) { background: #111113; border-color: #303035; }
.customer-result .customer-map-samples p { color: #a6a6ad; }
.customer-result .customer-map-samples li + li { border-color: #29292d; }
.customer-result .customer-combo {
  background: linear-gradient(105deg, #49171d 0%, #31151a 54%, #1d1518 100%);
  border-color: #693039;
}
.customer-result .customer-combo-saving { background: #212124; border-color: #39393d; color: #e3e3e5; }

.progress-card.customer-no-maps {
  background: linear-gradient(112deg, #2b1519, #171214 60%, #111113);
  border-color: #593038;
}
.customer-no-maps .customer-result-hero { border-color: #553139; }
.customer-no-maps .customer-result-kicker { color: #f2a1a8; }
.customer-no-maps .customer-result-icon { background: #361a20; border-color: #61343d; color: #f2a1a8; }
.customer-no-maps .customer-result-meta { background: #1b1518; border-color: #503139; }
.customer-no-maps-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.customer-no-maps-contact h4 { margin: 0 0 4px; }
.customer-no-maps-contact p { margin: 0; font-size: .88rem; }
.customer-no-maps-contact .btn { min-height: 44px; text-align: center; }
@media (max-width: 630px) {
  .customer-no-maps-contact .btn { width: 100%; }
}

.customer-result .customer-product-preview:has(.customer-map-details) {
  border: 1px solid #36363c;
  border-radius: 10px;
  background: #111113;
}
.customer-result .customer-map-details,
.customer-result .customer-map-details[open] {
  padding: 0;
  border: 0;
  background: transparent;
}
.customer-result .customer-map-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 11px;
  border-radius: 9px 9px 0 0;
  color: #fff;
  background: #1b1b1f;
  font-size: .91rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.customer-result .customer-map-details summary:hover { background: #242428; }
.customer-result .customer-map-details summary:focus-visible { outline-offset: 2px; }
.customer-result .customer-map-details summary::-webkit-details-marker { display: none; }
.customer-result .customer-map-details summary::after { content: none; }
.customer-map-details summary > svg { width: 17px; height: 17px; flex: 0 0 17px; color: #a9a9b1; }
.customer-map-details .map-trigger-title { min-width: 0; overflow-wrap: anywhere; }
.customer-map-details .map-trigger-action {
  display: inline-flex; align-items: center; gap: 5px; margin-inline-start: auto;
  padding: 4px 7px; white-space: nowrap; border: 1px solid #53535b;
  border-radius: 6px; color: #ececf0; background: #26262a;
  font-size: .76rem; font-weight: 650;
}
.customer-map-details summary:hover .map-trigger-action { border-color: #888891; background: #333338; }
.customer-map-details .map-trigger-arrow { width: 14px; height: 14px; flex: 0 0 14px; }
.customer-map-details .map-trigger-open, .customer-map-details[open] .map-trigger-closed { display: none; }
.customer-map-details[open] .map-trigger-open { display: inline; }
.customer-map-details[open] .map-trigger-arrow { transform: rotate(180deg); }
.customer-result .customer-map-details .customer-map-body {
  padding: 12px;
  border-top: 1px solid #36363c;
}
.customer-result .customer-map-details + .customer-map-samples {
  margin: 0; padding: 6px 11px; border: 0; border-top: 1px solid #36363c;
  border-radius: 0 0 9px 9px; background: transparent;
}
.customer-map-details + .customer-map-samples p { display: none; }
