.studio-editor{--editor-line:#e1e8f2;--editor-soft:#f3f7fd;height:calc(100dvh - 4rem);min-height:32rem;color:var(--studio-text);isolation:isolate;background:#f8fbff;flex-direction:column;font-size:12px;display:flex;overflow:hidden}@media (min-width:64rem){.studio-editor{height:100dvh}}.studio-editor button,.studio-editor a,.studio-editor input,.studio-editor select{-webkit-tap-highlight-color:transparent}.studio-editor button{cursor:pointer;transition:background-color .15s,color .15s}.studio-editor button:disabled{opacity:.4;cursor:not-allowed}.studio-editor button:not(:disabled):hover{background-color:#eaf1fc}.studio-editor :focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.studio-editor [class*=icon-\[]{vertical-align:middle;flex-shrink:0;width:18px;height:18px;display:inline-block}.editor-topbar{border-bottom:1px solid var(--editor-line);background:#fcfdff;align-items:center;gap:12px;min-height:60px;padding:10px 16px;display:flex}.editor-project-link{border:1px solid var(--editor-line);border-radius:8px;align-items:center;gap:8px;width:210px;min-width:90px;padding:8px 10px;font-weight:600;display:flex}.editor-project-link>span:nth-child(2){white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.editor-project-link>span:last-child{width:12px}.editor-document-name{background:#f0f5fd;border-radius:7px;align-items:center;gap:8px;width:260px;min-width:100px;padding:7px 10px;display:flex}.editor-document-name input{outline:none;width:100%;min-width:0;font-size:12px;font-weight:600}.editor-save-status{color:var(--studio-muted);max-width:150px;margin-left:auto;font-size:10px}.editor-top-actions{flex-shrink:0;align-items:center;gap:7px;display:flex}.editor-button{border:1px solid var(--editor-line);background:#fff;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:33px;padding:7px 11px;font-size:11px;font-weight:600;display:inline-flex}.editor-icon-button{padding:7px}.studio-editor .editor-primary{color:#fff;background:#2879df;border-color:#2879df}.studio-editor .editor-primary:not(:disabled):hover{background:#1d65be}.editor-button[aria-pressed=true]{background:#eaf2ff;border-color:#8db6ef}.editor-feedback{background:#eaf5ef;justify-content:space-between;align-items:center;gap:15px;padding:7px 16px;font-size:11px;display:flex}.editor-feedback button{text-decoration:underline}.editor-error{color:#922c23;background:#fff0ed;padding:10px 16px}.editor-workspace{flex:1;grid-template-columns:232px minmax(0,1fr) 256px;min-height:0;display:grid;position:relative}.editor-assets-panel,.editor-inspector{background:#fbfdff;flex-direction:column;min-height:0;display:flex}.editor-assets-panel{border-right:1px solid var(--editor-line)}.editor-inspector{border-left:1px solid var(--editor-line)}.editor-panel-tabs{border-bottom:1px solid var(--editor-line);flex-shrink:0;align-items:center;gap:18px;height:44px;padding:0 12px;display:flex}.editor-panel-tabs>button{border-bottom:2px solid #0000;align-items:center;gap:8px;height:100%;font-size:11px;font-weight:650;display:flex}.editor-panel-tabs>button[aria-pressed=true]{color:#1d5fae;border-bottom-color:#2879df}.editor-panel-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:14px 12px;overflow-y:auto}.editor-assets-content h3,.editor-inspector h3,.editor-chapter-list h3{font-size:11px;font-weight:650}.editor-search{border:1px solid var(--editor-line);background:#f7faff;border-radius:7px;align-items:center;gap:7px;padding:8px;display:flex}.editor-search input{outline:none;width:100%;min-width:0;font-size:11px}.editor-categories{scrollbar-width:none;gap:4px;margin:12px 0;display:flex;overflow-x:auto}.editor-categories button{border:1px solid var(--editor-line);white-space:nowrap;border-radius:20px;padding:5px 6px;font-size:8px}.editor-categories button[aria-pressed=true]{color:#1b5cae;background:#e8f2ff;border-color:#91b8ee}.editor-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.editor-asset-grid button{aspect-ratio:1;border:1px solid var(--editor-line);background:#eef3f9;border-radius:6px;min-width:0;position:relative;overflow:hidden}.editor-asset-grid img{object-fit:cover;width:100%;height:100%}.editor-asset-grid button>span:last-child{color:#fff;text-overflow:ellipsis;white-space:nowrap;opacity:0;background:#13253bd9;padding:3px;font-size:9px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.editor-asset-grid button:hover>span:last-child,.editor-asset-grid button:focus-visible>span:last-child{opacity:1}.editor-upload{width:100%;margin-top:12px}.editor-empty-assets{text-align:center;padding:25px 8px 16px}.studio-editor .editor-empty-assets>span{color:#839cc0;width:30px;height:30px;margin-bottom:10px}.editor-empty-assets p,.editor-hint{color:var(--studio-muted);font-size:10px;line-height:1.7}.editor-empty-assets p{margin-top:6px}.editor-asset-section{margin-top:20px}.editor-asset-section h3{margin-bottom:8px}.editor-bubble-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.editor-bubble-grid button{border:1px solid var(--editor-line);border-radius:6px;height:46px;padding:5px}.editor-bubble-grid svg{width:100%;height:100%}.editor-sfx{font-size:24px;font-style:italic;font-weight:800}.editor-font-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.editor-font-grid button{border:1px solid var(--editor-line);border-radius:6px;gap:5px;padding:10px 4px 6px;font-size:9px;display:grid}.editor-font-grid span{font-size:24px}.editor-colors{justify-content:space-between;gap:6px;display:flex}.editor-colors button{border:2px solid #e4eaf3;border-radius:50%;width:26px;height:26px}.editor-shortcuts{border-top:1px solid var(--editor-line);margin-top:22px;padding-top:12px;font-size:9px}.editor-element-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.editor-element-grid button{border:1px solid var(--editor-line);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:80px;font-size:10px;display:flex}.studio-editor .editor-element-grid span{color:#5a7ba4;width:28px;height:28px}.editor-chapter-list{border-top:1px solid var(--editor-line);margin-top:22px;padding-top:12px}.editor-section-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.editor-section-heading>span{color:var(--studio-muted);font-size:9px}.editor-chapter-list a{border-radius:5px;align-items:center;gap:7px;padding:7px;font-size:10px;display:flex}.editor-chapter-list a span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.editor-chapter-list a[aria-current=page]{color:#205da6;background:#e6effe}.editor-library-footer{border-top:1px solid var(--editor-line);justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.editor-library-footer button{border-radius:5px;align-items:center;gap:5px;padding:5px;font-size:10px;display:flex}.editor-library-footer button[aria-pressed=true]{color:#2879df;background:#eaf2ff}.editor-center{flex-direction:column;min-width:0;min-height:0;display:flex}.editor-tools{border-bottom:1px solid var(--editor-line);scrollbar-width:thin;background:#fbfdff;flex-shrink:0;justify-content:space-evenly;align-items:stretch;gap:1px;min-height:60px;padding:5px 8px;display:flex;overflow-x:auto}.editor-tool{white-space:nowrap;border-radius:6px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:5px;min-width:43px;padding:5px 6px;font-size:8px;display:flex}.editor-tool[aria-pressed=true]{color:#2369c2;background:#eaf2ff}.editor-tools>button:first-child{display:none}.editor-viewbar{background:#f9fbff;border-bottom:1px solid #eaf0f7;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;min-height:45px;padding:6px 12px;display:flex}.editor-view-controls{align-items:center;gap:5px;display:flex}.editor-viewbar button{border-radius:5px;justify-content:center;align-items:center;padding:4px;display:inline-flex}.editor-viewbar select{background:#f0f5fd;border-radius:5px;max-width:140px;padding:5px 2px;font-size:10px}.editor-divider{background:var(--editor-line);width:1px;height:18px;margin:0 3px;display:inline-block}.editor-segments{border:1px solid var(--editor-line);background:#f3f7fd;border-radius:7px;gap:2px;padding:3px;display:flex}.editor-segments button{white-space:nowrap;border-radius:5px;flex:1;padding:5px 8px;font-size:9px}.editor-segments button[aria-pressed=true]{color:#1f61b2;background:#fff;box-shadow:0 0 0 1px #91b8ee}.editor-selectionbar{color:#61718a;justify-content:center;align-items:center;gap:12px;min-height:29px;padding:4px 12px;font-size:9px;display:flex}.editor-selectionbar>span:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.editor-selectionbar button{color:#235da5;border-radius:4px;padding:2px 5px}.editor-canvas-scroll{overscroll-behavior:contain;scrollbar-width:thin;background-color:#f4f7fc;background-image:radial-gradient(#d7e0ee .7px,#0000 .7px);background-size:12px 12px;flex:1;min-height:0;padding:20px 32px 28px;overflow:auto}.editor-canvas-scroll[data-hand=true]{cursor:grab;touch-action:none}.editor-canvas-scroll[data-hand=true]:active{cursor:grabbing}.studio-editor .studio-canvas{touch-action:none;background:#fff;margin:auto;display:block;overflow:visible;box-shadow:0 2px 8px #1d3a5c1c}.studio-canvas image{pointer-events:none}.editor-vertical-pages{flex-direction:column;align-items:center;gap:24px;width:max-content;min-width:100%;display:flex}.editor-page-in-scroll{text-align:center}.editor-page-in-scroll>span{color:var(--studio-muted);margin-top:8px;font-size:10px;display:block}.editor-page-in-scroll>button{background:#fff;display:block;box-shadow:0 2px 8px #1d3a5c1c}.editor-device-preview{background:#fff;width:100%;max-width:800px;margin:auto;box-shadow:0 2px 8px #1d3a5c1c}.editor-device-preview[data-device=phone]{border:8px solid #24344b;border-radius:22px;width:360px;max-width:100%;overflow:hidden}.editor-device-preview[data-device=tablet]{border:10px solid #24344b;border-radius:18px;width:768px;max-width:100%;overflow:hidden}.editor-guided-preview{background:#fff;width:100%;max-width:650px;margin:auto}.editor-guided-preview>svg{width:100%}.editor-pagination{background:#fbfdff;justify-content:center;align-items:center;gap:20px;padding:7px;font-size:10px;display:flex}.editor-pagination button{border-radius:5px;padding:4px 8px}.editor-filmstrip{border-top:1px solid var(--editor-line);background:#fcfdff;align-items:center;gap:4px;min-height:94px;padding:9px 4px;display:flex}.editor-page-thumbnails{scrollbar-width:thin;flex:1;align-items:center;gap:9px;padding:3px;display:flex;overflow-x:auto}.editor-page-thumbnail{border-radius:4px;flex-direction:column;flex-shrink:0;align-items:center;gap:4px;width:47px;font-size:9px;display:flex}.editor-thumbnail-art{background:#edf2f9;border:1px solid #d7e1ee;border-radius:4px;width:47px;height:58px;padding:2px;display:block}.editor-page-thumbnail[aria-current=page] .editor-thumbnail-art{background:#fff;border:2px solid #2879df;padding:1px}.editor-page-thumbnail[aria-current=page]{color:#1e62b9;font-weight:700}.editor-add-page{color:#647c9e;border:1px dashed #b8cbe3;border-radius:4px;flex-shrink:0;align-content:center;place-items:center;gap:5px;width:45px;height:58px;margin-bottom:15px;font-size:9px;display:grid}.editor-page-arrow{border-radius:4px;padding:5px 0}.editor-page-actions{border-top:1px solid var(--editor-line);background:#fcfdff;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;min-height:30px;padding:4px 12px;font-size:9px;display:flex}.editor-page-actions>span{color:#61718a;margin-right:auto}.editor-page-actions button{padding:3px 0}.editor-fields{gap:12px;min-width:0;display:grid}.editor-fields label{color:#435673;gap:5px;font-size:10px;display:grid;position:relative}.editor-fields input:not([type=checkbox]):not([type=range]):not([type=color]),.editor-fields select,.editor-fields textarea,.editor-publish-number input{border:1px solid var(--editor-line);color:#19283f;background:#fff;border-radius:5px;width:100%;min-width:0;padding:6px 7px;font-size:11px}.editor-fields textarea{resize:vertical;min-height:65px}.editor-fields input:disabled,.editor-fields select:disabled,.editor-fields textarea:disabled{opacity:.55}.editor-fields input[type=range]{accent-color:#2879df;width:100%;height:13px}.editor-fields output{font-size:9px;position:absolute;top:0;right:0}.editor-field-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}.editor-property-section{border-top:1px solid var(--editor-line);gap:10px;padding-top:12px;display:grid}.editor-property-section summary{cursor:pointer;margin-bottom:10px;font-size:11px;font-weight:600}.editor-property-section details[open]{gap:10px;display:grid}.editor-property-section>.editor-field-pair+label{margin-top:10px}.editor-fields .editor-color-field,.editor-fields .editor-check{justify-content:space-between;align-items:center;display:flex}.editor-color-field input[type=color]{border:1px solid var(--editor-line);background:#fff;border-radius:5px;width:29px;height:24px;padding:2px}.editor-check input{accent-color:#2879df}.editor-formatting{justify-content:space-between;align-items:center;gap:3px;display:flex}.editor-formatting button{border-radius:4px;justify-content:center;align-items:center;width:27px;height:27px;display:inline-flex}.editor-formatting button[aria-pressed=true]{color:#235da5;background:#e0edff}.format-bold{font-weight:800}.format-italic{font-style:italic}.format-underline{text-decoration:underline}.editor-empty-inspector{text-align:center;padding:20px 10px 28px}.editor-empty-inspector>span{color:#7892b3;margin-bottom:10px}.editor-empty-inspector p{color:#61718a;margin-top:6px;font-size:10px;line-height:1.7}.editor-layers{border-top:1px solid var(--editor-line);border-bottom:1px solid var(--editor-line);margin-top:18px;padding:12px 0}.editor-layer-row{border-radius:4px;align-items:center;gap:2px;min-height:29px;display:flex}.editor-layer-row[data-selected=true]{background:#e4efff}.editor-layer-row button{border-radius:4px;justify-content:center;align-items:center;min-width:20px;padding:4px 2px;display:flex}.studio-editor .editor-layer-row [class*=icon-\[]{width:13px;height:13px}.editor-layer-row .editor-layer-name{text-align:left;flex:1;justify-content:flex-start;gap:6px;min-width:0;font-size:9px}.editor-layer-name>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.editor-page-settings{margin-top:16px;padding-bottom:8px}.editor-inspector .editor-panel-scroll{padding-bottom:20px}.editor-panel-tabs>.editor-mobile-close,.editor-viewbar .editor-inspector-toggle{display:none}.editor-publish-dialog{border:1px solid var(--editor-line);color:#19283f;background:#fff;border-radius:14px;width:min(480px,100vw - 32px);max-height:90dvh;margin:auto;padding:26px;overflow:auto;box-shadow:0 20px 80px #19283f30}.editor-publish-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#15274066}.editor-publish-dialog header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px;display:flex}.editor-publish-dialog header button{border-radius:5px;padding:5px 10px;font-size:24px}.editor-publish-dialog h2{letter-spacing:-.6px;font-size:22px;font-weight:650}.editor-eyebrow{letter-spacing:1.5px;color:#61718a;font-size:9px}.editor-publish-dialog>p{margin:12px 0;line-height:1.7}.editor-publish-number{gap:6px;margin:16px 0;display:grid}.editor-publish-actions{gap:10px;margin:20px 0;display:flex}.editor-settings-link{color:#2369c2;margin-top:18px;font-size:11px;display:block}@media (max-width:1250px){.editor-workspace{grid-template-columns:208px minmax(0,1fr) 232px}.editor-save-status{display:none}.editor-top-actions{margin-left:auto}.editor-project-link{width:180px}.editor-tools{justify-content:flex-start}.editor-topbar{gap:8px}}@media (max-width:1100px){.editor-workspace{grid-template-columns:208px minmax(0,1fr)}.editor-inspector{z-index:15;width:264px;display:none;position:absolute;top:0;bottom:0;right:0;box-shadow:-8px 0 30px #1d3a5c18}.studio-editor[data-properties-open=true] .editor-inspector{display:flex}.editor-inspector .editor-panel-tabs>.editor-mobile-close,.editor-viewbar .editor-inspector-toggle{margin-left:auto;display:flex}.editor-document-name{width:210px}}@media (max-width:760px){.editor-workspace{grid-template-columns:minmax(0,1fr)}.editor-assets-panel{z-index:15;width:248px;display:none;position:absolute;top:0;bottom:0;left:0;box-shadow:8px 0 30px #1d3a5c18}.studio-editor[data-assets-open=true] .editor-assets-panel{display:flex}.editor-assets-panel .editor-mobile-close{margin-left:auto;display:flex}.editor-tools>button:first-child{display:flex}.editor-topbar{flex-wrap:wrap;padding:8px 10px}.editor-project-link{flex:1;font-size:10px}.editor-document-name{flex:1}.editor-top-actions{justify-content:flex-end;width:100%}.editor-viewbar{padding:5px 8px}.editor-view-controls{gap:3px}.editor-selectionbar>.editor-hint{display:none}.editor-page-actions{gap:8px;font-size:8px}.editor-canvas-scroll{padding:16px 24px 24px}.editor-view-modes{order:3;width:100%}}@media (prefers-reduced-motion:reduce){.studio-editor *{scroll-behavior:auto!important;transition:none!important}}
