:root{font-family:'DM Sans',sans-serif;color:#152b37;background:#f4f7f8;font-size:16px}*{box-sizing:border-box}body{margin:0}button,a,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,#drop:focus-visible{outline:3px solid #00a98b;outline-offset:4px}header{height:88px;background:white;border-bottom:1px solid #dce4e7;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:#123d3a;font-size:24px;font-weight:800}.light{font-weight:400}nav{display:flex;gap:8px}nav button{border:0;background:transparent;padding:12px 18px;color:#5d6c76}nav .active{background:#edf6f3;color:#086c59;border-radius:8px}.private{font-size:14px;color:#5d6c76}main{max-width:1240px;margin:auto;padding:48px 32px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#00826d}h1{font-family:Manrope,sans-serif;font-size:40px;letter-spacing:-1.5px;margin:10px 0}p{color:#657681;line-height:1.6;margin:8px 0}.edition{font-size:12px;letter-spacing:2px;color:#7a8991}.layout{display:grid;grid-template-columns:260px 1fr;gap:28px}aside h2{font-size:14px;text-transform:uppercase;letter-spacing:1px;margin:0 0 16px;color:#64747c}.tool{width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid transparent;background:transparent;border-radius:8px;margin-bottom:3px;color:#455d68}.tool.active{background:#dcefe8;border-color:#bcdccf;color:#095e4d;font-weight:700}.tool .icon{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border:1px solid #cbd9dd;border-radius:6px;font-size:12px;background:#fff}.tool small{margin-left:auto;font-size:12px;color:#7c8c94}.asideNote{font-size:14px;line-height:1.6;color:#72828b;border-top:1px solid #d9e3e5;padding-top:20px;margin-top:20px}.panel{border:1px solid #dce5e8;background:white;border-radius:14px;padding:30px}.panelTop{display:flex;justify-content:space-between;gap:20px}.panelTop h2{font-family:Manrope;font-size:26px;margin:8px 0}.panelTop p{font-size:14px}.badge{font-size:12px;background:#e7f4ec;color:#287155;height:26px;padding:5px 9px;border-radius:5px;white-space:nowrap}.steps{display:flex;gap:30px;margin:28px 0 22px;color:#a0adb3;font-size:14px}.steps span{display:flex;gap:8px;align-items:center}.steps b{font-weight:500}.steps .current{color:#087c65}#drop{text-align:center;border:2px dashed #bad5cc;background:#f5faf8;border-radius:10px;padding:30px 12px;cursor:pointer}#drop.drag{background:#ddf0e7}.uploadIcon{font-size:36px;color:#00846c;background:#dfefe7;width:62px;height:62px;border-radius:16px;margin:auto}h3{font-family:Manrope;font-size:19px;margin:16px 0 8px}.primary{background:#057b62;color:white;border:0;border-radius:7px;padding:13px 26px;font-weight:600;margin-top:16px}.primary:disabled{opacity:.5;cursor:wait}.small{font-size:12px;margin-top:16px}.sources{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0;font-size:14px}.sources span{color:#86969e}.sources button,.fileRow button{background:white;border:1px solid #d7e2e6;border-radius:6px;padding:8px 12px;color:#425d69}.limits{border-top:1px solid #e5ecee;margin-top:22px;padding-top:18px;font-size:14px}.limits strong{font-size:14px}.bottom{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:42px}.bottom span{font-size:12px;color:#00816a;letter-spacing:1px}.bottom h3{font-size:18px}.bottom p{font-size:14px}.fileRow{background:#f1f6f7;padding:16px;display:flex;justify-content:space-between;align-items:center;border-radius:8px}.fileRow strong{overflow-wrap:anywhere}.fileRow p{font-size:12px}#options{padding-top:16px}label{font-size:14px;display:block;margin-bottom:8px}select,input[type=url]{border:1px solid #cbdade;padding:10px;border-radius:6px;width:100%;background:white}.notice,#status:not(:empty){padding:14px;background:#edf5f7;border-radius:8px;font-size:14px;margin:14px 0;line-height:1.6}#results a{display:block;padding:12px;background:#e6f5ed;color:#0b7258;border-radius:8px;margin:8px 0;text-decoration:none}footer{border-top:1px solid #dde6e8;padding:26px 5%;display:flex;justify-content:space-between;color:#7e8e96;font-size:14px}.guideIntro{max-width:700px}.guideSummary{padding:24px;background:#e5f0ec;border-radius:10px;margin:28px 0}.guideSummary p{margin-bottom:20px}.guideStep{border:1px solid #dce5e8;background:white;border-radius:10px;margin:14px 0;overflow:hidden}.guideStep summary{padding:22px;cursor:pointer;font-weight:700;font-size:18px}.guideStep .content{padding:0 24px 24px;line-height:1.8;color:#536976}.guideStep li{margin:8px 0}.guideStep table{border-collapse:collapse;width:100%;font-size:14px}.guideStep td,.guideStep th{padding:10px;border:1px solid #dce5e8;text-align:left}[hidden]{display:none!important}@media(max-width:800px){header{height:auto;min-height:80px;flex-wrap:wrap;padding:18px 24px;gap:16px}.private,.edition{display:none}main{padding:30px 20px}h1{font-size:30px}.layout{grid-template-columns:1fr}#tools{display:flex;overflow:auto;gap:6px}.tool{width:auto;white-space:nowrap;padding:10px}.tool small{display:none}.asideNote{display:none}.panel{padding:20px}.bottom{grid-template-columns:1fr;gap:14px}.steps{gap:16px;font-size:12px}.brand{font-size:22px}nav button{padding:8px;font-size:14px}footer{gap:20px}.guideStep .content{overflow:auto}}
#options label:not(:first-child){margin-top:16px}#customLanguage{width:100%;padding:10px;border:1px solid #cbdade;border-radius:6px}

/* Responsive mobile correction */
.layout{grid-template-columns:260px minmax(0,1fr)}
.layout>*,.panelTop>*,.fileRow>*{min-width:0}
#status,#results,.limits,.fileRow{overflow-wrap:anywhere}
img,canvas,video{max-width:100%;height:auto}

@media(max-width:800px){
  header{padding:16px;gap:12px}
  main{width:100%;padding:24px 16px}
  .intro{display:block}
  h1{font-size:28px;line-height:1.2;letter-spacing:-.8px}
  .layout{grid-template-columns:minmax(0,1fr);gap:18px}
  #tools{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    overflow:visible;
  }
  .tool{
    width:100%;min-width:0;white-space:normal;
    padding:10px 8px;gap:8px;font-size:13px;
    line-height:1.35;margin:0;min-height:48px;
  }
  .tool .icon{flex:0 0 28px;width:28px;height:28px}
  .panel{padding:18px 14px}
  .panelTop{flex-wrap:wrap;gap:8px}
  .panelTop h2{font-size:24px}
  .steps{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
  }
  .steps span{min-width:0;gap:5px}
  .primary{max-width:100%;white-space:normal;min-height:44px}
  .sources{gap:8px}
  .sources span{flex-basis:100%}
  .sources button,.fileRow button{min-height:44px}
  .fileRow{gap:12px;flex-wrap:wrap}
  select,input,textarea{max-width:100%;font-size:16px}
  footer{flex-direction:column;gap:8px;padding:22px 16px}
}
@media(max-width:360px){
  #tools{grid-template-columns:minmax(0,1fr)}
}

