.afcp15,.afcp15 *{box-sizing:border-box}
.afcp15{--g:#01bb67;--g2:#009f58;--ink:#101713;--muted:#7a847f;--line:#e2e8e4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);padding:46px 14px 58px;background:#fff}
.afcp15 button,.afcp15 input,.afcp15 select{font:inherit}
.afcp15-shell{width:min(1080px,100%);margin:auto}
.afcp15-heading{text-align:center;margin:0 0 30px}
.afcp15-kicker{display:flex;align-items:center;justify-content:center;gap:8px;color:#008f50;font-size:10px;font-weight:950;letter-spacing:.15em}
.afcp15-kicker i{display:block;width:22px;height:3px;border-radius:10px;background:var(--g)}
.afcp15-heading h2{margin:9px 0 6px!important;font-size:56px!important;line-height:1.02!important;letter-spacing:-.055em!important;font-weight:950!important;color:#111!important}
.afcp15-heading h2 span{color:var(--g)!important}
.afcp15-heading p{margin:0!important;color:#737e78!important;font-size:15px!important}
.afcp15-card{position:relative;background:#fff;border:1px solid #dfe5e1;border-radius:22px;box-shadow:0 22px 55px rgba(20,34,27,.09);overflow:visible}
.afcp15-limit{position:absolute;right:17px;top:14px;color:#9ba49f;font-size:9px;z-index:2}
.afcp15-upload{margin:20px;border:2px dashed #cad4ce;border-radius:17px;min-height:330px;background:linear-gradient(180deg,#fcfffd,#f7fcf9);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.18s;cursor:pointer}
.afcp15-upload.drag{border-color:var(--g);background:#effff6}
.afcp15-upload-icon{width:68px;height:68px;border-radius:17px;background:#e4fff0;color:#00a65c;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:900;margin-bottom:14px}
.afcp15-upload-title{font-size:21px;font-weight:900;color:#17221d}.afcp15-upload-or{font-size:13px;color:#9aa39f;margin:7px 0 10px}
.afcp15-addarea{position:relative}.afcp15-add{height:46px!important;min-width:150px!important;border:0!important;border-radius:11px!important;background:var(--g)!important;color:#fff!important;padding:0 17px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:13px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 9px 22px rgba(1,187,103,.2)!important}.afcp15-add:hover{background:#000!important}.afcp15-add b{font-size:17px;line-height:1}.afcp15-add span{opacity:.9}
.afcp15-source-menu{display:none;position:absolute;z-index:30;top:53px;left:50%;transform:translateX(-50%);width:245px;background:#fff;border:1px solid #dde5e0;border-radius:13px;padding:6px;box-shadow:0 18px 45px rgba(15,28,20,.17);text-align:left}.afcp15-source-menu.open{display:block}.afcp15-source-menu:before{content:"";position:absolute;top:-6px;left:50%;margin-left:-6px;width:11px;height:11px;background:#fff;border-left:1px solid #dde5e0;border-top:1px solid #dde5e0;transform:rotate(45deg)}
.afcp15-source-menu button{width:100%!important;min-height:52px!important;border:0!important;background:#fff!important;border-radius:9px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:7px 9px!important;text-align:left!important;cursor:pointer!important}.afcp15-source-menu button:hover{background:#effff6!important}.afcp15-source-menu strong{width:31px;height:31px;border-radius:8px;background:#e7fff1;color:#009b57;display:flex;align-items:center;justify-content:center}.afcp15-source-menu b{display:block;font-size:11px;color:#26322c}.afcp15-source-menu small{display:block;margin-top:2px;color:#9aa39f;font-size:9px}
.afcp15-upload-note{margin-top:14px;font-size:11px;color:#9aa39f}
.afcp15-empty{min-height:88px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8e9893;border-top:1px solid #edf1ee}.afcp15-empty>span{width:30px;height:30px;border-radius:9px;background:#f1f4f2;display:flex;align-items:center;justify-content:center;font-size:15px}.afcp15-empty strong{margin-top:6px;font-size:10px;color:#59655f}.afcp15-empty small{margin-top:3px;font-size:9px}
.afcp15-converter{margin:20px;border:1px solid #dce4df;border-radius:15px;background:#fff;overflow:visible}.afcp15-toolbar{height:51px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eeeb;padding:0 10px}.afcp15-more{height:40px!important;min-width:150px!important;border:1px solid #dce4df!important;background:#fff!important;border-radius:10px!important;padding:0 15px!important;color:#4d5953!important;font-size:12px!important;font-weight:900!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;cursor:pointer!important}.afcp15-more:hover{border-color:var(--g)!important;color:var(--g)!important}.afcp15-toolbar-title{font-size:12px;font-weight:900;color:#8b9690}.afcp15-reset,.afcp15-x{border:0!important;background:transparent!important;color:#7b8780!important;cursor:pointer!important;font-size:20px!important;line-height:1!important}.afcp15-reset:hover,.afcp15-x:hover{color:#000!important}
.afcp15-fileline{display:grid;grid-template-columns:minmax(0,1fr) 235px 40px 34px;gap:11px;align-items:center;padding:14px 13px;border-bottom:1px solid #edf1ee}.afcp15-fileinfo{display:flex;align-items:center;gap:10px;min-width:0}.afcp15-fileicon,.afcp15-thumb{width:43px;height:43px;flex:0 0 43px;border-radius:10px;background:#eafff3;color:#009d57;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:950}.afcp15-fileinfo strong,.afcp15-qname strong{display:block;font-size:13px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.afcp15-fileinfo small,.afcp15-qname small{display:block;margin-top:5px;font-size:11px;color:#98a19d}.afcp15-output-wrap,.afcp15-qoutput{position:relative;display:flex;align-items:center;gap:6px}.afcp15-output-wrap label,.afcp15-qoutput label{font-size:9px;color:#8c9691}.afcp15-output{height:40px!important;min-width:84px!important;border:1px solid #d9e2dc!important;background:#fff!important;border-radius:8px!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;color:#303c35!important;font-size:12px!important;font-weight:850!important;cursor:pointer!important}.afcp15-output:hover{border-color:var(--g)!important}.afcp15-gear{width:38px!important;height:38px!important;border:0!important;background:#fff!important;color:#76817b!important;font-size:15px!important;cursor:pointer!important}.afcp15-gear:hover{color:#000!important}.afcp15-x{width:34px!important;height:38px!important;font-size:22px!important}
.afcp15-added{height:33px;display:flex;align-items:center;padding:0 14px;font-size:9px;color:#7d8982;background:#fafcfb;border-bottom:1px solid #edf1ee}.afcp15-added b{margin:0 3px;color:#111}
.afcp15-queue{display:grid;gap:7px;padding:9px 12px}.afcp15-qrow{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 235px 38px 34px;gap:9px;align-items:center;min-height:72px;padding:8px;border:1px solid #e2e8e4;border-radius:10px;background:#fff}.afcp15-qname{min-width:0}.afcp15-qoutput{justify-content:flex-end}.afcp15-qoutput>.afcp15-output{min-width:84px!important}
.afcp15-format-pop{display:none;position:absolute;z-index:100;bottom:46px;top:auto;right:0;width:355px;border:1px solid #dce5df;border-radius:12px;background:#fff;box-shadow:0 22px 55px rgba(14,28,20,.18);overflow:hidden}.afcp15-format-pop.open{display:block}.afcp15-format-search{height:39px;margin:8px;border:1px solid #dfe6e2;border-radius:8px;display:flex;align-items:center;gap:6px;padding:0 9px;color:#8c9791;font-size:15px}.afcp15-format-search input{border:0!important;outline:0!important;width:100%;height:100%!important;font-size:12px!important;color:#27332d!important;background:transparent!important}.afcp15-format-body{display:grid;grid-template-columns:108px 1fr;border-top:1px solid #eef2ef;min-height:205px}.afcp15-cats{padding:8px;background:#fafcfb;border-right:1px solid #edf1ee}.afcp15-cats button{width:100%!important;border:0!important;background:transparent!important;border-radius:7px!important;text-align:left!important;padding:8px!important;color:#68746d!important;font-size:11px!important;cursor:pointer!important}.afcp15-cats button.active,.afcp15-cats button:hover{background:#eafff3!important;color:#008f50!important;font-weight:900!important}.afcp15-options{padding:10px;display:grid;grid-template-columns:repeat(3,1fr);align-content:start;gap:6px;max-height:205px;overflow:auto}.afcp15-option{height:35px!important;border:1px solid #e5eae7!important;background:#fff!important;border-radius:7px!important;color:#4e5953!important;font-size:9px!important;font-weight:850!important;cursor:pointer!important}.afcp15-option:hover{background:var(--g)!important;border-color:var(--g)!important;color:#fff!important}.afcp15-noformat{font-size:10px;color:#9aa39f;padding:12px}
.afcp15-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;padding:14px 18px 18px!important;border-top:1px solid #edf1ee!important}.afcp15-clear,.afcp15-convert{height:48px!important;border-radius:9px!important;padding:0 18px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important}.afcp15-clear{border:1px solid #dce3df!important;background:#fff!important;color:#68746d!important}.afcp15-clear:hover{border-color:#000!important;color:#000!important}.afcp15-convert{min-width:125px!important;border:0!important;background:var(--g)!important;color:#fff!important;box-shadow:0 8px 18px rgba(1,187,103,.17)!important}.afcp15-convert:hover{background:#000!important}.afcp15-clear:disabled,.afcp15-convert:disabled{opacity:.45!important;cursor:not-allowed!important}
.afcp15-status{text-align:center;min-height:19px;padding:0 18px 6px;font-size:11px;color:#68746d}.afcp15-results{display:grid;gap:7px;padding:0 18px 18px}.afcp15-result{min-height:54px;border:1px solid #d5eee0;background:#f5fff9;border-radius:9px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.afcp15-result.error{background:#fff8f8;border-color:#efd5d5}.afcp15-result strong{font-size:10px}.afcp15-result span{display:block;margin-top:2px;font-size:11px;color:#68746d}.afcp15-download{height:33px;padding:0 12px;border-radius:8px;background:var(--g);color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:9px;font-weight:900}.afcp15-download:hover{background:#000;color:#fff}
.afcp15-trust{display:flex;justify-content:center;gap:35px;margin-top:13px;font-size:9px;color:#89948e}.afcp15-modal{display:none;position:fixed;inset:0;z-index:999999;background:rgba(7,12,9,.5);align-items:center;justify-content:center;padding:16px}.afcp15-modal.show{display:flex}.afcp15-modalbox{position:relative;width:min(470px,100%);background:#fff;border-radius:16px;padding:23px;box-shadow:0 28px 70px rgba(0,0,0,.22)}.afcp15-modalbox h3{margin:0 0 5px!important;font-size:22px!important}.afcp15-modalbox p{margin:0 0 12px!important;color:#68746d!important;font-size:11px!important}.afcp15-url{width:100%!important;height:43px!important;border:1px solid #dce3df!important;border-radius:9px!important;padding:0 10px!important;margin:0 0 8px!important}.afcp15-full{width:100%!important}.afcp15-close{position:absolute;right:10px;top:7px;border:0;background:transparent;font-size:24px;color:#7b8780;cursor:pointer}.afcp15-urlstatus{font-size:11px;color:#68746d;margin-top:7px}
@media(max-width:720px){.afcp15{padding:28px 8px 40px}.afcp15-heading h2{font-size:36px!important}.afcp15-heading p{font-size:11px!important}.afcp15-upload{margin:12px;min-height:240px}.afcp15-fileline{grid-template-columns:minmax(0,1fr) 110px 28px 24px}.afcp15-fileinfo{grid-column:1/-1}.afcp15-output-wrap{grid-column:1/3}.afcp15-format-pop{right:auto;left:0;width:min(340px,calc(100vw - 40px))}.afcp15-qrow{grid-template-columns:40px minmax(0,1fr) 30px 24px}.afcp15-qoutput{grid-column:2/-1;justify-content:flex-start}.afcp15-qoutput .afcp15-format-pop{left:0;right:auto}.afcp15-actions{padding:12px!important}.afcp15-clear,.afcp15-convert{flex:1}.afcp15-trust{gap:13px;flex-wrap:wrap}}

/* V14 corrective UI: one clean file row, no broken/unused Advanced Options gear. */
.afcp15{--g:#01bb67!important;--ink:#101713!important;--muted:#7a8680!important;max-width:100%!important}
.afcp15-shell{max-width:760px!important;margin:0 auto!important}
.afcp15-heading{text-align:center!important;margin:0 auto 22px!important}
.afcp15-kicker{justify-content:center!important;font-size:12px!important;font-weight:900!important;letter-spacing:.12em!important}
.afcp15-heading h2{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:42px!important;font-weight:950!important;letter-spacing:-.055em!important;line-height:1.02!important;color:#090d0b!important;margin:8px 0 6px!important}
.afcp15-heading h2 span{color:#01bb67!important}
.afcp15-heading p{font-size:12px!important;color:#7a8680!important;margin:0!important}
.afcp15-card{position:relative!important;background:#fff!important;border:1px solid #dfe6e2!important;border-radius:20px!important;box-shadow:0 20px 55px rgba(10,25,16,.09)!important;overflow:visible!important}
.afcp15-limit{position:absolute!important;right:18px!important;top:12px!important;font-size:9px!important;color:#9aa49f!important;z-index:2!important}
.afcp15-upload{margin:16px!important;min-height:220px!important;border:2px dashed #cbd8d1!important;border-radius:16px!important;background:linear-gradient(180deg,#fbfffd,#f6fcf8)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;text-align:center!important;transition:border-color .15s,background .15s!important}
.afcp15-upload.drag{border-color:#01bb67!important;background:#effff6!important}
.afcp15-upload-icon{width:54px!important;height:54px!important;border-radius:15px!important;background:#e7fff1!important;color:#01a85d!important;font-size:28px!important;font-weight:900!important;display:flex!important;align-items:center!important;justify-content:center!important}
.afcp15-upload-title{margin-top:12px!important;font-size:17px!important;font-weight:900!important;color:#1b241f!important}
.afcp15-upload-or{font-size:10px!important;color:#a1aaa5!important;margin:4px 0 8px!important}
.afcp15-add{height:42px!important;min-width:126px!important;border:0!important;border-radius:10px!important;background:#01bb67!important;color:#fff!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:11px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;box-shadow:0 8px 18px rgba(1,187,103,.20)!important}
.afcp15-add:hover{background:#000!important;color:#fff!important}
.afcp15-source-menu{top:49px!important;width:225px!important;border-radius:12px!important;padding:5px!important}
.afcp15-upload-note{font-size:8px!important;margin-top:11px!important;color:#9aa49f!important}
.afcp15-converter{margin:0 16px 12px!important;border:1px solid #e0e6e3!important;border-radius:13px!important;background:#fff!important;overflow:visible!important}
.afcp15-toolbar{height:48px!important;padding:0 10px!important;border-bottom:1px solid #edf1ef!important}
.afcp15-more{height:40px!important;min-width:150px!important;border:1px solid #dce4df!important;border-radius:10px!important;background:#fff!important;padding:0 15px!important;font-size:12px!important;font-weight:900!important;line-height:1!important;color:#59655f!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
.afcp15-more:hover{border-color:#01bb67!important;color:#01a85d!important}
.afcp15-toolbar-title{font-size:9px!important;font-weight:900!important;color:#8d9792!important}
.afcp15-reset{width:30px!important;height:30px!important;border:1px solid transparent!important;border-radius:8px!important;background:#fff!important;color:#7b8780!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important;line-height:1!important;cursor:pointer!important}
.afcp15-reset:hover{border-color:#e1e7e3!important;background:#f7faf8!important;color:#000!important}
.afcp15-added{height:30px!important;padding:0 11px!important;font-size:8px!important;background:#fbfcfb!important;color:#89938e!important}
.afcp15-queue{display:grid!important;gap:7px!important;padding:8px!important}
.afcp15-qrow{position:relative!important;display:grid!important;grid-template-columns:43px minmax(0,1fr) 170px 34px!important;gap:9px!important;align-items:center!important;min-height:64px!important;padding:8px 9px!important;border:1px solid #e0e7e3!important;border-radius:10px!important;background:#fff!important;overflow:visible!important}
.afcp15-qrow:hover{border-color:#cbd8d1!important;box-shadow:0 3px 12px rgba(10,25,16,.04)!important}
.afcp15-thumb{width:42px!important;height:42px!important;border-radius:10px!important;background:#eafff3!important;color:#009d57!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:8px!important;font-weight:950!important}
.afcp15-qname{min-width:0!important}
.afcp15-qname strong{font-size:12px!important;font-weight:850!important;color:#1e2923!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.afcp15-qname small{font-size:8px!important;color:#98a19d!important;display:block!important;margin-top:4px!important}
.afcp15-qoutput{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
.afcp15-qoutput label{font-size:8px!important;color:#919b96!important}
.afcp15-output{height:34px!important;min-width:76px!important;border:1px solid #d9e2dc!important;border-radius:8px!important;background:#fff!important;color:#2b3731!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;font-size:9px!important;font-weight:850!important;line-height:1!important;cursor:pointer!important}
.afcp15-output:hover{border-color:#01bb67!important;color:#008e4e!important}
.afcp15-x{width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;margin:0!important;border:1px solid #e0e6e3!important;border-radius:8px!important;background:#fff!important;color:#8a948f!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;line-height:1!important;cursor:pointer!important}
.afcp15-x:hover{background:#000!important;border-color:#000!important;color:#fff!important}
.afcp15-format-pop{top:40px!important;right:0!important;width:340px!important;border-radius:12px!important;z-index:999!important}
.afcp15-format-search{height:37px!important;margin:7px!important;border-radius:8px!important}
.afcp15-format-body{min-height:190px!important}
.afcp15-options{max-height:190px!important}
.afcp15-actions{padding:13px 16px 16px!important;gap:9px!important;border-top:1px solid #edf1ef!important}
.afcp15-clear,.afcp15-convert{height:42px!important;border-radius:9px!important;font-size:10px!important}
.afcp15-convert{min-width:125px!important;background:#01bb67!important}
.afcp15-convert:hover{background:#000!important}
.afcp15-empty{min-height:76px!important;border-top:0!important}
.afcp15-status{font-size:9px!important}
@media(max-width:720px){
 .afcp15-shell{max-width:100%!important}.afcp15-heading h2{font-size:33px!important}.afcp15-heading p{font-size:10px!important}.afcp15-card{border-radius:16px!important}.afcp15-limit{right:13px!important}.afcp15-upload{margin:11px!important;min-height:205px!important}.afcp15-converter{margin:0 11px 10px!important}.afcp15-qrow{grid-template-columns:40px minmax(0,1fr) 32px!important}.afcp15-qoutput{grid-column:2/3!important;justify-content:flex-start!important}.afcp15-qoutput .afcp15-format-pop{left:0!important;right:auto!important}.afcp15-format-pop{width:min(330px,calc(100vw - 55px))!important}.afcp15-actions{padding:11px!important}.afcp15-clear,.afcp15-convert{flex:1!important}
}


/* V15: upload and converter are two states of ONE main card area. */
.afcp15 [hidden]{display:none!important}
.afcp15-card{overflow:hidden!important}
.afcp15-card .afcp15-upload,.afcp15-card .afcp15-converter{transition:none!important}
.afcp15-card.has-files .afcp15-upload{display:none!important}
.afcp15-card.has-files .afcp15-converter{display:block!important;margin:16px!important}
.afcp15-card:not(.has-files) .afcp15-converter{display:none!important}
.afcp15-card:not(.has-files) .afcp15-empty{display:flex!important}
.afcp15-card.has-files .afcp15-empty{display:none!important}
.afcp15-card.has-files .afcp15-actions{border-top:1px solid #edf1ef!important}
.afcp15 .afcp15-converter{margin:16px!important}
.afcp15 .afcp15-toolbar{height:50px!important}
.afcp15 .afcp15-qrow{grid-template-columns:43px minmax(0,1fr) 170px 34px!important}
.afcp15 .afcp15-x{justify-self:end!important}
.afcp15 .afcp15-qoutput{min-width:0!important}
.afcp15 .afcp15-format-pop{z-index:1000!important}
.afcp15 .afcp15-actions{padding:13px 16px 16px!important}
.afcp15-trust{display:none!important}
@media(max-width:720px){
 .afcp15-card.has-files .afcp15-converter{margin:11px!important}
 .afcp15 .afcp15-qrow{grid-template-columns:40px minmax(0,1fr) 32px!important}
}

/* V16: output format menu opens upward so it never gets clipped below the file row. */
.afcp15-format-pop{max-height:360px}
.afcp15-format-body{min-height:220px}.afcp15-options{max-height:220px}
@media(max-width:760px){.afcp15-shell{width:min(100%,720px)}.afcp15-heading h2{font-size:42px!important}.afcp15-heading p{font-size:13px!important}.afcp15-fileline{grid-template-columns:minmax(0,1fr) 150px 38px 30px}.afcp15-format-pop{right:-4px;width:min(350px,calc(100vw - 50px))}}

/* V17 readability + format picker visibility fixes */
.afcp15-limit{font-size:12px!important;font-weight:700!important;top:15px!important;right:18px!important;letter-spacing:.01em!important;color:#6f7b74!important}
.afcp15-empty strong{font-size:14px!important;font-weight:850!important;color:#46534c!important}
.afcp15-empty small{font-size:12px!important;margin-top:5px!important;color:#89948e!important}
.afcp15-added{height:40px!important;padding:0 14px!important;font-size:12px!important;color:#69766f!important}
.afcp15-added b{font-size:12px!important;color:#17211c!important}
.afcp15-toolbar-title{font-size:13px!important;font-weight:900!important;color:#65726b!important}
.afcp15-qoutput label{font-size:11px!important;font-weight:700!important;color:#7c8881!important}
.afcp15-output{height:42px!important;min-width:92px!important;padding:0 11px!important;font-size:12px!important;font-weight:850!important}
.afcp15-qrow{grid-template-columns:48px minmax(0,1fr) 205px 38px!important;min-height:76px!important;padding:10px 11px!important;gap:11px!important}
.afcp15-qname strong{font-size:14px!important}
.afcp15-qname small{font-size:11px!important;margin-top:5px!important}
.afcp15-format-pop{top:auto!important;bottom:48px!important;right:0!important;width:370px!important;max-height:370px!important;z-index:99999!important}
.afcp15-format-search{height:42px!important;font-size:16px!important}
.afcp15-format-search input{font-size:13px!important}
.afcp15-cats button{font-size:12px!important;padding:9px!important}
.afcp15-option{height:38px!important;font-size:10px!important}
.afcp15-format-body{min-height:225px!important}
.afcp15-options{max-height:225px!important}
.afcp15-card.has-files{overflow:visible!important}
.afcp15-card.has-files .afcp15-converter{overflow:visible!important}
.afcp15-queue{overflow:visible!important}
@media(max-width:720px){
 .afcp15-limit{font-size:11px!important;right:13px!important;top:12px!important}
 .afcp15-empty strong{font-size:13px!important}.afcp15-empty small{font-size:11px!important}
 .afcp15-added{font-size:11px!important;height:38px!important}
 .afcp15-toolbar-title{font-size:12px!important}
 .afcp15-qrow{grid-template-columns:42px minmax(0,1fr) 34px!important;min-height:70px!important}
 .afcp15-qoutput{grid-column:2/3!important;justify-content:flex-start!important}
 .afcp15-output{height:40px!important;font-size:11px!important}
 .afcp15-format-pop{left:0!important;right:auto!important;bottom:45px!important;width:min(350px,calc(100vw - 42px))!important}
}

/* V18: typography, upload-limit placement, and conversion result readability */
.afcp15-heading{margin-bottom:28px!important}
.afcp15-heading .afcp15-kicker{font-size:12px!important;font-weight:900!important;letter-spacing:.14em!important}
.afcp15-heading h2{font-size:52px!important;font-weight:950!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:10px 0 5px!important}
.afcp15-heading-sub{font-size:21px!important;line-height:1.25!important;font-weight:850!important;color:#17211c!important;margin:0 0 7px!important;letter-spacing:-.01em!important}
.afcp15-heading p{font-size:14px!important;line-height:1.5!important;color:#68746d!important}
.afcp15-addarea{display:flex!important;flex-direction:column!important;align-items:center!important;position:relative!important}
.afcp15-limit{position:static!important;margin:10px 0 0!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:.01em!important;color:#68746d!important;text-align:center!important}
.afcp15-upload-note{font-size:12px!important;margin-top:9px!important;color:#8b9690!important}
.afcp15-toolbar-title{font-size:15px!important;font-weight:900!important;color:#4d5a53!important}
.afcp15-added{height:44px!important;font-size:13px!important}
.afcp15-added b{font-size:13px!important}
.afcp15-qname strong{font-size:15px!important}
.afcp15-qname small{font-size:12px!important}
.afcp15-qoutput label{font-size:12px!important}
.afcp15-output{height:46px!important;min-width:104px!important;font-size:13px!important;padding:0 13px!important}
.afcp15-status{min-height:26px!important;padding:8px 18px 10px!important;font-size:14px!important;font-weight:800!important;color:#46534c!important}
.afcp15-results{gap:9px!important;padding:0 18px 20px!important}
.afcp15-result{min-height:68px!important;padding:11px 13px!important;border-radius:11px!important}
.afcp15-result strong{font-size:13px!important;font-weight:900!important}
.afcp15-result span{font-size:12px!important;margin-top:4px!important}
.afcp15-download{height:42px!important;padding:0 17px!important;border-radius:9px!important;font-size:12px!important;font-weight:900!important}
.afcp15-card.has-files .afcp15-limit{display:none!important}
@media(max-width:720px){
 .afcp15-heading h2{font-size:39px!important}
 .afcp15-heading-sub{font-size:18px!important}
 .afcp15-heading p{font-size:12px!important}
 .afcp15-limit{font-size:13px!important;margin-top:8px!important}
 .afcp15-upload-note{font-size:11px!important}
 .afcp15-toolbar-title{font-size:13px!important}
 .afcp15-added{font-size:12px!important;height:40px!important}
 .afcp15-added b{font-size:12px!important}
 .afcp15-qname strong{font-size:13px!important}
 .afcp15-qname small{font-size:11px!important}
 .afcp15-output{height:43px!important;font-size:12px!important}
 .afcp15-status{font-size:12px!important}
 .afcp15-result strong{font-size:12px!important}
 .afcp15-result span{font-size:11px!important}
 .afcp15-download{height:40px!important;font-size:11px!important;padding:0 14px!important}
}

/* V19: only the Choose Files control opens the file picker. The upload panel is a drop target only. */
.afcp15-upload{cursor:default!important}
.afcp15-upload-note{letter-spacing:.01em!important}
.afcp15-limit{white-space:nowrap!important}
/* Keep the upload border visually inset from the main card. */
.afcp15-upload{margin:24px!important}
@media(max-width:720px){.afcp15-upload{margin:13px!important}}

/* V21 final visual refinements */
.afcp15-heading h2{font-weight:800!important;letter-spacing:-.04em!important}
.afcp15-limit{font-weight:500!important;color:#68746d!important}
.afcp15-more{background:#01bb67!important;border-color:#01bb67!important;color:#fff!important;box-shadow:0 8px 18px rgba(1,187,103,.16)!important}
.afcp15-more:hover{background:#000!important;border-color:#000!important;color:#fff!important}
/* Give the upload area breathing room from the card's top and bottom edges */
.afcp15-upload{margin:28px 28px 26px!important;min-height:255px!important}
@media(max-width:720px){
 .afcp15-upload{margin:17px!important;min-height:230px!important}
}
/* V22: clearer typography + larger split-style Choose Files button */
.afcp15{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.afcp15 button,.afcp15 input,.afcp15 select{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.afcp15-add{height:54px!important;min-width:184px!important;border-radius:10px!important;background:#01bb67!important;color:#fff!important;padding:0 0 0 18px!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;font-size:15px!important;font-weight:800!important;line-height:1!important;letter-spacing:-.01em!important;overflow:hidden!important;box-shadow:0 9px 22px rgba(1,187,103,.20)!important}
.afcp15-add:hover{background:#000!important;color:#fff!important}
.afcp15-add b{font-size:19px!important;font-weight:800!important;line-height:1!important}
.afcp15-add span{height:100%!important;width:47px!important;margin-left:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-left:1px solid rgba(255,255,255,.30)!important;font-size:18px!important;opacity:1!important}
.afcp15-addarea{align-items:center!important}
.afcp15-heading p{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;font-weight:500!important}
.afcp15-upload-title,.afcp15-upload-sub,.afcp15-limit,.afcp15-added,.afcp15-fileinfo strong,.afcp15-fileinfo small,.afcp15-qname strong,.afcp15-qname small,.afcp15-output,.afcp15-more,.afcp15-toolbar-title,.afcp15-actions,.afcp15-status,.afcp15-result,.afcp15-download{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important}
.afcp15-limit{font-weight:500!important;letter-spacing:.01em!important}
.afcp15-more{font-weight:800!important;font-size:13px!important}
@media(max-width:720px){
 .afcp15-add{height:52px!important;min-width:174px!important;font-size:14px!important}
 .afcp15-add span{width:44px!important}
}


/* V24: add clear breathing room around the upload content so the dashed border never hugs the icon or format note. */
.afcp15-upload{
  min-height:330px!important;
  margin:28px!important;
  padding:34px 24px 36px!important;
  justify-content:center!important;
}
.afcp15-upload-icon{margin-bottom:16px!important;flex:0 0 auto!important}
.afcp15-upload-title{line-height:1.25!important;margin:0!important}
.afcp15-upload-or{margin:9px 0 11px!important;line-height:1!important}
.afcp15-addarea{flex:0 0 auto!important}
.afcp15-limit{margin-top:11px!important;line-height:1.25!important}
.afcp15-upload-note{margin-top:12px!important;line-height:1.3!important}
@media(max-width:720px){
  .afcp15-upload{min-height:285px!important;margin:17px!important;padding:28px 18px 30px!important}
}

/* V25: center the Output control on mobile so it never sits against the side. */
@media(max-width:720px){
  .afcp15-qoutput{
    grid-column:1/-1!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    margin:4px auto 0!important;
  }
  .afcp15-format-pop[data-portal="mobile"]{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(92vw,360px)!important;
    max-width:360px!important;
    max-height:78vh!important;
    z-index:2147483000!important;
    margin:0!important;
  }
  .afcp15-format-pop[data-portal="mobile"] .afcp15-format-body{
    max-height:calc(78vh - 58px)!important;
    overflow-y:auto!important;
  }
}

/* V26 mobile-only format picker safety: the picker is viewport-fixed and cannot be
   shifted by WordPress/theme containers. Desktop positioning is unchanged. */
@media (max-width:720px){
  body .afcp15-format-pop[data-portal="mobile"]{
    position:fixed!important;
    inset:auto!important;
    left:50%!important;
    top:50%!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:calc(100vw - 28px)!important;
    max-width:360px!important;
    max-height:78vh!important;
    overflow:hidden!important;
    z-index:2147483647!important;
  }
}


/* V27: mobile format picker overlay. The overlay is fixed to the viewport and
   the picker is centered inside it, avoiding horizontal page panning caused by
   theme containers, transforms, or overflow rules. */
@media (max-width:720px){
  #afcp15-format-layer{
    position:fixed!important;
    inset:0!important;
    display:none!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:100vw!important;
    height:100vh!important;
    padding:12px!important;
    margin:0!important;
    overflow:auto!important;
    z-index:2147483646!important;
  }
  #afcp15-format-layer.show{
    display:flex!important;
  }
  #afcp15-format-layer .afcp15-format-pop[data-portal="mobile"]{
    display:none!important;
    position:relative!important;
    left:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    inset:auto!important;
    transform:none!important;
    flex:0 0 auto!important;
    width:min(355px,100%)!important;
    max-width:355px!important;
    max-height:78vh!important;
    margin:0!important;
    overflow:hidden!important;
    z-index:2147483647!important;
    box-sizing:border-box!important;
  }
  #afcp15-format-layer .afcp15-format-pop[data-portal="mobile"].open{
    display:block!important;
  }
  #afcp15-format-layer .afcp15-format-body{
    max-height:calc(78vh - 58px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  body.afcp15-picker-open{
    overflow:hidden!important;
  }
}


/* Available converter cards */
.afcp15-format-cards{width:min(1080px,100%);margin:34px auto 0;padding:0 0 8px}
.afcp15-format-cards-head{text-align:center;margin:0 auto 22px;max-width:760px}
.afcp15-format-cards-head h2{margin:0 0 7px!important;font-size:30px!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.03em!important;color:#111!important}
.afcp15-format-cards-head p{margin:0!important;font-size:14px!important;line-height:1.55!important;color:#68746d!important}
.afcp15-format-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.afcp15-format-card{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px;border:1px solid #dfe6e2;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(20,34,27,.055)}
.afcp15-format-card-icon{flex:0 0 48px;height:48px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#eafff3;color:#008f50;font-size:10px;font-weight:900;letter-spacing:.02em;overflow:hidden}
.afcp15-format-card-content{min-width:0}
.afcp15-format-card h3{margin:1px 0 5px!important;font-size:14px!important;line-height:1.25!important;font-weight:850!important;color:#17211c!important}
.afcp15-format-card p{margin:0!important;font-size:11px!important;line-height:1.45!important;color:#748078!important}
@media(max-width:900px){.afcp15-format-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.afcp15-format-cards{margin-top:26px;padding:0 4px}.afcp15-format-cards-head h2{font-size:25px!important}.afcp15-format-cards-head p{font-size:12px!important}.afcp15-format-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.afcp15-format-card{padding:12px;gap:9px;border-radius:12px}.afcp15-format-card-icon{flex-basis:42px;height:42px;font-size:8px}.afcp15-format-card h3{font-size:12px!important}.afcp15-format-card p{font-size:10px!important}}
@media(max-width:380px){.afcp15-format-card-grid{grid-template-columns:1fr}.afcp15-format-card{padding:13px}}


/* V24.5: show only the first 12 converter cards until More Load is pressed. */
.afcp15-format-card-hidden{display:none!important}
.afcp15-format-cards-more-wrap{display:flex;justify-content:center;margin:22px auto 6px}
.afcp15-format-cards-more{min-width:150px!important}
.afcp15-format-cards-more span{font-size:14px!important;transition:transform .18s ease}
.afcp15-format-cards-more.is-open span{transform:rotate(180deg)}
@media(max-width:680px){.afcp15-format-cards-more-wrap{margin-top:18px}.afcp15-format-cards-more{min-width:145px!important}}

/* V24.6: center the More Load button directly below the first 12 cards with clear breathing room. */
.afcp15-format-cards-more-wrap{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:30px auto 14px!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.afcp15-format-cards-more{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto!important;
  min-width:150px!important;
  min-height:42px!important;
  touch-action:manipulation!important;
}
@media(max-width:680px){
  .afcp15-format-cards-more-wrap{margin:24px auto 16px!important;padding:0 4px!important}
  .afcp15-format-cards-more{min-width:145px!important;min-height:42px!important}
}


/* V24.8: show all converter cards; More Load is intentionally removed. */
.afcp15-format-card-hidden{display:flex!important}
.afcp15-format-cards-more-wrap{display:none!important}

/* V24.8: vertically and horizontally center the empty-file station in the space
   between the upload area above and action bar below. */
.afcp15-card:not(.has-files) .afcp15-empty{
  min-height:124px!important;
  height:124px!important;
  margin:0 24px!important;
  padding:10px 0!important;
  box-sizing:border-box!important;
  border-top:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  text-align:center!important;
}
.afcp15-card:not(.has-files) .afcp15-empty>span{margin:0!important}
.afcp15-card:not(.has-files) .afcp15-empty strong{margin-top:7px!important}
.afcp15-card:not(.has-files) .afcp15-empty small{margin-top:4px!important}
@media(max-width:720px){
  .afcp15-card:not(.has-files) .afcp15-empty{
    min-height:108px!important;
    height:108px!important;
    margin:0 13px!important;
    padding:8px 0!important;
  }
}

/* V24.9: empty station keeps its spacing but no longer shows placeholder text. */
.afcp15-card:not(.has-files) .afcp15-empty{
  min-height:112px!important;
  height:112px!important;
  margin:0 24px!important;
  padding:0!important;
  border:0!important;
  display:block!important;
  box-sizing:border-box!important;
}

/* V24.9: real format-style icon tiles for every converter card. */
.afcp15-format-card-icon{
  position:relative!important;
  background:#f1fff7!important;
  color:#08a45b!important;
  border:1px solid #d9f3e5!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)!important;
}
.afcp15-format-card-icon:before{
  content:"";
  position:absolute;
  width:25px;
  height:30px;
  border-radius:4px;
  background:currentColor;
  opacity:.14;
  left:50%; top:50%; transform:translate(-50%,-50%);
}
.afcp15-format-glyph{
  position:relative;
  z-index:1;
  font-size:9px;
  font-weight:950;
  letter-spacing:-.02em;
  line-height:1;
}
.afcp15-glyph-pdf{color:#e53935}.afcp15-glyph-doc,.afcp15-glyph-docx{color:#2878d0}.afcp15-glyph-xls,.afcp15-glyph-xlsx{color:#20a45b}.afcp15-glyph-ppt,.afcp15-glyph-pptx{color:#e86f22}.afcp15-glyph-jpg,.afcp15-glyph-jpeg,.afcp15-glyph-png,.afcp15-glyph-webp,.afcp15-glyph-gif,.afcp15-glyph-bmp,.afcp15-glyph-tif,.afcp15-glyph-tiff,.afcp15-glyph-avif,.afcp15-glyph-tga{color:#e2a400}.afcp15-glyph-svg{color:#8a4de8}.afcp15-glyph-ico{color:#3d8bd8}.afcp15-glyph-psd{color:#2d79d7}.afcp15-glyph-ai{color:#ef6f19}.afcp15-glyph-eps{color:#e75b45}.afcp15-glyph-rtf,.afcp15-glyph-txt{color:#16a56b}.afcp15-glyph-csv,.afcp15-glyph-ods{color:#20a45b}.afcp15-glyph-html{color:#e56d18}.afcp15-glyph-odt{color:#7651c9}.afcp15-glyph-odp{color:#e86f22}
@media(max-width:680px){
 .afcp15-card:not(.has-files) .afcp15-empty{min-height:96px!important;height:96px!important;margin:0 13px!important}
}


/* V25.0: match the supplied reference interface. */
.afcp15-format-cards{width:min(1080px,100%)!important;margin:18px auto 0!important;padding:0 0 20px!important}
.afcp15-format-cards-head{margin:0 auto 22px!important;max-width:760px!important;text-align:center!important}
.afcp15-format-cards-head h2{font-size:34px!important;line-height:1.12!important;font-weight:900!important;letter-spacing:-.025em!important;margin:0 0 7px!important;color:#111!important}
.afcp15-format-cards-head p{font-size:14px!important;line-height:1.5!important;color:#68746d!important;margin:0!important}
.afcp15-format-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.afcp15-format-card{position:relative!important;min-height:114px!important;padding:16px 34px 16px 14px!important;align-items:center!important;gap:12px!important;border:1px solid #dfe6e2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 14px rgba(20,34,27,.045)!important}
.afcp15-format-card-icon{flex:0 0 54px!important;width:54px!important;height:54px!important;border:0!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#eefaf3!important;position:relative!important;overflow:hidden!important}
.afcp15-format-file-shape{width:34px;height:40px;border-radius:5px;background:currentColor;position:relative;display:flex;align-items:center;justify-content:center;color:#16a565;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.afcp15-format-file-shape:before{content:"";position:absolute;right:0;top:0;width:11px;height:11px;background:rgba(255,255,255,.72);clip-path:polygon(0 0,100% 100%,0 100%);border-radius:0 4px 0 0}
.afcp15-format-glyph{position:relative!important;z-index:2!important;color:#fff!important;font-size:8px!important;font-weight:950!important;letter-spacing:-.02em!important;line-height:1!important;text-align:center!important}
.afcp15-format-card-content{min-width:0!important;flex:1!important}
.afcp15-format-card h3{font-size:14px!important;line-height:1.25!important;font-weight:900!important;color:#17211c!important;margin:0 0 6px!important}
.afcp15-format-card p{font-size:11px!important;line-height:1.45!important;color:#68746d!important;margin:0!important}
.afcp15-format-card-arrow{position:absolute!important;right:13px!important;top:50%!important;transform:translateY(-50%)!important;color:#00aa5c!important;font-size:20px!important;font-weight:500!important;line-height:1!important}
.afcp15-card:not(.has-files) .afcp15-empty{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
.afcp15-actions{display:none!important}
.afcp15-card.has-files .afcp15-actions{display:flex!important}
.afcp15-card.has-files .afcp15-empty{display:none!important}
.afcp15-card:not(.has-files) .afcp15-status,.afcp15-card:not(.has-files) .afcp15-results{display:none!important}
.afcp15-card.has-files .afcp15-status,.afcp15-card.has-files .afcp15-results{display:block!important}
.afcp15-icon-pdf .afcp15-format-file-shape{color:#e63b3b}.afcp15-icon-doc .afcp15-format-file-shape,.afcp15-icon-docx .afcp15-format-file-shape{color:#2878d0}.afcp15-icon-xls .afcp15-format-file-shape,.afcp15-icon-xlsx .afcp15-format-file-shape,.afcp15-icon-ods .afcp15-format-file-shape{color:#20a45b}.afcp15-icon-ppt .afcp15-format-file-shape,.afcp15-icon-pptx .afcp15-format-file-shape,.afcp15-icon-odp .afcp15-format-file-shape{color:#e97823}.afcp15-icon-jpg .afcp15-format-file-shape,.afcp15-icon-jpeg .afcp15-format-file-shape,.afcp15-icon-png .afcp15-format-file-shape,.afcp15-icon-webp .afcp15-format-file-shape,.afcp15-icon-gif .afcp15-format-file-shape,.afcp15-icon-bmp .afcp15-format-file-shape,.afcp15-icon-tif .afcp15-format-file-shape,.afcp15-icon-tiff .afcp15-format-file-shape,.afcp15-icon-tga .afcp15-format-file-shape{color:#e0ab16}.afcp15-icon-svg .afcp15-format-file-shape,.afcp15-icon-odt .afcp15-format-file-shape{color:#8552df}.afcp15-icon-ico .afcp15-format-file-shape,.afcp15-icon-psd .afcp15-format-file-shape{color:#2878d0}.afcp15-icon-avif .afcp15-format-file-shape{color:#16a56b}.afcp15-icon-eps .afcp15-format-file-shape,.afcp15-icon-ai .afcp15-format-file-shape,.afcp15-icon-html .afcp15-format-file-shape{color:#eb721b}.afcp15-icon-rtf .afcp15-format-file-shape,.afcp15-icon-txt .afcp15-format-file-shape,.afcp15-icon-csv .afcp15-format-file-shape{color:#16a56b}
@media(max-width:900px){.afcp15-format-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:680px){.afcp15-format-cards{margin-top:22px!important;padding:0 4px 14px!important}.afcp15-format-cards-head{margin-bottom:18px!important}.afcp15-format-cards-head h2{font-size:25px!important}.afcp15-format-cards-head p{font-size:12px!important}.afcp15-format-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.afcp15-format-card{min-height:98px!important;padding:11px 28px 11px 10px!important;gap:9px!important;border-radius:12px!important}.afcp15-format-card-icon{flex-basis:42px!important;width:42px!important;height:42px!important;border-radius:10px!important}.afcp15-format-file-shape{width:27px;height:32px}.afcp15-format-glyph{font-size:7px!important}.afcp15-format-card h3{font-size:11px!important;margin-bottom:4px!important}.afcp15-format-card p{font-size:9px!important;line-height:1.35!important}.afcp15-format-card-arrow{right:9px!important;font-size:16px!important}}
@media(max-width:380px){.afcp15-format-card-grid{grid-template-columns:1fr!important}}

/* V25.2: mobile picker scroll safety. A vertical swipe scrolls the format list;
   it must never be interpreted as a tap on the format under the finger. */
@media(max-width:720px){
  #afcp15-format-layer .afcp15-format-pop[data-portal="mobile"] .afcp15-options,
  #afcp15-format-layer .afcp15-format-pop[data-portal="mobile"] .afcp15-format-body{
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
}

/* V25.3: mobile picker gesture safety. Vertical scrolling is allowed, but a
   scroll release must never become a format selection. */
@media(max-width:720px){
  #afcp15-format-layer .afcp15-format-body{
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #afcp15-format-layer .afcp15-options{
    touch-action:pan-y!important;
  }
  #afcp15-format-layer .afcp15-option,
  #afcp15-format-layer .afcp15-cats button{
    touch-action:manipulation!important;
  }
}

/* V29: center format names inside their option boxes and prevent text from escaping. */
.afcp15-option{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  line-height:1.15!important;
  padding:4px 6px!important;
}
.afcp15-option *{max-width:100%!important;}


/* V30: final desktop/mobile usability and readable primary action. */
.afcp15-convert{
  min-height:52px!important;
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  padding:0 22px!important;
}
.afcp15-convert span{font-size:20px!important;line-height:1!important}
.afcp15-actions{flex-wrap:wrap!important}
#afcp15-format-layer{
  position:fixed!important;
  inset:0!important;
  z-index:1000000!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:14px!important;
  background:rgba(7,12,9,.34)!important;
}
#afcp15-format-layer.show{display:flex!important}
#afcp15-format-layer .afcp15-format-pop[data-portal="mobile"]{
  position:relative!important;
  right:auto!important;
  bottom:auto!important;
  top:auto!important;
  width:min(520px,100%)!important;
  max-height:min(78vh,560px)!important;
  margin:0!important;
  box-shadow:0 24px 70px rgba(14,28,20,.28)!important;
}
@media(max-width:720px){
  .afcp15{padding:22px 7px 34px!important}
  .afcp15-card{border-radius:16px!important}
  .afcp15-upload{margin:11px!important;min-height:245px!important}
  .afcp15-upload-title{font-size:19px!important}
  .afcp15-upload-note{font-size:10px!important;padding:0 8px!important}
  .afcp15-converter{margin:11px!important}
  .afcp15-toolbar{height:auto;min-height:54px;padding:8px!important;gap:7px}
  .afcp15-more{min-width:0!important;padding:0 10px!important;font-size:11px!important}
  .afcp15-toolbar-title{font-size:11px!important}
  .afcp15-qrow{
    grid-template-columns:40px minmax(0,1fr) 92px 26px!important;
    gap:7px!important;
    min-width:0!important;
    padding:8px!important;
  }
  .afcp15-thumb{width:40px!important;height:40px!important;flex-basis:40px!important}
  .afcp15-qname strong{font-size:12px!important}
  .afcp15-qname small{font-size:10px!important}
  .afcp15-qoutput{justify-content:flex-end!important}
  .afcp15-qoutput label{display:none!important}
  .afcp15-qoutput>.afcp15-output{min-width:82px!important;width:82px!important;padding:0 7px!important;font-size:11px!important}
  .afcp15-card:not(.has-files) .afcp15-actions{display:none!important}
  .afcp15-card.has-files .afcp15-actions{
    padding:11px!important;
    display:grid!important;
    grid-template-columns:1fr 1.35fr!important;
    gap:8px!important;
  }
  .afcp15-clear,.afcp15-convert{
    width:100%!important;
    min-width:0!important;
    height:52px!important;
    font-size:16px!important;
  }
  .afcp15-status{font-size:11px!important;padding:3px 10px 7px!important}
  .afcp15-result{align-items:center!important}
  #afcp15-format-layer .afcp15-format-pop[data-portal="mobile"]{
    width:100%!important;
    max-height:82vh!important;
  }
}
@media(max-width:390px){
  .afcp15-qrow{grid-template-columns:36px minmax(0,1fr) 82px 24px!important;gap:5px!important}
  .afcp15-thumb{width:36px!important;height:36px!important;flex-basis:36px!important}
  .afcp15-qname strong{font-size:11px!important}
  .afcp15-qoutput>.afcp15-output{min-width:76px!important;width:76px!important;font-size:10px!important}
  .afcp15-clear,.afcp15-convert{font-size:15px!important}
}

/* V31: FINAL Convert button typography fix — larger on mobile and desktop. */
.afcp15-actions .afcp15-convert,
button.afcp15-convert#afcp15-convert{
  font-size:20px!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:.01em!important;
  min-height:54px!important;
}
.afcp15-actions .afcp15-convert span,
button.afcp15-convert#afcp15-convert span{
  font-size:24px!important;
  line-height:1!important;
}
@media(max-width:720px){
  .afcp15-actions .afcp15-convert,
  button.afcp15-convert#afcp15-convert{
    font-size:20px!important;
    min-height:56px!important;
    height:56px!important;
    line-height:1.15!important;
    padding:0 14px!important;
  }
  .afcp15-actions .afcp15-convert span,
  button.afcp15-convert#afcp15-convert span{
    font-size:25px!important;
  }
}
@media(max-width:390px){
  .afcp15-actions .afcp15-convert,
  button.afcp15-convert#afcp15-convert{
    font-size:19px!important;
    min-height:54px!important;
    height:54px!important;
  }
}

/* V33: final mobile action-button readability. Keep the existing layout/look,
   but make BOTH action labels clearly readable on phones. */
@media (max-width:720px){
  .afcp15-actions .afcp15-clear,
  .afcp15-actions .afcp15-convert,
  button.afcp15-clear#afcp15-clear,
  button.afcp15-convert#afcp15-convert{
    font-size:20px!important;
    font-weight:900!important;
    line-height:1.15!important;
    min-height:56px!important;
    height:56px!important;
    padding:0 12px!important;
    letter-spacing:.005em!important;
  }
  .afcp15-actions .afcp15-convert span,
  button.afcp15-convert#afcp15-convert span{
    font-size:25px!important;
    line-height:1!important;
  }
}
@media (max-width:390px){
  .afcp15-actions .afcp15-clear,
  .afcp15-actions .afcp15-convert,
  button.afcp15-clear#afcp15-clear,
  button.afcp15-convert#afcp15-convert{
    font-size:19px!important;
    min-height:54px!important;
    height:54px!important;
  }
  .afcp15-actions .afcp15-convert span,
  button.afcp15-convert#afcp15-convert span{
    font-size:24px!important;
  }
}
/* Word to PDF single-page overrides: preserve V36 visual language, simplify the page. */
.p2e .afcp15-upload-note{font-weight:600}
.p2e .afcp15-card{max-width:980px;margin:0 auto}
.p2e .afcp15-converter{display:block}
.p2e .afcp15-qoutput{display:none!important}
.p2e .afcp15-qrow{grid-template-columns:52px minmax(0,1fr) 44px}
.p2e .afcp15-format-cards{display:none!important}
.p2e .afcp15-clear,.p2e .afcp15-convert{font-size:20px!important;min-height:56px}
.p2e .afcp15-convert span{font-size:25px!important}
.p2e .afcp15-actions{display:none}
.p2e .afcp15-card.has-files .afcp15-actions{display:grid}
.p2e .afcp15-status{font-weight:600}
@media(max-width:720px){
 .p2e .afcp15-clear,.p2e .afcp15-convert{font-size:20px!important;min-height:56px;padding:14px 18px!important}
 .p2e .afcp15-convert span{font-size:25px!important}
 .p2e .afcp15-upload-title{font-size:24px}
 .p2e .afcp15-add{font-size:17px!important;min-height:52px}
}
@media(max-width:390px){
 .p2e .afcp15-clear,.p2e .afcp15-convert{font-size:19px!important;min-height:54px}
 .p2e .afcp15-convert span{font-size:24px!important}
}
/* v2 source menu + URL input */
.p2e-choose-wrap{position:relative;display:inline-flex;justify-content:center}
.p2e-chevron{font-size:18px;line-height:1;margin-left:7px}
.p2e-source-menu{position:absolute;z-index:50;top:calc(100% + 8px);left:50%;transform:translateX(-50%);min-width:190px;padding:6px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.12);box-shadow:0 12px 30px rgba(0,0,0,.15)}
.p2e-source-menu button{display:block;width:100%;padding:11px 13px;border:0;background:transparent;border-radius:8px;text-align:left;font:inherit;cursor:pointer}
.p2e-source-menu button:hover,.p2e-source-menu button:focus{background:#f2f4f7}
.p2e-url-panel{margin:16px auto 0;max-width:620px;text-align:left}
.p2e-url-row{display:flex;gap:8px}
.p2e-url-row input{flex:1;min-width:0;padding:12px 14px;border:1px solid #d7dbe0;border-radius:10px;font-size:16px}
.p2e-url-row button{padding:12px 18px;border:0;border-radius:10px;cursor:pointer;font-weight:700}
.p2e-url-panel small{display:block;margin-top:7px;opacity:.7}
@media(max-width:600px){.p2e-source-menu{left:0;transform:none;width:100%;min-width:0}.p2e-url-row{flex-direction:column}.p2e-url-row button{width:100%}.p2e-source-menu button{font-size:16px;padding:13px}.p2e-url-row input{font-size:16px}.afcp15-add{font-size:19px!important}.afcp15-clear,.afcp15-convert{font-size:19px!important;min-height:54px!important}.afcp15-convert span{font-size:23px!important}}

/* V3: Match the original converter source-picker behavior. Desktop: hover reveals
   From device / From URL below Choose Word File; clicking the main button opens the
   native file picker. Mobile: tap opens the source menu because hover is unavailable. */
.p2e-choose-wrap{position:relative!important}
@media(min-width:721px){
  .p2e-choose-wrap:hover .p2e-source-menu,
  .p2e-choose-wrap:focus-within .p2e-source-menu{display:block!important;visibility:visible!important;opacity:1!important}
  .p2e-source-menu{display:none!important;visibility:hidden;opacity:0;transition:opacity .12s ease}
  .p2e-source-menu[hidden]{display:none!important}
}
@media(max-width:720px){
  .p2e-source-menu{display:block}
  .p2e-source-menu[hidden]{display:none!important}
}


/* V4: source picker matches the original All File Converter behavior shown in the reference video. */
.p2e .p2e-choose-wrap{position:relative!important;display:inline-flex!important;justify-content:center!important}
.p2e .p2e-source-menu{display:none!important;position:absolute!important;z-index:100!important;top:53px!important;left:50%!important;transform:translateX(-50%)!important;width:245px!important;background:#fff!important;border:1px solid #dde5e0!important;border-radius:13px!important;padding:6px!important;box-shadow:0 18px 45px rgba(15,28,20,.17)!important;text-align:left!important;visibility:visible!important;opacity:1!important}
.p2e .p2e-source-menu.open{display:block!important}
.p2e .p2e-source-menu:before{content:""!important;position:absolute!important;top:-6px!important;left:50%!important;margin-left:-6px!important;width:11px!important;height:11px!important;background:#fff!important;border-left:1px solid #dde5e0!important;border-top:1px solid #dde5e0!important;transform:rotate(45deg)!important}
.p2e .p2e-source-menu button{width:100%!important;min-height:52px!important;border:0!important;background:#fff!important;border-radius:9px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:7px 9px!important;text-align:left!important;cursor:pointer!important}
.p2e .p2e-source-menu button:hover,.p2e .p2e-source-menu button:focus{background:#effff6!important;outline:none!important}
.p2e .p2e-source-menu strong{width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:8px!important;background:#e7fff1!important;color:#009b57!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important}
.p2e .p2e-source-menu b{display:block!important;font-size:11px!important;color:#26322c!important;font-weight:800!important}
.p2e .p2e-source-menu small{display:block!important;margin-top:2px!important;color:#9aa39f!important;font-size:9px!important}
@media(max-width:720px){
 .p2e .p2e-source-menu{top:calc(100% + 8px)!important;left:0!important;transform:none!important;width:245px!important;max-width:calc(100vw - 34px)!important}
 .p2e .p2e-source-menu button{font-size:16px!important;padding:10px 9px!important}
 .p2e .p2e-source-menu b{font-size:13px!important}
 .p2e .p2e-source-menu small{font-size:10px!important}
}

/* V5 FINAL: exact source-picker behavior from the original All File Converter.
   Direct click on the main button opens the native file picker.
   Desktop hover reveals From Device / From URL below the button. */
.p2e .afcp15-addarea{position:relative!important}
.p2e .p2e-choose-wrap{position:static!important;display:inline-flex!important;justify-content:center!important}
.p2e .p2e-source-menu{display:none!important;position:absolute!important;z-index:9999!important;top:53px!important;left:50%!important;transform:translateX(-50%)!important;width:245px!important;min-width:0!important;background:#fff!important;border:1px solid #dde5e0!important;border-radius:13px!important;padding:6px!important;box-shadow:0 18px 45px rgba(15,28,20,.17)!important;text-align:left!important;visibility:visible!important;opacity:1!important}
.p2e .p2e-choose-wrap:hover .p2e-source-menu,
.p2e .p2e-choose-wrap:focus-within .p2e-source-menu,
.p2e .afcp15-addarea:hover .p2e-source-menu,
.p2e .p2e-source-menu.open{display:block!important}
.p2e .p2e-source-menu:before{content:""!important;position:absolute!important;top:-6px!important;left:50%!important;margin-left:-6px!important;width:11px!important;height:11px!important;background:#fff!important;border-left:1px solid #dde5e0!important;border-top:1px solid #dde5e0!important;transform:rotate(45deg)!important}
.p2e .p2e-source-menu button{width:100%!important;min-height:52px!important;border:0!important;background:#fff!important;border-radius:9px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:7px 9px!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
.p2e .p2e-source-menu button:hover,.p2e .p2e-source-menu button:focus{background:#effff6!important;outline:none!important}
.p2e .p2e-source-menu strong{width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:8px!important;background:#e7fff1!important;color:#009b57!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important}
.p2e .p2e-source-menu b{display:block!important;font-size:11px!important;color:#26322c!important;font-weight:800!important}
.p2e .p2e-source-menu small{display:block!important;margin-top:2px!important;color:#9aa39f!important;font-size:9px!important}
@media(max-width:720px){
  .p2e .p2e-source-menu{top:calc(100% + 8px)!important;left:50%!important;transform:translateX(-50%)!important;width:245px!important;max-width:calc(100vw - 34px)!important}
  .p2e .p2e-source-menu button{font-size:16px!important;padding:10px 9px!important}
  .p2e .p2e-source-menu b{font-size:13px!important}
  .p2e .p2e-source-menu small{font-size:10px!important}
}


/* FINAL: exact original All File Converter source-picker behavior */
.p2e .afcp15-addarea{position:relative!important;display:inline-flex!important;justify-content:center!important}
.p2e .afcp15-source-menu{display:none;position:absolute;z-index:9999;top:53px;left:50%;transform:translateX(-50%);width:245px;background:#fff;border:1px solid #dde5e0;border-radius:13px;padding:6px;box-shadow:0 18px 45px rgba(15,28,20,.17);text-align:left}
.p2e .afcp15-source-menu.open{display:block!important}
.p2e .afcp15-addarea:hover .afcp15-source-menu{display:block!important}
.p2e .afcp15-source-menu:before{content:"";position:absolute;top:-6px;left:50%;margin-left:-6px;width:11px;height:11px;background:#fff;border-left:1px solid #dde5e0;border-top:1px solid #dde5e0;transform:rotate(45deg)}
.p2e .afcp15-source-menu button{width:100%!important;min-height:52px!important;border:0!important;background:#fff!important;border-radius:9px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:7px 9px!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
.p2e .afcp15-source-menu button:hover{background:#effff6!important}
.p2e .afcp15-source-menu strong{width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:8px!important;background:#e7fff1!important;color:#009b57!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important}
.p2e .afcp15-source-menu b{display:block!important;font-size:11px!important;color:#26322c!important;font-weight:800!important}
.p2e .afcp15-source-menu small{display:block!important;margin-top:2px!important;color:#9aa39f!important;font-size:9px!important}
@media(max-width:720px){.p2e .afcp15-source-menu{top:49px!important;width:225px!important;border-radius:12px!important;padding:5px!important}.p2e .afcp15-source-menu button{font-size:16px!important;padding:10px 9px!important}.p2e .afcp15-source-menu b{font-size:13px!important}.p2e .afcp15-source-menu small{font-size:10px!important}}

/* V6/V8 DEVICE-ONLY: no URL/source picker UI; custom label opens native picker. */
.afcp15-add{cursor:pointer!important;text-decoration:none!important;}
.afcp15-source-menu,.w2pdf-url-panel,.p2e-url-panel{display:none!important;}
.afcp15-add span{display:none!important;}

/* MOBILE ONLY: slightly reduce Choose PDF File button text. Desktop unchanged. */
@media (max-width:720px){
  .p2e .afcp15-add{font-size:17px!important;justify-content:center!important;padding-left:0!important;padding-right:0!important;text-align:center!important;}
}
