:root{color:#16181d;background:#eef1f6;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:15px;line-height:1.5;--ink: #16181d;--muted: #667085;--line: #e6e8ee;--surface: #ffffff;--accent: #2563eb;--accent-ink: #ffffff;--soft: #f4f6fb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}img{max-width:100%}.app-shell{min-height:100vh}.boot{padding:48px;color:var(--muted)}.test-banner{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:center;height:36px;padding:0 16px;background:#9a3412;color:#fff;font-size:13px;font-weight:600;text-align:center;white-space:nowrap}.has-banner .appbar{top:36px}.has-banner .toolbar{top:92px}.has-banner .inspector{top:108px}.appbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--line)}.brand-row{display:flex;align-items:center;gap:12px;min-width:0}.brand{display:flex;align-items:center;text-decoration:none;font-weight:600}.brand img{height:22px;width:auto}.brand-label{color:var(--muted);font-weight:500}.crumbs{display:flex;align-items:center;gap:8px;min-width:0}.crumb-back{display:inline-flex;align-items:center;gap:2px;padding:4px 8px 4px 4px;border-radius:8px;color:var(--muted);text-decoration:none;font-size:14px;font-weight:500}.crumb-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.crumb-back:hover{background:var(--soft);color:var(--ink)}.crumb-here{min-width:0;max-width:42ch;overflow:hidden;color:var(--ink);font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.appbar-end,.who-row{display:flex;align-items:center;gap:10px}.who{color:var(--muted);font-size:13px}.env-pill{border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;font-weight:600;padding:4px 8px}.btn,.btn-ghost{border:0;border-radius:8px;background:var(--accent);color:var(--accent-ink);min-height:36px;padding:0 12px;font-size:13px;font-weight:600}.btn-ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.btn:disabled,.toolbar button:disabled{opacity:.45;cursor:default}.google-btn{display:flex;width:100%;align-items:center;justify-content:center;gap:10px}.google-mark{display:grid;place-items:center;width:18px;height:18px;flex:none;background:#fff;border-radius:3px}.google-mark svg{width:14px;height:14px;display:block}.hint{color:var(--muted);font-size:13px}.form-error{color:#b42318;font-size:13px}.kicker{margin:0 0 6px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}h1{margin:0 0 8px;font-size:28px;letter-spacing:-.03em}.lede{margin:0 0 20px;color:var(--muted);max-width:46ch}.login-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:32px 16px}.has-banner .login-screen{min-height:calc(100vh - 36px)}.login{width:min(420px,100%);margin:0;padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px #1018280f}.login-logo{height:28px;width:auto;margin-bottom:18px}.login form,.inspector form,.selected-field{display:grid;gap:12px}.create-modal{width:min(440px,100%);display:grid;gap:14px}.modal-actions{display:flex;justify-content:flex-end;gap:8px}label{display:grid;gap:6px;font-size:13px;font-weight:500}input,textarea,select{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:9px 10px}input:focus,textarea:focus,select:focus{outline:2px solid #bfdbfe;border-color:#93c5fd}.check{grid-template-columns:auto 1fr;align-items:center}.check input{width:auto}.library{width:min(960px,calc(100% - 40px));margin:0 auto;padding:28px 0 80px}.library-head,.editor-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.manual-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}.manual-item{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding-right:14px}.manual-item:hover{border-color:#cbd2de}.manual-list a{display:grid;gap:4px;flex:1;min-width:0;padding:16px 18px;text-decoration:none}.manual-item .btn{flex:none}.manual-list span{color:var(--muted);font-size:13px}.tabs{display:flex;gap:6px;margin-top:22px}.tabs button{background:transparent;border:0;border-radius:8px;padding:8px 10px;color:var(--muted);font-weight:600}.tabs .is-on{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.editor-page{padding:0 0 48px}.editor-top{width:min(1480px,calc(100% - 24px));margin:0 auto;padding:18px 0 8px}.editor-top>div:first-child{flex:1;min-width:0}.editor-top .row{flex:none;justify-content:flex-end}.doc-identity{min-width:0}.doc-title-line{display:flex;align-items:center;gap:2px}.doc-identity h1{margin:0;font-size:28px;font-weight:650;letter-spacing:-.03em}.doc-identity .summary{margin:2px 0 0;color:var(--muted)}.doc-identity .summary.is-empty{color:#98a2b3}.identity-edit{display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:#98a2b3}.identity-edit:hover{background:var(--soft);color:#667085}.identity-edit svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.doc-identity.is-editing{display:grid;justify-items:start;gap:10px;max-width:480px}.doc-identity.is-editing input{width:100%}.status-line{margin:0;color:var(--muted);font-size:13px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start;width:min(1480px,calc(100% - 24px));margin:0 auto}.editor-shell{min-width:0}.toolbar{display:flex;flex-wrap:wrap;gap:1px;align-items:center;position:sticky;top:56px;z-index:5;margin:0 0 12px;padding:3px 6px;background:#f8f9fb;border:1px solid #dadce0;border-radius:8px}.toolbar button,.toolbar-style{background:transparent;border:0;border-radius:4px;color:#3c4043}.toolbar button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0}.toolbar svg{display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.toolbar svg circle{fill:currentColor;stroke:none}.toolbar svg text{fill:currentColor;stroke:none;font-size:8px;font-family:Inter,ui-sans-serif,sans-serif;font-weight:650}.toolbar button.mark{font-family:Georgia,Times New Roman,serif;font-size:17px;font-weight:700;line-height:1}.toolbar button.mark.italic{font-style:italic;font-weight:600}.toolbar button.mark.underline{text-decoration:underline;text-underline-offset:2px}.toolbar button.color-tool span{font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:700;line-height:1;border-bottom:3px solid;padding-bottom:1px}.toolbar-font{min-width:128px;max-width:160px}.size-control{display:inline-flex;align-items:center;height:32px;margin:0 2px}.size-control button{width:24px;font-size:16px}.size-control input{width:36px;height:26px;margin:0;padding:0;border:1px solid #dadce0;border-radius:4px;background:#fff;text-align:center;font-size:13px}.size-control input:focus{outline:none;border-color:#93c5fd}.toolbar-style{width:auto;flex:0 0 auto;height:32px;min-width:148px;margin:0 2px;padding:0 28px 0 10px;border:0;appearance:none;background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%235f6368' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;font-size:14px;color:#202124;cursor:pointer}.toolbar-style:focus{outline:none;border-color:transparent}.toolbar button.is-on{background:#e4e6ea}.toolbar button:hover:not(:disabled),.toolbar-style:hover{background-color:#eceef1}.toolbar button.is-on:hover:not(:disabled){background:#dcdfe4}.toolbar-gap{width:1px;height:20px;background:#dadce0;margin:0 6px}.toolbar-end{margin-left:auto;display:inline-flex;align-items:center;gap:2px}.toolbar button.toolbar-label{width:auto;height:32px;padding:0 10px;font-family:inherit;font-size:13px;font-weight:550;font-style:normal}.contents-btn{display:inline-flex;align-items:center;gap:8px}.contents-btn kbd{border:1px solid var(--line);border-radius:6px;padding:1px 5px;font-family:inherit;font-size:11px;color:var(--muted)}.doc-stage{display:flex;justify-content:center;max-width:100%;overflow-x:auto;padding:36px 0 48px}.editor-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}.editor-workspace.is-compact,.is-compact .editor-layout{grid-template-columns:minmax(0,1fr)}.is-compact .page-actions{opacity:1;pointer-events:auto}.page-actions button:disabled{opacity:.4;cursor:default}.toc-panel{position:sticky;top:128px;max-height:calc(100vh - 148px);overflow:auto;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.has-banner .toc-panel{top:164px}.toc-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.toc-head .btn{min-height:32px;padding:0 10px;font-size:12px}.toc-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:2px}.toc-list li{display:grid;grid-template-columns:minmax(0,1fr)}.toc-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;min-width:0}.toc-twist{display:inline-flex;align-items:center;justify-content:center;width:18px;height:28px;padding:0;border:0;background:transparent;color:#667085}button.toc-twist{cursor:pointer}.toc-twist i{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}.toc-twist i.is-open{transform:rotate(45deg) translate(-1px,-1px)}.toc-list .toc-jump{display:flex;gap:8px;width:100%;min-width:0;border:0;background:transparent;border-radius:8px;padding:6px 8px;text-align:left;font-size:13px}.toc-list .toc-jump span{color:#175cd3;font-weight:650;font-variant-numeric:tabular-nums}.toc-list .toc-jump.is-on,.toc-list .toc-jump:hover,.toc-row:hover .toc-jump{background:var(--soft)}.index-modal,.field-modal{width:min(560px,100%);max-height:min(80vh,760px)}.field-modal{display:grid;gap:16px}.field-modal form,.field-modal .selected-field{display:grid;gap:12px}.toc-index{position:static;max-height:none;overflow:visible;padding:0;border:0;background:transparent}.toc-index .toc-list{margin-top:8px}.toc-index .toc-list li{padding:4px 0;border-top:1px solid var(--line)}.page-slot{position:relative;width:816px;margin-bottom:44px}.page-actions{position:absolute;top:0;right:0;z-index:2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;width:max-content;max-width:100%;padding-bottom:12px;transform:translateY(calc(-100% + 12px));opacity:0;pointer-events:none}.page-slot:hover .page-actions,.page-slot:focus-within .page-actions{opacity:1;pointer-events:auto}.page-actions button,.add-page-below button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;min-height:28px;padding:0 10px;font-size:12px;font-weight:650;box-shadow:0 4px 12px #1018280f}.add-page-below{display:flex;justify-content:center;margin:8px 0 28px}.manual-page{margin-bottom:0}.toc-heading:before{content:attr(data-toc);margin-right:.45em;color:#175cd3;font-variant-numeric:tabular-nums;font-weight:650}.doc-sheet{width:816px;background:transparent;color:var(--ink);font-size:11pt;line-height:1.6;outline:none}.manual-page{display:flex;flex-direction:column;min-height:1056px;margin:0;padding:28px 64px 24px;background:#fff;box-shadow:0 12px 40px #10182814}.manual-page-body{flex:1;outline:none}.sheet-header,.sheet-footer{display:flex;justify-content:space-between;align-items:center;gap:16px}.sheet-header{padding-bottom:10px;margin-bottom:18px;border-bottom:1px solid #eaecf0}.sheet-footer{padding-top:10px;margin-top:18px;border-top:1px solid #eaecf0}.doc-sheet h1,.doc-sheet h2,.doc-sheet h3{letter-spacing:-.03em;line-height:1.2;margin:1.1em 0 .4em}.doc-sheet h1{font-size:21pt}.doc-sheet h2{font-size:17pt}.doc-sheet h3{font-size:14pt}.doc-sheet p{margin:0 0 .7em}.doc-sheet table,.preview-body table{width:100%;border-collapse:collapse;margin:.4em 0 1em;font-size:10.5pt}.doc-sheet th,.doc-sheet td,.preview-body th,.preview-body td{border:1px solid #d0d5dd;padding:6px 8px;vertical-align:top;text-align:left}.doc-sheet th,.preview-body th{background:#f4f6fb;font-weight:650}.doc-sheet td p,.doc-sheet th p,.preview-body td p,.preview-body th p{margin:0}.doc-sheet .selectedCell{background:#eef4ff;box-shadow:inset 0 0 0 1px #93c5fd}.doc-sheet .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background:#93c5fd;pointer-events:none}.doc-sheet .tableWrapper{margin:.4em 0 1em;position:relative}.figure-delete{position:absolute;z-index:7;opacity:0;pointer-events:none;padding:5px 10px;border:1px solid #fecdca;border-radius:999px;background:#fff;color:#b42318;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:0;line-height:1.2;text-transform:none;white-space:nowrap;box-shadow:0 2px 8px #1018281a}.figure-delete.is-hot,.figure-delete.is-current{opacity:1;pointer-events:auto}.figure-delete:hover{background:#fef3f2}.manual-chart-block{margin:.6em 0 1em}.manual-chart-block.is-selected{outline:2px solid #93c5fd;outline-offset:4px;border-radius:8px}.manual-chart{margin:0}.manual-chart figcaption{margin:0 0 8px;font-size:12pt;font-weight:650;color:#16181d}.manual-chart svg{display:block;width:100%;height:auto}.manual-chart line{stroke:#d0d5dd;stroke-width:1}.manual-chart polyline{fill:none;stroke:#175cd3;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.manual-chart rect,.manual-chart circle{fill:#175cd3}.manual-chart text{fill:#475467;font-size:12px;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.chart-edit{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #e6e8ee;border-radius:10px;background:#f8f9fb}.chart-edit label{display:grid;gap:4px;color:#475467;font-size:12px;font-weight:600}.chart-edit input{width:100%;padding:6px 8px;border:1px solid #d0d5dd;border-radius:8px;background:#fff}.chart-kind,.chart-actions{display:flex;gap:8px}.chart-kind button,.chart-actions button,.chart-edit li button{padding:6px 10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;font-size:13px}.chart-kind button.is-on{background:#eef4ff;border-color:#93c5fd;color:#175cd3}.chart-edit ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.chart-edit li{display:grid;grid-template-columns:1fr 96px auto;gap:8px;align-items:center}.chart-edit button:disabled{opacity:.45}.doc-sheet a{color:#175cd3;text-decoration:underline}.doc-sheet mark{color:inherit;padding:0 .08em;border-radius:2px}.doc-sheet p.is-empty:before{content:attr(data-placeholder);color:#98a2b3;float:left;height:0;pointer-events:none}.manual-page-body p,.manual-page-body h1,.manual-page-body h2,.manual-page-body h3,.manual-page-body ul,.manual-page-body ol,.manual-page-body blockquote,.manual-page-body pre,.manual-page-body{position:relative}.block-insert{position:absolute;left:-44px;width:44px;z-index:4;opacity:0;pointer-events:auto;-webkit-user-select:none;user-select:none;font-family:Inter,ui-sans-serif,sans-serif;font-weight:500;letter-spacing:0;line-height:1.35;text-transform:none}.block-insert.is-hot,.block-insert.is-current,.block-insert.is-prompt,.block-insert:hover,.block-insert:focus-within{opacity:1}.block-insert.is-current{z-index:6}.block-insert.is-current:after{content:"";position:absolute;inset:-8px 0 -28px}.page-slot:has(.block-insert.is-open),.page-slot:has(.block-insert:focus-within){z-index:4}.block-insert-btn{width:28px;height:28px;border:1px solid #d0d5dd;border-radius:50%;background:#fff;color:#344054;font-size:18px;line-height:1;box-shadow:0 2px 8px #10182814}.block-insert-btn:hover,.block-insert:focus-within .block-insert-btn{background:#f4f6fb;border-color:#98a2b3}.block-menu{display:none;position:absolute;left:32px;top:0;width:286px;padding:8px;background:#fff;border:1px solid #dadce0;border-radius:12px;box-shadow:0 16px 40px #10182829}.block-menu:before{content:"";position:absolute;left:-14px;top:0;bottom:0;width:14px}.block-insert.is-open .block-menu,.block-insert:focus-within .block-menu{display:block}.block-insert.is-dismissed .block-menu{display:none}.block-menu p{position:static;margin:2px 8px 6px;color:#667085;font-size:11px;font-weight:650;letter-spacing:.04em;line-height:1.3;text-transform:uppercase}.block-menu-rule{height:1px;margin:6px 8px;background:#eaecf0}.block-menu button{display:grid;width:100%;height:auto;gap:2px;padding:8px 10px;border:0;border-radius:8px;background:transparent;text-align:left;color:#16181d;font-size:14px;font-weight:400;letter-spacing:0;line-height:1.35}.block-menu button strong{font-size:15px;font-weight:650;letter-spacing:-.02em}.block-menu button span{color:#667085;font-size:12px;font-weight:450;line-height:1.35}.block-menu button:hover{background:#f4f6fb}.tool-popover{position:fixed;z-index:40;min-width:196px;padding:8px;background:#fff;border:1px solid #dadce0;border-radius:10px;box-shadow:0 12px 32px #10182824}.swatches,.popover-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.swatches>button,.popover-row button{width:28px;height:28px;padding:0;border:1px solid #e6e8ee;border-radius:50%;background:#fff}.popover-row button{border-radius:6px;color:#344054}.swatches>button:last-of-type,.popover-list button{width:auto;min-height:32px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:#344054;font-size:13px}.swatches button.is-on,.popover-row button.is-on,.popover-list button.is-on{outline:2px solid #175cd3}.swatches label{display:flex;align-items:center;gap:6px;font-size:12px;color:#667085}.swatches input[type=color]{width:28px;height:28px;padding:0;border:0;background:transparent}.popover-list{display:grid}.popover-list button{width:100%;text-align:left}.popover-list button:hover,.popover-row button:hover,.swatches>button:last-of-type:hover{background:#f4f6fb}.link-form{display:flex;gap:6px;align-items:center}.link-form input{width:180px;height:32px;padding:0 8px}.link-form button{height:32px;padding:0 10px;border:0;border-radius:6px;background:#16181d;color:#fff;font-size:13px}.sheet-brand,.sheet-foot,.sheet-ref{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.01em;color:#475467}.sheet-brand{color:var(--ink);font-weight:600}.sheet-brand img{height:16px;width:auto;display:block}.sheet-ref{font-weight:600;color:var(--ink);max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rm-page-header-content,.rm-page-footer-content{align-items:center}.rm-page-header{border-bottom:1px solid #eaecf0}.rm-page-footer{border-top:1px solid #eaecf0}.fill-blank{display:inline;position:relative;padding:0 .15em;margin:0 .12em;border-bottom:1.5px solid #175cd3;background:#eef4ff;border-radius:2px;color:#175cd3;font-weight:600;line-height:inherit;cursor:grab;-webkit-box-decoration-break:clone;box-decoration-break:clone}.fill-blank.is-selected{display:inline-block;background:#dbe7ff;box-shadow:0 0 0 2px #93c5fd}.react-renderer.node-fillField{display:inline}.fill-blank.is-boxed{display:inline-block;vertical-align:text-top;box-sizing:border-box;margin:1px 6px 2px;padding:6px 8px;overflow:visible;height:auto;max-width:100%;border:1.5px solid #175cd3;border-radius:4px;background:#f4f8ff;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}.fill-blank.is-filled{color:var(--ink);font-weight:500}.fill-blank-move{cursor:grab}.fill-blank.is-boxed .fill-blank-move{display:block;height:100%}.fill-blank-move:active{cursor:grabbing}.fill-blank-label{pointer-events:none}.field-drop-caret{position:fixed;z-index:80;width:2px;margin-left:-1px;background:#175cd3;border-radius:1px;pointer-events:none}.field-drop-caret.is-line{height:3px;margin-left:0;margin-top:-1px;border-radius:2px}.fill-resize{display:none;position:absolute;z-index:3;width:12px;height:12px;background:#fff;border:1.5px solid #175cd3;border-radius:2px;cursor:nwse-resize;touch-action:none}.fill-blank:hover>.fill-resize,.fill-blank.is-selected>.fill-resize{display:block}.fill-resize.nw{top:-6px;left:-6px}.fill-resize.se{right:-6px;bottom:-6px}.fill-resize.ne{top:-6px;right:-6px;cursor:nesw-resize}.fill-resize.sw{bottom:-6px;left:-6px;cursor:nesw-resize}.field-box{margin:14px 0;padding:12px 14px;border:1px solid #d6e2fb;border-radius:10px;background:#f8fbff}.field-box.is-selected{box-shadow:0 0 0 2px #93c5fd}.field-box-bar{display:flex;gap:8px;align-items:center;margin-bottom:6px;color:#175cd3;font-size:11px;font-weight:650;letter-spacing:.04em;text-transform:uppercase}.grip{cursor:grab;letter-spacing:-.12em;color:#98a2b3}.field-box strong{display:block;font-size:15px}.field-box p{margin:4px 0 0}.field-box .example,.muted{color:var(--muted)}.field-box .example,.preview-body .example{white-space:pre-wrap}.scroll-top{position:fixed;left:20px;bottom:20px;z-index:30;display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 12px 0 8px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#344054;font-size:13px;font-weight:600;box-shadow:0 8px 24px #1018281f}.scroll-top svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.scroll-top:hover{background:var(--soft)}.inspector{position:sticky;top:72px;display:grid;gap:16px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.modal-back{position:fixed;inset:0;z-index:80;background:#10182859;display:grid;place-items:start center;padding:12vh 16px 16px}.modal{width:min(640px,100%);max-height:min(70vh,720px);overflow:auto;background:var(--surface);border-radius:16px;box-shadow:0 24px 60px #1018282e;padding:14px}.modal-search{margin-bottom:10px;font-size:16px}.modal-tabs{display:flex;gap:4px;flex-wrap:wrap}.modal-tabs button{border:0;background:transparent;border-radius:8px;padding:6px 10px;color:var(--muted);font-weight:600}.modal-tabs .is-on{background:#eff4ff;color:#1d4ed8}.modal-hint,.modal-empty{color:var(--muted);font-size:13px}.page-jump{display:flex;gap:8px;margin-bottom:8px}.page-jump input{max-width:160px}.modal-list{list-style:none;margin:8px 0 0;padding:0}.modal-list button{width:100%;display:flex;justify-content:space-between;gap:12px;text-align:left;border:0;background:transparent;border-radius:8px;padding:8px 10px}.modal-list button.is-active,.modal-list button:hover{background:var(--soft)}.modal-list em{color:var(--muted);font-style:normal;font-size:12px;white-space:nowrap}.modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:8px}.modal-head h2{margin:0 0 4px;font-size:18px}.modal-head p{margin:0;color:var(--muted);font-size:13px}.history-list{list-style:none;margin:0;padding:0}.history-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.preview-back{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;background:#e4e7ee}.preview-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--line)}.preview-bar .kicker{margin:0}.preview-bar strong{font-size:15px}.preview-actions{margin-left:auto;display:flex;gap:8px}.preview-scroll{flex:1;overflow:auto;padding:32px 16px 72px}.preview-sheet{display:flex;flex-direction:column;width:816px;min-height:1056px;margin:0 auto 32px;padding:36px 72px 32px;background:#fff;box-shadow:0 16px 48px #1018281a}.preview-cover{position:relative;justify-content:flex-start;padding:48px 64px;overflow:hidden}.preview-cover:before{content:"";position:absolute;left:0;top:0;bottom:0;width:12px;background:#16181d}.cover-brand{display:flex;align-items:flex-end;gap:8px}.cover-brand span{font-size:26px;font-weight:600;letter-spacing:-.03em;line-height:1;padding-bottom:1px}.cover-logo{height:34px;width:auto}.cover-plane{display:block;width:100%;height:250px;margin-top:22px;object-fit:cover;object-position:center 62%}.cover-kicker{margin:28px 0 12px;color:#175cd3;font-size:13px;font-weight:650;letter-spacing:.16em;text-transform:uppercase}.preview-cover h1{max-width:16ch;margin:0;font-size:46px;line-height:.98;letter-spacing:-.045em;font-weight:640}.cover-ref{margin:22px 0 0;color:var(--ink);font-size:18px;font-weight:600;letter-spacing:.01em}.cover-operator{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 0}.cover-operator div{min-width:0}.cover-operator dt{margin:0 0 6px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}.cover-operator dd{margin:0;padding-top:8px;border-top:1px solid #16181d;font-size:14px}.cover-foot{margin-top:auto;padding-top:22px;border-top:1px solid var(--line)}.cover-foot p{margin:0 0 4px;font-size:15px}.cover-foot a{text-decoration:none;border-bottom:1px solid #d0d5dd}.cover-issued{margin-top:16px!important;color:var(--muted);font-size:13px!important}.preview-body{flex:1;padding-top:8px}.preview-body h1,.preview-body h2,.preview-body h3{letter-spacing:-.03em;line-height:1.2;margin:1.1em 0 .4em;scroll-margin-top:24px}.preview-body h1{font-size:21pt}.preview-body h2{font-size:17pt}.preview-body h3{font-size:14pt}.preview-body h1:before,.preview-body h2:before,.preview-body h3:before{content:attr(data-toc);margin-right:.45em;color:#175cd3;font-variant-numeric:tabular-nums}.preview-body .preview-contents-title:before{content:none}.preview-body p{margin:0 0 .7em}.preview-body a{color:#175cd3;text-decoration:underline}.preview-body mark{color:inherit;padding:0 .08em;border-radius:2px}.preview-body ul,.preview-body ol{margin:0 0 .8em;padding-left:1.3em}.preview-body blockquote{margin:0 0 .8em;padding-left:14px;border-left:3px solid #d0d5dd;color:#344054}.preview-toc{list-style:none;margin:8px 0 0;padding:0}.preview-toc a{display:flex;gap:14px;align-items:baseline;padding:8px 0;border-bottom:1px solid #f2f4f7;text-decoration:none}.preview-toc a span:first-child{min-width:3.2em;color:#175cd3;font-weight:650;font-variant-numeric:tabular-nums}.preview-toc a:hover span:last-child{text-decoration:underline}.history-list strong,.history-list span{display:block}.history-list span{color:var(--muted);font-size:13px}@media(max-width:980px){.editor-layout{grid-template-columns:1fr}.inspector{position:static}.editor-workspace{grid-template-columns:1fr}.toc-panel{position:static;max-height:320px}.library-head,.editor-top{align-items:stretch;flex-direction:column}.crumb-here{max-width:18ch}}
