/* Home («/») — port of the prototype screen site-home (.claude/redesign/src/screens/site-home.html, scoped <style>, class prefix .hm).
   Product shots: .hm-x-* wrappers inside <x-site.shot>. The «Огляд» shots (hero, step 3) render the REAL cabinet components
   with overview.css / bot-traffic-summary.css; the other four are static ports with the prototype screen CSS scoped below. */

/* prototype site primitives (shell.html «site» block) that the shared public shell does not ship yet — scoped to this page */
.hm .sec { border-bottom: 1px solid var(--hair); padding: 72px 20px; position: relative; }
.hm .sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: 40px; }
.hm .h-hero { font: 400 clamp(36px, 6vw, 60px)/1.02 var(--f-display); letter-spacing: -0.035em; }
.hm .h-hero .dim, .hm .h-sec .dim { color: var(--ink-4); }
.hm .h-sec { font: 400 clamp(28px, 4vw, 38px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.hm .lead { font-size: 16px; line-height: 1.6; color: var(--ink-3); max-width: 60ch; }
.hm .embed-inner .page, .hm .embed-inner .page > * { animation: none; }

/* ---------- shared ---------- */
.hm p { text-wrap: pretty; }
.hm .lead { text-wrap: balance; }
.hm .hm-a { display: inline; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--axis); transition: text-decoration-color .15s ease; }
.hm .hm-a:hover { text-decoration-color: currentColor; }
.hm-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font: 500 14px/1.4 var(--f-ui); color: var(--ink); }
.hm-link span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.hm-link:hover span { text-decoration-color: currentColor; }
.hm-link svg.lucide { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.hm-link:hover svg.lucide { transform: translateX(2px); }
.hm-cap { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.hm-step-v, .hm-wide { margin: 0; min-width: 0; }
.hm .mono { overflow-wrap: anywhere; }
.hm a:focus-visible, .hm button:focus-visible, .hm summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* ---------- product shots: one variant per width band (desk > 900, md 641–900, sm ≤ 640; .hm-v-dm = desk and md) ---------- */
.hm-v-md, .hm-v-sm { display: none; }
@media (max-width: 900px) { .hm-v-desk { display: none; } .hm-v-md { display: block; } }
@media (max-width: 640px) { .hm-v-md, .hm-v-dm { display: none; } .hm-v-sm { display: block; } }
.hm-x { background: var(--bg); }
.hm-x .page { padding: 18px 20px 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.hm-x .page > * { min-width: 0; }
.hm-x .card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; }
.hm-x .card-title { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; }
.hm-x .card-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
/* a height cap in clone pixels (prototype data-embed-max), with the fade where the clone is cut */
.hm-clip { max-height: var(--clip); overflow: hidden; position: relative; }
.hm-clip.is-cut::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* cabinet chrome around the hero shot (cabinet.css shell rules, scoped: the public site does not load cabinet.css) */
.hm-x-ov .app { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--bg); }
.hm-x-ov .side { padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.hm-x-ov .ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; width: 100%; text-align: left; }
.hm-x-ov .ws > svg.lucide { margin-left: auto; color: var(--ink-3); flex: none; }
.hm-x-ov .ws-user { border-top: 1px solid var(--hair); border-radius: 0; padding-top: 10px; }
.hm-x-ov .ws-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.hm-x-ov .ws-sub { font-size: 11.5px; color: var(--ink-3); }
.hm-x-ov .nav-group { display: grid; gap: 1px; }
.hm-x-ov .nav-label { font-size: 11px; font-weight: 500; color: var(--ink-3); padding: 6px 8px 4px; letter-spacing: 0.01em; }
.hm-x-ov .nav-item { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 13px; font-weight: 450; color: var(--ink-2); width: 100%; text-align: left; }
.hm-x-ov .nav-item svg.lucide { color: var(--ink-3); }
.hm-x-ov .nav-item.on { background: var(--panel); color: var(--ink); font-weight: 500; box-shadow: var(--shadow); }
.hm-x-ov .nav-item.on svg.lucide { color: var(--ink); }
.hm-x-ov .nav-item .badge { margin-left: auto; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hm-x-ov .side-foot { margin-top: auto; display: grid; gap: 8px; }
.hm-x-ov .main { min-width: 0; padding: 8px 8px 8px 0; }
.hm-x-ov.is-md { padding: 8px; }
.hm-x-ov .frame { background: var(--panel-2); border-radius: 14px; box-shadow: 0 0 0 1px var(--ring), var(--shadow-sm); display: flex; flex-direction: column; min-width: 0; }
.hm-x-ov .topbar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--hair); min-width: 0; }
.hm-x-ov .topbar .spacer { flex: 1; }
.hm-x-ov .crumbs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.hm-x-ov .crumbs b { color: var(--ink); font-weight: 500; }
.hm-x-ov .bell-btn { position: relative; }
.hm-x-ov .bell-btn .bell-n { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--bad); color: #ffffff; font: 600 10px/16px var(--f-ui); font-variant-numeric: tabular-nums; text-align: center; box-shadow: 0 0 0 2px var(--panel-2); }
.hm-x-ov .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hm-x-ov .page-title { font: 500 22px/1.2 var(--f-display); letter-spacing: -0.025em; }
.hm-x-ov .page-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; max-width: 70ch; }
.hm-x-ov .page.ov4 { padding-bottom: 18px; }
.hm-x-ov.is-sm .page { padding: 0; }
/* the shot keeps only some of the «Огляд» cards: drop the empty template rows (and their gaps) of the missing ones */
.hm-x-ov .ov5-grid { grid-template-areas: none; }
.hm-x-ov .ov5-grid > * { grid-area: auto !important; }

