/* Quote X-ray (lead magnet prototype #2). Tokens only; every class carries the lm-quote-xray- prefix. */

/* ---------- Prototype controls (chrome, not production) ---------- */
.lm-quote-xray-proto { background: var(--mist); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); }
.lm-quote-xray-proto summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-family: var(--font-mono); letter-spacing: .03em; color: var(--text-2); }
.lm-quote-xray-proto summary::-webkit-details-marker { display: none; }
.lm-quote-xray-proto summary b { font-weight: 500; color: var(--text); }
.lm-quote-xray-proto summary .i { width: 16px; height: 16px; }
.lm-quote-xray-proto__chev { margin-left: auto; transition: transform .2s var(--ease); }
.lm-quote-xray-proto details[open] .lm-quote-xray-proto__chev { transform: rotate(180deg); }
.lm-quote-xray-proto__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.8fr); gap: 16px 20px; padding: 4px 0 20px; align-items: end; }
.lm-quote-xray-proto__grid .field label { font-size: var(--fs-xs); font-weight: 600; }
.lm-quote-xray-proto__grid .select { min-height: 44px; padding-block: 8px; font-size: var(--fs-sm); }
.lm-quote-xray-proto__sims { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lm-quote-xray-proto__sims .label { width: 100%; font-size: var(--fs-xs); font-weight: 600; color: var(--text); margin-bottom: -2px; }
.lm-quote-xray-proto__sims .btn { min-height: 44px; }
@media (max-width: 1000px) { .lm-quote-xray-proto__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lm-quote-xray-proto__grid { grid-template-columns: minmax(0, 1fr); } .lm-quote-xray-proto__hint { display: none; } }

/* Prototype chrome: lift the shared concept-strip buttons to a 44px touch target on this page. */
.lm-concept__actions a, .lm-concept__actions button { min-height: 44px; }

/* ---------- Shared bits ---------- */
.lm-quote-xray-linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; cursor: pointer; text-align: left; }
.lm-quote-xray-linkbtn:hover { text-decoration-color: currentColor; }
.lm-quote-xray-linkbtn .i { width: 16px; height: 16px; color: var(--text-3); }
.lm-quote-xray-linkbtn--brand { color: var(--brand); min-height: 0; display: inline; text-decoration-color: var(--brand-tint-2); }
.lm-quote-xray-err { display: flex; align-items: flex-start; gap: 6px; font-weight: 500; }
.lm-quote-xray-err[hidden] { display: none; }
.lm-quote-xray-err .i { width: 15px; height: 15px; margin-top: 2px; }
.lm-quote-xray-opt { font-weight: 400; color: var(--text-3); }
.lm-quote-xray-simtag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); }
.lm-quote-xray-simlink { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 0; font: inherit; color: var(--warn); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lm-quote-xray-results .btn--sm { min-height: 44px; }
.lm-quote-xray-subhead { display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.lm-quote-xray-only-mob { display: none; }
html[data-qx-device="mobile"] .lm-quote-xray-only-desk { display: none; }
html[data-qx-device="mobile"] .lm-quote-xray-only-mob { display: inline; }
html[data-qx-device="mobile"] p.lm-quote-xray-only-mob, html[data-qx-device="mobile"] li .lm-quote-xray-only-mob { display: inline; }

/* ---------- Hero + intake ---------- */
.lm-quote-xray-hero { padding-block: clamp(32px, 4.5vw, 72px) clamp(56px, 6vw, 96px); }
.lm-quote-xray-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 548px); grid-template-areas: "intro intake" "more intake"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); row-gap: 26px; align-items: start; }
.lm-quote-xray-hero__intro { grid-area: intro; display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.lm-quote-xray-hero__more { grid-area: more; display: flex; flex-direction: column; gap: 22px; }
.lm-quote-xray-intake { grid-area: intake; }
.lm-quote-xray-hero__intro h1 { max-width: 15ch; }
.lm-quote-xray-hero__intro .lead { max-width: 54ch; }
.lm-quote-xray-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.lm-quote-xray-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); line-height: 1.45; }
.lm-quote-xray-checks b { color: var(--text); font-weight: 600; }
.lm-quote-xray-checks .i { width: 18px; height: 18px; color: var(--text-3); margin-top: 1px; }
@media (max-width: 1040px) { .lm-quote-xray-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "intake" "more"; grid-template-rows: none; row-gap: 32px; } .lm-quote-xray-hero__intro h1 { max-width: 18ch; } }
@media (max-width: 560px) { .lm-quote-xray-checks { grid-template-columns: minmax(0, 1fr); } .lm-quote-xray-checks li { padding: 11px 0; } }

.lm-quote-xray-intake { display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 2.2vw, 28px); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-xl); box-shadow: var(--shadow-pop); scroll-margin-top: calc(var(--header-h) + 16px); }
.lm-quote-xray-intake__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lm-quote-xray-intake__title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; }
.lm-quote-xray-intake__top { align-items: flex-start; }
.lm-quote-xray-intake__top .badge { flex: none; margin-top: 2px; }
.lm-quote-xray-intake__sub { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.45; }
.lm-quote-xray-known { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-md); background: var(--brand-tint); border: 1px solid var(--brand-tint-2); font-size: var(--fs-sm); color: var(--brand-ink); }
.lm-quote-xray-known p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.lm-quote-xray-known .lm-quote-xray-linkbtn { color: var(--brand-ink); font-size: var(--fs-sm); text-decoration-color: var(--brand-tint-2); min-height: 44px; }
.lm-quote-xray-known__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

