
/* ZENMARK homepage final isolated CSS */
body.home-simple-page{
  margin:0!important;min-height:100vh!important;
  font-family:"Manrope","Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  background:radial-gradient(circle at 0 0,rgba(255,220,150,.22),transparent 300px),radial-gradient(circle at 100% 0,rgba(97,128,255,.12),transparent 380px),#edf3fb!important;
  color:#0c1830!important;
}
html[data-upd-theme="dark"] body.home-simple-page,html.theme-dark body.home-simple-page{
  background:radial-gradient(circle at 0 0,rgba(255,205,107,.08),transparent 300px),radial-gradient(circle at 100% 0,rgba(108,139,255,.14),transparent 380px),#0a0c12!important;color:#eef1f8!important;
}
.home-simple-app{width:100%!important;max-width:1120px!important;margin:0 auto!important;padding:18px 12px 42px!important}
.home-simple-topbar{width:100%!important;margin:0 auto 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;position:sticky!important;top:12px!important;z-index:30!important;padding:9px 10px 9px 14px!important;border-radius:999px!important;background:#fff!important;border:1px solid #d7e2f1!important;box-shadow:0 1px 0 rgba(15,23,42,.03),0 4px 10px -6px rgba(15,23,42,.12)!important}
html[data-upd-theme="dark"] .home-simple-topbar,html.theme-dark .home-simple-topbar{background:#12151e!important;border-color:#252a38!important}
.home-simple-logo{display:inline-flex!important;align-items:center!important;gap:10px!important;color:#0c1830!important;text-decoration:none!important;font-weight:900!important;letter-spacing:.14em!important;line-height:1!important}
html[data-upd-theme="dark"] .home-simple-logo,html.theme-dark .home-simple-logo{color:#eef1f8!important}
.home-simple-logo span{width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#101527,#3e5c8f)!important;color:#fff!important;letter-spacing:0!important;font-size:14px!important}
.home-simple-logo b{font-size:13px!important;white-space:nowrap!important}
.home-simple-nav{display:flex!important;gap:4px!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.home-simple-nav a{color:#3f4b63!important;text-decoration:none!important;font-weight:700!important;border:1px solid transparent!important;border-radius:999px!important;padding:8px 13px!important;font-size:13px!important;line-height:1!important;background:transparent!important}
.home-simple-nav a:hover{background:#f7f8fb!important;border-color:#d7e2f1!important;color:#0c1830!important}
html[data-upd-theme="dark"] .home-simple-nav a,html.theme-dark .home-simple-nav a{color:#c3cadd!important}
html[data-upd-theme="dark"] .home-simple-nav a:hover,html.theme-dark .home-simple-nav a:hover{background:#161a24!important;border-color:#343b4d!important;color:#eef1f8!important}
.home-theme-toggle{border:1px solid #d7e2f1!important;background:#f7f8fb!important;width:36px!important;height:36px!important;border-radius:999px!important;display:grid!important;place-items:center!important;cursor:pointer!important;color:#0c1830!important;margin-left:4px!important;box-shadow:none!important;flex:none!important;padding:0!important}
html[data-upd-theme="dark"] .home-theme-toggle,html.theme-dark .home-theme-toggle{background:#161a24!important;border-color:#252a38!important;color:#eef1f8!important}
.home-theme-toggle svg{width:17px!important;height:17px!important;pointer-events:none!important}.home-theme-toggle .home-ico-sun{display:none!important}
html[data-upd-theme="dark"] .home-theme-toggle .home-ico-sun,html.theme-dark .home-theme-toggle .home-ico-sun{display:block!important}
html[data-upd-theme="dark"] .home-theme-toggle .home-ico-moon,html.theme-dark .home-theme-toggle .home-ico-moon{display:none!important}
.home-simple-intro{background:#fff!important;border:1px solid #d7e2f1!important;border-radius:18px!important;box-shadow:0 1px 0 rgba(15,23,42,.03),0 8px 16px -10px rgba(15,23,42,.16)!important;padding:30px!important;margin-bottom:16px!important}
html[data-upd-theme="dark"] .home-simple-intro,html[data-upd-theme="dark"] .home-simple-tool,html.theme-dark .home-simple-intro,html.theme-dark .home-simple-tool{background:#12151e!important;border-color:#252a38!important}
.home-simple-kicker{margin:0 0 10px!important;color:#3e5c8f!important;font-size:12px!important;letter-spacing:.22em!important;text-transform:uppercase!important;font-weight:900!important}
html[data-upd-theme="dark"] .home-simple-kicker,html.theme-dark .home-simple-kicker{color:#8ba0ff!important}
.home-simple-intro h1{max-width:780px!important;margin:0!important;font-size:clamp(34px,4vw,48px)!important;line-height:1.04!important;letter-spacing:-.05em!important;color:#0c1830!important}
.home-simple-intro p{max-width:760px!important;margin:14px 0 0!important;color:#53637a!important;font-size:15px!important;line-height:1.6!important;font-weight:700!important}
html[data-upd-theme="dark"] .home-simple-intro h1,html[data-upd-theme="dark"] .home-simple-tool h2,html.theme-dark .home-simple-intro h1,html.theme-dark .home-simple-tool h2{color:#eef1f8!important}
html[data-upd-theme="dark"] .home-simple-intro p,html[data-upd-theme="dark"] .home-simple-tool p,html.theme-dark .home-simple-intro p,html.theme-dark .home-simple-tool p{color:#8891a6!important}
.home-simple-tools{display:grid!important;gap:14px!important}
.home-simple-tool{display:grid!important;grid-template-columns:54px 1fr!important;gap:16px!important;align-items:flex-start!important;min-height:150px!important;padding:22px!important;background:#fff!important;border:1px solid #d7e2f1!important;border-radius:18px!important;box-shadow:0 1px 0 rgba(15,23,42,.03),0 8px 16px -10px rgba(15,23,42,.16)!important;color:#0c1830!important;text-decoration:none!important}
.home-simple-tool:hover{border-color:#a9bdd9!important}
.home-simple-tool span{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:14px!important;background:#eaf2ff!important;color:#4269a3!important;font-size:13px!important;font-weight:950!important}
.home-simple-tool h2{margin:0!important;font-size:24px!important;line-height:1.15!important;letter-spacing:-.025em!important;color:#0c1830!important}
.home-simple-tool p{max-width:790px!important;margin:8px 0 16px!important;color:#64738d!important;font-size:14px!important;line-height:1.55!important;font-weight:700!important}
.home-simple-tool em{color:#246bfe!important;font-style:normal!important;font-size:13px!important;font-weight:900!important}.home-simple-tool em:after{content:" →"!important}
.home-simple-tool:first-child{background:linear-gradient(135deg,#18325f,#246bfe)!important;border-color:#18325f!important}.home-simple-tool:first-child span{background:rgba(255,255,255,.16)!important;color:#fff!important}
.home-simple-tool:first-child h2,.home-simple-tool:first-child p,.home-simple-tool:first-child em{color:#fff!important}
.home-simple-footer{max-width:1120px!important;margin:0 auto!important;padding:0 12px 26px!important;display:flex!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;color:#64738d!important;font-size:12px!important;font-weight:700!important}
.home-simple-footer a{color:#4269a3!important;font-weight:900!important;text-decoration:none!important}
@media(max-width:820px){.home-simple-app{padding:12px 10px 32px!important}.home-simple-topbar{position:relative!important;top:auto!important;align-items:flex-start!important;border-radius:18px!important}.home-simple-nav{width:100%!important;justify-content:flex-start!important}.home-simple-intro,.home-simple-tool{padding:18px!important;border-radius:18px!important}.home-simple-tool{grid-template-columns:1fr!important}}


/* ZENMARK Public Mobile Header v1 */
@media(max-width:820px){
  .home-simple-app{
    padding:10px 8px 32px!important;
  }
  .home-simple-topbar{
    position:sticky!important;
    top:8px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px!important;
    grid-template-areas:"logo toggle" "nav nav"!important;
    align-items:center!important;
    gap:8px!important;
    margin:0 auto 12px!important;
    padding:9px!important;
    border-radius:16px!important;
    box-shadow:0 10px 30px rgba(28,48,82,.10)!important;
  }
  .home-simple-logo{
    grid-area:logo!important;
    min-width:0!important;
    min-height:38px!important;
    padding-right:4px!important;
  }
  .home-simple-logo span{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
  }
  .home-simple-logo b{
    font-size:14px!important;
    letter-spacing:.18em!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .home-theme-toggle{
    grid-area:toggle!important;
    position:static!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:13px!important;
    justify-self:end!important;
    padding:0!important;
  }
  .home-simple-nav{
    grid-area:nav!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    margin:0!important;
  }
  .home-simple-nav .mail{
    display:none!important;
  }
  .home-simple-nav a{
    min-height:36px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    border:1px solid #d7e2f1!important;
    background:#f8fbff!important;
    border-radius:12px!important;
    padding:7px 8px!important;
    font-size:12px!important;
    line-height:1.15!important;
    font-weight:900!important;
    color:#29364c!important;
  }
  html[data-upd-theme="dark"] .home-simple-nav a,
  html.theme-dark .home-simple-nav a{
    background:#161a24!important;
    border-color:#252a38!important;
    color:#eef1f8!important;
  }
  .home-simple-intro{
    padding:22px!important;
    border-radius:18px!important;
    margin-bottom:12px!important;
  }
  .home-simple-intro h1{
    font-size:clamp(32px,9.5vw,44px)!important;
    line-height:1.03!important;
  }
  .home-simple-intro p{
    font-size:15px!important;
    line-height:1.55!important;
  }
}
@media(max-width:420px){
  .home-simple-topbar{
    grid-template-columns:minmax(0,1fr) 36px!important;
    padding:8px!important;
    gap:7px!important;
  }
  .home-simple-logo span{
    width:36px!important;
    height:36px!important;
  }
  .home-theme-toggle{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
  }
  .home-simple-nav{
    gap:5px!important;
  }
  .home-simple-nav a{
    min-height:34px!important;
    font-size:11px!important;
    padding:6px 5px!important;
  }
  .home-simple-intro{
    padding:18px!important;
  }
}


/* ZENMARK Public Hamburger Header v2 */
.zpub-menu-btn{
  display:none;
}
@media(max-width:820px){
  html.zpub-menu-open{
    overflow-x:hidden;
  }

  .zpub-topbar{
    position:sticky!important;
    top:8px!important;
    z-index:80!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    grid-template-areas:"logo menu" "nav nav"!important;
    align-items:center!important;
    gap:0 10px!important;
    padding:10px!important;
    min-height:64px!important;
    overflow:visible!important;
  }

  .zpub-menu-btn{
    grid-area:menu!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:0!important;
    border:1px solid #d7e2f1!important;
    border-radius:14px!important;
    background:#f8fbff!important;
    color:#0c1830!important;
    box-shadow:none!important;
    cursor:pointer!important;
    position:relative!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  html[data-upd-theme="dark"] .zpub-menu-btn,
  html.theme-dark .zpub-menu-btn{
    background:#161a24!important;
    border-color:#252a38!important;
    color:#eef1f8!important;
  }
  .zpub-menu-btn span{
    position:absolute!important;
    left:11px!important;
    right:11px!important;
    height:2px!important;
    border-radius:999px!important;
    background:currentColor!important;
    transition:transform .22s ease, top .22s ease, opacity .16s ease!important;
  }
  .zpub-menu-btn span:nth-child(1){top:13px!important}
  .zpub-menu-btn span:nth-child(2){top:20px!important}
  .zpub-menu-btn span:nth-child(3){top:27px!important}

  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(1){
    top:20px!important;
    transform:rotate(45deg)!important;
  }
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(2){
    opacity:0!important;
  }
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(3){
    top:20px!important;
    transform:rotate(-45deg)!important;
  }

  .zpub-nav{
    grid-area:nav!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    width:100%!important;
    max-height:0!important;
    opacity:0!important;
    transform:translateY(-6px)!important;
    overflow:hidden!important;
    pointer-events:none!important;
    margin:0!important;
    padding:0!important;
    transition:max-height .28s ease, opacity .2s ease, transform .22s ease, padding-top .22s ease!important;
  }
  .zpub-topbar.is-open .zpub-nav{
    max-height:360px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    pointer-events:auto!important;
    padding-top:10px!important;
  }

  .zpub-nav a{
    width:100%!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:left!important;
    border-radius:12px!important;
    padding:10px 12px!important;
    font-size:14px!important;
    line-height:1.15!important;
    font-weight:900!important;
  }
  .zpub-nav a[href^="mailto:"],
  .zpub-nav .mail{
    display:none!important;
  }

  .zpub-nav button[id="themeToggle"]{
    width:100%!important;
    min-height:42px!important;
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:12px!important;
    margin:0!important;
  }
}
@media(max-width:420px){
  .zpub-topbar{
    grid-template-columns:minmax(0,1fr) 40px!important;
    padding:9px!important;
    min-height:60px!important;
    border-radius:15px!important;
  }
  .zpub-menu-btn{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:13px!important;
  }
  .zpub-nav a,
  .zpub-nav button[id="themeToggle"]{
    min-height:40px!important;
    height:40px!important;
    font-size:13px!important;
  }
}

@media(max-width:820px){
  .home-simple-logo{grid-area:logo!important;min-height:42px!important}
  .home-theme-toggle{position:static!important}
}


/* ZENMARK Public Mobile Drawer v3 — professional 2026 navigation */
@media(max-width:820px){
  html.zpub-menu-open{
    overflow-x:hidden;
  }

  .home-simple-app,
  .epstocsv-app,
  .upd-app,
  .chz-app{
    overflow:visible!important;
  }

  .zpub-topbar,
  .home-simple-topbar.zpub-topbar,
  .epstocsv-topbar.zpub-topbar,
  .upd-topbar.zpub-topbar,
  .chz-topbar.zpub-topbar,
  .chz-upd-style .chz-topbar.zpub-topbar{
    position:sticky!important;
    top:8px!important;
    z-index:100!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    grid-template-areas:"logo menu"!important;
    align-items:center!important;
    gap:10px!important;
    min-height:64px!important;
    padding:10px!important;
    overflow:visible!important;
    border-radius:18px!important;
  }

  .home-simple-logo,
  .epstocsv-logo,
  .upd-logo,
  .chz-logo{
    grid-area:logo!important;
    min-width:0!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
  }

  .home-simple-logo span,
  .epstocsv-logo span,
  .upd-logo span,
  .chz-logo span{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:13px!important;
  }

  .home-simple-logo b,
  .epstocsv-logo b,
  .upd-logo b,
  .chz-logo b{
    font-size:15px!important;
    letter-spacing:.2em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .zpub-menu-btn{
    grid-area:menu!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:0!important;
    border:1px solid #d7e2f1!important;
    border-radius:14px!important;
    background:rgba(248,251,255,.96)!important;
    color:#0c1830!important;
    box-shadow:0 8px 22px rgba(26,43,76,.08)!important;
    cursor:pointer!important;
    position:relative!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  html[data-upd-theme="dark"] .zpub-menu-btn,
  html.theme-dark .zpub-menu-btn{
    background:#161a24!important;
    border-color:#252a38!important;
    color:#eef1f8!important;
  }

  .zpub-menu-btn span{
    position:absolute!important;
    left:11px!important;
    right:11px!important;
    height:2px!important;
    border-radius:999px!important;
    background:currentColor!important;
    transition:transform .22s ease, top .22s ease, opacity .16s ease!important;
  }
  .zpub-menu-btn span:nth-child(1){top:13px!important}
  .zpub-menu-btn span:nth-child(2){top:20px!important}
  .zpub-menu-btn span:nth-child(3){top:27px!important}

  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(1){
    top:20px!important;
    transform:rotate(45deg)!important;
  }
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(2){
    opacity:0!important;
  }
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(3){
    top:20px!important;
    transform:rotate(-45deg)!important;
  }

  .zpub-nav,
  .home-simple-nav.zpub-nav,
  .epstocsv-nav.zpub-nav,
  .upd-nav.zpub-nav,
  .chz-nav.zpub-nav{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 8px)!important;
    z-index:101!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    margin:0!important;
    padding:8px!important;
    border:1px solid #d7e2f1!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 24px 70px rgba(16,30,58,.20)!important;
    backdrop-filter:blur(16px)!important;
    max-height:min(70vh,440px)!important;
    overflow:auto!important;
    opacity:0!important;
    transform:translateY(-10px) scale(.985)!important;
    pointer-events:none!important;
    visibility:hidden!important;
    transition:opacity .18s ease, transform .22s ease, visibility .18s ease!important;
  }

  html[data-upd-theme="dark"] .zpub-nav,
  html.theme-dark .zpub-nav,
  html[data-upd-theme="dark"] .home-simple-nav.zpub-nav,
  html.theme-dark .home-simple-nav.zpub-nav,
  html[data-upd-theme="dark"] .epstocsv-nav.zpub-nav,
  html.theme-dark .epstocsv-nav.zpub-nav,
  html[data-upd-theme="dark"] .upd-nav.zpub-nav,
  html.theme-dark .upd-nav.zpub-nav,
  html[data-upd-theme="dark"] .chz-nav.zpub-nav,
  html.theme-dark .chz-nav.zpub-nav{
    background:rgba(17,22,33,.98)!important;
    border-color:#252a38!important;
    box-shadow:0 24px 70px rgba(0,0,0,.38)!important;
  }

  .zpub-topbar.is-open .zpub-nav,
  .home-simple-topbar.zpub-topbar.is-open .home-simple-nav.zpub-nav,
  .epstocsv-topbar.zpub-topbar.is-open .epstocsv-nav.zpub-nav,
  .upd-topbar.zpub-topbar.is-open .upd-nav.zpub-nav,
  .chz-topbar.zpub-topbar.is-open .chz-nav.zpub-nav{
    opacity:1!important;
    transform:translateY(0) scale(1)!important;
    pointer-events:auto!important;
    visibility:visible!important;
  }

  .zpub-nav a,
  .home-simple-nav.zpub-nav a,
  .epstocsv-nav.zpub-nav a,
  .upd-nav.zpub-nav a,
  .chz-nav.zpub-nav a{
    width:100%!important;
    min-height:46px!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    text-align:left!important;
    border:1px solid #e0e7f2!important;
    background:#f8fbff!important;
    border-radius:13px!important;
    padding:12px 14px!important;
    color:#1f2b42!important;
    font-size:14px!important;
    line-height:1.16!important;
    font-weight:900!important;
    box-shadow:none!important;
  }

  .zpub-nav a::after,
  .home-simple-nav.zpub-nav a::after,
  .epstocsv-nav.zpub-nav a::after,
  .upd-nav.zpub-nav a::after,
  .chz-nav.zpub-nav a::after{
    content:"›";
    color:#8190a6;
    font-size:20px;
    line-height:1;
    font-weight:900;
  }

  .zpub-nav a.active,
  .home-simple-nav.zpub-nav a.active,
  .epstocsv-nav.zpub-nav a.active,
  .upd-nav.zpub-nav a.active,
  .chz-nav.zpub-nav a.active{
    background:#eef4ff!important;
    border-color:#c7d8f7!important;
    color:#244b9f!important;
  }

  html[data-upd-theme="dark"] .zpub-nav a,
  html.theme-dark .zpub-nav a{
    background:#171d2b!important;
    border-color:#263246!important;
    color:#eef1f8!important;
  }

  html[data-upd-theme="dark"] .zpub-nav a.active,
  html.theme-dark .zpub-nav a.active{
    background:#1a2544!important;
    border-color:#31436b!important;
    color:#9bb8ff!important;
  }

  .zpub-nav a[href^="mailto:"],
  .zpub-nav .mail{
    display:none!important;
  }

  .zpub-nav button[id="themeToggle"],
  .home-simple-nav.zpub-nav button[id="themeToggle"],
  .epstocsv-nav.zpub-nav button[id="themeToggle"],
  .upd-nav.zpub-nav button[id="themeToggle"],
  .chz-nav.zpub-nav button[id="themeToggle"]{
    position:static!important;
    grid-area:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #e0e7f2!important;
    border-radius:13px!important;
    background:#f8fbff!important;
    color:#1f2b42!important;
    box-shadow:none!important;
  }

  .zpub-nav button[id="themeToggle"]::before,
  .home-simple-nav.zpub-nav button[id="themeToggle"]::before,
  .epstocsv-nav.zpub-nav button[id="themeToggle"]::before,
  .upd-nav.zpub-nav button[id="themeToggle"]::before,
  .chz-nav.zpub-nav button[id="themeToggle"]::before{
    content:"Тема оформления";
    font-size:14px;
    font-weight:900;
    line-height:1.16;
  }

  html[data-upd-theme="dark"] .zpub-nav button[id="themeToggle"],
  html.theme-dark .zpub-nav button[id="themeToggle"]{
    background:#171d2b!important;
    border-color:#263246!important;
    color:#eef1f8!important;
  }

  .zpub-nav button[id="themeToggle"] svg{
    width:20px!important;
    height:20px!important;
    flex:0 0 auto!important;
  }
}

@media(max-width:420px){
  .zpub-topbar,
  .home-simple-topbar.zpub-topbar,
  .epstocsv-topbar.zpub-topbar,
  .upd-topbar.zpub-topbar,
  .chz-topbar.zpub-topbar,
  .chz-upd-style .chz-topbar.zpub-topbar{
    grid-template-columns:minmax(0,1fr) 40px!important;
    min-height:60px!important;
    padding:9px!important;
    border-radius:16px!important;
  }

  .home-simple-logo span,
  .epstocsv-logo span,
  .upd-logo span,
  .chz-logo span,
  .zpub-menu-btn{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:13px!important;
  }

  .home-simple-logo b,
  .epstocsv-logo b,
  .upd-logo b,
  .chz-logo b{
    font-size:14px!important;
    letter-spacing:.18em!important;
  }

  .zpub-nav,
  .home-simple-nav.zpub-nav,
  .epstocsv-nav.zpub-nav,
  .upd-nav.zpub-nav,
  .chz-nav.zpub-nav{
    border-radius:16px!important;
    padding:7px!important;
  }

  .zpub-nav a,
  .home-simple-nav.zpub-nav a,
  .epstocsv-nav.zpub-nav a,
  .upd-nav.zpub-nav a,
  .chz-nav.zpub-nav a,
  .zpub-nav button[id="themeToggle"],
  .home-simple-nav.zpub-nav button[id="themeToggle"],
  .epstocsv-nav.zpub-nav button[id="themeToggle"],
  .upd-nav.zpub-nav button[id="themeToggle"],
  .chz-nav.zpub-nav button[id="themeToggle"]{
    min-height:44px!important;
    height:auto!important;
    padding:11px 12px!important;
    font-size:13px!important;
    border-radius:12px!important;
  }

  .zpub-nav button[id="themeToggle"]::before{
    font-size:13px!important;
  }
}


/* ZENMARK Account Lock Navigation v1 */
.z-lock-link,
.zm-admin-lock-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.z-lock-icon{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#eef4ff!important;
  border:1px solid #d7e2f1!important;
  color:#2f55a4!important;
}
.z-lock-icon svg{
  width:14px!important;
  height:14px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.z-lock-link.is-auth .z-lock-icon,
.zm-admin-lock-link .z-lock-icon{
  background:#eafbf1!important;
  border-color:#c7f0d5!important;
  color:#08733f!important;
}
.z-lock-text{display:inline-block!important;}
html[data-upd-theme="dark"] .z-lock-icon,
html.theme-dark .z-lock-icon,
html[data-admin-theme="dark"] .z-lock-icon{
  background:#182238!important;
  border-color:#2f3b53!important;
  color:#9bb8ff!important;
}
html[data-upd-theme="dark"] .z-lock-link.is-auth .z-lock-icon,
html.theme-dark .z-lock-link.is-auth .z-lock-icon,
html[data-admin-theme="dark"] .z-lock-link.is-auth .z-lock-icon,
html[data-admin-theme="dark"] .zm-admin-lock-link .z-lock-icon{
  background:#10251b!important;
  border-color:#1d5c40!important;
  color:#86efac!important;
}
@media(max-width:820px){
  .zpub-nav .z-lock-link{justify-content:space-between!important;}
  .zpub-nav .z-lock-link .z-lock-icon{order:2!important;width:22px!important;height:22px!important;min-width:22px!important;}
  .zpub-nav .z-lock-link::after{display:none!important;}
}


/* ZENMARK Public Account Menu Unified v12 */
.z-account-nav,
.z-lock-link{
  border-color:#d7e2f1!important;
  background:#f8fbff!important;
  color:#1a2440!important;
  font-weight:950!important;
}
.z-account-nav::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#315eea;
  box-shadow:0 0 0 4px rgba(49,94,234,.10);
  margin-right:7px;
}
.z-account-nav:hover,
.z-lock-link:hover{
  background:#eef4ff!important;
  border-color:#c7d8f2!important;
}
html[data-upd-theme="dark"] .z-account-nav,
html[data-upd-theme="dark"] .z-lock-link,
html.theme-dark .z-account-nav,
html.theme-dark .z-lock-link{
  background:#161a24!important;
  border-color:#252a38!important;
  color:#eef1f8!important;
}
html[data-upd-theme="dark"] .z-account-nav:hover,
html[data-upd-theme="dark"] .z-lock-link:hover,
html.theme-dark .z-account-nav:hover,
html.theme-dark .z-lock-link:hover{
  background:#1a2140!important;
  border-color:#343b4d!important;
}


/* ZENMARK Unified Public Menu Partial v13 */
.zpub-topbar .z-account-nav{
  border-color:#d7e2f1!important;
  background:#f8fbff!important;
  color:#1a2440!important;
  font-weight:950!important;
}
.zpub-topbar .z-account-nav::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#315eea;
  box-shadow:0 0 0 4px rgba(49,94,234,.10);
  margin-right:7px;
}
.zpub-topbar .z-account-nav.is-auth::before{
  background:#16a34a;
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
}
.zpub-topbar .z-account-nav:hover{
  background:#eef4ff!important;
  border-color:#c7d8f2!important;
}
html[data-upd-theme="dark"] .zpub-topbar .z-account-nav,
html.theme-dark .zpub-topbar .z-account-nav{
  background:#161a24!important;
  border-color:#252a38!important;
  color:#eef1f8!important;
}
html[data-upd-theme="dark"] .zpub-topbar .z-account-nav:hover,
html.theme-dark .zpub-topbar .z-account-nav:hover{
  background:#1a2140!important;
  border-color:#343b4d!important;
}


/* ZENMARK Public Menu Visual Fix v14
   Desktop: hamburger is hidden.
   Account button: same pill and status dot on every public section.
*/
.zpub-topbar .zpub-menu-btn{
  display:none!important;
  visibility:hidden!important;
}
.zpub-topbar .zpub-nav{
  align-items:center!important;
}
.zpub-topbar .z-account-nav{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  gap:7px!important;
  min-height:34px!important;
  border:1px solid #d7e2f1!important;
  background:#f8fbff!important;
  color:#1a2440!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.zpub-topbar .z-account-nav::before{
  content:""!important;
  display:block!important;
  flex:0 0 8px!important;
  width:8px!important;
  min-width:8px!important;
  max-width:8px!important;
  height:8px!important;
  min-height:8px!important;
  max-height:8px!important;
  border-radius:999px!important;
  background:#315eea!important;
  box-shadow:0 0 0 4px rgba(49,94,234,.10)!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.zpub-topbar .z-account-nav.is-auth::before{
  background:#16a34a!important;
  box-shadow:0 0 0 4px rgba(22,163,74,.14)!important;
}
.zpub-topbar .z-account-nav:hover{
  background:#eef4ff!important;
  border-color:#c7d8f2!important;
}
html[data-upd-theme="dark"] .zpub-topbar .z-account-nav,
html.theme-dark .zpub-topbar .z-account-nav{
  background:#161a24!important;
  border-color:#252a38!important;
  color:#eef1f8!important;
}
html[data-upd-theme="dark"] .zpub-topbar .z-account-nav:hover,
html.theme-dark .zpub-topbar .z-account-nav:hover{
  background:#1a2140!important;
  border-color:#343b4d!important;
}

@media(max-width:820px){
  .zpub-topbar .zpub-menu-btn{
    display:grid!important;
    visibility:visible!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:0!important;
    border:1px solid #d7e2f1!important;
    border-radius:14px!important;
    background:#f8fbff!important;
    color:#0c1830!important;
    box-shadow:none!important;
    cursor:pointer!important;
    position:relative!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .zpub-topbar .zpub-menu-btn span{
    position:absolute!important;
    left:11px!important;
    right:11px!important;
    height:2px!important;
    border-radius:999px!important;
    background:currentColor!important;
    transition:transform .22s ease, top .22s ease, opacity .16s ease!important;
  }
  .zpub-topbar .zpub-menu-btn span:nth-child(1){top:13px!important}
  .zpub-topbar .zpub-menu-btn span:nth-child(2){top:20px!important}
  .zpub-topbar .zpub-menu-btn span:nth-child(3){top:27px!important}
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(1){
    top:20px!important;
    transform:rotate(45deg)!important;
  }
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(2){
    opacity:0!important;
  }
  .zpub-topbar.is-open .zpub-menu-btn span:nth-child(3){
    top:20px!important;
    transform:rotate(-45deg)!important;
  }
}
@media(min-width:821px){
  .zpub-topbar .zpub-menu-btn,
  .zpub-topbar .zpub-menu-btn span{
    display:none!important;
    visibility:hidden!important;
  }
}
