:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172338;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{text-decoration:none;color:inherit}.topbar{height:72px;background:#fff;border-bottom:1px solid #e7ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:5}.brand{font-weight:750;font-size:19px;white-space:nowrap}.brand-mark{color:#fff;background:#3478f6;border-radius:10px;padding:7px;margin-right:8px}.brand-sub{font-size:14px;color:#8d98aa;font-weight:500}.edit-bar,.heading-actions,.toolbar,.toolbar-left,.toolbar-right,.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.privacy{color:#30846b;font-size:12px;margin-right:15px}.btn{border:1px solid #e1e6f0;background:#fff;padding:10px 15px;border-radius:10px;font-size:13px;font-weight:650;color:inherit;transition:.18s}.btn:hover{transform:translateY(-1px);border-color:#a8c4f6}.btn.primary{color:#fff;background:#3478f6;border-color:#3478f6;box-shadow:0 4px 10px #3478f624}.btn.subtle{background:#fff}.app-shell{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:248px;flex:0 0 248px;border-right:1px solid #e7ebf1;background:#fff;padding:28px 14px;display:flex;flex-direction:column;gap:5px}.eyebrow{font-weight:760;font-size:10px;letter-spacing:1.7px;color:#8d99ad;margin:0 12px 12px}.eyebrow.space{margin-top:35px}.nav{width:100%;text-align:left;padding:13px 15px;border:0;border-radius:10px;background:0 0;color:#637087;font-weight:550;font-size:14px}.nav span{margin-left:9px}.nav:hover{background:#f4f7fb}.nav.active{background:#eaf2ff;color:#246de1;font-weight:700}.nav.danger:hover{color:#e44c5a;background:#fff1f2}.side-bottom{margin-top:auto;padding:25px 14px;color:#8090a4;line-height:1.6}.side-bottom strong{display:block;color:#364861;font-size:13px}.side-bottom small{display:block;font-size:12px}.main{width:100%;min-width:0;max-width:1700px;padding:42px 5% 20px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.heading .eyebrow{margin-left:0}h1{font-size:36px;letter-spacing:-1.4px;margin:5px 0 8px}h2{font-size:18px;letter-spacing:-.4px;margin:0 0 6px}.heading p,.panel-head p{color:#8996a9;margin:0;font-size:14px}.dropzone{background:#fff;border:2px dashed #ccd9eb;min-height:425px;border-radius:22px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;transition:.2s}.dropzone.drag{background:#eaf3ff;border-color:#3478f6}.dropzone h2{font-size:25px;margin-top:20px}.dropzone p{color:#8895a8}.upload-icon{background:#e9f1ff;color:#3478f6;font-size:34px;border-radius:19px;display:grid;place-items:center;width:74px;height:74px}.support{font-size:12px;color:#97a5b8;margin-top:20px}.stats{display:flex;align-items:center;gap:35px;padding:18px 25px;background:#fff;border:1px solid #e9edf4;border-radius:16px;margin-bottom:16px}.stats>div{display:flex;flex-direction:column}.stats strong{font-size:20px}.stats span{font-size:12px;color:#9aa6b7}.stats .status{margin-left:auto;color:#47826b}.toolbar{justify-content:space-between;margin-bottom:15px}.toolbar label,.toolbar span{color:#8b98aa;font-size:12px}.toolbar input{accent-color:#3478f6;width:85px}.panel{padding:26px;background:#fff;border:1px solid #e9edf4;border-radius:18px;min-height:300px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px}.pages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--tile,174px),1fr));gap:18px}.page-card{border:2px solid #e6ebf3;border-radius:14px;padding:9px;min-width:0;background:#fcfdff;cursor:grab;position:relative;transition:.2s}.page-card:hover{border-color:#a7c5ff}.page-card.selected{border-color:#3478f6;background:#eaf2ff}.page-card.dragging{opacity:.4}.page-card canvas{width:100%;height:auto;display:block;box-shadow:0 3px 13px #152f541c;background:#fff;border-radius:4px}.page-card .page-label{font-size:11px;color:#657388;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:9px}.page-card .number{position:absolute;top:15px;left:15px;background:#fff;border-radius:7px;padding:4px 7px;font-size:10px;box-shadow:0 1px 5px #0002}.page-card .tick{position:absolute;right:14px;top:15px;border-radius:100%;width:20px;height:20px;background:#fff;border:1px solid #cbd4e2;text-align:center;font-size:13px}.page-card.selected .tick{background:#3478f6;color:#fff;border-color:#3478f6}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:25px}.edit-bar{margin-bottom:15px}.edit-bar label,.editor-options label,.metadata label{display:flex;gap:6px;flex-direction:column;color:#6a778b;font-size:12px;font-weight:600}.edit-bar input,.edit-bar select,.editor-options input,.editor-options textarea,.metadata input{border:1px solid #dfe6ef;border-radius:9px;padding:10px;background:#fff;color:#172338;max-width:100%}.edit-bar input[type=color]{padding:2px;width:48px;height:37px}.edit-bar input[type=number]{width:85px}.editor-stage{position:relative;max-width:760px;margin:auto;background:#eef2f8;border-radius:12px;padding:14px}.editor-stage canvas{width:100%;height:auto;display:block}.editor-stage #editorOverlay{position:absolute;inset:14px;cursor:crosshair;touch-action:none}.editor-options{display:flex;flex-direction:column;gap:15px;background:#f8faff;padding:20px;border-radius:14px}.editor-options h3{font-size:14px;margin:0}.editor-options hr{border:0;border-top:1px solid #e0e7f1;width:100%}.editor-options .check{flex-direction:row;align-items:center}.block{width:100%}.hint{font-size:12px;color:#8592a5;line-height:1.6}.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:15px}.tool-card{border:1px solid #e2e9f3;border-radius:14px;padding:22px}.tool-card h3{margin:0 0 10px;font-size:16px}.tool-card p{font-size:13px;line-height:1.6;color:#8491a4;min-height:60px}.metadata{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}footer{padding:25px 0;text-align:center;color:#a0aabc;font-size:12px}.toast{position:fixed;bottom:25px;right:25px;padding:14px 20px;color:#fff;background:#263a59;border-radius:12px;box-shadow:0 10px 25px #0002;z-index:9;max-width:370px;display:none}.toast.show{display:block}.busy{position:fixed;inset:0;background:#ffffffac;backdrop-filter:blur(3px);z-index:10;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}#workspace[hidden],.busy[hidden],.dropzone[hidden],.panel[hidden]{display:none!important}.loader{border:4px solid #d6e5ff;border-top-color:#3478f6;border-radius:50%;width:42px;height:42px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}body.dark{background:#121923;color:#eaf1fc}body.dark .btn.subtle,body.dark .dropzone,body.dark .panel,body.dark .sidebar,body.dark .stats,body.dark .tool-card,body.dark .topbar{background:#1c2635;border-color:#344156}body.dark .editor-options,body.dark .nav:hover{background:#283347}body.dark .page-card{background:#283347;border-color:#3b4a61}body.dark .page-card.selected{border-color:#6b9eff}body.dark input,body.dark select,body.dark textarea{background:#1b2635;color:#eef3ff;border-color:#435069}@media(max-width:900px){.sidebar{width:70px;flex-basis:70px}.sidebar .eyebrow,.sidebar .nav span,.sidebar .side-bottom{display:none}.main{padding:25px 3%}.privacy{display:none}.editor-layout{grid-template-columns:1fr}}@media(max-width:600px){.topbar{padding:10px;height:auto;gap:10px;flex-wrap:wrap}.brand-sub{display:none}.top-actions{gap:5px}.heading{align-items:flex-start;flex-direction:column}h1{font-size:28px}.sidebar{display:none}.main{padding:20px 12px}.stats{gap:18px;padding:14px}.toolbar-right{width:100%}.panel{padding:14px}.pages-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.btn{padding:9px 11px}}.toolbar[hidden]{display:none!important}.projects-dialog{width:min(720px,94vw);max-height:85vh;overflow:auto;border:1px solid #d6e1ef;border-radius:20px;padding:25px;background:#fff;color:#172338;box-shadow:0 24px 80px #0004}.projects-dialog::backdrop{background:#10213c99}.dialog-heading,.project-actions,.project-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.project-actions{justify-content:flex-start;margin:18px 0}.project-actions input{min-width:180px;flex:1;padding:10px;border:1px solid #ccd6e5;border-radius:9px}.project-row{padding:14px 0;border-top:1px solid #e6ecf5}.project-row small{display:block;color:#8190a5;margin-top:5px}.project-row .actions{display:flex;gap:5px;flex-wrap:wrap}.annotation-inspector{border:1px solid #dce5f2;border-radius:10px;padding:12px;display:grid;gap:9px}.annotation-inspector label{display:flex;flex-direction:column;gap:5px}.annotation-inspector input,.annotation-inspector textarea{width:100%}.annotation-box{position:absolute;border:2px solid #3478f6;background:#3478f614;cursor:move;touch-action:none;box-sizing:border-box}.annotation-box .resize-handle{position:absolute;right:-7px;bottom:-7px;width:14px;height:14px;background:#3478f6;border:2px solid #fff;border-radius:4px;cursor:nwse-resize}.annotation-box:not(.active){border-color:transparent;background:0 0}.annotation-box:not(.active) .resize-handle{display:none}.annotation-box:hover{border-color:#3478f6}.tools-grid textarea{width:100%;margin:10px 0;border:1px solid #dce5f2;border-radius:9px;padding:9px;resize:vertical}.tools-grid select{padding:8px;border-radius:8px;border:1px solid #dce5f2}.tools-grid progress{width:100%}body.dark .projects-dialog{background:#1c2635;color:#eaf1fc;border-color:#344156}body.dark .project-row{border-color:#344156}body.dark .annotation-inspector{border-color:#435069}.legacy-color-control,.legacy-tool-control{display:none!important}.ios-markup{margin:0 0 14px;border-radius:21px;padding:16px;background:linear-gradient(145deg,#fff,#f6f9ff);border:1px solid #e5eaf4;box-shadow:0 8px 26px #223a5610}.ios-colors,.ios-markup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ios-color-label strong,.ios-markup-head strong{font-size:14px;display:block;letter-spacing:-.2px}.ios-color-label span,.ios-markup-head span{display:block;font-size:11px;color:#7a899d;margin-top:4px}.ios-markup-tip{background:#edf4ff;color:#3575df!important;border-radius:30px;padding:7px 10px;white-space:nowrap}.ios-tools{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:16px 0;padding:7px;border-radius:17px;background:#eaf0f8}.ios-tool{border:1px solid transparent;background:0 0;color:#61718a;border-radius:13px;padding:10px 2px;min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:650;transition:background .16s,box-shadow .16s,transform .16s}.ios-tool-symbol{font-size:23px;line-height:1;font-weight:500}.ios-tool:hover{background:#ffffffae;color:#2863c3}.ios-tool.active{background:#fff;color:#2563eb;box-shadow:0 3px 12px #223a561d;border-color:#dce8fa}.ios-swatch:focus-visible,.ios-tool:focus-visible{outline:3px solid #3478f6;outline-offset:2px}.ios-colors{justify-content:flex-start;border-top:1px solid #e7ebf2;padding-top:14px}.ios-color-label{min-width:105px}.ios-swatches{display:flex;align-items:center;gap:7px;flex-wrap:wrap;flex:1}.ios-swatch{width:26px;height:26px;flex:0 0 26px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cad2de;background:var(--swatch);position:relative;transition:transform .14s}.ios-swatch:hover{transform:scale(1.13)}.ios-swatch.selected{box-shadow:0 0 0 2px #3679f6,0 0 0 4px #fff;transform:scale(1.08)}.ios-swatch.selected:after{content:'✓';color:#fff;text-shadow:0 1px 2px #0008;font-size:13px;font-weight:900}.ios-custom-color{cursor:pointer!important;display:flex;flex-direction:row!important;align-items:center!important;gap:6px;padding:8px 10px;border:1px solid #dae3f0;border-radius:10px;font-size:11px!important;white-space:nowrap;background:#fff}#editorOverlay .annotation-box:not(.active){pointer-events:none}.ios-markup~.markup-palette{margin-top:8px}body.dark .ios-markup{background:linear-gradient(145deg,#263143,#1c2838);border-color:#3b4a62}body.dark .ios-tools{background:#172235}body.dark .ios-tool.active{background:#34455c;color:#9cbfff;border-color:#587093}body.dark .ios-colors{border-color:#435069}body.dark .ios-custom-color{background:#27364a;border-color:#435069}@media(max-width:850px){.ios-tools{grid-template-columns:repeat(4,minmax(0,1fr))}.ios-tool{min-height:58px}.ios-markup{padding:12px}}:root{--z-chrome:20;--z-workbench:1;--z-tools:40;--z-nav:60;--touch-target:44px}.markup-palette{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0;padding:12px;border-radius:18px;background:var(--panel,#f1f5f9);border:1px solid rgba(120,130,150,.2)}.markup-palette label{display:flex;align-items:center;gap:5px;font-size:12px}.markup-palette input[type=range]{width:92px}.markup-palette output{font-size:12px;min-width:30px}.markup-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}#editorOverlay{touch-action:none}#editorOverlay .annotation-box{z-index:5}.annotation-workbench{position:relative;z-index:var(--z-workbench);border-radius:18px;border:1px solid #d9e3f0;box-shadow:0 12px 32px #17233818;background:var(--surface,#fff);overflow:hidden}.ios-swatch,.ios-tool,.mobile-actions button,.mobile-nav-btn{min-height:var(--touch-target);min-width:var(--touch-target)}.ios-swatch{width:44px!important;height:44px!important;flex:0 0 44px}.resize-handle{min-width:28px;min-height:28px;touch-action:none}[role=button]:focus-visible,button:focus-visible{outline:3px solid #3478f6;outline-offset:3px}.mobile-dock{display:none}.mobile-actions[hidden]{display:none!important}@media(max-width:1000px){.topbar{height:auto;min-height:62px;padding:10px 16px;gap:10px;flex-wrap:wrap}.top-actions{gap:6px}.top-actions .privacy{display:none}.heading{gap:8px}.main{padding:18px 3% 24px}}@media(max-width:700px){.sidebar{display:none!important}.app-shell{display:block;min-height:0}.main{padding:8px 8px calc(160px + env(safe-area-inset-bottom));width:100%;overflow:visible}.topbar{height:auto;min-height:54px;padding:7px 10px;flex-wrap:nowrap}.brand{font-size:15px;min-width:0;white-space:nowrap}.brand-sub{font-size:11px}.top-actions{margin-left:auto;flex-wrap:nowrap}.top-actions #newBtn,.top-actions #projectsBtn,.top-actions #saveProjectBtn,.top-actions #themeBtn{display:none}.top-actions #openBtn{padding:9px;font-size:12px}.heading{margin:6px 0 10px;align-items:center}.heading h1{font-size:19px;letter-spacing:-.4px}.heading .eyebrow,.heading p{display:none}.heading-actions{gap:4px;flex-wrap:nowrap}.heading-actions .btn{min-width:44px;min-height:44px;padding:8px;font-size:11px}.heading-actions #redoBtn,.heading-actions #undoBtn{font-size:0}.heading-actions #redoBtn::first-letter,.heading-actions #undoBtn::first-letter{font-size:18px}.heading-actions #exportBtn{font-size:11px}.stats{padding:7px 12px;margin-bottom:8px;gap:12px}.stats strong{font-size:14px}.stats span{font-size:10px}.stats #fileCount,.stats #sizeCount{display:none}.stats>div:nth-child(2),.stats>div:nth-child(3){display:none}#annotatePanel{padding:6px!important;margin:0!important}#annotatePanel>.panel-head{display:none}.editor-layout{display:block!important}.editor-options{margin-top:12px}.edit-bar{margin:0 0 6px;padding:4px;gap:6px}.edit-bar label{font-size:12px}.edit-bar #fontSize{max-width:62px}.annotation-workbench{margin:0 0 8px;border-radius:14px;box-shadow:0 6px 20px #1723381f}.editor-stage{max-width:100%!important}.ios-markup{padding:7px!important;margin:0 0 5px!important}.ios-markup-head{display:none!important}.ios-tools{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:5px!important;scrollbar-width:thin;padding:3px 0 6px;scroll-snap-type:x proximity}.ios-tool{flex:0 0 66px!important;min-width:60px!important;min-height:52px!important;scroll-snap-align:start;font-size:11px!important}.ios-color-label{display:none}.ios-colors{padding-top:3px!important}.ios-swatches{display:flex;overflow-x:auto;flex-wrap:nowrap!important;gap:5px!important;max-width:100%}.ios-swatch{min-width:44px;min-height:44px}.markup-palette{gap:7px;padding:8px;margin:4px 0 8px}.markup-palette label{font-size:11px}.mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));bottom:max(8px,env(safe-area-inset-bottom));left:8px;right:8px;z-index:var(--z-nav);background:rgba(255,255,255,.97);border:1px solid #dde5f0;border-radius:19px;box-shadow:0 10px 35px #14233b2a;padding:5px;backdrop-filter:blur(18px)}.mobile-nav-btn{background:0 0;border:0;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#526079;font-size:11px;font-weight:650;padding:5px 2px}.mobile-nav-btn>span:first-child{font-size:19px}.mobile-nav-btn.active{background:#e9f1ff;color:#236deb}.mobile-actions{position:fixed;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;bottom:calc(80px + env(safe-area-inset-bottom));left:8px;right:8px;z-index:61;background:#fff;border:1px solid #dce4ef;border-radius:18px;padding:10px;box-shadow:0 8px 36px #14233b30;max-height:65dvh;overflow:auto}.mobile-actions button{font-size:13px;text-align:left;border:1px solid #e4eaf1;border-radius:11px;background:#f7faff;padding:10px;color:#21324c}.panel-head{gap:8px}.pages-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.toolbar{align-items:start}.dropzone{min-height:280px}.dropzone h2{font-size:20px}}@media(any-pointer:coarse){:root{--touch-target:48px}}@media(prefers-reduced-motion:reduce){*,::after,::before{transition-duration:NaNs!important;animation-duration:NaNs!important;scroll-behavior:auto!important}}.workspace-action-strip{display:flex;justify-content:flex-end;margin:0 0 10px}.workspace-action-strip .heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.document-summary{margin-top:20px;padding:17px 20px;border:1px solid #e4eaf3;border-radius:16px;background:#f7f9fc}.document-summary .heading{margin:0 0 12px;display:block}.document-summary .heading h1{font-size:20px;letter-spacing:-.4px;margin:3px 0 6px}.document-summary .heading .eyebrow{margin:0 0 4px}.document-summary .heading p{font-size:13px}.document-summary .stats{margin:0;padding:12px 15px;box-shadow:none}.annotation-help{margin:16px 0 0;padding:12px 4px 0;border-top:1px solid #e4eaf3}.annotation-help h2{font-size:15px}.annotation-help p{font-size:12px}.editor-stage{scroll-margin-top:12px}@media(max-width:700px){.main{padding-top:6px!important}.workspace-action-strip{margin:0 0 5px}.workspace-action-strip .heading-actions{width:100%;justify-content:flex-end;flex-wrap:nowrap}.workspace-action-strip .btn{min-height:44px;padding:8px 10px}.document-summary{margin-top:12px;padding:12px}.document-summary .heading{margin-bottom:10px}.document-summary .heading h1{font-size:17px}.document-summary .heading .eyebrow,.document-summary .heading p{display:block;font-size:11px;line-height:1.5}.document-summary .stats{display:flex;flex-wrap:wrap;gap:10px;padding:10px}.document-summary .stats>div:nth-child(2),.document-summary .stats>div:nth-child(3){display:flex}.document-summary .stats strong{font-size:14px}.annotation-help{margin-top:10px}.annotation-help p{line-height:1.5}.ios-markup{margin-top:0!important}}body.dark .document-summary{background:#192435;border-color:#344156}body.dark .annotation-help{border-color:#344156}.app-shell{min-width:0}.main{min-width:0;flex:1;width:auto;padding:20px clamp(12px,2vw,30px)}.sidebar{flex-shrink:0;transition:width .18s ease,flex-basis .18s ease}.sidebar-toggle{min-width:44px;min-height:44px}body.left-collapsed .sidebar{width:0!important;flex-basis:0!important;padding:0!important;border:0!important;overflow:hidden}body.left-collapsed .sidebar>*{visibility:hidden}#annotatePanel{padding:clamp(8px,1vw,18px)}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(260px,24vw,340px);gap:clamp(12px,1.5vw,24px);align-items:start}.editor-layout>.editor-stage{grid-column:1;grid-row:1;max-width:none!important;width:100%;margin:0!important;box-sizing:border-box;padding:12px!important;min-width:0}.editor-layout>.editor-tools-rail{grid-column:2;grid-row:1;min-width:0;align-self:start;position:sticky;top:16px;max-height:calc(100dvh - 30px);overflow:auto;overscroll-behavior:contain;background:#f8faff;border:1px solid #e2e9f3;border-radius:18px;padding:14px;box-sizing:border-box}.editor-tools-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.editor-tools-head strong{font-size:14px}.editor-tools-head button{font-size:12px;white-space:nowrap}.editor-tools-rail .ios-markup{padding:10px!important;margin:8px 0!important}.editor-tools-rail .ios-markup-head{display:none}.editor-tools-rail .ios-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important;display:grid!important;gap:6px;padding:6px;margin:4px 0}.editor-tools-rail .ios-tool{min-width:0!important;padding:7px 3px!important;min-height:56px;overflow-wrap:anywhere;font-size:11px}.editor-tools-rail .ios-colors{min-width:0}.editor-tools-rail .ios-swatches{display:flex;flex-wrap:wrap;gap:4px}.editor-tools-rail .ios-swatch{width:38px!important;height:38px!important;flex:0 0 38px;min-width:38px;min-height:38px}.editor-tools-rail .markup-palette{gap:8px}.editor-tools-rail .editor-options{padding:12px;gap:10px}.editor-tools-rail textarea{width:100%;box-sizing:border-box}.editor-tools-rail .edit-bar{flex-wrap:wrap}.editor-tools-rail .edit-bar label{min-width:0}.reopen-right{display:none;position:sticky;top:16px;align-self:start;z-index:3}body.right-collapsed .editor-layout{grid-template-columns:minmax(0,1fr) auto}body.right-collapsed .editor-tools-rail{display:none}body.right-collapsed .reopen-right{display:block;grid-column:2;grid-row:1}body.dark .editor-tools-rail{background:#1c2635;border-color:#344156}@media(min-width:701px) and (max-width:1000px){.editor-layout{grid-template-columns:minmax(0,1fr) 245px}.editor-tools-rail .ios-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:700px){.sidebar-toggle{display:none}.main{padding:6px 6px calc(92px + env(safe-area-inset-bottom))!important}.editor-layout{display:flex!important;flex-direction:column;gap:7px!important}.editor-layout>.editor-stage{order:1;width:100%!important;max-width:none!important;padding:5px!important;margin:0!important;box-shadow:none!important;border-radius:9px}.editor-layout>.editor-tools-rail{order:0;width:100%;max-height:none;overflow:visible;position:relative;top:auto;padding:6px;border-radius:13px;display:flex;flex-direction:column;gap:4px}.editor-tools-head{margin:0 2px}.editor-tools-head strong{font-size:12px}.editor-tools-head .rail-toggle{min-height:40px;padding:7px 10px}.editor-tools-rail .edit-bar{order:0;margin:0!important;padding:3px!important}.editor-tools-rail .ios-markup{order:1;margin:0!important;padding:3px!important;background:0 0;border:0;box-shadow:none}.editor-tools-rail .ios-tools{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;grid-template-columns:none!important;margin:0!important;padding:3px!important;scroll-snap-type:x mandatory}.editor-tools-rail .ios-tool{flex:0 0 70px!important;min-width:68px!important;min-height:52px!important;scroll-snap-align:start}.editor-tools-rail .ios-colors{display:none}.editor-tools-rail .editor-options,.editor-tools-rail .markup-palette,.editor-tools-rail>p.hint{display:none}body.mobile-tools-expanded .editor-tools-rail .ios-colors{display:block}body.mobile-tools-expanded .editor-tools-rail .markup-palette{display:flex}body.mobile-tools-expanded .editor-tools-rail .editor-options{display:flex}body.right-collapsed .editor-layout>.editor-tools-rail{display:flex}body.right-collapsed .reopen-right{display:none}#annotatePanel{padding:3px!important}.workspace-action-strip{margin:0 0 5px!important}.workspace-action-strip .btn{min-height:42px}.topbar{padding:6px 9px!important;min-height:50px}.top-actions #openBtn{min-height:42px}.mobile-dock{border-radius:22px!important;box-shadow:0 8px 28px #12233b26!important}}.workspace-action-strip{justify-content:flex-end;margin:18px 0 10px!important;padding:12px 0;border-top:1px solid #e5eaf3}.workspace-action-strip #exportBtn{min-height:46px;min-width:150px}.editor-tools-rail .markup-history{display:flex;gap:8px;margin:0 0 10px;justify-content:stretch}.editor-tools-rail .markup-history .btn{flex:1;min-width:0;min-height:44px}.editor-tools-rail .ios-tool[data-markup-tool=select].active{background:#e1efff;color:#1455c8;border-color:#78aafa}#editorOverlay{cursor:crosshair}body.dark .workspace-action-strip{border-color:#344156}@media(min-width:701px){.workspace-action-strip{max-width:none}.editor-tools-rail .ios-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:700px){:root{--mobile-dock-height:76px}body{overflow-x:hidden}.main{padding:3px 5px calc(110px + env(safe-area-inset-bottom))!important}#annotatePanel{background:0 0!important;border:0!important;padding:0!important}.editor-layout{display:flex!important;flex-direction:column;gap:0!important;overflow:visible}.editor-layout>.editor-stage{order:0!important;background:#e9edf5!important;padding:4px!important;border-radius:10px!important;width:100%!important;min-height:150px;box-shadow:0 3px 16px #10284b16!important}.editor-layout>.editor-tools-rail{order:1!important;position:sticky!important;bottom:calc(77px + env(safe-area-inset-bottom));top:auto!important;z-index:45;box-sizing:border-box;width:100%!important;max-height:min(50dvh,310px)!important;overflow-y:auto!important;overscroll-behavior:contain;border-radius:19px!important;padding:8px!important;margin-top:8px;box-shadow:0 6px 24px #1a2d4c23;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px)}.editor-tools-rail .editor-tools-head{gap:5px}.editor-tools-rail .editor-tools-head strong{font-size:13px}.editor-tools-rail .markup-history{order:1;margin:0;gap:6px}.editor-tools-rail .markup-history .btn{min-height:44px;font-size:12px;padding:8px}.editor-tools-rail .edit-bar{order:0;display:flex;align-items:center;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%;padding:0 2px 3px!important}.editor-tools-rail .edit-bar label:first-child{min-width:130px}.editor-tools-rail .ios-markup{order:2;margin:0!important;padding:0!important}.editor-tools-rail .ios-tools{gap:6px!important;padding:4px 1px 6px!important;overflow-x:auto!important;scrollbar-width:thin}.editor-tools-rail .ios-tool{flex:0 0 67px!important;min-width:67px!important;min-height:56px!important;border-radius:13px!important}.editor-tools-rail .ios-tool-symbol{font-size:21px!important}.editor-tools-rail .ios-colors{display:flex!important;flex-direction:column;gap:3px;padding:1px!important}.editor-tools-rail .ios-swatches{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:7px!important}.editor-tools-rail .ios-swatch{width:38px!important;height:38px!important;min-height:38px!important;min-width:38px!important;flex:0 0 38px!important}.editor-tools-rail .editor-options,.editor-tools-rail .markup-palette{display:none}body.mobile-tools-expanded .editor-tools-rail .markup-palette{display:flex}body.mobile-tools-expanded .editor-tools-rail .editor-options{display:flex}.mobile-dock{bottom:max(5px,env(safe-area-inset-bottom))!important;min-height:64px;z-index:60}.mobile-nav-btn{min-height:52px}.workspace-action-strip{margin:10px 3px 16px!important;padding:9px 0}.workspace-action-strip .heading-actions{justify-content:stretch!important}.workspace-action-strip #exportBtn{width:100%;font-size:14px!important;min-height:48px}}.reader-pagebar{display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:4px 12px;margin:0 0 10px;background:var(--surface,#fff);border:1px solid #e2e8f0;border-radius:15px}.reader-page-arrow{min-width:46px;min-height:44px;border:1px solid #d9e2ee;border-radius:12px;background:0 0;color:inherit;font-size:30px;line-height:1;cursor:pointer}.reader-page-arrow:disabled{opacity:.32;cursor:default}.reader-page-position{min-width:110px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.reader-page-label{font-size:12px;color:#64748b;margin-left:12px}.mobile-markup-close,.mobile-markup-toggle{display:none}body.dark .reader-pagebar{background:#1c2635;border-color:#344156}@media(max-width:700px){.reader-pagebar{position:relative;margin:2px 0 7px;min-height:48px;padding:2px 6px;border:0;background:0 0;gap:10px}.reader-page-label{display:none}.reader-page-arrow{min-height:44px;min-width:48px;font-size:28px;background:rgba(255,255,255,.94)}.reader-page-position{font-size:13px;min-width:100px}.mobile-markup-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d5e2f5;background:#eef5ff;color:#1855b4;border-radius:13px;min-height:44px;padding:0 12px;font-weight:700;font-size:13px;margin-left:auto;white-space:nowrap}.top-actions{margin-left:0!important}.top-actions #openBtn{font-size:0!important;min-width:44px;padding:8px!important}.top-actions #openBtn::before{content:'＋';font-size:21px}.editor-layout>.editor-stage{order:0!important;margin:0!important;min-height:230px!important}.editor-layout>.editor-tools-rail{display:none!important}body.mobile-markup-open .editor-layout>.editor-tools-rail{display:flex!important;position:fixed!important;left:8px!important;right:8px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;max-height:min(65dvh,490px)!important;overflow-y:auto!important;z-index:70!important;border-radius:20px!important;box-shadow:0 12px 45px #16264150!important;overscroll-behavior:contain}body.mobile-markup-open .editor-tools-rail .ios-colors{display:flex!important}.mobile-markup-close{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border:1px solid #d6e2f1;border-radius:12px;background:#fff;font-weight:700;color:#234362;margin-left:auto}.editor-tools-rail .editor-tools-head .rail-toggle{display:none!important}.editor-tools-rail .edit-bar{display:none!important}body.mobile-markup-open .editor-tools-rail .ios-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important;gap:8px!important}body.mobile-markup-open .editor-tools-rail .ios-tool{min-width:0!important;flex:unset!important}body.mobile-markup-open .editor-tools-rail .ios-swatches{flex-wrap:wrap!important;overflow:visible!important}body.mobile-markup-open .editor-tools-rail .markup-history{order:0}body.mobile-markup-open .editor-tools-rail .ios-markup{order:1}body.mobile-markup-open .editor-tools-rail .markup-palette{order:2}body.mobile-markup-open .editor-tools-rail .editor-options{order:3}#annotatePanel{padding:0!important}.main{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}.mobile-dock{z-index:80!important}}#editorStage{position:relative!important}#editorStage>.reader-pagebar{position:absolute!important;inset:0!important;z-index:25!important;display:block!important;height:auto!important;min-height:0!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:0 0!important;box-shadow:none!important;pointer-events:none!important}#editorStage>.reader-pagebar .reader-page-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%);display:grid;place-items:center;z-index:1;pointer-events:auto!important;width:46px;min-width:46px;height:48px;min-height:48px;background:rgba(255,255,255,.88)!important;color:#203a5e!important;border:1px solid rgba(150,170,200,.6)!important;border-radius:15px!important;box-shadow:0 3px 14px rgba(20,40,70,.16);opacity:.78;transition:opacity .15s ease,background .15s ease}#editorStage>.reader-pagebar .reader-page-arrow:focus-visible,#editorStage>.reader-pagebar .reader-page-arrow:hover{opacity:1;background:#fff!important;outline-offset:2px}#editorStage>.reader-pagebar #readerPrev{left:7px!important}#editorStage>.reader-pagebar #readerNext{right:7px!important}#editorStage>.reader-pagebar .reader-page-arrow:disabled{opacity:.22!important;pointer-events:none!important}#editorStage>.reader-pagebar .reader-page-position{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:max-content;min-width:0!important;padding:6px 12px;border-radius:99px;background:rgba(24,36,55,.7);color:#fff;font-size:12px;font-weight:650;box-shadow:0 3px 12px rgba(0,0,0,.14);pointer-events:none}body.dark #editorStage>.reader-pagebar .reader-page-arrow{background:rgba(32,43,60,.92)!important;color:#f0f5ff!important}@media(max-width:700px){#editorStage>.reader-pagebar{margin:0!important;min-height:0!important;padding:0!important;gap:0!important}#editorStage>.reader-pagebar .reader-page-arrow{width:42px;min-width:42px;height:48px;min-height:48px;border-radius:14px!important}#editorStage>.reader-pagebar #readerPrev{left:2px!important}#editorStage>.reader-pagebar #readerNext{right:2px!important}#editorStage>.reader-pagebar .reader-page-position{bottom:6px;font-size:11px;padding:5px 10px}}@media(prefers-reduced-motion:reduce){#editorStage>.reader-pagebar .reader-page-arrow{transition:none}}