:root{font-family:Inter,Arial,sans-serif;color:#173b43;background:#edf3f2;font-synthesis:none;font-size:16px;--ink:#153b42;--green:#14745e;--line:#d8e4e1;--mint:#9ce5b4}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #43adba;outline-offset:3px}button{border:1px solid var(--line);border-radius:12px;background:white;color:inherit;min-height:44px;padding:10px 15px;font-weight:500}button:hover{border-color:#32947e}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.app{height:100dvh;min-height:650px;display:grid;grid-template-rows:76px minmax(0,1fr) 36px;max-width:1800px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--ink)}.brand>strong{font-size:34px;letter-spacing:-2px;color:#14745e;font-weight:800}.brand strong span{font-weight:400;color:#183c43}.brand-location{font-size:12px;letter-spacing:1.3px;line-height:1.4;border-left:1px solid var(--line);padding-left:18px}.brand-location span{display:block;letter-spacing:0;font-size:14px;color:#617b80}.text-button{border:0;background:transparent;min-height:40px;padding:8px;color:#526c72;font-size:14px}.text-button:hover{text-decoration:underline;background:#eef5f2}main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(370px,.8fr);gap:18px;padding:18px;min-height:0}.body-stage{position:relative;border-radius:22px;overflow:hidden;background:radial-gradient(ellipse at 50% 48%,#194854 0,#0a2a35 62%,#071d27 100%);color:#e6f9fa;min-height:0}.stage-heading{position:absolute;z-index:2;top:24px;left:26px;right:26px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.stage-heading button{pointer-events:auto}.eyebrow{font-size:12px;letter-spacing:2.4px;color:#a7d7cb;font-weight:600}h1{font-size:32px;line-height:1.15;margin:8px 0}p{line-height:1.5}.stage-heading p{font-size:15px;color:#b0d0d5;margin:0;max-width:350px}#body-canvas{position:absolute;inset:75px 0 86px;touch-action:none}#body-canvas canvas{display:block;width:100%;height:100%;touch-action:none}#model-loading{position:absolute;top:48%;left:0;right:0;text-align:center;color:#bddce1}.orientation{position:absolute;bottom:108px;left:24px;color:#a9c7ce;font-size:12px;pointer-events:none}.stage-controls{position:absolute;bottom:49px;left:22px;right:22px;display:flex;gap:12px;justify-content:space-between}.glass-button,.view-controls button,.layer-controls button{background:#0a2734cf;border:1px solid #436575;color:#def6f4;backdrop-filter:blur(8px);font-size:14px}.view-controls{display:flex;gap:5px}.view-controls button{padding:8px 13px}.view-controls button:nth-last-child(-n+2){font-size:22px;width:44px;padding:3px}.layer-controls{position:absolute;right:22px;top:128px;display:flex;flex-direction:column;gap:6px;z-index:3}.layer-controls button{font-size:13px;padding:8px 11px;min-height:36px}.layer-controls button[aria-pressed=true]{background:#b2efcd;color:#143c39;border-color:#c5f6d9}.gesture-hint{position:absolute;bottom:9px;left:22px;margin:0;font-size:12px;color:#95b7c0}.selection-tag{position:absolute;left:24px;top:130px;color:#e3fff0;border:1px solid #86d7af;background:#0d413d;padding:9px 14px;border-radius:20px;font-size:14px;max-width:60%;pointer-events:none}.conversation{background:#fff;border:1px solid var(--line);border-radius:22px;display:flex;flex-direction:column;min-height:0;overflow:auto}.conversation-top{display:flex;align-items:center;justify-content:space-between;padding:13px 24px;border-bottom:1px solid var(--line);flex:none}.conversation-top>span{font-size:12px;letter-spacing:1.6px;color:#6a8285;font-weight:700}.selected-areas{display:flex;flex-wrap:wrap;gap:6px;padding:12px 24px 0}.selected-areas:empty{padding:0}.area-chip{font-size:13px;min-height:32px;padding:5px 9px;border-radius:8px;background:#ecf7f0;border-color:#cee9dc;color:#155e4f}.area-chip.active{background:#176e5e;color:white}#question{padding:24px;flex:1;min-height:0}#question h2{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0 0 12px}#question .lead{font-size:16px;color:#688084;margin:0 0 20px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice-grid button{text-align:left;line-height:1.3;padding:14px;min-height:54px}.choice-grid button[aria-pressed=true]{border-color:#1a8069;background:#e6f5ee;color:#125240;box-shadow:inset 0 0 0 1px #1a8069}.choice-grid .full{grid-column:1/-1}.primary{background:#16735e;color:#fff;border-color:#16735e;min-height:46px;padding:12px 22px;font-weight:600}.primary:hover{background:#0f604d}.conversation-bottom{display:flex;align-items:center;gap:12px;padding:15px 24px;border-top:1px solid var(--line);flex:none;background:#fff;position:sticky;bottom:0}.conversation-bottom #step-caption{font-size:12px;color:#6a8184;flex:1}.conversation-bottom #next{margin-left:auto}.story-entry{margin-top:20px}.input-row{display:flex;gap:8px;align-items:stretch}textarea,input,select{width:100%;border:1px solid #cbdcd7;background:#f8fbfa;border-radius:10px;padding:12px;color:#183c43;font-size:16px}textarea{resize:vertical;min-height:74px;line-height:1.4}label{display:block;font-size:14px;margin-bottom:7px;color:#536f74}.talk-button{width:48px;min-width:48px;font-size:20px;padding:10px}.talk-button.listening{background:#f8dedd;color:#8f3131}.small-note{font-size:13px;color:#6d8388;line-height:1.5;margin:10px 0}.subtle-link{color:#166a57;text-underline-offset:3px;font-size:14px}.welcome-prompt{background:#f0f7f3;padding:18px;border-radius:14px;margin:18px 0;color:#356157;font-size:16px;line-height:1.5}.welcome-prompt strong{display:block;margin-bottom:5px;color:#163e36}.range-row{display:grid;grid-template-columns:1fr 48px;align-items:center;gap:12px;margin:20px 0}.range-row input{accent-color:var(--green);padding:0;border:0}.range-row output{font-size:26px;font-weight:700;text-align:center}.radio-row{display:flex;gap:8px;flex-wrap:wrap}.field-row{margin:14px 0}.review-block{border-bottom:1px solid var(--line);padding:14px 0}.review-block:first-of-type{padding-top:0}.review-block h3{font-size:14px;color:#698186;margin:0 0 6px;font-weight:500}.review-block p{font-size:16px;margin:0;white-space:pre-wrap}.review-block button{float:right;font-size:13px;min-height:30px;padding:5px 9px}.review-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.mapping{font-size:13px;color:#6d8588;margin-top:5px}.status-note{padding:12px;border-radius:9px;background:#eef7f2;color:#245d4a;margin:12px 0;font-size:14px}.goal-examples{margin-bottom:14px}.profile-card{padding:18px;background:#f0f7f3;border-radius:12px;font-size:15px;line-height:1.6}.profile-card strong{display:block;font-size:19px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}footer{display:flex;justify-content:space-between;align-items:center;padding:0 24px;font-size:12px;color:#72858a}footer button{font-size:12px!important;min-height:30px!important}dialog{border:1px solid #c7dcd6;border-radius:20px;padding:24px;color:var(--ink);max-width:560px;width:calc(100% - 28px);max-height:86dvh;box-shadow:0 20px 90px #052a3d50}dialog::backdrop{background:#071d28a8;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-top h2{font-size:24px;margin:0}.icon-button{font-size:24px;padding:4px 12px}.body-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.body-list button{text-align:left}.body-list h3{grid-column:1/-1;font-size:14px;color:#6a8184;margin:10px 0 3px}.source-list{padding-left:20px;line-height:1.7}.source-list a{color:#126853}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:12px;color:white;background:#153c43;z-index:10;width:max-content;max-width:90%;box-shadow:0 5px 30px #0003;font-size:14px}
@media(min-width:1250px){main{grid-template-columns:minmax(0,1.4fr) minmax(430px,.85fr);gap:24px;padding:24px}#question{padding:30px}#question h2{font-size:32px}.choice-grid button{min-height:58px}.stage-heading{top:28px;left:32px}h1{font-size:38px}}
@media(max-width:760px){.app{min-height:680px;grid-template-rows:56px minmax(0,1fr) 28px}header{padding:0 15px}.brand{gap:12px}.brand>strong{font-size:26px}.brand-location{padding-left:12px;font-size:10px;letter-spacing:1px}.brand-location span{font-size:12px}header .text-button{font-size:12px;max-width:75px;padding:4px;line-height:1.2}main{padding:8px;gap:8px;grid-template-columns:1fr;grid-template-rows:minmax(250px,43%) minmax(280px,1fr)}.body-stage{border-radius:16px}.stage-heading{top:13px;left:16px;right:16px}.eyebrow{font-size:10px;letter-spacing:1.5px}h1{font-size:24px;margin:5px 0}.stage-heading p{display:none}#body-canvas{inset:40px 0 47px}.stage-heading #whole-body{font-size:12px;min-height:34px;padding:7px 10px}.stage-controls{bottom:12px;left:12px;right:12px;gap:8px}.view-controls{gap:4px}.view-controls button{min-height:36px;padding:6px 11px;font-size:12px}.view-controls button:nth-last-child(-n+2){min-height:36px;width:36px;font-size:20px}.stage-controls>.glass-button{min-height:36px;font-size:12px;padding:6px 10px}.layer-controls{top:76px;right:12px;gap:5px}.layer-controls button{font-size:11px;min-height:30px;padding:6px 8px}.orientation{left:14px;bottom:58px;font-size:10px;max-width:45%;line-height:1.3}.selection-tag{top:72px;left:14px;font-size:12px;max-width:45%;padding:6px 10px}.gesture-hint{display:none}.conversation{border-radius:16px}.conversation-top{padding:4px 16px}.conversation-top>span{font-size:10px;letter-spacing:1.2px}.conversation-top .text-button{font-size:12px;min-height:30px}.selected-areas{padding:7px 16px 0;gap:4px}.area-chip{font-size:11px;min-height:27px;padding:4px 8px}#question{padding:14px 16px;min-height:auto}#question h2{font-size:24px;margin-bottom:7px}#question .lead{font-size:14px;margin-bottom:12px}.choice-grid{gap:7px}.choice-grid button{font-size:15px;padding:9px 11px;min-height:44px}.conversation-bottom{padding:9px 16px;gap:8px}.conversation-bottom #step-caption{font-size:11px}.conversation-bottom .primary{min-height:40px;padding:8px 16px;font-size:14px}.story-entry{margin-top:12px}textarea{min-height:62px;padding:9px}.welcome-prompt{padding:12px;font-size:14px;margin:10px 0}.small-note{font-size:12px;margin:7px 0}.range-row{margin:12px 0}.review-block{padding:10px 0}.review-block p{font-size:14px}footer{padding:0 12px;font-size:10px}footer button{font-size:10px!important}.detail-grid{grid-template-columns:1fr}.profile-card{font-size:14px}.mapping{font-size:12px}}
@media(max-width:760px){#body-canvas{inset:8px 0 43px}.stage-heading h1{max-width:142px;font-size:23px}.stage-heading{pointer-events:none}.layer-controls{top:83px}.choice-grid button{font-size:16px}.app{grid-template-rows:56px minmax(0,1fr) 32px}.conversation-top{padding:4px 16px}.conversation-top .text-button{min-height:28px}.conversation-top>span{font-size:11px}.orientation{font-size:11px}.layer-controls button{font-size:12px}header .brand-location{font-size:11px}.gesture-hint{display:none}}
.compact-actions{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.compact-actions button{padding:8px 0}.talk-button svg{width:21px;height:21px;display:block;margin:auto}.source-list li{margin-bottom:12px}.conversation:has(#question #more-symptoms) #question,.conversation:has(#question #more-activities) #question{flex:1}.conversation-top{position:sticky;top:0;background:white;z-index:2}
@media(max-width:760px){#question .lead{font-size:15px}.compact-actions{margin-top:6px}.compact-actions button{font-size:14px}.stage-heading h1{max-width:136px;font-size:22px}.stage-heading .glass-button{min-height:36px}.conversation-bottom .primary{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}
@media print{body{background:white}.app{height:auto;display:block}header{padding:20px 0}main{display:block;padding:0}.body-stage,.conversation-top,.selected-areas,.conversation-bottom,footer,dialog,button,.small-note{display:none!important}.conversation{border:0;overflow:visible}#question{padding:20px 0}.review-block{break-inside:avoid}}

/* Light shaped around the continuous glass figure. */
.body-stage{background:radial-gradient(ellipse at 49% 42%,#294656 0,#122c3a 40%,#081924 78%)}
.layer-controls button{min-height:40px;font-size:14px}
@media(max-width:760px){.layer-controls{top:70px;gap:4px}.layer-controls button{min-height:36px;font-size:13px;padding:6px 9px}.orientation{max-width:30%}}

@media(max-width:760px){.body-stage{min-height:280px}.stage-heading h1{font-size:20px}.layer-controls button{font-size:14px}.orientation{font-size:12px}.stage-controls button{font-size:14px}.body-stage #body-canvas{inset:8px 0 48px}}

.header-actions{display:flex;align-items:center;gap:12px}.header-actions>a{color:#176c5e;font-size:14px;font-weight:600;text-underline-offset:3px}.brand-location{max-width:min(48vw,340px)}#practice-detail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand>strong{white-space:nowrap}
@media(max-width:760px){.header-actions{gap:2px}.header-actions>a{font-size:12px}.brand{gap:8px}.brand-location{max-width:43vw;padding-left:9px}.brand>strong{font-size:21px;letter-spacing:-1px}header{padding:0 10px}}

footer nav a{color:inherit;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:36px}footer nav{font-size:11px;max-width:100%;line-height:1.5}

/* Embedded intake must also fit inside the narrower phone page gutters. */
main,.body-stage,.conversation,.input-row textarea{min-width:0}
@media(max-width:480px){
  .app{grid-template-rows:auto minmax(0,1fr) auto}
  header{flex-wrap:wrap;gap:5px;padding:8px 10px}
  .brand{max-width:100%;min-width:0}
  .brand-location{min-width:0;max-width:calc(100vw - 165px)}
  .header-actions{width:100%;justify-content:space-between}
  header .text-button{max-width:none}
  main{grid-template-columns:minmax(0,1fr)}
  .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .choice-grid button{overflow-wrap:anywhere}
  .stage-controls{gap:4px;left:8px;right:8px}
  .stage-controls button{font-size:12px}
  .view-controls button{padding:6px 8px}
  .layer-controls button{font-size:12px}
  footer{flex-wrap:wrap;gap:3px 10px;padding:6px 12px}
  footer>span{flex-basis:100%}
}

/* A silent projection of the same approved model keeps body selection working without GL. */
.body-stage[data-body-state=area-list] .view-controls,.body-stage[data-body-state=area-list] .layer-controls,.body-stage[data-body-state=area-list] .orientation,.body-stage[data-body-state=area-list] .gesture-hint,.body-stage[data-body-state=area-list] #whole-body{display:none!important}
.body-stage[data-body-state=area-list] .stage-controls{justify-content:flex-end}
.body-projection{position:absolute;left:0;width:100%;height:100%;display:block;overflow:hidden;touch-action:manipulation;filter:drop-shadow(0 2px 7px #0b2c3b30)}
.body-projection path{fill:transparent;stroke:transparent;stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer;outline:none}
.body-projection path:hover,.body-projection path:focus-visible{fill:#41d5ff33;stroke:#b5f2ff}
.body-projection path.care-hotspot{fill:#45c8f338;stroke:#46c5eb66}
.body-projection path.selected{fill:#f938474d;stroke:#ff6c74;filter:drop-shadow(0 0 4px #ff354ab3)}
.body-stage[data-renderer=projection] #body-canvas{background:radial-gradient(ellipse at 50% 45%,#092c402a 0%,#092c4017 25%,transparent 66%)}
.body-stage[data-renderer=projection] .gesture-hint{display:none}
dialog{position:fixed;inset:0;margin:auto;height:fit-content}
.embedded-sources{position:absolute;right:15px;bottom:7px;min-height:32px;color:#a7d5df;background:transparent;font-size:11px;padding:4px 9px;z-index:3}
.embedded-sources:hover{background:#16435a;color:#eaffff}

/* The directory embeds one joined stage. Its height is independent of iframe vh. */
html[data-embed=directory],html[data-embed=directory] body{height:auto;min-height:0;background:transparent}
html[data-embed=directory] .app{display:block;height:auto;min-height:0;width:100%;max-width:none;margin:0}
html[data-embed=directory] .app>header,html[data-embed=directory] .app>footer{display:none}
html[data-embed=directory] main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,.95fr);grid-template-rows:auto;align-items:stretch;gap:0;padding:0;min-height:0;overflow:hidden;border:1px solid #8de4df;border-radius:18px;background:#062f3d;box-shadow:0 0 22px #3ce4df22,inset 0 0 20px #5ae6e814}
html[data-embed=directory] .body-stage{height:560px;min-height:560px;background:radial-gradient(ellipse at 49% 45%,#165263 0%,#07343e 52%,#042933 90%);border:0;border-radius:0}
html[data-embed=directory] .stage-heading{display:none}
html[data-embed=directory] #body-canvas{inset:68px 0 108px}
html[data-embed=directory] .stage-controls{top:14px;bottom:auto;left:16px;right:16px;gap:8px;align-items:center}
html[data-embed=directory] .view-controls{gap:0;padding:3px;border:1px solid #a4dbe4;border-radius:99px;background:#e7f4fb;box-shadow:0 2px 10px #001e2630}
html[data-embed=directory] .view-controls button{min-height:44px;min-width:43px;width:auto;padding:7px 10px;border:0;border-radius:99px;background:transparent;color:#123948;font-size:12px;font-weight:700;backdrop-filter:none}
html[data-embed=directory] .view-controls button:hover{background:#c5e6eb}
html[data-embed=directory] .view-controls button[aria-pressed=true]{background:#08764c;color:#fff;box-shadow:0 0 0 1px #8ff1c2,0 0 12px #39e8a25c}
html[data-embed=directory] .view-controls #zoom{min-width:36px;font-size:19px;padding:3px 8px}
html[data-embed=directory] .view-controls #reset-camera{font-size:12px;padding:7px 10px}
html[data-embed=directory] #choose-area{min-height:44px;padding:9px 13px;border:1px solid #92dddc;border-radius:99px;background:#093e43;color:#efffff;font-size:12px;font-weight:700;white-space:nowrap}
html[data-embed=directory] .layer-controls{top:auto;bottom:49px;left:16px;right:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:3px;border:1px solid #a4dbe4;border-radius:99px;background:#e7f4fb;box-shadow:0 2px 10px #001e2630}
html[data-embed=directory] .layer-controls button{min-height:44px;padding:7px 8px;border:0;border-radius:99px;background:transparent;color:#163c48;font-size:12px;font-weight:700;backdrop-filter:none;white-space:nowrap}
html[data-embed=directory] .layer-controls button[aria-pressed=true]{background:#08764c;color:#fff;box-shadow:0 0 0 1px #8ff1c2,0 0 12px #39e8a25c}
html[data-embed=directory] .layer-controls button:hover{background:#c5e6db;color:#133d33}
html[data-embed=directory] .orientation{display:none}
html[data-embed=directory] .gesture-hint{display:block;bottom:13px;left:18px;max-width:calc(100% - 130px);font-size:11px;color:#b8dadd}
html[data-embed=directory] .embedded-sources{right:12px;bottom:5px;color:#b8dadd;font-size:10px}
html[data-embed=directory] .conversation{height:560px;min-height:560px;max-height:560px;overflow:auto;border:0;border-left:1px solid #d7e7e9;border-radius:16px 0 0 16px;background:#fff;box-shadow:-5px 0 20px #001b2d12}
html[data-embed=directory] .conversation-top{padding:12px 18px 6px;border:0;background:#fff;gap:5px;z-index:4}
html[data-embed=directory] .conversation-top>span{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border:1px solid #b3d6e9;border-radius:99px;background:#e7f3fc;color:#15518a;font-size:10px;line-height:1.3;font-weight:800;letter-spacing:0}
html[data-embed=directory] .conversation-top .text-button{min-height:44px;padding:6px;font-size:11px;white-space:nowrap}
html[data-embed=directory] .intake-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;height:5px;margin:0 18px 7px;flex:none}
html[data-embed=directory] .intake-progress span{height:5px;border-radius:99px;background:#ccdbe6}
html[data-embed=directory] .intake-progress span[data-complete=true]{background:linear-gradient(90deg,#1382c7,#0eb4c1)}
html[data-embed=directory] #question{padding:18px 20px;flex:1 0 auto;min-height:auto}
html[data-embed=directory] #question h2{font-size:24px;line-height:1.2;letter-spacing:-.035em;color:#102b40;margin-bottom:10px}
html[data-embed=directory] #question .lead{font-size:14px;line-height:1.45;color:#526a79;margin-bottom:15px}
html[data-embed=directory] .choice-grid{gap:9px}
html[data-embed=directory] .choice-grid button{min-height:56px;padding:13px 12px;border-color:#bfcedb;border-radius:12px;background:linear-gradient(#fff,#f4f8fc);color:#173b4e;font-size:14px;line-height:1.35;font-weight:600;box-shadow:0 2px 5px #123a5510}
html[data-embed=directory] .choice-grid button[aria-pressed=true]{background:#e5f5ef;border-color:#128268;color:#11563f;box-shadow:inset 0 0 0 1px #128268}
html[data-embed=directory] .selected-areas{padding:8px 18px 0;gap:5px}
html[data-embed=directory] .selected-areas:empty{padding:0}
html[data-embed=directory] .selected-areas .area-chip{min-height:44px;padding:8px 10px;font-size:12px}
html[data-embed=directory] .story-entry{margin-top:16px}
html[data-embed=directory] textarea{min-height:68px}
html[data-embed=directory] .primary{background:#087c65;border-color:#087c65;min-height:44px;font-weight:700}
html[data-embed=directory] .primary:hover{background:#06644f}
html[data-embed=directory] .conversation-bottom{padding:12px 18px;border-color:#dce6eb;min-height:66px;gap:8px;z-index:3}
html[data-embed=directory] .conversation-bottom #step-caption{font-size:11px;line-height:1.4}
html[data-embed=directory] .conversation-bottom .primary{padding:10px 15px;font-size:14px}
html[data-embed=directory] .review-actions button{min-height:44px;font-size:12px}
html[data-embed=directory] .review-actions .primary{width:100%}
html[data-embed=directory] .review-block button{min-height:44px}
@media(max-width:760px){
  html[data-embed=directory] main{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;border-radius:16px}
  html[data-embed=directory] .body-stage{height:420px;min-height:420px}
  html[data-embed=directory] #body-canvas{inset:65px 0 104px}
  html[data-embed=directory] .stage-controls{left:12px;right:12px;top:12px;gap:6px}
  html[data-embed=directory] .view-controls button{min-width:42px;padding:7px 8px}
  html[data-embed=directory] .view-controls #reset-camera{padding:7px 8px}
  html[data-embed=directory] #choose-area{padding:9px 10px}
  html[data-embed=directory] .layer-controls{left:12px;right:12px;bottom:47px}
  html[data-embed=directory] .layer-controls button{font-size:11px;padding:7px 5px}
  html[data-embed=directory] .gesture-hint{left:15px;bottom:13px;font-size:10px}
  html[data-embed=directory] .embedded-sources{right:9px;font-size:10px}
  html[data-embed=directory] .conversation{height:auto;min-height:480px;max-height:760px;border:0;border-top:1px solid #d7e7e9;border-radius:16px 16px 0 0;box-shadow:0 -4px 20px #001b2d12}
  html[data-embed=directory] #question{padding:18px}
  html[data-embed=directory] #question h2{font-size:23px}
  html[data-embed=directory] .choice-grid button{min-height:54px;font-size:14px}
  html[data-embed=directory] .conversation-bottom{padding:12px 16px}
}
@media(max-width:360px){
  html[data-embed=directory] .view-controls #zoom{display:none}
  html[data-embed=directory] .conversation-top{padding-left:13px;padding-right:13px}
  html[data-embed=directory] .conversation-top>span{font-size:9px;padding:4px 7px}
}

/* Readable directory intake: content sets the height, including on phones. */
html:not([data-embed=directory]) #pain-cue{display:none}
html[data-embed=directory],html[data-embed=directory] body{height:auto;min-height:0;overflow:hidden;background:transparent}
html[data-embed=directory] .app{display:block;height:auto;min-height:0;width:100%;max-width:none;margin:0}
html[data-embed=directory] main{display:block;height:auto;min-height:0;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-embed=directory] .body-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);grid-template-rows:auto auto auto;align-items:start;gap:16px;height:auto;min-height:0;padding:16px;border:0;border-radius:0;background:radial-gradient(ellipse at 49% 45%,#165263 0%,#07343e 52%,#042933 90%)}
html[data-embed=directory] .stage-heading,html[data-embed=directory] .conversation{display:none}
html[data-embed=directory] .pain-cue{position:static;grid-column:1;grid-row:1;display:flex;align-items:center;gap:10px;min-height:56px;max-width:100%;padding:10px 14px;border:2px solid #ff6b70;border-radius:24px;background:#fff7f7;color:#79141a;box-shadow:0 5px 18px #001a2a44;font-size:1rem;font-weight:750;line-height:1.4;white-space:normal}
html[data-embed=directory] .pain-cue span:first-child{flex:none;width:10px;height:10px;border-radius:50%;background:#f32632;box-shadow:0 0 0 4px #f3263222}
html[data-embed=directory] .pain-cue .pain-cue-copy{display:block;min-width:0}
html[data-embed=directory] .stage-controls{position:static;z-index:6;grid-column:2;grid-row:1;justify-self:end;display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:100%}
html[data-embed=directory] .view-controls{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #a4dbe4;border-radius:999px;background:#f4fbff;box-shadow:0 4px 14px #001e2633}
html[data-embed=directory] .view-label{padding:0 6px;color:#254b60;font-size:1rem;font-weight:650}
html[data-embed=directory] .view-controls button{width:auto;min-width:56px;min-height:48px;padding:10px 12px;border:0;border-radius:999px;background:transparent;color:#173b4c;font-size:1rem;font-weight:700}
html[data-embed=directory] .view-controls button[aria-pressed=true]{background:#0755e6;color:#fff}
html[data-embed=directory] #choose-area{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;border:1px solid #9ddde2;border-radius:999px;background:#0c3946;color:#f3ffff;font-size:1rem;font-weight:650}
html[data-embed=directory] .view-controls #zoom,html[data-embed=directory] .view-controls #reset-camera,html[data-embed=directory] .layer-controls,html[data-embed=directory] .orientation,html[data-embed=directory] .gesture-hint{display:none}
html[data-embed=directory] #body-canvas{position:relative;inset:auto;grid-column:1/-1;grid-row:2;width:100%;height:520px;min-height:520px}
html[data-embed=directory] .body-stage[data-hud-open=true] #body-canvas{grid-column:1}
html[data-embed=directory] .directory-quick{position:relative;inset:auto;grid-column:2;grid-row:2;align-self:stretch;width:100%;height:auto;max-height:none;overflow:visible;border:1px solid #41818f;border-radius:20px;background:#071f30;color:#effcff;box-shadow:0 0 24px #22d3ee18;touch-action:pan-y}
html[data-embed=directory] .quick-hud{display:grid;grid-template-rows:auto auto auto auto;align-content:start;gap:14px;height:auto;padding:16px}
html[data-embed=directory] .quick-hud-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
html[data-embed=directory] .quick-zone-badge{display:flex;align-items:center;grid-column:1;grid-row:1;min-width:0;min-height:48px;padding:8px 12px;border:1px solid #65afbd;border-radius:18px;background:#0c3b4b;color:#e2fbff;font-size:1rem;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
html[data-embed=directory] .quick-progress{display:flex;grid-column:1/-1;grid-row:2;align-items:center;gap:8px}
html[data-embed=directory] .quick-progress i{width:9px;height:9px;border:1px solid #68d8e7;border-radius:50%;background:transparent}
html[data-embed=directory] .quick-progress i[data-active=true],html[data-embed=directory] .quick-progress i[data-complete=true]{border-color:#67e8f9;background:#67e8f9}
html[data-embed=directory] .quick-back{grid-column:2;grid-row:1;min-height:48px;padding:10px 12px;border:1px solid #65afbd;border-radius:18px;background:#0d3041;color:#ecfbff;font-size:1rem;font-weight:650;line-height:1.35;white-space:normal}
html[data-embed=directory] .quick-back:hover{border-color:#a5f3fc;background:#154959}
html[data-embed=directory] .quick-count{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:12px;border:1px solid #5bd7b0;border-radius:18px;background:#075941;color:#f0fff9;font-size:1.125rem;font-weight:700;line-height:1.4;text-align:center}
html[data-embed=directory] .quick-count:disabled{opacity:1;cursor:default}
html[data-embed=directory] .quick-question{margin:0;color:#f1fbff;font-size:1.375rem;font-weight:700;line-height:1.35}
html[data-embed=directory] .quick-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));align-content:start;gap:10px;min-height:0}
html[data-embed=directory] .quick-options button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:64px;padding:12px 10px;border:1px solid #80c7d3;border-radius:18px;background:#12384b;color:#fff;font-size:1.125rem;font-weight:650;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere}
html[data-embed=directory] .quick-options button:hover{border-color:#b8f6ff;background:#1a5063}
html[data-embed=directory] .quick-complete-note{color:#d7eef5;font-size:1rem;line-height:1.5}
html[data-embed=directory] .embedded-sources{position:static;grid-column:1/-1;grid-row:3;justify-self:end;min-height:44px;padding:8px;color:#d3eff2;font-size:.875rem}
html[data-embed=directory] .body-stage :where(button):focus-visible{outline:3px solid #a5f3fc;outline-offset:3px}
html[data-embed=directory] .body-list button,html[data-embed=directory] .choice-grid button{min-height:56px;font-size:1.125rem;line-height:1.4}
html[data-embed=directory][data-details-expanded=true] .conversation{display:flex;height:auto;min-height:480px;max-height:none;overflow:visible;border-top:1px solid #d7e7e9;border-radius:16px;background:#fff}
html[data-embed=directory][data-details-expanded=true] #collapse-details{display:inline-flex;align-items:center;font-size:1rem}
@media(max-width:760px){
 html[data-embed=directory] .body-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:12px;padding:12px}
 html[data-embed=directory] .pain-cue{grid-column:1;grid-row:1;font-size:1rem}
 html[data-embed=directory] .stage-controls{grid-column:1;grid-row:2;justify-self:stretch;justify-content:space-between;gap:8px}
 html[data-embed=directory] #body-canvas,html[data-embed=directory] .body-stage[data-hud-open=true] #body-canvas{grid-column:1;grid-row:3;height:360px;min-height:360px}
 html[data-embed=directory] .directory-quick{grid-column:1;grid-row:4;width:100%;height:auto;max-height:none}
 html[data-embed=directory] .quick-hud{gap:12px;padding:12px}
 html[data-embed=directory] .embedded-sources{grid-column:1;grid-row:5}
}

/* Automotive-parity stage: the iframe owns only the left column of the split. */
.stage-helper{display:none}
.pain-cue-copy{appearance:none;border:0;background:transparent;color:inherit;padding:0;min-height:0;text-align:left;font:inherit}
html[data-embed=showroom],html[data-embed=showroom] body{height:100%;min-height:0;overflow:hidden;background:#dfe9ed}
html[data-embed=showroom] .app{display:block;height:100%;min-height:0;max-width:none;margin:0}
html[data-embed=showroom] .app>header,html[data-embed=showroom] .app>footer,html[data-embed=showroom] .conversation{display:none!important}
html[data-embed=showroom] main{display:block;width:100%;height:100%;min-height:0;padding:0;overflow:hidden}
html[data-embed=showroom] .body-stage{position:relative;display:block;width:100%;height:100%;min-height:0;overflow:hidden;border:0;border-radius:0;padding:0;background:#dfe9ed url('./assets/clinical-suite-2048.webp') center/cover no-repeat;color:#193750}
html[data-embed=showroom] #body-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0}
html[data-embed=showroom] .stage-heading,html[data-embed=showroom] .layer-controls,html[data-embed=showroom] .orientation,html[data-embed=showroom] .gesture-hint,html[data-embed=showroom] .selection-tag,html[data-embed=showroom] .embedded-sources{display:none!important}
html[data-embed=showroom] #pain-cue{position:absolute;z-index:5;top:9px;left:8px;right:8px;display:flex;align-items:center;gap:6px;min-height:35px;max-width:100%;padding:0 7px 0 10px;border:1px solid #ffffffc9;border-radius:999px;background:#f4faffd9;color:#183b55;box-shadow:0 4px 18px #172d4920;backdrop-filter:blur(16px);font-size:11px;font-weight:750;line-height:1.2}
html[data-embed=showroom] #pain-cue>span:first-child{width:6px;height:6px;flex:none;border-radius:50%;background:#2babc5;box-shadow:0 0 0 3px #2babc51c}
html[data-embed=showroom] #stage-area-picker{display:flex;align-items:center;flex:1;min-width:0;min-height:34px;padding:4px 0;border:0;background:transparent;color:inherit;font-size:11px;font-weight:750;line-height:1.2;white-space:normal;overflow-wrap:anywhere;text-align:left}
html[data-embed=showroom] #stage-reset{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:30px;width:28px;border:0;background:#dae7f2aa;color:#39546f;border-radius:99px;padding:0;font-size:19px}
html[data-embed=showroom] .stage-helper{position:absolute;z-index:3;bottom:64px;left:8px;right:8px;display:flex;align-items:center;justify-content:center;min-height:30px;padding:6px 7px;border:1px solid #ffffffa8;border-radius:999px;background:#edf6fddc;backdrop-filter:blur(12px);color:#254c66;font-size:10px;font-weight:550;text-align:center;line-height:1.25;pointer-events:none;box-shadow:0 4px 18px #132b4314}
/* The top area cue remains visible; a second prompt would cover the full-body feet. */
html[data-embed=showroom] .body-stage[data-body-state=ready] .stage-helper{display:none}
html[data-embed=showroom] .stage-controls{position:absolute;z-index:6;top:auto;bottom:10px;left:8px;right:8px;display:flex;align-items:center;justify-content:center;gap:0;max-width:none}
html[data-embed=showroom] .view-controls{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3px;width:100%;padding:4px;border:1px solid #ffffffcf;border-radius:999px;background:#f4faffdc;backdrop-filter:blur(18px);box-shadow:0 5px 20px #16375826}
html[data-embed=showroom] .view-controls button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:36px;width:100%;padding:6px 8px;border:0;border-radius:999px;background:transparent;color:#34516d;font-size:12px;font-weight:700;backdrop-filter:none}
html[data-embed=showroom] .view-controls button[aria-pressed=true]{background:#1762e6;color:white;box-shadow:0 2px 9px #0753cf26}
html[data-embed=showroom] .view-controls button:hover{background:#d8e9fb;color:#174978}
html[data-embed=showroom] .view-controls button[aria-pressed=true]:hover{background:#1355d0;color:#fff}
html[data-embed=showroom] #choose-area,html[data-embed=showroom] .view-label,html[data-embed=showroom] #zoom,html[data-embed=showroom] #reset-camera{display:none}
html[data-embed=showroom] .directory-quick{position:absolute;z-index:5;left:8px;right:8px;bottom:64px;display:block;width:auto;height:auto;max-height:44%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9cae35c transparent;border:1px solid #ffffff48;border-radius:16px;background:#071b32c7;backdrop-filter:blur(22px);color:#fff;box-shadow:0 10px 25px #0a26393b;touch-action:pan-y}
html[data-embed=showroom] .quick-hud{display:grid;align-content:start;gap:7px;padding:8px}
html[data-embed=showroom] .quick-hud-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 5px;min-width:0}
html[data-embed=showroom] .quick-zone-badge{grid-column:1;grid-row:1;display:block;min-width:0;min-height:0;padding:4px 6px;border:1px solid #ffffff28;border-radius:8px;background:#4065833b;color:#e6f6ff;font-size:9px;font-weight:650;line-height:1.25;overflow-wrap:anywhere}
html[data-embed=showroom] .quick-progress{grid-column:1;grid-row:2;display:flex;gap:5px;align-items:center;padding:0 2px}
html[data-embed=showroom] .quick-progress i{display:block;width:4px;height:4px;border:1px solid #a4d6f47a;border-radius:50%;background:transparent}
html[data-embed=showroom] .quick-progress i[data-active=true],html[data-embed=showroom] .quick-progress i[data-complete=true]{background:#74e0ef;border-color:#74e0ef}
html[data-embed=showroom] .quick-back{grid-column:2;grid-row:1/3;align-self:stretch;min-height:30px;min-width:34px;padding:4px 5px;border:1px solid #ffffff3b;border-radius:9px;background:#ffffff0c;color:#eaf7ff;font-size:9px;font-weight:600;line-height:1.2}
html[data-embed=showroom] .quick-question{margin:0;font-size:11px;font-weight:650;line-height:1.35;color:#fff;outline-offset:1px}
html[data-embed=showroom] .quick-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
html[data-embed=showroom] .quick-options button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:34px;padding:6px 5px;border:1px solid #b2d9ee59;border-radius:9px;background:#dceeff0c;color:#fff;font-size:10px;font-weight:550;line-height:1.2;text-align:center;overflow-wrap:anywhere}
html[data-embed=showroom] .quick-options button:hover{background:#b6e7ff26;border-color:#a7ebff}
html[data-embed=showroom] .quick-options button:active{background:#317cd94d}
html[data-embed=showroom] .quick-privacy{margin:1px 0 0;color:#ffffffa6;font-size:9px;line-height:1.3}
html[data-embed=showroom] .quick-complete-note{font-size:11px;line-height:1.45;color:#d4e7f3}
html[data-embed=showroom] .quick-review{min-height:32px;padding:6px;border:1px solid #8dc8ff6b;border-radius:9px;background:#1664d9;color:#fff;font-size:11px;font-weight:650}
html[data-embed=showroom] #model-loading{z-index:2;top:44%;left:10px;right:10px;padding:12px 8px;border:1px solid #fff9;border-radius:13px;background:#edf5f8df;color:#365775;font-size:11px;line-height:1.4;backdrop-filter:blur(10px)}
html[data-embed=showroom] .body-stage[data-body-state=unavailable] #model-loading{top:44%;left:10px;right:10px;font-size:11px;line-height:1.45}
html[data-embed=showroom] .body-stage[data-body-state=unavailable] #model-loading strong{font-size:13px;color:#203e57}
html[data-embed=showroom] .body-stage[data-body-state=unavailable] #model-loading p{margin:9px 0}
html[data-embed=showroom] #retry-body{width:100%;min-height:36px;padding:8px 6px;border:1px solid #a7bdd2;background:#fff;color:#25527a;font-size:10px}
html[data-embed=showroom] .body-stage[data-body-state=unavailable] .stage-helper{font-size:10px}
html[data-embed=showroom] dialog{width:calc(100% - 16px);max-width:none;max-height:calc(100dvh - 24px);padding:12px;border-radius:16px;overflow-y:auto}
html[data-embed=showroom] .dialog-top{gap:7px;margin-bottom:12px}
html[data-embed=showroom] .dialog-top h2{font-size:16px;line-height:1.25}
html[data-embed=showroom] .body-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
html[data-embed=showroom] .body-list button{min-height:38px;padding:7px 5px;border-radius:9px;font-size:11px;line-height:1.25;overflow-wrap:anywhere}
html[data-embed=showroom] .body-list button[aria-pressed=true]{border-color:#1762e6;background:#edf4ff;color:#174b94}
html[data-embed=showroom] #toast{bottom:67px;padding:9px;font-size:11px;border-radius:10px}
html[data-embed=showroom] :where(button):focus-visible{outline:2px solid #38bdf8;outline-offset:2px}
@media(min-width:500px){
 html[data-embed=showroom] #pain-cue{top:16px;left:18px;right:auto;width:max-content;max-width:calc(100% - 36px);min-width:190px;padding-left:13px}
 html[data-embed=showroom] #stage-area-picker{font-size:13px;min-height:39px;padding-right:10px}
 html[data-embed=showroom] .stage-controls{left:50%;right:auto;transform:translateX(-50%);width:270px;bottom:15px}
 html[data-embed=showroom] .view-controls button{min-height:39px;font-size:13px}
 html[data-embed=showroom] .stage-helper{left:50%;right:auto;transform:translateX(-50%);width:270px;bottom:75px;font-size:11px}
 html[data-embed=showroom] .directory-quick{left:50%;right:auto;transform:translateX(-50%);width:min(390px,calc(100% - 36px));bottom:75px}
 html[data-embed=showroom] .quick-hud{padding:12px;gap:9px}
 html[data-embed=showroom] .quick-zone-badge{font-size:11px;padding:5px 8px}
 html[data-embed=showroom] .quick-back{font-size:11px;padding:5px 9px}
 html[data-embed=showroom] .quick-question{font-size:13px}
 html[data-embed=showroom] .quick-options button{font-size:12px;min-height:38px}
 html[data-embed=showroom] .quick-privacy{font-size:10px}
 html[data-embed=showroom] #model-loading{left:50%;right:auto;transform:translateX(-50%);width:280px;font-size:13px}
 html[data-embed=showroom] dialog{max-width:450px;width:calc(100% - 36px);padding:20px}
 html[data-embed=showroom] .body-list button{font-size:13px;min-height:42px}
}
