:root{--bg:#f8f9fc;--card:#fff;--text:#19192b;--muted:#77798d;--line:#e8e9f1;--brand:#ef3038}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}.bar{height:68px;background:var(--card);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,18px)}.logo{font:800 22px Arial,Helvetica,sans-serif;text-decoration:none;color:var(--text)}.logo span{color:var(--brand)}.back{font-size:13px;color:var(--muted);text-decoration:none}.wrap{max-width:850px;margin:45px auto;padding:0 20px 65px}.kicker{color:var(--brand);font-size:10px;letter-spacing:2px;font-weight:800}.wrap h1{font:800 clamp(30px,5vw,43px) Arial,Helvetica,sans-serif;letter-spacing:-1.5px;margin:12px 0}.lead{color:var(--muted);line-height:1.7;font-size:14px}.panel{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:23px;margin-top:25px;box-shadow:0 15px 40px #22224a08}.panel label{display:block;font-size:12px;font-weight:700;margin:13px 0 7px}.panel input:not([type=file]),.panel textarea,.panel select{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit}.panel textarea{min-height:145px;resize:vertical}.btn{display:inline-block;border:0;border-radius:10px;background:var(--brand);color:#fff;padding:12px 16px;font-weight:700;cursor:pointer;margin:10px 6px 0 0}.btn.secondary{background:#fff0f1;color:#d9232e}.result{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:15px;margin-top:14px;white-space:pre-wrap;overflow-wrap:normal;word-break:normal;hyphens:manual}.stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.stat{background:var(--bg);padding:12px;border-radius:10px;font-size:11px;color:var(--muted)}.stat b{display:block;font-size:19px;color:var(--text);margin-bottom:3px}.drop{border:1.5px dashed #ffb8bd;background:#f7f6ff;border-radius:13px;padding:23px;text-align:center}.drop input{max-width:100%}.preview{max-width:100%;max-height:360px;object-fit:contain;margin-top:15px}.note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:15px}.foot{text-align:center;color:var(--muted);font-size:11px;margin-top:30px}.foot a{color:var(--brand)}@media(max-width:600px){.wrap{margin:28px auto}.panel{padding:15px}}
/* JIOPDF usability and accessibility improvements */
body{transition:background-color .18s ease,color .18s ease}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #8b82ff;outline-offset:3px}
button:disabled{opacity:.65;cursor:wait}
.bar{gap:12px}.bar-actions{display:flex;align-items:center;gap:10px}.theme-toggle{border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:var(--card);color:var(--text);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
body.dark{--bg:#11121b;--card:#1a1b29;--text:#f4f4fc;--muted:#a3a5b8;--line:#303146;--brand:#958bff}
body.dark .drop{background:#211f34;border-color:#59518f}body.dark .btn.secondary{background:#302c4e;color:#d9d5ff}body.dark .preview{background:#222}
.panel input[type=file]{max-width:100%;color:var(--text)}
@media(max-width:600px){.bar{padding:0 14px;height:64px}.bar-actions{gap:6px}.theme-toggle{font-size:11px;padding:8px}.back{font-size:12px}.wrap{padding-left:14px;padding-right:14px}.panel{overflow-wrap:normal;word-break:normal;hyphens:manual}.btn{min-height:42px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.file-guard-message{margin:12px 0 0;color:#b42318;font-size:12px;line-height:1.5;font-weight:600}.dark .file-guard-message{color:#ff9b91}.btn:disabled{opacity:.6;cursor:not-allowed}


/* JIOPDF tool-page refresh v7 — aligned with the homepage purple brand */
:root{--bg:#f5f7fb;--card:#fff;--text:#172033;--muted:#647087;--line:#e3e8f0;--brand:#ef3038}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
.bar{height:70px;padding:0 clamp(16px,4vw,64px);box-shadow:0 2px 12px rgba(23,32,51,.025)}.logo{font-family:Inter,system-ui,sans-serif;font-size:23px;letter-spacing:-1px}.logo span{color:var(--brand)}.back{font-size:13px;font-weight:600}.wrap{max-width:900px;margin:42px auto;padding:0 24px 70px}.kicker{font-size:11px;letter-spacing:1.7px;color:var(--brand)}.wrap h1{font-family:Inter,system-ui,sans-serif;font-size:clamp(30px,4.5vw,44px);line-height:1.12;letter-spacing:-1.6px;margin:12px 0}.lead{font-size:15px;line-height:1.75;max-width:720px}.panel{border-radius:16px;padding:clamp(18px,3vw,28px);margin-top:25px;box-shadow:0 8px 26px rgba(23,32,51,.045)}.panel label{font-size:13px}.panel input:not([type=file]),.panel textarea,.panel select{border-radius:10px;padding:12px 13px}.btn{background:var(--brand);border-radius:10px;padding:12px 17px;font-size:13px;min-height:43px}.btn:hover{background:#5146df}.btn.secondary{background:#fff0f1;color:#5146df}.drop{background:#f7f6ff;border-color:#ffb8bd;padding:clamp(18px,4vw,30px)}.result{border-radius:12px;line-height:1.7}.stat{border:1px solid var(--line);border-radius:10px}.note{font-size:13px}.foot{font-size:12px}
body.dark{--bg:#111522;--card:#191f2e;--text:#f4f6fb;--muted:#a7b1c3;--line:#30394b;--brand:#958bff}body.dark .drop{background:#211f34;border-color:#59518f}body.dark .btn.secondary{background:#302c4e;color:#d9d5ff}
@media(max-width:600px){.bar{height:62px;padding:0 14px}.logo{font-size:20px}.wrap{margin:28px auto;padding:0 14px 48px}.wrap h1{font-size:clamp(28px,8vw,36px);letter-spacing:-1px}.lead{font-size:14px}.panel{padding:15px;margin-top:19px}.panel input[type=file]{display:block;width:100%;font-size:12px}.btn{width:100%;margin:9px 0 0;min-height:44px}.btn.secondary{width:auto}.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-width:0}.drop{padding:18px 12px}.result{overflow-wrap:normal;word-break:normal;hyphens:manual}.bar-actions{gap:5px}.back{font-size:11px}}
@media(max-width:360px){.bar{padding:0 10px}.logo{font-size:18px}.back{font-size:10px}.stats{grid-template-columns:1fr}}


/* JIOPDF v11 — light-only red theme */
:root{color-scheme:light;--bg:#f7f8fc;--card:#fff;--text:#17182b;--muted:#6f7890;--line:#e5e8f2;--brand:#ef3038}
html,body{color-scheme:light!important}
body{background:#f7f8fc!important;color:#17182b!important}
.theme-toggle,#themeToggle{display:none!important}
.logo{display:flex;align-items:center;gap:7px;font-weight:800;letter-spacing:-.7px}
.logo::before{content:"T";width:31px;height:31px;display:inline-grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#ff646b,#d9232e);color:#fff;font:800 18px Arial,Helvetica,sans-serif;box-shadow:0 4px 10px rgba(239,48,56,.16)}
.logo span{color:#ef3038!important}


/* v12: matching red navigation header on tool and information pages */
.bar.site-header{height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 clamp(18px,3.2vw,48px);background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50;box-shadow:0 2px 10px rgba(20,25,40,.025)}
.bar.site-header .logo{display:flex;align-items:center;gap:7px;flex-shrink:0;white-space:nowrap;font:800 23px Arial,Helvetica,sans-serif,sans-serif;letter-spacing:-1px;color:#17182b;text-decoration:none}
.bar.site-header .logo i{font-style:normal;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#ff626a,#d9232e);color:#fff;box-shadow:0 4px 10px rgba(239,48,56,.16)}
.bar.site-header .logo-name{color:#17182b;margin:0}.bar.site-header .logo-pdf{color:#ef3038;margin-left:-7px}
.bar.site-header .tool-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.1vw,32px);flex:1;min-width:0;white-space:nowrap}
.bar.site-header .tool-nav a{font-size:14px;font-weight:700;color:#202536;text-decoration:none;padding:12px 0}.bar.site-header .tool-nav a:hover{color:#ef3038}
.bar.site-header .header-tools{display:inline-flex;align-items:center;justify-content:center;background:#ef3038;color:#fff;border-radius:10px;padding:13px 17px;font-size:13px;font-weight:800;white-space:nowrap;text-decoration:none}
.bar.site-header .header-tools:hover{background:#c9232d}.bar.site-header .mob{display:none}
@media(max-width:900px){.bar.site-header{gap:12px;padding:0 16px}.bar.site-header .tool-nav{gap:11px}.bar.site-header .tool-nav a{font-size:12px}.bar.site-header .header-tools{font-size:12px;padding:11px 12px}}
@media(max-width:700px){.bar.site-header{height:64px;padding:0 14px;gap:8px}.bar.site-header .logo{font-size:21px;gap:6px}.bar.site-header .logo i{width:32px;height:32px;border-radius:9px}.bar.site-header .tool-nav{display:none;position:absolute;top:63px;left:0;right:0;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 12px 20px rgba(20,25,40,.08);padding:12px 20px;flex-direction:column;align-items:stretch;gap:2px;white-space:normal}.bar.site-header .tool-nav.open{display:flex}.bar.site-header .tool-nav a{padding:11px 0;border-bottom:1px solid #f0f1f4}.bar.site-header .header-tools{display:none}.bar.site-header .mob{display:inline-block;background:#fff;border:1px solid #e5e7eb;color:#17182b;border-radius:9px;padding:8px 10px;min-height:36px}}

/* JIOPDF Logo 2: consistent branded image logo */
.logo { display:inline-flex; align-items:center; text-decoration:none; flex:0 0 auto; }
.logo .brand-logo-img { display:block; width:190px; height:auto; max-height:58px; object-fit:contain; object-position:left center; background:#fff; }
@media (max-width: 700px) { .logo .brand-logo-img { width:145px; max-height:48px; } }


/* JIOPDF v24 — authoritative logo fix for every tool and information page.
   The legacy .logo::before rule inserted a red square with the letter T before
   the actual logo image. Hide it so only the approved JIOPDF image is visible. */
.bar.site-header .logo::before,
.site-header .logo::before,
.logo::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bar.site-header .logo .brand-logo-img,
.site-header .logo .brand-logo-img,
.logo .brand-logo-img {
  display: block !important;
  width: 190px;
  height: auto !important;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.bar.site-header .logo,
.site-header .logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}
@media (max-width: 700px) {
  .bar.site-header .logo .brand-logo-img,
  .site-header .logo .brand-logo-img,
  .logo .brand-logo-img { width: 145px; max-height: 48px; }
}


/* JIOPDF readability update v26 for individual tool pages */
body{font-size:16px;line-height:1.65}
.bar{font-size:15px}
.logo{font-size:25px}
.back{font-size:15px}
.wrap h1{font-size:clamp(32px,5vw,46px);line-height:1.2}
.lead{font-size:16px;line-height:1.75}
.kicker{font-size:12px;letter-spacing:1.5px}
.panel{padding:26px}
.panel label{font-size:14px;line-height:1.5}
.panel input:not([type=file]),.panel textarea,.panel select{font-size:15px;line-height:1.5;padding:13px}
.panel input[type=file]{font-size:14px}
.btn{font-size:14px;min-height:44px;padding:13px 18px}
.result{font-size:15px;line-height:1.65}
.stat{font-size:13px;line-height:1.5}
.stat b{font-size:20px}
.note{font-size:14px;line-height:1.75}
.foot{font-size:13px;line-height:1.6}
@media(max-width:600px){
 .bar{font-size:14px}
 .logo{font-size:22px}
 .wrap{padding-left:16px;padding-right:16px}
 .wrap h1{font-size:clamp(29px,8vw,36px)}
 .lead{font-size:15px}
 .panel{padding:18px}
 .panel label{font-size:14px}
 .panel input:not([type=file]),.panel textarea,.panel select{font-size:16px}
 .btn{font-size:15px;width:auto;max-width:100%}
 .note{font-size:13px}
}


/* JIOPDF worldwide language selector */
.jiopdf-language-wrap{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 10px;border:1px solid #e1e5ed;border-radius:11px;background:#fff;color:#172033;white-space:nowrap;flex-shrink:0;margin-right:10px;font:inherit;}
.jiopdf-language-globe{font-size:18px;line-height:1;color:#ef3038;}
.jiopdf-language-wrap select{max-width:135px;border:0;outline:0;background:transparent;color:#172033;font-size:13px;font-weight:600;font-family:inherit;line-height:1.2;cursor:pointer;padding:7px 2px;}
.jiopdf-language-wrap:focus-within{border-color:#ef3038;box-shadow:0 0 0 3px rgba(239,48,56,.10);}
#jiopdf-google-translate{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
.goog-te-banner-frame,.goog-te-banner-frame.skiptranslate{display:none!important;}body{top:0!important;}
@media(max-width:760px){.jiopdf-language-wrap{min-height:36px;margin-right:6px;padding:0 7px;gap:4px}.jiopdf-language-wrap select{max-width:100px;font-size:12px}.header-actions{gap:6px;}}
@media(max-width:430px){.jiopdf-language-wrap select{max-width:84px}.jiopdf-language-globe{font-size:16px}}


/* JioPDF brand tagline: tiny, centered directly beneath the logo */
.site-header a.logo, header.bar a.logo { flex-direction: column; align-items: center; justify-content: center; gap: 0; text-decoration: none; }
.brand-tagline { display: block; align-self: center; margin-top: -3px; font-family: inherit; font-size: 9px; line-height: 1.1; font-weight: 700; letter-spacing: .15px; text-transform: none; color: #EF3038; white-space: nowrap; }
@media (max-width: 700px) { .brand-tagline { font-size: 8px; letter-spacing: 0; } }


/* JioPDF tagline placement fix v41: tagline sits directly UNDER the logo, not beside it. */
.site-header a.logo, .site-header .logo, header.bar a.logo, .bar.site-header .logo {
  display: inline-flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0 !important; line-height: normal !important;
}
.site-header a.logo > .brand-logo-img, .site-header .logo > .brand-logo-img, header.bar a.logo > .brand-logo-img, .bar.site-header .logo > .brand-logo-img {
  display: block !important; flex: 0 0 auto !important; width: 190px !important; height: 62px !important; max-height: 62px !important; object-fit: contain !important; object-position: center center !important;
}
.site-header a.logo > .brand-tagline, .site-header .logo > .brand-tagline, header.bar a.logo > .brand-tagline, .bar.site-header .logo > .brand-tagline {
  display: block !important; position: static !important; align-self: center !important; margin: -5px 0 0 !important; padding: 0 !important; font-size: 9px !important; line-height: 1.1 !important; font-weight: 700 !important; letter-spacing: .15px !important; color: #EF3038 !important; white-space: nowrap !important; text-transform: none !important;
}
@media (max-width: 700px) {
 .site-header a.logo > .brand-logo-img, .site-header .logo > .brand-logo-img, header.bar a.logo > .brand-logo-img, .bar.site-header .logo > .brand-logo-img { width: 145px !important; height: 48px !important; max-height: 48px !important; }
 .site-header a.logo > .brand-tagline, .site-header .logo > .brand-tagline, header.bar a.logo > .brand-tagline, .bar.site-header .logo > .brand-tagline { font-size: 8px !important; margin-top: -4px !important; }
}

/* JioPDF v42: tagline sits directly below the JioPDF wordmark, not beside the logo */
.site-header a.logo, .site-header .logo, header.bar a.logo, .bar.site-header .logo {
  display:flex !important; flex-direction:column !important; align-items:flex-start !important;
  justify-content:center !important; gap:0 !important; line-height:normal !important;
  flex:0 0 auto !important; white-space:nowrap !important;
}
.site-header a.logo > .brand-logo-img, .site-header .logo > .brand-logo-img, header.bar a.logo > .brand-logo-img, .bar.site-header .logo > .brand-logo-img {
  display:block !important; width:220px !important; height:62px !important; max-height:62px !important;
  object-fit:contain !important; object-position:left center !important;
}
.site-header a.logo > .brand-tagline, .site-header .logo > .brand-tagline, header.bar a.logo > .brand-tagline, .bar.site-header .logo > .brand-tagline {
  display:block !important; align-self:flex-start !important; margin: -13px 0 0 91px !important;
  padding:0 !important; color:#EF3038 !important; font-family:Arial, sans-serif !important;
  font-size:9px !important; line-height:1.1 !important; font-weight:700 !important;
  letter-spacing:.1px !important; text-transform:none !important; white-space:nowrap !important;
}
@media(max-width:700px) {
 .site-header a.logo > .brand-logo-img, .site-header .logo > .brand-logo-img, header.bar a.logo > .brand-logo-img, .bar.site-header .logo > .brand-logo-img { width:175px !important; height:49px !important; max-height:49px !important; }
 .site-header a.logo > .brand-tagline, .site-header .logo > .brand-tagline, header.bar a.logo > .brand-tagline, .bar.site-header .logo > .brand-tagline { margin-top:-10px !important; margin-left:73px !important; font-size:8px !important; }
}


/* v55: prevent unwanted horizontal scrolling on phones and desktop */
html { max-width: 100%; overflow-x: clip; }
body { width: 100%; max-width: 100%; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
table { max-width: 100%; }

/* JIOPDF v148: prevent header tagline clipping on homepage and tool pages */
.site-header a.logo, header.site-header > a.logo, header.bar a.logo { height: auto !important; min-height: 78px !important; padding: 3px 0 6px !important; overflow: visible !important; box-sizing: content-box !important; }
.site-header a.logo > .brand-tagline, header.site-header > a.logo > .brand-tagline, header.bar a.logo > .brand-tagline { display: block !important; position: static !important; height: auto !important; min-height: 11px !important; margin: 1px 0 2px !important; padding: 1px 0 2px !important; line-height: 1.35 !important; overflow: visible !important; white-space: nowrap !important; }
@media (max-width: 700px) { .site-header a.logo, header.site-header > a.logo, header.bar a.logo { min-height: 65px !important; padding-bottom: 4px !important; } .site-header a.logo > .brand-tagline, header.site-header > a.logo > .brand-tagline, header.bar a.logo > .brand-tagline { margin-top: 1px !important; line-height: 1.35 !important; } }


/* v199 final site-header branding removal */
header.site-header > a.logo, header.site-header > a.jiopdf-brand-lockup, header.bar > a.logo, header.bar > a.jiopdf-brand-lockup, header .brand-logo-img, header .brand-tagline, header .logo-tagline, header .site-logo, header .header-logo, header .brand-lockup { display:none !important; visibility:hidden !important; width:0 !important; height:0 !important; margin:0 !important; padding:0 !important; }

/* v202 global branding removal fallback */
html body header a.logo, html body header .logo, html body header .brand-logo-img, html body header .jiopdf-brand-lockup, html body header [class*="tagline"], html body header img[alt*="JioPDF" i], html body header img[src*="logo" i], html body footer .logo, html body footer [class*="tagline"], html body #jioUploadStage .jio-upload-logo, html body #jioUploadStage [class*="tagline"] { display:none !important; visibility:hidden !important; opacity:0 !important; width:0 !important; height:0 !important; margin:0 !important; padding:0 !important; overflow:hidden !important; background-image:none !important; }

/* v221: ensure language selector uses a real globe icon, not the legacy target glyph */
.jiopdf-language-globe{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;font-size:0!important;line-height:0!important;color:#ef3038!important;flex:0 0 18px!important}
.jiopdf-language-globe svg{display:block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;stroke:currentColor!important;visibility:visible!important;opacity:1!important}

/* v222: compact translation/language icon */
.jiopdf-language-globe{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;font-size:0!important;line-height:0!important;color:#ef3038!important;flex:0 0 20px!important}
.jiopdf-language-globe svg{display:block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;stroke:currentColor!important;visibility:visible!important;opacity:1!important}


/* v223: mobile language control — make the native select the full clickable surface */
.jiopdf-language-wrap{position:relative;isolation:isolate;overflow:hidden;touch-action:manipulation;cursor:pointer}
.jiopdf-language-globe{position:relative;z-index:1;pointer-events:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px}
.jiopdf-language-globe svg{pointer-events:none}
.jiopdf-language-wrap select{position:absolute!important;inset:0!important;z-index:5!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;min-width:100%!important;margin:0!important;padding:0!important;opacity:.015!important;cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-appearance:none!important;appearance:none!important}
@media(max-width:760px){
  .jiopdf-language-wrap{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:0!important;margin-right:6px!important;gap:0!important;justify-content:center!important;flex:0 0 44px!important;z-index:10020!important}
  .jiopdf-language-globe{width:22px!important;height:22px!important;flex-basis:22px!important}
  .jiopdf-language-globe svg{width:22px!important;height:22px!important}
  .jiopdf-language-wrap select{font-size:16px!important}
}


/* JIOPDF categorized tools directory — positioned immediately above the site footer */
.jio-footer-tools{width:100%;box-sizing:border-box;padding:20px 16px 16px;margin:24px auto 0;background:#fff;color:#30313b;font-family:inherit}
.jio-footer-tools *{box-sizing:border-box}
.jio-footer-tools .jft-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 20px;max-width:1800px;margin:0 auto}
.jio-footer-tools .jft-group{min-width:0}
.jio-footer-tools h2{font-size:13px;line-height:1.35;letter-spacing:.45px;font-weight:800;color:#777d8c;margin:0 0 13px;text-transform:uppercase;white-space:normal}
.jio-footer-tools .jft-links{display:flex;flex-direction:column;gap:5px}
.jio-footer-tools .jft-link{display:flex;align-items:center;gap:9px;min-height:37px;padding:5px 7px;border-radius:8px;color:#30313b;text-decoration:none;font-size:13px;line-height:1.35;font-weight:650;overflow-wrap:normal;word-break:normal;hyphens:manual;transition:background .15s,color .15s}
.jio-footer-tools .jft-link:hover,.jio-footer-tools .jft-link:focus-visible{background:#fff0f1;color:#f12d35;outline:none}
.jio-footer-tools .jft-icon{width:27px;height:27px;min-width:27px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:800;letter-spacing:-.2px}
.jio-footer-tools .jft-green{background:#5da66b}.jio-footer-tools .jft-blue{background:#527fce}.jio-footer-tools .jft-yellow{background:#eab71d}.jio-footer-tools .jft-purple{background:#9861c1}.jio-footer-tools .jft-orange{background:#fa7054}.jio-footer-tools .jft-plain{background:transparent;color:#30313b}
@media(max-width:1350px){.jio-footer-tools .jft-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}}
@media(max-width:760px){.jio-footer-tools{padding:18px 12px 12px;margin-top:18px}.jio-footer-tools .jft-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.jio-footer-tools h2{font-size:11px;margin-bottom:8px}.jio-footer-tools .jft-link{font-size:12px;gap:7px;padding:4px 3px;min-height:34px}.jio-footer-tools .jft-icon{width:25px;height:25px;min-width:25px;font-size:10px}}
@media(max-width:360px){.jio-footer-tools .jft-grid{grid-template-columns:minmax(0,1fr)}}


/* JIOPDF v241: footer tools layout and natural word wrapping, all pages */
html body .jio-footer-tools .jft-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-flow:row !important;
  align-items:start !important;
  gap:22px 20px !important;
  width:100% !important;
  max-width:100% !important;
  overflow:visible !important;
}
html body .jio-footer-tools .jft-group{min-width:0 !important;width:auto !important;max-width:100% !important;}
html body .jio-footer-tools .jft-links{display:flex !important;flex-direction:column !important;min-width:0 !important;gap:5px !important;}
html body .jio-footer-tools a.jft-link{
  display:flex !important;align-items:center !important;gap:9px !important;
  min-width:0 !important;max-width:100% !important;
  white-space:normal !important;overflow-wrap:normal !important;
  word-break:normal !important;hyphens:manual !important;
  font-size:13px !important;line-height:1.35 !important;
}
html body .jio-footer-tools a.jft-link span:not(.jft-icon){
  min-width:0 !important;flex:1 1 auto !important;
  white-space:normal !important;overflow-wrap:normal !important;
  word-break:normal !important;word-wrap:normal !important;
  hyphens:manual !important;
}
@media(max-width:1350px){
  html body .jio-footer-tools .jft-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:20px 16px !important;}
}
@media(max-width:760px){
  html body .jio-footer-tools .jft-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:18px 10px !important;}
  html body .jio-footer-tools a.jft-link{font-size:12px !important;gap:7px !important;padding:4px 3px !important;}
}
@media(max-width:360px){
  html body .jio-footer-tools .jft-grid{grid-template-columns:minmax(0,1fr) !important;}
}


/* JIOPDF v491: WCAG AA contrast for shared tool-directory icons.
   Preserve existing icon geometry and glyphs; darken backgrounds for readable white text. */
.jio-footer-tools .jft-green { background:#287a43 !important; color:#fff !important; }
.jio-footer-tools .jft-blue { background:#2457a6 !important; color:#fff !important; }
.jio-footer-tools .jft-yellow { background:#805400 !important; color:#fff !important; }
.jio-footer-tools .jft-purple { background:#68409a !important; color:#fff !important; }
.jio-footer-tools .jft-orange { background:#a83d20 !important; color:#fff !important; }
.jio-footer-tools .jft-plain { color:#30313b !important; }


/* JIOPDF v492: final shared footer text contrast polish (no layout or component changes). */
.jio-footer-tools h2 { color:#596273 !important; }
.jio-footer-tools .jft-link:hover,
.jio-footer-tools .jft-link:focus-visible { color:#b42318 !important; }
.jio-footer-tools .jft-link:focus-visible { outline:2px solid #2457a6 !important; outline-offset:2px !important; }