/* Helpful PDF guide */
#helpful-pdf-guide{margin-top:32px;padding:24px;background:#fff;border:1px solid #dce5e8;border-radius:12px}#helpful-pdf-guide details{border-top:1px solid #e5ecee;padding:12px 0}#helpful-pdf-guide summary{cursor:pointer;line-height:1.5;font-weight:600;min-height:44px;padding:8px 0}#helpful-pdf-guide h2{font-size:24px}@media(max-width:800px){#helpful-pdf-guide{padding:18px 14px}}

/* justPDFthings brand v2 */
.brand{max-width:270px;min-width:0;flex-shrink:1}
.site-logo{display:block;width:270px;max-width:100%;height:auto}
.footer-logo{display:block;width:180px;max-width:100%;height:auto}
.free-benefits{margin:-8px 0 28px;min-width:0}
.benefit-chips{display:flex;flex-wrap:wrap;gap:8px}
.benefit-chips span{padding:8px 12px;border:1px solid #bcdccf;border-radius:20px;background:#e7f4ec;color:#095e4d;font-size:13px;font-weight:600}
.free-benefits p{font-size:13px;max-width:760px}
@media(max-width:800px){.brand{max-width:min(270px,100%)}.site-logo{width:245px}header{height:auto;min-height:80px}.benefit-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-chips span{font-size:12px;line-height:1.4;border-radius:10px}.free-benefits{margin:0 0 22px}.footer-logo{width:160px}}

/* Tool landing pages */
.tool-page-links{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.tool-page-links a{display:block;padding:12px 16px;border:1px solid #bcdccf;border-radius:8px;color:#095e4d;background:#edf6f3;text-decoration:none;min-height:44px}#tool-page-guide{margin-top:32px;padding:22px;background:#fff;border:1px solid #dce5e8;border-radius:12px}#tool-page-guide summary{cursor:pointer;padding:14px 0;font-weight:600;line-height:1.5}#tool-page-guide details{border-top:1px solid #e5ecee}@media(max-width:800px){#tool-page-guide{padding:18px 14px}.tool-page-links{display:grid;grid-template-columns:minmax(0,1fr)}}

/* Centered logo header */
header{
  justify-content:center;
}
header nav,
header .private{
  display:none!important;
}
header .brand{
  margin-inline:auto;
}
