/* Account/workspace shell. Never style the contents of .slide-scene here. */
:root{--surface:#ffffff;--surface-alt:#f7f9fc;--surface-hover:#edf2fb;--ink:#263245;--muted:#738096;--line:#e3e8f0;--blue:#4460ac;--blue-soft:#edf2fc;--danger:#b44545;--shadow:0 14px 42px #263b5710}

body{background:var(--surface);color:var(--ink)}
button,input,select,textarea{font-family:Inter,'Segoe UI',Arial,sans-serif}
[hidden]{display:none!important}
.auth-page{min-height:100dvh;background:var(--surface);display:flex;flex-direction:column;padding:0 44px}
.auth-header{height:82px;display:flex;align-items:center;justify-content:space-between;max-width:1310px;margin:0 auto;width:100%;border-bottom:1px solid var(--line)}
.auth-header .studio-brand{color:var(--ink)}
.auth-layout{flex:1;width:100%;max-width:1050px;align-self:center;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:100px;padding:55px 0 80px}
.auth-intro{align-self:center;position:relative}.auth-intro h1{font-size:clamp(36px,3.4vw,54px);font-weight:500;letter-spacing:-2px;line-height:1.13;margin:21px 0 38px}
.auth-art{position:relative;height:170px;width:330px;max-width:100%;opacity:.93}
.auth-art-page{position:absolute;left:0;top:18px;width:255px;aspect-ratio:16/9;border-radius:13px;background:var(--surface-alt);border:1px solid var(--line);transform:rotate(-7deg)}
.auth-art-page:nth-child(2){left:18px;top:8px;transform:rotate(-3deg);background:var(--blue-soft)}
.auth-art-page:nth-child(3){left:38px;top:0;transform:rotate(3deg);background:#4460ac;box-shadow:0 10px 35px #30477116;border:0;padding:22px 20px}
.auth-art-page img{width:28px;height:28px;background:white;border-radius:7px;padding:4px}.auth-art-page i{display:block;width:67%;height:7px;margin-top:10px;border-radius:4px;background:#ffffff4a}.auth-art-page i:last-child{width:41%}
.auth-panel{border:1px solid var(--line);border-radius:21px;background:var(--surface);padding:34px 34px 27px;box-shadow:var(--shadow)}
.auth-kicker{font-size:12px;color:var(--muted)}.auth-panel h2{font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.7px;margin:10px 0 26px}
#account-auth,.account-form{display:flex;flex-direction:column;gap:17px}#account-auth>label,.account-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}
#account-auth input,.account-form input,.account-form select{width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:9px;min-height:42px;font-size:13px;padding:10px 12px;outline:none;box-sizing:border-box}
#account-auth input:focus,.account-form input:focus,.account-form select:focus{border-color:#6d89cb}
.form-error{min-height:0;font-size:12px;line-height:1.5;color:var(--danger);margin:0;overflow-wrap:anywhere}.form-error:empty{display:none}
.auth-note{color:var(--muted);font-size:11px;line-height:1.65;margin:19px 0 0}.auth-note:empty{display:none}.auth-toggle{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:12px;color:var(--muted);padding-top:15px;border-top:1px solid var(--line)}
.auth-footer{max-width:1310px;width:100%;margin:auto;display:flex;gap:12px;font-size:10px;color:var(--muted);height:45px;align-items:center}
.notice-success{border-radius:9px;padding:14px;background:#16836812;color:#307660;font-size:12px;line-height:1.55;margin-bottom:20px}.notice-success p{margin:6px 0 0}
.account-button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;padding:3px;border-radius:50%;cursor:pointer}.account-button:hover{background:var(--blue-soft)}
.avatar{display:inline-flex;width:30px;height:30px;flex:none;align-items:center;justify-content:center;border-radius:50%;font:600 12px 'Segoe UI',Arial;background:var(--blue-soft);color:var(--blue)}.avatar.large{width:48px;height:48px;font-size:20px}
.profile-heading{display:flex;align-items:center;gap:13px;margin-bottom:27px}.profile-heading b{font-size:15px;display:block}.profile-heading small{display:block;font-size:11px;color:var(--muted);margin-top:6px}
.form-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.password-section{margin-top:26px;padding-top:21px;border-top:1px solid var(--line)}.password-section summary{font-size:13px;display:flex;gap:9px;align-items:center;cursor:pointer;color:var(--ink)}.password-section form{margin-top:21px}
.admin-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.admin-toolbar>span{color:var(--muted);font-size:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#2c9b78}.status-dot.pending{background:#d79b45}.status-dot.disabled{background:#a2aabb}.template-checks{padding:0;margin:18px 0;border:0;display:flex;gap:14px;flex-wrap:wrap}.template-checks legend{font-size:11px;color:var(--muted);padding:0;margin-bottom:10px}.template-checks label{display:flex;flex-direction:row;align-items:center;font-size:12px;gap:7px}.template-checks input{width:14px;height:14px;min-height:0;padding:0;accent-color:#4460ac}.admin-create{border:1px solid var(--line);background:var(--surface-alt);padding:23px;border-radius:12px;margin-bottom:23px}.admin-create h3{font-size:16px;margin-bottom:20px}.template-management{margin-top:26px;padding-top:21px;border-top:1px solid var(--line)}.template-management summary{cursor:pointer;font-size:13px}.template-management .field-help{margin:16px 0 12px}.template-management .btn{display:inline-flex}



.is-deck #main-view{height:calc(100dvh - 92px)}
.location-actions{display:grid;gap:9px}.location-actions .btn{justify-content:flex-start}
/* Dark appearance is restricted to application chrome; slides and their thumbnails keep their brand colors. */
[data-theme=dark] .editor250 .slides-sidebar{background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .studio-brand,[data-theme=dark] .document-name h2,[data-theme=dark] .document-options h2,[data-theme=dark] .deck-identity h1,[data-theme=dark] .modal-header h2,[data-theme=dark] .font-role-label>span{color:var(--ink)}
[data-theme=dark] .source-summary,[data-theme=dark] .document-options,[data-theme=dark] .template-font-summary,[data-theme=dark] .editor250 .layout-chooser,[data-theme=dark] .editor250 .slot-tile,[data-theme=dark] .editor250 .background-tile,[data-theme=dark] .font-select-trigger,[data-theme=dark] .font-popover,[data-theme=dark] .image-crop-popover,[data-theme=dark] .image-toolbar,[data-theme=dark] .composition-choice{background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .editor250 .slide-stack,[data-theme=dark] .editor250 .canvas-column,[data-theme=dark] .source-full,[data-theme=dark] .visual-balance-control,[data-theme=dark] .visual-mini,[data-theme=dark] .density-tabs,[data-theme=dark] .image-popover,[data-theme=dark] .inline-note{background:var(--surface-alt);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .visual-mode,[data-theme=dark] .doc-add-end{background:var(--surface);border-color:var(--line);color:var(--ink)}
[data-theme=dark] .text-link,[data-theme=dark] .source-excerpt{color:var(--ink)}

[data-theme=dark] .font-option:hover,[data-theme=dark] .document-node.content-node:hover,[data-theme=dark] .document-node.content-node:focus-within{color:var(--ink)}
[data-theme=dark] input:not([type=checkbox]):not([type=radio]):not([type=range]),[data-theme=dark] select,[data-theme=dark] textarea{background:var(--surface-alt);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .font-role-card{border-color:var(--line)}

[data-theme=dark] .field-help,[data-theme=dark] .control-note,[data-theme=dark] .modal-intro,[data-theme=dark] .editor250 .control-label,[data-theme=dark] .font-role-label small{color:var(--muted)}
[data-theme=dark] .document-node .doc-editable:hover{background:transparent}



@media(max-width:1000px){.auth-layout{gap:45px}.auth-page{padding:0 28px}.auth-intro h1{font-size:40px}.auth-art{width:270px}.auth-art-page{width:220px}}
@media(max-width:720px){.auth-page{padding:0 21px}.auth-header{height:65px}.auth-header .studio-brand span{display:inline}.auth-layout{display:block;padding:30px 0;max-width:430px}.auth-intro{display:none}.auth-panel{padding:27px 23px}.auth-panel h2{font-size:24px}.form-two{grid-template-columns:1fr}.admin-create{padding:17px}.is-deck #main-view{height:calc(100dvh - 92px)}}