/* ---------- live shots: what the landing changes inside them (as the prototype) ---------- */
/* one black button per screen: the cabinet's own black buttons read as ordinary ones inside a picture */
.hm .embed-inner .btn-primary { background: var(--panel); color: var(--ink); box-shadow: inset 0 1px 0 var(--hl), var(--shadow); }
/* the hero shot is a picture, not a second call to action: the readiness card shows without its buttons and the demo note */
.hm-x-ov .ov5-acts, .hm-x-ov .ov5-acts + p, .hm-x-ov .ov5-demo { display: none !important; }
/* phone hero = the readiness card without its chart */
.hm-x-ov.is-sm .ov5-tr { display: none !important; }
/* «Огляд» keeps its desktop grids in the md clone: overview.css follows the viewport, not the clone (641–900 px) */
.hm-x-ov.is-md .ov4-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.hm-x-ov.is-md .ov5-comps { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.hm-x-ov.is-md .ov5-slot + .ov5-slot { border-top: 0 !important; }
.hm-x-ov.is-md .ov5-tile { display: flex !important; padding: 8px 8px 10px !important; gap: 4px !important; }
.hm-x-ov.is-md .ov5-tile > * { grid-row: auto !important; grid-column: auto !important; }
.hm-x-ov.is-md .ov5-tile .ov4-slot-n { font-size: 12.5px !important; }
.hm-x-ov.is-md .ov5-tile .ov4-slot-v { font-size: 18px !important; justify-self: auto !important; }
.hm-x-ov.is-md .ov5-tile .ov4-slot-h { font-size: 11.5px !important; }
.hm-x-ov.is-md .ov5-tile .ov4-slot-bar { height: 10px !important; margin: 0 0 4px !important; }
.hm-x-ov.is-md .ov4-meta { display: block !important; }
.hm-x-bots.is-md .ov5-bots-row, .hm-x-bots.is-desk .ov5-bots-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.hm-x-bots.is-md .ov5-bc + .ov5-bc, .hm-x-bots.is-desk .ov5-bc + .ov5-bc { border-top: 0 !important; border-left: 1px solid var(--hair) !important; }
.hm-x-bots .page { padding: 0 0 4px; gap: 10px; }
.hm-x-bots .bot-traffic-summary { display: grid; gap: 10px; }
/* «AI-відповіді»: the marked-answer flag is the owner's note, not a verified fact (no green check) */
.hm-x-ans .ans-truth > p svg.lucide { color: var(--ink-3) !important; }
/* phone «AI-відповіді»: the rivals card's action row is a working control — the crop ends on the ranking; bring back the «ви» tag */
.hm-x-ans.is-sm .ans-foot.sp { display: none !important; }
.hm-x-ans.is-sm .ans-rv tr.me .tag { display: inline-flex !important; }

/* ---------- split head (H2 left, grey paragraph right) ---------- */
.hm-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 44px; }
.hm-split > div { display: grid; gap: 14px; justify-items: start; }
.hm-split .lead { font-size: 15.5px; }
.hm-split .eyebrow .tag { margin-left: 2px; }

/* ---------- 1 · hero ---------- */
.hm-hero { padding-top: 64px; padding-bottom: 72px; overflow: hidden; position: relative; }
.hm-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; pointer-events: none; background: radial-gradient(52% 62% at 50% 0%, color-mix(in srgb, var(--s1) 10%, transparent), transparent 72%); }
.hm-hero > * { position: relative; }
.hm-hero-head { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 1040px; margin: 0 auto; }
.hm-pill { border-radius: 999px; height: 28px; padding: 0 11px 0 4px; gap: 8px; color: var(--ink); }
.hm-pill .tag { height: 20px; border-radius: 999px; padding: 0 8px; }
.hm-pill:hover { background: var(--panel-2); }
.hm-pill svg.lucide { color: var(--ink-3); transition: transform .2s var(--ease); }
.hm-pill:hover svg.lucide { transform: translateY(2px); }
.hm-lead { max-width: 700px; font-size: 17px; line-height: 1.65; color: var(--ink-3); text-wrap: balance; }
.hm-formw { display: grid; justify-items: center; gap: 8px; width: min(560px, 100%); margin-top: 6px; }
.hm-form { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 1px 0 var(--hl), var(--shadow-pop); text-align: left; }
/* the field's ring only while the field itself is focused — the button keeps its own focus ring (no double ring) */
.hm-form:has(.hm-form-in:focus) { box-shadow: 0 0 0 2px var(--focus), var(--shadow-pop); }
.hm-form > svg.lucide { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.hm-form-in { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; font: 400 17px/1.3 var(--f-ui); letter-spacing: -0.01em; color: var(--ink); }
.hm-form-in::placeholder { color: var(--ink-4); }
.hm-form-in:focus { outline: none; }
.hm-form .btn { height: 42px; flex: none; }
.hm-error { font-size: 13px; color: var(--bad-ink); }
.hm-formw .recaptcha-note { margin: 0; }
.hm-fine { font-size: 13px; line-height: 1.55; color: var(--ink-3); text-wrap: balance; }
.hm-shot { max-width: 1080px; margin: 48px auto 0; min-width: 0; }
.hm-shot .hm-cap { margin-top: 14px; text-align: center; }

/* ---------- 2 · what you get: numbered steps, one shot each ---------- */
.hm-steps { display: grid; gap: 72px; }
.hm-step { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: center; }
.hm-step.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.hm-step.rev .hm-step-t { order: 2; }
.hm-step.wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hm-step-t { display: grid; gap: 12px; align-content: center; min-width: 0; }
.hm-step.wide .hm-step-t > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.hm-step.wide .hm-step-t { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 56px; align-items: start; }
.hm-step.wide .hm-step-t .hm-link { margin-top: 2px; }
.hm-step-k { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hm-n { width: 28px; height: 28px; border-radius: 50%; background: var(--wash); color: var(--ink); font: 500 13px/28px var(--f-ui); text-align: center; flex: none; font-variant-numeric: tabular-nums; }
.hm-step-h { font: 500 24px/1.2 var(--f-display); letter-spacing: -0.02em; text-wrap: balance; }
.hm-step-t p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.hm-step-t p.hm-step-s { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }

/* ---------- 3 · what to install ---------- */
.hm-conn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-cn { padding: 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; }
.hm-cn-h { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 42px; }
.hm-cn-h .tag { flex: none; margin-left: auto; }
.hm-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--wash); color: var(--ink-2); flex: none; }
.hm-ico svg.lucide { width: 17px; height: 17px; }
.hm-cn-h h3 { flex: 0 1 auto; font: 500 16px/1.3 var(--f-display); letter-spacing: -0.015em; min-width: 0; text-wrap: balance; }
.hm-cn > p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.hm-cn-see { display: flex; gap: 8px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.hm-cn > p.hm-cn-see { color: var(--ink-3); font-size: 13px; }
.hm-cn-see svg.lucide { width: 14px; height: 14px; flex: none; margin-top: 2px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .hm-conn { grid-template-rows: auto 1fr auto; }
    .hm-cn { grid-row: span 3; grid-template-rows: subgrid; }
  }
}
.hm-conn-f { margin-top: 18px; display: flex; justify-content: center; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.hm-conn-f svg.lucide { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* ---------- 5 · proof ---------- */
.hm-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "t n" "b n"; gap: 18px 48px; align-items: center; max-width: 1040px; margin: 0 auto; }
.hm-proof-t { grid-area: t; align-self: end; display: grid; gap: 14px; justify-items: start; min-width: 0; }
.hm-nums { grid-area: n; }
.hm-proof-b { grid-area: b; align-self: start; }
.hm-proof-t p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.hm-proof-t p.hm-note { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.hm-nums { display: grid; gap: 12px; min-width: 0; }
.hm-num { padding: 20px; display: grid; gap: 14px; }
.hm-num-l { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.hm-num-v { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font: 400 34px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hm-num-v .was { color: var(--ink-4); }
.hm-num-v svg.lucide { width: 18px; height: 18px; color: var(--ink-4); align-self: center; }
.hm-num-v small { font: 400 13px var(--f-ui); letter-spacing: 0; color: var(--ink-3); }
.hm-bar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--wash); overflow: hidden; }
.hm-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: var(--b); background: var(--c); border-radius: 3px; }
.hm-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--a); z-index: 1; border-radius: 3px; background: color-mix(in srgb, var(--ink-4) 80%, var(--panel)); box-shadow: 1px 0 0 var(--panel); }

