/* Upload → choose → result uses the same workspace on every screen. */
.guided-selection .main-shell{display:flex!important;flex-direction:column;height:100dvh!important;min-height:0;overflow:hidden;padding-bottom:0!important}
.guided-selection #conversation{flex:1;min-height:0;overflow:auto!important;width:100%;max-width:none;margin:0;padding:26px clamp(18px,4vw,48px)!important;overscroll-behavior:contain}
.guided-selection .chat-header{position:relative;flex:none;top:auto}
.guided-selection #mobileDesignDock,.guided-selection .mobile-tool-shortcuts,.guided-selection #messages,.guided-selection #welcome{display:none!important}
.guided-selection .composer-area{display:none!important}
.guided-selection.guided-chat-open .composer-area{display:block!important;flex:none;padding:12px 20px!important;width:100%!important;max-height:42%;overflow:auto;border-top:1px solid #e9dce4;margin:0;background:#fcfafb}
#guidedCloseChat{display:block;margin:0 0 8px auto;min-height:40px;border:0;background:transparent;color:var(--brand-pink);font:inherit;font-size:12px}
.guided-selection .composer-tools .attach-button{display:none}.guided-selection .fine-print{display:none}
#guidedUpload[hidden],#guidedResult[hidden],.guided-action-bar[hidden]{display:none!important}
.guided-progress{display:flex;justify-content:center;gap:10px;font-size:12px;color:#91818b;margin:0 0 24px}.guided-progress span{padding:10px 18px;border-bottom:2px solid #e9dfe5}.guided-progress [aria-current]{color:var(--brand-pink);border-color:var(--brand-pink);font-weight:600}
.guided-upload-card{max-width:570px;margin:32px auto;padding:36px 24px;text-align:center;border:1px solid #e8dce3;border-radius:22px;background:#fff}.guided-upload-card>svg{width:42px;height:42px;fill:none;stroke:#e3165b;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin:0 0 18px}
.guided-upload-card h1,.guided-result-heading h1{font-size:32px;font-weight:550;letter-spacing:-1px;line-height:1.2;margin:0 0 12px}.guided-upload-card p,.guided-result-heading p{font-size:14px;line-height:1.6;color:#887580;margin:0 auto;max-width:340px}
#guidedChoosePhoto{display:block;margin:26px auto 14px;width:min(100%,290px);min-height:50px;border:0;border-radius:12px;background:var(--brand-pink);color:white;font:600 15px -apple-system,BlinkMacSystemFont,sans-serif}.guided-upload-card small{font-size:11px;color:#9b8893}.guided-upload-card .guided-photo-tip{font-size:12px;margin-top:24px}.guided-upload-card #guidedUploadStatus{font-size:12px;margin-top:12px}
.guided-action-bar{display:flex;flex:none;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center;padding:14px 24px max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ebdfe6;z-index:15}
.guided-action-bar button{min-height:46px;border:1px solid #e6d4de;border-radius:12px;padding:12px 20px;font:600 13px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:var(--brand-pink)}
.guided-action-bar #guidedCreate{background:var(--brand-pink);color:white;border-color:var(--brand-pink)}.guided-action-bar button:disabled{opacity:.45;cursor:default}#guidedActionStatus{flex:1 0 100%;font-size:12px;color:var(--brand-pink);line-height:1.5}#guidedActionStatus:empty{display:none}
.guided-selection .selection-grid{max-width:1000px;margin:auto}.guided-selection .selection-heading{max-width:1000px;margin:0 auto 22px}.guided-selection .selection-heading h1{font-size:28px}.guided-selection .selection-heading .studio-eyebrow{display:none}.guided-selection .selection-card{padding:22px}.guided-selection .selection-photo img{object-fit:contain;max-height:480px;width:100%;border-radius:16px}.guided-selection .selection-photo{margin:0}.guided-selection .selection-photo button{font-size:12px}.guided-selection .selection-photo figcaption{font-size:11px;color:#927f8b;line-height:1.5;margin:8px 0 12px}.guided-selection .selection-steps{font-size:12px}.guided-selection .selection-steps span{padding:10px 18px}
#guidedMoreSurfaces{display:none}#guidedResult{max-width:1000px;margin:auto}.guided-result-heading{margin-bottom:22px}.guided-result-heading p{margin:0;max-width:none}#guidedResultPhoto{width:100%;max-height:62dvh;object-fit:contain;border-radius:18px;background:#f4eff2}.guided-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.guided-result-actions>button,.guided-result-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #e1ceda;border-radius:12px;background:#fff;padding:12px 16px;color:var(--brand-pink);font:600 12px -apple-system,BlinkMacSystemFont,sans-serif}.guided-result-actions #guidedRefine{background:var(--brand-pink);color:#fff;border-color:var(--brand-pink)}#guidedResultStatus{font-size:12px;color:var(--brand-pink);line-height:1.5;margin-top:12px}
@media(max-width:760px){
 .guided-selection .main-shell{height:auto!important;flex:1!important;min-height:0!important}
 .guided-selection #conversation{padding:18px 16px 22px!important}
 .guided-upload-card{margin:16px auto;padding:30px 20px;border-radius:18px}.guided-upload-card h1{font-size:27px}.guided-upload-card p{font-size:13px}
 .guided-selection .selection-grid{display:flex;flex-direction:column;gap:18px}.guided-selection .selection-photo{order:-1;width:100%;position:static;padding:0;background:transparent}.guided-selection .selection-photo img{max-height:220px;width:100%;object-fit:contain;background:#f5eff3}.guided-selection .selection-photo figcaption{display:none}.guided-selection #selectionReview{margin-top:9px;min-height:40px;padding:8px 12px}
 .guided-selection .selection-controls{width:100%}.guided-selection .selection-card{padding:18px;border-radius:16px}.guided-selection .selection-heading{align-items:center;margin-bottom:18px;gap:12px}.guided-selection .selection-heading h1{font-size:24px;margin:0 0 8px}.guided-selection .selection-heading p{font-size:12px;line-height:1.5}.guided-selection #selectionUpload{font-size:11px;padding:9px 11px;min-height:40px;flex:none}
 .guided-selection .selection-surfaces{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guided-selection .selection-surfaces button{min-height:44px;font-size:12px}.guided-selection:not(.guided-more-surfaces) .guided-extra-surface{display:none!important}
 #guidedMoreSurfaces{display:block;padding:11px 0;min-height:44px;color:var(--brand-pink);border:0;background:none;font:inherit;font-size:12px}
 .guided-selection .selection-card input,.guided-selection .selection-card select{font-size:16px;min-height:44px;max-width:100%}.guided-selection .selection-primary{min-height:46px;width:100%}
 .guided-action-bar{padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:8px}.guided-action-bar button{padding:11px 12px;font-size:12px}.guided-action-bar #guidedCreate{flex:1}.guided-action-bar #guidedDescribe{flex:0 1 auto;max-width:44%}
 .guided-progress,.guided-selection .selection-steps{gap:5px;font-size:11px;margin-bottom:20px}.guided-progress span,.guided-selection .selection-steps span{padding:9px 16px}
 .guided-result-heading h1{font-size:27px}.guided-result-heading p{font-size:13px}.guided-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guided-result-actions>button,.guided-result-actions>a{font-size:12px;padding:11px 8px}
 .guided-selection.guided-chat-open .composer-area{max-height:44%;padding:10px 12px!important}.guided-selection #prompt{font-size:16px!important;min-height:72px}.guided-selection #send{display:none}
}
@media(prefers-reduced-motion:reduce){.guided-selection *{scroll-behavior:auto!important}}

.guided-selection[data-guided-step="upload"] #selectionWorkspace,.guided-selection[data-guided-step="upload"] .guided-action-bar{display:none!important}

#selectionChoiceSummary{font-size:15px;line-height:1.6;color:#43353d;padding:14px 16px;border-radius:12px;background:#fcebf1;margin-bottom:16px}
#saveSurfaceChoice[hidden]{display:none!important}
#surfaceDialog{max-height:calc(100dvh - 24px);overflow-y:auto}
#surfaceConfirm{position:sticky;bottom:0;z-index:6;min-height:50px;background:var(--brand-pink);color:#fff;box-shadow:0 -8px 24px #fff;border:0;border-radius:12px;width:100%}
.guided-selection .selection-card>h2{font-size:18px;color:#30262c}
.guided-selection #selectionSurfaceList button[aria-pressed=true]{background:var(--brand-pink);color:#fff;border-color:var(--brand-pink)}
.guided-selection .saved-surface-choice{border:1px solid #ecd4df;background:white;border-radius:14px;margin:10px 0;padding:14px}
.guided-selection #selectionFeedback{font-size:14px;line-height:1.6;color:var(--brand-pink)}
@media(max-width:760px){.guided-action-bar{position:sticky;bottom:0}.guided-selection .selection-surfaces{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-selection #guidedMoreSurfaces{order:0}}


/* Back navigation remains visible and usable on both desktop and phone. */
.guided-back-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;max-width:100%;margin:0 0 18px;padding:9px 0;border:0;background:transparent;color:#8f3157;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;font-weight:600;cursor:pointer;text-align:left}
.guided-back-button:hover{color:#c01c5b;text-decoration:underline;text-underline-offset:4px}
.guided-back-button:focus-visible{outline:2px solid #c01c5b;outline-offset:4px;border-radius:3px}
#guidedBackToUpload{display:flex;width:max-content}
#guidedBackToChoose{display:flex;width:max-content;margin:0 auto 20px}
@media(max-width:760px){.guided-back-button{min-height:44px;margin-bottom:12px;font-size:13px}}
