/* Prompter360 Signature — airy lavender studio with a dark reading stage */
:root{--accent:#7150C7;--bg:#F8F7FB;--ice:#F0EBFA;--text:#30283C;--muted:#756A83;--line:#E7E1EE;--shadow:0 5px 24px #442A6505;background:var(--bg);color:var(--text)}
body{background:var(--bg)}header{background:#FFFFFF;border-color:#EAE5F1}.brand-mark{background:#F0EBFA;color:var(--accent)}.brand .muted{color:var(--accent)}#plansLink{background:#F3EEFB;color:#6E4CAF}#accountLink{background:#30263D;border-color:#30263D}#accountLink:hover{background:#4A395E}button.play,a.play{background:#7653CD;border-color:#7653CD;box-shadow:0 5px 14px #7653CD18}button.play:hover,a.play:hover{background:#6542B7;border-color:#6542B7}.intro h1{font-weight:500}.intro h1>span{color:#8C73AA}.premium-banner{background:#F1ECF9;border-color:#E4D9F0}.premium-banner .eyebrow{color:#8662A4}.premium-banner p{color:#7C698D}.premium-banner h2{font-weight:500}.project-toolbar,.workspace aside{box-shadow:0 6px 25px #4A2F6704}.saved{color:#7B6F84}.settings output{background:#F3EEFB;color:#7653B6}#title,#authForm input:not([type=checkbox]){border-color:#E4DCEC;background:#FCFAFE}.toggle-row input[type=checkbox]{background:#DAD2E4}.toggle-row input:checked{background:var(--accent)}
/* Reading stays deliberately black, with a restrained violet focus. */
.stage{background:#0B0A0F;color:#F3EFF8;border:1px solid #292431;box-shadow:0 12px 30px #39234312;color-scheme:dark}.stage-head{background:#111016;border-color:#282330;color:#A9A0B6}.stage-head i{background:#BFA5EB}.viewport{background:#0B0A0F}#script{color:#F4F0FA;font-weight:400;letter-spacing:-.5px}.focus{background:#B89DDE0B;border-left-color:#B99BDF}.transport{background:#131017;border-top-color:#282230}.progress{background:#2B2234}.progress>div{background:#C2A6ED}.stage .controls #reset{color:#C6BDD2}.stage .controls #play{background:#E5D9FA;border-color:#E5D9FA;color:#4B3265;box-shadow:none}.stage .controls #play:hover{background:#F0E7FE}.stage #percent{color:#ABA0B8}.stage .transport p{color:#9D92AA}.recording-active .stage{outline-color:#AA8BD0}.recording-active #stopRecording{background:#3D2636;color:#F5D5E8;border-color:#674059}
/* Welcome and account surfaces retain clear, readable supporting text. */
.welcome-product{background:#F2EDF9}.welcome-kicker{color:#8F75A7}.welcome-description{color:#51415F}.welcome-product>h2>span{color:#8A65C5}.welcome-brand b{color:#7753C4}.welcome-icon{border-color:#E9DFF4;background:#FFFEFF;color:#9069B6}.welcome-features strong{color:#3B2C49}.welcome-features small{color:#756083}.welcome-caption{border-color:#DED1EB}.welcome-caption>span{color:#5D436F}.welcome-caption>small{color:#82708F}.welcome-auth-description{color:#64566F}.auth-content .eyebrow{color:#947BAC}.google-login{border-color:#E4D9EF;box-shadow:0 3px 12px #6A428008}.google-login:hover{background:#FBF8FF}.device-screen{background:#15111D;border-color:#211A2D;color:#F6EFFC}.welcome-device{background:#BDAEC8;border-color:#9E8FAA;box-shadow:0 18px 28px #5A3B7621}.device-buttons{background:#AD99BC;box-shadow:0 32px 0 #AD99BC}.device-camera{background:#08060D}.device-camera:after{background:#4A365F}.device-top{color:#C8BBD5}.device-viewfinder span{border-color:#BFA7D9}.device-script p{color:#F9F4FF}.device-highlight{background:#C3A2EF0D;border-left-color:#B597D8}.device-progress{background:#362740}.device-progress i{background:#C8ABEE}.device-controls>div{color:#C6B4D7}.device-record{border-color:#B99ACF}.device-record i{background:#C2A3E4}.device-home{background:#B19ABE}.device-reading{color-scheme:dark}
.benefits{background:#FBF9FE;border-color:#ECE3F5;color:#3F304C}.plans .recommended{background:#F4EEFC;border-color:#C8B2E2}.plans .recommended>.offer{color:#84609F;background:#E9DDF6}.plans h3{font-weight:500}.account-plan{background:#F5EFFC;border-color:#E4D7F2}.plan-status{border-color:#DFD0ED;color:#87669F}.profile-info dt{color:#82708F}.profile-info dd{color:#382A46}.account-plan p{color:#766082}.camera-settings select{border-color:#E3D8ED}.camera-settings{background:#FBF9FD}.effect-preview canvas{background:#F2EDF8;border-color:#E5DAEF}.studio-toast{border-color:#DECFEB;border-left-color:#8862BE;box-shadow:0 12px 35px #51336B16}.toast-icon{background:#F0E8FA;color:#835AB8}.studio-toast strong{color:#473156}.studio-toast>div>span{color:#7A6589}.session-loading{background:#F8F7FB}.session-loading strong{color:#3C2C48}.session-loading strong span{color:#7852C4}body.auth-required{background:#F8F7FB}#authDialog{border-color:#E8DEEF;box-shadow:0 24px 80px #55347712}dialog::backdrop{background:#30213F40}
/* Password actions share the same signature palette. */
.action-shell .action-brand{color:#30283C}.action-shell .action-brand span{color:#7150C7}.action-card{border-color:#E7E1EE;box-shadow:0 8px 30px #442A6506}.action-card h1,.action-card #passwordForm label{color:#30283C}.action-card p,.action-footer{color:#756A83}.action-card #passwordForm input{background:#FCFAFE;border-color:#E4DCEC;color:#30283C}.action-card .back-link{color:#7150C7}
/* Pricing: clear text, aligned cards and readable billing details */
#plansDialog{width:min(800px,calc(100vw - 32px));padding:32px}
#plansDialog>.eyebrow{font-size:11px;line-height:1.5;color:#714FB2}
#plansDialog .dialog-title{font-size:32px;font-weight:600;line-height:1.25;margin:19px 0 15px;color:#30243B}
#plansDialog>p{font-size:15px;line-height:1.7;color:#594966}
#plansDialog .benefits{font-size:14px;line-height:1.75;gap:16px;padding:22px;color:#3F304B}
#plansDialog .benefits li{font-weight:500}
#plansDialog .plans article{gap:15px;padding:25px;display:grid;grid-template-rows:minmax(30px,auto) auto auto minmax(44px,auto) auto auto;align-content:start}
#plansDialog .plans article>.plan-kicker,#plansDialog .plans .recommended>.offer{display:flex;align-items:center;align-self:start;min-height:30px;font-size:10px;line-height:1.5;letter-spacing:.8px;color:#6C4F85;margin:0}
#plansDialog .plans article>span:not(.offer):not(.plan-kicker){font-size:18px;font-weight:600;line-height:1.5;color:#33243F}
#plansDialog .plans h3{font-size:43px;line-height:1.2;font-weight:600;margin:12px 0;color:#30243B;font-variant-numeric:tabular-nums}
#plansDialog .plans h3 small{font-size:14px;color:#695574}
#plansDialog .plans article>p{font-size:14px;line-height:1.7;color:#5F4D6D;margin:0}
#plansDialog .plans article>small{font-size:12px;line-height:1.7;color:#62506F;margin:0}
#plansDialog .plans button{font-size:14px;min-height:46px;align-self:end;margin:0}
#plansDialog>.payment-note{font-size:12px;color:#6E5A7B;line-height:1.75}
@media(max-width:700px){#plansDialog{padding:27px 21px}#plansDialog .dialog-title{font-size:28px}#plansDialog .plans article{padding:22px}#plansDialog .benefits{padding:18px}#plansDialog .plans h3{font-size:40px}}

.background-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.background-gallery button{display:flex;flex-direction:column;align-items:stretch;justify-content:end;gap:0;padding:0;overflow:hidden;border:1px solid #dcd2e8;background:#f7f3fc;min-height:104px}.background-gallery img{display:block;width:100%;height:75px;object-fit:cover}.background-gallery button>span{font-size:12px;padding:9px;text-align:center;color:#533c68}.background-gallery button:focus-visible{outline:3px solid #c6aedf}.camera-settings #effectSummary{font-size:12px;line-height:1.7;color:#5e4674;background:#f2eafa;border-radius:8px;padding:10px;margin-bottom:12px}#compareEffects{font-size:12px;margin-bottom:20px;min-height:42px}#compareEffects[aria-pressed=true]{background:#7350b6;color:#fff;border-color:#7350b6}

/* Mobile camera dialog: bounded width and vertical-only page movement. */
html,body{max-width:100%;overflow-x:clip}
body:has(#cameraDialog[open]){overflow:hidden}
#cameraDialog{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:28px;scrollbar-gutter:stable}
#cameraDialog>*{min-width:0;max-width:100%}
#cameraDialog .effect-preview{width:100%;min-width:0;overflow:hidden;margin:16px 0}
#cameraDialog #effectPreview{width:100%;max-width:100%;height:auto;max-height:36dvh;object-fit:contain;display:block}
#cameraDialog .camera-settings{min-width:0;overflow:hidden;padding:17px}
#cameraDialog select{width:100%;max-width:100%;min-width:0;margin:8px 0 0;box-sizing:border-box}
#cameraDialog input[type=range]{display:block;width:100%;min-width:0;margin:17px 0;touch-action:pan-y}
#cameraDialog input[type=file]{width:100%;min-width:0}
#cameraDialog p{overflow-wrap:anywhere}
#cameraDialog .background-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:100%;margin:18px 0}
#cameraDialog .background-gallery button{display:flex;flex-direction:column;min-width:0;min-height:92px;height:92px;max-width:100%;padding:0;overflow:hidden;border-radius:10px;justify-content:flex-end}
#cameraDialog .background-gallery .background-thumb{display:block;width:100%;height:58px;min-height:58px;padding:0;background-size:cover;background-position:center;flex-shrink:0}
#cameraDialog .background-office{background-image:url('/assets/backgrounds/office.png')}
#cameraDialog .background-library{background-image:url('/assets/backgrounds/library.png')}
#cameraDialog .background-gallery button>span:not(.background-thumb){padding:8px 3px;font-size:11px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#cameraDialog .background-gallery button[aria-pressed=true]{border-color:#835cbd;box-shadow:inset 0 0 0 1px #835cbd;background:#ede3fa}
@media(max-width:700px){#cameraDialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:23px 16px;border-radius:17px;scrollbar-gutter:auto}#cameraDialog .dialog-title{font-size:25px;padding-right:25px}#cameraDialog>p{font-size:12px}#cameraDialog .camera-settings{padding:14px;margin:16px 0}#cameraDialog .camera-settings>label{font-size:12px}#cameraDialog .camera-settings p{font-size:11px}#cameraDialog #effectPreview{max-height:32dvh}#cameraDialog select{font-size:16px;min-height:44px}#cameraDialog #compareEffects,#cameraDialog #resetEffects{min-height:44px}#cameraDialog .background-gallery{gap:7px}#cameraDialog #startRecording{min-height:48px}}

/* Recording always occupies the screen, with a mobile fallback to native fullscreen. */
body.recording-focus{overflow:hidden;overscroll-behavior:none}
body.recording-focus .stage{position:fixed;inset:0;width:100%;height:100dvh;z-index:1000;display:flex;flex-direction:column;border:0;border-radius:0;margin:0;box-shadow:none;padding-top:env(safe-area-inset-top);background:#0B0A0F;outline:0}
body.recording-focus .stage .stage-head{flex-shrink:0;padding:16px max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left))}
body.recording-focus .stage .viewport{flex:1;min-height:0;height:auto;width:100%}
body.recording-focus .stage #script{padding-top:115px;padding-bottom:55dvh}
body.recording-focus .stage .focus{top:115px}
body.recording-focus .stage .transport{flex-shrink:0;padding-bottom:max(16px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
body.recording-focus .stage #stopRecording{display:inline-flex;min-height:44px}
@media(max-width:700px){body.recording-focus .stage .stage-head{font-size:9px;padding-top:13px;padding-bottom:13px}body.recording-focus .stage .controls{gap:12px}body.recording-focus .stage .transport p{font-size:9px;margin-top:10px}}

#legalDialog{width:min(760px,calc(100vw - 24px));overflow-x:hidden}#legalDialog .dialog-title{padding-right:28px;font-size:26px}.legal-content{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.legal-content h3{font-size:16px;font-weight:600;color:#40304e;margin:25px 0 10px}.legal-content p{font-size:14px;color:#594965;line-height:1.85}.legal-content .legal-draft-note{background:#fff8ec;border:1px solid #ead8b6;border-radius:10px;padding:14px;font-size:12px;color:#805c28}.legal-owner{white-space:pre-line;background:#f6f2fb;border:1px solid #e5dbee;border-radius:10px;padding:15px;font-size:12px!important}#legalDialog>button:last-child{margin-top:15px}@media(max-width:700px){#legalDialog{padding:24px 18px}.legal-content p{font-size:13px}.legal-content h3{font-size:15px}#legalDialog .dialog-title{font-size:23px}}

.shopier-verify{border:1px solid #dfd2ed;border-radius:14px;padding:20px;margin-top:20px;background:#faf7ff}.shopier-verify h3{font-size:18px}.shopier-verify p{font-size:13px;line-height:1.7;color:#62506f}.shopier-verify a{display:inline-block;text-decoration:none;border-radius:10px;font-size:13px;margin-bottom:12px}.shopier-verify form{display:grid;gap:10px}.shopier-verify label{font-size:12px;font-weight:600}.shopier-verify input{width:100%;padding:12px;border:1px solid #d8cae5;border-radius:10px;color:#392a45;background:white}.shopier-verify #shopierMessage{font-size:13px;color:#654e7a;overflow-wrap:anywhere}

/* Shopier automatic activation: calm progress, optional manual assistance. */
.shopier-step-label{font-size:11px;font-weight:750;letter-spacing:.12em;color:#7150b4;margin-bottom:10px}
.shopier-verify h3{margin-top:0;color:#2c233e;font-size:24px;line-height:1.3}
.shopier-email-note{font-size:14px!important;color:#514563!important;line-height:1.7;overflow-wrap:anywhere}
.shopier-email-note strong{color:#2e2441;font-weight:700}
.shopier-auto-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #e5dcf2;border-radius:16px;padding:18px;margin:20px 0 12px;min-width:0}
.shopier-auto-card>div{min-width:0}.shopier-auto-card strong{font-size:16px;color:#302440;line-height:1.5}
.shopier-auto-card p{margin:6px 0 0!important;font-size:14px!important;line-height:1.7;color:#554a66!important}
.shopier-auto-indicator{width:18px;height:18px;flex:0 0 18px;margin-top:3px;border-radius:50%;border:2px solid #ddd0ef;border-top-color:#7751c5;box-sizing:border-box}
.shopier-verify[data-state=checking] .shopier-auto-indicator{animation:shopier-check-spin 1s linear infinite}
.shopier-verify[data-state=error] .shopier-auto-indicator{border-color:#c19858;background:#fff8e9}
.shopier-auto-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.shopier-auto-actions button{border:1px solid #ddd0ef;border-radius:10px;background:#fff;color:#62409f;font-size:14px;font-weight:650;padding:10px 14px;min-height:44px}
.shopier-auto-actions span{font-size:13px;color:#665975}
.shopier-help{border-top:1px solid #dfd5eb;margin-top:22px;padding-top:18px}
.shopier-help summary{cursor:pointer;font-size:14px;font-weight:650;color:#594775;line-height:1.6;min-height:30px}
.shopier-help p,.shopier-help>a{font-size:14px!important;line-height:1.7}.shopier-help form{display:grid;gap:10px;margin:14px 0}
.shopier-help button{min-height:44px;background:#fff;border:1px solid #d9cbe9;color:#52398a;border-radius:10px;font-weight:650;padding:12px}
#planMessage.payment-success{padding:16px 18px;border:1px solid #bcdccf;border-radius:14px;background:#f0faf5;color:#225a45;font-size:16px;font-weight:650;line-height:1.6}
@keyframes shopier-check-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.shopier-verify[data-state=checking] .shopier-auto-indicator{animation:none}}
@media(max-width:600px){.shopier-auto-card{padding:14px;gap:10px}.shopier-auto-actions{align-items:stretch;flex-direction:column}.shopier-auto-actions button{width:100%}.shopier-verify h3{font-size:21px}#shopierCheckoutLink{width:100%;box-sizing:border-box;justify-content:center;text-align:center}}

/* Unified studio sheets: predictable steps and fixed action areas. */
body.studio-sheet-open{position:fixed;top:var(--studio-scroll-top,0);left:0;right:0;width:100%;overflow:hidden;overscroll-behavior:none}
.studio-sheet[open]{display:flex;flex-direction:column;box-sizing:border-box;position:fixed;inset:0;margin:auto;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0!important;border:1px solid #e5ddec;border-radius:24px;overflow:hidden!important;scrollbar-gutter:auto!important;background:#fff;box-shadow:0 24px 90px #36244726}
.studio-sheet [hidden]{display:none!important}.studio-sheet button,.workspace-switch button{touch-action:manipulation}
.sheet-kicker{font-size:10px;font-weight:750;letter-spacing:.14em;color:#7657a4;line-height:1.6}
.studio-sheet .close{position:static;flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:0;background:#f5f1fa;border:0;color:#79658c;font-size:20px;border-radius:50%;display:grid;place-items:center}
.quiet-button{border:1px solid #e5ddec;background:#fff;border-radius:10px;color:#654a85;min-height:40px;padding:9px 12px;font-size:12px;font-weight:650}
#plansDialog.studio-sheet{width:760px;height:min(740px,calc(100dvh - 32px))}
.payment-sheet-head{display:flex;justify-content:space-between;gap:18px;padding:25px 28px 16px;flex-shrink:0}
#plansDialog h2#paymentHeading{font-size:30px;line-height:1.2;letter-spacing:-.8px;color:#30243e;margin:8px 0 9px;outline:0}
#paymentIntro{font-size:14px;color:#675971;line-height:1.6;margin:0;max-width:540px}
.payment-steps{display:flex;list-style:none;margin:0;padding:0 28px 17px;gap:20px;border-bottom:1px solid #eee7f3;flex-shrink:0}
.payment-steps li{display:flex;align-items:center;gap:8px;color:#81758e;font-size:12px;font-weight:600}
.payment-steps li>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #e3d9ed;border-radius:50%;font-size:11px}
.payment-steps li[aria-current=step]{color:#6c48aa}.payment-steps li[aria-current=step]>span{background:#7351bd;border-color:#7351bd;color:white}
.payment-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 28px;scrollbar-width:thin;scroll-padding:16px}
.premium-highlights{display:flex;flex-wrap:wrap;gap:9px 15px;font-size:12px;font-weight:600;color:#604e72;margin-bottom:19px}
#plansDialog .plans{gap:16px;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#plansDialog .plans article{display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:18px;min-width:0}
#plansDialog .plans article>.plan-kicker,#plansDialog .plans article>.offer{min-height:25px;letter-spacing:.045em;font-size:9px}
#plansDialog .plans article>span:not(.offer):not(.plan-kicker){font-size:17px}
#plansDialog .plans h3{font-size:38px;line-height:1.15;margin:7px 0}
#plansDialog .plans h3 small{font-size:12px;white-space:nowrap}
#plansDialog .plans article>p{font-size:13px;line-height:1.6;min-height:40px}
#plansDialog .plans article>small{font-size:11px;line-height:1.6}
#plansDialog .plans button{margin-top:auto;width:100%;font-size:13px;min-height:45px}
.premium-details{margin-top:18px}.premium-details summary{font-size:13px;color:#685078;font-weight:600;cursor:pointer;min-height:28px}
#plansDialog .premium-details .benefits{padding:14px;margin-top:10px;font-size:12px;gap:8px}
#plansDialog .payment-note{font-size:12px;color:#6c6176;line-height:1.6;margin:12px 0 0}
.payment-trust{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;padding:12px 18px max(12px,env(safe-area-inset-bottom));font-size:11px;line-height:1.6;color:#766b80;background:#fcfaff;border-top:1px solid #eee7f3;flex-shrink:0}
#plansDialog #shopierVerify{max-width:540px;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent}
.checkout-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #eee7f3}
#plansDialog #shopierPlan{font-size:23px;line-height:1.35;margin:7px 0 0;color:#352742;font-weight:650}
#shopierCheckoutLink{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:50px;box-sizing:border-box;margin-bottom:14px;font-size:15px!important;font-weight:650;border-radius:12px}
#plansDialog .shopier-email-note{font-size:13px!important;line-height:1.7;margin:10px 0 0}
.shopier-email-note strong{display:block}.shopier-auto-card{margin-top:18px;padding:16px}
.shopier-auto-card strong{font-size:14px}.shopier-auto-card p{font-size:13px!important}
.shopier-help{margin-top:16px;padding-top:16px}.shopier-help summary{font-size:12px;min-height:36px}.shopier-help .shopier-auto-actions{margin:10px 0}.shopier-help p{font-size:12px!important}
#planMessage:empty{display:none}#planMessage{font-size:13px;line-height:1.7;color:#66478a;margin:14px 0 0;overflow-wrap:anywhere}
#plansDialog[data-step=success] #planMessage{display:none}
.payment-success-view{text-align:center;max-width:440px;margin:20px auto;padding:12px 0}
.payment-success-icon{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;font-size:30px;color:#6544a4;background:#eee7f8;border:1px solid #dfd0ee}
.payment-success-view h3{font-size:25px;color:#332642;margin:0 0 12px}.payment-success-view p{font-size:14px;line-height:1.8;color:#64566f}.payment-success-view .play{min-height:48px;padding:12px 28px;margin-top:18px}
/* Camera always fits the viewport. Only the active settings panel may scroll. */
#cameraDialog.studio-sheet{width:940px;height:min(720px,calc(100dvh - 32px));touch-action:auto}
.camera-sheet-head{display:flex;justify-content:space-between;gap:18px;padding:23px 26px 18px;flex-shrink:0;border-bottom:1px solid #eee7f3}
#cameraHeading{font-size:27px;line-height:1.2;letter-spacing:-.7px;color:#30243e;margin:6px 0 8px}
#cameraDialog #cameraMessage{font-size:13px;line-height:1.55;margin:0;color:#66566f;max-width:650px}
.camera-sheet-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);flex:1;min-height:0;gap:0}
.camera-view{display:flex;flex-direction:column;min-width:0;min-height:0;padding:22px;background:#f8f5fc;border-right:1px solid #eee7f3}
#cameraDialog .effect-preview{position:relative;flex:1;min-height:0;margin:0;border:1px solid #e4daef;border-radius:17px;background:#eee8f6;overflow:hidden;display:flex;align-items:center;justify-content:center}
#cameraDialog #effectPreview{width:100%;height:100%;max-height:none;object-fit:contain;border:0;border-radius:0;background:transparent}
#cameraDialog #cameraPreview{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;margin:0}
.preview-badge{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:7px;border-radius:30px;padding:7px 10px;font-size:10px;font-weight:650;color:#57436d;background:#ffffffeb;border:1px solid #e5dced}
.preview-badge i{width:6px;height:6px;background:#8b75ac;border-radius:50%}
.camera-view-caption{font-size:11px!important;line-height:1.6!important;color:#756581!important;margin:12px 0 0!important;flex-shrink:0}
#cameraDialog .camera-settings{display:flex;flex-direction:column;min-height:0;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:#fff;overflow:hidden}
.camera-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:14px 16px 0;flex-shrink:0;background:#fff}
.camera-tabs button{min-height:42px;padding:8px 5px;border:0;border-bottom:2px solid transparent;border-radius:8px 8px 0 0;background:transparent;color:#776786;font-size:12px;font-weight:600;white-space:nowrap}
.camera-tabs button[aria-selected=true]{color:#6f49b0;border-bottom-color:#8156c1;background:#f7f2fd}
.camera-options{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 20px 12px;scrollbar-width:thin}
#cameraDialog .camera-options h3{font-size:19px;line-height:1.35;color:#392a45;margin:0 0 12px}
#cameraDialog .camera-options p{font-size:13px;line-height:1.75;color:#6b5b76;margin:0 0 17px}
#cameraDialog .camera-options label{display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:#483554;margin-bottom:9px}
#cameraDialog .camera-options select{min-height:44px;margin:0;font-size:14px;padding:10px 12px;border-color:#e4d9ee;background:#fcfaff}
.camera-checklist{display:grid;gap:13px;margin-top:24px;font-size:12px;color:#756083;line-height:1.6}
.camera-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}
#cameraDialog .camera-panel-heading h3{font-size:17px;margin:0}
#cameraDialog #compareEffects{margin:0;padding:8px 10px;min-height:36px;white-space:nowrap;font-size:11px}
.camera-slider{margin:0 0 20px}#cameraDialog .camera-slider input[type=range]{margin:12px 0 0;min-height:24px;touch-action:pan-x}
#cameraDialog .camera-slider output{color:#7650ae;font-size:12px}
#cameraDialog #resetEffects{min-height:40px;font-size:12px;margin:0}
#cameraDialog .camera-subtle{font-size:11px!important;line-height:1.6!important;color:#84718e!important;margin-top:12px!important}
#cameraDialog .background-gallery{margin:0 0 19px;gap:9px}
#cameraDialog .background-gallery button{height:96px;min-height:96px}
#cameraDialog .background-gallery .background-thumb{height:64px;min-height:64px}
.background-natural{background:#e8e0f1;position:relative}.background-natural:after{content:'○';display:grid;place-items:center;height:100%;font-size:27px;color:#a18bb7}
.camera-effect-status{flex-shrink:0;border-top:1px solid #f0eaf5;padding:10px 18px;background:#fdfbff}
#cameraDialog .camera-effect-status #effectSummary{background:none;padding:0;margin:0;font-size:11px;line-height:1.5;color:#6e5187}
#cameraDialog .camera-effect-status #effectsStatus{font-size:10px;line-height:1.5;color:#8a7797;margin:3px 0 0;max-height:32px;overflow-y:auto}
.camera-sheet-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px max(16px,env(safe-area-inset-bottom));border-top:1px solid #e9e0f1;background:#fff;flex-shrink:0}
#cameraDialog #recordingPolicy{font-size:11px;line-height:1.65;color:#776384;max-width:480px;margin:0}
#cameraDialog #startRecording{display:flex;align-items:center;justify-content:center;gap:9px;width:auto;min-width:190px;min-height:48px;margin:0;padding:12px 24px;font-size:14px;border-radius:12px;flex-shrink:0}
#startRecording>span{font-size:14px}
/* A quieter, app-like workspace on web and mobile. */
main .intro{padding-top:26px;margin-bottom:24px}main .intro h1{font-size:34px;line-height:1.2;margin:9px 0}main .intro h1 br{display:none}main .intro h1 span{margin-left:.15em}main .intro p{font-size:14px}
main .premium-banner{padding:19px 22px;margin-bottom:20px}main .premium-banner h2{font-size:22px;line-height:1.3;margin:7px 0}main .premium-banner p{font-size:13px}
main .workspace-caption{margin:24px 0 13px}.workspace-switch{display:none}
@media(max-width:800px){
 .studio-sheet[open]{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}
 #cameraDialog.studio-sheet{width:calc(100vw - 16px);height:calc(100dvh - 16px)}
 .camera-sheet-head{padding:17px 18px 13px;gap:10px}#cameraHeading{font-size:23px;margin:4px 0 6px}#cameraDialog #cameraMessage{font-size:12px;line-height:1.5}
 .camera-sheet-body{display:flex;flex-direction:column}
 .camera-view{flex:0 0 min(27dvh,220px);padding:12px 16px 0;border-right:0;box-sizing:border-box;background:#f8f5fc}
 .camera-view-caption{display:none}.camera-view .effect-preview{min-height:0}#cameraDialog .camera-settings{flex:1;border-top:0}
 .camera-tabs{padding:10px 16px 0}.camera-tabs button{min-height:40px}
 .camera-options{padding:15px 18px 9px}#cameraDialog .camera-options h3{font-size:17px;margin-bottom:9px}#cameraDialog .camera-options p{font-size:12px;margin-bottom:13px}
 .camera-checklist{grid-template-columns:1fr 1fr;gap:7px;margin-top:15px;font-size:10px}.camera-checklist>span:last-child{grid-column:1/-1}
 .camera-panel-heading{margin-bottom:12px}.camera-slider{margin-bottom:12px}#cameraDialog .camera-slider input[type=range]{margin-top:6px;min-height:21px}
 #cameraDialog .camera-options label{font-size:12px;margin-bottom:7px}#cameraDialog .camera-options select{font-size:16px}
 .camera-effect-status{padding:7px 18px}#cameraDialog .camera-effect-status #effectsStatus{max-height:27px;font-size:10px}
 .camera-sheet-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:10px}
 #cameraDialog #recordingPolicy{font-size:10px;line-height:1.5;max-width:50%}#cameraDialog #startRecording{min-width:155px;min-height:48px;font-size:13px;padding:11px 14px}
}
@media(max-width:700px){
 #plansDialog.studio-sheet{width:calc(100vw - 16px);height:min(740px,calc(100dvh - 16px))}
 .payment-sheet-head{padding:21px 19px 14px;gap:12px}#plansDialog h2#paymentHeading{font-size:25px;margin:6px 0 8px}
 #paymentIntro{font-size:12px;line-height:1.65}.payment-steps{padding:0 19px 14px;gap:18px}.payment-steps li{font-size:11px}
 .payment-scroll{padding:17px 17px 20px}.premium-highlights{font-size:10px;gap:7px 11px;margin-bottom:15px}
 #plansDialog .plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#plansDialog .plans article{padding:15px 12px;gap:10px;border-radius:15px}
 #plansDialog .plans article>span:not(.offer):not(.plan-kicker){font-size:14px}#plansDialog .plans article>.offer,#plansDialog .plans article>.plan-kicker{font-size:8px;letter-spacing:0;line-height:1.5;min-height:30px;padding:4px 0}
 #plansDialog .plans article>.offer{padding:4px 6px}#plansDialog .plans h3{font-size:32px;margin:3px 0}#plansDialog .plans h3 small{display:block;font-size:11px;margin-top:5px}
 #plansDialog .plans article>p{font-size:11px;line-height:1.6;min-height:36px}#plansDialog .plans article>small{font-size:10px;line-height:1.65}#plansDialog .plans button{font-size:11px;padding:10px 7px;min-height:44px}
 #plansDialog #shopierPlan{font-size:21px}.checkout-summary{padding-bottom:14px;margin-bottom:16px;gap:8px}.checkout-summary .quiet-button{font-size:11px;padding:8px;white-space:nowrap}
 .payment-trust{font-size:9px;gap:5px}.payment-success-view{margin:10px auto}.payment-success-view h3{font-size:23px}
 header{position:sticky;top:0;z-index:20;background:#fcfaffef;backdrop-filter:blur(12px)}
 main .intro{padding-top:20px;margin-bottom:18px}main .intro h1{font-size:25px}main .intro .eyebrow{font-size:9px}main .intro p{font-size:12px}main .intro .saved{display:none}
 main .premium-banner{padding:14px 16px;gap:12px;margin-bottom:16px}main .premium-banner .eyebrow,main .premium-banner p{display:none}main .premium-banner h2{font-size:16px;margin:0;max-width:180px}main .premium-banner .play{min-height:40px;font-size:11px;padding:9px 11px;white-space:nowrap}
 main .project-toolbar{padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:20px}main .project-toolbar strong{font-size:13px}main .project-toolbar p{font-size:10px;line-height:1.6;margin-top:5px}#createProject{min-height:46px;padding:11px 15px;font-size:12px;white-space:nowrap}
 main .workspace-caption{margin:0 0 12px;font-size:10px}.workspace-caption>span:last-child{display:none}
 .workspace-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #e7dfef;border-radius:13px;background:#f1ebf8;margin-bottom:12px}
 .workspace-switch button{border:0;border-radius:9px;background:transparent;color:#78658c;min-height:42px;font-size:13px;font-weight:650}
 .workspace-switch button[aria-pressed=true]{background:#fff;color:#6b48a5;box-shadow:0 2px 6px #49305f08}
 .workspace{display:block}.workspace>aside{padding:20px}body:not(.recording-focus) .workspace[data-view=editor]>.stage,body:not(.recording-focus) .workspace[data-view=preview]>aside{display:none}
 .workspace .viewport{height:min(43dvh,360px)}.workspace #editor{min-height:160px;height:24dvh;max-height:260px}
}
@media(max-height:540px) and (max-width:800px){.camera-sheet-head{padding:12px 16px}#cameraHeading{font-size:20px}.camera-view{flex-basis:25dvh}.camera-effect-status{display:none}.camera-sheet-footer{padding:8px 14px}#cameraDialog #startRecording{min-height:42px}.camera-sheet-head .sheet-kicker{display:none}}
/* Fine alignment for compact pricing and short desktop viewports. */
@media(max-width:700px){#plansDialog .plans article>.plan-kicker,#plansDialog .plans .recommended>.offer{box-sizing:border-box;min-height:36px;height:36px;font-size:9px;line-height:1.5;letter-spacing:0}}
@media(min-width:801px) and (max-height:800px){.camera-slider{margin-bottom:12px}.camera-panel-heading{margin-bottom:12px}#cameraDialog .camera-slider input[type=range]{margin-top:7px;min-height:20px}#cameraDialog .camera-options .camera-subtle{margin-top:8px!important;margin-bottom:10px}}
body.has-premium .premium-banner{display:none}
.reading-options{border-top:1px solid #e9e0f1;margin-top:22px;padding-top:16px}
.reading-options>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;font-size:13px;font-weight:650;color:#46334f;list-style:none}
.reading-options>summary span{font-size:10px;font-weight:400;color:#8a7698}
.reading-options>summary:after{content:'+';color:#8b6caf;font-size:18px}
.reading-options[open]>summary:after{content:'−'}
.reading-options .settings{border-top:0;padding-top:14px;margin-top:0}.reading-options .settings>h2{display:none}
@media(max-height:540px) and (min-width:600px){
 #cameraDialog.studio-sheet{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}
 .camera-sheet-head{padding:10px 16px;gap:10px}.camera-sheet-head .sheet-kicker{display:none}#cameraHeading{font-size:20px;margin:0 0 5px}#cameraDialog #cameraMessage{font-size:11px}
 .camera-sheet-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}.camera-view{padding:12px;border-right:1px solid #eee7f3;flex:auto}.camera-view-caption{display:none}
 .camera-tabs{padding:5px 12px 0}.camera-tabs button{min-height:36px}.camera-options{padding:12px 16px}.camera-effect-status{display:none}
 .camera-sheet-footer{padding:8px 16px}#cameraDialog #startRecording{min-height:42px;min-width:160px}#cameraDialog #recordingPolicy{font-size:10px}
}
