
/* iPDF 1.6.4 — shared standalone header */
.standalone-app-header{position:sticky!important;top:0;z-index:220!important;width:100%;min-height:76px!important}.standalone-brand-link{text-decoration:none!important}.standalone-header-actions{min-width:0}.standalone-account-button{cursor:pointer}.standalone-language-switcher{z-index:260}.standalone-tools-layer{position:fixed;inset:0;z-index:500}.standalone-tools-backdrop{position:absolute;inset:0;background:rgba(3,6,10,.72);backdrop-filter:blur(7px)}.standalone-tools-panel{position:absolute;top:0;right:0;width:min(420px,94vw);height:100%;display:flex;flex-direction:column;background:linear-gradient(165deg,#151a22,#090c11 72%,#4c0713);border-left:1px solid rgba(255,255,255,.12);box-shadow:-24px 0 60px rgba(0,0,0,.42);color:#fff}.standalone-tools-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid rgba(255,255,255,.12)}.standalone-tools-title{display:flex;align-items:center;gap:12px}.standalone-tools-title img{width:50px;height:50px;border-radius:15px}.standalone-tools-title span{display:block;color:#ff5b73;font-size:11px;font-weight:950;letter-spacing:.15em;text-transform:uppercase}.standalone-tools-title h2{margin:3px 0 0;font-size:26px;line-height:1}.standalone-tools-head>button{width:50px;height:50px;border:0;border-radius:16px;background:#20262f;color:#fff;font-size:32px}.standalone-tools-scroll{overflow:auto;padding:15px 16px 40px}.standalone-menu-direct,.standalone-menu-group-head,.standalone-menu-group-body a{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:11px 13px;border:1px solid rgba(255,255,255,.10);border-radius:17px;background:rgba(255,255,255,.045);color:#f5f7fa;text-decoration:none;text-align:left}.standalone-menu-direct{margin-bottom:9px}.standalone-menu-direct>span,.standalone-menu-group-head>span,.standalone-menu-group-body a>span{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#ef2040,#8e091b);font-size:14px;font-weight:950}.standalone-menu-group{margin:10px 0}.standalone-menu-group-head{border:0;cursor:pointer;font:inherit}.standalone-menu-group-head strong{flex:1;font-size:16px}.standalone-menu-group-head i{font-style:normal;font-size:18px;transition:.2s}.standalone-menu-group.open .standalone-menu-group-head i{transform:rotate(180deg)}.standalone-menu-group-body{display:grid;gap:7px;max-height:0;overflow:hidden;opacity:0;transition:max-height .28s ease,opacity .2s ease,padding .2s ease}.standalone-menu-group.open .standalone-menu-group-body{max-height:900px;opacity:1;padding-top:8px}.standalone-menu-group-body a{min-height:52px;padding:8px 10px;background:rgba(255,255,255,.035)}.standalone-menu-group-body a>span{flex-basis:34px;width:34px;height:34px;border-radius:11px;background:#242b35;color:#ff6680}.standalone-menu-group-body a strong{font-size:14px}.standalone-menu-open{overflow:hidden}.standalone-app-header .language-picker-menu{max-height:min(70vh,620px)}
html[data-theme="light"] .standalone-tools-panel{background:linear-gradient(160deg,#fff,#f4f6f9 76%,#fff0f3);color:#171c24;border-left-color:#dce1e7}.standalone-tools-panel .standalone-menu-direct,.standalone-tools-panel .standalone-menu-group-head,.standalone-tools-panel .standalone-menu-group-body a{color:inherit}html[data-theme="light"] .standalone-menu-direct,html[data-theme="light"] .standalone-menu-group-head,html[data-theme="light"] .standalone-menu-group-body a{background:#fff;border-color:#dce2e9}html[data-theme="light"] .standalone-tools-head>button{background:#171c24;color:#fff}
@media(max-width:720px){.standalone-app-header{min-height:70px!important;padding-left:10px!important;padding-right:10px!important}.standalone-app-header .brand-symbol-shell{width:46px!important;height:46px!important}.standalone-app-header .brand-symbol-image{width:42px!important;height:42px!important}.standalone-app-header .brand-copy small{display:none!important}.standalone-app-header .brand-copy strong{font-size:18px!important}.standalone-header-actions{gap:5px!important}.standalone-app-header .language-picker-button{min-width:74px!important;height:42px!important;padding:0 9px!important}.standalone-app-header .theme-header-button,.standalone-app-header .account-button,.standalone-app-header .tools-menu-button{width:44px!important;min-width:44px!important;height:44px!important}.standalone-account-button>span:last-child{display:none!important}.standalone-app-header .account-avatar{margin:0!important}.standalone-tools-panel{width:min(390px,96vw)}}
@media(max-width:420px){.standalone-app-header .brand-copy strong{font-size:16px!important}.standalone-app-header .language-current-flag{font-size:16px!important}.standalone-app-header .language-picker-button{min-width:66px!important}.standalone-app-header .brand-button{gap:6px!important}.standalone-app-header .brand-symbol-shell{width:42px!important;height:42px!important}.standalone-app-header .brand-symbol-image{width:38px!important;height:38px!important}}


/* iPDF 1.6.4 — back control and mobile appbar on Audio/Video pages */
.standalone-back-row{width:min(980px,100%);margin:0 auto;padding:14px 16px 0}
.standalone-back-button{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:7px 14px 7px 8px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:linear-gradient(145deg,#20262f,#0b0e13);color:#fff;font:inherit;font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.18);cursor:pointer}
.standalone-back-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:linear-gradient(145deg,#ef2242,#99091d)}
.standalone-back-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="light"] .standalone-back-button{border-color:#d9dfe7;background:#fff;color:#171c24;box-shadow:0 10px 24px rgba(20,29,40,.08)}
.standalone-mobile-appbar .mobile-nav-item{text-decoration:none!important}
.standalone-mobile-appbar .mobile-nav-item>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(max-width:760px){
  body.audio-standalone,body.video-standalone{padding-bottom:calc(var(--appbar-height,68px) + env(safe-area-inset-bottom))!important}
  .standalone-back-row{padding:10px 12px 0}
  .standalone-back-button{min-height:43px;padding:6px 12px 6px 7px;border-radius:14px}
  .standalone-back-icon{width:30px;height:30px}
  .standalone-mobile-appbar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;width:100%!important;min-height:var(--appbar-height,68px)!important;margin:0!important;padding:5px 4px calc(5px + env(safe-area-inset-bottom))!important;z-index:360!important;overflow:hidden!important}
  .standalone-mobile-appbar .mobile-nav-item{font-size:8.5px!important;gap:2px!important;padding:4px 1px!important;border-radius:11px!important;color:#abb2bc!important}
  .standalone-mobile-appbar .mobile-nav-icon{min-width:24px!important;width:24px!important;height:24px!important;padding:0!important;border-radius:8px!important}
  .standalone-mobile-appbar .svg-nav-icon svg{width:19px!important;height:19px!important}
  .audio-page-shell,.video-page-shell{padding-bottom:calc(var(--appbar-height,68px) + 30px + env(safe-area-inset-bottom))!important}
  .audio-toast{bottom:calc(var(--appbar-height,68px) + 14px + env(safe-area-inset-bottom))!important}
}


/* iPDF 1.6.5 — restore vertical scrolling on standalone Audio/Video pages */
@media(max-width:760px){
  html{
    width:100%!important;
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-x:none!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.audio-standalone,
  body.video-standalone{
    width:100%!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    display:block!important;
    position:relative!important;
    padding:0 0 calc(var(--appbar-height,68px) + env(safe-area-inset-bottom))!important;
    overscroll-behavior-x:none!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.audio-standalone.standalone-menu-open,
  body.video-standalone.standalone-menu-open{
    overflow:hidden!important;
    height:100dvh!important;
  }
  .audio-page-shell,
  .video-page-shell,
  .audio-tool-workspace,
  .video-tool-workspace,
  #universalToolsView{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    touch-action:pan-y!important;
  }
  .audio-page-shell,
  .video-page-shell{
    padding-bottom:calc(var(--appbar-height,68px) + 34px + env(safe-area-inset-bottom))!important;
  }
  .standalone-mobile-appbar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
  }
}


/* ================================================================
   iPDF 1.6.7 — standalone Audio/Video visual + scroll correction
   ================================================================ */
.standalone-back-row{width:min(1180px,100%);padding:14px 14px 0!important}
.standalone-back-button.back-button{
  display:grid!important;place-items:center!important;
  width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
  padding:0!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:18px!important;
  background:linear-gradient(145deg,#1b2027,#050608)!important;color:#fff!important;
  box-shadow:0 16px 30px rgba(0,0,0,.22)!important;
}
.standalone-back-button .standalone-back-icon{
  display:grid!important;place-items:center!important;width:30px!important;height:30px!important;
  border-radius:999px!important;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02))!important;
}
.standalone-back-button .standalone-back-icon svg{width:18px!important;height:18px!important;stroke:#fff!important;stroke-width:2.4!important}
.standalone-back-button:active{transform:scale(.98)!important}
html[data-theme="light"] .standalone-back-button.back-button{
  background:linear-gradient(145deg,#1b2027,#050608)!important;color:#fff!important;
  border-color:rgba(18,24,33,.12)!important;box-shadow:0 14px 28px rgba(22,30,42,.18)!important;
}

/* Day mode: no dark content cards on audio/video pages. */
html[data-theme="light"] body.audio-standalone,
html[data-theme="light"] body.video-standalone{
  background:
    linear-gradient(180deg,#f8fafc 0%,#eef2f6 64%,#f8e9ed 100%)!important;
  color:#171c24!important;
}
html[data-theme="light"] .audio-page-intro,
html[data-theme="light"] .video-page-intro{
  background:
    linear-gradient(145deg,rgba(255,255,255,.99),rgba(247,249,252,.99) 72%,rgba(255,235,240,.99))!important;
  border-color:#dbe1e8!important;color:#171c24!important;
  box-shadow:0 17px 38px rgba(21,30,43,.09)!important;
}
html[data-theme="light"] .audio-page-intro h1,
html[data-theme="light"] .video-page-intro h1{color:#171c24!important}
html[data-theme="light"] .audio-page-intro p,
html[data-theme="light"] .video-page-intro p{color:#5d6876!important}
html[data-theme="light"] .audio-local-note{
  background:linear-gradient(145deg,#ffffff,#f8eef1)!important;
  border:1px solid #e3d8dd!important;color:#4d5866!important;
}
html[data-theme="light"] .audio-tool-nav a,
html[data-theme="light"] .video-tool-nav a{
  background:linear-gradient(145deg,#ffffff,#f3f6f9)!important;
  border-color:#d6dde5!important;color:#303946!important;
  box-shadow:0 7px 17px rgba(20,29,41,.06)!important;
}
html[data-theme="light"] .audio-tool-nav a.active,
html[data-theme="light"] .video-tool-nav a.active{
  background:linear-gradient(145deg,#f22646,#a20a20)!important;
  border-color:#c91734!important;color:#fff!important;
}
html[data-theme="light"] .audio-tool-workspace .universal-tool-hero,
html[data-theme="light"] .video-tool-workspace .universal-tool-hero{
  background:linear-gradient(145deg,#ffffff,#f6f8fb 72%,#fff0f3)!important;
  color:#171c24!important;border-color:#dbe1e8!important;
  box-shadow:0 16px 36px rgba(20,29,42,.08)!important;
}
html[data-theme="light"] .audio-tool-workspace .universal-tool-hero h1,
html[data-theme="light"] .video-tool-workspace .universal-tool-hero h1,
html[data-theme="light"] .audio-tool-workspace .ut-panel-title h2,
html[data-theme="light"] .video-tool-workspace .ut-panel-title h2,
html[data-theme="light"] .audio-tool-workspace .ut-drop strong,
html[data-theme="light"] .video-tool-workspace .ut-drop strong{color:#171c24!important}
html[data-theme="light"] .audio-tool-workspace .universal-tool-hero p,
html[data-theme="light"] .video-tool-workspace .universal-tool-hero p{color:#5f6a78!important}
html[data-theme="light"] .audio-tool-workspace .universal-tool-local-note,
html[data-theme="light"] .video-tool-workspace .universal-tool-local-note{
  background:#fff!important;border-color:#e0e5eb!important;color:#4f5966!important;
}
html[data-theme="light"] .audio-tool-workspace .ut-panel,
html[data-theme="light"] .video-tool-workspace .ut-panel{
  background:linear-gradient(145deg,#ffffff,#f6f8fb)!important;
  border-color:#dbe1e8!important;color:#171c24!important;
  box-shadow:0 14px 30px rgba(24,33,46,.08)!important;
}
html[data-theme="light"] .audio-tool-workspace .ut-drop,
html[data-theme="light"] .video-tool-workspace .ut-drop{
  background:linear-gradient(145deg,#ffffff,#f7f9fc)!important;
  border-color:#aeb8c4!important;color:#171c24!important;
}
html[data-theme="light"] .video-preview-shell{background:#f2f5f8!important;border-color:#d4dbe4!important}
html[data-theme="light"] .audio-page-footer{border-color:#d9e0e7!important}
html[data-theme="light"] .audio-page-footer a{color:#4e5967!important}

/* Standalone pages scroll on the document itself; appbar stays fixed. */
html{
  width:100%!important;height:auto!important;min-height:100%!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior-x:none!important;overscroll-behavior-y:auto!important;
  touch-action:pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch!important;
}
body.audio-standalone,body.video-standalone{
  width:100%!important;height:auto!important;min-height:100dvh!important;max-height:none!important;
  position:relative!important;display:block!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior-x:none!important;overscroll-behavior-y:auto!important;
  touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;
  padding-bottom:calc(var(--appbar-height,68px) + 28px + env(safe-area-inset-bottom))!important;
}
body.audio-standalone.standalone-menu-open,body.video-standalone.standalone-menu-open{
  height:100dvh!important;overflow:hidden!important;touch-action:none!important;
}
.audio-page-shell,.video-page-shell,.audio-tool-workspace,.video-tool-workspace,
.audio-tool-workspace #universalToolsView,.video-tool-workspace #universalToolsView,
body.audio-standalone #universalToolsView,body.video-standalone #universalToolsView{
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;touch-action:pan-y!important;
}
.audio-page-shell,.video-page-shell{
  padding-bottom:calc(var(--appbar-height,68px) + 44px + env(safe-area-inset-bottom))!important;
}
.standalone-mobile-appbar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:500!important}

@media(max-width:760px){
  .standalone-back-row{padding:10px 10px 0!important}
  .standalone-back-button.back-button{width:54px!important;height:54px!important;min-height:54px!important}
}


/* ================================================================
   iPDF 1.6.9 — shared pro footer on standalone media pages
   ================================================================ */
.ipdf-site-footer{display:grid;gap:16px;margin-top:22px;padding:22px;border-radius:24px;background:linear-gradient(145deg,#151a21,#262d37 70%,#181d26);color:#fff;border:1px solid rgba(255,255,255,.05);box-shadow:0 16px 34px rgba(10,14,20,.18)}
.ipdf-site-footer-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ipdf-site-footer-brand{display:flex;align-items:center;gap:12px;min-width:0}.ipdf-site-footer-brand img{width:52px;height:52px;border-radius:16px;object-fit:contain;background:#fff;padding:4px}.ipdf-site-footer-brand strong{display:block;font-size:18px;line-height:1.1}.ipdf-site-footer-brand small{display:block;margin-top:4px;color:#b5bdc8;line-height:1.45}
.ipdf-site-footer-mail{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;text-decoration:none;font-weight:900;color:#fff;background:linear-gradient(180deg,#ff3150,#9f091f);box-shadow:0 14px 28px rgba(197,17,44,.24)}
.ipdf-site-footer-links{display:flex;flex-wrap:wrap;gap:9px}.ipdf-site-footer-links a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border-radius:13px;text-decoration:none;font-weight:850;font-size:13px;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.ipdf-site-footer-meta{display:flex;flex-wrap:wrap;gap:10px 16px;color:#aab4c0;font-size:13px}
html[data-theme="light"] .ipdf-site-footer{background:linear-gradient(145deg,#ffffff,#f6f8fb 72%,#fff0f3)!important;color:#171c24!important;border-color:#d9e0e7!important;box-shadow:0 16px 34px rgba(20,29,42,.08)!important}
html[data-theme="light"] .ipdf-site-footer-brand small,html[data-theme="light"] .ipdf-site-footer-meta{color:#5f6a78!important}
html[data-theme="light"] .ipdf-site-footer-links a{background:linear-gradient(145deg,#ffffff,#f3f6f9)!important;border-color:#d6dde5!important;color:#2f3946!important}
@media(max-width:560px){.ipdf-site-footer{padding:18px;border-radius:20px}.ipdf-site-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ipdf-site-footer-links a{text-align:center}.ipdf-site-footer-mail{width:100%}.ipdf-site-footer-meta{display:grid;gap:6px}}