.lm-quote-xray-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 4px; border-radius: calc(var(--r-md) + 2px); background: var(--mist-2); }
.lm-quote-xray-tabs [role="tab"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); white-space: nowrap; transition: background-color .15s, color .15s; }
.lm-quote-xray-tabs [role="tab"]:hover { color: var(--text); }
.lm-quote-xray-tabs [role="tab"] .i { width: 17px; height: 17px; }
.lm-quote-xray-tabs [aria-selected="true"] { background: var(--paper); color: var(--text); box-shadow: var(--shadow-xs); }
.lm-quote-xray-tabs [role="tab"]:focus-visible { outline: none; box-shadow: var(--ring); }
@media (max-width: 420px) { .lm-quote-xray-tabs [role="tab"] .i { display: none; } }

.lm-quote-xray-list { min-height: 214px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; }
.lm-quote-xray-offer { min-height: 92px; }
.lm-quote-xray-intake__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lm-quote-xray-intake__actions .btn--primary { flex: 1 1 auto; }
@media (max-width: 520px) { .lm-quote-xray-intake__actions .btn { width: 100%; } }
.lm-quote-xray-intake__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; padding-top: 6px; border-top: 1px solid var(--line); }
.lm-quote-xray-intake__foot[hidden] { display: none; }
.lm-quote-xray-intake__privacy { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-xs); color: var(--text-3); margin-top: -6px; }
.lm-quote-xray-intake__privacy .i { width: 14px; height: 14px; margin-top: 2px; }

