/* Shared signed-in workspace: readable controls, deliberate hierarchy. */
body{color:#282438;background:#f6f7fb;font-size:16px;line-height:1.5}
button,input,select,textarea{font-size:15px}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8373ed;outline-offset:3px}
header,.studio-header{background:#fff;border-bottom:1px solid #e2e3ed;gap:22px}.studio-header nav,header nav{font-size:14px;color:#514b65}.account-link{font-size:14px;color:#514b65}.studio-label{font-size:11px;color:#675c83}.save-indicator{font-size:12px;color:#625d71;max-width:260px}.save-copy,.secondary{font-size:14px;min-height:42px}.eyebrow{font-size:11px;color:#75638f;letter-spacing:.11em}
.app-studio main{max-width:1560px;padding:28px 4% 0}.project-heading{margin-bottom:26px;padding:0}.project-heading h1{font-size:32px;font-weight:700;margin:10px 0;letter-spacing:-.04em}.project-heading p{font-size:15px;color:#625d71}.project-format{font-size:14px}.project-format small{font-size:12px;color:#625d71}.workspace{gap:28px;grid-template-columns:minmax(440px,1fr) minmax(360px,1fr);align-items:start}.editor{box-shadow:0 4px 24px #28243805;border-color:#e1e2ed;border-radius:18px}.editor-tabs{background:#fbfaff}.editor-tabs button{font-size:14px;min-height:62px;font-weight:600;color:#696276}.editor-tabs button[aria-selected=true]{color:#5440bd;background:#f0edfc}.editor-tabs button b{font-size:12px}.editor-pane{padding:26px;max-height:750px}.pane-heading h2{font-size:25px;font-weight:700;line-height:1.25}.pane-heading p{font-size:15px;color:#625d71;line-height:1.6}.pane-heading{margin-bottom:24px}
.import-box label,.fields label,.scene-content label{font-size:14px;font-weight:600;color:#484157}.import-box input,.fields input,.scene-content textarea,.scene-bottom select{font-size:16px;color:#282438;line-height:1.5}.import-box button,.continue-button{font-size:15px;font-weight:650;min-height:46px}.import-box>p,.import-options small,.ai-choice,.source-details>p{font-size:13px;color:#625d71}.url-entry{flex-wrap:wrap}.url-entry input{min-width:130px}.url-entry button{padding:12px 16px}.brand-details summary,.source-details summary{font-size:16px;font-weight:650}.brand-details summary>span,.source-details summary>span{font-size:12px;font-weight:400;color:#625d71}.fields input{min-height:46px}.scene-row{grid-template-columns:82px minmax(0,1fr);padding:18px;gap:16px;border-color:#e3dfee;border-radius:13px}.scene-meta{font-size:12px;color:#655574;font-weight:600}.scene-content textarea{min-height:88px;padding:12px;border-color:#d6cfe6;background:#fff}.scene-bottom select{min-height:44px;font-size:14px}.scene-bottom small,.scene-content small{font-size:12px}.scene-row:focus-within{border-color:#9b87e6;box-shadow:0 0 0 3px #6953d410}.template strong{font-size:15px}.template small{font-size:12px;line-height:1.5;color:#625d71}.template{padding:12px}.templates{gap:12px}.sound-title h3{font-size:18px}.sound-title p,.sound-title a,.sound-control,.style-ready{font-size:14px;color:#625d71}.preview-heading h2{font-size:25px;font-weight:700}.preview-heading h2 span{font-size:12px;color:#625d71}.preview-guide,.format-badge{font-size:12px;color:#625d71}.preview-stage{background:radial-gradient(ellipse at 50% 30%,#f2eefb,#e8e9f2);border-color:#e0dfea}.transport button{width:42px;height:42px}.transport #time{font-size:12px;color:#514b65}.scene-strip span{font-size:11px}.scene-strip b{font-size:11px}.export-card{background:white;border:1px solid #e1e2ed;box-shadow:0 4px 24px #28243805}.export-card strong{font-size:18px}.export-card small,.export-card p,.export-assurance{font-size:13px;color:#625d71}#export{min-height:46px;font-size:15px;font-weight:650}footer{font-size:12px;color:#686174}.goal-control label,.brand-kit label,.crop-controls label{font-size:14px}.goal-control select,.goal-control textarea,.brand-kit button,.crop-controls select,.copy-tools button,.opening-tools button,.format-options button{font-size:14px;min-height:42px}.opening-tools{padding:18px}.opening-tools h3{font-size:18px;margin:0 0 12px}
.app-projects main{padding-top:38px}.intro{padding-bottom:28px}.intro h1{font-size:38px;margin:12px 0;font-weight:750}.intro>div>p{font-size:16px;color:#625d71}.library-note{display:block;transform:none;background:#fff;border-color:#e0dfea;padding:20px 26px;min-width:250px}.library-note>span{float:right;font-size:26px;margin:0 0 0 22px}.library-note p{font-size:14px!important;color:#625d71;margin:8px 0 0}.primary{font-size:15px;min-height:44px}.views button{font-size:15px;min-height:44px}.cloud-state,.list-meta,.project-sync,#project-message{font-size:13px}.project-info{padding:22px}.project-info h2{font-size:20px}.project-info p{font-size:13px;color:#625d71}.project-actions button{font-size:13px;min-height:40px}.project-cover>span{font-size:12px}.project-actions{gap:12px}.cloud-banner p{font-size:14px;color:#625d71}.cloud-banner strong{font-size:16px}
.account-layout{gap:70px;padding-top:55px}.account-story h1{font-size:42px;font-weight:750}.account-story>p,.account-card p{font-size:15px;color:#625d71}.account-card label{font-size:14px}.account-card input{font-size:16px;min-height:48px}.account-card h2{font-size:26px;font-weight:700}.account-benefits b{font-size:16px}.account-benefits small{font-size:14px;color:#625d71}.google-button{font-size:15px;min-height:50px}.auth-divider,.account-footnote{font-size:12px;color:#625d71}.text-link{font-size:14px;min-height:40px}.auth-next{padding:20px;background:#eeebfc;border:1px solid #dcd5f3;border-radius:14px;margin-top:24px}.auth-next strong{font-size:16px}.auth-next p{font-size:14px;color:#625d71;margin-bottom:0}.account-check{background:#e8f4e8;color:#326d43}
.generation-overlay{position:fixed;inset:0;z-index:9000;background:#f5f5fbea;backdrop-filter:blur(10px);display:grid;place-items:center;padding:24px;overflow:auto}.generation-overlay[hidden]{display:none}.generation-card{width:min(560px,100%);background:#fff;border:1px solid #e0dbea;border-radius:24px;padding:36px;box-shadow:0 24px 100px #3325531a}.generation-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.generation-top img{width:42px;height:42px}.generation-clock{font-variant-numeric:tabular-nums;font-size:14px;color:#625d71}.generation-card h2{font-size:28px;line-height:1.25;margin:0 0 12px}.generation-card p{font-size:15px;color:#625d71;line-height:1.65}.generation-status{display:flex;align-items:center;gap:12px;margin:24px 0;font-weight:600;color:#5140a1;font-size:15px}.generation-spinner{width:18px;height:18px;border:2px solid #e2dcf5;border-top-color:#6954d8;border-radius:50%;animation:generation-spin 1s linear infinite;flex-shrink:0}.generation-steps{display:grid;gap:0;padding:0;margin:0;list-style:none}.generation-steps li{display:flex;align-items:center;gap:12px;padding:13px 0;font-size:15px;color:#777181;border-bottom:1px solid #f0edf5}.generation-steps b{width:26px;height:26px;border-radius:50%;background:#f2f0f7;display:grid;place-items:center;font-size:12px}.generation-steps .active{color:#503eae;font-weight:650}.generation-steps .active b{background:#6c54d7;color:white}.generation-steps .done{color:#397049}.generation-steps .done b{background:#eaf3ed}.generation-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.generation-actions button{border:1px solid #d9d3e7;background:white;color:#514b65;padding:11px 18px;border-radius:9px;font:600 14px 'DM Sans',sans-serif;min-height:44px}.generation-actions .retry{background:#6454e8;color:#fff;border-color:#6454e8}.generation-overlay[data-error=true] .generation-spinner{display:none}.generation-note{font-size:13px!important;margin-bottom:0}@keyframes generation-spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.studio-header{gap:12px}.studio-label,.header-divider{display:none}.workspace{grid-template-columns:minmax(360px,1fr) minmax(300px,.9fr);gap:20px}.editor-pane{padding:20px}.url-entry button{width:100%}.account-layout{gap:30px}}
@media(max-width:760px){.app-studio main{padding:24px 16px 0}.project-heading h1{font-size:28px}.project-heading p{font-size:14px}.workspace{display:flex;flex-direction:column}.editor,.preview-panel{width:100%;min-width:0}.editor-pane{max-height:none;padding:20px 16px}.editor-tabs button{font-size:13px;min-height:56px;padding:10px 6px}.pane-heading h2{font-size:23px}.scene-row{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:14px 10px}.scene-content textarea,.scene-bottom select{font-size:16px}.scene-meta{font-size:11px}.studio-header .save-indicator{font-size:12px}.studio-header .secondary{font-size:13px}.generation-card{padding:26px 22px}.generation-card h2{font-size:25px}.generation-overlay{padding:16px}.account-story h1{font-size:32px}.account-layout{padding-top:30px}.app-projects .intro h1{font-size:32px}.project-info h2{font-size:20px}.project-actions button{min-height:44px}.preview-heading h2{font-size:23px}.preview-panel .export-row{gap:12px}.save-indicator{max-width:100%}.template strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.generation-spinner{animation:none;border-color:#6954d8}}
.studio-toolbox label,.scene-tools label{font-size:14px}.studio-toolbox p,.scene-tools p{font-size:13px}.studio-toolbox button,.scene-tools button{font-size:14px;min-height:42px}.studio-toolbox summary,.scene-tools summary{font-size:14px;min-height:32px}.studio-toolbox h3{font-size:18px}.studio-toolbox{padding:18px;margin:16px 0}.studio-toolbox input[type=file],.scene-tools input[type=file]{font-size:13px}
@media(max-width:760px){.studio-header #demo{display:none}.studio-header .account-link{margin-left:0}.studio-header nav{margin-left:auto}.studio-header .brand{font-size:23px}.studio-header .save-indicator{margin-top:0}.account-layout .account-card{margin-top:0}.app-account header{gap:14px;padding:16px;height:auto;flex-wrap:wrap}.app-account header .primary{margin-left:auto}}
/* Status IDs override the legacy compact export styles. */
#status,#import-status{font-size:14px;line-height:1.65;color:#625d71}#status.error{color:#a23f42}#download,#fallback{font-size:15px;line-height:1.5;min-height:44px}#preview-scene{font-size:12px}#time{font-size:12px}.mobile-dock button{font-size:14px}
/* Quiet defaults; actionable warnings remain visible. */
.studio-header #save-state[hidden],#storage-note[hidden],.project-sync[hidden],#cloud-state[hidden],#project-subtitle[hidden],#status[hidden]{display:none!important}.studio-header nav{margin-left:auto}.studio-header #save-state:not([hidden]){margin-left:auto}.studio-header #save-state:not([hidden])~nav{margin-left:0}
.generation-card .generation-estimate{margin:-10px 0 18px;font-weight:600;color:#5140a1;font-variant-numeric:tabular-nums}.generation-card .generation-delay{padding:12px 14px;background:#fff8e9;border:1px solid #efdfb9;border-radius:10px;color:#75571c;font-size:14px}.generation-card [hidden]{display:none!important}
