/* The heading stays outside the component scroll area, so cards cannot pass behind it. */
html body.smart-editorial .proto-v2-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);align-items:stretch}
html body.smart-editorial .proto-v2-copy{padding:clamp(24px,3vw,42px)}
html body.smart-editorial .proto-v2-copy h1{font-size:clamp(32px,3vw,46px);line-height:1.08;max-width:17ch;margin-bottom:18px}
html body.smart-editorial .proto-v2-copy .eyebrow{margin-bottom:16px}
html body.smart-editorial .proto-v2-copy>p:not(.eyebrow){font-size:16px;line-height:1.55}
html body.smart-editorial .proto-v2-copy .proto-v2-status{font-size:13px;margin-top:16px}
html body.smart-editorial .proto-v2-actions{margin-top:20px;flex-wrap:wrap}
html body.smart-editorial .tool-hero-photo{min-height:320px;background:#dedbd5}
html body.smart-editorial .tool-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% 50%}
@media(max-width:900px){html body.smart-editorial .proto-v2-hero{grid-template-columns:1fr}html body.smart-editorial .tool-hero-photo{min-height:0;aspect-ratio:16/9;border-inline-start:0;border-top:1px solid var(--tx-border)}html body.smart-editorial .tool-hero-photo img{object-fit:contain}html body.smart-editorial .proto-v2-copy h1{max-width:22ch}}
html body.smart-editorial .smart-result{padding:0;overflow:hidden;scrollbar-gutter:auto;isolation:isolate;background:var(--tx-paper);border-radius:20px}
html body.smart-editorial .smart-result-content:not([hidden]){display:flex;flex-direction:column;height:100%;min-height:0}
html body.smart-editorial .smart-result-head{position:relative;top:auto;flex:0 0 auto;z-index:auto;margin:0;padding:24px;border-bottom:1px solid var(--tx-border);background:var(--tx-paper)}
html body.smart-editorial .smart-result-head .eyebrow{display:block;margin:0 0 8px;font-size:11px;letter-spacing:.1em;color:var(--tx-muted)}
html body.smart-editorial .smart-result-head h3{font-size:clamp(21px,2vw,27px);line-height:1.25;letter-spacing:-.025em;color:var(--tx-ink);margin:0 0 7px;overflow-wrap:anywhere}
html body.smart-editorial .smart-result-head p:not(.eyebrow){font-size:14px;line-height:1.5;color:var(--tx-muted);margin:0}
.smart-editorial .smart-result-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#96939d transparent;scroll-padding:20px;padding-bottom:8px}
.smart-editorial .smart-result-scroll:focus-visible{outline:2px solid #9c7bc4;outline-offset:-4px;border-radius:0 0 18px 18px}
html body.smart-editorial .smart-summary-metrics{background:var(--tx-paper);border-bottom:1px solid var(--tx-border);padding:18px 20px;gap:10px}
html body.smart-editorial .smart-metric{background:var(--tx-panel);border:1px solid var(--tx-border);padding:12px;border-radius:12px;min-width:0}
html body.smart-editorial .smart-metric small{color:var(--tx-muted);font-size:11px;line-height:1.5;letter-spacing:.035em}
html body.smart-editorial .smart-metric strong{color:var(--tx-ink);font-size:17px;line-height:1.35;overflow-wrap:anywhere}
html body.smart-editorial .smart-build-list{gap:12px;padding:20px}
html body.smart-editorial .smart-part{background:var(--tx-panel);border:1px solid var(--tx-border);border-radius:14px;grid-template-columns:60px minmax(0,1fr);padding:16px;gap:12px;align-items:start}
html body.smart-editorial .smart-part-image{width:60px;height:60px;background:var(--tx-paper);border:1px solid var(--tx-border);border-radius:10px;grid-row:span 2}
html body.smart-editorial .smart-part-info small{color:var(--tx-muted);font-size:11px;letter-spacing:.04em;line-height:1.5}
html body.smart-editorial .smart-part-info strong{color:var(--tx-ink);font-size:17px;font-weight:600;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}
html body.smart-editorial .smart-part-reason{color:var(--tx-muted);font-size:13px;line-height:1.5;margin:7px 0 0;display:block;overflow:visible}
html body.smart-editorial .smart-part-price-block{grid-column:2;justify-items:start;max-width:none;min-width:0}
html body.smart-editorial .smart-part-price{color:var(--tx-ink);font-size:16px;font-weight:700;text-align:start;overflow-wrap:anywhere}
html body.smart-editorial :is(.smart-lock-button,.smart-alternatives summary){background:var(--tx-paper);border:1px solid var(--tx-border);color:var(--tx-ink);padding:8px 12px;border-radius:9px;font-size:13px;line-height:1.4;cursor:pointer;transition:background .18s,border-color .18s}
html body.smart-editorial .smart-lock-button[aria-pressed="true"]{background:#ede5f7;border-color:#8d69b6;color:#493566}
html body.smart-editorial .smart-alternatives button{background:var(--tx-paper);border-color:var(--tx-border);color:var(--tx-ink);text-align:start;white-space:normal;line-height:1.5;padding:10px}
html body.smart-editorial .smart-part-actions{margin-top:12px}
html body.smart-editorial .smart-result-note,html body.smart-editorial .smart-result-note.is-good{background:#eeebf2;color:#4d4558;border:1px solid #d5cedf;border-inline-start:3px solid #9174b4;padding:13px 15px;margin:0 20px 18px;font-size:13px;line-height:1.55;border-radius:10px}
html body.smart-editorial .smart-result-notices:not([hidden]){background:#faf0df;color:#644614;border:1px solid #d5ba8b;border-radius:10px;padding:13px 15px;margin:0 20px 16px}
html body.smart-editorial .smart-result-actions{padding:0 20px 16px;gap:9px}
html body.smart-editorial .smart-result-actions .button{padding:11px 14px;font-size:13px;line-height:1.4;min-height:42px}
html[data-theme="dark"] body.smart-editorial .smart-result-note,html[data-theme="dark"] body.smart-editorial .smart-result-note.is-good{background:#303037;color:#e0dbe9;border-color:#514958;border-inline-start-color:#aa8aca}
html[data-theme="dark"] body.smart-editorial .smart-lock-button[aria-pressed="true"]{background:#37313f;color:#ede3f7;border-color:#9473b7}
html[data-theme="dark"] body.smart-editorial .smart-result-notices:not([hidden]){background:#393127;color:#f0d7ad;border-color:#786243}
@media(max-width:700px){html body.smart-editorial .smart-result-head{padding:20px}html body.smart-editorial .smart-summary-metrics{gap:7px;padding:14px}html body.smart-editorial .smart-metric{padding:10px 8px}html body.smart-editorial .smart-metric strong{font-size:14px}html body.smart-editorial .smart-build-list{padding:14px}html body.smart-editorial .smart-part{grid-template-columns:48px minmax(0,1fr);padding:12px;gap:10px}html body.smart-editorial .smart-part-image{width:48px;height:48px}html body.smart-editorial .smart-result-head h3{font-size:21px}}
@media(prefers-reduced-motion:reduce){.smart-editorial .smart-lock-button,.smart-editorial .smart-alternatives summary{transition:none}}

/* Exclude the foreground wall at the left edge of the source photograph. */
html body.smart-editorial .tool-hero-photo img{inset:0 auto 0 -7%;width:107%;max-width:none;object-fit:cover;object-position:center;animation:none}
