:root{--bg:#f5f7f7;--surface:#fff;--ink:#243c37;--text:#40544f;--muted:#788781;--line:#e6ebe8;--green:#28594b;--green-hover:#1e473b;--pale:#eaf1ed;--peach:#d28064;--shadow:0 8px 30px #1b3c2e08;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--text);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:inherit;line-height:1.5}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green);text-decoration:none}button,input,textarea,select,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--green)}input,textarea,select{color:var(--ink);border:1px solid #dce3df;border-radius:8px;background:#fff;padding:11px 12px;width:100%;outline:none;line-height:1.6}input:focus,textarea:focus,select:focus{border-color:#739989;box-shadow:0 0 0 3px #28594b0c}input::placeholder,textarea::placeholder{color:#8d9992}textarea{resize:vertical;min-height:70px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23687970' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;padding-right:31px}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink)}p{line-height:1.85}svg.icon{width:19px;height:19px;flex-shrink:0;stroke-width:1.75}span[data-icon]{display:inline-flex;align-items:center}.primary{background:var(--green);color:#fff;border:1px solid var(--green);border-radius:8px;padding:10px 17px;min-height:42px;font-weight:500;white-space:nowrap;transition:background .15s}.primary:hover:not(:disabled){background:var(--green-hover)}.quiet-button{border:1px solid #dde5df;background:#fff;border-radius:8px;padding:9px 13px;min-height:40px;white-space:nowrap}.quiet-button:hover:not(:disabled){background:#f5f8f5;border-color:#bbcfc0}.text-button{color:#537c69;font-weight:500;padding:7px 0;white-space:nowrap}.text-button:hover{text-decoration:underline}.icon-button{width:34px;height:34px;border-radius:6px;flex-shrink:0}.icon-button:hover:not(:disabled){background:#e7eee9}.small{padding:7px 13px;min-height:36px;font-size:14px}.muted{color:var(--muted);font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}[hidden]{display:none!important}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:216px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 18px 16px;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 10px;color:var(--ink);font-size:23px;font-weight:700;letter-spacing:1px}.brand>span{display:flex;align-items:baseline;gap:7px}.brand-sub{font-size:12px;letter-spacing:0;font-weight:400;color:#7a8981}.new-button{margin:32px 4px 28px;min-height:44px}.nav-label{font-size:12px;color:#8b978f;padding:0 13px;margin-bottom:12px;letter-spacing:1px}.nav-item{width:100%;padding:12px 13px;border-radius:7px;justify-content:flex-start;gap:12px;margin-bottom:6px;min-height:45px;color:#68786f}.nav-item.active{background:#eaf1ec;color:#28594b;font-weight:600}.nav-item:hover{background:#f1f5f1}.nav-count{font-size:12px;margin-left:auto;min-width:22px;text-align:center;border-radius:4px;background:#fff;padding:1px 4px;color:#7e8c83}.sidebar-note{margin:auto 9px 36px;padding-top:50px;color:#798d7e}.sidebar-note>.icon,.sidebar-note>span .icon{width:36px;height:36px;margin-bottom:15px;color:#8fae91;stroke-width:1.4}.sidebar-note strong{display:block;font-size:13px;font-weight:500;margin-bottom:9px}.sidebar-note p{font-size:12px;line-height:2;color:#99a39b}.connection{padding:13px 4px;gap:9px;border-top:1px solid var(--line);justify-content:flex-start;text-align:left}.connection-icon{width:33px;height:33px;justify-content:center;background:#f1f4f0;border-radius:7px}.connection>span:nth-child(2){display:flex;align-items:flex-start;flex:1;flex-direction:column;gap:3px}.connection strong{font-size:12px;font-weight:600;color:#4d6659}.connection small{font-size:11px;color:#89978d}.connection>span:last-child .icon{width:14px}.local-note{font-size:11px;color:#92a095;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px}.local-note .icon{width:12px;height:12px}.app-main{margin-left:216px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;min-height:72px;padding:0 36px;background:#ffffffdb;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:13px}.workspace-label{color:#8a968e}.breadcrumb-slash{margin:0 16px;color:#c8d0ca}.topbar strong{font-weight:500}.topbar-right{display:flex;align-items:center;gap:20px}.local-badge{color:#7a8980;font-size:12px}.avatar{height:31px;width:31px;background:#e7eee5;border:1px solid #dce6da;display:grid;place-items:center;color:#60805f;border-radius:50%;font-size:13px}main{padding:32px 34px 0;flex:1;width:100%;max-width:1720px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.overline{font-size:10px;letter-spacing:2.3px;color:#84948a;margin-bottom:11px;font-weight:600}h1{font-size:25px;line-height:1.5;letter-spacing:.3px;font-weight:650}h1 span{color:var(--peach)}.page-heading p{font-size:13px;color:#819087;margin-top:8px}.page-heading>.text-button{font-size:13px;align-self:flex-end}.brief-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 22px 13px;box-shadow:var(--shadow);margin-bottom:28px}.section-label{font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;color:#3d594b;margin-bottom:13px}.section-label .icon{color:#8aa27c;width:17px;height:17px}.topic-row{display:flex;gap:12px}.topic-row input{background:#fafcfb;border-color:#e4eae5;height:47px;font-size:14px;padding-left:14px}.generate{min-width:132px;height:47px}.brief-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:13px}.topic-suggestions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#98a299}.topic-suggestions button{font-size:12px;color:#77897c;padding:3px 9px;background:#f4f7f3;border:1px solid #eff2ed;border-radius:4px}.topic-suggestions button:hover{background:#eaf1e7}.brief-options{display:flex;gap:9px;flex-shrink:0}.brief-options select{font-size:12px;padding-top:3px;padding-bottom:3px;border-color:transparent;color:#74877b;min-height:30px;background-color:#f9faf9}.mode-notice{color:#9a6c39;font-size:12px;margin-top:11px;padding-top:9px;border-top:1px solid var(--line)}.job-progress{border:1px solid #cbded0;background:#edf5ef;display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:20px;border-radius:9px;color:#3d6b4c}.spinner{width:18px;height:18px;border:2px solid #b4cbb9;border-top-color:var(--green);border-radius:50%;animation:spin .9s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}
.editor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.document-title{display:flex;align-items:center;gap:11px;min-width:0}.document-icon{width:36px;height:39px;background:#e8efea;border:1px solid #dce8df;border-radius:7px;justify-content:center;color:#6f9078;flex-shrink:0}.document-title h2{font-size:16px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.document-meta{font-size:11px;display:flex;align-items:center;color:#8b998e;gap:7px;margin-top:2px}.meta-dot{color:#a9b3ad}.document-actions{display:flex;gap:9px;flex-shrink:0}.document-actions button{font-size:13px;min-height:37px;padding:8px 11px}.document-actions .icon{width:16px;height:16px}.editor-layout{display:grid;grid-template-columns:140px minmax(290px,1fr) 316px;min-height:658px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.pages-panel{border-right:1px solid var(--line);background:#fdfefd;padding:17px 13px 12px}.panel-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#607269;font-weight:600;margin-bottom:17px}.panel-heading span{background:#f0f4f0;padding:1px 6px;border-radius:4px;font-weight:400;font-size:11px;color:#91a092}.page-thumbnails{max-height:567px;overflow-y:auto;padding:3px 4px;scrollbar-width:thin;scrollbar-color:#d7e1d8 transparent}.thumbnail{display:flex;width:100%;flex-direction:column;gap:7px;padding:0;margin-bottom:17px;border-radius:5px;position:relative}.thumbnail-image{border:2px solid transparent;padding:3px;border-radius:6px;width:100%;transition:border-color .15s}.thumbnail.active .thumbnail-image{border-color:#477c5e;background:#f5f9f3}.thumbnail-image img{width:100%;display:block;border-radius:2px;border:1px solid #e8eae3}.thumbnail-label{font-size:11px;color:#91a093;line-height:1.6;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thumbnail.active .thumbnail-label{color:#4e7a5b;font-weight:600}.pages-hint{font-size:10px;text-align:center;color:#a3ada4;margin-top:10px}.preview-panel{background:#eff2f1;display:flex;flex-direction:column;min-width:0}.preview-toolbar{height:61px;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.segmented{display:flex;gap:2px;padding:3px;background:#e4eae6;border-radius:7px}.segmented button{padding:6px 12px;min-height:30px;font-size:12px;color:#8b978e;border-radius:5px;gap:5px}.segmented button span{font-size:10px;opacity:.8}.segmented button.active{background:#fff;color:#41654d;box-shadow:0 1px 4px #244a2b0a}.preview-toolbar>.icon-button{color:#7c8e81}.canvas-stage{flex:1;display:flex;align-items:center;justify-content:center;min-height:510px;padding:17px 20px 22px;overflow:hidden;background-image:radial-gradient(#c5d0c74d .7px,transparent .7px);background-size:12px 12px}.canvas-stage img{display:block;width:auto;max-width:100%;max-height:560px;object-fit:contain;box-shadow:0 14px 28px #24452a12,0 2px 5px #24452a0c;outline:1px solid #41573c07}.preview-bottom{height:51px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:10px;color:#97a49a;border-top:1px solid #e2e8e3;background:#f2f5f3}.preview-bottom>div{display:flex;align-items:center;gap:5px;color:#758b7a;font-size:12px}.preview-bottom .icon{width:14px;height:14px}.preview-bottom .icon-button{height:28px;width:24px}.inspector{border-left:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.inspector-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);padding:0 19px;height:58px;flex-shrink:0}.inspector-tabs button{padding:0;font-size:13px;color:#95a093;white-space:nowrap;position:relative}.inspector-tabs button[aria-selected=true]{color:#365d45;font-weight:600}.inspector-tabs button[aria-selected=true]:after{content:"";height:2px;background:#4a7656;position:absolute;bottom:0;left:0;right:0}.inspector-tabs span{font-size:10px;padding:1px 5px;background:#f0f4ef;border-radius:4px;font-weight:400}.inspector-body{padding:19px;max-height:360px;min-height:300px;overflow-y:auto;scrollbar-width:thin;flex:1}.field-heading{font-size:12px;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:#60786a}.field-heading span{font-size:10px;color:#9ca69b}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:22px}.theme-choice{display:flex;flex-direction:column;gap:7px;padding:3px 0;font-size:10px;white-space:nowrap;color:#8a988b}.theme-choice.active{color:#3d6a49;font-weight:500}.swatch{display:flex;width:100%;height:39px;border:1px solid #e4e8df;border-radius:6px;padding:5px;gap:3px;position:relative}.swatch i:first-child{flex:1.3;border-radius:3px}.swatch i:last-child{flex:1;border-radius:3px}.theme-choice.active .swatch{outline:2px solid #6f9470;outline-offset:2px}.edit-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px;color:#6f8272;margin-top:14px}.edit-label small{font-size:10px;color:#a0aaa0}.edit-input{font-size:13px;padding:8px 9px;background:#fcfdfb;border-color:#e5ebe3;border-radius:6px}.edit-area{line-height:1.8;min-height:78px}.layout-field{display:flex;gap:10px;align-items:center;margin-bottom:10px}.layout-field label{font-size:12px;color:#81917f;white-space:nowrap}.layout-field select{font-size:12px;padding:6px 30px 6px 9px;background-color:#fafcf9}.feedback-panel{padding:16px 19px 14px;border-top:1px solid var(--line);background:#fdfefd}.feedback-heading{display:flex;align-items:center;gap:7px;font-size:12px;color:#4e7057;margin-bottom:12px}.feedback-heading strong{font-weight:500}.feedback-heading .icon{color:#8ca780;width:16px;height:16px}.feedback-panel textarea{font-size:12px;min-height:91px;background:#f8faf7;border-color:#e3eae0;line-height:1.8}.feedback-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.feedback-bottom select{font-size:11px;border:0;padding:4px 26px 4px 0;width:102px;background-color:transparent;color:#8a9a87}.feedback-bottom .primary{font-size:12px;min-height:31px;padding:5px 11px}.feedback-note{display:block;color:#a4afa1;font-size:10px;margin-top:10px;text-align:center;line-height:1.8}.feedback-history{max-height:85px;overflow:auto;font-size:11px;color:#869a82}.feedback-history p{padding:7px 9px;background:#f2f6ef;border-radius:6px;margin-bottom:8px;overflow-wrap:anywhere}.source-note{font-size:12px;color:#899480;line-height:1.8;margin-bottom:17px}.source-item{border-top:1px solid var(--line);padding:13px 0}.source-item a{font-size:12px;line-height:1.7;display:block;overflow-wrap:anywhere}.source-item p{font-size:10px;color:#96a18f;margin-top:7px}.source-item label{font-size:11px;display:flex;align-items:center;gap:8px;margin-top:10px;color:#67815e}.source-item input{width:15px;height:15px;accent-color:var(--green);margin:0}.source-empty{padding:25px 5px;text-align:center}.source-empty .icon{width:28px;height:28px;color:#a8b79f;margin-bottom:15px}.bottom-note{display:flex;align-items:center;gap:7px;font-size:11px;color:#96a18f;padding:12px 2px;line-height:1.8}.bottom-note .icon{width:14px;height:14px}.bottom-note .text-button{font-size:11px;margin-left:auto;padding:1px 0}.app-footer{display:flex;justify-content:space-between;gap:20px;padding:26px 35px 20px;font-size:10px;color:#a4aea4;letter-spacing:.3px}
.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:460px;border:1px dashed #dce4dc;border-radius:12px;background:#f9fbf9;text-align:center;padding:35px}.empty-illustration{position:relative;width:95px;height:100px;display:grid;place-items:center;margin-bottom:14px;color:#9db39a}.empty-illustration>.icon,.empty-illustration>span:first-child .icon{width:76px;height:76px;stroke-width:.9}.mini-leaf{position:absolute;right:-3px;top:1px;background:#e7f0e3;border-radius:50%;padding:9px;color:#6e986b}.mini-leaf .icon{width:23px;height:23px}.empty-state h2{font-size:18px;font-weight:500;margin-bottom:12px}.empty-state p{font-size:13px;color:#9aa594;margin-bottom:24px}.empty-state .quiet-button{font-size:12px;background:#fff}.workflow-mini{display:flex;align-items:center;gap:14px;margin-top:42px;font-size:11px;color:#a0ac99}.workflow-mini i{height:1px;width:24px;background:#d8e1d2}.settings-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);gap:25px;max-width:1050px}.settings-card{background:#fff;padding:28px;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.settings-card h2{font-size:18px;margin-bottom:23px}.settings-card>label{display:block;margin:17px 0 8px;font-size:14px}.settings-card>.primary{margin-top:25px;min-width:120px}.settings-card>.muted{margin-top:12px}.connection-card{align-self:start}.connection-art{padding:12px;border-radius:10px;background:#edf2e9;color:#678e5d;margin-bottom:20px}.connection-art .icon{width:30px;height:30px}.connection-card p{font-size:14px;margin-bottom:15px;color:#7d8e76}.connection-card .muted{font-size:12px}.connection-card pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf3e8;color:#45653c;border:1px solid #dce8d4;border-radius:8px;padding:15px;font-size:12px;line-height:1.9;user-select:all}.auth-state{padding:12px;background:#f8f9f5;border:1px solid #e7ebe0;border-radius:7px;margin:20px 0;font-size:13px}.search-field{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 10px;width:235px;color:#92a088}.search-field input{border:0;box-shadow:none;padding:8px 0;background:transparent;font-size:13px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px}.library-item{background:#fff;border:1px solid var(--line);border-radius:10px;text-align:left;display:flex;flex-direction:column;padding:12px;align-items:stretch;transition:transform .15s,box-shadow .15s}.library-item:hover{transform:translateY(-3px);box-shadow:0 10px 22px #26412a0b}.library-cover{background:#f4f5f1;border-radius:6px;height:250px;display:flex;justify-content:center;padding:10px;overflow:hidden}.library-cover img{height:100%;max-width:100%;object-fit:contain;box-shadow:0 5px 14px #3248290d}.library-item h3{font-size:14px;line-height:1.8;padding:11px 3px 5px}.library-item p{font-size:11px;color:#99a491;padding:0 3px}.library-empty{grid-column:1/-1;padding:70px;text-align:center;color:#8e9d85}.toast-region{position:fixed;bottom:25px;left:50%;transform:translateX(-35%);z-index:100;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:min(90vw,570px)}.toast{padding:12px 20px;background:#294d3f;color:#fff;box-shadow:0 7px 30px #162d232e;border-radius:9px;font-size:13px;line-height:1.8;animation:appear .2s ease}.toast.error{background:#914e3d}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}dialog{width:min(640px,calc(100vw - 32px));border:1px solid var(--line);border-radius:14px;padding:24px;color:var(--text);box-shadow:0 24px 100px #1d322c36;max-height:85vh}dialog::backdrop{background:#19382f5c;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:15px;margin-bottom:15px;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:18px}.modal-body-text{font-size:14px;line-height:1.9}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.modal-field{display:block;margin-bottom:10px;margin-top:16px;font-size:13px}.export-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.export-summary>div{background:#f2f6ef;border-radius:8px;padding:17px;text-align:center;font-size:12px;color:#8c9c82}.export-summary strong{display:block;color:#4d7042;font-size:18px;margin-bottom:4px}.caption-tags{font-size:13px;color:#6f915e;line-height:2}.history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.history-row strong{font-size:14px}.history-row p{font-size:12px;color:#97a48c}.history-row button{font-size:12px}
.brand>span{display:block;white-space:nowrap;line-height:1.2}.brand-sub{display:block;font-size:10px;letter-spacing:1px;margin-top:6px}.brand img{flex-shrink:0}
.has-project .page-heading{margin-bottom:17px}.has-project .overline,.has-project .page-heading p,.has-project .section-label{display:none}.has-project .page-heading h1{font-size:22px}.has-project .brief-panel{padding:14px 18px 11px;margin-bottom:22px}.has-project .brief-bottom{margin-top:7px}.has-project .topic-suggestions{font-size:11px}.has-project .mode-notice{margin-top:7px;padding-top:7px;font-size:11px}
.panel-heading,.field-heading,.edit-label,.layout-field label{font-size:14px;color:#526e5b}.inspector-tabs button{font-size:14px}.edit-input,.layout-field select{font-size:14px}.theme-choice{font-size:12px;color:#667d60}.remember-style{font-size:12px;padding:0}.feedback-heading{font-size:14px}.feedback-panel textarea{font-size:14px}.feedback-bottom select,.feedback-bottom .primary{font-size:13px}.source-note{font-size:14px;color:#65785c}.source-item a{font-size:14px}.source-item p,.source-item label{font-size:12px;color:#6d8063}.bottom-note{font-size:12px;color:#71836a}.document-meta{font-size:12px;color:#71836a}.document-actions button{font-size:14px}.pages-hint{font-size:11px}.thumbnail-label{font-size:12px}.preview-bottom{color:#71836a;font-size:11px}.topic-suggestions button,.brief-options select{font-size:13px}.feedback-note{font-size:11px;color:#7d8f73}.preview-scale{font-size:11px}.generated-style{display:flex;align-items:center;gap:10px;background:#f2f6ef;border-radius:7px;padding:10px;margin-bottom:15px}.generated-style>span{width:32px;height:32px;border:1px solid #d5dfcf;border-radius:6px}.generated-style strong{font-size:14px;font-weight:500}.generated-style small{display:block;font-size:12px;color:#697e60;margin-top:4px}
@media(min-width:1600px){main{padding-top:38px}.editor-layout{grid-template-columns:154px minmax(380px,1fr) 346px}.inspector-body{max-height:400px}.canvas-stage{min-height:560px}.canvas-stage img{max-height:605px}.page-thumbnails{max-height:612px}.editor-layout{min-height:710px}}
@media(max-width:1250px){.sidebar{width:190px;padding:25px 12px 16px}.brand{font-size:21px;padding:0 7px;gap:8px}.brand-sub{font-size:10px}.brand img{width:34px;height:34px}.app-main{margin-left:190px}main{padding:27px 24px 0}.topbar{padding:0 25px}.editor-layout{grid-template-columns:114px minmax(280px,1fr) 285px}.pages-panel{padding-left:9px;padding-right:9px}.inspector-body{padding:16px}.feedback-panel{padding:15px}.inspector-tabs{padding:0 15px;gap:15px}.canvas-stage{padding:13px 18px;min-height:465px}.canvas-stage img{max-height:510px}.editor-layout{min-height:620px}.page-thumbnails{max-height:530px}h1{font-size:23px}.preview-scale{display:none}.preview-toolbar{padding:0 13px}.segmented button{padding:5px 9px}.document-title h2{font-size:14px}.topic-suggestions{gap:5px}.topic-suggestions button{padding:3px 6px}.app-footer{padding-left:25px;padding-right:25px}}
@media(max-width:1050px){.sidebar{width:170px;padding-left:10px;padding-right:10px}.brand-sub{display:none}.brand{font-size:23px}.app-main{margin-left:170px}.editor-layout{grid-template-columns:115px minmax(280px,1fr)}.inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.inspector-tabs{grid-column:1/-1}.inspector-body{max-height:355px}.feedback-panel{border-top:0;border-left:1px solid var(--line);padding:22px}.theme-grid{max-width:300px}.canvas-stage img{max-height:560px}.canvas-stage{min-height:550px}.page-thumbnails{max-height:589px}.topic-suggestions button:last-child{display:none}.page-heading{align-items:flex-start}.page-heading>.text-button{align-self:center}h1{font-size:21px}.document-actions span:not([data-icon]){display:none}.settings-grid{grid-template-columns:1fr}.connection-card{max-width:none}}
@media(max-width:760px){.sidebar{position:relative;width:100%;height:auto;flex-direction:row;align-items:center;padding:12px 17px;border-right:0;border-bottom:1px solid var(--line);gap:15px}.brand{padding:0;font-size:21px;gap:7px;flex-shrink:0}.brand img{width:32px;height:32px}.sidebar .new-button,.nav-label,.sidebar-note,.sidebar .connection,.local-note{display:none}.sidebar nav{display:flex;margin-left:auto;gap:3px}.nav-item{font-size:12px;padding:9px;margin:0;gap:6px;min-height:37px;width:auto}.nav-item .icon{width:15px;height:15px}.nav-count{display:none}.app-main{margin:0}.topbar{height:53px;min-height:53px;padding:0 19px;font-size:12px}.topbar-right{gap:10px}.topbar .workspace-label{display:none}.breadcrumb-slash{display:none}.local-badge{font-size:10px}.avatar{width:27px;height:27px;font-size:11px}main{padding:25px 17px 0}.overline{font-size:9px;letter-spacing:1.8px;margin-bottom:7px}h1{font-size:20px}.page-heading{gap:10px;margin-bottom:20px}.page-heading>.text-button{font-size:11px;align-self:flex-end}.page-heading>.text-button .icon{display:none}.page-heading p{font-size:12px;margin-top:7px}.brief-panel{padding:16px;margin-bottom:24px}.topic-row{flex-direction:column;gap:10px}.topic-row input{font-size:13px}.generate{width:100%;height:41px;min-height:41px}.brief-bottom{align-items:flex-start;flex-direction:column;gap:9px}.brief-options{width:100%;justify-content:space-between}.brief-options select{font-size:11px}.topic-suggestions{font-size:11px}.topic-suggestions button:last-child{display:inline-flex}.editor-heading{flex-wrap:wrap;gap:12px}.document-title{flex:1}.document-actions{gap:7px}.document-actions .quiet-button{width:35px;padding:5px}.document-actions .primary{padding:8px 10px;font-size:12px}.document-title h2{font-size:13px}.document-meta{font-size:10px}.document-icon{display:none}.editor-layout{grid-template-columns:78px minmax(0,1fr);border-radius:9px;min-height:0}.pages-panel{padding:13px 5px 8px}.panel-heading{font-size:10px;margin:0 4px 14px}.panel-heading span{font-size:9px;padding:0 3px}.thumbnail{margin-bottom:12px;gap:4px}.thumbnail-label{font-size:9px}.thumbnail-image{padding:2px}.page-thumbnails{padding:2px;max-height:480px}.pages-hint{display:none}.preview-toolbar{height:52px;padding:0 8px;gap:4px}.segmented{padding:2px}.segmented button{font-size:10px;padding:5px 7px;gap:3px;min-height:28px}.segmented button span{font-size:8px}.preview-toolbar>.icon-button{width:25px;height:28px}.preview-toolbar .icon{width:15px;height:15px}.canvas-stage{padding:17px 12px;min-height:325px;align-items:flex-start}.canvas-stage img{width:100%;max-width:340px;max-height:520px;object-fit:contain}.preview-bottom{height:40px;padding:0 8px;font-size:8px}.preview-bottom>div{font-size:10px;gap:2px}.preview-bottom .icon-button{width:19px}.inspector{display:flex;flex-direction:column}.inspector-tabs{height:49px;padding:0 17px;gap:22px}.inspector-tabs button{font-size:12px}.inspector-body{min-height:0;max-height:340px;padding:19px}.feedback-panel{border-left:0;border-top:1px solid var(--line);padding:18px}.theme-grid{max-width:none}.theme-choice{font-size:11px}.swatch{height:43px}.edit-label{font-size:13px}.edit-input{font-size:14px}.feedback-panel textarea{font-size:13px}.feedback-heading{font-size:13px}.feedback-bottom select{font-size:12px}.feedback-bottom .primary{font-size:13px;min-height:36px}.feedback-note{font-size:11px}.bottom-note{font-size:10px;align-items:flex-start;flex-wrap:wrap}.bottom-note>span:nth-child(2){flex:1}.bottom-note .text-button{font-size:10px;flex-shrink:0}.app-footer{padding:24px 18px 18px;font-size:9px}.app-footer span:last-child{display:none}.settings-card{padding:21px}.settings-card h2{font-size:17px}.settings-card p{font-size:13px}.search-field{width:165px;font-size:12px}.search-field input{font-size:12px}.library-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.library-cover{height:215px;padding:7px}.library-item{padding:8px}.library-item h3{font-size:12px}.library-item p{font-size:10px}.library-empty{padding:40px 15px}.empty-state{padding:30px 12px;min-height:410px}.empty-state h2{font-size:16px}.empty-state p{font-size:12px}.workflow-mini{gap:8px;font-size:10px}.workflow-mini i{width:16px}.toast-region{left:50%;transform:translateX(-50%);width:max-content}.export-summary>div{padding:12px 7px;font-size:11px}.export-summary strong{font-size:15px}}
@media(max-width:760px){.sidebar .nav-item{white-space:nowrap;font-size:12px}.sidebar .nav-item .icon{display:none}.document-title .document-icon{display:none}.has-project .page-heading h1{font-size:18px}.has-project .page-heading>.text-button{font-size:11px}.document-title{min-width:110px}.document-title h2{font-size:13px}.document-meta{font-size:10px;flex-wrap:wrap;gap:3px}.has-project .brief-panel .topic-suggestions{font-size:10px}.has-project .mode-notice{font-size:10px}.bottom-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
