
/* 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}
}
