:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;font-smooth:always;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}.app-shell{width:min(100% - 32px,1000px);margin:0 auto}.top-bar{border-bottom:1px solid #e7eaf1;justify-content:space-between;align-items:center;min-height:76px;display:flex}.brand{color:#172033;align-items:center;gap:10px;font-size:18px;font-weight:750;text-decoration:none;display:inline-flex}.brand-icon{color:#fff;background:#4f46e5;border-radius:10px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.brand-light{color:#727b8c;font-weight:500}.top-note{color:#6e7788;font-size:13px}.intro{text-align:center;padding:52px 0 28px}.eyebrow{color:#4f46e5;letter-spacing:.13em;margin:0 0 12px;font-size:12px;font-weight:800}h1{letter-spacing:-.045em;margin:0;font-size:clamp(30px,5vw,46px)}.subtitle{color:#6e7788;margin:14px 0 0;font-size:16px}.workspace{background:#fff;border:1px solid #e7eaf1;border-radius:18px;padding:24px;box-shadow:0 12px 36px #1720330f}.drop-zone{cursor:pointer;background:#fafbff;border:2px dashed #cfd5e2;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:205px;transition:border-color .15s,background .15s;display:flex}.drop-zone:hover,.drop-zone.dragging{background:#f4f3ff;border-color:#4f46e5}.upload-icon{color:#4f46e5;background:#ecebff;border-radius:13px;place-items:center;width:44px;height:44px;margin-bottom:12px;font-size:25px;font-weight:600;display:grid}.drop-title{font-weight:700}.drop-description,.file-type{color:#70798b;margin-top:6px;font-size:14px}.file-type{margin-top:12px;font-size:12px}#file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.status{color:#687386;min-height:24px;margin:16px 2px;font-size:14px}.status.error{color:#b42318}.viewer{border:1px solid #e7eaf1;border-radius:12px;overflow:hidden}.viewer[hidden]{display:none}.viewer-toolbar{border-bottom:1px solid #e7eaf1;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:10px 14px;display:flex}.file-name{color:#465064;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.page-controls{color:#465064;flex:none;align-items:center;gap:10px;font-size:13px;display:flex}.control-button{color:#30394b;cursor:pointer;background:#fff;border:1px solid #d8dce6;border-radius:8px;padding:7px 10px}.control-button:hover:not(:disabled){color:#4f46e5;border-color:#4f46e5}.control-button:disabled{cursor:not-allowed;opacity:.45}.page-area{background:#eef1f6;justify-content:center;min-height:260px;padding:22px;display:flex;overflow:auto}#pdf-canvas{background:#fff;max-width:100%;height:auto;box-shadow:0 4px 18px #17203324}.footer{color:#7b8494;text-align:center;padding:24px 0 40px;font-size:13px}@media (width<=600px){.top-note{text-align:right;max-width:130px}.workspace{padding:14px}.viewer-toolbar{flex-direction:column;align-items:flex-start}.page-controls{justify-content:space-between;width:100%}.page-area{padding:12px}}.toolbar-actions{align-items:center;gap:8px;display:flex}.add-button.selected{color:#4f46e5;background:#f0efff;border-color:#4f46e5}.save-button{color:#fff;background:#4f46e5;border-color:#4f46e5}.save-button:hover:not(:disabled){color:#fff;background:#4038cf}.save-button:disabled{cursor:wait;opacity:.65}.pdf-page-container{flex:none;line-height:0;position:relative}.field-layer{line-height:normal;position:absolute;inset:0}.field-layer.is-placing{cursor:crosshair}.placed-field{color:#3730a3;pointer-events:none;background:#f0efffcc;border:2px solid #4f46e5;border-radius:4px;align-items:center;padding:3px 6px;font-size:12px;line-height:1;display:flex;position:absolute;overflow:hidden}@media (width<=700px){.toolbar-actions{flex-wrap:wrap;width:100%}.page-controls{width:100%}}.field-layer{pointer-events:auto}.placed-field{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;pointer-events:auto!important}.placed-field:active{cursor:grabbing}.placed-field{box-sizing:border-box;position:absolute}.resize-handle{z-index:2;box-sizing:border-box;touch-action:none;background:#fff;border:2px solid #4f46e5;border-radius:50%;width:12px;height:12px;position:absolute}.resize-handle.nw{cursor:nwse-resize;top:0;left:0;transform:translate(-50%,-50%)}.resize-handle.ne{cursor:nesw-resize;top:0;right:0;transform:translate(50%,-50%)}.resize-handle.sw{cursor:nesw-resize;bottom:0;left:0;transform:translate(-50%,50%)}.resize-handle.se{cursor:nwse-resize;bottom:0;right:0;transform:translate(50%,50%)}
