.nup-choice input,.nup-layout-card input,.inv-templates-entry input,.text-format-choice>input,.resize-paper-card input,.resize-orientation input,.bookmark-level input{position:absolute;width:1px;height:1px;opacity:0}.creator-card input,.scan-preset input,.scan-segmented label>input,.dupe-choices input{position:absolute;opacity:0;width:1px;height:1px}.nup-orientation-icon,.resize-orientation svg{width:40px;height:36px;fill:var(--surface);stroke:var(--accent);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.creator-card:has(input:checked),.forms-entry-modes label:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent)}.conversion-fields{display:grid;gap:13px}.conversion-field{display:grid;gap:6px;min-width:0}.conversion-field>span{font-weight:600}.conversion-field input:not([type=checkbox]),.conversion-field select{min-width:0;width:100%;height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background-color:#fff;font:inherit;color:var(--ink)}.conversion-field input[type=color]{padding:4px;cursor:pointer}.conversion-check{justify-content:space-between}.conversion-fields .settings-note{margin:-7px 0 0}.conversion-fields .conversion-page-note{margin:0}.conversion-note{margin-block:15px}.conversion-original{margin-block-end:20px}.conversion-text-result{width:min(100%,980px);display:grid;gap:14px;margin:18px auto 24px;text-align:start}.conversion-text-result.has-source{grid-template-columns:1fr 1fr}.conversion-text-result label{display:grid;gap:8px;min-width:0;font-size:13px;font-weight:600}.conversion-text-result textarea{width:100%;min-height:330px;padding:16px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font:14px/1.8 ui-monospace,monospace}.conversion-text-result .button{justify-self:start}#conversion-result-note{max-width:720px;margin-inline:auto}@media(max-width:680px){.conversion-text-result.has-source{grid-template-columns:1fr}.conversion-text-result textarea{min-height:230px}}.rotate-angles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0;min-width:0}.rotate-angle{position:relative;display:grid;justify-items:center;gap:7px;padding:12px 5px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);cursor:pointer;transition:border-color .15s,background .15s}.rotate-angle input{position:absolute;width:1px;height:1px;opacity:0}.rotate-angle svg{width:34px;height:34px;stroke:var(--accent-readable,var(--accent));stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.rotate-angle .rotate-paper{fill:var(--accent-soft)}.rotate-angle>span{font-size:8px;font-weight:500;font-variant-numeric:tabular-nums}.rotate-angle:hover{border-color:var(--accent)}.rotate-angle:has(:checked){border-color:var(--accent);background:var(--accent-soft);color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent)}.rotate-angle:has(:checked) .rotate-paper{fill:var(--surface)}.rotate-angle:has(:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.rotate-angle:has(:disabled){opacity:.6;cursor:wait}@media(prefers-reduced-motion:reduce){.rotate-angle{transition:none}}.utility-note{margin-block:16px}.utility-password-toggle{margin-block:0 18px}.utility-rotate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-block:12px 20px}.utility-rotate-actions .button{min-width:0;padding:10px;font-size:12px}.utility-selection-actions{display:flex;flex-wrap:wrap;gap:8px 15px}.utility-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:12px;max-height:350px;overflow:auto;padding:8px;margin-top:18px}.utility-page{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;place-items:center;min-width:0;gap:8px;padding:14px 8px 9px;min-height:150px;border:2px solid transparent;border-radius:0;background:var(--surface,#fff);color:var(--ink);cursor:pointer}.utility-thumbnail{width:100%;max-width:100px;aspect-ratio:1;min-width:0}.utility-page canvas{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 4px #15233820)}.utility-page span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--line);font-size:11px}.utility-page[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.utility-page[aria-pressed=true] span{color:#fff;background:var(--accent)}.utility-url-form{display:grid;justify-items:center;gap:18px;width:min(100%,520px)}.utility-url-form>label{font-size:22px;font-weight:700}.utility-url-form>input{width:100%;height:50px;padding:12px 15px;font:inherit;color:var(--ink);background:var(--surface,#fff);border:1px solid var(--line);border-radius:12px}.utility-url-form .settings-note{max-width:430px;margin:0}.utility-url-symbol{display:grid;place-items:center;width:94px;height:94px;border-radius:25px;background:var(--accent-soft);color:var(--accent-hover)}.utility-url-symbol svg{width:49px;height:49px}.utility-placeholder{max-width:420px;text-align:center;padding:26px;margin:auto;font-size:15px;line-height:1.85;color:var(--muted)}.utility-placeholder>span{display:inline-grid;place-items:center;width:90px;height:90px;border-radius:24px;color:var(--accent-hover);background:var(--accent-soft)}.utility-placeholder svg{width:44px;height:44px}#utility-result-preview img{display:block;width:260px;max-width:100%;height:auto;margin:18px auto 25px;border:1px solid var(--line);border-radius:12px}#canvas-area:fullscreen{width:100vw;height:100vh;background:var(--surface,#e9ebef)}.utility-text-layer{position:absolute;inset:0;overflow:clip;text-align:initial;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:1}.utility-text-layer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}.utility-text-layer>:not(.markedContent),.utility-text-layer .markedContent span:not(.markedContent){z-index:1}.utility-text-layer span.markedContent{top:0;height:0}.utility-text-layer ::selection{background:#377dff66}.utility-text-layer br::selection{background:transparent}.utility-text-layer{--min-font-size:1;--text-scale-factor:calc(var(--scale-factor)*var(--min-font-size));--min-font-size-inv:calc(1/var(--min-font-size))}.utility-text-layer>:not(.markedContent),.utility-text-layer .markedContent span:not(.markedContent){font-size:calc(var(--font-height)*var(--text-scale-factor));transform:rotate(var(--rotate,0deg)) scaleX(var(--scale-x,1)) scale(var(--min-font-size-inv))}[data-appearance=dark] .utility-page{background:var(--surface)}[data-appearance=dark] .utility-page[aria-pressed=true]{background:var(--accent-soft)}@media(max-width:680px){.utility-url-form>label{font-size:19px}.utility-pages{grid-template-columns:repeat(3,minmax(0,1fr));max-height:310px}.utility-thumbnail{max-width:78px}}.resize-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.resize-section-heading h3{margin:0}.resize-units{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--canvas)}.resize-units button{min-width:31px}.resize-paper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.resize-paper-card{display:flex;align-items:center;gap:5px;min-width:0;padding:12px 7px}.resize-paper-card>svg{width:30px;height:38px;flex-shrink:0}.resize-paper-card rect{fill:var(--canvas);stroke:#a5adbd;stroke-width:1.3}.resize-paper-copy{display:grid;gap:6px;min-width:0}.resize-paper-copy small{white-space:nowrap}.resize-paper-card:has(:checked) rect{fill:var(--surface);stroke:var(--accent)}.resize-more{margin-top:12px;padding-bottom:17px;border-bottom:1px solid var(--line)}.resize-more summary>.icon{width:15px;height:15px;margin-inline-start:auto}.resize-more[open] summary>.icon{transform:rotate(180deg)}.resize-more[open] summary{margin-bottom:12px}#resize-more-current{color:var(--accent-readable,var(--accent));font-size:11px;font-weight:600}.resize-orientation-title{margin:20px 0 13px}.resize-orientations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.resize-orientation{display:grid;grid-template-rows:36px auto;justify-items:center;align-items:center;gap:7px;padding:10px 3px;text-align:center}.resize-fit-note{display:flex;align-items:flex-start;gap:9px;padding:14px;margin-top:20px;border-radius:12px;background:var(--canvas)}.resize-fit-note>.icon{width:18px;height:18px;flex-shrink:0;color:var(--accent);margin-top:2px}.resize-fit-note p{margin:0;font-size:12px;line-height:1.7;color:var(--ink)}.resize-form-note{margin:13px 0 0}.resize-comparison{display:flex;align-items:center;justify-content:center;gap:20px;padding:17px 18px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 70%,transparent)}.resize-sheet-summary{display:flex;align-items:center;gap:11px;min-width:0}.resize-sheet-summary>svg{width:32px;height:40px;flex-shrink:0}.resize-sheet-summary rect{fill:var(--surface);stroke:#aab1c0;stroke-width:1.5}.resize-sheet-summary>div{display:grid;gap:7px;min-width:0}.resize-sheet-summary span{font-size:11px;line-height:1.4;color:var(--muted)}.resize-sheet-summary b{font-weight:500}.resize-sheet-summary strong{font-size:13px;line-height:1.3;color:var(--ink);font-weight:600;white-space:nowrap}.resize-sheet-result rect{fill:var(--accent-soft);stroke:var(--accent)}.resize-comparison-arrow{display:flex;color:var(--accent)}.resize-comparison-arrow .icon{width:19px;height:19px}[dir=rtl] .resize-comparison-arrow{transform:rotate(180deg)}.resize-pdf-page #crop-help{display:none}.resize-pdf-page .edit-view-controls{padding-top:14px}@media(max-width:680px){.resize-comparison{gap:12px;padding:14px 10px}.resize-sheet-summary{gap:7px}.resize-sheet-summary>svg{width:22px;height:34px}.resize-sheet-summary strong{font-size:11px}.resize-sheet-summary span{font-size:10px}.resize-paper-card{padding:13px 10px;gap:9px}}
