/* Container variables work in the simulator; env() enhances capable devices. */
:root{--jojo-safe-top:var(--safe-area-inset-top,0px);--jojo-safe-bottom:var(--safe-area-inset-bottom,0px)}
@supports(padding-top:env(safe-area-inset-top)){:root{--jojo-safe-top:var(--safe-area-inset-top,env(safe-area-inset-top,0px));--jojo-safe-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px))}}
:root{color-scheme:light;--bg:#f5f5f7;--surface:#fff;--text:#1d1d1f;--muted:#6e6e73;--line:#e7e7ec;--blue:#007aff;--blue-dark:#0064d1;--blue-light:#edf5ff;--danger:#b3413e;--radius:28px;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;font-synthesis:none;font-weight:400}
*{box-sizing:border-box}html{margin:0;touch-action:manipulation;scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button,input,label{touch-action:manipulation}button:focus,summary:focus{outline:3px solid #99caff;outline-offset:4px}button:focus-visible,summary:focus-visible{outline:3px solid #99caff;outline-offset:4px}button:active{opacity:.7;transform:scale(.99)}button{transition:background .18s,opacity .18s,transform .18s}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3;letter-spacing:-.035em}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}img,svg,canvas{max-width:100%}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}h1:focus,h2:focus{outline:none}button{border:0}fieldset{border:0;padding:0;margin:0;min-width:0}dialog::backdrop{background:rgba(18,24,35,.3);backdrop-filter:blur(7px)}
.site-header{max-width:1216px;margin:0 auto;padding:28px 40px;display:flex;justify-content:space-between;align-items:center;grid-gap:20px;--layout-row-gap:20px;--layout-column-gap:20px;gap:20px}.brand{display:flex;align-items:center;grid-gap:10px;--layout-row-gap:10px;--layout-column-gap:10px;gap:10px;font-size:16px;font-weight:600;font-weight:650;letter-spacing:-.02em}.brand img{border-radius:11px}.text-button{color:var(--blue);background:transparent;font-weight:500;padding:10px 2px;min-height:44px}.about-button{font-size:14px}.about-button span{margin-left:4px}
.intake-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);grid-gap:72px;--layout-row-gap:72px;--layout-column-gap:72px;gap:72px;max-width:1152px;margin:42px auto 66px;padding:0 40px;align-items:center}.eyebrow{color:var(--blue);font-size:11px;letter-spacing:.12em;font-weight:600;display:flex;align-items:center;grid-gap:8px;--layout-row-gap:8px;--layout-column-gap:8px;gap:8px}.small-line{height:1px;width:20px;background:var(--blue)}.intro h1{font-size:36px;font-size:clamp(36px,3.8vw,48px);font-weight:700;line-height:1.25;letter-spacing:-.045em;margin:16px 0 20px}.serif{color:var(--blue)}.intro-copy{font-size:16px;line-height:1.9;color:var(--muted)}
.pillow-scene{position:relative;height:228px;margin:10px -5px 0;overflow:hidden}.scene-orbit{position:absolute;border:1px solid #e6e9ef;border-radius:50%;transform:rotate(-17deg);left:30px;top:43px;width:300px;height:158px}.orbit-two{left:55px;top:18px;width:270px;height:198px;transform:rotate(16deg)}.pillow{position:absolute;width:225px;height:122px;top:57px;left:66px;border-radius:34% 28% 32% 30%/34% 39% 33% 40%;transform:rotate(-12deg);background:radial-gradient(ellipse at 40% 20%,#fff 8%,#fafbfd 42%,#e1e6ee 87%);box-shadow:inset 0 3px 2px #fff,inset 1px -7px 9px rgba(180,191,206,0.4),0 7px 9px rgba(146,157,175,0.07843);border:1px solid #dfe4ec}.pillow-stitch{position:absolute;top:9px;right:7px;bottom:9px;left:7px;inset:9px 7px;border:1px solid rgba(216,223,231,0.6);border-radius:inherit;box-shadow:0 1px #fff}.pillow-label{position:absolute;right:-4px;top:71px;font-size:7px;background:#007aff;color:#fff;transform:rotate(10deg);padding:1px 5px;letter-spacing:.1em;border-radius:2px}.pillow-shadow{position:absolute;width:200px;height:25px;top:174px;left:75px;background:rgba(177,186,200,0.27059);filter:blur(14px);border-radius:50%;transform:rotate(-10deg)}.scene-spark{position:absolute;color:#87b9ef;font-size:30px}.spark-one{right:45px;top:44px}.spark-two{left:29px;top:131px;font-size:22px}.scene-note{position:absolute;right:9px;top:167px;font-size:11px;color:#6e87a7;transform:rotate(-6deg)}.note-line{display:block;width:45px;height:1px;background:#a4bdd9;margin:7px auto 0}.scene-caption{position:absolute;left:72px;bottom:8px;font-size:8px;letter-spacing:.18em;color:#969da7}.intro-benefits{display:flex;grid-gap:13px;--layout-row-gap:13px;--layout-column-gap:13px;gap:13px;align-items:center;margin-top:12px;font-size:12px;color:var(--muted)}.intro-benefits b{font-size:11px;color:var(--blue);margin-right:5px;font-weight:600}.intro-benefits i{width:1px;height:12px;background:#d9dce3}.intro-footnote{font-size:11px;color:#86868b;margin-top:17px}
.form-card{padding:30px;background:var(--surface);border-radius:var(--radius);box-shadow:0 12px 48px rgba(28,49,88,0.02745),0 1px 3px rgba(28,49,88,0.01569);min-width:0}.card-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.tag{color:var(--blue);background:var(--blue-light);border-radius:30px;padding:5px 11px;font-size:11px;font-weight:600}.step-count{font-size:12px;font-variant-numeric:tabular-nums;color:#8b8b94;font-weight:500}.step-nav{display:flex;grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px;align-items:center;margin-bottom:34px;border-radius:11px;background:#f2f2f7;padding:4px}.step-nav>i{display:none}.step-item{flex:1;text-align:center;white-space:nowrap;font-size:12px;color:#85858c;padding:8px 4px;border-radius:8px;font-weight:500;transition:.2s}.step-item>span{display:none}.step-item.is-current{background:#fff;color:var(--text);box-shadow:0 1px 4px rgba(0,0,0,0.08235)}.step-item.is-done{color:var(--blue)}.form-step{animation:appear .25s ease;min-height:300px}.form-step h2{font-size:27px;font-weight:600;font-weight:650;margin-bottom:8px}.section-intro{color:var(--muted);font-size:13px;margin-bottom:27px}.measurements{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;--layout-row-gap:16px;--layout-column-gap:16px;gap:16px;margin-bottom:8px}.field label{font-size:14px;font-weight:600;font-weight:550;display:block;margin-bottom:9px}.number-field{background:#f5f5f7;border:1.5px solid transparent;border-radius:15px;display:flex;align-items:center;grid-gap:4px;--layout-row-gap:4px;--layout-column-gap:4px;gap:4px;padding:17px 14px;transition:.2s}.number-field:focus-within{border-color:var(--blue);background:#fafcff}.number-field:has(input[aria-invalid=true]){border-color:#df9390;background:#fff9f9}.number-field input{font-size:25px;font-weight:600;font-weight:550;letter-spacing:-.03em;line-height:1.4;width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.number-field input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.number-field input::placeholder{font-size:17px;letter-spacing:0;color:#b0b0b7;font-weight:400}.number-field>span{font-size:13px;color:#85858d}.field-help{display:block;color:#86868b;font-size:10px;margin-top:7px}.field-error{font-size:11px;color:var(--danger);min-height:18px;margin-top:3px;line-height:1.5}.soft-note{display:flex;align-items:flex-start;grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px;padding:15px;border-radius:14px;background:var(--blue-light);font-size:11px;line-height:1.8;color:#58728d;margin-top:10px}.soft-note strong{font-weight:400}.note-icon{font-weight:600;font-size:10px;border:1px solid #79a4ce;border-radius:50%;width:14px;height:14px;flex:0 0 14px;line-height:13px;text-align:center;margin-top:3px}.example-button{margin-top:18px;color:var(--blue);background:none;padding:8px 0;min-height:44px;font-size:12px}.example-button span:first-child{font-size:17px;margin-right:5px}.example-button span:last-child{margin-left:5px}.form-actions{display:flex;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;margin-top:23px}.primary-button{min-height:52px;border-radius:15px;background:var(--blue);color:#fff;padding:15px 20px;font-weight:600;font-weight:550;display:flex;justify-content:center;align-items:center;grid-gap:15px;--layout-row-gap:15px;--layout-column-gap:15px;gap:15px;font-size:15px;flex:1;width:100%;line-height:1.45}.primary-button:hover{background:var(--blue-dark)}.primary-button>span:last-child{font-size:18px}.back-button{color:var(--blue);background:#f2f7ff;border-radius:15px;min-height:52px;white-space:nowrap;padding:12px 14px;font-size:13px}.privacy-line{display:flex;align-items:center;justify-content:center;grid-gap:6px;--layout-row-gap:6px;--layout-column-gap:6px;gap:6px;font-size:10px;color:#9a9aa0;margin-top:15px}.privacy-line svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.2}.form-status{color:var(--blue);font-size:11px;text-align:center}.form-status:not(:empty){margin-top:10px}
.choice-field legend{font-size:14px;font-weight:600;font-weight:550;margin-bottom:12px}.required-label,.optional-label{margin-left:7px;font-size:10px;font-weight:400;color:#8e8e96}.choice-grid{display:grid;grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px}.mattress-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.choice{position:relative;cursor:pointer;min-width:0;display:block}.choice input{position:absolute;opacity:0;width:1px;height:1px;top:50%;left:50%}.choice-body{display:flex;transition:border-color .15s,background .15s;background:#f5f5f7;border:1.5px solid transparent;border-radius:15px}.choice input:checked+.choice-body{background:#edf5ff;border-color:var(--blue);color:#0073ed}.choice input:focus+.choice-body{outline:3px solid #a9d4ff;outline-offset:3px}.choice input:focus-visible+.choice-body{outline:3px solid #a9d4ff;outline-offset:3px}.tile .choice-body{flex-direction:column;align-items:center;text-align:center;padding:17px 3px 14px}.tile strong{font-size:13px;font-weight:600;font-weight:550}.tile small{font-size:9px;color:#909098;line-height:1.4;margin-top:5px}.mattress-icon{width:53px;height:29px;display:flex;flex-direction:column;grid-gap:3px;--layout-row-gap:3px;--layout-column-gap:3px;gap:3px;position:relative;margin-bottom:13px;color:#8d9bac}.mattress-icon i{height:6px;border:1.4px solid currentColor;border-radius:4px}.mattress-icon.medium i:first-child{border-radius:2px 2px 45% 45%;height:9px}.mattress-icon.soft i:first-child{border-radius:0 0 70% 70%;height:15px}.choice input:checked+.choice-body .mattress-icon{color:var(--blue)}.posture-field{margin-top:20px}.posture-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:5px;--layout-row-gap:5px;--layout-column-gap:5px;gap:5px}.compact .choice-body{justify-content:center;align-items:center;min-height:43px;border-radius:11px;font-size:12px;padding:8px 1px;white-space:nowrap}.small-context{font-size:11px;color:#86868b;line-height:1.8;margin-top:18px}.small-context strong{font-weight:600;font-weight:550}.neck-choices{display:flex;flex-direction:column;grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px}.wide .choice-body{align-items:center;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;padding:14px 15px}.wide strong{display:block;font-size:13px;font-weight:600;font-weight:550}.wide small{display:block;font-size:11px;color:#86868b;margin-top:2px}.choice-dot{width:20px;height:20px;border-radius:50%;border:1.5px solid #c7c7cc;flex-shrink:0}.choice input:checked+.choice-body .choice-dot{border:6px solid var(--blue);background:white}.safety-check{display:flex;grid-gap:8px;--layout-row-gap:8px;--layout-column-gap:8px;gap:8px;align-items:flex-start;font-size:11px;color:#6e6e73;margin-top:12px;line-height:1.6;cursor:pointer}.safety-check input{accent-color:var(--blue);width:16px;height:16px;flex-shrink:0;margin:2px 0 0}.form-step:has(.neck-choices) .small-context{margin-top:8px;font-size:10px}
.site-footer{display:flex;justify-content:space-between;grid-gap:20px;--layout-row-gap:20px;--layout-column-gap:20px;gap:20px;color:#9c9ca3;font-size:10px;max-width:1136px;margin:auto;padding:24px 32px;border-top:1px solid #e4e4e9}.report-view{max-width:1080px;margin:34px auto 60px;padding:0 32px;animation:appear .35s ease}.report-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;grid-gap:15px;--layout-row-gap:15px;--layout-column-gap:15px;gap:15px}.report-heading h1{font-size:36px;margin:12px 0 9px;font-weight:600;font-weight:650}.report-heading p{font-size:13px;color:var(--muted)}.report-seal{height:72px;width:72px;border-radius:22px;background:#e9f2ff;color:var(--blue);font-size:17px;display:flex;flex-direction:column;justify-content:center;align-items:center;line-height:1.3;letter-spacing:-.02em;flex-shrink:0;font-weight:600}.report-seal small{font-size:6px;letter-spacing:.07em;margin-top:4px}.report-grid{display:grid;grid-template-columns:minmax(0,1fr) 304px;grid-gap:22px;--layout-row-gap:22px;--layout-column-gap:22px;gap:22px;align-items:start}.report-main,.report-side{display:flex;flex-direction:column;grid-gap:18px;--layout-row-gap:18px;--layout-column-gap:18px;gap:18px;min-width:0}.report-side{position:sticky;top:24px}.result-card{padding:28px 30px 23px;border-radius:26px;background:linear-gradient(145deg,#167ffa,#0062d7);color:#fff;box-shadow:0 6px 24px rgba(0,122,255,0.07059)}.result-top{display:flex;align-items:center;justify-content:space-between;grid-gap:10px;--layout-row-gap:10px;--layout-column-gap:10px;gap:10px}.light-tag{font-size:10px;border-radius:30px;background:rgba(255,255,255,0.14118);padding:4px 9px}.score-tag{color:rgba(255,255,255,0.68235);font-size:10px}.result-card h2{font-size:27px;margin-top:23px;font-weight:600}.result-description{font-size:12px;line-height:1.8;color:#e0edff;margin-top:9px}.direction-value{display:flex;align-items:center;grid-gap:20px;--layout-row-gap:20px;--layout-column-gap:20px;gap:20px;margin:18px 0}.direction-value>span{font-size:66px;line-height:1.05;font-weight:600;font-weight:650;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.direction-value strong{display:block;font-size:15px;font-weight:500}.direction-value small{display:block;font-size:10px;color:#c6e1ff;margin-top:4px}.direction-scale{padding:12px 5px 0}.scale-track{height:6px;position:relative;border-radius:5px;background:linear-gradient(90deg,rgba(188,223,255,0.33333),#dfeeff,rgba(255,255,255,0.33333))}.scale-center{position:absolute;width:1px;background:rgba(255,255,255,0.53333);height:16px;left:50%;top:-5px}.scale-marker{width:16px;height:16px;position:absolute;top:-5px;left:50%;transform:translateX(-50%);border:3px solid #fff;background:var(--blue);border-radius:50%;box-shadow:0 1px 4px rgba(0,61,144,0.46667)}.scale-labels{display:flex;justify-content:space-between;font-size:10px;color:#d2e5ff;margin-top:13px}.result-boundary{font-size:10px;line-height:1.7;color:#d7e8ff;margin-top:22px;padding-top:15px;border-top:1px solid rgba(255,255,255,0.16078)}.result-card.is-cautious{background:linear-gradient(145deg,#4b5b74,#33425b)}.result-card.is-neutral{background:linear-gradient(145deg,#4b789e,#365d80)}
.report-card{background:#fff;border-radius:23px;padding:25px}.report-section-label{font-size:9px;letter-spacing:.11em;color:#90909a;font-weight:500;margin-bottom:10px}.report-card h2{font-size:21px;letter-spacing:-.02em;font-weight:600}.report-card .muted{margin-top:7px;font-size:12px}.muted{color:var(--muted);font-size:13px;line-height:1.8}.factor-list{margin-top:22px}.factor-row{display:flex;align-items:flex-start;justify-content:space-between;grid-gap:15px;--layout-row-gap:15px;--layout-column-gap:15px;gap:15px;padding:14px 0;border-bottom:1px solid #f0f0f4}.factor-row:first-child{padding-top:0}.factor-row:last-child{border-bottom:0}.factor-row strong{font-size:13px;font-weight:600;font-weight:550}.factor-row p{font-size:11px;color:#86868b;line-height:1.7;margin-top:4px}.factor-score{font-size:18px;line-height:1.2;font-weight:600;color:var(--blue);border-radius:10px;min-width:42px;padding:8px 5px;text-align:center;background:#edf5ff;font-variant-numeric:tabular-nums}.factor-score.negative{color:#ae7000;background:#fff5e3}.factor-score.zero{color:#8a8a92;background:#f5f5f7}.factor-score.text{font-size:10px;padding:10px 6px;min-width:49px}.definition-box{padding:15px;background:#f5f5f7;border-radius:14px;margin-top:18px}.definition-box strong{font-size:12px;font-weight:600;font-weight:550}.definition-box p{font-size:11px;color:#777780;line-height:1.8;margin-top:5px}.trial-list{display:flex;flex-direction:column;grid-gap:18px;--layout-row-gap:18px;--layout-column-gap:18px;gap:18px;margin-top:22px}.trial-item{display:flex;align-items:flex-start;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px}.trial-number{color:var(--blue);background:#edf5ff;font-size:11px;font-weight:600;border-radius:9px;min-width:28px;height:28px;display:flex;align-items:center;justify-content:center}.trial-item h3{font-size:13px;letter-spacing:0;font-weight:600;font-weight:550}.trial-item p{font-size:11px;color:#81818a;line-height:1.8;margin-top:4px}.trial-note{margin-top:20px;padding-top:15px;border-top:1px solid #efeff4;font-size:11px;color:#6e6e73;line-height:1.8}.neck-advice{display:flex;align-items:flex-start;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;background:#fff7e9}.neck-advice h2{font-size:14px;line-height:1.6}.neck-advice p{font-size:11px;color:#8d795b;line-height:1.8;margin-top:6px}.neck-advice.is-urgent{background:#fff0ef}.neck-advice.is-urgent p{color:#986b68}.advice-mark{color:#aa8c55;display:block;font-size:12px;border:1px solid #cab080;line-height:17px;text-align:center;border-radius:50%;width:19px;height:19px;flex-shrink:0;margin-top:2px}.profile-values{display:grid;grid-template-columns:1fr 1fr;grid-gap:19px 12px;--layout-row-gap:19px;--layout-column-gap:12px;gap:19px 12px;margin-top:24px}.profile-cell{min-width:0}.profile-cell small{display:block;color:#92929a;font-size:10px;margin-bottom:3px}.profile-cell strong{display:block;font-size:14px;font-weight:600;font-weight:550}.profile-cell.wide{grid-column:1/-1}.bmi-row{background:#f6f6f8;border-radius:13px;padding:13px;margin-top:20px}.bmi-row>div{display:flex;justify-content:space-between;align-items:center}.bmi-row span{color:#7c7c85;font-size:11px}.bmi-row strong{font-size:20px;font-weight:600;letter-spacing:-.03em}.bmi-row p{font-size:9px;color:#9898a0;line-height:1.7;margin-top:6px}.fit-card h2{font-size:19px}.alignment-diagram{margin-top:14px;display:block}.fit-card>p{font-size:11px;color:#85858d;line-height:1.9}.mini-label{display:block;color:#a2a2a9;font-size:9px;margin-top:9px}.report-buttons{display:flex;flex-direction:column;grid-gap:10px;--layout-row-gap:10px;--layout-column-gap:10px;gap:10px}.secondary-button{background:white;color:var(--blue);min-height:50px;padding:12px 18px;border-radius:15px;font-size:13px;font-weight:500}.reset-button{font-size:11px;color:#94949c;align-self:center}.method-details{background:transparent;border-top:1px solid #e2e2e8;margin-top:30px;color:#83838c;font-size:11px;padding-top:6px}.method-details summary{cursor:pointer;padding:15px 0;display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:48px}.method-details summary::-webkit-details-marker{display:none}.method-details[open] summary span{transform:rotate(45deg)}.method-details p{line-height:1.9;margin-bottom:12px}.method-details div{max-width:780px;padding-bottom:10px}
.modal{border:0;border-radius:28px;padding:28px;width:calc(100% - 32px);max-width:475px;max-height:90vh;max-height:90dvh;overflow:auto;overscroll-behavior:contain;color:var(--text);box-shadow:0 20px 80px rgba(22,39,60,0.13333)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.close-button{border-radius:50%;width:32px;height:32px;line-height:26px;font-size:24px;color:#8b8b93;background:#f0f0f5;display:flex;justify-content:center;align-items:center}.modal h2{font-size:24px;margin-bottom:20px}.modal>p{font-size:13px;line-height:1.9;color:#6e6e73;margin-top:15px}.modal p strong{color:var(--text);font-weight:600;font-weight:550}.dialog-note{background:#f5f5f7;padding:16px;border-radius:15px;margin-top:20px;font-size:12px}.dialog-note>strong{font-weight:600;font-weight:550}.dialog-note p{font-size:11px;color:#85858c;line-height:1.9;margin-top:5px}.poster-modal{max-width:420px;padding:22px}.poster-modal .modal-top{margin-bottom:8px}.poster-modal canvas{display:block;width:100%;height:auto;border-radius:18px;border:1px solid #f0f0f5;margin:16px 0}.poster-modal .poster-message{font-size:11px;text-align:center;color:#86868b}.toast{position:fixed;left:50%;bottom:30px;bottom:calc(30px + var(--jojo-safe-bottom,0px));transform:translateX(-50%);z-index:20;border-radius:18px;background:rgba(48,48,57,0.93333);color:white;padding:12px 20px;font-size:12px;width:max-content;max-width:90%;box-shadow:0 5px 30px rgba(0,0,0,0.13333);text-align:center}.noscript-note{padding:30px;text-align:center;color:var(--danger)}
@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1250px){.intake-layout{margin-top:55px;grid-gap:96px;--layout-row-gap:96px;--layout-column-gap:96px;gap:96px}.form-card{min-height:570px;display:flex;flex-direction:column}.form-card form{flex:1;display:flex;flex-direction:column}.form-step{flex:1}.intro h1{font-size:48px}}
@media(max-width:940px){.intake-layout{grid-gap:32px;--layout-row-gap:32px;--layout-column-gap:32px;gap:32px;padding:0 28px}.site-header{padding:24px 30px}.intro h1{font-size:38px}.form-card{padding:25px}.intro-benefits{grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px;font-size:10px}.intro-benefits b{font-size:9px}.pillow-scene{transform:scale(.9);transform-origin:left center;margin-right:-30px}.report-grid{grid-template-columns:minmax(0,1fr) 270px;grid-gap:16px;--layout-row-gap:16px;--layout-column-gap:16px;gap:16px}.report-card{padding:22px}}
@media(max-width:700px){.site-header{padding:18px 22px 10px;padding-top:calc(18px + var(--jojo-safe-top,0px))}.brand{font-size:13px;grid-gap:8px;--layout-row-gap:8px;--layout-column-gap:8px;gap:8px}.brand img{width:28px;height:28px;border-radius:9px}.about-button{font-size:12px}.intake-layout{display:flex;flex-direction:column;align-items:stretch;grid-gap:22px;--layout-row-gap:22px;--layout-column-gap:22px;gap:22px;margin:14px auto 30px;padding:0 20px;max-width:510px}.intro{position:relative;min-height:138px;padding:6px 0 0}.intro .eyebrow{font-size:8px;letter-spacing:.055em;grid-gap:5px;--layout-row-gap:5px;--layout-column-gap:5px;gap:5px}.small-line{width:12px}.intro h1{font-size:30px;line-height:1.23;margin:12px 0 9px;letter-spacing:-.045em;position:relative;z-index:1}.intro-copy{font-size:11px;line-height:1.8;max-width:100%;position:relative;z-index:1}.intro-copy br{display:none}.intro-copy br:first-child{display:block}.pillow-scene{position:absolute;transform:scale(.49);transform-origin:top right;width:360px;height:232px;right:-11px;top:32px;margin:0;opacity:.95;pointer-events:none}.scene-note,.scene-caption,.orbit-two,.spark-two{display:none}.intro-benefits,.intro-footnote{display:none}.form-card{padding:24px 22px 20px;border-radius:26px;box-shadow:0 4px 20px rgba(28,49,88,0.01176)}.card-topline{margin-bottom:19px}.tag{font-size:10px}.step-nav{margin-bottom:25px;grid-gap:3px;--layout-row-gap:3px;--layout-column-gap:3px;gap:3px}.step-item{font-size:11px;padding:7px 2px}.form-step{min-height:0}.form-step h2{font-size:24px}.section-intro{font-size:11px;margin-bottom:22px}.measurements{grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px}.field label{font-size:13px}.number-field{padding:14px 12px;min-height:67px;border-radius:14px}.number-field input{font-size:25px}.number-field input::placeholder{font-size:16px}.field-help{font-size:9px}.field-error{font-size:10px}.soft-note{font-size:10px;padding:13px;line-height:1.85;margin-top:4px}.example-button{font-size:11px;margin-top:13px}.form-actions{margin-top:21px;grid-gap:10px;--layout-row-gap:10px;--layout-column-gap:10px;gap:10px}.primary-button{min-height:50px;border-radius:14px;font-size:14px;padding:14px 18px}.back-button{font-size:12px;min-height:50px;padding:12px}.privacy-line{font-size:9px;grid-gap:4px;--layout-row-gap:4px;--layout-column-gap:4px;gap:4px}.privacy-line svg{width:12px}.form-status{font-size:10px}.choice-field legend{font-size:13px}.tile .choice-body{padding:14px 2px 13px;border-radius:13px}.tile strong{font-size:12px}.tile small{font-size:8px}.mattress-icon{width:44px;margin-bottom:9px}.posture-grid{grid-gap:5px;--layout-row-gap:5px;--layout-column-gap:5px;gap:5px}.compact .choice-body{font-size:11px;min-height:41px}.wide .choice-body{padding:13px 11px;border-radius:14px;grid-gap:10px;--layout-row-gap:10px;--layout-column-gap:10px;gap:10px}.wide strong{font-size:12px}.wide small{font-size:10px}.safety-check{font-size:10px}.site-footer{display:flex;flex-direction:column;align-items:center;grid-gap:5px;--layout-row-gap:5px;--layout-column-gap:5px;gap:5px;margin:0 22px;padding:20px 0 24px;padding:20px 0 calc(24px + var(--jojo-safe-bottom,0px));font-size:9px;line-height:1.6;text-align:center}.report-view{padding:0 20px;margin:24px auto 30px;max-width:540px}.report-heading{margin-bottom:23px}.report-heading .eyebrow{font-size:9px}.report-heading h1{font-size:27px;margin:9px 0}.report-heading p{font-size:11px;max-width:230px}.report-seal{width:57px;height:57px;border-radius:17px;font-size:14px}.report-seal small{font-size:5px}.report-grid{display:flex;flex-direction:column;grid-gap:16px;--layout-row-gap:16px;--layout-column-gap:16px;gap:16px}.report-main,.report-side{grid-gap:16px;--layout-row-gap:16px;--layout-column-gap:16px;gap:16px;width:100%}.report-side{position:static}.result-card{padding:23px;border-radius:24px}.result-card h2{font-size:24px;margin-top:20px}.result-description{font-size:11px}.direction-value>span{font-size:62px}.direction-value{margin:19px 0}.direction-value strong{font-size:14px}.direction-value small{font-size:9px}.result-boundary{font-size:9px}.light-tag,.score-tag{font-size:9px}.report-card{padding:22px;border-radius:23px}.report-card h2{font-size:20px}.profile-values{grid-template-columns:1fr 1fr 1fr;grid-gap:17px 12px;--layout-row-gap:17px;--layout-column-gap:12px;gap:17px 12px}.profile-cell.wide{grid-column:auto}.bmi-row{display:flex;align-items:center;grid-gap:20px;--layout-row-gap:20px;--layout-column-gap:20px;gap:20px}.bmi-row>div{grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px}.bmi-row p{margin-top:0}.fit-card{display:none}.report-buttons{padding-top:6px}.report-buttons .primary-button{min-height:52px}.method-details{margin-top:22px;font-size:10px}.method-details summary{padding:14px 0}.factor-row p,.trial-item p{font-size:11px}.definition-box p,.trial-note{font-size:10px}.modal{padding:24px;border-radius:25px}.modal h2{font-size:22px}.modal>p{font-size:12px}.poster-modal{padding:19px}.poster-modal>p{font-size:11px}}
@media(max-width:360px){.site-header{padding-left:17px;padding-right:17px}.intake-layout{padding:0 14px;grid-gap:18px;--layout-row-gap:18px;--layout-column-gap:18px;gap:18px}.form-card{padding:22px 18px 18px}.intro h1{font-size:28px}.pillow-scene{right:-9px;top:40px;transform:scale(.41)}.intro-copy{max-width:194px;font-size:10px}.privacy-line{font-size:8px}.optional-label{font-size:9px}.profile-values{grid-template-columns:1fr 1fr}.report-heading h1{font-size:24px}.report-view{padding:0 14px}.report-seal{width:49px;height:49px}.result-card{padding:21px}.result-card h2{font-size:22px}.tile small{font-size:7.5px}.number-field input::placeholder{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Version 0.2: height-first report, native-style disclosures and material notes. */
.height-topline{display:flex;align-items:center;justify-content:space-between;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;margin-bottom:12px}.height-topline .report-section-label{margin:0}.height-card{background:linear-gradient(155deg,#fff 35%,#f2f7ff)}.height-intro{font-size:13px;color:#6e6e73;margin-top:9px}.height-results{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;margin-top:22px}.height-tile{border-radius:19px;padding:21px 17px;background:#edf5ff;min-width:0}.height-tile.side{background:#eaf5f2}.height-posture{color:#1265b8;font-size:13px;font-weight:600}.side .height-posture{color:#267b67}.height-value{font-size:36px;font-weight:600;font-weight:650;line-height:1.3;letter-spacing:-.06em;color:#1d1d1f;white-space:nowrap;margin-top:12px;font-variant-numeric:tabular-nums}.height-value small{font-size:12px;letter-spacing:0;margin-left:4px;font-weight:400;font-weight:450;color:#6e6e73}.height-kind{font-size:10px;color:#58728d;display:block;margin-top:7px}.side .height-kind{color:#4b796e}.height-tile p{font-size:11px;color:#6e6e73;margin-top:12px;line-height:1.7}.height-boundary{color:#7b6a49;font-size:11px;background:#fbf5e9;padding:13px 15px;border-radius:12px;margin-top:15px;line-height:1.8}.height-comparison{font-size:11px;color:#86868b;line-height:1.8;margin-top:12px}.height-delta{font-size:10px;display:block;background:rgba(255,255,255,0.6);border-radius:8px;padding:7px;margin-top:13px;color:#007aff}.height-delta.negative{color:#a66a28}.height-method{border-top:1px solid #e5e5ea;margin-top:17px;font-size:11px;color:#6e6e73}.height-method summary,.direction-details>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:48px;list-style:none;grid-gap:15px;--layout-row-gap:15px;--layout-column-gap:15px;gap:15px}.height-method summary::-webkit-details-marker,.direction-details>summary::-webkit-details-marker{display:none}.height-method>p{margin-top:10px;line-height:1.85}.adjustment-row{padding:10px 0;border-bottom:1px solid #e8ebf0;display:flex;justify-content:space-between;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px}.adjustment-row strong{font-weight:500}.adjustment-row span{color:#0073d9;font-variant-numeric:tabular-nums}.direction-details>summary{padding:0 20px;color:#6e6e73;font-size:12px;background:#eceef2;border-radius:13px}.direction-details[open]>summary{margin-bottom:14px}.direction-details .report-card{margin-top:16px}.optional-details{margin-top:20px;font-size:12px;color:#6e6e73}.optional-details summary{cursor:pointer;min-height:44px;line-height:1.7;padding:10px 0}.optional-details summary span{font-size:10px;color:#8e8e93;margin-left:5px}.optional-details .field{margin-top:12px}.optional-details .number-field{padding:9px 13px;min-height:50px}.optional-details .number-field input{font-size:21px}.movement-card>.muted,.materials-card>.muted{margin-top:10px;line-height:1.85}.movement-list{display:flex;flex-direction:column;grid-gap:0;--layout-row-gap:0;--layout-column-gap:0;gap:0;margin-top:13px}.movement-item{display:flex;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;border-bottom:1px solid #f0f0f3;padding:17px 0}.movement-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#edf5ff;color:#007aff;font-size:12px;font-weight:600}.movement-item h3{font-size:15px;font-weight:600}.movement-dose{display:block;font-size:10px;color:#007aff;margin:6px 0}.movement-item p{font-size:12px;color:#6e6e73;line-height:1.85}.movement-note{background:#fff7eb;border-radius:12px;padding:14px;font-size:11px;color:#8b6a3d;margin-top:15px;line-height:1.85}.source-line{font-size:10px;color:#8e8e93;line-height:1.8;margin-top:14px}.material-match{background:#f2f7ff;padding:14px;border-radius:12px;color:#507196;font-size:11px;line-height:1.9;margin-top:16px}.material-list{margin-top:17px}.material-item{border-bottom:1px solid #ebebef}.material-item>summary{display:flex;align-items:center;grid-gap:12px;--layout-row-gap:12px;--layout-column-gap:12px;gap:12px;cursor:pointer;min-height:79px;padding:14px 0;list-style:none}.material-item summary::-webkit-details-marker{display:none}.material-index{background:#f3f3f7;color:#86868b;border-radius:11px;width:36px;height:36px;display:grid;place-items:center;font-size:12px;flex-shrink:0}.material-item summary h3{font-size:16px;font-weight:600;margin-bottom:3px}.material-item summary div>span{font-size:10px;color:#8e8e93}.material-toggle{color:#8e8e93;margin-left:auto;font-size:19px}.material-item[open] .material-toggle{transform:rotate(45deg)}.material-content{padding-bottom:19px}.material-points{padding:13px 15px;border-radius:12px;background:#f0f7f4;margin-bottom:9px;font-size:12px;line-height:1.85;color:#436c5d}.material-points.minus{background:#fcf5ec;color:#8b6a3d}.material-points h4{margin:0 0 7px;font-size:12px;font-weight:600}.material-points ul{padding-left:17px;margin:0}.material-points li+li{margin-top:5px}.material-check{color:#6e6e73;font-size:11px;line-height:1.85;padding:5px 3px}.height-method[open] summary span,.direction-details[open]>summary span{transform:rotate(45deg)}
@media(max-width:700px){.height-value{font-size:31px}.height-tile{padding:18px 13px;border-radius:17px}.height-results{grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px;margin-top:19px}.height-value small{font-size:10px}.height-topline .report-section-label{font-size:8px}.height-topline .tag{font-size:9px}.height-intro{font-size:11px}.height-tile p{font-size:10px}.height-kind{font-size:9px}.height-boundary,.height-comparison{font-size:10px}.height-method{font-size:10px}.adjustment-row{flex-direction:column;grid-gap:3px;--layout-row-gap:3px;--layout-column-gap:3px;gap:3px}.movement-item p,.material-points{font-size:11px}.height-delta{font-size:9px}.report-main{min-width:0}}
@media(max-width:360px){.height-results{grid-template-columns:1fr}.height-tile{position:relative;padding:15px}.height-value{font-size:31px;margin-top:6px}.height-tile p{margin-top:7px}.height-kind{position:absolute;right:15px;top:13px}.height-topline{grid-gap:5px;--layout-row-gap:5px;--layout-column-gap:5px;gap:5px}}

.report-quick-nav{display:flex;grid-gap:6px;--layout-row-gap:6px;--layout-column-gap:6px;gap:6px;background:#eaeaf0;border-radius:12px;padding:4px;margin:0 0 20px;max-width:460px}.report-quick-nav button{flex:1;background:#fff;color:#537394;font-size:12px;min-height:38px;border-radius:9px;box-shadow:0 1px 3px rgba(0,0,0,0.03137)}#height-title,#movement-title,#materials-title{scroll-margin-top:22px}@media(min-width:361px) and (max-width:700px){.height-value{font-size:27px}}

.report-side{position:static}

/* Body context and material education. */
.body-intake,.body-report{background:#edf5ff;border-radius:14px;padding:14px 16px;font-size:11px;color:#536f90;line-height:1.85;margin:12px 0 18px}.body-intake strong,.body-report strong{display:block;font-size:13px;color:#285883;font-weight:600}.body-intake p{margin-top:4px}.body-report{margin:20px 0 0;background:#f0f4fa}.body-bmi{display:inline-block;font-size:10px;border-radius:6px;padding:3px 7px;background:#fff;margin:8px 0}.body-report p{font-size:11px;color:#6e6e73}.neck-support-field>label{display:block;font-size:12px;margin-bottom:8px}.neck-support-field select{width:100%;min-height:46px;border:1px solid #dbe2ec;border-radius:10px;background:#fafbfc;color:#36363b;padding:10px 25px 10px 10px;font-family:inherit;font-size:11px}.neck-support-field{margin-top:15px}.neck-support-field span{font-size:10px;color:#8e8e93;margin-left:6px}.support-card>p{font-size:12px;line-height:1.9;color:#6e6e73;margin-top:12px}#support-note{color:#5d7490;background:#f3f7fc;border-radius:12px;padding:13px}.fit-signs{display:flex;flex-direction:column;grid-gap:13px;--layout-row-gap:13px;--layout-column-gap:13px;gap:13px;margin-top:18px}.fit-signs>div{border-top:1px solid #ededf1;padding-top:15px}.fit-signs span{font-size:10px;color:#8e8e93}.fit-signs h3{font-size:14px;margin:6px 0}.fit-signs p{font-size:11px;color:#6e6e73;line-height:1.85}.material-process{font-size:12px;color:#6e6e73;line-height:1.95;background:#f6f6f8;border-radius:12px;padding:14px;margin:0 0 12px}.material-caption{font-size:12px;color:#34343a;margin:16px 0 6px}.material-audience,.material-care{font-size:12px;color:#6e6e73;line-height:1.9}.material-item{scroll-margin-top:20px}.material-item summary h3{line-height:1.5}.material-item .material-content h4{letter-spacing:0}.height-value{font-variant-numeric:tabular-nums}.height-tile p{word-wrap:break-word;overflow-wrap:break-word;overflow-wrap:anywhere}
@media(max-width:700px){.material-process,.material-audience,.material-care{font-size:11px}.material-item summary h3{font-size:14px}.body-report strong{font-size:12px}.body-report p{font-size:10px}.height-tile{padding:16px 12px}.height-value{font-size:27px}.neck-support-field select{font-size:11px}.support-card>p{font-size:11px}}
@media(max-width:360px){.height-kind{position:static}.height-value{font-size:31px}}

/* Evidence-unavailable labels must fit the mobile height tiles. */
.height-value.height-unavailable{font-size:24px;font-size:clamp(24px,4vw,36px);letter-spacing:-.025em;}
/* Brand contact appears at the existing header position and the end of the page. */
.site-header .brand-copy{white-space:nowrap;font-weight:700;color:#0066cc}.site-header .brand-contact{font:inherit;letter-spacing:inherit;color:inherit;white-space:nowrap}.site-header .brand img{flex-shrink:0}.site-footer{flex-wrap:wrap}.footer-brand{flex-basis:100%;display:flex;justify-content:center;flex-wrap:wrap;grid-gap:3px 0;--layout-row-gap:3px;--layout-column-gap:0;gap:3px 0;font-size:16px;font-weight:700;letter-spacing:-.02em;color:#0066cc}.footer-brand>span{white-space:nowrap}
@media(max-width:700px){.site-header{padding-bottom:32px}.site-header .brand{position:relative;flex-shrink:0}.site-header .brand-contact{position:absolute;left:36px;top:calc(100% + 4px);margin-left:0;line-height:20px}.footer-brand{margin-top:8px;flex-basis:auto;font-size:13px}}

/* Separate views for supine and side-sleep alignment. */
.fit-card .fit-intro{font-size:12px;line-height:1.8;margin-top:9px}.posture-figure{margin:20px 0 0;padding:15px 13px;border-radius:17px;background:#f1f7ff}.posture-figure figcaption{display:flex;align-items:center;grid-gap:9px;--layout-row-gap:9px;--layout-column-gap:9px;gap:9px}.posture-index{font-size:10px;line-height:24px;width:24px;text-align:center;border-radius:8px;background:#dfeeff;color:#1265b8;font-weight:600;flex-shrink:0}.posture-figure h3{font-size:14px;font-weight:600;color:#245c91;letter-spacing:0}.posture-figure h3 span{font-size:11px;font-weight:400}.posture-diagram{width:100%;height:auto;display:block;margin:14px 0 10px;overflow:visible}.posture-diagram text{font-family:inherit}.posture-figure p{font-size:12px;line-height:1.85;color:#627589}.posture-figure p strong{font-weight:600;color:#345a7b}.side-figure{background:#f0f7f3}.side-figure .posture-index{background:#dcefe3;color:#267b67}.side-figure h3,.side-figure p strong{color:#356b58}.side-figure p{color:#647d70}.side-sleep-note{margin-top:20px;padding:17px 0 0;border-top:1px solid #eceef1}.side-sleep-note h3{font-size:14px;font-weight:600;letter-spacing:0}.side-sleep-note p{font-size:12px;line-height:1.85;color:#6e6e73;margin-top:10px}.side-sleep-note strong{color:#454550;font-weight:600}.posture-sources{font-size:10px;line-height:1.85;color:#86868b;border-top:1px solid #eceef1;margin-top:16px}.posture-sources summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:44px;grid-gap:10px;--layout-row-gap:10px;--layout-column-gap:10px;gap:10px;list-style:none}.posture-sources summary::-webkit-details-marker{display:none}.posture-sources[open] summary span{transform:rotate(45deg)}.posture-sources p{margin-bottom:10px}.fit-card .mini-label{margin-top:2px}
@media(max-width:700px){.fit-card{display:block}.posture-figure{padding:16px}.posture-diagram{max-width:340px;margin:16px auto 12px}}

/* Single-sided margins form the baseline; measured Flex gap is an enhancement. */
.site-header,.brand,.eyebrow,.intro-benefits,.step-nav,.number-field,.soft-note,.form-actions,.primary-button,.privacy-line,.wide .choice-body,.safety-check,.report-heading,.result-top,.direction-value,.factor-row,.trial-item,.neck-advice,.height-topline,.height-method summary,.direction-details>summary,.adjustment-row,.movement-item,.material-item>summary,.report-quick-nav,.posture-figure figcaption,.posture-sources summary,.bmi-row>div{grid-gap:0;gap:0}
:root:not(.supports-flex-gap) .site-header > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .brand > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .eyebrow > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .intro-benefits > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .step-nav > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .number-field > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .soft-note > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .form-actions > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .primary-button > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .privacy-line > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .wide .choice-body > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .safety-check > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .report-heading > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .result-top > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .direction-value > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .factor-row > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .trial-item > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .neck-advice > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .height-topline > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .height-method summary > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .direction-details>summary > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .adjustment-row > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .movement-item > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .material-item>summary > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .report-quick-nav > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .posture-figure figcaption > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .posture-sources summary > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .bmi-row>div > :not([hidden]) ~ :not([hidden]):not(.material-toggle){margin-left:var(--layout-column-gap,0px)}
.supports-flex-gap .site-header,.supports-flex-gap .brand,.supports-flex-gap .eyebrow,.supports-flex-gap .intro-benefits,.supports-flex-gap .step-nav,.supports-flex-gap .number-field,.supports-flex-gap .soft-note,.supports-flex-gap .form-actions,.supports-flex-gap .primary-button,.supports-flex-gap .privacy-line,.supports-flex-gap .wide .choice-body,.supports-flex-gap .safety-check,.supports-flex-gap .report-heading,.supports-flex-gap .result-top,.supports-flex-gap .direction-value,.supports-flex-gap .factor-row,.supports-flex-gap .trial-item,.supports-flex-gap .neck-advice,.supports-flex-gap .height-topline,.supports-flex-gap .height-method summary,.supports-flex-gap .direction-details>summary,.supports-flex-gap .adjustment-row,.supports-flex-gap .movement-item,.supports-flex-gap .material-item>summary,.supports-flex-gap .report-quick-nav,.supports-flex-gap .posture-figure figcaption,.supports-flex-gap .posture-sources summary,.supports-flex-gap .bmi-row>div{gap:var(--layout-row-gap,0px) var(--layout-column-gap,0px)}
.mattress-icon,.neck-choices,.report-main,.report-side,.trial-list,.report-buttons,.movement-list,.fit-signs{grid-gap:0;gap:0}
:root:not(.supports-flex-gap) .mattress-icon > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .neck-choices > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .report-main > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .report-side > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .trial-list > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .report-buttons > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .movement-list > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .fit-signs > :not([hidden]) ~ :not([hidden]):not(.material-toggle){margin-top:var(--layout-row-gap,0px)}
.supports-flex-gap .mattress-icon,.supports-flex-gap .neck-choices,.supports-flex-gap .report-main,.supports-flex-gap .report-side,.supports-flex-gap .trial-list,.supports-flex-gap .report-buttons,.supports-flex-gap .movement-list,.supports-flex-gap .fit-signs{gap:var(--layout-row-gap,0px) var(--layout-column-gap,0px)}

:root:not(.supports-flex-gap) .material-toggle{margin-left:auto}
.site-footer,.footer-brand{grid-gap:0;gap:0}
:root:not(.supports-flex-gap) .site-footer>span+span:not(.footer-brand){margin-left:var(--layout-column-gap,0px)}
:root:not(.supports-flex-gap) .footer-brand{margin-top:var(--layout-row-gap,0px);display:block;text-align:center}
.supports-flex-gap .site-footer,.supports-flex-gap .footer-brand{gap:var(--layout-row-gap,0px) var(--layout-column-gap,0px)}
.posture-figure h3,.material-item summary>div,.movement-item>div,.trial-item>div,.neck-advice>div,.soft-note p{min-width:0}
@media(max-width:700px){
.intake-layout,.report-grid,.adjustment-row{grid-gap:0;gap:0}
:root:not(.supports-flex-gap) .intake-layout > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .report-grid > :not([hidden]) ~ :not([hidden]):not(.material-toggle),:root:not(.supports-flex-gap) .adjustment-row > :not([hidden]) ~ :not([hidden]):not(.material-toggle){margin-top:var(--layout-row-gap,0px)}
.supports-flex-gap .intake-layout,.supports-flex-gap .report-grid,.supports-flex-gap .adjustment-row{gap:var(--layout-row-gap,0px) var(--layout-column-gap,0px)}
.bmi-row{grid-gap:0;gap:0}
:root:not(.supports-flex-gap) .bmi-row > :not([hidden]) ~ :not([hidden]):not(.material-toggle){margin-left:var(--layout-column-gap,0px)}
.supports-flex-gap .bmi-row{gap:var(--layout-row-gap,0px) var(--layout-column-gap,0px)}

:root:not(.supports-flex-gap) .adjustment-row>:not([hidden])~:not([hidden]){margin-left:0}
:root:not(.supports-flex-gap) .site-footer>span+span:not(.footer-brand){margin-left:0;margin-top:var(--layout-row-gap,0px)}
:root:not(.supports-flex-gap) .footer-brand{margin-top:8px}
}

/* Material choice: native radio semantics and Chrome 61 grid spacing. */
.material-field{margin-top:24px}
.material-choices{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:8px}
.material-choice .choice-body{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;grid-gap:10px;min-height:48px;padding:10px 13px;border-radius:12px}
.material-choice-number{display:block;width:26px;line-height:26px;text-align:center;border-radius:8px;background:#e9e9ee;color:#6e6e73;font-size:12px;font-weight:600}
.material-choice strong{font-size:13px;font-weight:600;line-height:1.5;word-wrap:break-word}
.material-choice input:checked+.choice-body .material-choice-number{background:#007aff;color:#fff}
.height-material{margin-top:15px;color:#285883;font-size:12px;line-height:1.7;font-weight:600}
.height-material+.height-results{margin-top:13px}
@media(max-width:700px){.material-choice strong{font-size:12px}.height-material{font-size:11px}.profile-cell.wide{grid-column:1/-1}}

/* R1 audit preview: optional measurements only; the engine remains unchanged. */
.audit-preview-banner{max-width:1180px;margin:0 auto 18px;padding:12px 18px;border:1px solid #b9d8ff;border-radius:14px;background:#edf6ff;color:#285883;font-size:12px;line-height:1.7}.audit-preview-banner strong{color:#0066cc}.optional-measurements{margin:22px 0;padding:18px;border:1px solid #d9e6f5;border-radius:18px;background:#f7faff}.optional-measurements-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap}.optional-measurements-heading h3{font-size:17px;font-weight:650;letter-spacing:-.02em}.optional-measurements-heading span{font-size:11px;color:#007aff}.optional-measurements-note,.optional-measurements-limit{font-size:11px;line-height:1.8;color:#64758a}.optional-measurements-note{margin:7px 0 15px}.optional-measurements-limit{margin-top:13px}.optional-measure-grid{margin-top:0}.optional-measure-grid .field{min-width:0}.optional-measure-grid label .optional-label{font-size:10px;font-weight:400;color:#86868b}.optional-measure-grid .number-field input{font-size:22px}.measure-help{margin-top:8px;border-top:1px solid #e1e8f1}.measure-help summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;list-style:none;cursor:pointer;color:#0066cc;font-size:11px}.measure-help summary::-webkit-details-marker{display:none}.measure-help[open] summary span{transform:rotate(45deg)}.measure-help img{display:block;width:100%;height:auto;border:1px solid #e2e7ef;border-radius:12px;background:#fff}.measure-help p{margin-top:10px;font-size:10px;line-height:1.85;color:#687589}.optional-measure-grid .field-error{min-height:18px}
@media(max-width:700px){.audit-preview-banner{margin:0 16px 14px;padding:10px 13px;font-size:11px}.optional-measurements{padding:15px;border-radius:16px}.optional-measure-grid{grid-template-columns:1fr}.optional-measurements-heading{display:block}.optional-measurements-heading span{display:block;margin-top:3px}}

/* R1.2: full-width readable measurement disclosures only. */
.optional-measure-grid{grid-template-columns:minmax(0,1fr);grid-gap:20px;gap:20px}
.measure-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:48px;text-align:left;background:transparent;color:#0066cc;font-size:16px;font-weight:600;padding:8px 0}
.measure-toggle>span{font-size:24px;margin-left:12px}.measure-panel{padding:12px;background:white;border:1px solid #d9e6f5;border-radius:14px}.measure-panel>svg{display:block;width:100%;height:auto;max-width:520px;margin:0 auto}.measure-panel ol{margin:16px 0 0;padding-left:24px;font-size:16px;line-height:1.8;color:#234668}.measure-panel li+li{margin-top:6px}.measure-panel .measure-tool-note{font-size:15px;line-height:1.8;margin-top:16px}.measure-close{font-size:15px;min-height:44px;background:#edf5ff;color:#0066cc;border-radius:10px;margin-top:14px;padding:8px 16px}.optional-measurements-note,.optional-measurements-limit{font-size:13px}
@media(max-width:700px){.optional-measurements{padding:12px}.measure-panel{padding:8px}.measure-panel>svg{min-width:0}.measure-panel ol{font-size:16px}.optional-measurements-heading span{font-size:13px}}

/* R2 scoped additions; preserve original layout and palette. */
.measure-endpoints{font-size:15px;line-height:1.7;color:#345a7b;margin:8px 0}.measure-thumbnail{display:block;width:100%;background:#f0f6ff;border:1px solid #d9e6f5;border-radius:12px;color:#0066cc;padding:8px;margin:8px 0;text-align:center}.measure-thumbnail img{display:block;width:160px;max-width:100%;height:auto;margin:auto}.measure-thumbnail span{display:block;font-size:14px;line-height:1.8}.measurement-participation{margin-top:20px;font-size:14px;line-height:1.85}.measurement-participation h3{font-size:17px}.measurement-participation p{margin:10px 0}.r2-audit{margin-top:18px;font-size:14px;line-height:1.7}.r2-audit summary{cursor:pointer;padding:12px 0;color:#0066cc}.r2-audit pre{max-width:100%;white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;font-size:12px;background:#f1f4fa;padding:12px;border-radius:12px}.height-tile .effective-info{font-size:13px;line-height:1.8;margin-top:12px}.measure-panel svg+svg{margin-top:12px}@media(max-width:700px){.measure-panel{margin-left:-10px;margin-right:-10px;padding:4px}.measure-panel ol{padding-left:23px}.measure-panel .measure-tool-note{font-size:15px}.measurement-participation{font-size:14px}.r2-audit{font-size:14px}}

.measure-zoom{width:620px;max-width:calc(100% - 16px);max-height:90vh;border:1px solid #d9e6f5;border-radius:16px;padding:12px;overflow:auto}.measure-zoom p{font-size:16px;line-height:1.7;margin:12px 0}.measure-zoom-body,#measure-zoom-body{overflow:auto}#measure-zoom-body svg{display:block;width:100%;min-width:420px;height:auto;margin:8px 0}.measure-zoom::backdrop{background:rgba(20,30,50,.4)}

/* R2.1: only shoulder guide additions, no posterior-neck style override. */
#shoulder-panel .shoulder-instruction{font-size:16px;line-height:1.85;margin:16px 0;color:#234668}#shoulder-panel>svg{max-width:560px}#shoulder-help .measure-toggle{font-size:16px}.consumer-preview-note{font-size:13px;color:#627589;margin:8px auto 18px;padding:0 22px;max-width:1280px}
@media print{[hidden]{display:none!important}.report-buttons,.site-header .about-button{display:none!important}html[data-preview-mode="consumer"] .audit-only{display:none!important}}

/* R2.2 shoulder metric label / guide only. */
label[for="shoulderOuterWidth"]{line-height:1.6}#shoulder-panel .shoulder-instruction{font-size:16px;line-height:1.85}
