/* User Mode v3: fixed anchors. Replaces the scene-layout stylesheet in full. */
:root{--night:#090a0c;--surface:#17191d;--line:#ffffff17;--ink:#f4f5f7;--muted:#969ba5;--side:170px;--ease:cubic-bezier(.22,1,.36,1);--duration:300ms;--panel-translate-y:6px;--panel-open-dur:260ms;--panel-close-dur:160ms;--panel-blur:1px;--digit-dur:260ms;--digit-distance:3px;--digit-blur:1px;--digit-stagger:20ms;--check-y-amount:3px;--check-rotate-from:12deg;--check-blur-from:1px;--check-bob-dur:300ms;--check-path-dur:300ms;--check-path-delay:0ms;--shimmer-base:#858d9a;--shimmer-highlight:#f7f8fa}
[hidden]{display:none!important}body.user-mode{margin:0;background:var(--night);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:dark;-webkit-font-smoothing:antialiased}.user-mode button,.user-mode input,.user-mode textarea{font-family:inherit}.user-mode button{transition:background 160ms,color 160ms,border-color 160ms,opacity 160ms;touch-action:manipulation}.user-mode button:disabled{opacity:.4}.user-mode button:focus-visible,.user-mode summary:focus-visible,.user-mode [role=button]:focus-visible{outline:2px solid #a5b4c7;outline-offset:4px}.user-mode>header{display:none}.quiet-nav{display:none}.user-mode .quiet-nav{display:flex;position:fixed;top:18px;left:22px;right:22px;justify-content:space-between;z-index:8;pointer-events:none}.quiet-nav button{pointer-events:auto;border:1px solid transparent;border-radius:50%;width:38px;height:38px;background:#11131880;color:#8e97a5;display:grid;place-items:center}.quiet-nav button:hover{background:#24272e;color:white}.quiet-nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}
.user-mode .garage{max-width:1540px;margin:0 auto;padding:80px 52px 40px;background:none}.user-mode .garage-top{display:block;margin:0 0 40px}.user-mode .garage-top h1{font:500 clamp(38px,4.6vw,64px)/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.055em;color:#f5f6f7;margin:0}.user-mode .garage-kicker,.user-mode .garage-intro,.user-mode .garage-nav{display:none}.user-mode .garage-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}.user-mode .garage-card{background:none;border:0;padding:0;color:#bfc4cd;text-align:left;border-radius:14px;position:relative;min-width:0}.user-mode .garage-photo{display:block;aspect-ratio:1.4;overflow:hidden;border-radius:14px;background:#17191d}.user-mode .garage-photo img{width:100%;height:100%;object-fit:cover;transition:transform 420ms var(--ease)}.user-mode .garage-card:hover img{transform:scale(1.025)}.user-mode .garage-card-label,.user-mode .garage-card-label span{font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;color:#b8bec8}.user-mode .garage-card-label{padding:12px 2px 0}.user-mode .garage-card-label>span:last-child{font-size:14px;color:#626c7b}.user-mode .garage-card small{color:#7a8594;padding:5px 2px;display:block}.user-mode .garage-upload{display:grid;place-content:center;align-self:start;aspect-ratio:1.4;border:1px dashed #ffffff26;background:#101216;color:#a9b2c0;border-radius:14px;cursor:pointer;font-size:13px;padding:20px;min-width:0}.user-mode .garage-upload:hover{background:#1c1f25;color:white}.user-mode .garage-message{color:#adb5c1;font-size:12px;line-height:1.6;margin:0 0 20px;max-width:640px}.user-mode .garage-message:empty{display:none}.user-mode.is-starting .garage-upload{opacity:.4;pointer-events:none}.user-mode .garage-card.is-opening:disabled:after{content:'';position:absolute;top:40%;left:calc(50% - 12px);width:24px;height:24px;border:1px solid #fff4;border-top-color:white;border-radius:50%;animation:studio-spin 1s linear infinite}
#experience{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:96px minmax(0,1fr) 146px;height:100svh;min-height:650px;padding:28px 28px 14px;gap:8px;max-width:1900px;margin:auto;position:relative}.composer-anchor{width:min(620px,calc(100% - 120px));height:96px;margin:auto;align-self:start;position:relative;z-index:4}.user-mode #composer{width:100%;display:flex;align-items:center;gap:8px;min-height:76px;height:76px;max-height:76px;border-radius:27px;border:1px solid #ffffff21;background:linear-gradient(130deg,#202329,#181b20);padding:9px 10px 9px 20px;box-shadow:0 8px 35px #0002;transition:border-color 160ms}.user-mode #composer:focus-within{border-color:#ffffff42}.user-mode #prompt{min-width:0;flex:1;background:none;border:0;outline:0;color:#f0f2f6;font-size:14px;line-height:1.5;resize:none;padding:10px 0;min-height:44px;max-height:64px!important;height:44px;overflow:auto}.user-mode #prompt::placeholder{color:#8b929e}.user-mode .composer-actions{padding:0;display:flex;align-items:center;gap:3px;flex-shrink:0}.user-mode .composer-spacer{display:none}.user-mode #voice,.user-mode #planButton{width:40px;height:40px;min-width:40px;border:0;border-radius:50%;display:grid;place-items:center;padding:0;color:#a2acba;background:none;font-size:26px}.user-mode #voice:hover{background:#ffffff0a;color:white}.user-mode #planButton{background:#e8ecf1;color:#161a20}.user-mode #planButton:disabled{background:#343a44;color:#8f99a7;opacity:1}.user-mode #voice[aria-pressed=true]{background:#ede1da;color:#30231d;font-size:14px}.user-mode .recording-timer{position:absolute;right:112px;top:66px;color:#c4a594;font-size:10px;white-space:nowrap}.user-mode #voiceHost{position:absolute;top:85px;left:0;right:0;text-align:center;z-index:5}.user-mode #voiceStatus{font-size:11px;color:#b5bdc9;background:#101319e8;border-radius:10px;margin:0 auto;padding:5px 10px;max-width:560px}.user-mode #voiceStatus:empty{display:none}.user-mode #retryAudio{min-height:32px;background:none;border:0;text-decoration:underline;color:#cbd3df;font-size:11px}
.design-stage{display:grid;grid-template-columns:var(--side) minmax(0,1fr) var(--side);gap:16px;min-height:0;position:relative;align-items:center}.user-mode #carHost{grid-column:2;height:100%;min-height:0;position:relative}.user-mode #canvas{height:100%;min-height:0;width:100%;background:none;box-shadow:none;border-radius:12px;display:grid;place-items:center;overflow:hidden;position:relative;flex:none}.user-mode #canvas>img{width:100%;height:100%;position:absolute;object-fit:contain;object-position:center;border-radius:12px;filter:none;opacity:1;transform:none}.user-mode #imageBadge{display:none}.user-mode .compare-overlay{background:var(--night);border-right:1px solid #ffffff80}.user-mode .compare-overlay img{object-fit:contain}.user-mode .compare-overlay span{background:#151920df;color:#d4dce7;border-radius:20px;font-size:9px;padding:7px 10px}
#ideasHost{position:absolute;inset:0;pointer-events:none;display:grid;align-items:center}.user-mode #chips{height:min(100%,470px);display:grid;grid-template-columns:var(--side) minmax(0,1fr) var(--side);grid-template-rows:repeat(7,minmax(0,1fr));gap:6px 16px;align-items:center;width:100%;padding:0;pointer-events:none;margin:0;max-width:none}.user-mode #chips button{grid-column:1;justify-self:end;max-width:100%;min-height:39px;height:auto;line-height:1.3;font-size:11px;white-space:normal;border-radius:24px;padding:11px 16px;color:#b8c2d1;background:#15191f;border:1px solid #ffffff12;pointer-events:auto;text-align:center;display:block}.user-mode #chips button:nth-child(n+8){grid-column:3;justify-self:start}.user-mode #chips button:nth-child(7n+1){grid-row:1}.user-mode #chips button:nth-child(7n+2){grid-row:2}.user-mode #chips button:nth-child(7n+3){grid-row:3}.user-mode #chips button:nth-child(7n+4){grid-row:4}.user-mode #chips button:nth-child(7n+5){grid-row:5}.user-mode #chips button:nth-child(7n+6){grid-row:6}.user-mode #chips button:nth-child(7n+7){grid-row:7}.user-mode #chips button:nth-child(3n){background:#20262e;color:#d1d8e3;border-color:#ffffff20}.user-mode #chips button:hover{background:#2d3540;color:#fff;border-color:#ffffff38}.user-mode #chips button:nth-child(n+15){display:none}
#experience[data-scene=interpreting] #ideasHost,#experience[data-scene=generating] #ideasHost,#experience[data-scene=clarifying] #ideasHost{visibility:hidden;pointer-events:none}
.interaction-anchor{height:146px;max-width:780px;width:100%;margin:auto;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:8px;min-height:0}.interaction-anchor>div{max-width:100%}.user-mode #planBox{border:0;background:none;margin:0;padding:0;text-align:center;max-width:700px}.user-mode #planBox>*{display:none}.user-mode #planBox #planReply{display:block;font-size:15px;line-height:1.4;color:#e1e6ee;max-width:640px;margin:0 auto 14px;font-weight:400}.user-mode #planBox #questionOptions{display:flex;justify-content:center;gap:8px}.user-mode #questionOptions button{border:1px solid #ffffff20;background:#212730;color:#dde4ee;border-radius:18px;min-height:42px;padding:10px 20px;font-size:12px;line-height:1.3;max-width:100%;white-space:normal}.user-mode #questionOptions button:hover{background:#35404d}
.user-mode #waitExperience{display:block;width:340px;background:none;border:0;padding:0;margin:0;text-align:left}.progress-caption{text-align:right;font-size:9px;color:#707c8e;margin-bottom:8px}.progress-row{display:grid;grid-template-columns:20px 79px 1fr 34px 14px;gap:10px;align-items:center;height:25px;color:#4e5b6c;font-size:11px;font-variant-numeric:tabular-nums}.progress-row[data-status=active]{color:#d9e1ec}.progress-row[data-status=done]{color:#8997a9}.progress-number{font-size:9px}.progress-value{font-size:10px;justify-content:end;min-width:34px}.progress-track{height:2px;border-radius:2px;background:#ffffff12;overflow:hidden}.progress-track i{display:block;width:100%;height:100%;background:#cbd9ec;transform:scaleX(0);transform-origin:left;transition:transform 320ms var(--ease)}.progress-row[data-status=done] .progress-track i{background:#778a9f}.progress-check svg{width:12px;height:12px;fill:none;stroke:#9cafc5;stroke-width:1.8}.progress-row[data-status=error]{color:#c7a59e}
.user-mode #results{display:block;padding:0;margin:0;background:none}.user-mode #results .result{border:0;background:none;padding:0;display:flex;justify-content:center;gap:12px;align-items:center}.user-mode #results .result>*{display:none}.user-mode #results .result>[data-keep],.user-mode #results .result>[data-adjust]{display:inline-flex;align-items:center;justify-content:center;border-radius:27px;min-height:48px;padding:13px 29px;font-size:13px;font-weight:500;border:1px solid #ffffff16;background:#1e252e;color:#d2dbe7;margin:0}.user-mode #results .result>[data-keep]{background:linear-gradient(150deg,#74e6ac,#41c78b);border-color:#a0f3c052;color:#092719;box-shadow:0 4px 22px #50d39a16}.user-mode #results .result>[data-keep]:hover{background:#8cf0bd}.user-mode #results .result>[data-adjust]:hover{background:#333e4d}.user-mode #results .result:has([data-keep])~.result{display:none}.user-mode #results .result:has([data-keep]){margin-bottom:5px}
#experience:not([data-scene=reviewing]):not([data-scene=error]) #resultHost{display:none}#experience[data-scene=error] #results [data-retry]{display:block;background:#2e3947;color:#d8e3ef;border:1px solid #ffffff20;border-radius:24px;padding:10px 22px;min-height:40px}#sceneError{text-align:center;font-size:12px;color:#b7c2d1}#sceneError p{margin:0 0 12px}#sceneError button,#nextPlanStep{background:#26303d;color:#d5e0ef;border:1px solid #ffffff20;border-radius:22px;min-height:38px;padding:9px 20px;font-size:12px;margin:0 5px}#heldState{font-size:12px;color:#8b99ac;text-align:center}#moreIdeas{font-size:10px;color:#77869a;background:none;border:0;padding:6px 10px;min-height:30px}
.user-mode #adjustFeedback{border:0;background:none;padding:0;margin:0;text-align:center}.user-mode #adjustFeedback>p,.user-mode #cancelAdjustment{display:none}.user-mode #feedbackChoices{justify-content:center;gap:7px;max-width:650px}.user-mode #feedbackChoices button{font-size:11px;line-height:1.3;border:1px solid #ffffff15;background:#1c232c;color:#b8c5d7;border-radius:21px;padding:10px 15px;min-height:38px}
.studio-menu,.project-drawer{background:#141a22;color:#dce4ee;border:1px solid #ffffff1c;border-radius:22px;padding:44px 22px 22px;box-shadow:0 30px 100px #0008;max-width:calc(100vw - 32px)}.studio-menu{width:290px}.project-drawer{width:420px;max-height:85svh;overflow:auto}.studio-menu::backdrop,.project-drawer::backdrop{background:#0008;backdrop-filter:blur(8px)}.dialog-close{position:absolute;right:12px;top:10px;background:none;border:0;border-radius:50%;width:32px;height:32px;color:#97a8bb}.studio-menu>button:not(.dialog-close),.studio-menu #backGarage,.studio-menu .workspace-actions button{display:block;background:none;border:0;color:#b9c8d9;text-align:left;font-size:12px;padding:12px 10px;border-radius:10px;min-height:40px;width:100%;margin:0}.studio-menu>button:hover,.studio-menu .workspace-actions button:hover{background:#ffffff08}.studio-menu .workspace-actions{display:block;gap:0}.studio-menu .mode-switch{display:flex;margin:14px 0;background:#222c39;border-radius:20px;padding:3px;gap:0;border:0}.studio-menu .mode-switch button{padding:8px 10px;font-size:10px;min-height:34px;border:0;border-radius:18px;background:none;color:#92a2b8}.studio-menu .mode-switch button[aria-pressed=true]{background:#445065;color:white}.studio-menu details{font-size:11px;color:#94a6bd;padding-top:12px}.studio-menu summary{cursor:pointer}.studio-menu .credits{border:0;font-size:10px;line-height:1.6;color:#9baac1}.studio-menu a{color:#c1d4ec}.studio-menu .credits>summary{display:none}
.user-mode .project-drawer .left{display:block;background:none;border:0;padding:0;color:#dce3ed}.user-mode .project-drawer .eyebrow,.user-mode .project-drawer .left-footer,.user-mode .project-drawer .upload{display:none}.user-mode .project-name{background:none;border:0;border-bottom:1px solid #ffffff20;color:#e0e7f0;font:500 22px/1.3 inherit;width:100%;padding:10px 0;margin-bottom:16px}.user-mode .project-drawer h2{font:400 16px/1.4 inherit}.user-mode .project-drawer .history-title,.user-mode .project-drawer .version{border-color:#ffffff12}.user-mode .project-drawer .version{border-radius:4px}.user-mode .project-drawer .version img{outline-color:#9bb1c9;border-radius:8px}.user-mode .project-drawer .version small{color:#8a9bb0}.user-mode .project-drawer .history{display:block;max-height:none}.user-mode .project-drawer .conversation{display:block;max-height:none;color:#9dacc0;line-height:1.6}.user-mode .project-drawer .conversation .user{color:#d6e0ed}.user-mode .project-drawer #projectSource{color:#8c9db4;font-size:10px;line-height:1.5}.user-mode .project-drawer a{color:#bed2ed}.saved-toast{position:fixed;top:20px;left:calc(50% - 14px);width:28px;height:28px;pointer-events:none;z-index:9}.saved-toast svg{width:28px;height:28px;stroke:#7bdcab;stroke-width:1.5;fill:none}.saved-toast[data-state=out]{opacity:0}
.user-mode .image-viewer{background:#0d1219;color:#d9e5f3;border-color:#ffffff15;border-radius:16px}.user-mode .viewer-stage{background:none}.user-mode .image-viewer::backdrop{background:#000c}.user-mode .image-viewer button{background:#263342;color:#dce8f6;border-color:#ffffff20;border-radius:22px;min-height:42px}
.scene-lab-panel{position:fixed;right:12px;bottom:12px;z-index:99;width:230px;background:#261e12ef;color:#ffdfae;border:1px solid #8e6c31;border-radius:12px;padding:12px;font:10px/1.5 system-ui}.scene-lab-panel summary{cursor:pointer}.scene-lab-panel button,.scene-lab-panel select{background:#362a19;color:#ffdfae;border:1px solid #79582b;border-radius:7px;font-size:10px;padding:8px;margin:3px;min-height:32px}.scene-lab-panel a{color:#ffdfae}
@keyframes studio-spin{to{transform:rotate(360deg)}}
@media(min-width:1700px){:root{--side:190px}#experience{padding:30px 48px 14px}.user-mode #chips{height:500px}.user-mode #chips button{font-size:12px;padding:12px 19px}}
@media(max-width:1000px) and (min-width:701px){:root{--side:120px}.user-mode #chips button{font-size:10px;padding:10px 12px}.design-stage{gap:10px}.user-mode #chips{gap:6px 10px}}
@media(max-width:700px){
 .user-mode .quiet-nav{top:9px;left:10px;right:10px}.quiet-nav button{width:32px;height:32px}.quiet-nav svg{width:16px;height:16px}
 .user-mode .garage{padding:70px 18px 30px}.user-mode .garage-top{margin-bottom:28px}.user-mode .garage-top h1{font-size:43px}.user-mode .garage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.user-mode .garage-photo,.user-mode .garage-upload{aspect-ratio:1.23;border-radius:12px}.user-mode .garage-upload{font-size:11px;padding:16px}.user-mode .garage-card-label,.user-mode .garage-card-label span{font-size:10px}.user-mode .garage-card-label{padding-top:10px}
 #experience{height:100svh;min-height:650px;grid-template-rows:90px minmax(0,1fr) 154px;padding:47px 5px 8px;gap:4px}.composer-anchor{width:calc(100% - 24px);height:90px}.user-mode #composer{padding:8px 8px 8px 15px;min-height:68px;height:68px;max-height:68px;border-radius:25px}.user-mode #prompt{font-size:16px;min-height:44px}.user-mode #voice,.user-mode #planButton{width:38px;height:38px;min-width:38px}.user-mode .composer-actions{gap:1px}.user-mode #voiceHost{top:72px}.user-mode #voiceStatus{font-size:10px}.design-stage{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 84px;gap:6px;min-height:0}.user-mode #carHost{grid-column:1;grid-row:1;min-height:0;height:100%;width:100%}.user-mode #canvas{border-radius:8px}.user-mode #canvas>img{border-radius:8px}
 #ideasHost{position:static;grid-row:2;display:block;overflow:hidden;pointer-events:auto;min-width:0;height:84px}.user-mode #chips{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;grid-template-columns:none;grid-template-rows:repeat(2,36px);gap:7px;height:84px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 12px 4px;scrollbar-width:none;pointer-events:auto}.user-mode #chips button,.user-mode #chips button:nth-child(n){grid-column:auto;grid-row:auto;justify-self:start;white-space:nowrap;max-width:240px;min-height:34px;height:34px;padding:8px 13px;font-size:10px;display:block}.interaction-anchor{height:154px;padding:0 12px;gap:5px}.user-mode #planBox #planReply{font-size:13px;margin-bottom:10px;max-height:42px;overflow:auto}.user-mode #planBox #questionOptions{gap:6px;flex-wrap:wrap}.user-mode #questionOptions button{font-size:11px;padding:9px 13px;min-height:38px;flex:1 1 30%}.user-mode #waitExperience{width:300px}.progress-row{height:24px;gap:8px;grid-template-columns:18px 73px 1fr 31px 12px;font-size:10px}.progress-caption{font-size:8px;margin-bottom:6px}.progress-value{font-size:9px}.user-mode #results .result>[data-keep],.user-mode #results .result>[data-adjust]{min-height:46px;font-size:12px;padding:12px 25px}.user-mode #feedbackChoices{gap:5px}.user-mode #feedbackChoices button{font-size:10px;padding:8px 11px;min-height:33px}.user-mode #moreIdeas{font-size:9px;min-height:24px}.saved-toast{top:10px;width:24px;height:24px}.scene-lab-panel{width:200px;bottom:7px}
}
@media(prefers-reduced-motion:reduce){.user-mode *, .user-mode *:before,.user-mode *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.t-panel-slide{transform:none!important;filter:none!important}.t-modal{transform:none!important}.t-digit{filter:none!important}.user-mode .garage-card:hover img{transform:none}.t-success-check[data-state=out]{opacity:0!important}.t-success-check[data-state=in]{opacity:1!important}}

#experience:not([data-scene=compose]) #adjustHost{display:none}

.garage-more{grid-column:1/-1;justify-self:center;background:transparent;border:1px solid #ffffff26;border-radius:24px;color:inherit;padding:14px 24px;cursor:pointer}.garage-more[hidden]{display:none}.user-mode .garage-photo,.user-mode .garage-upload{aspect-ratio:16/9}