/* ---------- 7 · limits ---------- */
.hm-honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1040px; margin: 0 auto; }
.hm-h { padding: 22px; display: grid; gap: 10px; align-content: start; }
.hm-h .hm-ico { border-radius: 50%; }
.hm-h h3 { font: 500 17px/1.3 var(--f-display); letter-spacing: -0.02em; }
.hm-h p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* ---------- 8 · FAQ: head left, list right ---------- */
.hm-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 32px 72px; align-items: start; }
.hm-faq-head { display: grid; gap: 14px; justify-items: start; position: sticky; top: 92px; }
.hm-faq-head .lead { font-size: 15px; }
.hm-faq-head .lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--axis); overflow-wrap: anywhere; }
.hm .faq { max-width: none; margin: 0; border-top: 1px solid var(--hair); }
.hm .faq details { padding: 0; }
.hm .faq summary { padding: 17px 4px; align-items: center; transition: color .15s ease; }
.hm .faq summary:hover { color: var(--ink); }
.hm .faq summary::after { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--wash); color: var(--ink-2); display: grid; place-items: center; font-size: 15px; line-height: 1; transition: background-color .15s ease; }
.hm .faq summary:hover::after { background: var(--wash-2); }
.hm .faq details p { margin: -4px 0 0; padding: 0 44px 18px 4px; }

/* ---------- 9 · dark CTA ---------- */
.hm-cta { display: grid; gap: 18px; justify-items: center; text-align: center; position: relative; }
.hm-cta .h-sec { position: relative; }
.hm .cta-dark { padding: 64px 40px; }
.hm-cta p { text-wrap: balance; color: color-mix(in srgb, currentColor 62%, transparent); max-width: 52ch; font-size: 15px; position: relative; }
.hm-cta .row-wrap { position: relative; justify-content: center; }
.hm-cta-star { position: absolute; right: -70px; bottom: -110px; width: 380px; height: 380px; opacity: .07; pointer-events: none; }
.hm-cta-star.l { right: auto; left: -40px; top: -60px; bottom: auto; width: 160px; height: 160px; opacity: .05; }
.hm .cta-dark a:focus-visible { outline-color: #fff; }
/* dark theme: the always-dark band sat almost on the page plane — a hairline ring and a faint glow lift it */
:root[data-theme="dark"] .hm .cta-dark { box-shadow: inset 0 0 0 1px var(--ring); background-image: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--s1) 12%, transparent), transparent 70%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hm .cta-dark { box-shadow: inset 0 0 0 1px var(--ring); background-image: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--s1) 12%, transparent), transparent 70%); }
}

