:root{color-scheme:dark;--ink:#f1f0e9;--muted:#a6a69c;--line:#2d2d29;--paper:#1a1a18;--surface:#111110;--raised:#232320;--yellow:#ffd401;--blue:#ffd401;font-family:'Space Grotesk',Arial,sans-serif;color:var(--ink);background:var(--surface);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}[hidden]{display:none!important}button{border:0;background:none}img{max-width:100%;display:block}.studio-skip{position:fixed;top:-60px;left:16px;background:var(--yellow);color:#171717;padding:12px;z-index:100}.studio-skip:focus{top:12px}.overline{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted);line-height:1.5}.brand-mark{font-weight:700;letter-spacing:-5px;font-size:52px;line-height:1;color:var(--ink)}.brand-mark>span{color:var(--yellow);letter-spacing:-2px}.studio-brand{display:flex;align-items:center;gap:20px}.studio-brand>span:last-child{font-size:11px;font-weight:700;letter-spacing:1.5px;line-height:1.4}.studio-brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.7px;color:var(--muted);margin-top:3px}.studio-header{height:84px;padding:0 40px;display:flex;align-items:center;gap:24px;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.studio-top-nav{display:flex;align-self:stretch;align-items:stretch;gap:32px;margin-left:65px;font-size:12px;font-weight:600}.studio-top-nav>a,.studio-top-nav>span{display:flex;align-items:center;gap:8px;position:relative}.studio-top-nav .active:after{content:'';height:3px;background:var(--yellow);position:absolute;bottom:0;left:0;right:0}.studio-top-nav svg{width:14px;height:14px}.studio-account{margin-left:auto;display:flex;align-items:center;gap:24px}.private-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.private-badge svg{width:13px;height:13px}.avatar{border-radius:50%;background:var(--raised);border:1px solid var(--line);color:var(--yellow);font-weight:700;width:36px;height:36px;font-size:11px}.btn{min-height:42px;border-radius:100px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 21px;font-size:11px;font-weight:700;white-space:nowrap;border:1px solid transparent;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn svg{width:16px;height:16px}.btn-primary{background:var(--yellow);color:#171717}.btn-primary:hover{background:#f1c800}.btn-outline{border-color:var(--line);background:var(--paper)}.btn-outline:hover{background:var(--raised)}.btn-quiet{background:transparent;color:var(--ink)}.btn-quiet:hover,.btn-quiet.selected{background:var(--raised);color:var(--ink)}.btn-danger{background:#d92b3d;color:#fff}.btn-full{width:100%}.icon-btn{display:inline-flex;justify-content:center;align-items:center;width:32px;height:32px;border-radius:6px;flex-shrink:0}.icon-btn:hover{background:var(--raised)}.icon-btn svg{width:17px;height:17px}.studio-loading{min-height:80vh;display:grid;place-content:center;text-align:center}.studio-loading p{font-size:12px;color:var(--muted)}.studio-workspace{max-width:1740px;margin:0 auto;display:grid;grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 84px)}.profile-sidebar{padding:48px 30px 26px 36px;background:var(--paper);border-right:1px solid var(--line)}.profile-orbit{position:relative;width:78px;height:78px;border:1px solid var(--line);border-radius:50%;padding:5px;margin-bottom:22px}.profile-orbit>span:first-child{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#171717;color:var(--yellow);font-size:25px;font-weight:500;letter-spacing:-2px}.profile-dot{position:absolute;width:13px;height:13px;background:#51b281;border:3px solid var(--paper);border-radius:50%;right:5px;bottom:6px}.profile-sidebar h1{font-size:23px;letter-spacing:-1px;line-height:1.2;margin:0 0 14px;font-weight:700}.profile-sidebar h1 span{display:block}.profile-role{font-size:11px;line-height:1.8;color:var(--ink);margin:0 0 12px}.profile-location{font-size:10px;color:var(--muted);display:block;margin-bottom:24px}.profile-sidebar>.btn{font-size:10px;padding:10px 12px}.sidebar-rule{height:1px;background:var(--line);margin:32px 0 25px}.profile-sidebar>.overline{font-size:8px;letter-spacing:1.3px;margin-bottom:15px}.sidebar-nav{display:flex;align-items:center;gap:10px;font-size:11px;padding:12px 10px;width:100%;text-align:left;border-radius:6px;margin:4px 0;color:var(--ink)}.sidebar-nav svg{width:16px;height:16px}.sidebar-nav span{margin-left:auto;font-size:9px}.sidebar-nav.active{background:#ffd40112;color:var(--yellow);font-weight:700}.sidebar-nav:hover{background:var(--raised)}.sidebar-tip{margin-top:45px;border:1px solid var(--line);border-radius:9px;padding:20px 17px;position:relative;background:var(--surface)}.sidebar-tip>span{font-size:13px;line-height:1.5;font-weight:600;letter-spacing:-.2px}.sidebar-tip p{font-size:10px;line-height:1.9;color:var(--muted);margin:12px 0 22px}.sidebar-tip>svg{width:20px;height:20px}.logout{margin-top:34px;color:var(--muted)}.projects-main{padding:44px 44px 24px;min-width:0}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:38px}.dashboard-heading .overline{font-size:9px;letter-spacing:1.8px;margin:0 0 12px}.dashboard-heading h2{font-size:38px;letter-spacing:-1.8px;line-height:1.1;margin:0 0 12px}.dashboard-heading h2 span{color:#e9bf00}.dashboard-heading p:last-child{font-size:11px;color:var(--muted);margin:0}.project-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line)}.project-tabs button{font-size:11px;color:var(--muted);font-weight:500;padding:0 0 17px;border-bottom:2px solid transparent;display:flex;align-items:center;gap:9px;white-space:nowrap}.project-tabs button[aria-selected=true]{color:var(--ink);font-weight:700;border-color:var(--yellow)}.project-tabs button span{font-size:9px;color:var(--muted);background:var(--raised);border-radius:20px;padding:2px 6px;font-weight:500}.project-tabs button[aria-selected=true] span{background:#ffd40117;color:var(--yellow)}.projects-toolbar{display:flex;gap:12px;align-items:center;margin:22px 0}.search-input{display:flex;align-items:center;gap:9px;background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:0 11px;max-width:290px;flex:1;height:37px}.search-input svg{width:15px;height:15px;color:var(--muted)}.search-input input{border:0;background:none;padding:9px 0;width:100%;min-width:0;font-size:10px;outline:none}.projects-toolbar select{height:37px;background:var(--paper);border:1px solid var(--line);border-radius:6px;max-width:180px;font-size:10px;padding:8px 27px 8px 11px;color:var(--muted)}.reorder-toggle{margin-left:auto;padding:8px 10px;min-height:34px;font-size:10px;gap:6px}.reorder-toggle svg{width:15px;height:15px}.view-switch{display:flex;border:1px solid var(--line);border-radius:5px;background:var(--paper);padding:2px;gap:3px}.view-switch .icon-btn{width:29px;height:28px;border-radius:3px;color:var(--muted)}.view-switch .selected{color:var(--yellow);background:var(--raised)}.view-switch svg{width:15px;height:15px}.organize-hint{font-size:11px;padding:12px;background:#ffd4010b;border:1px solid #756a23;color:#d7cf91;border-radius:6px;line-height:1.7}.studio-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}.studio-project-card{border-radius:7px;min-width:0;background:var(--paper);border:1px solid var(--line);transition:box-shadow .2s;position:relative}.studio-project-card:hover{border-color:#55554a;box-shadow:0 6px 24px #00000026}.studio-cover{position:relative;border-radius:6px 6px 0 0;aspect-ratio:4/3;background:var(--raised)}.cover-open{padding:0;width:100%;height:100%;overflow:hidden;position:relative;border-radius:6px 6px 0 0;display:block}.cover-open>img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.cover-open:hover>img{transform:scale(1.025)}.empty-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;background:#25251f;color:#c8c5a7}.empty-cover svg{width:35px;height:35px;opacity:.6}.empty-cover>span{font-size:22px;font-weight:500;letter-spacing:-1px;text-align:center}.publication-badge{position:absolute;top:11px;left:11px;font-size:8px;background:#171717ed;color:#e9e9df;border:1px solid #ffffff20;border-radius:20px;padding:4px 8px;display:flex;align-items:center;gap:5px;pointer-events:none;box-shadow:0 2px 3px #00000008}.publication-badge i{width:4px;height:4px;border-radius:50%;background:#40a475}.publication-badge.draft i{background:#d6a638}.card-menu{position:absolute;right:10px;top:10px;z-index:2}.card-menu summary{list-style:none;width:27px;height:27px;display:grid;place-items:center;background:#171717ed;color:#f1f0e9;border:1px solid #ffffff20;border-radius:50%;cursor:pointer}.card-menu summary::-webkit-details-marker{display:none}.card-menu svg{width:17px;height:17px}.card-menu>div{position:absolute;right:0;top:34px;min-width:184px;border-radius:7px;background:var(--paper);border:1px solid var(--line);box-shadow:0 7px 35px #00000055;padding:6px;z-index:5}.card-menu>div>button,.card-menu>div>a{width:100%;display:block;text-align:left;font-size:10px;padding:10px 8px;border-radius:3px;white-space:nowrap}.card-menu>div>button:hover,.card-menu>div>a:hover{background:var(--raised)}.danger-text{color:#ff8e98!important}.cover-edit{position:absolute;bottom:12px;left:12px;background:#171717dd;color:white;border-radius:30px;padding:8px 13px;font-size:9px;display:flex;gap:6px;align-items:center;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}.cover-edit svg{width:12px;height:12px}.cover-open:hover .cover-edit,.cover-open:focus-visible .cover-edit{opacity:1;transform:none}.studio-card-info{padding:14px 13px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}.studio-card-info>div{min-width:0}.project-title-button{font-size:12px;font-weight:700;letter-spacing:-.2px;display:block;text-align:left;padding:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-card-info p{font-size:9px;color:var(--muted);margin:5px 0 0}.card-updated{color:var(--muted);font-size:8px;white-space:nowrap}.new-project-card{border:1px dashed var(--line);border-radius:7px;min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:var(--ink);background:var(--surface)}.new-project-card:hover{border-color:#c3a600;background:#ffd40108}.new-project-card>span{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:var(--raised);margin-bottom:2px}.new-project-card strong{font-size:12px;color:var(--ink)}.new-project-card small{font-size:9px;color:var(--muted)}.projects-footer{display:flex;justify-content:space-between;padding:22px 0;font-size:9px;color:var(--muted)}.projects-footer>span:last-child{display:flex;gap:6px;align-items:center}.projects-footer svg{width:11px;height:11px}.card-order{display:flex;align-items:center;gap:2px;border-top:1px solid var(--line);padding:5px 8px}.card-order>span{font-size:9px;color:var(--muted);margin-right:auto;display:flex;align-items:center;gap:5px}.card-order>span svg{width:13px;height:13px}.is-organizing .studio-project-card{cursor:grab}.is-dragging{opacity:.35}.drag-over{outline:3px solid #e0b800!important;outline-offset:3px}.empty-results{grid-column:1/-1;text-align:center;padding:70px 20px;color:var(--muted)}.empty-results>svg{width:30px;height:30px;margin-bottom:12px}.empty-results h3{font-size:17px;color:var(--ink);letter-spacing:-.5px}.empty-results p{font-size:12px}.list-view{grid-template-columns:1fr;gap:12px}.list-view .studio-project-card{display:grid;grid-template-columns:160px 1fr;align-items:center}.list-view .studio-cover{border-radius:6px 0 0 6px}.list-view .cover-open{border-radius:6px 0 0 6px}.list-view .studio-card-info{padding:20px 25px}.list-view .new-project-card{min-height:95px;flex-direction:row}.list-view .card-order{grid-column:1/-1}.list-view .project-title-button{font-size:15px}.list-view .card-updated{font-size:10px}.list-view .studio-card-info p{font-size:11px}
.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:var(--paper)}.login-story{background:var(--surface);color:#fff;padding:38px 52px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:430px;height:430px;border:1px solid #ffffff08;border-radius:50%;right:-200px;bottom:90px;box-shadow:0 0 0 70px #ffffff02,0 0 0 140px #ffffff02;pointer-events:none}.login-story .brand-mark{color:white}.login-story .studio-brand>span:last-child{font-size:10px}.login-story .overline{color:#858585;font-size:9px}.login-story h1{font-size:clamp(46px,5vw,84px);letter-spacing:-4px;line-height:1.05;font-weight:500;margin:22px 0 28px}.login-story h1 em{font-style:normal;color:var(--yellow)}.login-story>div>p:last-child{font-size:12px;line-height:1.9;color:#888}.login-foot{font-size:8px;letter-spacing:1.5px;color:#777}.login-main{background:var(--paper);border-left:1px solid var(--line);display:flex;align-items:center;justify-content:center;position:relative;padding:70px 40px}.login-box{max-width:350px;width:100%}.login-icon{display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;width:48px;height:48px;margin-bottom:32px}.login-box>.overline{font-size:9px}.login-box h2{font-size:28px;letter-spacing:-1px;line-height:1.15;margin:12px 0 15px}.login-box>p:not(.overline){font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:28px}.login-box form label{margin-top:18px}.password-field{display:flex;border:1px solid var(--line);border-radius:6px;padding-right:6px;align-items:center}.password-field input{border:none!important}.password-field:focus-within{outline:2px solid #ffd401}.login-box form input{height:45px;font-size:12px}.login-box form>.btn{margin-top:4px}.login-private{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px!important;margin-top:21px!important}.login-private svg{width:11px;height:11px}.login-back{position:absolute;bottom:30px;font-size:10px;color:var(--muted)}.form-error{color:#ff909b;font-size:11px;line-height:1.6;min-height:15px}.notice{padding:16px;border:1px solid var(--line);border-radius:6px;font-size:12px;line-height:1.8;margin:20px 0}.notice.error{background:#3a2022;border-color:#774448;color:#ffb8b6}
.editor-name{display:flex;flex-direction:column;gap:5px;min-width:0}.editor-name strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:400px}.editor-name span{font-size:9px;color:var(--muted)}.editor-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;min-height:calc(100vh - 84px)}.editor-stage{padding:30px 42px 60px;min-width:0;background:var(--surface)}.canvas-intro{display:flex;align-items:center;justify-content:space-between;margin:0 auto 14px;max-width:1100px;gap:12px}.canvas-intro .overline{font-size:8px;letter-spacing:1.4px}.canvas-intro>span:last-child{font-size:9px;color:var(--muted)}.project-canvas{display:flex;flex-direction:column;background:#ffffff;color:#262a30;color-scheme:light;--canvas-muted:#696c73;min-height:65vh;max-width:1100px;margin:0 auto;box-shadow:0 3px 18px #00000026}.canvas-bottom{display:flex;justify-content:center;margin:30px 0}.canvas-bottom .btn{font-size:10px}.editor-sidebar{background:var(--paper);border-left:1px solid var(--line);align-self:start;position:sticky;top:84px;min-height:calc(100vh - 84px)}.sidebar-section{padding:25px 23px;border-bottom:1px solid var(--line)}.sidebar-section h2{font-size:12px;letter-spacing:-.2px;margin:0 0 19px}.content-tools{display:grid;grid-template-columns:1fr 1fr;gap:9px}.content-tools>button{border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;min-height:84px;font-size:9px;border-radius:5px;color:var(--ink);transition:all .15s}.content-tools svg{width:23px;height:23px;stroke-width:1.4}.content-tools>button:hover{background:#ffd4010c;border-color:#756a23;color:var(--yellow)}.editor-option{display:flex;align-items:center;gap:9px;font-size:10px;padding:11px 0;width:100%;text-align:left}.editor-option svg{width:16px;height:16px;color:var(--muted)}.editor-option svg:last-child{width:12px;height:12px;margin-left:auto}.project-progress>.overline{font-size:8px;letter-spacing:1.5px}.project-progress h3{font-size:14px;letter-spacing:-.5px;margin:12px 0}.project-progress>p{font-size:10px;color:var(--muted);line-height:1.9}.editor-help{line-height:2.7;font-size:9px;color:var(--muted);margin-top:20px}.editor-help span{font-size:8px;font-weight:700;background:var(--raised);border-radius:3px;color:var(--muted);padding:3px 4px;margin-right:6px}.sidebar-bottom{padding:24px 23px;font-size:9px;color:var(--muted);display:flex;gap:7px;align-items:center}.sidebar-bottom svg{width:12px;height:12px}.empty-canvas{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:65vh;padding:50px 24px;text-align:center;background:transparent}.empty-canvas-icon{width:65px;height:65px;border-radius:15px;background:#fff6c8;color:#615627;display:grid;place-items:center;margin-bottom:24px}.empty-canvas-icon svg{width:31px;height:31px}.empty-canvas h1{font-size:28px;letter-spacing:-1.3px;font-weight:500;margin:0 0 14px}.empty-canvas>p{color:var(--canvas-muted);font-size:11px;line-height:1.9;margin:0 0 25px}.empty-canvas>.btn{font-size:11px}.empty-canvas-alternatives{display:flex;gap:23px;margin:25px 0 36px}.empty-canvas-alternatives button{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--canvas-muted);font-size:8px}.empty-canvas-alternatives svg{width:17px;height:17px}.empty-canvas>small{font-size:8px;color:var(--canvas-muted)}.canvas-block{position:relative;min-width:0;border:1px solid transparent}.canvas-block:hover,.canvas-block:focus-within{border-color:#e7c400}.block-controls{display:flex;align-items:center;gap:1px;background:var(--paper);color:var(--ink);color-scheme:dark;border:1px solid var(--line);border-radius:5px;padding:2px 4px;position:relative;z-index:2;box-shadow:0 2px 7px #0000000a;opacity:.85;transition:opacity .15s;min-height:35px}.canvas-block:hover .block-controls,.canvas-block:focus-within .block-controls{opacity:1}.block-controls>span{font-size:9px;color:var(--muted);margin-right:auto;padding:0 7px}.block-controls .icon-btn{width:27px;height:27px}.block-controls .icon-btn svg{width:14px;height:14px}.block-drag{cursor:grab}.block-content{position:relative}.block-content>img{width:100%;height:auto}.block-content video{width:100%;display:block}.size-normal .block-content,.size-normal>.block-caption{width:75%;margin-left:auto;margin-right:auto}.size-wide .block-content,.size-wide>.block-caption{width:90%;margin-left:auto;margin-right:auto}.block-text{background:transparent;border:0!important;width:100%;resize:none;color:#262a30;padding:34px 20px;line-height:1.9;font-size:16px;min-height:140px;display:block;outline:none;overflow:hidden;border-radius:0}.block-text.format-heading{font-size:36px;line-height:1.25;font-weight:700;letter-spacing:-1.3px}.block-text.format-subheading{font-size:25px;line-height:1.4;font-weight:500;letter-spacing:-.5px}.block-text:focus{outline:none}.block-content hr{border:0;border-top:1px solid #88888855;margin:40px 9%}.replace-image{position:absolute;bottom:14px;right:14px;color:#fff;background:#171717dc;font-size:10px;padding:9px 15px;border-radius:20px;opacity:0}.canvas-block:hover .replace-image,.canvas-block:focus-within .replace-image{opacity:1}.editor-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.editor-photo-grid figure{margin:0;position:relative}.editor-photo-grid figure>img{width:100%;height:100%;aspect-ratio:1;object-fit:cover}.editor-photo-grid figure>button{position:absolute;top:8px;right:8px;background:var(--paper);color:var(--ink);border-radius:50%;width:24px;height:24px;opacity:.8}.grid-add{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:110px;border:1px dashed #ddd;color:var(--canvas-muted);font-size:10px}.embed-placeholder{padding:48px 20px;display:flex;flex-direction:column;align-items:center;gap:16px;background:var(--surface);color:var(--ink)}.embed-placeholder>svg{width:36px;height:36px;color:var(--muted)}.embed-placeholder strong{font-size:14px}.embed-placeholder>span{font-size:10px;color:#999;max-width:100%;overflow-wrap:anywhere}.embed-placeholder>.btn{font-size:9px;min-height:32px;padding:8px 12px}.block-caption{text-align:center;color:var(--canvas-muted);font-size:10px;padding:8px;margin:0}.grid-order-list>div{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.grid-order-list img{width:45px;height:38px;object-fit:cover;border-radius:3px}.grid-order-list span{font-size:11px;margin-right:auto}
dialog{border:1px solid var(--line);border-radius:12px;padding:0;max-height:90vh;width:min(94vw,1000px);color:var(--ink);background:var(--paper);box-shadow:0 30px 100px #00000060;font-family:inherit}dialog::backdrop{background:#000000a6;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:14px;right:14px;z-index:3;background:var(--raised);border-radius:50%}.small-dialog{max-width:440px}.wide-dialog{max-width:930px}.dialog-body{padding:38px 32px 30px}.dialog-body>.overline,.settings-heading>.overline{font-size:9px}.dialog-body h2,.settings-heading h2{font-size:25px;line-height:1.2;letter-spacing:-1px;margin:13px 0}.dialog-body>p:not(.overline),.settings-heading>p:not(.overline){color:var(--muted);font-size:11px;line-height:1.9}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.dialog-buttons .btn{font-size:10px}label{display:block;font-size:10px;font-weight:600;margin-bottom:8px;margin-top:18px;color:var(--ink)}input,textarea,select{display:block;width:100%;font-size:11px;background:var(--paper);border:1px solid var(--line);padding:11px 12px;border-radius:5px;color:var(--ink);line-height:1.5}input::placeholder,textarea::placeholder{color:#8b8b81}textarea{resize:vertical}input[type=range]{accent-color:#dbb600;padding:5px 0;border:0}input[type=color]{padding:4px;width:48px;height:36px}label output{float:right;font-size:10px;color:#999}.color-field{display:flex;align-items:center;gap:12px}.color-field span{font-size:12px;color:var(--muted)}.settings-dialog{padding:35px 33px 0}.settings-heading{margin-bottom:27px}.settings-heading>h2{font-size:27px}.settings-columns{display:grid;grid-template-columns:275px 1fr;gap:35px}.cover-picker{padding:0;width:100%;position:relative;border-radius:7px;overflow:hidden;aspect-ratio:4/3;background:var(--raised);border:1px dashed var(--line);margin-top:12px}.cover-picker>img{width:100%;height:100%;object-fit:cover}.cover-picker>span:first-child{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:13px;color:var(--muted)}.cover-picker>span>svg{width:30px;height:30px}.cover-picker strong{font-size:11px;color:var(--ink)}.cover-picker small{font-size:9px}.cover-picker-overlay{position:absolute!important;bottom:0;left:0;right:0;display:flex!important;align-items:center;justify-content:center;gap:8px;padding:10px;color:#fff;background:#171717bb;font-size:10px;opacity:0}.cover-picker:hover .cover-picker-overlay,.cover-picker:focus-visible .cover-picker-overlay{opacity:1}.cover-picker-overlay svg{width:15px!important;height:15px!important}.field-hint{font-size:9px;line-height:1.7;color:var(--muted);margin:7px 0 12px}.required{color:#a59747}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding:20px 0;margin-top:22px;position:sticky;bottom:0;background:var(--paper);z-index:2}.settings-footer>span{font-size:9px;display:flex;align-items:center;gap:5px;color:var(--muted)}.settings-footer>span svg{width:11px;height:11px}.settings-footer>.btn{font-size:10px}.slug-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;padding-left:10px}.slug-field span{font-size:10px;color:#999}.slug-field input{border:0;min-width:0}.preview-dialog{max-width:1400px;width:96vw;border-radius:8px;background:var(--surface)}.preview-bar{display:flex;gap:25px;padding:20px 25px;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;padding-right:65px}.preview-bar strong{font-size:12px}.preview-bar span{font-size:10px;color:var(--muted)}.studio-preview{background:var(--surface)}.studio-preview .pf-project{padding-top:24px}.studio-preview .pf-project a{pointer-events:none}#studio-toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#1b202a;color:white;padding:13px 22px;border-radius:8px;font-size:11px;max-width:min(90vw,600px);box-shadow:0 5px 20px #0002;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;line-height:1.8}#studio-toast.show{opacity:1;transform:translate(-50%,0)}#studio-toast.error{background:#9e3547}
@media(min-width:1700px){.studio-project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.studio-header{padding:0 25px}.studio-top-nav{margin-left:30px}.studio-workspace{grid-template-columns:220px minmax(0,1fr)}.profile-sidebar{padding:35px 24px}.projects-main{padding:35px 26px}.studio-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-heading h2{font-size:33px}.editor-stage{padding:25px 24px}.editor-name strong{max-width:250px}.new-project-card{min-height:220px}.projects-toolbar{gap:8px}.projects-toolbar select{max-width:140px}.search-input{max-width:220px}.private-badge{display:none}}
@media(max-width:900px){.studio-workspace{grid-template-columns:190px minmax(0,1fr)}.profile-sidebar{padding:30px 18px}.profile-sidebar h1{font-size:21px}.projects-main{padding:28px 22px}.dashboard-heading{align-items:flex-start;gap:12px}.dashboard-heading h2{font-size:28px}.dashboard-heading>.btn{font-size:10px;padding:9px 14px;min-height:37px}.dashboard-heading .overline{font-size:8px}.project-tabs{gap:18px}.projects-toolbar{flex-wrap:wrap}.search-input{max-width:none;min-width:150px}.reorder-toggle{margin-left:0}.projects-toolbar select{max-width:130px}.studio-project-grid{gap:20px 14px}.card-updated{display:none}.studio-top-nav{margin-left:15px;gap:20px;font-size:10px}.studio-header .studio-brand>span:last-child{display:none}.studio-account{gap:10px}.editor-layout{grid-template-columns:minmax(0,1fr) 220px}.editor-sidebar .sidebar-section{padding:20px 16px}.content-tools>button{min-height:72px;font-size:8px}.editor-actions{gap:5px}.editor-actions .btn{font-size:9px;padding:8px 12px;min-height:36px}.editor-actions .btn-quiet>span{display:none}.editor-name strong{max-width:180px}.canvas-intro>span:last-child{display:none}.empty-canvas h1{font-size:23px}.empty-canvas-alternatives{gap:18px}.empty-canvas>p{font-size:10px}.block-controls{padding:2px}.block-controls>span{font-size:8px;padding:0 2px}.block-controls .icon-btn{width:23px}.block-text.format-heading{font-size:29px}.settings-columns{grid-template-columns:225px 1fr;gap:25px}.login-story{padding:35px}.login-story h1{letter-spacing:-2.5px}.login-main{padding:60px 30px}}
@media(max-width:680px){.studio-header{height:65px;padding:0 18px;gap:10px}.brand-mark{font-size:40px;letter-spacing:-4px}.studio-top-nav{margin-left:15px;font-size:10px;gap:18px}.studio-top-nav>a svg{width:11px;height:11px}.avatar{width:31px;height:31px;font-size:9px}.studio-workspace{display:block;min-height:calc(100vh - 65px)}.profile-sidebar{display:none}.projects-main{padding:30px 20px}.dashboard-heading{margin-bottom:29px}.dashboard-heading h2{font-size:31px}.dashboard-heading>div>p:last-child{font-size:10px}.dashboard-heading .overline{font-size:7px;letter-spacing:1px}.dashboard-heading>.btn{min-height:36px;padding:9px 12px;font-size:9px;margin-top:18px}.dashboard-heading>.btn svg{width:13px;height:13px}.project-tabs{gap:22px}.project-tabs button{font-size:10px;gap:7px;padding-bottom:14px}.project-tabs button span{font-size:8px}.projects-toolbar{gap:8px;margin:18px 0}.search-input{flex:1 1 55%;min-width:130px;height:36px}.projects-toolbar select{flex:1 1 35%;max-width:none;height:36px}.reorder-toggle{margin-right:auto;font-size:9px}.view-switch .icon-btn{width:27px;height:26px}.studio-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.studio-card-info{padding:12px 9px}.project-title-button{font-size:11px}.studio-card-info p{font-size:8px}.publication-badge{top:7px;left:7px;font-size:7px;padding:3px 6px;gap:4px}.card-menu{top:6px;right:6px}.card-menu summary{width:23px;height:23px}.card-menu svg{width:15px;height:15px}.new-project-card{min-height:165px;gap:8px}.new-project-card>span{width:32px;height:32px}.new-project-card svg{width:17px;height:17px}.new-project-card strong{font-size:10px}.new-project-card small{font-size:8px}.empty-cover>span{font-size:19px}.empty-cover svg{width:26px;height:26px}.projects-footer{font-size:8px;gap:10px;align-items:center}.card-order{padding:4px}.card-order>span{font-size:7px;gap:2px}.card-order>span svg{width:10px}.card-order>.icon-btn{width:23px;height:26px}.list-view .studio-project-card{grid-template-columns:115px 1fr}.list-view .studio-card-info{padding:16px}.list-view .project-title-button{font-size:12px}.list-view .studio-card-info p{font-size:10px}.list-view .card-updated{display:none}.list-view .new-project-card{min-height:75px}.editor-layout{display:flex;flex-direction:column}.editor-sidebar{position:static;min-height:0;order:-1;border-left:none;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:12px 14px;gap:15px;overflow:auto;z-index:5;position:sticky;top:65px}.editor-sidebar .sidebar-section{padding:0;border:0;flex-shrink:0}.editor-sidebar .sidebar-section>h2,.editor-sidebar .project-progress,.sidebar-bottom{display:none}.editor-sidebar .sidebar-section:nth-child(2){display:flex;gap:8px;padding-right:10px}.content-tools{display:flex;gap:6px}.content-tools>button{min-height:49px;min-width:54px;font-size:7px;padding:6px;gap:5px;border-radius:4px}.content-tools>button svg{width:18px;height:18px}.editor-option{font-size:8px;flex-direction:column;gap:5px;padding:3px 10px;max-width:80px;text-align:center;line-height:1.3}.editor-option svg:last-child{display:none}.editor-stage{padding:20px 14px 35px;min-height:65vh}.canvas-intro .overline{font-size:7px}.project-canvas{min-height:55vh}.empty-canvas{min-height:55vh;padding:35px 15px}.empty-canvas h1{font-size:25px}.editor-name strong{font-size:10px;max-width:100px}.editor-name span{font-size:7px}.editor-actions{gap:3px}.editor-actions .btn{padding:7px 9px;font-size:8px;min-height:31px}.editor-actions .btn-quiet{padding:6px}.editor-actions .btn svg{width:13px;height:13px}.editor-actions .btn-primary svg{display:none}.studio-header:has(.editor-name){padding:0 10px;gap:7px}.studio-header>.icon-btn{width:24px}.block-controls>span{font-size:8px}.block-controls .icon-btn{width:25px}.block-controls .icon-btn svg{width:13px}.block-text{font-size:14px;padding:25px 13px}.block-text.format-heading{font-size:28px}.block-text.format-subheading{font-size:22px}.size-normal .block-content{width:90%}.size-wide .block-content{width:96%}.login-layout{display:block;min-height:100vh}.login-story{min-height:200px;padding:24px}.login-story h1{font-size:36px;letter-spacing:-1.8px;line-height:1.05;margin:22px 0 10px}.login-story h1 br:nth-child(2){display:none}.login-story h1 em{margin-left:8px}.login-story .overline,.login-story>div>p:last-child,.login-foot{display:none}.login-story .studio-brand>span:last-child{font-size:9px}.login-story .brand-mark{font-size:43px}.login-main{min-height:60vh;padding:40px 25px 70px}.login-icon{display:none}.login-box{max-width:370px}.login-box h2{font-size:27px}.login-back{bottom:25px;font-size:10px}.settings-dialog{padding:30px 20px 0}.settings-heading h2{font-size:24px;padding-right:20px}.settings-columns{display:flex;flex-direction:column;gap:12px}.cover-settings{max-width:100%}.cover-picker{max-width:300px;aspect-ratio:4/3}.settings-fields>label:first-child{margin-top:5px}.settings-footer{flex-direction:column;align-items:stretch;gap:14px;padding:15px 0}.settings-footer>.btn{width:100%}.settings-footer>span{font-size:8px;justify-content:center}.dialog-body{padding:35px 23px 25px}.dialog-body h2{font-size:24px}.dialog-buttons .btn{padding:10px 14px;font-size:9px}.field-pair{gap:10px}.preview-bar{padding:15px 50px 15px 16px;display:block}.preview-bar span{display:block;font-size:9px;line-height:1.6;margin-top:6px}.preview-dialog{max-height:93vh;width:98vw}.dialog-close{top:10px;right:10px}.cover-edit{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.studio-preview .wrap{width:calc(100% - 64px);max-width:1280px;margin-left:auto;margin-right:auto}.project-canvas.is-dark{color:#f1f0e9;color-scheme:dark;--canvas-muted:#b6b5aa}.project-canvas.is-dark .block-text{color:#f1f0e9}.project-canvas.is-dark .block-text::placeholder{color:#b6b5aa}.project-canvas.is-dark .block-caption{color:#b6b5aa}@media(max-width:680px){.studio-preview .wrap{width:calc(100% - 32px)}}

@media(max-width:680px){.editor-sidebar{width:100%;max-width:100%;min-width:0;align-self:stretch}.editor-layout{min-width:0;width:100%}}

.available-covers>div{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.available-covers button{padding:0;width:47px;height:40px;border:1px solid var(--line);border-radius:4px;overflow:hidden}.available-covers img{width:100%;height:100%;object-fit:cover}.available-covers button:hover{outline:2px solid #e1bb00}

/* The work canvas keeps the chosen project colors; editing tools use the studio palette. */
.search-input:focus-within,.slug-field:focus-within{border-color:#8a7924;box-shadow:0 0 0 2px #ffd40120}.search-input:focus-within input,.slug-field:focus-within input{outline:none}.studio-project-card:focus-within{border-color:#756a23}.project-canvas .block-text::placeholder{color:var(--canvas-muted)}.block-controls .icon-btn:hover{background:var(--raised)}.editor-option:hover{color:var(--yellow)}.login-back:hover{color:var(--ink)}.login-story>div>p:last-child{color:var(--muted)}.login-foot{color:var(--muted)}
