:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}body.converter-page{background:var(--wash);color:var(--ink);font-family:"DM Sans",sans-serif}body.converter-page>.navbar,body.converter-page>.site-footer,body.converter-page>nav.navbar,body.converter-page>.floating-contact{display:none!important}.converter-page a{color:inherit}.webp-nav{height:68px;max-width:1280px;margin:18px auto 0;padding:0 26px;border:1px solid #ebebeb;border-radius:16px;background:#fff;box-shadow:0 8px 25px #0000000f;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:10}.webp-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;text-decoration:none}.webp-brand-mark{display:inline-flex;width:28px;height:28px;border-radius:7px;background:#111;color:#fff;align-items:center;justify-content:center;font-weight:700;font-size:18px}.webp-nav nav{display:flex;gap:32px;margin-left:70px}.webp-nav nav a{font-size:13px;font-weight:600;text-decoration:none}.webp-nav-actions{display:flex;align-items:center;gap:20px}.theme-toggle{border:0;background:transparent;font-size:22px;cursor:pointer}.webp-nav-cta,.converter-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:8px;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s}.webp-nav-cta{background:#0b0b0b;color:#fff!important;padding:13px 19px;font-size:12px}.webp-menu{display:none;background:none;border:0}.converter{max-width:1150px;margin:0 auto;padding:0 24px 80px}.converter-hero{text-align:center;padding:51px 0 27px;position:relative}.converter-eyebrow,.section-kicker{font-size:10px;letter-spacing:.02em;font-weight:700}.converter-eyebrow{display:inline-flex;gap:11px;padding:7px 13px;border-radius:20px;background:#f0f0f0;margin:0 0 16px}.converter-eyebrow i{font-style:normal;color:#858585}.converter-hero h1{font-size:42px;line-height:1.1;letter-spacing:-1.8px;margin:0 0 15px;font-weight:700}.hero-copy{font-size:15px;line-height:1.55;color:#5f5f5f;margin:0}.hero-benefits{display:flex;justify-content:center;gap:42px;margin-top:25px;color:#303030}.hero-benefits span{display:flex;gap:8px;align-items:center;font-size:12px}.hero-deco{position:absolute;color:#e2e2e2;font-size:92px;opacity:.3;pointer-events:none}.hero-files{left:-20px;top:90px}.hero-files span{font-size:58px;position:absolute;left:36px;top:32px}.hero-files b{position:absolute;font-size:13px;left:70px;top:75px}.hero-speed{right:-3px;top:89px;font-size:100px;transform:rotate(-22deg)}.converter-tool{background:#fff;border:1px solid #ebebeb;border-radius:17px;box-shadow:0 14px 30px #00000014;padding:17px 17px 0}.converter-drop-zone{border:2px dashed #dedede;border-radius:14px;min-height:292px;text-align:center;padding:30px 20px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:border-color .2s,background .2s}.converter-drop-zone.drag-over{border-color:#111;background:#fafafa}.upload-icon{width:50px;height:50px;margin-bottom:12px}.converter-drop-zone h2{font-size:18px;margin:0 0 7px}.drop-subcopy{color:#676767;margin:0 0 13px;font-size:14px}.format-note{font-size:11px;color:#727272;margin:0 0 23px}.drop-actions{display:flex;gap:10px;align-items:center}.converter-limit{border:1px solid #e1e1e1;border-radius:8px;padding:12px 18px;font-size:11px;font-weight:700}.converter-btn{border:1px solid #111;min-height:42px;padding:0 18px;font-size:12px}.converter-btn-primary{background:#0b0b0b;color:#fff}.converter-btn-outline{background:#fff;color:#111;border-color:#d5d5d5}.converter-btn:hover,.webp-nav-cta:hover{transform:translateY(-2px);box-shadow:0 6px 14px #0000001f}#file-input{position:absolute;width:1px;height:1px;opacity:0}.security-note{font-size:11px;color:#656565;margin:25px 0 0}.converter-feature-row{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 27px 25px}.converter-feature-row>div{display:flex;gap:15px;align-items:flex-start;padding:0 27px;border-right:1px solid #ededed}.converter-feature-row>div:first-child{padding-left:0}.converter-feature-row>div:last-child{border-right:0;padding-right:0}.feature-icon{width:44px;height:44px;border-radius:11px;background:#f6f6f6;display:grid;place-items:center;font-size:24px;flex:none}.converter-feature-row strong{font-size:13px}.converter-feature-row p{color:#6c6c6c;font-size:10px;line-height:1.55;margin:7px 0 0}.converter-controls,.converter-progress,#zip-bar{display:none}.info-section{text-align:center;padding:66px 0 0}.section-kicker{margin:0 0 10px;color:#555}.info-section h2{font-size:24px;letter-spacing:-.5px;margin:0 0 11px}.section-intro{font-size:12px;line-height:1.75;color:#5d5d5d;margin:0}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:26px}.why-grid article,.steps-grid article{background:#fff;border:1px solid #e9e9e9;border-radius:12px;box-shadow:0 4px 11px #0000000b}.why-grid article{padding:22px 10px 20px}.why-grid article>span{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#f5f5f5;margin:0 auto 12px;font-size:21px}.why-grid h3,.steps-grid h3{font-size:12px;margin:0 0 8px}.why-grid p,.steps-grid p{font-size:10px;line-height:1.45;color:#777;margin:0}.how-section{padding-top:52px}.steps-grid{display:grid;grid-template-columns:1fr 45px 1fr 45px 1fr 45px 1fr;align-items:center;margin-top:27px}.steps-grid article{height:120px;padding:14px 9px;position:relative}.steps-grid article>b{position:absolute;top:-17px;left:50%;transform:translateX(-50%);width:34px;height:34px;display:grid;place-items:center;background:#f2f2f2;border-radius:50%;font-size:12px}.steps-grid article>span{display:block;font-size:26px;margin:8px 0}.steps-grid>i{font-style:normal;font-size:27px;color:#858585}.faq-section{padding-top:58px}.faq-list{margin-top:24px;text-align:left}.faq-list details{background:#fff;border:1px solid #e7e7e7;border-radius:9px;margin-bottom:8px;box-shadow:0 2px 7px #00000009;padding:0 16px}.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:50px;font-size:12px;font-weight:700}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{font-size:18px;transition:transform .2s}.faq-list details[open] summary span{transform:rotate(180deg)}.faq-list details p{font-size:11px;line-height:1.6;color:#666;margin:0;padding:0 20px 16px 0}.converter-cta{margin-top:34px;background:#f4f4f4;border-radius:13px;min-height:88px;padding:18px 39px;display:flex;align-items:center;gap:25px}.cta-gauge{font-size:82px;color:#d8d8d8;line-height:1;transform:rotate(-18deg)}.converter-cta h2{font-size:15px;margin:0 0 7px}.converter-cta p{font-size:11px;color:#696969;margin:0}.converter-cta .converter-btn{margin-left:auto}.webp-footer{max-width:1150px;margin:0 auto;padding:0 24px 20px;background:var(--wash)}.footer-grid{border-top:1px solid #e5e5e5;padding:31px 0 24px;display:grid;grid-template-columns:1.55fr 1fr 1fr 1fr;gap:65px}.footer-grid>div{display:flex;flex-direction:column;gap:11px}.footer-brand>a{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:15px}.footer-brand>p{font-size:11px;line-height:1.65;color:#777;max-width:220px;margin:6px 0}.footer-grid h3{font-size:12px;margin:0 0 5px}.footer-grid>div:not(.footer-brand)>a{font-size:11px;color:#555;text-decoration:none}.footer-socials{display:flex;gap:8px}.footer-socials a{width:25px;height:25px;border-radius:50%;background:#f0f0f0;display:grid;place-items:center;text-decoration:none;font-size:11px;font-weight:700}.footer-bottom{border-top:1px solid #e5e5e5;text-align:center;padding-top:13px;color:#777;font-size:10px}@media(max-width:800px){.webp-nav{margin:10px 12px 0;height:60px;padding:0 17px}.webp-nav nav,.webp-nav-actions{display:none}.webp-menu{display:flex;flex-direction:column;gap:4px;padding:8px}.webp-menu span{display:block;width:21px;height:2px;background:#111}.converter{padding-inline:16px}.converter-hero{padding-top:40px}.converter-hero h1{font-size:36px}.hero-deco{display:none}.hero-benefits{gap:15px;flex-wrap:wrap}.converter-feature-row{padding-inline:10px}.converter-feature-row>div{padding-inline:12px}.why-grid{grid-template-columns:repeat(2,1fr)}.steps-grid{grid-template-columns:1fr 1fr;gap:24px 15px}.steps-grid>i{display:none}.converter-cta{padding:20px;gap:12px}.cta-gauge{font-size:58px}.footer-grid{gap:30px}}@media(max-width:560px){.webp-brand{font-size:16px}.converter-hero h1{font-size:31px;letter-spacing:-1px}.hero-copy{font-size:13px}.desktop-only{display:none}.drop-actions{flex-direction:column}.converter-limit,.drop-actions .converter-btn{width:220px}.converter-feature-row{grid-template-columns:1fr;gap:20px;padding-block:25px}.converter-feature-row>div,.converter-feature-row>div:first-child,.converter-feature-row>div:last-child{border-right:0;border-bottom:1px solid #ededed;padding:0 0 18px}.converter-feature-row>div:last-child{border-bottom:0;padding-bottom:0}.why-grid{grid-template-columns:1fr}.steps-grid{grid-template-columns:1fr}.steps-grid article{height:auto;min-height:112px}.converter-cta{flex-direction:column;align-items:flex-start}.converter-cta .converter-btn{margin:5px 0 0}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 18px}.footer-brand{grid-column:1/-1}.footer-grid>div:not(.footer-brand)>a{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:800px){.webp-nav nav.mobile-open{display:flex;position:absolute;top:64px;left:0;right:0;margin:0;padding:18px;flex-direction:column;gap:16px;background:#fff;border:1px solid #e7e7e7;border-radius:12px;box-shadow:0 12px 30px #0002}}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.compat-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}body.converter-page.converter-page>nav.navbar{display:flex!important}body.converter-page.converter-page>footer.site-footer{display:block!important}body.converter-page.converter-page>.floating-contact-wrap{display:flex!important;flex-direction:column!important;gap:15px!important}.converter-page .webp-nav,.converter-page .webp-footer{display:none!important}body.converter-page .converter{width:90%!important;max-width:1200px!important;padding:110px 0 80px!important}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.compat-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.converter-page .floating-contact-wrap{display:flex!important;flex-direction:column!important;gap:15px!important}.webp-nav nav.mobile-open{display:flex!important;position:absolute;top:64px;left:0;right:0;margin:0;padding:18px;flex-direction:column;gap:16px;background:#fff;border:1px solid #e7e7e7;border-radius:12px;box-shadow:0 12px 30px #0002}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.converter-page .converter-cta .converter-btn-primary{color:#fff!important;background:#0b0b0b!important;min-width:177px;white-space:nowrap}.converter-page .site-footer{background:#050505!important;padding:80px 5vw 40px!important}.converter-page .site-footer .footer-top{display:grid!important;grid-template-columns:2fr 1fr 1fr 1fr!important;gap:3rem!important;max-width:1200px!important;margin:0 auto 4rem!important}.converter-page .site-footer .footer-brand p{color:#fff!important;font-size:.92rem!important;line-height:1.7!important;margin-top:1rem!important;max-width:280px!important}.converter-page .site-footer .footer-logo-name{font-family:'Bebas Neue',sans-serif!important;font-size:1.35rem!important;letter-spacing:.08em!important;color:#fff!important}.converter-page .site-footer .footer-col h4{font-size:.7rem!important;font-weight:700!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:#fff!important;margin-bottom:1.2rem!important}.converter-page .site-footer .footer-col ul{list-style:none!important;display:flex!important;flex-direction:column!important;gap:.65rem!important}.converter-page .site-footer .footer-col ul li a{color:#fff!important;text-decoration:none!important;font-size:.92rem!important}.converter-page .site-footer .footer-socials{display:flex!important;gap:.75rem!important}.converter-page .site-footer .footer-socials .social-btn{width:36px!important;height:36px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:50%!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important}.converter-page .site-footer .footer-socials .social-btn svg{width:15px!important;height:15px!important;stroke:#fff!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.converter-page .site-footer .footer-bottom{max-width:1200px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-top:1px solid rgba(255,255,255,.05)!important;padding-top:2rem!important}.converter-page .site-footer .footer-copy{color:#fff!important;font-size:.84rem!important}.converter-page .converter-drop-zone h2{font-size:20px}.converter-page .converter-drop-zone .drop-subcopy{font-size:15px}.converter-page .converter-drop-zone .format-note,.converter-page .security-note{font-size:12px}.converter-page .converter-feature-row strong{font-size:15px}.converter-page .converter-feature-row p{font-size:11px}.converter-page .why-grid h3,.converter-page .steps-grid h3{font-size:13px}.converter-page .why-grid p,.converter-page .steps-grid p{font-size:11px}.converter-page .faq-list summary{font-size:13px}.converter-page .faq-list details p{font-size:12px}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.converter-page .converter-cta .converter-btn-primary{color:#fff!important;background:#0b0b0b!important;min-width:177px;white-space:nowrap}.converter-page .site-footer{background:#050505!important;padding:80px 5vw 40px!important}.converter-page .site-footer .footer-top{display:grid!important;grid-template-columns:2fr 1fr 1fr 1fr!important;gap:3rem!important;max-width:1200px!important;margin:0 auto 4rem!important}.converter-page .site-footer .footer-brand p{color:#fff!important;font-size:.92rem!important;line-height:1.7!important;margin-top:1rem!important;max-width:280px!important}.converter-page .site-footer .footer-logo-name{font-family:'Bebas Neue',sans-serif!important;font-size:1.35rem!important;letter-spacing:.08em!important;color:#fff!important}.converter-page .site-footer .footer-col h4{font-size:.7rem!important;font-weight:700!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:#fff!important;margin-bottom:1.2rem!important}.converter-page .site-footer .footer-col ul{list-style:none!important;display:flex!important;flex-direction:column!important;gap:.65rem!important}.converter-page .site-footer .footer-col ul li a{color:#fff!important;text-decoration:none!important;font-size:.92rem!important}.converter-page .site-footer .footer-socials{display:flex!important;gap:.75rem!important}.converter-page .site-footer .footer-socials .social-btn{width:36px!important;height:36px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:50%!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important}.converter-page .site-footer .footer-socials .social-btn svg{width:15px!important;height:15px!important;stroke:#fff!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.converter-page .site-footer .footer-bottom{max-width:1200px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-top:1px solid rgba(255,255,255,.05)!important;padding-top:2rem!important}.converter-page .site-footer .footer-copy{color:#fff!important;font-size:.84rem!important}.converter-page .converter-drop-zone h2{font-size:20px}.converter-page .converter-drop-zone .drop-subcopy{font-size:15px}.converter-page .converter-drop-zone .format-note,.converter-page .security-note{font-size:12px}.converter-page .converter-feature-row strong{font-size:15px}.converter-page .converter-feature-row p{font-size:11px}.converter-page .why-grid h3,.converter-page .steps-grid h3{font-size:13px}.converter-page .why-grid p,.converter-page .steps-grid p{font-size:11px}.converter-page .faq-list summary{font-size:13px}.converter-page .faq-list details p{font-size:12px}@media(max-width:1024px){.converter-page .site-footer .footer-top{grid-template-columns:1fr 1fr!important;gap:2rem!important}}@media(max-width:768px){.converter-page .site-footer{padding:60px 5vw 36px!important}.converter-page .site-footer .footer-bottom{display:block!important}}@media(max-width:480px){.converter-page .site-footer .footer-top{grid-template-columns:1fr!important}}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.converter-page .floating-contact-wrap{display:flex!important;flex-direction:column!important;gap:15px!important}.converter-page .floating-btn.btn-call{color:#fff!important}.converter-page .floating-btn.btn-whatsapp{color:#fff!important}.converter-page .steps-grid article{height:154px!important;min-height:154px;padding-top:20px}.converter-page .steps-grid article>span{font-size:30px;margin:12px 0}.converter-page .steps-grid h3{font-size:14px;margin-bottom:9px}.converter-page .steps-grid p{font-size:12px;line-height:1.5}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.converter-page .converter h1,.converter-page .converter h2{font-family:'Bebas Neue',sans-serif!important;font-weight:700!important;letter-spacing:.02em!important}.converter-page .converter h1{font-size:64px!important;line-height:.98!important}.converter-page .converter h2{font-size:48px!important;line-height:1.05!important}.converter-page .converter p{font-family:'DM Sans',sans-serif}.converter-page .hero-copy{font-size:15.2px!important;font-weight:300!important;line-height:1.65!important}.converter-page .section-intro{font-size:15.2px!important;font-weight:300!important;line-height:1.65!important}.converter-page .converter-eyebrow,.converter-page .section-kicker{font-family:'DM Sans',sans-serif!important;font-size:11px!important;letter-spacing:.1em!important}.converter-page .why-grid article{min-height:180px;padding:28px 14px 24px}.converter-page .why-grid h3{font-size:16px!important;margin-bottom:10px}.converter-page .why-grid p{font-size:13px!important;line-height:1.55!important}.converter-page .steps-grid article{height:auto!important;min-height:170px!important;padding:25px 14px 18px}.converter-page .steps-grid h3{font-size:16px!important;margin-bottom:10px}.converter-page .steps-grid p{font-size:13px!important;line-height:1.55!important}.converter-page .faq-list summary{min-height:58px;font-size:15px!important}.converter-page .faq-list details p{font-size:13px!important;line-height:1.65!important}.converter-page .converter-feature-row strong{font-size:16px!important}.converter-page .converter-feature-row p{font-size:12px!important;line-height:1.6!important}@media(max-width:768px){.converter-page .converter h1{font-size:52px!important}.converter-page .converter h2{font-size:40px!important}.converter-page .why-grid article{min-height:170px}.converter-page .steps-grid article{min-height:160px!important}}@media(max-width:480px){.converter-page .converter h1{font-size:42px!important}.converter-page .converter h2{font-size:34px!important}}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}@media(max-width:768px){body.converter-page.converter-page>.floating-contact-wrap{gap:12px!important}}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.converter-page .converter-eyebrow{font-size:15px!important;line-height:1.4!important;padding:10px 18px!important;gap:14px!important}.converter-page .hero-copy{font-size:19px!important;line-height:1.6!important}.converter-page .hero-benefits{gap:52px!important;margin-top:30px!important}.converter-page .hero-benefits span{font-size:15px!important;gap:10px!important}.converter-page .hero-benefits span:first-letter{font-size:26px!important}.converter-page .faq-list details[open] summary span{transform:rotate(180deg)}.converter-page .faq-list details p{font-size:16px!important;line-height:1.65!important;padding:0 28px 20px 0!important}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}.converter-page .hero-deco{object-fit:contain;object-position:center;filter:grayscale(1);font-size:0}.converter-page .hero-files{left:-88px;top:108px;width:220px;height:155px;opacity:.24}.converter-page .hero-speed{right:-82px;top:100px;width:245px;height:155px;opacity:.22;transform:none}.converter-page .cta-gauge{width:180px;height:96px;object-fit:contain;object-position:left center;opacity:.5;transform:none;flex:none}.converter-page .faq-list details[open] summary span{transform:none}
:root{--ink:#0b0b0b;--muted:#626262;--line:#e4e4e4;--paper:#fff;--wash:#fafafa}body.converter-page{overflow-x:hidden}.converter-page .hero-files{opacity:.32}.converter-page .hero-speed{opacity:.3}

/* ── Post-upload tool UI ──────────────────────────────────────
   Controls, progress, result cards and the ZIP bar. js/converter.js
   reveals #controls, #progress-wrap and #zip-bar by setting an inline
   display, so nothing below may set `display` on those three. */

/* Controls */
/* The revealed blocks all align to the drop zone's edges, i.e. they
   sit flush inside .converter-tool's own 17px padding. */
.converter-page .converter-controls {
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 22px;
  border-top: 1px solid #ededed;
}
.converter-page #batch-message {
  margin: 0;
  min-height: 17px;
  font-size: 12px;
  color: var(--muted);
}

/* Control row — labels and inputs share one baseline */
.converter-page .controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
}
.converter-page .ctrl-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
/* Author display beats the UA [hidden] rule, so restore it explicitly. */
.converter-page .ctrl-group[hidden] { display: none; }
.converter-page .ctrl-label {
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Every control in .controls-row is 44px tall. The row is bottom-aligned,
   so equal heights are what keep the .ctrl-label texts on one line. */
.converter-page .target-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s;
}
.converter-page .target-wrap:focus-within { border-color: #111; }
.converter-page #target-kb {
  width: 78px;
  border: 0;
  background: transparent;
  padding: 11px 4px 11px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}
