:root{color:#202124;font-synthesis:none;--ink:#202124;--muted:#686b73;--line:#e5e5e9;--accent:#0969da;background:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:3px solid #77abf4}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.04em;font-weight:650}h1{margin-bottom:14px;font-size:clamp(32px,4vw,46px);line-height:1.13}h2{margin-bottom:8px;font-size:25px}.site-header,main,.site-footer{width:min(920px,100% - 48px);margin-inline:auto}.site-header{justify-content:space-between;align-items:center;gap:18px;min-height:72px;display:flex}.brand{letter-spacing:-.3px;align-items:center;gap:9px;font-size:16px;font-weight:650;text-decoration:none;display:flex}.brand-mark{border:1.5px solid;border-radius:3px 6px 3px 3px;width:19px;height:23px;position:relative}.brand-mark:after{content:"";background:repeating-linear-gradient(90deg,currentColor 0 1.5px,#0000 1.5px 3px);height:6px;position:absolute;inset:auto 3px 4px}.header-note{color:var(--muted);font-size:12px;text-decoration:none}.skip-link{z-index:20;background:#fff;padding:12px;position:absolute;top:-80px;left:16px}.skip-link:focus{top:12px}main{padding:46px 0 56px}.tool-heading{text-align:center;margin:0 0 30px}.tool-heading>p{color:var(--muted);margin-bottom:0;font-size:17px;line-height:1.5}.direct-tool:not([data-state=idle]):not([data-state=error]) .tool-heading{text-align:left;margin:0 0 18px}.direct-tool:not([data-state=idle]):not([data-state=error]) h1{margin:0;font-size:22px}.direct-tool:not([data-state=idle]):not([data-state=error]) .tool-heading>p{display:none}.converter-card{border:1px solid var(--line);background:#fff;border-radius:22px;overflow:clip;box-shadow:0 6px 24px #15172b05}.upload-layout{text-align:center;padding:28px}.drop-zone{cursor:pointer;border:1.5px dashed #d8d9df;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:270px;transition:background .15s,border-color .15s;display:flex}.drop-zone:hover,.drop-zone.is-dragging{background:#f5f9ff;border-color:#84aee6}.drop-zone:focus-within{outline-offset:4px;outline:3px solid #77abf4}.file-input,.sr-only,.status:not(.is-error):not(.is-success){clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.upload-icon{color:#999da6;margin-bottom:23px;display:block}.upload-icon svg{fill:none;stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;width:38px;height:38px}.choose-button,.primary-button{background:var(--accent);color:#fff;text-align:center;border:0;border-radius:12px;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:13px 27px;font-size:15px;font-weight:550;display:inline-flex}.primary-button:hover:not(:disabled),.drop-zone:hover .choose-button{background:#075abe}.choose-button{min-width:176px}.drop-description{color:var(--muted);margin-top:14px;font-size:13px}.upload-limits{color:var(--muted);margin-top:16px;font-size:12px}.upload-limits summary{min-height:32px;padding:8px;list-style:none}.upload-limits summary:after{content:" ⌄"}.upload-limits p{margin:6px 0 0;line-height:1.7}.trust-row{text-align:center;color:var(--muted);margin:18px 0 0;padding:0 10px;font-size:12px;line-height:1.6}.processing-panel{text-align:center;padding:86px 24px}.processing-panel h2{margin-top:24px}.processing-panel p{color:var(--muted);font-size:14px}.spinner{border:3px solid #e6e9ee;border-top-color:var(--accent);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.status{margin:0;padding:16px 24px;font-size:13px;line-height:1.6}.status:empty{display:none}.status.is-error{color:#a42e25;background:#fff2ee}.status.is-success{color:#366546;background:#f1f8f2}.direct-tool:not([data-state=done]) .status.is-success{clip-path:inset(50%);width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.editor-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 28px 16px;display:flex}.editor-heading h2{font-size:24px}.editor-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.text-button{color:var(--accent);white-space:nowrap;background:0 0;border:0;min-height:44px;padding:10px 4px;font-size:13px}.preview-pane{padding:0 28px}.file-bar{justify-content:space-between;align-items:center;gap:14px;min-height:42px;display:flex}.file-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.page-navigation{flex-shrink:0;align-items:center;gap:6px;display:flex}.page-navigation span{color:var(--muted);font-size:12px}.page-navigation button{min-width:44px;height:44px;color:var(--ink);background:0 0;border:0;font-size:24px}.preview-surface{overscroll-behavior:contain;touch-action:none;scrollbar-width:none;background:#ededf0;border-radius:12px;height:clamp(300px,49vh,470px);position:relative;overflow:auto}.preview-surface::-webkit-scrollbar{width:0;height:0;display:none}.preview-world{justify-content:center;align-items:center;min-width:100%;min-height:100%;padding:24px;display:flex}.crop-stage{user-select:none;flex-shrink:0;line-height:0;position:relative;box-shadow:0 2px 12px #15172b20}[data-pdf-preview]{background:#fff;width:100%;height:100%;display:block}.crop-box{border:1.5px solid var(--accent);position:absolute;box-shadow:0 0 0 4000px #23263145}.crop-box:before,.crop-box:after{content:"";pointer-events:none;opacity:0;border-top:1px solid #ffffff65;border-bottom:1px solid #ffffff65;position:absolute;inset:33.333% 0}.crop-box:after{border:0;border-left:1px solid #ffffff65;border-right:1px solid #ffffff65;inset:0 33.333%}.crop-box:focus-within:before,.crop-box:focus-within:after{opacity:1}.crop-move{cursor:move;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.crop-handle{z-index:3;background:0 0;border:0;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.crop-handle span{border:2px solid var(--accent);pointer-events:none;background:#fff;border-radius:3px;width:12px;height:12px;box-shadow:0 1px 4px #10264e25}.crop-handle-n,.crop-handle-s{cursor:ns-resize;z-index:2;width:max(44px,100% - 44px);height:44px;left:50%}.crop-handle-n span,.crop-handle-s span{width:28px;height:8px}.crop-handle-e,.crop-handle-w{cursor:ew-resize;z-index:2;width:44px;height:max(44px,100% - 44px);top:50%}.crop-handle-e span,.crop-handle-w span{width:8px;height:28px}.crop-handle-n,.crop-handle-ne,.crop-handle-nw{top:0}.crop-handle-s,.crop-handle-se,.crop-handle-sw{top:100%}.crop-handle-e,.crop-handle-ne,.crop-handle-se{left:100%}.crop-handle-w,.crop-handle-nw,.crop-handle-sw{left:0}.crop-handle-nw,.crop-handle-se{cursor:nwse-resize}.crop-handle-ne,.crop-handle-sw{cursor:nesw-resize}.crop-handle:focus-visible{outline:none}.crop-handle:focus-visible span{outline-offset:3px;outline:3px solid #77abf4}.crop-box[data-editable=false] .crop-handle{display:none}.preview-surface[data-pan=true],.preview-surface[data-pan=true] button{cursor:grab}.preview-surface[data-pan=true] .crop-handle{opacity:.25}.preview-toolbar{justify-content:space-between;align-items:center;gap:12px;padding-top:8px;display:flex}.toolbar-button,.zoom-controls button{color:var(--ink);background:0 0;border:0;border-radius:8px;min-height:44px;padding:8px 12px;font-size:13px}.toolbar-button[aria-pressed=true]{color:var(--accent);background:#eaf2ff}.zoom-controls{align-items:center;display:flex}.zoom-controls button{min-width:44px;font-size:21px}.zoom-controls [data-zoom-fit]{font-variant-numeric:tabular-nums;min-width:65px;font-size:12px}.editor-shortcuts{color:#315579;background:#eef6ff;border:1px solid #b9d7fb;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px 16px;margin:4px 0 8px;padding:9px 12px;font-size:12.5px;font-weight:650;line-height:1.35;display:flex}.editor-shortcuts>span{align-items:center;min-height:24px;display:inline-flex}.editor-shortcuts>span+span:before{content:"·";color:#8aa9c9;margin-right:16px}.editor-shortcuts kbd{color:var(--ink);font:inherit;background:#fff;border:1px solid #c8ccd3;border-bottom-width:2px;border-radius:5px;margin:0 5px;padding:1px 5px;font-size:11px}.snap-shortcut[data-active=true]{color:var(--accent)}.snap-shortcut[data-active=true]:after{content:" ON";letter-spacing:.04em;margin-left:4px;font-size:10px}.preview-tip{color:var(--muted);text-align:center;margin:0 0 12px;font-size:11px;line-height:1.5}.result-actions{padding:10px 28px 14px}.decision-bar{justify-content:space-between;align-items:center;gap:18px;display:flex}.decision-bar>.primary-button{min-width:200px;margin-left:auto}.remember-option{cursor:pointer;align-items:center;gap:10px;min-height:48px;font-size:13px;display:flex}.remember-option input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin:0}.remember-option small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.crop-controls{color:var(--muted);margin-top:7px;font-size:12px}.crop-controls summary,.saved-layouts summary{min-height:44px;padding:13px 0}.crop-presets{flex-wrap:wrap;gap:8px;padding:0 0 12px;display:flex}.crop-presets button,.text-action-button,.batch-row-actions button,.review-group-row button,.review-group-members button{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;min-height:44px;padding:8px 12px;font-size:12px}.print-note{color:var(--muted);text-align:right;margin:12px 0 0;font-size:12px}.page-warning{color:#845720;background:#fff5e7;border-radius:8px;margin-bottom:14px;padding:12px;font-size:13px;line-height:1.6}.review-group-context{color:var(--muted);margin-bottom:12px;font-size:12px}.review-group-context summary{min-height:36px;padding:8px 0}.review-group-members{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.review-group-members [aria-current]{border-color:var(--accent);color:var(--accent)}.batch-queue{border-top:1px solid var(--line);padding:0 28px 12px}.batch-export{text-align:center;padding:40px 12px 28px}.ready-mark{color:#328144;background:#eaf5ec;border-radius:50%;place-items:center;width:46px;height:46px;margin:0 auto 18px;font-size:24px;display:grid}.batch-export h2{margin-bottom:10px;font-size:27px}.batch-export p{color:var(--muted);font-size:14px;line-height:1.5}.batch-export .batch-export-omissions{color:#96581a;background:#fff5e7;border-radius:8px;padding:12px}.batch-export-actions{flex-direction:column;align-items:center;gap:6px;margin-top:22px;display:flex}.batch-export-actions .primary-button{min-width:220px}.direct-tool:not([data-state=summary]) .batch-export,.direct-tool:not([data-state=summary]) .summary-start-over{display:none}.file-details>summary{min-height:52px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-size:12px;display:flex}.details-action{color:var(--accent);white-space:nowrap}.details-action:after{content:" ⌄"}.file-details[open] .details-action:after{content:" ⌃"}.summary-start-over{margin:4px auto 0;display:block}.batch-list{gap:8px;display:grid}.batch-row{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;display:flex}.batch-row.is-error{background:#fff7f3;border-radius:8px;padding:12px}.batch-row-main{text-align:left;min-width:0;color:var(--ink);background:0 0;border:0;flex:180px;min-height:44px;padding:6px 0}.batch-row-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550;display:block;overflow:hidden}.batch-row-main span{color:var(--muted);font-size:11px;line-height:1.6;display:block}.batch-row-main:disabled{opacity:1}.batch-row-actions{flex-wrap:wrap;gap:5px;display:flex}.batch-row-actions button{padding:8px 10px}.review-groups{padding:8px 0 16px}.queue-subheading{justify-content:space-between;align-items:center;gap:12px;display:flex}.queue-subheading h3{font-size:13px}.queue-subheading p{color:var(--muted);font-size:12px}.review-group-row{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.review-group-row>div{min-width:0}.review-group-row strong,.review-group-row span{font-size:12px;line-height:1.5;display:block}.review-group-row span{color:var(--muted);overflow-wrap:anywhere}.review-group-row button{flex-shrink:0}.saved-layouts{color:var(--muted);border-bottom:1px solid var(--line);margin:18px 0 0;font-size:12px}.saved-layouts-heading,.saved-layout-row{justify-content:space-between;align-items:center;gap:14px;padding:10px 0;display:flex}.saved-layouts-heading p{margin:0;font-size:12px;line-height:1.6}.saved-layout-row{border-top:1px solid var(--line)}.saved-layout-row strong,.saved-layout-row span{font-size:12px;line-height:1.6;display:block}.saved-layout-row span{font-size:11px}.after-tool{margin-top:50px}.help-section{border-top:1px solid var(--line)}.help-section>summary{padding:24px 0;font-size:15px;font-weight:550}.guide-grid{grid-template-columns:1fr 1fr;gap:42px;padding-bottom:20px;display:grid}.guide-grid h2{font-size:22px;line-height:1.3}.guide-grid p{color:var(--muted);font-size:13px;line-height:1.8}.faq-grid h2{font-size:18px}.faq-grid details{border-bottom:1px solid var(--line)}.faq-grid summary{padding:16px 0;font-size:13px;line-height:1.5}.faq-grid details p{margin-top:0}.site-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:18px;padding:22px 0 32px;font-size:11px;display:flex}.site-footer p{margin:0}@media (width<=600px){.site-header,main,.site-footer{width:calc(100% - 28px)}.site-header{min-height:60px}main{padding:24px 0 36px}h1{font-size:34px}.tool-heading{margin-bottom:24px}.tool-heading>p{max-width:300px;margin-inline:auto;font-size:15px}.direct-tool:not([data-state=idle]):not([data-state=error]) h1{font-size:19px}.converter-card{border-radius:17px}.upload-layout{padding:16px}.drop-zone{min-height:250px}.editor-heading{gap:8px;padding:18px 16px 10px}.editor-heading h2{font-size:22px}.editor-heading p,.editor-heading .text-button{font-size:12px}.preview-pane{padding-inline:12px}.file-bar{gap:5px}.file-name{max-width:50%;font-size:11px}.page-navigation span{font-size:11px}.preview-surface{border-radius:9px;height:clamp(230px,37svh,340px)}.preview-tip{margin:0 0 4px;font-size:11px}.result-actions{padding:12px 16px 6px}.decision-bar{flex-wrap:wrap;gap:10px}.decision-bar>.primary-button{width:100%;min-height:46px}.remember-option{min-height:40px;font-size:12px}.remember-option small{font-size:11px}.print-note{text-align:center;font-size:11px}.batch-queue{padding-inline:16px}.batch-export{padding:38px 0 22px}.batch-export h2{font-size:25px}.batch-export-actions .primary-button{width:100%}.batch-row-main{flex-basis:100%}.review-group-row{align-items:flex-start}.trust-row{margin-top:14px;font-size:11px}.guide-grid{grid-template-columns:1fr;gap:20px}.after-tool{margin-top:32px}.site-footer{flex-wrap:wrap;line-height:1.6}}@media (width<=360px){.header-note{font-size:10px}.page-navigation{gap:0}.file-name{max-width:43%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:0s!important}}