/* ---------- breakpoints ---------- */
/* ≤1100: a side-by-side step left the shots too small — stack them: text first, the shot full width */
@media (max-width: 1100px) {
  .hm-step, .hm-step.rev { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hm-step.rev .hm-step-t { order: 0; }
  .hm-step:not(.wide) .hm-step-t { max-width: 640px; }
  .hm-step:not(.wide) .hm-step-v { max-width: 920px; }
  .hm-step.wide .hm-step-t { column-gap: 40px; }
}
@media (max-width: 900px) {
  .hm-hero .h-hero { max-width: 640px; }
  .hm-hero .h-hero .dim { display: block; text-wrap: balance; }
  .hm-split { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .hm-steps { gap: 56px; }
  .hm-step, .hm-step.rev { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hm-step.rev .hm-step-t { order: 0; }
  .hm-conn, .hm-honest { grid-template-columns: minmax(0, 1fr); }
  .hm-proof { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "n" "b"; gap: 24px; }
}
@media (max-width: 860px) {
  .hm-faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .hm-faq-head { position: static; }
  .hm .faq details p { padding-right: 4px; }
  .hm-cta-star { width: 220px; height: 220px; right: -50px; bottom: -60px; }
  .hm .cta-dark { padding: 44px 20px; }
}
@media (max-width: 640px) {
  .hm > .sec { padding: 48px 16px; }
  .hm > .hm-hero { padding-top: 40px; }
  .hm-pill { height: 32px; }
  .hm-lead { font-size: 16px; }
  .hm-form { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .hm-form > svg.lucide { margin-left: 6px; }
  .hm-form-in { flex: 1 1 0%; height: 44px; }
  .hm-form .btn { flex: 1 1 100%; height: 46px; }
  .hm-shot { margin-top: 36px; }
  .hm-step-h { font-size: 21px; }
  .hm-step.wide .hm-step-t { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .hm-num-v { font-size: 28px; }
  .hm-cta .row-wrap { width: 100%; }
  .hm-conn-f { justify-content: flex-start; text-align: left; }
  .hm-cta .row-wrap .btn { flex: 1 1 100%; }
}
/* ---- improve.blade.php: prototype screen CSS scoped to .hm-x-im; viewport queries evaluated for the clone (desk = 1440, sm = 375) ---- */
.hm-x-im .im { --g: 16px; }
.hm-x-im .im .ico-sm { flex: none; }
.hm-x-im .im-how-pop { position: relative; display: inline-block; }
.hm-x-im .im-how-pop > summary { list-style: none; cursor: pointer; color: var(--ink-4); display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 6px; min-height: 0; position: relative; }
.hm-x-im .im-how-pop > summary::after { content: ""; position: absolute; inset: -8px; }
.hm-x-im .im-how-pop > summary:hover, .hm-x-im .im-how-pop[open] > summary { color: var(--ink); background: var(--wash); }
.hm-x-im .im-how-pop > summary::-webkit-details-marker { display: none; }
.hm-x-im .im-how-pop:not([open]) > div { display: none; }
.hm-x-im .im-how-pop > div { position: absolute; z-index: 9; top: 28px; left: -12px; width: min(400px, calc(100vw - 56px)); padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-pop); font: 400 12.5px/1.5 var(--f-ui); color: var(--ink-2); display: grid; gap: 10px; text-wrap: pretty; letter-spacing: 0; }
.hm-x-im .im-how-pop b { font-weight: 500; color: var(--ink); }
.hm-x-im.is-sm .im-sum { position: relative; }
.hm-x-im.is-sm .im-how-pop { position: static; }
.hm-x-im.is-sm .im-how-pop > div { left: 12px; right: 12px; width: auto; top: 50px; }
.hm-x-im .im-sum { display: flex; flex-direction: column; background: linear-gradient(180deg, color-mix(in srgb, var(--s1) 4%, var(--panel)) 0%, var(--panel) 62%); }
.hm-x-im .im-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.hm-x-im .im-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; display: flex; align-items: center; gap: 4px; }
.hm-x-im .im-hero { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); gap: 16px 36px; padding: 14px 20px 18px; align-items: center; }
.hm-x-im .im-l { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.hm-x-im .im-r { min-width: 0; }
.hm-x-im .im-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hm-x-im .im-num { font: 500 64px/0.95 var(--f-display); letter-spacing: -0.05em; color: var(--ink); margin-left: -3px; font-variant-numeric: tabular-nums; }
.hm-x-im .im-num-l { font: 400 18px/1.2 var(--f-display); letter-spacing: -0.015em; color: var(--ink-3); }
.hm-x-im .im-drow { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.hm-x-im .im-delta { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 9px; border-radius: 8px; font-size: 13px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; }
.hm-x-im .im-delta.flat { background: var(--wash); color: var(--ink-2); gap: 0; }
.hm-x-im .im-delta.flat > svg.lucide { margin-right: 7px; }
.hm-x-im .im-dl { font: inherit; color: inherit; min-height: 0; padding: 0; border-radius: 4px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .12s ease, color .12s ease; }
.hm-x-im .im-dl:hover { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.hm-x-im .im-dsep { margin: 0 6px; color: var(--ink-4); }
.hm-x-im .im-delta.warn { background: var(--warn-wash); color: var(--warn-ink); }
.hm-x-im .im-delta.good { background: var(--good-wash); color: var(--good-ink); }
.hm-x-im .im-delta-n { font-size: 12.5px; color: var(--ink-3); }
.hm-x-im .im-ans { font: 500 15px/1.45 var(--f-ui); letter-spacing: -0.012em; color: var(--ink); max-width: 62ch; text-wrap: balance; }
.hm-x-im .im-a { font: inherit; color: inherit; padding: 0; min-height: 0; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 28%, transparent); text-underline-offset: 3px; }
.hm-x-im .im-a:hover { text-decoration-color: var(--ink); }
.hm-x-im .im-nw { white-space: nowrap; }
.hm-x-im .im-bar { display: flex; gap: 2px; height: 8px; margin-top: 14px; }
.hm-x-im .im-bar > span { border-radius: 4px; }
.hm-x-im .im-bar .bad, .hm-x-im .im-k.bad, .hm-x-im .im-dot.bad { background: var(--bad); }
.hm-x-im .im-bar .warn, .hm-x-im .im-k.warn, .hm-x-im .im-dot.warn { background: var(--warn); }
.hm-x-im .im-bar .low, .hm-x-im .im-k.low, .hm-x-im .im-dot.low { background: var(--ink-4); }
.hm-x-im .im-k.work, .hm-x-im .im-dot.work { background: transparent; box-shadow: inset 0 0 0 2px var(--s1); }
.hm-x-im .im-leg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 9px; font-size: 12.5px; color: var(--ink-2); }
.hm-x-im .im-leg > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hm-x-im .im-leg-w { color: var(--ink-3); }
.hm-x-im .im-k { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
@keyframes im-rot { to { transform: rotate(360deg); } }
@keyframes im-ind { to { background-position: 22.63px 0; } }
.hm-x-im .im-band { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; padding: 11px 14px 11px 20px; border-top: 1px solid var(--hair); background: var(--panel-2); border-radius: 0 0 var(--r-lg) var(--r-lg); font-size: 12.5px; color: var(--ink-2); margin-top: auto; }
.hm-x-im .im-fact { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.hm-x-im .im-fact svg.lucide { color: var(--ink-3); }
.hm-x-im .im-band-r { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.hm-x-im .im-hint { font-size: 12px; color: var(--ink-3); }
.hm-x-im .im-list { overflow: hidden; }
.hm-x-im .im-list > .card-head { padding: 16px 20px 12px; }
.hm-x-im .im-gh { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 20px; font: 500 12.5px/1.3 var(--f-ui); color: var(--ink-2); background: var(--panel-2); border-top: 1px solid var(--hair); }
.hm-x-im .im-gh-m { display: grid; place-items: center; }
.hm-x-im .im-dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.hm-x-im .im-gh-n { color: var(--ink-3); font-weight: 400; }
.hm-x-im .im-gh-n::before { content: "·"; margin: 0 6px; color: var(--ink-4); }
.hm-x-im .im-gh-n b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hm-x-im .im-it { border-top: 1px solid var(--hair); }
.hm-x-im .im-it > summary { list-style: none; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 16px; gap: 12px; align-items: start; padding: 14px 20px; min-height: 56px; cursor: pointer; transition: background-color .12s ease; }
.hm-x-im .im-it > summary::-webkit-details-marker { display: none; }
.hm-x-im .im-it > summary:hover { background: var(--panel-2); }
.hm-x-im .im-mk { width: 20px; height: 20px; display: grid; place-items: center; }
.hm-x-im .im-mk i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.hm-x-im .im-mk.bad i { background: var(--bad); }
.hm-x-im .im-mk.warn i { background: var(--warn); }
.hm-x-im .im-mk.low i { background: var(--ink-4); }
.hm-x-im .im-mk.work i { width: 10px; height: 10px; background: transparent; box-shadow: inset 0 0 0 2px var(--s1); }
.hm-x-im .im-tt { display: grid; gap: 3px; min-width: 0; }
.hm-x-im .im-tt > b { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.hm-x-im .im-meta { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.hm-x-im .im-path { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.hm-x-im .im-who, .hm-x-im .im-since { white-space: nowrap; }
.hm-x-im .im-sep { margin: 0 6px; color: var(--ink-4); }
.hm-x-im .im-bdg { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; padding-top: 0; min-height: 20px; }
.hm-x-im .im-plus { font: 500 11.5px/1 var(--f-ui); color: var(--good-ink); background: var(--good-wash); border-radius: 5px; padding: 0 7px; height: 20px; display: inline-flex; align-items: center; white-space: nowrap; font-variant-numeric: tabular-nums; cursor: help; }
.hm-x-im .im-chev { color: var(--ink-4); margin-top: 3px; transition: transform .15s ease; }
.hm-x-im .im-it[open] > summary .im-chev { transform: rotate(180deg); }
.hm-x-im .im-b { padding: 0 20px 18px 52px; display: grid; gap: 12px; justify-items: start; }
.hm-x-im .im-b > p, .hm-x-im .im-how p, .hm-x-im .im-how li { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 76ch; text-wrap: pretty; }
.hm-x-im .im-how .im-how-n { font-size: 12.5px; color: var(--ink-3); }
.hm-x-im .im-how { display: grid; gap: 6px; }
.hm-x-im .im-lab { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.hm-x-im .im-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; counter-reset: imh; }
.hm-x-im .im-how li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; counter-increment: imh; }
.hm-x-im .im-how li::before { content: counter(imh); width: 20px; height: 20px; border-radius: 6px; background: var(--wash); color: var(--ink-3); font: 500 11.5px/20px var(--f-ui); text-align: center; margin-top: 1px; }
.hm-x-im .im-acts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: start; width: 100%; font-size: 13.5px; padding-top: 2px; }
.hm-x-im .im-acts-l { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; min-width: 0; }
.hm-x-im .im-acts-r { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.hm-x-im .im-acts-r:empty { display: none; }
.hm-x-im .im-hand { min-width: 0; }
.hm-x-im .im-hand[open] { flex: 1 1 100%; }
.hm-x-im .im-hand > summary { list-style: none; cursor: pointer; display: inline-flex; }
.hm-x-im .im-hand > summary::-webkit-details-marker { display: none; }
.hm-x-im .im-hand-c { color: var(--ink-4); margin-right: -2px; transition: transform .15s ease; }
.hm-x-im .im-hand[open] > summary { background: var(--wash); box-shadow: none; }
.hm-x-im .im-hand[open] .im-hand-c { transform: rotate(180deg); }
.hm-x-im .im-ctx { display: inline-block; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); min-height: 0; padding: 2px 0; text-align: left; text-wrap: pretty; }
.hm-x-im .im-ctx:hover { color: var(--ink); }
.hm-x-im .im-ctx svg.lucide { display: inline-block; vertical-align: -2.5px; margin-left: 6px; color: var(--ink-4); }
.hm-x-im .im-rd { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.hm-x-im .im-cmp { color: var(--ink-2); }
.hm-x-im.is-sm .im-cardh { padding: 14px 16px 0; }
.hm-x-im.is-sm .im-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 16px 16px; }
.hm-x-im.is-sm .im-num { font-size: 48px; }
.hm-x-im.is-sm .im-num-l { font-size: 16px; }
.hm-x-im.is-sm .im-bar { margin-top: 12px; }
.hm-x-im.is-sm .im-band { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 12px; }
.hm-x-im.is-sm .im-fact { padding: 9px 0; border-bottom: 1px solid var(--hair); }
.hm-x-im.is-sm .im-band-r { margin: 10px 0 0; display: grid; }
.hm-x-im.is-sm .im-band-r .btn { width: 100%; }
.hm-x-im.is-sm .im-hint { display: none; }
.hm-x-im.is-sm .im-list > .card-head { padding: 14px 16px 12px; }
.hm-x-im.is-sm .im-gh { padding: 9px 16px; }
.hm-x-im.is-sm .im-it > summary { grid-template-columns: 20px minmax(0, 1fr) 16px; padding: 14px 16px; gap: 10px 12px; }
.hm-x-im.is-sm .im-bdg { grid-column: 2; grid-row: 2; justify-content: flex-start; min-height: 0; }
.hm-x-im.is-sm .im-bdg:empty, .hm-x-im.is-sm .im-bdg:not(:has(> :not([hidden]))) { display: none; }
.hm-x-im.is-sm .im-chev { grid-column: 3; grid-row: 1; }
.hm-x-im.is-sm .im-b { padding: 0 16px 16px; }
.hm-x-im.is-sm .im-acts { grid-template-columns: minmax(0, 1fr); }
.hm-x-im.is-sm .im-acts-r { justify-content: flex-start; margin-left: -12px; }
.hm-x-im.is-sm .im-meta > .im-paths { display: block; }
.hm-x-im.is-sm .im-meta > .im-paths .im-sep { margin: 0 4px; }
.hm-x-im.is-sm .im-who > .im-sep { display: none; }
.hm-x-im.is-sm .im-acts-l > .btn, .hm-x-im.is-sm .im-hand, .hm-x-im.is-sm .im-hand > summary { width: 100%; }
.hm-x-im.is-sm .im-hand > summary { justify-content: center; }
.hm-x-im.is-sm .im-ctx { display: block; min-height: 36px; padding: 8px 0; margin: -8px 0 -6px; }
.hm-x-im.is-sm .im-delta { height: 36px; }
.hm-x-im.is-sm .im-dl { padding: 9px 0; margin: -9px 0; }

/* ---- aipage.blade.php: prototype screen CSS scoped to .hm-x-ap; viewport queries evaluated for the clone (desk = 1440, sm = 375) ---- */
.hm-x-ap .ap { --g: 16px; gap: var(--g); }
.hm-x-ap .ap .ico-sm { flex: none; }
.hm-x-ap .ap .btn[disabled] { opacity: .38; cursor: not-allowed; }
.hm-x-ap .ap .btn[disabled]:active { transform: none; }
.hm-x-ap .ap .btn-primary[disabled]:hover { opacity: .38; }
.hm-x-ap .ap[data-vstate="new"] > * { order: 2; }
.hm-x-ap .ap[data-vstate="new"] > #ap-publish { order: 0; }
.hm-x-ap .ap[data-vstate="new"] > #ap-catalog-new { order: 1; }
.hm-x-ap .ap[data-vstate="broken"] > * { order: 2; }
.hm-x-ap .ap[data-vstate="broken"] > #ap-tech { order: 1; }
.hm-x-ap .ap-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 16px 20px 0; min-height: 52px; }
.hm-x-ap .ap-cardh > div:first-child { min-width: 0; }
.hm-x-ap .ap-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; }
.hm-x-ap .ap-cardh small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; text-wrap: pretty; }
.hm-x-ap.is-sm .ap-cardh { padding: 14px 16px 0; }
.hm-x-ap .ap-prev-r { justify-content: flex-end; }
.hm-x-ap .ap-browser { position: relative; margin: 14px 16px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--ring); overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.hm-x-ap .ap-browser::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 112px; background: linear-gradient(color-mix(in srgb, var(--panel) 0%, transparent), var(--panel) 72%); pointer-events: none; }
.hm-x-ap .ap-browser:has(> .ap-full[open])::after { display: none; }
.hm-x-ap .ap-full { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); order: 3; }
.hm-x-ap .ap-full > summary { list-style: none; box-shadow: 0 0 0 1px var(--ring), var(--shadow-sm); }
.hm-x-ap .ap-full > summary::-webkit-details-marker { display: none; }
.hm-x-ap .ap-full > summary svg.lucide { order: 2; transition: transform .2s var(--ease); }
.hm-x-ap .ap-full[open] { position: static; transform: none; align-self: center; padding: 4px 0 18px; }
.hm-x-ap .ap-full[open] > summary svg.lucide { transform: rotate(180deg); }
.hm-x-ap .ap-full[open] .ap-full-o { display: none; }
.hm-x-ap .ap-bar { display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 12px; background: var(--panel-2); border-bottom: 1px solid var(--hair); min-width: 0; }
.hm-x-ap .ap-dots { display: inline-flex; gap: 5px; flex: none; }
.hm-x-ap .ap-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--wash-2); }
.hm-x-ap .ap-urlp { flex: 1; min-width: 0; max-width: 440px; margin: 0 auto; height: 26px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 7px; background: var(--panel); box-shadow: 0 0 0 1px var(--ring); font: 400 12px var(--f-mono); letter-spacing: 0; color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.hm-x-ap .ap-urlp svg.lucide { color: var(--ink-4); width: 12px; height: 12px; }
.hm-x-ap .ap-scroll { max-height: 520px; overflow: hidden; }
.hm-x-ap .ap-browser:has(> .ap-full[open]) .ap-scroll { max-height: none; }
.hm-x-ap .ap-doc { max-width: 820px; margin: 0 auto; padding: 28px 32px 22px; display: grid; gap: 22px; color: var(--ink); }
.hm-x-ap .ap-dh { display: flex; gap: 14px; align-items: center; }
.hm-x-ap .ap-dh h2 { font: 500 24px/1.15 var(--f-display); letter-spacing: -0.03em; }
.hm-x-ap .ap-dh p { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.hm-x-ap .ap-lead { font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 68ch; }
.hm-x-ap .ap-doc h3 { font: 500 15px/1.3 var(--f-display); letter-spacing: -0.015em; margin-bottom: 10px; }
.hm-x-ap .ap-txt { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); max-width: 72ch; }
.hm-x-ap .ap-dl { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 7px 22px; font-size: 13.5px; margin: 0; }
.hm-x-ap .ap-dl dt { color: var(--ink-3); }
.hm-x-ap .ap-dl dd { margin: 0; min-width: 0; }
.hm-x-ap .ap-dl b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hm-x-ap .ap-a { display: inline-flex; align-items: center; gap: 3px; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; }
.hm-x-ap .ap-a svg.lucide { color: var(--ink-4); }
.hm-x-ap .ap-cg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-x-ap .ap-cc { padding: 12px 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--ring); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.hm-x-ap .ap-cc b { font-weight: 500; font-size: 13.5px; line-height: 1.35; }
.hm-x-ap .ap-cc p { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.hm-x-ap .ap-cc-f { margin-top: auto; padding-top: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; width: 100%; }
.hm-x-ap .ap-cc-p { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hm-x-ap .ap-cc-s { font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 3px; }
.hm-x-ap.is-sm .ap-browser { margin: 12px 12px 14px; }
.hm-x-ap.is-sm .ap-scroll { max-height: 440px; }
.hm-x-ap.is-sm .ap-doc { padding: 18px 16px 18px; gap: 20px; }
.hm-x-ap.is-sm .ap-dh h2 { font-size: 21px; }
.hm-x-ap.is-sm .ap-lead { font-size: 14.5px; }
.hm-x-ap.is-sm .ap-dl { grid-template-columns: minmax(0, 1fr); gap: 1px; }
.hm-x-ap.is-sm .ap-dl dd { margin-bottom: 8px; }
.hm-x-ap.is-sm .ap-dl dd:last-child { margin-bottom: 0; }
.hm-x-ap.is-sm .ap-prev-r { width: 100%; justify-content: space-between; }
.hm-x-ap.is-sm .ap-cg { grid-template-columns: minmax(0, 1fr); }
.hm-x-ap.is-sm .ap-dots { display: none; }
.hm-x-ap.is-sm .ap-urlp { padding: 0 8px; }
.hm-x-ap #ap-bots { display: flex; flex-direction: column; }

/* ---- compare.blade.php: prototype screen CSS scoped to .hm-x-cmp; viewport queries evaluated for the clone (desk = 1440, sm = 375) ---- */
.hm-x-cmp .cmp { --g: 16px; --cmp-rival: color-mix(in srgb, var(--ink) 22%, var(--panel)); gap: var(--g); }
.hm-x-cmp .cmp .ico-sm { flex: none; }
.hm-x-cmp .cmp-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; min-height: 52px; }
.hm-x-cmp .cmp-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; }
.hm-x-cmp .cmp-cardh h2 .cmp-how { vertical-align: -5px; margin-left: 2px; }
.hm-x-cmp .cmp-cardh small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hm-x-cmp .cmp-cardh .btn { flex: none; }
.hm-x-cmp.is-sm .cmp-cardh { padding: 14px 16px 0; }
.hm-x-cmp .cmp-how { position: relative; display: inline-block; }
.hm-x-cmp .cmp-how > summary { list-style: none; cursor: pointer; color: var(--ink-4); display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 6px; min-height: 0; position: relative; }
.hm-x-cmp .cmp-how > summary::after { content: ""; position: absolute; inset: -8px; }
.hm-x-cmp .cmp-how > summary:hover, .hm-x-cmp .cmp-how[open] > summary { color: var(--ink); background: var(--wash); }
.hm-x-cmp .cmp-how > summary::-webkit-details-marker { display: none; }
.hm-x-cmp .cmp-how:not([open]) > div { display: none; }
.hm-x-cmp .cmp-how > div { position: absolute; z-index: 9; top: 28px; left: -12px; width: min(400px, calc(100vw - 56px)); padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-pop); font: 400 12.5px/1.5 var(--f-ui); color: var(--ink-2); display: grid; gap: 10px; text-wrap: pretty; letter-spacing: 0; }
.hm-x-cmp .cmp-how b { font-weight: 500; color: var(--ink); }
.hm-x-cmp.is-sm #cmp-gap { position: relative; }
.hm-x-cmp.is-sm .cmp-how { position: static; }
.hm-x-cmp.is-sm .cmp-how > div { left: 12px; right: 12px; width: auto; top: 50px; }
.hm-x-cmp.is-sm .cmp-how > summary::after { inset: -12px; }
.hm-x-cmp #cmp-gap { background: linear-gradient(180deg, color-mix(in srgb, var(--s1) 5%, var(--panel)) 0%, var(--panel) 46%); }
.hm-x-cmp .cmp-hero { display: grid; grid-template-columns: minmax(250px, .4fr) minmax(0, 1fr); grid-template-areas: "ans main" "own own" "acts acts"; gap: 16px 32px; padding: 14px 20px 20px; align-items: stretch; }
.hm-x-cmp .cmp[data-vstate="done"] .cmp-hero { grid-template-areas: "ans main"; }
.hm-x-cmp .cmp-hero > .cmp-ans { grid-area: ans; }
.hm-x-cmp .cmp-hero > .cmp-main { grid-area: main; }
.hm-x-cmp .cmp-hero > .cmp-ownw { grid-area: own; min-width: 0; border-top: 1px solid var(--hair); padding-top: 16px; }
.hm-x-cmp .cmp-ans { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.hm-x-cmp .cmp-numrow { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hm-x-cmp .cmp-num { font: 500 64px/0.9 var(--f-display); letter-spacing: -0.05em; color: var(--ink); margin-left: -3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-x-cmp .cmp-num span { font-size: 20px; letter-spacing: -0.02em; color: var(--ink-3); margin-left: 8px; font-weight: 400; }
.hm-x-cmp .cmp-drow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.hm-x-cmp .cmp-delta { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.hm-x-cmp .cmp-delta svg.lucide { width: 17px; height: 17px; stroke-width: 2.3; }
.hm-x-cmp .cmp-delta.good { background: var(--good-wash); color: var(--good-ink); }
.hm-x-cmp .cmp-delta.flat { background: var(--wash); color: var(--ink-2); }
.hm-x-cmp .cmp-vs { font-size: 12.5px; color: var(--ink-3); }
.hm-x-cmp .cmp-why { font: 500 15px/1.45 var(--f-ui); color: var(--ink); letter-spacing: -0.012em; text-wrap: pretty; max-width: 34ch; }
.hm-x-cmp .cmp-todo { display: inline; font: 500 13px/1.45 var(--f-ui); color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; min-height: 0; padding: 0; white-space: nowrap; letter-spacing: 0; }
.hm-x-cmp .cmp-todo svg.lucide { display: inline-block; vertical-align: -2px; margin-left: 4px; }
.hm-x-cmp .cmp-todo:hover { color: var(--ink); text-decoration-color: var(--ink); }
.hm-x-cmp .cmp-strip { width: 100%; margin-top: auto; padding-top: 10px; }
.hm-x-cmp .cmp-strip-bar { display: flex; gap: 3px; height: 8px; }
.hm-x-cmp .cmp-strip-bar > i { flex: 1; border-radius: 4px; background: var(--s1); }
.hm-x-cmp .cmp-strip-bar > i.miss { background: var(--warn-wash); box-shadow: inset 0 0 0 1.5px var(--warn); }
.hm-x-cmp .cmp-strip-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.hm-x-cmp .cmp-strip-lg span { display: inline-flex; align-items: center; gap: 6px; }
.hm-x-cmp .cmp-k { display: inline-block; width: 12px; height: 8px; border-radius: 3px; background: var(--s1); }
.hm-x-cmp .cmp-k.miss { background: var(--warn-wash); box-shadow: inset 0 0 0 1.5px var(--warn); }
.hm-x-cmp .cmp-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.hm-x-cmp .cmp-lead { font: 500 18px/1.4 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; max-width: 62ch; }
.hm-x-cmp .cmp-lead span { font-weight: 400; color: var(--ink-2); }
.hm-x-cmp .cmp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.hm-x-cmp .cmp-quote { background: var(--panel-2); border-left: 2px solid var(--cmp-rival); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 10px 12px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.hm-x-cmp .cmp-more { margin-top: -6px; }
.hm-x-cmp .cmp-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); min-height: 0; }
.hm-x-cmp .cmp-more > summary::-webkit-details-marker { display: none; }
.hm-x-cmp .cmp-more > summary span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; }
.hm-x-cmp .cmp-more > summary:hover { color: var(--ink); }
.hm-x-cmp .cmp-more > summary svg.lucide { color: var(--ink-3); transition: transform .2s var(--ease); }
.hm-x-cmp .cmp-more[open] > summary svg.lucide { transform: rotate(90deg); }
.hm-x-cmp .cmp-more > .cmp-quotes { margin-top: 8px; }
.hm-x-cmp .cmp-qh { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--ink-3); min-width: 0; }
.hm-x-cmp .cmp-qh b { font-weight: 500; color: var(--ink); font-size: 12.5px; overflow-wrap: anywhere; }
.hm-x-cmp .cmp-qh .mono { font-size: 12px; color: var(--ink-3); }
.hm-x-cmp .cmp-qt { font-size: 13px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.hm-x-cmp .cmp-own { background: var(--panel-2); border-left: 2px solid var(--warn); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 10px 12px; display: grid; gap: 6px; }
.hm-x-cmp .cmp-own p { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hm-x-cmp .cmp-own .mono { font-size: 12px; color: var(--ink); }
.hm-x-cmp .cmp summary.btn { min-height: 0; }
.hm-x-cmp .cmp .btn[disabled] { opacity: .5; cursor: not-allowed; }
@keyframes cmp-spin { to { transform: rotate(360deg); } }
.hm-x-cmp.is-sm .cmp-hero, .hm-x-cmp.is-sm .cmp[data-vstate] .cmp-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ans" "main" "own" "acts"; gap: 16px; }
.hm-x-cmp.is-sm .cmp[data-vstate="done"] .cmp-hero { grid-template-areas: "ans" "main"; }
.hm-x-cmp.is-sm .cmp-numrow { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.hm-x-cmp.is-sm .cmp-why { max-width: 60ch; }
.hm-x-cmp.is-sm .cmp-strip { margin-top: 4px; }
.hm-x-cmp.is-sm .cmp-hero, .hm-x-cmp.is-sm .cmp[data-vstate] .cmp-hero { padding: 12px 16px 18px; }
.hm-x-cmp.is-sm .cmp-num { font-size: 48px; }
.hm-x-cmp.is-sm .cmp-num span { font-size: 18px; }
.hm-x-cmp.is-sm #cmp-sites > .cmp-cardh { padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.hm-x-cmp.is-sm .cmp-todo { padding-top: 6px; padding-bottom: 6px; margin-top: -6px; margin-bottom: -6px; }
.hm-x-cmp.is-sm #cmp-sites > .cmp-cardh { flex-direction: column; gap: 10px; }

/* ---- answers.blade.php: prototype screen CSS scoped to .hm-x-ans; viewport queries evaluated for the clone (desk = 1440, sm = 375) ---- */
.hm-x-ans .ans { --g: 16px; }
.hm-x-ans .ans .ico-sm { flex: none; }
.hm-x-ans .ans-main { display: grid; gap: var(--g); position: relative; min-width: 0; }
.hm-x-ans .ans-main > * { min-width: 0; }
.hm-x-ans .ans-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; min-height: 52px; }
.hm-x-ans .ans-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; display: flex; align-items: center; gap: 4px; }
.hm-x-ans .ans-cardh small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hm-x-ans.is-sm .ans-cardh { flex-wrap: wrap; }
.hm-x-ans.is-sm .ans .ans-lnk { min-height: 32px; }
.hm-x-ans .ans-row2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--g); align-items: stretch; }
.hm-x-ans.is-sm .ans-row2 { grid-template-columns: minmax(0, 1fr); }
.hm-x-ans .ans[data-vstate="zero"] .ans-row2, .hm-x-ans .ans[data-vstate="new"] .ans-row2 { grid-template-columns: minmax(0, 1fr); }
.hm-x-ans .ans-row2 > .card { display: flex; flex-direction: column; min-width: 0; }
.hm-x-ans .ans-foot { margin-top: auto; display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 10px 20px; border-top: 1px solid var(--hair); background: var(--panel-2); border-radius: 0 0 var(--r-lg) var(--r-lg); font-size: 12px; color: var(--ink-3); text-wrap: pretty; }
.hm-x-ans .ans-wfs { flex: 1; display: flex; flex-direction: column; margin-top: 12px; }
.hm-x-ans .ans-wf { flex: 1; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 20px 16px; border-top: 1px solid var(--hair); align-content: start; }
.hm-x-ans .ans-wf-b { min-width: 0; display: grid; gap: 8px; align-content: start; }
.hm-x-ans .ans-wf-who { font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.hm-x-ans .ans-wf-who > p { min-width: 0; text-wrap: pretty; }
.hm-x-ans .ans-wf-who b { color: var(--ink); font-weight: 500; }
.hm-x-ans .ans-lnk { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; min-height: 0; }
.hm-x-ans .ans-lnk:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.hm-x-ans .ans-q { margin: 0; padding: 1px 0 1px 10px; border-left: 2px solid var(--warn); font-size: 13.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.hm-x-ans .ans-truth { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; }
.hm-x-ans .ans-truth > p { display: flex; gap: 7px; align-items: flex-start; font-size: 13px; color: var(--ink); font-weight: 500; min-width: 0; }
.hm-x-ans .ans-wf-act .ans-lnk { margin-left: auto; }
.hm-x-ans.is-sm .ans-wf-act .ans-lnk { margin-left: 0; }
.hm-x-ans .ans-truth > p svg.lucide { color: var(--good-ink); margin-top: 3px; stroke-width: 2.2; }
.hm-x-ans .ans-wf-act { margin-top: 4px; gap: 6px 10px; }
.hm-x-ans .ans-rv-b { flex: 1; display: flex; flex-direction: column; }
.hm-x-ans .ans-rv-s { font: 500 14px/1.45 var(--f-ui); color: var(--ink); letter-spacing: -0.01em; padding: 6px 20px 14px; text-wrap: pretty; }
.hm-x-ans .ans-rv-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hm-x-ans .ans-rv { width: 100%; flex: 1; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.hm-x-ans .ans-rv th { font-weight: 500; font-size: 12px; color: var(--ink-3); text-align: left; padding: 8px 10px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); white-space: nowrap; }
.hm-x-ans .ans-rv td { padding: 9px 10px; border-bottom: 1px solid var(--hair); vertical-align: middle; height: 46px; }
.hm-x-ans .ans-rv tr:last-child td { border-bottom: 0; }
.hm-x-ans .ans-rv tr > :first-child { padding-left: 20px; }
.hm-x-ans .ans-rv tr > :last-child { padding-right: 20px; }
.hm-x-ans .ans-rv .idx { width: 16px; color: var(--ink-4); font-size: 12px; }
.hm-x-ans .ans-rv .n { text-align: right; font-weight: 500; width: 1%; white-space: nowrap; }
.hm-x-ans .ans-rv td.n { font-size: 14px; }
.hm-x-ans .ans-rv .r { text-align: right; white-space: nowrap; width: 1%; }
.hm-x-ans .ans-rv td.r { font-size: 12.5px; color: var(--ink-2); }
.hm-x-ans .ans-rv td.r.good { color: var(--good-ink); font-weight: 500; }
.hm-x-ans .ans-rv td.r.bad { color: var(--bad-ink); font-weight: 500; }
.hm-x-ans .ans-rv-site { display: grid; gap: 7px; min-width: 0; }
.hm-x-ans .ans-rv-site .d { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hm-x-ans .ans-rv-site .mono { font-size: 12.5px; white-space: nowrap; }
.hm-x-ans .ans-rv-trk { display: block; height: 8px; border-radius: 4px; background: var(--wash-2); overflow: hidden; }
.hm-x-ans .ans-rv-trk i { display: block; height: 100%; border-radius: 4px; }
.hm-x-ans.is-desk .ans[data-vstate="zero"] .ans-rv-site { grid-template-columns: 200px minmax(0, 1fr); align-items: center; column-gap: 20px; }
.hm-x-ans .ans-rv tr.me td { background: color-mix(in srgb, var(--s1) 6%, var(--panel)); }
.hm-x-ans .ans-rv tr.me .mono, .hm-x-ans .ans-rv tr.me td.n { font-weight: 500; }
.hm-x-ans.is-sm .ans-rv .idx { display: none; }
.hm-x-ans.is-sm .ans-rv tr > :nth-child(2) { padding-left: 16px; }
.hm-x-ans.is-sm .ans-rv tr > :last-child { padding-right: 16px; }
.hm-x-ans.is-sm .ans-rv th.n { white-space: normal; }
.hm-x-ans.is-sm .ans-rv tr.me .tag { display: none; }
.hm-x-ans .ans-foot.sp { justify-content: space-between; padding: 8px 14px 8px 20px; }
.hm-x-ans .ans-foot.sp > .btn-ghost:first-child { margin-left: -10px; }
.hm-x-ans .ans[data-vstate="nomax"] .ans-main > :not(.ans-veil) { filter: blur(8px); opacity: .55; pointer-events: none; user-select: none; }
.hm-x-ans .ans[data-vstate="nomax"] .ans-wf-act { visibility: hidden; }
.hm-x-ans.is-sm .ans[data-vstate="nomax"] .ans-main { max-height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, var(--panel) calc(100% - 96px), transparent); mask-image: linear-gradient(180deg, var(--panel) calc(100% - 96px), transparent); }
.hm-x-ans.is-sm .ans-wf { padding: 14px 16px 16px; gap: 10px; }
.hm-x-ans.is-sm .ans-cardh { padding: 14px 16px 0; }
.hm-x-ans.is-sm .ans-rv-s { padding: 6px 16px 12px; }
.hm-x-ans.is-sm .ans-foot { padding: 10px 16px; }
.hm-x-ans.is-sm .ans-foot.sp { padding: 8px 10px 8px 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hm-x-ans.is-sm .ans-foot.sp > .btn-ghost { margin-left: -10px; }
.hm-x-ans.is-sm .ans-foot.sp > span { padding: 4px 0 2px; }

