.converter-tabs{max-width:1430px;margin:26px auto 0;padding:0 3vw;display:flex;gap:6px}
.converter-tabs a{display:flex;align-items:center;gap:9px;padding:11px 19px;border:1px solid transparent;border-radius:9px;color:#737a71;text-decoration:none;font-size:14px;font-weight:600}
.converter-tabs a svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.converter-tabs a:hover{background:#e9e9df}.converter-tabs a.active{background:#fffdf7;border-color:#d7dccf;color:#1c6b52;box-shadow:0 2px 6px #17201d09}
[hidden]{display:none!important}
.pdf-intro{padding:38px 0 34px}.pdf-intro h1{font-size:clamp(36px,4vw,58px)}.pdf-intro p{max-width:700px;font-size:16px}.pdf-eyebrow{display:block;color:var(--green);font-size:11px;letter-spacing:.17em;font-weight:700;margin-bottom:14px}
.pdf-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:650px;background:#fffdf7;border:1px solid #d0d5c8;border-radius:16px;overflow:hidden;box-shadow:0 12px 35px #17201d0b}
.pdf-controls{padding:20px;background:#f8f8f2;border-right:1px solid #dce1d5;min-width:0}
.pdf-drop-zone{border:1px dashed #b3c2af;border-radius:10px;padding:28px 10px;text-align:center;background:#fffef9;cursor:pointer;transition:background .2s,border-color .2s}.pdf-drop-zone.over{background:#e8f3e8;border-color:#1c6b52}.pdf-drop-zone[aria-disabled=true]{opacity:.6;cursor:wait}
.pdf-drop-zone input{display:none}.pdf-drop-zone svg{display:block;width:38px;height:38px;fill:none;stroke:var(--green);stroke-width:1.5;margin:0 auto 16px}.pdf-drop-zone strong,.pdf-drop-zone span,.pdf-drop-zone small{display:block}.pdf-drop-zone strong{font-size:14px}.pdf-drop-zone span{font-size:12px;color:var(--muted);margin-top:5px}.pdf-drop-zone small{font-size:10px;color:#92998d;margin-top:13px}
.pdf-file-info{padding:15px 2px 0}.pdf-file-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.pdf-file-info span{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.pdf-options{border:0;border-top:1px solid #dde3d5;padding:18px 0 0;margin:24px 0 0}.pdf-options legend{font-size:13px;font-weight:650;padding-right:10px}.pdf-options label,.pdf-password label{display:block;font-size:12px;font-weight:550;margin:16px 0 7px;color:#566351}
.pdf-options input:not([type=range]),.pdf-options select,.pdf-password input{width:100%;height:40px;padding:0 10px;border:1px solid #d2dace;border-radius:7px;background:#fffefb;color:var(--ink);font:inherit;font-size:12px}
.pdf-options input[type=range]{width:100%;accent-color:var(--green)}.pdf-options .help{font-size:11px;line-height:1.7}.pdf-options:disabled{opacity:.55}
.pdf-actions{display:grid;gap:9px;margin-top:22px}.pdf-actions button,.pdf-password button{border-radius:8px;padding:12px 14px;font-size:13px;font-weight:600}.pdf-primary{border:1px solid var(--green);background:var(--green);color:white;display:flex;justify-content:space-between}.pdf-secondary{border:1px solid #ccd5c6;background:transparent;color:#566351}.pdf-password button{margin-top:10px;border:0;background:var(--green);color:#fff}
.pdf-output{min-width:0;padding:25px 28px}.pdf-output-head{display:flex;align-items:start;justify-content:space-between;gap:15px}.pdf-output-head h2{margin:0;font-size:16px}.pdf-output-head p{font-size:12px;color:var(--muted);margin:7px 0 20px;line-height:1.7}.pdf-count{white-space:nowrap;border:1px solid #dbe2d4;background:#f2f5ed;padding:5px 10px;border-radius:20px;color:var(--green);font-size:12px}
.pdf-empty{min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#9da796}.pdf-empty-icon{padding:12px 10px;border:1px solid #dce2d5;border-radius:8px;background:#f5f7f0;font-size:13px;font-weight:650}.pdf-empty h3{font-size:24px;line-height:1.5;color:#67755f;font-weight:600;margin-bottom:9px}.pdf-empty p{font-size:13px;line-height:1.8}
.pdf-progress{display:block;width:100%;height:5px;accent-color:var(--green);margin:0 0 18px}.pdf-error,.pdf-notice{padding:12px 15px;border-radius:8px;font-size:13px;line-height:1.6}.pdf-error{background:#fff0ea;color:#a1422a}.pdf-notice{background:#f4f0da;color:#756223}
.pdf-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.pdf-result{min-width:0;border:1px solid #e0e4d9;border-radius:10px;overflow:hidden;background:#fff}.pdf-page-preview{padding:15px;background:#eceee7;height:215px;display:grid;place-items:center}.pdf-page-preview img{max-height:185px;max-width:100%;box-shadow:0 3px 9px #17201d24;object-fit:contain}.pdf-result-info{padding:12px 13px}.pdf-result-info strong,.pdf-result-info span{display:block}.pdf-result-info strong{font-size:13px}.pdf-result-info span{font-size:10px;color:var(--muted);margin-top:4px}.pdf-result button{width:100%;display:flex;justify-content:space-between;padding:10px 13px;border:0;border-top:1px solid #edf0e7;color:var(--green);background:#fcfdf9;font-size:12px;font-weight:600}
.pdf-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:65px 15px 85px}.pdf-guide span{font-size:12px;color:var(--green)}.pdf-guide h2{font-size:17px;margin:10px 0}.pdf-guide p{font-size:13px;line-height:1.8;color:var(--muted)}
@media(max-width:900px){.pdf-workspace{grid-template-columns:280px minmax(0,1fr)}.pdf-output{padding:20px}.pdf-results{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}
@media(max-width:720px){.converter-tabs{margin-top:16px;padding:0 3vw}.converter-tabs a{flex:1;justify-content:center;padding:10px 12px;font-size:13px}.pdf-intro{padding:28px 0 22px}.pdf-intro h1{font-size:36px}.pdf-workspace{display:block}.pdf-controls{border-right:0;border-bottom:1px solid #dce1d5}.pdf-empty{min-height:300px}.pdf-guide{grid-template-columns:1fr;gap:20px;padding:40px 8px 55px}.pdf-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pdf-page-preview{height:180px;padding:10px}.pdf-page-preview img{max-height:160px}}
