:root{--accent:#ff5a1f;--accent-hover:#e84e15;--workspace-bg:#fff;--success:#1f9d6b;--danger:#d93636;--ink-black:#1a120e;--ink-blue:#1e3a8a;--ink-brown:#78350f;--ink-orange:#ff5a1f;--ink-teal:#0f766e;--ink-red:#d93636;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-pill:9999px;--shadow-subtle:0 1px 2px #0000000f;--shadow-popover:0 4px 12px #0000001f;--transition-fast:all .15s ease-out;--transition-sidebar:width .2s ease-out, padding .2s ease-out}body.theme-dark{--workspace-bg:#222428;--sidebar-bg:#18191c;--sidebar-divider:#2e3036;--text-primary:#f2f2f2;--text-muted:#9a9ca3;--item-hover:#25272c;--card-bg:#282b30;--card-border:#383b42;--header-bg:transparent;--header-text:#fff;--control-bg:#ffffff14;--control-border:#ffffff29}body.theme-light{--workspace-bg:#fff;--sidebar-bg:#fdfbf7;--sidebar-divider:#e7e2d9;--text-primary:#1b1b1d;--text-muted:#8a867e;--item-hover:#f3efe7;--card-bg:#fdfbf7;--card-border:#e7e2d9;--header-bg:transparent;--header-text:#1b1b1d;--control-bg:#0000000a;--control-border:#00000014}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--workspace-bg);color:#1b1b1d;-webkit-font-smoothing:antialiased;width:100vw;height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.4;overflow:hidden}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hidden{display:none!important}.saas-app{background-color:var(--workspace-bg);gap:16px;width:100vw;height:100vh;padding:16px;display:flex}.sidebar-rail{background-color:var(--sidebar-bg);color:var(--text-primary);border-radius:var(--radius-lg);transition:var(--transition-sidebar);border:1px solid var(--sidebar-divider);box-shadow:var(--shadow-subtle);-webkit-user-select:none;user-select:none;flex-direction:column;flex-shrink:0;height:fit-content;max-height:calc(100vh - 32px);display:flex;overflow:hidden}.sidebar-rail.expanded{width:210px;padding:16px 12px}.sidebar-rail.collapsed{width:72px;padding:16px 10px}.sidebar-top{justify-content:space-between;align-items:center;margin-bottom:14px;padding:0 4px;display:flex}.brand-group{align-items:center;gap:10px;text-decoration:none;display:flex;overflow:hidden}.brand-tile{border-radius:var(--radius-md);background:#fffdf9;border:1px solid #ff5a1f59;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;padding:3px;display:flex;box-shadow:0 2px 6px #0000001f}.brand-logo-img{object-fit:contain;width:100%;height:100%;display:block}.brand-text-stack{flex-direction:column;line-height:1.1;display:flex}.brand-title{letter-spacing:-.02em;color:var(--text-primary);white-space:nowrap;font-size:15.5px;font-weight:800}.brand-subtitle{color:var(--accent);letter-spacing:.04em;white-space:nowrap;font-size:10px;font-weight:600}.sidebar-rail.collapsed .brand-text-stack,.sidebar-rail.collapsed .brand-title{display:none}.sidebar-toggle-btn{color:var(--text-muted);border-radius:var(--radius-sm);cursor:pointer;width:28px;height:28px;transition:var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;display:flex}.sidebar-toggle-btn:hover{background-color:var(--item-hover);color:var(--text-primary)}.sidebar-rail.collapsed .icon-collapse{transform:rotate(180deg)}.sidebar-nav{flex-direction:column;display:flex;overflow:hidden}.nav-section{flex-direction:column;gap:2px;display:flex}.section-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);white-space:nowrap;padding:6px 10px 4px;font-size:11px;font-weight:600}.sidebar-rail.collapsed .section-label{display:none}.nav-divider{background-color:var(--sidebar-divider);height:1px;margin:8px 4px}.nav-item{border-radius:var(--radius-md);height:40px;color:var(--text-primary);cursor:pointer;transition:var(--transition-fast);text-align:left;white-space:nowrap;background:0 0;border:none;outline:none;align-items:center;gap:12px;padding:0 10px;font-size:14.5px;font-weight:500;display:flex;position:relative}.nav-item:hover:not(:disabled){background-color:var(--item-hover)}.nav-item:disabled{opacity:.35;cursor:not-allowed}.nav-icon-box{width:30px;height:30px;color:inherit;border-radius:var(--radius-sm);transition:var(--transition-fast);flex-shrink:0;justify-content:center;align-items:center;display:flex}.sidebar-rail.collapsed .nav-item{justify-content:center;padding:0}.sidebar-rail.collapsed .nav-label{display:none}.nav-item.active{color:var(--accent);background-color:#ff5a1f1f}.sidebar-rail.collapsed .nav-item.active .nav-icon-box{background-color:var(--accent);color:#fff;border-radius:var(--radius-sm)}.main-container{flex-direction:column;flex:1;height:100%;display:flex;overflow:hidden}.app-header{-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 4px 8px;display:flex}.header-left{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.doc-filename{color:#1b1b1d;white-space:nowrap;font-size:14px;font-weight:600}.doc-actions-group{align-items:center;gap:6px;display:flex}.header-action-btn{border-radius:var(--radius-md);color:#1b1b1d;cursor:pointer;height:36px;transition:var(--transition-fast);box-shadow:var(--shadow-subtle);white-space:nowrap;background:#ffffffd9;border:1px solid #00000014;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:500;display:inline-flex}.header-action-btn:hover{background:#fff;border-color:#00000026}.header-action-btn.active-panel{border-color:var(--accent);color:var(--accent)}.header-badge{border-radius:var(--radius-pill);background-color:var(--accent);color:#fff;justify-content:center;align-items:center;width:18px;height:18px;font-size:10.5px;font-weight:700;display:flex}.history-controls{border-radius:var(--radius-md);height:36px;box-shadow:var(--shadow-subtle);background:#ffffffd9;border:1px solid #00000014;align-items:center;gap:2px;padding:0 4px;display:inline-flex}.theme-toggle-header-btn{border-radius:var(--radius-md);color:#1b1b1d;cursor:pointer;width:36px;height:36px;box-shadow:var(--shadow-subtle);transition:var(--transition-fast);background:#ffffffd9;border:1px solid #00000014;justify-content:center;align-items:center;display:flex}.theme-toggle-header-btn:hover{background:#fff}.header-center{justify-content:center;align-items:center;display:flex}.compact-controls{border-radius:var(--radius-md);height:36px;box-shadow:var(--shadow-subtle);background-color:#ffffffd9;border:1px solid #00000014;align-items:center;gap:4px;padding:0 6px;display:inline-flex}.control-btn{border-radius:var(--radius-sm);color:#1b1b1d;cursor:pointer;width:28px;height:28px;transition:var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;display:flex}.control-btn:hover{background-color:#0000000f}.control-text{color:#1b1b1d;white-space:nowrap;padding:0 4px;font-size:13px;font-weight:500}.control-pill-btn{border-radius:var(--radius-sm);color:#1b1b1d;cursor:pointer;background:0 0;border:1px solid #0000001a;justify-content:center;align-items:center;height:26px;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.control-pill-btn:hover{background-color:#0000000f}.header-vdivider{background-color:#0000001f;width:1px;height:16px;margin:0 4px}.header-right{align-items:center;gap:10px;display:flex}.color-dropdown-wrap{position:relative}.color-trigger-btn{border-radius:var(--radius-md);color:#1b1b1d;cursor:pointer;height:36px;box-shadow:var(--shadow-subtle);transition:var(--transition-fast);background:#ffffffd9;border:1px solid #0000001a;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:500;display:inline-flex}.color-trigger-btn:hover{background:#fff}.active-ink-dot{border:1px solid #00000026;border-radius:50%;width:12px;height:12px}.color-popover{border-radius:var(--radius-md);box-shadow:var(--shadow-popover);z-index:100;background:#fff;border:1px solid #0000001a;gap:8px;padding:8px 10px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.color-swatch{cursor:pointer;width:20px;height:20px;transition:var(--transition-fast);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #0003}.color-swatch:hover{transform:scale(1.15)}.color-swatch.active{box-shadow:0 0 0 2px var(--accent);transform:scale(1.15)}.btn-primary-export{background-color:var(--accent);color:#fff;border-radius:var(--radius-md);cursor:pointer;height:36px;transition:var(--transition-fast);border:none;outline:none;align-items:center;gap:8px;padding:0 16px;font-size:13.5px;font-weight:600;display:inline-flex;position:relative}.btn-primary-export:hover{background-color:var(--accent-hover)}.notification-dot{background-color:var(--accent);border:2px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;right:-2px}.context-bar{align-items:center;gap:16px;padding:4px 6px 8px;font-size:13px;display:flex}.context-section{align-items:center;gap:8px;display:flex}.context-label{color:#71717a;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.saas-select{border-radius:var(--radius-sm);color:#1b1b1d;cursor:pointer;background:#fff;border:1px solid #0000001f;outline:none;padding:4px 8px;font-size:12.5px;font-weight:500}.saas-select:focus{border-color:var(--accent)}.prop-btn{border-radius:var(--radius-sm);cursor:pointer;background:#fff;border:1px solid #0000001f;width:26px;height:26px;font-size:12px;font-weight:600}.prop-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}.segmented-control{border-radius:var(--radius-sm);background:#0000000f;gap:2px;padding:2px;display:inline-flex}.seg-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px 8px;font-size:12px;font-weight:500}.seg-btn.active{color:#1b1b1d;background:#fff}.align-btn-group{border-radius:var(--radius-sm);background:#ffffffd9;border:1px solid #0000001a;align-items:center;gap:4px;padding:2px 4px;display:inline-flex}.align-btn{color:#1b1b1d;cursor:pointer;transition:var(--transition-fast);background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.align-btn:hover{background:var(--accent);color:#fff}.workspace-body{flex:1;gap:16px;display:flex;position:relative;overflow:hidden}.viewport-scroll{background-color:var(--workspace-bg);flex:1;justify-content:center;align-items:flex-start;padding:12px 16px 28px;display:flex;position:relative;overflow:auto}.document-center{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;margin:0 auto;display:flex}.pdf-page-wrapper{background:#fff;border:1px solid #d4d4d8;border-radius:0;position:relative;box-shadow:0 2px 10px #00000014}.pdf-canvas{background:#fff;display:block}:root{--cursor-crosshair:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2V22M2 12H22' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M12 3V21M3 12H21' stroke='%231f2023' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%23ff5a1f' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E") 12 12, crosshair;--cursor-text:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4H16M12 4V20M8 20H16' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M8 4H16M12 4V20M8 20H16' stroke='%231f2023' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, text;--cursor-check:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='16' height='16' rx='3' fill='%23ffffff' stroke='%231f2023' stroke-width='2'/%3E%3Cpath d='M6 11l3 3 6-7' stroke='%23ff5a1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, cell;--cursor-radio:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8' fill='%23ffffff' stroke='%231f2023' stroke-width='2'/%3E%3Ccircle cx='11' cy='11' r='4' fill='%23ff5a1f'/%3E%3C/svg%3E") 11 11, crosshair}.pdf-annotation-overlay{pointer-events:auto;cursor:var(--cursor-crosshair);z-index:10;position:absolute;inset:0}.pdf-annotation-overlay.mode-select{cursor:default}.pdf-annotation-overlay.mode-text,.pdf-annotation-overlay.mode-date{cursor:var(--cursor-text)}.pdf-annotation-overlay.mode-check{cursor:var(--cursor-check)}.pdf-annotation-overlay.mode-radio{cursor:var(--cursor-radio)}.annotation-item{-webkit-user-select:none;user-select:none;cursor:grab;box-sizing:border-box;z-index:15;border:none;border-radius:2px;outline:1px dashed #0000;position:absolute}.annotation-item:hover{outline-color:#ff5a1f66}.annotation-item.selected{z-index:100;outline:2px solid var(--accent)!important;background:#ff5a1f0a!important}.annotation-item.dragging{opacity:.85;cursor:grabbing!important}.resize-handle{background:var(--accent);z-index:120;border:1.5px solid #fff;border-radius:50%;width:9px;height:9px;display:none;position:absolute;bottom:-5px;right:-5px;cursor:nwse-resize!important}.annotation-item.single-selected .resize-handle{display:block}.ann-action-bubble{border-radius:var(--radius-md);box-shadow:var(--shadow-popover);z-index:150;-webkit-user-select:none;user-select:none;white-space:nowrap;background:#1f2023;border:1px solid #ffffff26;align-items:center;gap:4px;padding:3px 6px;display:none;position:absolute;bottom:calc(100% + 6px);left:0}.annotation-item.single-selected .ann-action-bubble{display:flex}.ann-action-bubble button{color:#fff;border-radius:var(--radius-sm);cursor:pointer;transition:var(--transition-fast);background:#ffffff1f;border:none;justify-content:center;align-items:center;padding:2px 7px;font-size:11px;font-weight:600;display:inline-flex}.ann-action-bubble button:hover{background:var(--accent)}.ann-action-bubble .bubble-label{color:#f2f2f2;padding:0 4px;font-size:11px;font-weight:600}.ann-action-bubble .bubble-del-btn:hover{background:var(--danger)!important}.ann-text,.ann-date{white-space:pre-wrap;word-break:break-word;cursor:text;min-width:20px;min-height:16px;color:var(--ink-black);padding:1px 3px;line-height:1.2}.ann-text-input{min-width:80px;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;border-radius:2px;outline:none;padding:1px 4px;display:inline-block;box-shadow:0 1px 3px #00000026;border:2px solid var(--accent)!important;color:var(--ink-black)!important;caret-color:var(--accent)!important;background:#fff!important}.ann-checkbox{cursor:pointer;background:#fffffff2;border-radius:2px;justify-content:center;align-items:center;display:flex;box-shadow:0 1px 2px #0000001a;border:1.5px solid var(--ink-black)!important;color:var(--ink-black)!important}.ann-checkbox:hover{border-color:var(--accent)!important}.ann-check-glyph{pointer-events:none;-webkit-user-select:none;user-select:none;color:inherit;line-height:1;font-weight:900!important}.ann-radio{cursor:pointer;border:1.5px solid var(--ink-black);background:#fffffff2;border-radius:50%;justify-content:center;align-items:center;display:flex;box-shadow:0 1px 2px #0000001a}.ann-radio:hover{border-color:var(--accent)}.ann-radio-dot{pointer-events:none;background:var(--ink-black);border-radius:50%;width:60%;height:60%;transition:transform .15s}.ann-radio:not(.selected-radio) .ann-radio-dot{transform:scale(0)}.ann-signature img{pointer-events:none;max-width:100%;height:auto;display:block}.ann-highlight{border-radius:2px;background:#ffe06673!important}.pages-panel{-webkit-user-select:none;user-select:none;background-color:#0000;flex-direction:column;flex-shrink:0;width:140px;transition:width .2s,opacity .2s;display:flex}.pages-panel.collapsed{opacity:0;pointer-events:none;width:0;overflow:hidden}.pages-panel-header{justify-content:space-between;align-items:center;padding:4px 6px 10px;display:flex}.pages-header-title{text-transform:uppercase;letter-spacing:.08em;color:#71717a;font-size:11px;font-weight:600}.panel-close-btn{color:#71717a;cursor:pointer;background:0 0;border:none;font-size:16px}.thumb-list{flex-direction:column;gap:12px;padding:2px;display:flex;overflow-y:auto}.thumb-item{border-radius:var(--radius-sm);cursor:pointer;text-align:center;transition:var(--transition-fast);box-shadow:var(--shadow-subtle);background:#fff;border:1px solid #0000001a;padding:4px}.thumb-item:hover{border-color:#0000004d}.thumb-item.active{border:2px solid var(--accent)!important}.thumb-canvas{width:100%;height:auto;display:block}.thumb-label{color:#71717a;margin-top:4px;font-size:11px;font-weight:500}.modal-backdrop{z-index:1000;background:#0006;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.modal-box{border-radius:var(--radius-lg);width:480px;max-width:90vw;box-shadow:var(--shadow-popover);background:#fff;padding:20px}.modal-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.modal-title h3{color:#1b1b1d;font-size:16px;font-weight:600}.close-btn{cursor:pointer;color:#71717a;background:0 0;border:none;font-size:20px}.modal-tabs{border-bottom:1px solid #e4e4e7;gap:12px;margin-bottom:14px;display:flex}.tab-btn{color:#71717a;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:6px 4px;font-size:13px;font-weight:500}.tab-btn.active{color:var(--accent);border-color:var(--accent)}.sig-canvas-container{border-radius:var(--radius-md);background:#fafafa;border:1px solid #e4e4e7;margin-bottom:10px;position:relative}#sigCanvas{cursor:crosshair;width:100%;height:150px;display:block}.sig-baseline{pointer-events:none;background:#e4e4e7;height:1px;position:absolute;bottom:30px;left:16px;right:16px}.sig-actions{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.color-picker-simple{align-items:center;gap:8px;display:flex}.color-dot{cursor:pointer;width:22px;height:22px;transition:var(--transition-fast);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #0003}.color-dot.active{box-shadow:0 0 0 2px var(--accent);transform:scale(1.12)}.type-input-group{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.type-input-group label{color:#52525b;font-size:12px;font-weight:600}.cafe-input{border-radius:var(--radius-sm);border:1px solid #d4d4d8;outline:none;width:100%;padding:8px 12px;font-size:14px}.cafe-input:focus{border-color:var(--accent)}.sig-preview-list{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;display:grid}.sig-preview-item{border-radius:var(--radius-md);text-align:center;cursor:pointer;transition:var(--transition-fast);background:#fafafa;border:1.5px solid #e4e4e7;padding:14px 10px}.sig-preview-item:hover{border-color:#a1a1aa}.sig-preview-item.active{border-color:var(--accent);background:#ff5a1f0d}.sig-preview-item .preview-text{color:#1a120e;font-size:26px}.btn-secondary{border-radius:var(--radius-sm);color:#1b1b1d;cursor:pointer;transition:var(--transition-fast);background:#fff;border:1px solid #d4d4d8;padding:6px 12px;font-size:13px;font-weight:500}.btn-secondary:hover{background:#f4f4f5}.modal-footer{border-top:1px solid #e4e4e7;justify-content:flex-end;align-items:center;gap:10px;margin-top:16px;padding-top:12px;display:flex}.empty-state{justify-content:center;width:100%;min-height:100%;padding:8px 12px;display:flex}.empty-card{text-align:center;width:100%;max-width:520px;box-shadow:none;background:#fff;border:none;border-radius:14px;margin:auto;padding:20px 24px}.empty-hero-badge{flex-direction:column;align-items:center;gap:8px;margin-bottom:18px;display:flex}.empty-logo-circle{width:110px;height:110px;box-shadow:none;background:#fff;border:none;border-radius:14px;justify-content:center;align-items:center;padding:0;display:flex;overflow:hidden}.empty-logo-img{object-fit:contain;width:100%;height:100%;display:block}.privacy-pill{border-radius:var(--radius-pill);color:#15734e;background:#1f9d6b1a;align-items:center;gap:6px;padding:4px 12px;font-size:11.5px;font-weight:600;display:inline-flex}.empty-card h1{letter-spacing:-.02em;color:#1a120e;margin-bottom:6px;font-size:22px;font-weight:800}.empty-subtitle{color:#57534e;max-width:500px;margin:0 auto 14px;font-size:13px;line-height:1.45}.upload-dropzone{cursor:pointer;transition:var(--transition-fast);background:#ff5a1f08;border:2px dashed #ff5a1f8c;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin-bottom:14px;padding:18px 20px;display:flex}.smart-field-ghost{pointer-events:none;border:1.5px dashed var(--accent);z-index:12;background:#ff5a1f14;border-radius:3px;transition:left 60ms ease-out,top 60ms ease-out,width 60ms ease-out,height 60ms ease-out;position:absolute}.smart-field-ghost.ghost-radio{border-radius:50%}.smart-field-badge{color:#fff;border-radius:var(--radius-pill);white-space:nowrap;background:#1f2023;border:1px solid #ff5a1f80;padding:2px 8px;font-size:10.5px;font-weight:600;position:absolute;bottom:calc(100% + 4px);left:0;box-shadow:0 2px 8px #0000002e}.marquee-selection-box{pointer-events:none;border:1.5px solid var(--accent);z-index:200;background:#ff5a1f1f;border-radius:2px;position:absolute}.upload-dropzone:hover,.upload-dropzone.drag-over{border-color:var(--accent);background:#ff5a1f17;transform:translateY(-1px)}.upload-dropzone-icon{background:var(--accent);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex;box-shadow:0 4px 12px #ff5a1f4d}.upload-dropzone-cta{color:var(--accent);text-underline-offset:3px;font-size:16px;font-weight:700;text-decoration:underline}.upload-dropzone-hint{color:#78716c;font-size:12.5px}.empty-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-bottom:8px;display:flex}.empty-divider-text{color:#78716c;font-size:12.5px}.mascot-corner{z-index:60;pointer-events:none;align-items:flex-end;gap:10px;display:flex;position:absolute;bottom:12px;right:16px}.mascot-speech-bubble{pointer-events:auto;border:1.5px solid #e4e4e7;border-left:4px solid var(--accent);text-align:left;background:#fff;border-radius:14px 14px 2px;max-width:320px;margin-bottom:28px;padding:14px 26px 14px 16px;animation:.26s ease-out mascotBubblePop;position:relative;box-shadow:0 10px 28px #0000001a}.mascot-speech-bubble:after{content:"";background:#fff;border-bottom:1.5px solid #e4e4e7;border-right:1.5px solid #e4e4e7;width:14px;height:14px;position:absolute;bottom:18px;right:-9px;transform:rotate(-45deg)}.mascot-speech-bubble.mascot-bubble-wide{max-width:400px}.mascot-bubble-body{max-height:55vh;padding-right:4px;overflow-y:auto}.mascot-bubble-body p{color:#57534e;margin:0 0 8px;font-size:12px;line-height:1.5}.mascot-bubble-body p:last-child{margin-bottom:0}.mascot-bubble-body ol{margin:4px 0 0;padding-left:16px}.mascot-bubble-body li{color:#57534e;margin-bottom:6px;font-size:12px;line-height:1.45}.mascot-bubble-body li:last-child{margin-bottom:0}.mascot-bubble-body a{color:var(--accent);font-weight:600;text-decoration:none}.mascot-bubble-body a:hover{text-decoration:underline}.mascot-speech-bubble.hidden{display:none!important}.mascot-bubble-close{color:#a1a1aa;cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:16px;line-height:1;position:absolute;top:6px;right:8px}.mascot-bubble-close:hover{color:#18181b}.mascot-speech-bubble .privacy-pill{margin-bottom:6px;padding:3px 9px;font-size:10.5px}.mascot-speech-bubble h1,.mascot-speech-bubble h4{color:#1a120e;letter-spacing:-.01em;margin-bottom:4px;font-size:15px;font-weight:800}.mascot-speech-bubble p{color:#57534e;margin:0;font-size:12px;line-height:1.45}.mascot-avatar-btn{pointer-events:auto;cursor:pointer;filter:drop-shadow(0 6px 14px #00000024);background:0 0;border:none;flex-shrink:0;width:118px;height:118px;padding:0;transition:transform .2s ease-out}.mascot-avatar-btn:hover{transform:translateY(-4px)scale(1.04)}.mascot-img{object-fit:contain;transform-origin:bottom;width:100%;height:100%;animation:2.8s ease-in-out infinite mascotBounce;display:block}.mascot-avatar-btn:hover .mascot-img{animation-duration:1.1s}@keyframes mascotBounce{0%,to{transform:translateY(0)rotate(0)scale(1)}25%{transform:translateY(-7px)rotate(-2deg)scale(.99,1.02)}50%{transform:translateY(0)rotate(0)scale(1.02,.98)}75%{transform:translateY(-5px)rotate(1.8deg)scale(.99,1.01)}}@keyframes mascotBubblePop{0%{opacity:0;transform:translateY(8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=900px){.mascot-speech-bubble{max-width:230px}.mascot-avatar-btn{width:84px;height:84px}}.ad-rail{-webkit-user-select:none;user-select:none;flex-direction:column;flex-shrink:0;width:180px;padding-left:4px;display:flex}.ad-slot-card{border-radius:var(--radius-lg);height:100%;max-height:560px;box-shadow:var(--shadow-subtle);background:#fdfbf7d9;border:1px solid #00000014;flex-direction:column;padding:10px;display:flex}.ad-slot-header{border-bottom:1px dashed #00000014;justify-content:center;align-items:center;margin-bottom:8px;padding-bottom:8px;display:flex}.ad-badge-label{text-transform:uppercase;letter-spacing:.08em;color:#8a867e;font-size:10px;font-weight:600}.ad-slot-body{flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex;overflow:hidden}.ad-house-fallback{color:#fdfbf7;border-radius:var(--radius-md);text-align:center;background:linear-gradient(160deg,#1f2023 0%,#2b1e16 100%);flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;padding:18px 14px;display:flex}.ad-house-logo{letter-spacing:-.03em;color:#fff;border-radius:var(--radius-sm);background:#ff5a1f33;border:1px solid #ff5a1f73;padding:4px 12px;font-size:20px;font-weight:800}.ad-house-tagline{text-transform:uppercase;letter-spacing:.06em;color:var(--accent);font-size:11px;font-weight:700}.ad-house-desc{color:#d6d3cd;margin:4px 0;font-size:11.5px;line-height:1.45}.ad-house-cta{background:var(--accent);color:#fff;border-radius:var(--radius-sm);transition:var(--transition-fast);margin-top:6px;padding:7px 12px;font-size:11.5px;font-weight:600;text-decoration:none;display:inline-block}.ad-house-cta:hover{background:var(--accent-hover)}.ad-house-note{color:#9a9ca3;margin-top:auto;padding-top:10px;font-size:9.5px}@media (width<=1100px){.ad-rail{display:none}.feature-mini-grid{grid-template-columns:1fr}}.app-footer{color:#57534e;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 6px 0;font-size:11.5px;display:flex}.footer-left{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.footer-left a{color:#1a120e;font-weight:600;text-decoration:none}.footer-left a:hover{color:var(--accent);text-decoration:underline}.footer-dot{color:#a8a29e}.footer-links{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.footer-link-btn{color:#57534e;cursor:pointer;background:0 0;border:none;padding:0;font-size:11.5px;font-weight:500;text-decoration:none}.footer-link-btn:hover{color:var(--accent);text-decoration:underline}.policy-modal-box{flex-direction:column;width:620px;max-height:82vh;display:flex}.policy-modal-content{color:#3f3f46;padding-right:6px;font-size:13.5px;line-height:1.6;overflow-y:auto}.policy-modal-content h4{color:#18181b;margin:14px 0 6px;font-size:14.5px;font-weight:700}.policy-modal-content p,.policy-modal-content ul,.policy-modal-content ol{margin-bottom:10px}.policy-modal-content ul,.policy-modal-content ol{padding-left:20px}.policy-modal-content a{color:var(--accent);font-weight:600}.toast-container{z-index:1000;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:20px;right:20px}.toast{color:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-popover);border-left:3px solid var(--accent);background:#1f2023;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:500;display:flex}body.theme-dark{color:#fff;background-color:#222428}body.theme-dark .saas-app,body.theme-dark .viewport-scroll{background-color:#222428}body.theme-dark .empty-card{background-color:#282b30;border:1px solid #353840}body.theme-dark .empty-card h1,body.theme-dark .empty-subtitle,body.theme-dark .upload-dropzone-hint,body.theme-dark .empty-divider-text{color:#fff}body.theme-dark .upload-dropzone{background:#ff5a1f12;border-color:#ff5a1fa6}body.theme-dark .upload-dropzone:hover,body.theme-dark .upload-dropzone.drag-over{border-color:var(--accent);background:#ff5a1f24}body.theme-dark .btn-secondary{color:#fff;background:#1e2024;border-color:#3e414a}body.theme-dark .btn-secondary:hover{border-color:var(--accent);background:#32353d}body.theme-dark .doc-filename,body.theme-dark .control-text,body.theme-dark .control-btn,body.theme-dark .control-pill-btn,body.theme-dark .context-label,body.theme-dark .pages-header-title,body.theme-dark .thumb-label{color:#fff}body.theme-dark .header-action-btn,body.theme-dark .history-controls,body.theme-dark .theme-toggle-header-btn,body.theme-dark .compact-controls,body.theme-dark .color-trigger-btn,body.theme-dark .align-btn-group,body.theme-dark .saas-select,body.theme-dark .prop-btn{color:#fff;background:#282b30;border-color:#383b42}body.theme-dark .header-action-btn:hover,body.theme-dark .theme-toggle-header-btn:hover,body.theme-dark .color-trigger-btn:hover,body.theme-dark .control-btn:hover,body.theme-dark .control-pill-btn:hover{background:#32363d}body.theme-dark .header-action-btn.active-panel{border-color:var(--accent);color:var(--accent)}body.theme-dark .control-pill-btn{border-color:#3e414a}body.theme-dark .header-vdivider{background-color:#3e414a}body.theme-dark .segmented-control{background:#282b30;border:1px solid #383b42}body.theme-dark .seg-btn{color:#a1a1aa}body.theme-dark .seg-btn.active{color:#fff;background:#383b42}body.theme-dark .align-btn{color:#fff}body.theme-dark .thumb-item,body.theme-dark .ad-slot-card{background:#282b30;border-color:#383b42}body.theme-dark .ad-slot-header{border-bottom-color:#383b42}body.theme-dark .ad-badge-label{color:#d4d4d8}body.theme-dark .mascot-speech-bubble{border-color:#383b42;border-left-color:var(--accent);background:#282b30}body.theme-dark .mascot-speech-bubble:after{background:#282b30;border-bottom-color:#383b42;border-right-color:#383b42}body.theme-dark .mascot-speech-bubble h1,body.theme-dark .mascot-speech-bubble h4,body.theme-dark .mascot-speech-bubble p,body.theme-dark .mascot-bubble-body p,body.theme-dark .mascot-bubble-body li,body.theme-dark .mascot-bubble-close:hover,body.theme-dark .app-footer,body.theme-dark .footer-left a,body.theme-dark .footer-link-btn{color:#fff}body.theme-dark .footer-left a:hover,body.theme-dark .footer-link-btn:hover{color:var(--accent)}.mobile-header-brand,.export-label-mobile,.hint-mobile,.sample-label-mobile,.mobile-faq-accordion,.mobile-drawer-backdrop{display:none}@media (width<=980px){.saas-app{background:#fff;flex-direction:column;gap:0;width:100vw;height:100dvh;padding:0;overflow:hidden}body.theme-dark .saas-app{background:#222428}.main-container{border-radius:0;flex-direction:column;flex:1;order:1;width:100%;height:auto;min-height:0;display:flex;overflow:hidden}.mobile-header-brand{align-items:center;gap:10px;display:flex}.export-label-desktop,.hint-desktop,.sample-label-desktop{display:none!important}.export-label-mobile,.hint-mobile,.sample-label-mobile{display:inline}.mobile-menu-btn{color:#1f1b18;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:inline-flex}body.theme-dark .mobile-menu-btn{color:#f3f4f6}.mobile-menu-btn:hover{background:#8080801a}.mobile-brand-lockup{align-items:center;gap:10px;display:inline-flex}.mobile-pdf-badge{color:#fff;letter-spacing:.02em;background:#c8102e;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:11px;font-weight:800;display:inline-flex;box-shadow:0 2px 6px #c8102e40}.mobile-brand-title{letter-spacing:-.02em;color:#1f1b18;white-space:nowrap;font-size:18px;font-weight:800}body.theme-dark .mobile-brand-title{color:#fff}.app-header{z-index:40;background:#fff;border-bottom:1px solid #eae6df;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:0;min-height:56px;padding:10px 16px;display:flex}body.theme-dark .app-header{background:#222428;border-bottom-color:#ffffff14}#docFileName,.doc-filename,.doc-actions-group,#btnTogglePages,#btnSampleDoc,.upload-header-btn,.color-dropdown-wrap,#btnThemeToggle,.theme-toggle-header-btn,#btnFitWidth,.header-vdivider,#btnRedo{display:none!important}.header-left{flex:1;order:1;gap:10px;min-width:0}.header-center,.header-right{display:contents}#btnExportPdf{color:#fff;height:38px;box-shadow:none;background:#d84315;border-radius:11px;flex-shrink:0;order:2;padding:0 18px;font-size:14px;font-weight:700}body:not(.has-pdf-loaded) .compact-controls,body:not(.has-pdf-loaded) .history-controls{display:none!important}body.has-pdf-loaded .app-header:after{content:"";background:#eae6df;flex-basis:100%;order:3;width:100%;height:1px;margin:10px 0 6px}body.theme-dark.has-pdf-loaded .app-header:after{background:#ffffff14}body.has-pdf-loaded .compact-controls,body.has-pdf-loaded .history-controls{display:contents}body.has-pdf-loaded #btnZoomOut{order:4}body.has-pdf-loaded #zoomIndicator{order:5;margin:0 4px;font-size:13.5px;font-weight:600}body.has-pdf-loaded #btnZoomIn{order:6}body.has-pdf-loaded #btnUndo{order:7;margin-left:auto;margin-right:8px}body.has-pdf-loaded #btnPrevPage{order:8;width:24px;height:24px}body.has-pdf-loaded #pageIndicator{order:9;padding:0 2px;font-size:13.5px;font-weight:600}body.has-pdf-loaded #btnNextPage{order:10;width:24px;height:24px}.context-bar{flex-shrink:0;padding:4px 12px;overflow-x:auto}.sidebar-rail,.sidebar-rail.expanded,.sidebar-rail.collapsed{z-index:45;border:none;border-top:1px solid #eae6df;border-radius:18px 18px 0 0;flex-direction:row;flex-shrink:0;order:2;align-items:center;max-height:none;box-shadow:0 -4px 20px #0000000d;width:100%!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px)) 12px!important;background:#fff!important}body.theme-dark .sidebar-rail,body.theme-dark .sidebar-rail.expanded,body.theme-dark .sidebar-rail.collapsed{border-top-color:#ffffff14;box-shadow:0 -4px 20px #00000040;background:#282b30!important}.sidebar-top,.section-label,.nav-divider{display:none!important}.sidebar-nav{scrollbar-width:none;flex-direction:row;flex:1;justify-content:flex-start;align-items:center;gap:6px;overflow-x:auto}.sidebar-nav::-webkit-scrollbar{display:none}.nav-section{flex-direction:row;flex-shrink:0;align-items:center;gap:6px}.nav-item,.sidebar-rail.collapsed .nav-item{color:#2b2623;border-radius:14px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:4px;width:62px;height:56px;font-size:11.5px;font-weight:600;padding:6px 4px!important}.nav-item:disabled{opacity:.75}body.theme-dark .nav-item,body.theme-dark .sidebar-rail.collapsed .nav-item{color:#e2e4e9}.sidebar-rail.collapsed .nav-label{display:block!important}.nav-icon-box,.sidebar-rail.collapsed .nav-item.active .nav-icon-box{width:24px;height:24px;color:inherit!important;background:0 0!important}.nav-item.active{color:#d84315!important;box-shadow:none!important;background:#fdece6!important}body.theme-dark .nav-item.active{color:#ff7442!important;background:#ff5a1f38!important}.nav-item.active .nav-icon-box svg{color:#d84315!important;stroke:#d84315!important}.workspace-body{background:#f5efea;border-radius:0;flex:1;min-height:0}body.theme-dark .workspace-body{background:#1c1e22}.viewport-scroll{background:#f5efea;padding:14px 12px}body:not(.has-pdf-loaded) .viewport-scroll{background:#fff;padding:0}body.theme-dark:not(.has-pdf-loaded) .viewport-scroll{background:#222428}.empty-state{background:#fff;align-items:flex-start;min-height:auto;padding:16px 20px 28px}body.theme-dark .empty-state{background:#222428}.empty-card{width:100%;max-width:400px;margin:0 auto;padding:4px 0 20px;box-shadow:none!important;background:0 0!important;border:none!important}.empty-hero-badge{margin-bottom:16px}.empty-logo-circle{width:120px;height:120px;box-shadow:none;background:0 0;border-radius:0}.empty-logo-img{border-radius:10px}.upload-dropzone{border:2px dashed #e5987d;border-radius:18px;margin-bottom:16px;padding:28px 18px;background:#fff!important}body.theme-dark .upload-dropzone{border-color:#ff5a1f73;background:#282b30!important}.upload-dropzone-icon{background:#d84315;width:52px;height:52px;margin-bottom:8px}.upload-dropzone-cta{color:#b9380c;text-underline-offset:3px;font-size:17.5px;font-weight:800;text-decoration:underline}body.theme-dark .upload-dropzone-cta{color:#ff7442}.upload-dropzone-hint{color:#6e655f;font-size:13.5px}body.theme-dark .upload-dropzone-hint{color:#a0a5b1}.empty-actions{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.empty-divider-text{color:#6e655f;font-size:13.5px}.empty-actions .btn-secondary,#btnEmptySample{color:#2b2623;background:#fff;border:1px solid #dfd9d0;border-radius:12px;justify-content:center;align-items:center;width:100%;height:46px;font-size:14.5px;font-weight:600;display:flex;box-shadow:0 2px 6px #00000005}body.theme-dark .empty-actions .btn-secondary,body.theme-dark #btnEmptySample{color:#f3f4f6;background:#282b30;border-color:#ffffff24}.mobile-faq-accordion{text-align:left;background:#fff;border:1px solid #f0ece6;border-radius:16px;width:100%;margin-top:16px;display:block;overflow:hidden;box-shadow:0 6px 20px #0000000a}body.theme-dark .mobile-faq-accordion{background:#282b30;border-color:#ffffff14;box-shadow:0 6px 20px #00000038}.mobile-faq-trigger{color:#1f1b18;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:16px 18px;font-family:inherit;font-size:15px;font-weight:700;display:flex}body.theme-dark .mobile-faq-trigger{color:#f3f4f6}.mobile-faq-chevron{color:#2b2623;transition:transform .2s}body.theme-dark .mobile-faq-chevron{color:#e2e4e9}.mobile-faq-trigger[aria-expanded=true] .mobile-faq-chevron{transform:rotate(180deg)}.mobile-faq-content{color:#5a524c;border-top:1px solid #f4f1ec;padding:0 18px 16px;font-size:13px;line-height:1.5}body.theme-dark .mobile-faq-content{color:#c4c8d0;border-top-color:#ffffff0f}.mobile-faq-content ol{flex-direction:column;gap:6px;margin:12px 0 0 18px;padding:0;display:flex}.mascot-corner,.app-footer{display:none}.mascot-corner.mobile-dialog-open:not(.hidden){z-index:250;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.mascot-corner.mobile-dialog-open:not(.hidden) .mascot-avatar-btn{display:none}.mascot-corner.mobile-dialog-open:not(.hidden) .mascot-speech-bubble{border-radius:16px;width:100%;max-width:400px;max-height:80dvh;margin:0;padding:20px}.pages-panel{z-index:90;background:var(--workspace-bg);width:140px;box-shadow:var(--shadow-popover);border:1px solid #80808038;border-radius:12px;padding:8px;position:absolute;top:10px;bottom:10px;left:10px}.mobile-drawer-backdrop{z-index:200;opacity:1;background:#00000073;transition:opacity .22s;display:block;position:fixed;inset:0}.mobile-drawer-backdrop.hidden{display:none!important}.mobile-drawer{background:#fff;flex-direction:column;justify-content:space-between;width:82%;max-width:310px;height:100%;display:flex;overflow-y:auto;box-shadow:8px 0 30px #0000002e}body.theme-dark .mobile-drawer{color:#f3f4f6;background:#222428}.mobile-drawer-header{border-bottom:1px solid #efece6;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}body.theme-dark .mobile-drawer-header{border-bottom-color:#ffffff14}.mobile-drawer-brand{align-items:center;gap:12px;text-decoration:none;display:flex}.mobile-drawer-brand-text{flex-direction:column;display:flex}.mobile-drawer-title{color:#1f1b18;font-size:17px;font-weight:800;line-height:1.15}body.theme-dark .mobile-drawer-title{color:#fff}.mobile-drawer-subtitle{color:#d84315;margin-top:2px;font-size:12px;font-weight:600;text-decoration:none;display:block}.mobile-drawer-close{color:#2b2623;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:24px;line-height:1;display:flex}body.theme-dark .mobile-drawer-close{color:#e2e4e9}.mobile-drawer-body{flex-direction:column;flex:1;gap:4px;padding:12px 14px;display:flex}.mobile-drawer-list{flex-direction:column;gap:4px;display:flex}.mobile-drawer-item{color:#1f1b18;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:14px;width:100%;padding:12px 10px;font-family:inherit;font-size:15px;font-weight:600;display:flex}body.theme-dark .mobile-drawer-item{color:#f3f4f6}.mobile-drawer-item:hover{background:#80808014}.mobile-drawer-icon{color:#2b2623;justify-content:center;align-items:center;width:22px;height:22px;display:flex}body.theme-dark .mobile-drawer-icon{color:#e2e4e9}.mobile-drawer-label{flex:1}.mobile-drawer-item .header-badge{color:#fff;background:#d84315;border-radius:999px;min-width:26px;height:20px;padding:0 8px;font-size:12px;font-weight:700}.mobile-ink-swatches{align-items:center;gap:10px;padding:6px 10px 10px 46px;display:flex}.mobile-drawer-divider{background:#efece6;height:1px;margin:12px 8px}body.theme-dark .mobile-drawer-divider{background:#ffffff14}.mobile-drawer-links{flex-direction:column;gap:2px;display:flex}.mobile-drawer-link{color:#5a524c;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;padding:10px;font-family:inherit;font-size:14.5px;font-weight:500;text-decoration:none;display:block}body.theme-dark .mobile-drawer-link{color:#b0b5c0}.mobile-drawer-link:hover{background:#80808014}.mobile-drawer-footer{color:#7a716a;padding:16px 22px 22px;font-size:12px}body.theme-dark .mobile-drawer-footer{color:#8e939e}}