.lm-quote-xray-drop { position: relative; }
.lm-quote-xray-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lm-quote-xray-drop label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 214px; padding: 24px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--mist); cursor: pointer; transition: border-color .15s, background-color .15s; }
.lm-quote-xray-drop label:hover, .lm-quote-xray-drop.is-over label { border-color: var(--ink); background: var(--paper); }
.lm-quote-xray-drop__input:focus-visible + label { box-shadow: var(--ring); border-color: var(--brand); }
.lm-quote-xray-drop__main { font-weight: 600; }
.lm-quote-xray-drop__sub { font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-fileinfo { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); color: var(--text-2); }
.lm-quote-xray-fileinfo .i { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.lm-quote-xray-fileinfo b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

.lm-quote-xray-bridge { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 22px; align-items: start; }
.lm-quote-xray-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lm-quote-xray-qr__code { width: 156px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: var(--ink); }
.lm-quote-xray-qr__code svg { width: 100%; height: auto; }
.lm-quote-xray-bridge__title { font-weight: 600; line-height: 1.35; }
.lm-quote-xray-bridge__steps { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.lm-quote-xray-bridge__steps li::marker { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-bridge__btn { align-self: flex-start; }
.lm-quote-xray-bridge__ref { font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-bridge .hint { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.lm-quote-xray-bridge .hint a { color: var(--text-2); }
.lm-quote-xray-bridge__ref b { color: var(--text); font-weight: 500; }
.lm-quote-xray-bridge__sim { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.lm-quote-xray-bridge__sim .btn { min-height: 44px; }
.lm-quote-xray-bridge__chat { margin-top: 14px; }
.lm-quote-xray-minichat { max-width: none; }
.lm-quote-xray-doc { display: flex; gap: 10px; align-items: center; }
.lm-quote-xray-doc .i { width: 26px; height: 26px; color: var(--danger); }
.lm-quote-xray-doc span { display: flex; flex-direction: column; }
.lm-quote-xray-doc small { font-size: 11.5px; color: var(--text-3); }
html[data-qx-device="mobile"] .lm-quote-xray-bridge { grid-template-columns: minmax(0, 1fr); }
html[data-qx-device="mobile"] .lm-quote-xray-qr { display: none; }
html[data-qx-device="mobile"] .lm-quote-xray-bridge__btn { align-self: stretch; }
html[data-qx-device="desktop"] .lm-quote-xray-bridge__btn { display: none; }
@media (max-width: 520px) { .lm-quote-xray-bridge { grid-template-columns: minmax(0, 1fr); } .lm-quote-xray-qr { display: none; } }

.lm-quote-xray-package__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; }
.lm-quote-xray-package__head .lm-quote-xray-linkbtn { font-size: var(--fs-xs); }
.lm-quote-xray-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-quote-xray-examples .chip { min-height: 44px; font-size: var(--fs-xs); font-family: var(--font-mono); cursor: pointer; }

/* ---------- Results ---------- */
.lm-quote-xray-results { scroll-margin-top: var(--header-h); }
.lm-quote-xray-results > .container { display: flex; flex-direction: column; gap: 24px; }
.lm-quote-xray-results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.lm-quote-xray-results__head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); max-width: 26ch; }
.lm-quote-xray-results__head h2:focus { outline: none; }
.lm-quote-xray-results__head h2:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.lm-quote-xray-results__demo { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 300px; text-align: right; }
.lm-quote-xray-results__demo p { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.45; }
@media (max-width: 760px) { .lm-quote-xray-results__demo { align-items: flex-start; text-align: left; max-width: none; } }

/* Published grading rules */
.lm-quote-xray-rules { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.lm-quote-xray-rules summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: 600; }
.lm-quote-xray-rules summary::-webkit-details-marker { display: none; }
.lm-quote-xray-rules summary .i { width: 16px; height: 16px; color: var(--text-3); flex: none; }
.lm-quote-xray-rules summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-lg); }
.lm-quote-xray-rules__chev { margin-left: auto; transition: transform .2s var(--ease); }
.lm-quote-xray-rules[open] .lm-quote-xray-rules__chev { transform: rotate(180deg); }
.lm-quote-xray-rules__body { display: flex; flex-direction: column; gap: 12px; padding: 0 20px 18px; color: var(--text-2); }
.lm-quote-xray-rules__dl { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.lm-quote-xray-rules__dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; }
.lm-quote-xray-rules__dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 520px) { .lm-quote-xray-rules summary { padding: 0 16px; } .lm-quote-xray-rules__body { padding: 0 16px 16px; } .lm-quote-xray-rules__dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

.lm-quote-xray-parse { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.lm-quote-xray-parse__read { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-2); }
.lm-quote-xray-parse__read b { color: var(--text); font-weight: 500; }
.lm-quote-xray-parse__read i { font-style: normal; color: var(--line-strong); }
.lm-quote-xray-parse__read .i { width: 16px; height: 16px; color: var(--brand); }
.lm-quote-xray-parse__read .is-warn { color: var(--warn); }
.lm-quote-xray-parse__act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.lm-quote-xray-parse__act .btn .i { width: 15px; height: 15px; }
.lm-quote-xray-parse__act .lm-quote-xray-linkbtn { font-size: var(--fs-xs); }
.lm-quote-xray-parse__src { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }

.lm-quote-xray-split { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.lm-quote-xray-split__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); }
.lm-quote-xray-split__nums--5 { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); }
.lm-quote-xray-split__nums > div { display: flex; flex-direction: column; padding: 0 20px; border-left: 1px solid var(--line); min-width: 0; }
.lm-quote-xray-split__nums > div:first-child { padding-left: 0; border-left: 0; }
.lm-quote-xray-split__nums .stat__value { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); }
.lm-quote-xray-split__nums .stat__value small { font-size: .5em; color: var(--text-3); letter-spacing: 0; font-weight: 500; margin-left: 2px; }
.lm-quote-xray-split__nums .stat__label { display: flex; align-items: center; gap: 8px; }
.lm-quote-xray-split__nums .stat__label i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.lm-quote-xray-split__nums .is-key .stat__value { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; }
.lm-quote-xray-bar { display: flex; gap: 2px; height: 10px; border-radius: var(--r-pill); overflow: hidden; background: var(--mist-2); }
.lm-quote-xray-bar i { display: block; height: 100%; min-width: 4px; }
.is-keep { background: var(--brand); }
.is-check { background: var(--warn); }
.is-avoid { background: var(--danger); }
.lm-quote-xray-split__note { font-size: var(--fs-xs); color: var(--text-3); }
@media (max-width: 860px) {
  .lm-quote-xray-split__nums, .lm-quote-xray-split__nums--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .lm-quote-xray-split__nums .is-key { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .lm-quote-xray-split__nums--5 > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .lm-quote-xray-split__nums--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-quote-xray-split__nums--5 > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .lm-quote-xray-split__nums--5 > div:nth-child(4) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 420px) { .lm-quote-xray-split__nums > div { padding: 0 12px; } }

.lm-quote-xray-results__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.lm-quote-xray-results__aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1100px) { .lm-quote-xray-results__grid { grid-template-columns: minmax(0, 1fr); } .lm-quote-xray-results__aside { position: static; } }

/* Verdict chips */
.lm-quote-xray-v { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.lm-quote-xray-v::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lm-quote-xray-v--keep { color: var(--brand-ink); background: var(--brand-tint); border-color: var(--brand-tint-2); }
.lm-quote-xray-v--check { color: var(--warn); background: var(--warn-tint); border-color: color-mix(in srgb, var(--warn) 24%, var(--paper)); }
.lm-quote-xray-v--avoid { color: var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--paper)); border-color: color-mix(in srgb, var(--danger) 24%, var(--paper)); }

