.solo-panel{border-top:1px solid #ffffff20;padding-top:16px;display:grid;gap:14px}
.solo-panel[hidden],.solo-panel [hidden]{display:none!important}
.solo-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.solo-badge{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#ff8d69}
.solo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.solo-panel label{font-size:12px;color:#eee6df;display:block;margin-bottom:7px}
.solo-panel select,.solo-panel textarea,.solo-panel input[type=text]{width:100%;background:#151a18;border:1px solid #4b514e;border-radius:10px;color:#fff8f0;padding:11px;font:inherit;font-size:14px}
.solo-panel textarea{min-height:112px;resize:vertical;line-height:1.6}
.solo-tabs{display:flex;background:#151a18;padding:4px;border-radius:12px;gap:4px}
.solo-tabs button{flex:1;background:transparent;border:0;border-radius:9px;color:#aaa;padding:10px;cursor:pointer;font:inherit;font-size:12px}
.solo-tabs button[aria-pressed=true]{background:#fff8f0;color:#171c19;font-weight:700}
.solo-hint{font-size:11px;line-height:1.6;color:#b5bcb7;margin:0}
.solo-action{border:1px solid #ff8d6960;background:#ff633d18;color:#ffad91;border-radius:9px;padding:11px 15px;font:inherit;font-size:12px;cursor:pointer}
.solo-action:disabled{opacity:.45;cursor:wait}
.solo-check{display:flex!important;align-items:flex-start;gap:10px;font-size:11px!important;line-height:1.5}
.solo-check input{accent-color:#ff633d;flex:none;margin-top:3px}
.solo-error{color:#ffb5a6;font-size:12px;line-height:1.5}
.solo-quote{background:#ff633d12;border:1px solid #ff633d55;border-radius:12px;padding:16px}
.solo-quote h3{margin:0 0 10px;font-size:18px}.solo-quote pre{white-space:pre-wrap;font:inherit;font-size:14px;line-height:1.6}
.solo-quote .button{margin-top:12px;width:100%;font-size:13px}
.solo-job{padding:18px;background:#111815;border:1px solid #516859;border-radius:12px;display:grid;gap:12px}
.solo-job video{width:100%;max-height:480px;border-radius:10px;background:#080b09}
.solo-job h3{font-size:18px;margin:0}.solo-job p{margin:0}
.solo-job .button{font-size:13px}.solo-job details{font-size:12px}.solo-job pre{white-space:pre-wrap}
.solo-panel :focus-visible{outline:2px solid #ff8d69;outline-offset:3px}
.creator-preview{align-self:start;position:sticky;top:24px;height:min(72vh,680px);min-height:420px}
#create{scroll-margin-top:20px}.creator-section:not(.workspace) .creator-form{overflow:visible}
@media(max-width:760px){.solo-grid{grid-template-columns:1fr 1fr}.creator-preview{position:relative;top:0;height:360px;min-height:0}.solo-panel{gap:12px}.solo-topline{align-items:start}.solo-badge{font-size:9px}}

@media(max-width:480px){#voice-panel .solo-grid{grid-template-columns:1fr}#voice-panel select{font-size:13px}}

/* Definite grid track and non-shrinking fields keep the entire form scrollable. */
@media(min-width:761px){#create.workspace .creator-layout{grid-template-rows:minmax(0,1fr)}#create.workspace .creator-form{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}#create.workspace .creator-form>*{flex-shrink:0}}

/* The owner-selected step flow supersedes the long scrolling creator form. */
#solo-panel{display:none!important}
#create .creator-form{display:flex;flex-direction:column;gap:10px}
#create .wizard-panel{border:0;padding:0;gap:10px;min-height:0}
#create .wizard-panel[hidden],.duo-unavailable{display:none!important}
.wizard-nav{display:flex;gap:8px;margin-bottom:12px;flex-shrink:0}.wizard-nav button{flex:1;padding:9px;border:1px solid #465046;border-radius:10px;background:#172019;color:#ddd;font:inherit;font-size:13px}.wizard-nav button[aria-current=step]{border-color:#ff633d;color:#ffad91;background:#ff633d15}.wizard-nav span{margin-right:5px}
.wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;flex-shrink:0;border-top:1px solid #ffffff20}.wizard-footer span{font-size:12px;color:#b5bcb7}.wizard-footer .button{min-height:40px;padding:10px 22px;font-size:13px}
#create.workspace .creator-layout{grid-template-columns:minmax(170px,.5fr) minmax(0,1.5fr);grid-template-rows:minmax(0,1fr)}
#create.workspace .creator-form{overflow:auto;padding:18px 24px;min-height:0;height:100%;max-height:100%}
#wizard-step-2 #voice-panel{border:0;padding:0;gap:8px}#voice-panel .solo-topline{display:none}#voice-panel>p.solo-hint{font-size:10px;line-height:1.35}#voice-description{display:none}
#wizard-step-2 #pet-voice{display:grid;gap:7px}#wizard-step-2 #pet-voice[hidden]{display:none!important}
#wizard-step-3 .solo-topline{display:none}#wizard-step-3 textarea{min-height:100px;height:110px}#wizard-step-3 .topic-field{margin:0}#wizard-step-3 .character-count{display:none}
.wizard-summary{font-size:12px;line-height:1.5;padding:12px;background:#ffffff08;border-radius:10px}.wizard-summary p{white-space:pre-line;margin:6px 0 0;max-height:100px;overflow:auto}
#wizard-step-4 #quote-lyrics{display:none}#wizard-step-4 .form-bottom{padding-top:4px}#wizard-step-4 #job-video{max-height:190px}#wizard-step-4 .preview-boundary{font-size:10px;line-height:1.4}
.wizard-dialog{max-width:650px;width:90vw;max-height:85dvh;overflow:auto;background:#151c17;color:#fff8f0;border:1px solid #657360;border-radius:18px;padding:22px}.wizard-dialog::backdrop{background:#000b}.wizard-dialog>button{float:right;margin-bottom:15px}.wizard-dialog .solo-panel{clear:both;border:0}.wizard-dialog pre{white-space:pre-wrap;font:inherit;font-size:12px;line-height:1.6}
@media(max-width:760px){#create.workspace .creator-layout{overflow:hidden}#create.workspace .creator-preview{display:none}#create.workspace .creator-form{height:100%;overflow:auto;padding:12px}#create.workspace .creator-toolbar{margin-bottom:8px}.wizard-nav{gap:4px;margin-bottom:8px}.wizard-nav button{font-size:11px;padding:8px 3px}.wizard-nav span{display:none}#create .solo-grid,#voice-panel .solo-grid{grid-template-columns:1fr 1fr;gap:8px}#create .solo-panel label{font-size:11px;margin-bottom:4px}#create .solo-panel select,#create .solo-panel input[type=text]{font-size:12px;padding:8px}#create .solo-panel{gap:8px}#wizard-step-3 textarea{height:95px;min-height:95px}#wizard-step-3 .topic-field input{padding:8px}#wizard-step-3 .solo-tabs button{padding:7px}#wizard-step-3 .solo-action{padding:8px}#create .wizard-footer{padding-top:8px}.wizard-summary{padding:8px}#wizard-step-4 #job-video{max-height:140px}}

#result-dialog video{width:100%;max-height:40dvh}#wizard-step-4 #solo-quote{padding:10px}#wizard-step-4 #solo-quote h3{font-size:15px;margin:0 0 5px}#wizard-step-4 #solo-quote .solo-hint{font-size:10px}#wizard-step-4 .solo-action{padding:8px}#wizard-step-4 #quote-meta{margin-bottom:5px}

.phone-dialog img{display:block;width:230px;max-width:100%;max-height:34vh;object-fit:contain;margin:16px auto}.phone-dialog img[hidden]{display:none}.phone-upload-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin-top:8px;padding:10px 14px;font-size:14px;font-weight:700;line-height:1.3;color:#ffe5d9;background:#ff633d26;border:1px solid #ff8d6990;border-radius:11px;transition:background .15s,border-color .15s}.phone-upload-button:hover{background:#ff633d42;border-color:#ffad91}.phone-upload-button:focus-visible{outline:3px solid #ffad91;outline-offset:3px}.phone-upload-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.phone-dialog{position:relative;width:min(460px,90vw);padding:28px;border-color:#59675d}.phone-dialog #phone-title{font-family:inherit;font-size:26px;font-weight:750;line-height:1.25;letter-spacing:-.025em;text-transform:none;margin:8px 74px 16px 0}.phone-dialog #phone-close{position:absolute;right:20px;top:24px;float:none;margin:0;padding:8px 12px}.phone-dialog #phone-status{font-size:14px;line-height:1.6;color:#d4ddd5;margin:0 0 18px}.phone-dialog .solo-hint{font-size:12px;line-height:1.65}.phone-dialog #phone-use{float:none;width:100%;margin:18px 0 0;font-size:14px}.phone-dialog img{width:240px;margin:20px auto}@media(max-width:700px){.phone-upload-button{display:none}}

#wizard-step-3 #topic{height:58px;min-height:58px;resize:none;font:inherit;line-height:1.35;padding:8px 10px;width:100%;box-sizing:border-box}
@media(max-width:760px){#wizard-step-3 #topic{height:48px;min-height:48px;font-size:12px}}
#retail-single-link{font-size:11px;color:#ffad8d;text-decoration:underline;display:inline-block;margin-top:4px}

/* Content checks stay separate from cost errors and never imply a video submission. */
.content-review{margin:8px 0;padding:10px 12px;border:1px solid #776750;border-radius:12px;background:#24251e;color:#fff0d9;font-size:13px;line-height:1.45;flex-shrink:0}.content-review[hidden]{display:none}.content-review p{margin:0}.content-review .solo-action{min-height:44px;margin-top:6px;white-space:normal}.content-review[data-state="blocked"]{border-color:#c27968}.content-review[data-state="allowed"]{border-color:#71967b}.content-review button:focus-visible{outline:3px solid #ffad91;outline-offset:3px}

.content-review{scroll-margin-bottom:80px}
.content-review #cancel-content-review{margin-left:8px}
@media(max-width:480px){.content-review .solo-action{width:100%}.content-review #cancel-content-review{margin-left:0}}
