:root{--pdfu-ease:cubic-bezier(.22,.72,.26,1);--pdfu-ring:#9bcaff}
html{scroll-padding-top:90px}body{line-height:1.6}
main p a,main li a{ text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px }
[hidden]{display:none!important}
:is(a,button,input,select,textarea,summary,[role=button]):focus-visible{outline:2px solid var(--pdfu-ring);outline-offset:4px}
.hero-copy h1{letter-spacing:-.045em;text-wrap:balance}.hero-description{max-width:58ch}
.hero{height:auto!important;min-height:490px;padding-bottom:32px}.hero .hero-badges{margin-top:16px}
.hero-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.hero-shortcuts a{padding:7px 13px;border:1px solid #35496c;border-radius:9px;color:#d5e5ff;font-size:14px;text-decoration:none;background:#0b1629}
.hero-visual.hero-motion{transform:perspective(1000px) rotateX(var(--hero-rx,0deg)) rotateY(var(--hero-ry,0deg));transition:transform 550ms var(--pdfu-ease);backface-visibility:hidden}
@keyframes pdfu-hero-float{0%,100%{translate:0 0;rotate:-.35deg}50%{translate:0 -10px;rotate:.35deg}}
@media(prefers-reduced-motion:no-preference){body:not(.motion-paused) .hero-visual.hero-motion.hero-in-view{animation:pdfu-hero-float 7s ease-in-out infinite;will-change:transform}}
body.motion-paused .hero-visual.hero-motion,html.motion-paused .hero-visual.hero-motion{transform:none;translate:none;rotate:none;will-change:auto}
@media(prefers-reduced-motion:reduce){.hero-visual.hero-motion{transform:none;translate:none;rotate:none;will-change:auto}}
@media(max-width:760px){@keyframes pdfu-hero-float{0%,100%{translate:0 0;rotate:-.2deg}50%{translate:0 -6px;rotate:.2deg}}}
.tool{transition:transform 200ms var(--pdfu-ease),border-color 200ms,box-shadow 200ms!important}
.tool .tool-art{transition:transform 200ms var(--pdfu-ease)!important}
@media(hover:hover) and (pointer:fine){.tool:hover{transform:translateY(-2px)!important;box-shadow:0 12px 28px #0003}.tool:hover .tool-art{transform:translateY(-2px)!important;filter:none!important}.hero-shortcuts a:hover{border-color:#8e9bff}}
.workspace{max-width:1080px;margin-inline:auto;padding-inline:24px;padding-block:36px 72px}
.workspace h1{font-size:clamp(29px,4vw,44px);line-height:1.15;letter-spacing:-.035em;text-wrap:balance}
.workspace>.note,.workspace>p{max-width:78ch}.workspace .drop{border:1px dashed #657fa7;border-radius:20px;min-height:190px;padding:30px 20px;background:linear-gradient(135deg,#102038cc,#111827aa);transition:border-color 180ms,background-color 180ms,transform 180ms}
.workspace .drop.drag{border-color:#adbcff;background:#192d4a;transform:scale(1.005)}
.workspace :is(.panel,.progress-card){border-radius:18px;padding:clamp(20px,3vw,30px);border:1px solid #344966;background:#0b1729}
.workspace .files{margin-block:18px 26px;display:grid;gap:10px}
.workspace .file{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#101e33;border:1px solid #344966;border-radius:12px;min-width:0}
.file-name{flex:1;min-width:0;overflow-wrap:anywhere}.file-actions{display:flex;gap:8px;flex-shrink:0}
.file-actions button{width:44px;height:44px;min-width:44px;border:1px solid #52698a;border-radius:10px;background:#172740;color:#f0f5ff;cursor:pointer}
.file-actions button:disabled{opacity:.4;cursor:default}.file.drag-target{border-color:#aec3ff;background:#1e3351}
.workspace label{display:block;color:#d8e6ff;font-weight:600;margin-bottom:8px}
.workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){max-width:100%;min-height:48px;border:1px solid #5b7294;border-radius:10px;background:#0a1425;color:#e5edff;padding:12px;font:inherit}
.workspace select[multiple]{min-height:148px}.workspace input[type=checkbox]{accent-color:#8798ff;width:18px;height:18px}
.workspace details{margin-block:16px}.workspace summary{cursor:pointer;padding:12px 0;color:#b8ccf0;min-height:44px}
.workspace :is(.primary,.text-button){min-height:44px}.workspace .run{min-height:54px;letter-spacing:.01em}
.workspace .error{border-radius:12px;padding:16px 20px;overflow-wrap:anywhere;scroll-margin-top:100px}
.workspace progress{width:100%;height:8px;border-radius:99px;overflow:hidden;accent-color:#9a8bff}.workspace progress::-webkit-progress-bar{background:#22334b}.workspace progress::-webkit-progress-value{background:linear-gradient(90deg,#56afff,#a48bff);transition:width 200ms linear}
.result:not([hidden]){border-color:#578b81}.completion-mark{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid #72c7a9;background:#12392e;color:#a8f4d4;border-radius:50%;margin-bottom:12px;font-size:23px}
.result-actions{display:flex;gap:12px;flex-wrap:wrap}.result-actions a{overflow-wrap:anywhere;max-width:100%}
.motion-control{border:1px solid #415777;background:#101d32;color:#e0eaff;border-radius:9px;padding:8px 11px;min-height:44px;font-size:12px;cursor:pointer}
.clear-tool-search{display:block;margin:12px auto;padding:8px 16px;min-height:44px;border:1px solid #657ba1;background:#14243d;color:#e5edff;border-radius:9px}
@keyframes pdfu-enter{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){body:not(.motion-paused) .hero-copy{animation:pdfu-enter 360ms var(--pdfu-ease) both}body:not(.motion-paused) .result:not([hidden]) .completion-mark{animation:pdfu-enter 240ms var(--pdfu-ease) both}}
@media(max-width:768px){.workspace{padding-inline:16px;padding-top:24px}.workspace .file{flex-wrap:wrap}.file .note{font-size:12px}.file-actions{margin-left:auto}.hero-shortcuts{gap:8px}.motion-control{margin-left:6px}.workspace .drop{min-height:170px}}
@media(max-width:390px){.file-actions{width:100%;justify-content:flex-end}.workspace .file{gap:8px}.nav-end>.primary{display:none}}
body.motion-paused *,html.motion-paused *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