.converter-page #target-kb::-webkit-inner-spin-button { -webkit-appearance: none; }
.converter-page .target-wrap span {
  padding: 11px 14px 11px 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.converter-page .ctrl-select {
  min-height: 44px;
  border: 1.5px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  padding: 0 34px 0 12px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23626262' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .15s;
}
.converter-page .ctrl-select:hover, .converter-page .ctrl-select:focus {
  border-color: #111;
  outline: none;
}
.converter-page .action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.converter-page .controls-row .converter-btn { min-height: 44px; }
.converter-page .info-bar {
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.55;
}
.converter-page .info-bar.green { background: #f1f8f2; border: 1px solid #d6e9d9; color: #2f6b3a; }

/* Progress */
/* .converter-tool has no bottom padding, so each revealed block carries
   its own trailing space and the card closes correctly whichever is last. */
.converter-page .converter-progress { margin: 0 0 22px; }
.converter-page .progress-bar-bg {
  height: 6px;
  border-radius: 99px;
  background: #ededed;
  overflow: hidden;
}
.converter-page #progress-bar {
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: #0b0b0b;
  transition: width .25s;
}
.converter-page #progress-label {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Result cards — the grid is what keeps previews aligned */
.converter-page .converter-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.converter-page .converter-image-grid:not(:empty) { margin: 0 0 22px; }
.converter-page .img-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 11px #0000000b;
  overflow: hidden;
}
.converter-page .img-card.over-target { border-color: #efd7a8; }
.converter-page .img-preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f4f4;
}
.converter-page .img-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 11px 13px;
}
.converter-page .img-name {
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.converter-page .img-status {
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
}
.converter-page .status-pending { background: #f0f0f0; color: #6e6e6e; }
.converter-page .status-done    { background: #e8f5ea; color: #2f6b3a; }
.converter-page .status-warn    { background: #fbf1de; color: #8a6420; }
.converter-page .status-error   { background: #fbe9e9; color: #a33; }
.converter-page .img-sizes { font-size: 11px; color: var(--muted); }
.converter-page .img-sizes .after { font-weight: 700; color: #2f6b3a; }
.converter-page .img-sizes .over  { font-weight: 700; color: #8a6420; }
.converter-page .img-dim { font-size: 10px; line-height: 1.45; color: #8a8a8a; }
.converter-page .img-actions { padding: 0 13px 13px; }
.converter-page .btn-dl { width: 100%; min-height: 38px; }
.converter-page .btn-dl:hover { transform: none; box-shadow: none; }

/* ZIP bar */
.converter-page #zip-bar {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  background: #fafafa;
  padding: 14px 18px;
}
.converter-page #zip-label { font-size: 13px; font-weight: 700; }

@media (max-width: 560px) {
  .converter-page .controls-row { flex-direction: column; align-items: stretch; }
  .converter-page .action-btns { margin-left: 0; }
  .converter-page .action-btns .converter-btn { flex: 1; }
  .converter-page .converter-image-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
