.sm-page{--sm-navy:#183044;--sm-ink:#172c42;--sm-muted:#58697e;--sm-sage:#8c2032;--sm-mist:#f9edf0;--sm-line:#dce2eb;font-family:Arial,Helvetica,sans-serif;background:#f3f5fa;color:var(--sm-ink);line-height:1.55;padding:0 0 64px}
.sm-page *{box-sizing:border-box}.sm-page [hidden]{display:none!important}.sm-container{max-width:1320px;margin:auto;padding:0 28px}.sm-page a{color:var(--sm-sage);text-underline-offset:4px}.sm-page h1,.sm-page h2,.sm-page h3{color:inherit;line-height:1.12;margin:0 0 18px;letter-spacing:-.035em}.sm-page p{margin:0 0 20px}.sm-page button,.sm-page input,.sm-page select{font:inherit}.sm-page :focus-visible{outline:3px solid #247be0;outline-offset:4px}.sm-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;padding:22px 0;font-size:13px;color:var(--sm-muted)}.sm-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:700}.sm-beta{padding:12px 18px;background:#fff3d9;border:1px solid #eddaac;border-radius:12px;margin-bottom:18px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;font-weight:700}.sm-beta span{font-weight:400}.sm-beta a{margin-left:auto}.sm-beta p{margin:0;font-weight:400}.sm-hero{position:relative;isolation:isolate;border-radius:22px;overflow:hidden;min-height:460px;background:var(--sm-navy)}.sm-hero>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}.sm-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(15,34,49,.95),rgba(15,34,49,.7) 30%,transparent 70%)}.sm-hero-copy{padding:56px 48px;max-width:570px;color:white}.sm-hero-copy h1{font-size:clamp(36px,4.3vw,62px);font-weight:700;line-height:1.04;margin-bottom:22px}.sm-hero-copy p:not(.sm-eyebrow){font-size:19px;color:#f0f4f2}.sm-hero-copy small{display:block;margin-top:14px;color:#dce5df;font-size:12px}.sm-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 22px;min-height:48px;border:1px solid var(--sm-sage);border-radius:9px;color:#fff!important;background:var(--sm-sage);font-size:15px;font-weight:700;line-height:1.35;text-decoration:none!important;cursor:pointer}.sm-button:hover{background:#6f1727}.sm-button-light{background:#fff;color:#173244!important;border-color:#fff}.sm-button-light:hover{background:#f9edf0}.sm-button-outline{background:transparent;color:var(--sm-sage)!important}.sm-button-outline:hover{background:#f9edf0}.sm-benefits{display:flex;justify-content:space-around;gap:20px;padding:25px 12px;border-bottom:1px solid var(--sm-line);font-size:13px;font-weight:700;color:var(--sm-muted)}.sm-benefits span:before{content:'✓';color:var(--sm-sage);margin-right:9px}.sm-quiz{max-width:850px;margin:60px auto;background:white;border:1px solid var(--sm-line);border-radius:20px;padding:42px 50px;scroll-margin-top:30px}.sm-section-intro{text-align:center;margin-bottom:35px}.sm-section-intro h2{font-size:31px}.sm-section-intro>p:last-child{color:var(--sm-muted);font-size:15px}.sm-progress-wrap{margin-bottom:34px}.sm-progress-label{display:flex;justify-content:space-between;font-size:12px;font-weight:700;margin-bottom:9px;color:var(--sm-sage)}.sm-progress{height:5px;background:#e7eee8;border-radius:5px;overflow:hidden}.sm-progress span{height:100%;display:block;background:var(--sm-sage);transition:width .2s}.sm-step{border:0;margin:0 0 30px;padding:0;min-width:0}.sm-step legend{width:100%;font-size:26px;font-weight:700;line-height:1.2;letter-spacing:-.025em;margin-bottom:14px;padding:0}.sm-step-number{display:block;font-size:12px;letter-spacing:.1em;color:var(--sm-sage);margin-bottom:14px}.sm-hint{font-size:14px;color:var(--sm-muted);max-width:630px}.sm-options{display:grid;grid-template-columns:1fr;gap:12px}.sm-options-sizes{grid-template-columns:1fr 1fr}.sm-option{position:relative;display:flex;align-items:center;gap:14px;border:1px solid #d9e1dc;border-radius:10px;min-height:78px;padding:17px 20px;background:#fff;cursor:pointer;transition:background .12s,border-color .12s}.sm-option:hover{background:#f5f8f5;border-color:#a6bdb0}.sm-option:has(input:checked){background:#eef5ee;border:2px solid var(--sm-sage);padding:16px 19px}.sm-option input{width:19px;height:19px;margin:0;flex:0 0 auto;accent-color:var(--sm-sage)}.sm-option strong{display:block;font-size:17px;color:var(--sm-ink)}.sm-option small{display:block;margin-top:3px;font-size:12px;color:var(--sm-muted);line-height:1.4}.sm-choice-mark{margin-left:auto;color:var(--sm-sage);font-weight:700;opacity:0}.sm-option:has(input:checked) .sm-choice-mark{opacity:1}.sm-quiz-actions{display:flex;align-items:center;gap:16px;margin:26px 0 20px;flex-wrap:wrap}.sm-quiz-actions>.sm-button{margin-left:auto}.sm-text-button{background:none;border:0;color:var(--sm-muted);font-weight:700;cursor:pointer;padding:14px 4px}.sm-privacy{font-size:12px;color:var(--sm-muted);border-top:1px solid var(--sm-line);padding-top:20px;margin-bottom:0!important}.sm-error-inline{font-size:12px;color:#a42020}.sm-error{padding:15px;background:#fff0ed;color:#a42020;border:1px solid #f2cbc3;border-radius:10px}.sm-help{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:38px 44px;border-radius:18px;background:#e8edf5}.sm-help h2{font-size:32px}.sm-help p:last-child{margin-bottom:0;max-width:670px;color:var(--sm-muted)}.sm-help>a{flex-shrink:0}.sm-results-hero{display:grid;grid-template-columns:1.25fr 1fr;border-radius:18px;overflow:hidden;background:var(--sm-navy);color:#fff;margin-bottom:36px}.sm-results-hero>div{padding:38px 42px}.sm-results-hero h1{font-size:clamp(32px,3.1vw,44px)}.sm-results-hero p{color:#e1e9e6}.sm-results-hero>img{width:100%;height:100%;max-height:350px;object-fit:cover;object-position:right center}.sm-results-edit{color:#e1eadc!important;font-size:13px}.sm-results-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px}.sm-sidebar{display:flex;flex-direction:column;gap:20px}.sm-details{border:1px solid var(--sm-line);background:#fff;border-radius:13px;padding:18px}.sm-details>summary{font-size:15px;font-weight:700;cursor:pointer}.sm-details dl{margin:18px 0;font-size:12px}.sm-details dl>div{border-top:1px solid #edf0ed;padding:10px 0}.sm-details dt{color:var(--sm-muted)}.sm-details dd{margin:3px 0 0;font-weight:700}.sm-details>a{font-size:12px}.sm-filter-form{display:grid;gap:10px;margin-top:20px}.sm-filter-form label{font-size:12px;font-weight:700}.sm-filter-form input,.sm-filter-form select,.sm-gate input{width:100%;padding:11px 9px;border:1px solid #cdd9d1;border-radius:7px;color:var(--sm-ink);background:white;min-height:44px;min-width:0}.sm-filter-form select{font-size:13px}.sm-filter-form label:not(:first-of-type){margin-top:8px}.sm-filter-form button{margin-top:10px}.sm-filter-form p{font-size:11px;color:var(--sm-muted);margin:0}.sm-results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px}.sm-results-toolbar h2{font-size:28px;margin-bottom:8px}.sm-results-toolbar p{font-size:13px;color:var(--sm-muted);margin:0}.sm-size-pill{padding:7px 16px;background:var(--sm-mist);border-radius:20px;color:var(--sm-sage);font-size:13px;font-weight:700}.sm-results-note{font-size:13px;color:var(--sm-muted);margin:20px 0 24px!important;max-width:700px}.sm-product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.sm-match-card{min-width:0;display:flex;flex-direction:column;background:white;border:1px solid var(--sm-line);border-radius:14px;overflow:hidden}.sm-match-heading{background:#eef1f3;color:#445c6b;font-size:11px;font-weight:700;letter-spacing:.02em;padding:10px 14px}.sm-match-heading-strong{background:#faedf0;color:#852337}.sm-original-card{flex:1;min-width:0}.sm-original-card>.product-card{border:0!important;border-radius:0!important;box-shadow:none!important;width:100%;height:100%}.sm-original-card img{max-width:100%;height:auto}.sm-match-reasons{padding:18px;border-top:1px solid #e6ebe5;background:#fafbfd;font-size:12px;color:var(--sm-muted)}.sm-match-reasons h3{font-size:13px;font-weight:700;color:var(--sm-ink);margin-bottom:12px;letter-spacing:0}.sm-match-reasons ul{padding-left:17px;margin:0}.sm-match-reasons li{margin-bottom:6px}.sm-match-reasons details{margin-top:12px;font-size:11px}.sm-match-reasons summary{cursor:pointer;color:#7b5d34;font-weight:700}.sm-match-reasons details ul{margin-top:9px}.sm-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:28px 0;font-size:13px}.sm-guidance{font-size:12px;color:var(--sm-muted);margin-top:28px;padding:20px;border-radius:10px;background:#eaf0f7}.sm-empty{background:white;padding:36px;border:1px solid var(--sm-line);border-radius:14px}.sm-empty h3{font-size:26px}.sm-empty p{color:var(--sm-muted)}.sm-gate{min-height:100vh;display:grid;place-items:center;padding:35px 20px;background:#edf1f7}.sm-gate-card{max-width:510px;width:100%;border:1px solid var(--sm-line);border-radius:18px;background:white;padding:40px}.sm-gate-card h1{font-size:35px}.sm-gate-card form{display:grid;gap:12px;margin:24px 0}.sm-gate-card label{font-size:13px;font-weight:700}.sm-gate-card>a{font-size:13px}.sm-check{padding-top:40px}.sm-check h1{font-size:38px}.sm-check-stats{display:flex;flex-wrap:wrap;gap:20px;background:#fff;border:1px solid var(--sm-line);border-radius:12px;padding:22px;margin:25px 0}.sm-table-wrap{overflow-x:auto;margin-top:20px}.sm-table-wrap table{width:100%;border-collapse:collapse;background:white;font-size:12px}.sm-table-wrap caption{text-align:left;padding:15px 0;font-weight:700}.sm-table-wrap th,.sm-table-wrap td{padding:14px;text-align:left;border:1px solid var(--sm-line);vertical-align:top}.sm-table-wrap th{background:#f4e8ec}
@media(min-width:1000px){.sm-sidebar{align-self:start;position:sticky;top:22px}}
@media(max-width:1100px){.sm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm-results-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}}
@media(max-width:760px){.sm-container{padding:0 16px}.sm-breadcrumb{font-size:12px;padding:17px 0}.sm-hero{min-height:520px}.sm-hero>img{object-position:70% center}.sm-hero:after{background:linear-gradient(180deg,rgba(15,34,49,.95),rgba(15,34,49,.64) 46%,rgba(15,34,49,.1) 84%)}.sm-hero-copy{padding:32px 26px}.sm-hero-copy h1{font-size:43px}.sm-hero-copy p:not(.sm-eyebrow){font-size:16px}.sm-benefits{padding:20px 0;justify-content:start;flex-wrap:wrap;gap:8px;font-size:12px}.sm-benefits span{width:100%}.sm-quiz{padding:28px 22px;margin:34px auto}.sm-section-intro h2{font-size:25px}.sm-section-intro{margin-bottom:28px}.sm-step legend{font-size:23px}.sm-hint{font-size:13px}.sm-option{padding:15px 12px;gap:10px;min-height:78px}.sm-option:has(input:checked){padding:14px 11px}.sm-option strong{font-size:15px}.sm-option small{font-size:11px}.sm-options-sizes{gap:10px}.sm-options-sizes .sm-choice-mark{display:none}.sm-quiz-actions{gap:8px}.sm-quiz-actions>.sm-button{padding:13px 17px;font-size:13px}.sm-error-inline{width:100%;order:3}.sm-help{padding:28px 24px;display:block}.sm-help h2{font-size:28px}.sm-help>a{margin-top:22px}.sm-results-hero{grid-template-columns:1fr}.sm-results-hero>div{padding:28px}.sm-results-hero>img{display:none}.sm-results-hero h1{font-size:34px}.sm-results-layout{grid-template-columns:1fr;gap:24px}.sm-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sm-details{padding:15px}.sm-details>summary{font-size:13px}.sm-results-toolbar h2{font-size:25px}.sm-product-grid{gap:12px!important}.sm-match-reasons{padding:14px}.sm-pagination{gap:12px;flex-wrap:wrap}.sm-beta a{margin-left:0}.sm-gate-card{padding:30px 24px}}
@media(max-width:480px){.sm-sidebar{grid-template-columns:1fr}.sm-details dl{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.sm-product-grid{grid-template-columns:1fr!important}.sm-original-card>.product-card{max-width:none}.sm-match-reasons{padding:19px}.sm-hero-copy h1{font-size:39px}.sm-option strong{font-size:14px}.sm-quiz{padding:26px 18px}.sm-quiz-actions .sm-button{font-size:13px}.sm-size-pill{padding:6px 12px}}
@media(prefers-reduced-motion:reduce){.sm-page *{transition:none!important;scroll-behavior:auto!important}}

/* Compact quiz design. All overrides are scoped to Sleep Match. */
.sm-page .sm-quiz {
  max-width:1020px; margin:36px auto 44px; padding:30px 36px 24px;
  border:1px solid #dce2eb; border-top:4px solid var(--sm-sage);
  border-radius:18px; box-shadow:0 14px 40px rgba(24,48,68,.06);
  scroll-margin-top:150px;
}
.sm-page .sm-section-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; text-align:left; margin-bottom:24px; }
.sm-page .sm-in-progress .sm-section-intro { display:none; }
.sm-page .sm-section-intro .sm-eyebrow { color:var(--sm-sage); margin:0 0 7px; font-size:11px; }
.sm-page .sm-section-intro h2 { font-size:30px; margin:0 0 8px; }
.sm-page .sm-section-intro p:last-child { margin:0; color:var(--sm-muted); font-size:14px; }
.sm-page .sm-quiz-time { display:block; flex-shrink:0; border:1px solid #e0e6ef; border-radius:12px; background:#f5f7fc; padding:12px 16px; color:var(--sm-navy); font-size:12px; font-weight:700; text-align:center; }
.sm-page .sm-quiz-time>span { display:block; font-size:11px; font-weight:400; margin-top:3px; color:var(--sm-muted); }
.sm-page .sm-progress-wrap { margin-bottom:22px; padding:17px 20px 14px; border-radius:12px; background:#f4f6fa; }
.sm-page .sm-progress-label { margin-bottom:8px; font-size:12px; color:var(--sm-navy); }
.sm-page .sm-progress { height:5px; background:#e1e6ef; }
.sm-page .sm-progress span { background:linear-gradient(90deg,#8c2032,#bd5366); }
.sm-page .sm-step-dots { display:flex; justify-content:space-between; gap:8px; margin-top:11px; color:#65748a; font-size:10px; }
.sm-page .sm-step-dots .sm-dot-current { color:var(--sm-sage); font-weight:700; }
.sm-page .sm-step-dots .sm-dot-complete { color:var(--sm-navy); }
.sm-page .sm-step { margin-bottom:0; }
.sm-page .sm-step legend { display:flex; align-items:center; gap:12px; margin-bottom:10px; font-size:27px; }
.sm-page .sm-step-number { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; flex:0 0 34px; margin:0; border-radius:9px; background:#f9edf0; font-size:12px; color:var(--sm-sage); letter-spacing:.04em; }
.sm-page .sm-hint { max-width:none; font-size:14px; margin-bottom:18px; }
.sm-page .sm-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.sm-page .sm-option {
  position:relative; display:flex; align-items:center; gap:12px; min-width:0;
  min-height:106px; padding:20px 22px; border:2px solid #e1e6ef;
  border-radius:13px; background:linear-gradient(135deg,#fff,#fafbfe);
  box-shadow:0 2px 5px rgba(24,48,68,.025);
  transition:border-color .15s,background .15s,box-shadow .15s,transform .15s;
}
.sm-page .sm-option:hover { border-color:#bc8190; background:#fff9fb; box-shadow:0 6px 16px rgba(140,32,50,.06); transform:translateY(-1px); }
.sm-page .sm-option:has(input:checked) { padding:20px 22px; border:2px solid var(--sm-sage); background:#fcf0f3; box-shadow:0 0 0 3px rgba(140,32,50,.07); }
.sm-page .sm-option:focus-within { outline:3px solid #247be0; outline-offset:3px; }
.sm-page .sm-option input { width:20px; height:20px; accent-color:var(--sm-sage); flex:0 0 20px; }
.sm-page .sm-option-copy { min-width:0; padding-right:18px; }
.sm-page .sm-option strong { font-size:17px; font-weight:700; line-height:1.25; }
.sm-page .sm-option small { margin-top:7px; font-size:12px; line-height:1.45; color:var(--sm-muted); }
.sm-page .sm-choice-mark { position:absolute; top:10px; right:10px; width:20px; height:20px; display:grid; place-items:center; margin:0; border-radius:50%; background:var(--sm-sage); color:white; font-size:12px; opacity:0; }
.sm-page .sm-options-sizes .sm-choice-mark { display:grid; }
.sm-page .sm-option:has(input:checked) .sm-choice-mark { opacity:1; }
.sm-page .sm-quiz-actions { margin:22px 0 16px; padding-top:18px; border-top:1px solid #edf0f5; }
.sm-page .sm-quiz-actions>.sm-button { min-height:46px; padding:12px 22px; border-radius:10px; }
.sm-page .sm-privacy { padding-top:0; border:0; max-width:900px; font-size:11px; line-height:1.5; }
.sm-page .sm-benefits { padding:18px 12px; color:var(--sm-navy); }
.sm-page .sm-results-hero { border-left:5px solid var(--sm-sage); }
.sm-page .sm-gate-card { border-top:4px solid var(--sm-sage); box-shadow:0 16px 48px rgba(24,48,68,.08); }
.sm-page .sm-gate-card>a.sm-button { font-size:14px; }
@media(min-width:1100px) {
  .sm-page .sm-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sm-page .sm-options-count-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sm-page .sm-option { min-height:104px; padding:20px 22px; align-items:center; }
  .sm-page .sm-option:has(input:checked) { padding:20px 22px; }
  .sm-page .sm-option input { position:static; }
  .sm-page .sm-choice-mark { top:15px; right:16px; }
  .sm-page .sm-option-copy { padding-right:0; }
}
@media(max-width:760px) {
  .sm-page .sm-quiz { margin:26px auto 30px; padding:24px 22px 20px; }
  .sm-page .sm-section-intro { gap:14px; margin-bottom:19px; }
  .sm-page .sm-section-intro h2 { font-size:25px; }
  .sm-page .sm-quiz-time { padding:10px 12px; font-size:11px; }
  .sm-page .sm-progress-wrap { padding:14px 14px 12px; margin-bottom:20px; }
  .sm-page .sm-step-dots { display:none; }
  .sm-page .sm-step legend { font-size:23px; align-items:flex-start; }
  .sm-page .sm-hint { font-size:13px; margin-bottom:16px; }
  .sm-page .sm-options { gap:12px; }
  .sm-page .sm-option,.sm-page .sm-option:has(input:checked) { min-height:126px; padding:41px 14px 16px; align-items:flex-start; }
  .sm-page .sm-option input { position:absolute; top:13px; left:14px; }
  .sm-page .sm-option-copy { padding:0; }
  .sm-page .sm-option strong { font-size:15px; }
  .sm-page .sm-option small { font-size:11px; margin-top:6px; }
  .sm-page .sm-choice-mark { top:13px; right:12px; }
  .sm-page .sm-quiz-actions { margin:19px 0 13px; padding-top:15px; }
}
@media(max-width:480px) {
  .sm-page .sm-quiz { padding:21px 16px 18px; }
  .sm-page .sm-section-intro { display:block; }
  .sm-page .sm-section-intro h2 { font-size:24px; }
  .sm-page .sm-quiz-time { display:none; }
  .sm-page .sm-step-number { width:28px; height:28px; flex-basis:28px; border-radius:7px; font-size:11px; }
  .sm-page .sm-step legend { font-size:21px; gap:9px; }
  .sm-page .sm-options { gap:10px; }
  .sm-page .sm-option,.sm-page .sm-option:has(input:checked) { padding:39px 11px 14px; min-height:135px; }
  .sm-page .sm-option strong { font-size:14px; }
}
@media(max-width:359px) {
  .sm-page .sm-options:not(.sm-options-sizes) { grid-template-columns:1fr; }
  .sm-page .sm-options:not(.sm-options-sizes) .sm-option,
  .sm-page .sm-options:not(.sm-options-sizes) .sm-option:has(input:checked) { min-height:84px; padding:15px 37px 15px 42px; align-items:center; }
  .sm-page .sm-options:not(.sm-options-sizes) .sm-option input { top:calc(50% - 10px); left:13px; }
  .sm-page .sm-options:not(.sm-options-sizes) .sm-option-copy { padding:0; }
}

/* Re-entry stays inside the quiz so selected answers remain in the DOM. */
.sm-beta-dialog { width:min(480px,calc(100% - 32px)); padding:28px; border:1px solid #dce2eb; border-top:4px solid #8c2032; border-radius:16px; background:white; color:#172c42; font:15px/1.5 Arial,Helvetica,sans-serif; box-shadow:0 20px 80px rgba(24,48,68,.25); }
.sm-beta-dialog::backdrop { background:rgba(15,34,49,.55); }
.sm-beta-dialog h2 { margin:0 0 14px; font-size:26px; line-height:1.15; }
.sm-beta-dialog p { margin:0 0 18px; }
.sm-beta-dialog .sm-eyebrow { color:#8c2032; font-size:11px; }
.sm-beta-dialog label { display:block; font-weight:700; margin-bottom:8px; }
.sm-beta-dialog input { width:100%; box-sizing:border-box; min-height:46px; padding:12px; border:1px solid #cad3e0; border-radius:8px; font:inherit; }
.sm-beta-dialog .sm-error-inline { margin:12px 0; min-height:18px; }
.sm-beta-dialog .sm-button { --sm-sage:#8c2032; font:700 14px/1.3 Arial,Helvetica,sans-serif; }
.sm-reconnect-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.sm-session-status { margin:12px 0 0!important; font-size:12px; color:#8c2032; }
.sm-page button:disabled,.sm-beta-dialog button:disabled { opacity:.65; cursor:wait; }
/* Quiz overlay: the website stays behind the quiz; results use the normal page. */
html.sm-quiz-open,html.sm-quiz-open body { overflow:hidden; }
dialog.sm-quiz-dialog:not([open]) { display:none; }
dialog.sm-quiz-dialog[open] { display:flex; flex-direction:column; }
dialog.sm-quiz-dialog {
  width:min(860px,calc(100% - 32px)); max-width:none;
  max-height:calc(100dvh - 32px); margin:auto; padding:0;
  border:1px solid #dce2eb; border-radius:16px; background:#fff;
  box-shadow:0 22px 90px rgba(15,34,49,.3); overflow:hidden;
}
dialog.sm-quiz-dialog::backdrop { background:rgba(15,34,49,.62); backdrop-filter:blur(3px); }
.sm-quiz-dialog .sm-overlay-top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 24px; background:#183044; color:#fff; font-size:14px; font-weight:700; flex:0 0 auto; }
.sm-quiz-dialog .sm-overlay-close { display:grid; place-items:center; width:34px; height:34px; padding:0; border:1px solid #718190; border-radius:8px; background:transparent; color:#fff; font-size:26px; line-height:1; cursor:pointer; }
.sm-quiz-dialog .sm-quiz { width:100%; max-width:none; margin:0; padding:22px 26px 20px; border:0; border-radius:0; box-shadow:none; overflow-y:auto; min-height:0; }
.sm-quiz-dialog .sm-section-intro { display:none; }
.sm-quiz-dialog .sm-progress-wrap { padding:0 0 16px; margin:0 0 18px; background:transparent; border-radius:0; border-bottom:1px solid #edf0f5; }
.sm-quiz-dialog .sm-step-dots { display:none; }
.sm-quiz-dialog .sm-step legend { font-size:25px; margin-bottom:8px; gap:10px; }
.sm-quiz-dialog .sm-step-number { width:30px; height:30px; flex-basis:30px; }
.sm-quiz-dialog .sm-hint { font-size:13px; margin-bottom:16px; }
.sm-quiz-dialog .sm-options { gap:12px; }
.sm-quiz-dialog .sm-option,.sm-quiz-dialog .sm-option:has(input:checked) { min-height:88px; padding:16px 18px; align-items:center; }
.sm-quiz-dialog .sm-option input { position:static; }
.sm-quiz-dialog .sm-option-copy { padding-right:12px; }
.sm-quiz-dialog .sm-option strong { font-size:16px; }
.sm-quiz-dialog .sm-option small { font-size:12px; margin-top:4px; }
.sm-quiz-dialog .sm-quiz-actions { margin:17px 0 12px; padding-top:14px; gap:12px; }
.sm-quiz-dialog .sm-privacy { font-size:10px; }
.sm-quiz-dialog .sm-session-status { font-size:11px; }
/* Results-only card sizing keeps shared shop cards unchanged. */
.sm-results .sm-product-grid { align-items:stretch; grid-auto-rows:1fr; }
.sm-results .sm-original-card { display:flex; }
.sm-results .sm-original-card>.product-card { display:flex; flex-direction:column; flex:1; }
.sm-results .product-card__image-area { flex:0 0 auto; height:212px; background:#fff; }
.sm-results .product-card__image-link { height:212px; min-height:212px; padding:14px; }
.sm-results .product-card__image,.sm-results .product-card__image-placeholder { width:100%; height:184px; max-height:184px; object-fit:contain; }
.sm-results .product-card__body { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:18px 60px 18px 84px 58px minmax(96px,1fr); gap:8px; padding:16px; }
.sm-results .product-card__brand { grid-row:1; margin:0; font-size:12px; line-height:18px; }
.sm-results .product-card__title { grid-row:2; margin:0; font-size:16px; line-height:20px; letter-spacing:0; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.sm-results .product-card__title a { color:var(--sm-ink); }
.sm-results .product-card__model { grid-row:3; margin:0; font-size:11px; line-height:18px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.sm-results .product-card__payment { grid-row:4; margin:0; padding:10px; gap:8px; align-self:stretch; }
.sm-results .product-card__payment-amount { font-size:28px; }
.sm-results .product-card__frequency { min-height:40px; font-size:13px; font-weight:500; padding:6px; }
.sm-results .product-card__details { grid-row:5; margin:0; font-size:12px; line-height:1.45; gap:4px; }
.sm-results .product-card__actions { grid-row:6; display:flex; flex-direction:column; align-self:end; margin:0; padding:0; gap:8px; }
.sm-results .product-card__button,.sm-results .product-card__cart-button { min-height:44px; padding:10px 12px; margin:0; font-size:14px; }
.sm-results a.product-card__button,.sm-results a.product-card__button:visited,.sm-results a.product-card__button:hover,.sm-results a.product-card__button:focus { color:#fff!important; }
.sm-results .sm-match-reasons { min-height:190px; padding:16px; }
.sm-results .sm-scope-form { margin:-7px 0 22px; }
.sm-results .sm-scope-form .sm-text-button { color:var(--sm-sage); padding:4px 0; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:760px) {
  dialog.sm-quiz-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 20px); border-radius:12px; }
  .sm-quiz-dialog .sm-overlay-top { padding:12px 16px; font-size:13px; }
  .sm-quiz-dialog .sm-quiz { padding:18px 18px 16px; }
  .sm-quiz-dialog .sm-step legend { font-size:21px; }
  .sm-quiz-dialog .sm-option,.sm-quiz-dialog .sm-option:has(input:checked) { min-height:104px; padding:38px 12px 13px; align-items:flex-start; }
  .sm-quiz-dialog .sm-option input { position:absolute; top:12px; left:12px; }
  .sm-quiz-dialog .sm-option-copy { padding:0; }
  .sm-quiz-dialog .sm-option strong { font-size:14px; }
  .sm-quiz-dialog .sm-option small { font-size:11px; }
  .sm-quiz-dialog .sm-quiz-actions>.sm-button { font-size:13px; padding:11px 14px; }
  .sm-results .product-card__body { padding:14px; }
}
@media(max-width:359px) {
  .sm-quiz-dialog .sm-quiz { padding:16px 13px; }
  .sm-quiz-dialog .sm-option,.sm-quiz-dialog .sm-option:has(input:checked) { min-height:80px; }
}