/* Graded site cards */
.lm-quote-xray-graded { display: flex; flex-direction: column; gap: 16px; }
.lm-quote-xray-graded__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.lm-quote-xray-graded__head h3, .lm-quote-xray-lines__head h3, .lm-quote-xray-swaps__head h3, .lm-quote-xray-qs__head h3 { font-size: var(--fs-h4); }
.lm-quote-xray-site { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs); }
.lm-quote-xray-site__head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; }
.lm-quote-xray-site__fav { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--ink); color: var(--text-on-dark); font-weight: 700; font-size: 15px; }
.lm-quote-xray-site[data-verdict="avoid"] .lm-quote-xray-site__fav { background: var(--ink-3); }
.lm-quote-xray-site__id { min-width: 0; }
.lm-quote-xray-site__domain { display: flex; align-items: baseline; gap: 10px; font-size: 1.0625rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.lm-quote-xray-site__n { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); }
.lm-quote-xray-site__meta { margin-top: 2px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.lm-quote-xray-site__why { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 16px; font-size: var(--fs-sm); color: var(--text-2); }
.lm-quote-xray-site__price { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-site__price .i { width: 15px; height: 15px; margin-top: 1px; }
.lm-quote-xray-pos { font-weight: 600; white-space: nowrap; }
.lm-quote-xray-pos--under, .lm-quote-xray-pos--eq { color: var(--text); }
.lm-quote-xray-pos--over { color: var(--warn); }
.lm-quote-xray-pos--na { color: var(--text-3); font-weight: 500; }

.lm-quote-xray-ev { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.lm-quote-xray-ev > div { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; background: var(--paper); min-width: 0; }
.lm-quote-xray-ev > .is-wide { grid-column: span 2; }
.lm-quote-xray-ev__k { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.lm-quote-xray-ev__k i { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); flex: none; }
.lm-quote-xray-ev__v { font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.lm-quote-xray-ev .is-flag .lm-quote-xray-ev__v { color: var(--danger); }
.lm-quote-xray-ev__n { font-size: 12px; line-height: 1.4; color: var(--text-3); }
.lm-quote-xray-ev__spark { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; }
.lm-quote-xray-ev__axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }
.lm-quote-xray-spark { display: block; width: 100%; height: 48px; overflow: visible; }
.lm-quote-xray-spark .l { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.lm-quote-xray-spark .a { fill: var(--mist-2); }
.lm-quote-xray-spark .b { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lm-quote-xray-spark.is-fall .l { stroke: var(--danger); }
.lm-quote-xray-spark.is-fall .a { fill: color-mix(in srgb, var(--danger) 8%, var(--paper)); }
.lm-quote-xray-spark.is-mini { width: 72px; height: 22px; }
.lm-quote-xray-share { display: block; height: 6px; margin: 4px 0 2px; border-radius: var(--r-pill); background: var(--mist-2); overflow: hidden; }
.lm-quote-xray-share i { display: block; height: 100%; background: var(--ink); border-radius: var(--r-pill); }
.lm-quote-xray-ev .is-flag .lm-quote-xray-share i { background: var(--danger); }
@media (max-width: 1240px) and (min-width: 1101px) { .lm-quote-xray-ev { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .lm-quote-xray-ev { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .lm-quote-xray-site__head { grid-template-columns: 36px minmax(0, 1fr); padding: 14px 16px; gap: 12px; }
  .lm-quote-xray-site__fav { width: 36px; height: 36px; }
  .lm-quote-xray-site__head .lm-quote-xray-v { grid-column: 2; justify-self: start; }
  .lm-quote-xray-site__why { padding: 0 16px 14px; }
  .lm-quote-xray-ev > div { padding: 12px 14px; }
}

/* Capture card */
.lm-quote-xray-cap { gap: 16px; }
.lm-quote-xray-who { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lm-quote-xray-who p { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.lm-quote-xray-who b { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.lm-quote-xray-cap__title { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; text-wrap: balance; }
.lm-quote-xray-cap__title:focus { outline: none; }
.lm-quote-xray-cap__ch .option { min-height: 48px; padding: 10px 14px; font-size: var(--fs-sm); }
.lm-quote-xray-cap__ch[hidden] { display: none; }
.lm-quote-xray-cap__consents { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.lm-quote-xray-cap__consents .lm-consent { padding: 11px 0; min-height: 44px; border-bottom: 1px solid var(--line); cursor: pointer; }
.lm-quote-xray-cap__consents .lm-consent[hidden] { display: none; }
.lm-quote-xray-cap__consents .lm-consent input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.lm-quote-xray-cap__consents .lm-quote-xray-err { padding-top: 8px; }
.lm-quote-xray-cap__alertphone { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lm-quote-xray-cap__notice { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.lm-quote-xray-cap__notice a { color: var(--text-2); }
.lm-quote-xray-cap__bridge { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.55; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.lm-quote-xray-cap__bridge a { color: var(--text); font-weight: 600; }
.lm-quote-xray-cap__bridge[hidden] { display: none; }
.lm-quote-xray-knowncard__alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; }
.lm-quote-xray-knowncard__alt .lm-quote-xray-linkbtn { font-size: var(--fs-xs); }
.lm-quote-xray-knowncard .lm-quote-xray-cap__title:focus { outline: none; }

.lm-quote-xray-done { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--brand-tint-2); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-card); }
.lm-quote-xray-done:focus { outline: none; }
.lm-quote-xray-done:focus-visible { box-shadow: var(--ring), var(--shadow-card); }
.lm-quote-xray-done .check-list { gap: 9px; }
.lm-quote-xray-done__btns { display: flex; flex-direction: column; gap: 8px; }
.lm-quote-xray-done__btns .btn { white-space: normal; text-align: center; }
.lm-quote-xray-signoff { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); }
.lm-quote-xray-signoff p + p { margin-top: 4px; }
.lm-quote-xray-signoff b { font-weight: 600; }
.lm-quote-xray-signoff > .i { width: 22px; height: 22px; margin: 9px; color: var(--text-2); }
.lm-quote-xray-signoff .link-arrow { margin-top: 8px; font-size: var(--fs-sm); }
.lm-quote-xray-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; color: var(--text-2); }

/* Lines table */
.lm-quote-xray-lines { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); scroll-margin-top: calc(var(--header-h) + 16px); }
.lm-quote-xray-lines__head, .lm-quote-xray-swaps__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.lm-quote-xray-lines__head > div, .lm-quote-xray-swaps__head > div { display: flex; flex-direction: column; gap: 4px; max-width: 64ch; }
.lm-quote-xray-tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.lm-quote-xray-tbl th, .lm-quote-xray-tbl td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lm-quote-xray-tbl th:first-child, .lm-quote-xray-tbl td:first-child { padding-left: 0; }
.lm-quote-xray-tbl th:last-child, .lm-quote-xray-tbl td:last-child { padding-right: 0; }
.lm-quote-xray-tbl thead th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.lm-quote-xray-tbl tbody tr:last-child td, .lm-quote-xray-tbl tbody tr:last-child th { border-bottom: 0; }
.lm-quote-xray-tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lm-quote-xray-tbl .c-n { width: 32px; color: var(--text-3); font-family: var(--font-mono); font-size: var(--fs-xs); text-align: left; }
.lm-quote-xray-tbl .c-site small { display: block; font-size: 11.5px; color: var(--text-3); }
.lm-quote-xray-tbl .c-site small.mono { overflow-wrap: anywhere; }
.lm-quote-xray-tbl .c-v, .lm-quote-xray-tbl .c-pos { white-space: nowrap; }
.lm-quote-xray-lines__dom { font-weight: 600; overflow-wrap: anywhere; }
.lm-quote-xray-tbl tr.is-locked .c-site, .lm-quote-xray-tbl tr.is-locked .c-dr, .lm-quote-xray-tbl tr.is-locked .c-q, .lm-quote-xray-tbl tr.is-locked .c-our, .lm-quote-xray-tbl tr.is-locked .c-pos { color: var(--text); }
.lm-quote-xray-lockcell { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); }
.lm-quote-xray-lockcell .i { width: 14px; height: 14px; }
.lm-quote-xray-lockcell .lm-blur { filter: blur(4px); font-size: var(--fs-xs); }
.lm-quote-xray-nobuy { color: var(--danger); font-weight: 600; font-size: var(--fs-xs); white-space: nowrap; }
.lm-quote-xray-lines__foot { font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-only-narrow { display: none !important; }
.lm-quote-xray-nw { white-space: nowrap; }
.lm-quote-xray-lines__wrap { overflow-x: auto; }
@media (max-width: 760px) {
  .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links):not(.lm-quote-xray-tbl--ev):not(.lm-quote-xray-tbl--claims) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) tbody tr { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) tbody tr:last-child { border-bottom: 0; }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) td { padding: 0; border: 0; }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-n { grid-row: 1 / span 2; padding-top: 2px; }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-site { grid-column: 2; grid-row: 1 / span 2; }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-v { grid-column: 3; grid-row: 1; justify-self: end; }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-fair { grid-column: 3; grid-row: 2; justify-self: end; font-size: var(--fs-xs); }
  .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-dr, .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-q, .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-our, .lm-quote-xray-lines .lm-quote-xray-tbl:not(.lm-quote-xray-tbl--links) .c-pos { display: none; }
  .lm-quote-xray-only-narrow { display: block !important; }
  .lm-quote-xray-lines .lm-quote-xray-tbl tr.is-locked .c-fair { display: none; }
  .lm-quote-xray-lines .lm-quote-xray-tbl tr.is-locked .c-v .lm-blur { display: none; }
  .lm-quote-xray-lines .lm-quote-xray-tbl tr.is-locked .c-v { align-self: start; padding-top: 3px; }
  .lm-quote-xray-lines__head .btn { width: 100%; }
}

/* Delivered-links table */
.lm-quote-xray-tbl--links { min-width: 720px; }
.lm-quote-xray-tbl--links .c-site { max-width: 300px; }
.lm-quote-xray-tbl--links .c-trend { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.lm-quote-xray-tbl--links .c-trend .is-bad { color: var(--danger); }
.lm-quote-xray-st { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-xs); background: var(--mist); font-family: var(--font-mono); font-size: 11px; color: var(--text-2); white-space: nowrap; }
.lm-quote-xray-st.is-warn { background: var(--warn-tint); color: var(--warn); }
.lm-quote-xray-st.is-bad { background: color-mix(in srgb, var(--danger) 8%, var(--paper)); color: var(--danger); }
.lm-quote-xray-results[data-mode="links"] .lm-quote-xray-results__grid { grid-template-columns: minmax(0, 1fr) 360px; }
@media (max-width: 760px) {
  .lm-quote-xray-tbl--links { min-width: 0; }
  .lm-quote-xray-tbl--links thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lm-quote-xray-tbl--links tbody tr { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); }
  .lm-quote-xray-tbl--links tbody tr:last-child { border-bottom: 0; }
  .lm-quote-xray-tbl--links td { padding: 0 !important; border: 0; }
  .lm-quote-xray-tbl--links .c-n { position: absolute; left: 0; top: 14px; }
  .lm-quote-xray-tbl--links .c-site { flex: 0 0 100%; max-width: none; margin-bottom: 2px; }
  .lm-quote-xray-tbl--links .c-http .lm-quote-xray-st::before { content: "HTTP"; }
  .lm-quote-xray-tbl--links .c-idx .lm-quote-xray-st::before { content: "Indexed:"; }
  .lm-quote-xray-tbl--links .c-http .lm-quote-xray-st::before, .lm-quote-xray-tbl--links .c-idx .lm-quote-xray-st::before { margin-right: .4em; color: var(--text-3); }
  .lm-quote-xray-tbl--links .c-rel .subtle { display: none; }
  .lm-quote-xray-tbl--links .c-trend { flex: 0 0 100%; margin-top: 2px; }
  .lm-quote-xray-tbl--links .c-trend::before { content: "Host traffic"; font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--text-3); }
  .lm-quote-xray-tbl--links tr.is-locked .c-trend { display: none; }
  .lm-quote-xray-tbl--links .c-lock { flex: 0 0 100%; }
}
@media (max-width: 1100px) { .lm-quote-xray-results[data-mode="links"] .lm-quote-xray-results__grid { grid-template-columns: minmax(0, 1fr); } }
.lm-quote-xray-firstrows .lm-quote-xray-lines { padding: clamp(18px, 2vw, 24px); }

.lm-quote-xray-evpack { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.lm-quote-xray-tbl--ev { min-width: 820px; font-size: var(--fs-xs); }
.lm-quote-xray-tbl--ev td.mono { font-family: var(--font-mono); font-size: 11.5px; overflow-wrap: anywhere; }

/* Swaps */
.lm-quote-xray-swaps { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.lm-quote-xray-swaps__sum { font-size: var(--fs-sm); color: var(--text-2); max-width: 40ch; }
.lm-quote-xray-swaps__head > .lm-quote-xray-swaps__side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 40ch; }
.lm-quote-xray-swaplist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.lm-quote-xray-swaprow { display: grid; grid-template-columns: minmax(0, 1.25fr) 28px minmax(0, 1fr) minmax(0, 1.15fr) 112px; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lm-quote-xray-swaprow:last-child { border-bottom: 0; padding-bottom: 0; }
.lm-quote-xray-swaprow__from, .lm-quote-xray-swaprow__to { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lm-quote-xray-swaprow__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.lm-quote-xray-swaprow__dom { font-weight: 600; color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--line-strong); overflow-wrap: anywhere; }
.lm-quote-xray-swaprow__why { font-size: var(--fs-xs); color: var(--danger); }
.lm-quote-xray-swaprow__arrow { color: var(--text-3); display: grid; place-items: center; }
.lm-quote-xray-swaprow__arrow .i { width: 18px; height: 18px; }
.lm-quote-xray-swaprow__cat { font-weight: 600; }
.lm-quote-xray-swaprow__mask { font-size: var(--fs-xs); color: var(--text-3); letter-spacing: .08em; }
.lm-quote-xray-swaprow__m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lm-quote-xray-swaprow__m dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.lm-quote-xray-swaprow__m dd { font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lm-quote-xray-swaprow__price { display: flex; flex-direction: column; align-items: flex-end; font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-swaprow__price b { font-size: var(--fs-sm); color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 960px) {
  .lm-quote-xray-swaprow { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); align-items: start; }
  .lm-quote-xray-swaprow__arrow { padding-top: 14px; }
  .lm-quote-xray-swaprow__m { grid-column: 1 / 3; }
  .lm-quote-xray-swaprow__price { grid-column: 3; align-items: flex-start; flex-direction: row; gap: 6px; align-self: end; }
}
@media (max-width: 520px) {
  .lm-quote-xray-swaprow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lm-quote-xray-swaprow__arrow { display: none; }
  .lm-quote-xray-swaprow__to { padding-left: 12px; border-left: 2px solid var(--brand-tint-2); }
  .lm-quote-xray-swaprow__m, .lm-quote-xray-swaprow__price { grid-column: 1; }
  .lm-quote-xray-swaprow__price { flex-direction: row; gap: 6px; align-items: baseline; }
}

/* Package claims + questions */
.lm-quote-xray-claims { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.lm-quote-xray-tbl--claims tbody th { font-weight: 600; white-space: nowrap; vertical-align: top; }
.lm-quote-xray-tbl--claims td { vertical-align: top; }
.lm-quote-xray-tbl--claims td.muted { font-size: var(--fs-xs); line-height: 1.5; }
@media (max-width: 760px) {
  .lm-quote-xray-tbl--claims thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lm-quote-xray-tbl--claims tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .lm-quote-xray-tbl--claims tbody tr:last-child { border-bottom: 0; }
  .lm-quote-xray-tbl--claims th, .lm-quote-xray-tbl--claims td { padding: 0; border: 0; }
  .lm-quote-xray-tbl--claims tbody th { grid-column: 1; }
  .lm-quote-xray-tbl--claims td:nth-of-type(1) { grid-column: 1; font-size: var(--fs-xs); font-family: var(--font-mono); color: var(--text-2); }
  .lm-quote-xray-tbl--claims td:nth-of-type(2) { grid-column: 1 / -1; }
  .lm-quote-xray-tbl--claims td:nth-of-type(3) { grid-column: 2; grid-row: 1; }
}
.lm-quote-xray-qs { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.lm-quote-xray-qs__head { display: flex; flex-direction: column; gap: 4px; }
.lm-quote-xray-qs__list { list-style: none; padding: 0; margin: 0; }
.lm-quote-xray-qs__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.lm-quote-xray-qs__list li > div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4px 24px; }
@media (max-width: 640px) { .lm-quote-xray-qs__list li > div { grid-template-columns: minmax(0, 1fr); } }
.lm-quote-xray-qs__n { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand); padding-top: 2px; }
.lm-quote-xray-qs__q { font-weight: 600; line-height: 1.4; }
.lm-quote-xray-qs .btn { align-self: flex-start; }
.lm-quote-xray-qs .btn .i { width: 16px; height: 16px; }

/* ---------- How this fires: host contexts ---------- */
.lm-fires dd { color: var(--text-2); line-height: 1.55; }
.lm-fires dd b { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--text); }
.lm-quote-xray-hosts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lm-quote-xray-host { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lm-quote-xray-host figcaption { font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-host figcaption .mono { color: var(--text-2); }
.lm-quote-xray-host__frame { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); min-height: 248px; }
.lm-quote-xray-host__faq summary { font-size: var(--fs-body); padding: 0 0 12px; }
.lm-quote-xray-host__faq details { border-bottom: 0; }
.lm-quote-xray-host__faq .faq__a { padding: 0; font-size: var(--fs-sm); }
.lm-quote-xray-host__faq { border-top: 0; }
.lm-quote-xray-host__guide { display: flex; gap: 14px; align-items: center; }
.lm-quote-xray-host__strong { font-weight: 600; }
.lm-quote-xray-host__links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.lm-quote-xray-host__links .link-arrow { font-size: var(--fs-sm); }
.lm-quote-xray-host__alt { color: var(--text); }
.lm-quote-xray-host__frame--exit { align-items: center; background: var(--mist); overflow: hidden; }
.lm-quote-xray-host__ghost { position: absolute; inset: 20px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; opacity: .55; }
.lm-quote-xray-host__ghost i { border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); }
.lm-quote-xray-host__sim { position: relative; min-height: 44px; }
.lm-quote-xray-host__frame--exit.is-on .lm-quote-xray-host__sim { display: none; }
.lm-quote-xray-host__frame--exit.is-on .lm-quote-xray-host__ghost { opacity: .3; }
.lm-quote-xray-exit { position: relative; width: min(380px, 100%); display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-pop); border: 1px solid var(--line); animation: lmIn .3s var(--ease); }
.lm-quote-xray-exit__btns { display: flex; gap: 8px; margin-top: 6px; }
.lm-quote-xray-exit__btns .btn { flex: 1; min-height: 44px; }
.lm-quote-xray-host__note { margin-top: -2px; }
@media (max-width: 760px) { .lm-quote-xray-hosts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Behind the scenes ---------- */
.lm-quote-xray-bts .section-head--row > :first-child { max-width: 760px; }
.lm-quote-xray-previews { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
.lm-quote-xray-previews .lm-chat { max-width: none; }
.lm-quote-xray-previews .lm-chat__head > div { min-width: 0; }
.lm-quote-xray-chatday { align-self: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: var(--paper); padding: 3px 10px; border-radius: var(--r-pill); margin: 4px 0; }
.lm-quote-xray-fakelink { color: var(--info); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.lm-quote-xray-mailsplit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lm-quote-xray-mailsplit span { display: flex; flex-direction: column; padding: 10px 12px; font-size: var(--fs-xs); color: var(--text-3); border-left: 1px solid var(--line); }
.lm-quote-xray-mailsplit span:first-child { border-left: 0; }
.lm-quote-xray-mailsplit b { font-size: 1.125rem; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.lm-quote-xray-mailbtn span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 8px; background: var(--ink); color: var(--text-on-dark); font-weight: 600; font-size: var(--fs-sm); }
.lm-quote-xray-mailbtn .i { width: 16px; height: 16px; }
@media (max-width: 900px) { .lm-quote-xray-previews { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .lm-quote-xray-mailsplit { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lm-quote-xray-mailsplit span:nth-child(3) { border-left: 0; } .lm-quote-xray-mailsplit span:nth-child(n+3) { border-top: 1px solid var(--line); } }

.lm-quote-xray-seq { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.lm-quote-xray-seq th, .lm-quote-xray-seq td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.lm-quote-xray-seq thead th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); background: var(--paper); }
.lm-quote-xray-seq tbody tr:last-child td { border-bottom: 0; }
.lm-quote-xray-seq__when { font-weight: 600; white-space: nowrap; }
.lm-quote-xray-seq td.muted { color: var(--text-2); }
@media (max-width: 640px) {
  .lm-quote-xray-bts .table-wrap { overflow: visible; }
  .lm-quote-xray-seq { min-width: 0; display: block; }
  .lm-quote-xray-seq tbody { display: block; }
  .lm-quote-xray-seq thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lm-quote-xray-seq tbody tr { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .lm-quote-xray-seq tbody tr:last-child { border-bottom: 0; }
  .lm-quote-xray-seq td { padding: 0; border: 0; }
  .lm-quote-xray-seq td:nth-child(2) { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
  .lm-quote-xray-seq__when { white-space: normal; }
}

.lm-quote-xray-crm { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-card); overflow: hidden; }
.lm-quote-xray-crm__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.lm-quote-xray-crm__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.lm-quote-xray-crm__name { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }
.lm-quote-xray-score { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 6px 10px; align-items: center; min-width: 200px; }
.lm-quote-xray-score__n { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lm-quote-xray-score__b { justify-self: start; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; background: var(--mist); color: var(--text-2); border: 1px solid var(--line); }
.lm-quote-xray-score__b--hot { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.lm-quote-xray-score__b--warm { background: var(--warn-tint); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 24%, var(--paper)); }
.lm-quote-xray-score__track { grid-column: 1 / -1; height: 6px; border-radius: var(--r-pill); background: var(--mist-2); overflow: hidden; }
.lm-quote-xray-score__track i { display: block; height: 100%; background: var(--ink); }
.lm-quote-xray-crm__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.lm-quote-xray-crm__dl { padding: 8px 24px; }
.lm-quote-xray-crm__dl > div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.lm-quote-xray-crm__dl > div:last-child { border-bottom: 0; }
.lm-quote-xray-crm__dl dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.lm-quote-xray-crm__dl dd { min-width: 0; overflow-wrap: anywhere; }
.lm-quote-xray-crm__mix { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lm-quote-xray-crm__mix b, .lm-quote-xray-crm__fit b { font-variant-numeric: tabular-nums; }
.lm-quote-xray-crm__fit { display: flex; flex-direction: column; gap: 4px; }
.lm-quote-xray-crm__fit > span { display: flex; justify-content: space-between; gap: 12px; }
.lm-quote-xray-yes, .lm-quote-xray-no { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: var(--fs-xs); }
.lm-quote-xray-yes { color: var(--brand); }
.lm-quote-xray-no { color: var(--text-3); }
.lm-quote-xray-no.is-bad { color: var(--danger); }
.lm-quote-xray-yes .i, .lm-quote-xray-no .i { width: 14px; height: 14px; }
.lm-quote-xray-crm__tl { display: flex; flex-direction: column; gap: 3px; }
.lm-quote-xray-crm__tl time { display: inline-block; width: 48px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }
.lm-quote-xray-crm__side { display: flex; flex-direction: column; gap: 22px; padding: 20px 24px; border-left: 1px solid var(--line); background: var(--mist); }
.lm-quote-xray-crm__score { list-style: none; padding: 0; margin: 8px 0 8px; font-size: var(--fs-sm); }
.lm-quote-xray-crm__score li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line-strong); }
.lm-quote-xray-crm__score b { font-variant-numeric: tabular-nums; font-weight: 600; }
.lm-quote-xray-crm__score b.is-neg { color: var(--danger); }
.lm-quote-xray-crm__score li.is-total { border-bottom: 0; font-weight: 600; }
.lm-quote-xray-crm__opener { margin: 8px 0 8px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.55; color: var(--text); }
.lm-quote-xray-crm__json { border-top: 1px solid var(--line); }
.lm-quote-xray-crm__json summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: 600; }
.lm-quote-xray-crm__json summary::-webkit-details-marker { display: none; }
.lm-quote-xray-crm__json summary .i { width: 16px; height: 16px; color: var(--text-3); }
.lm-quote-xray-crm__json pre { margin: 0; padding: 16px 24px 20px; max-height: 360px; overflow: auto; background: var(--mist); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 960px) { .lm-quote-xray-crm__grid { grid-template-columns: minmax(0, 1fr); } .lm-quote-xray-crm__side { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 520px) {
  .lm-quote-xray-crm__top, .lm-quote-xray-crm__side { padding: 18px; }
  .lm-quote-xray-crm__dl { padding: 4px 18px; }
  .lm-quote-xray-crm__dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lm-quote-xray-crm__json summary { padding: 0 18px; }
  .lm-quote-xray-crm__json pre { padding: 14px 18px; }
}

.lm-quote-xray-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.lm-quote-xray-kpis > div { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--paper); min-width: 0; }
.lm-quote-xray-kpis__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.lm-quote-xray-kpis__v { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lm-quote-xray-kpis__n { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.5; }
@media (max-width: 960px) { .lm-quote-xray-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .lm-quote-xray-kpis > div { padding: 16px; } .lm-quote-xray-kpis__v { font-size: 1.5rem; } }
