/* Owner supplied ZaxSocial artwork; use the dark-letter logo on light surfaces and white-letter logo on dark ones. */
.zs-brand-logo{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;flex:0 0 auto;width:144px;height:48px;min-width:0;line-height:1;overflow:visible;vertical-align:middle;white-space:nowrap}
.zs-brand-logo__image{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.zs-brand-logo__image--dark{display:none}
[data-theme=dark] .zs-brand-logo__image--light{display:none}
[data-theme=dark] .zs-brand-logo__image--dark{display:block}

.zs-topbar__brand{gap:0}
.zs-topbar__brand .zs-topbar__logo{width:142px;height:48px}
.zs-brand-logo.zs-topbar__logo,.zs-brand-logo.zs-admin__logo{--zs-social-orbit-radius:20px}
.zs-brand-logo__orbits{position:absolute;z-index:3;inset:0;overflow:visible;pointer-events:none}
.zs-brand-logo__orbit{position:absolute;left:14%;top:50%;width:0;height:0;animation:zs-social-icon-orbit 12s linear infinite;will-change:transform}
.zs-brand-logo__orbit--tg{animation-delay:-6s}
.zs-brand-logo__orbit-icon{position:absolute;top:-7px;left:-7px;display:grid;width:14px;height:14px;place-items:center;transform:translateY(calc(0px - var(--zs-social-orbit-radius)));animation:zs-social-icon-counter 12s linear infinite;border:1px solid color-mix(in srgb,var(--zs-hairline) 88%,transparent);border-radius:50%;background:color-mix(in srgb,var(--zs-surface) 90%,transparent);box-shadow:0 2px 9px rgba(0,0,0,.2);will-change:transform}
.zs-brand-logo__orbit--tg .zs-brand-logo__orbit-icon{animation-delay:-6s}
.zs-brand-logo__orbit--wa .zi{width:10px;height:10px;color:#25d366}
.zs-brand-logo__orbit--tg .zi{width:10px;height:10px;color:#38a8f5}
@keyframes zs-social-icon-orbit{to{transform:rotate(360deg)}}
@keyframes zs-social-icon-counter{to{transform:translateY(calc(0px - var(--zs-social-orbit-radius))) rotate(-360deg)}}

.zs-sidebar:not(.is-collapsed) .zs-sidebar__brand .zs-sidebar__logo{width:158px;height:53px}
.zs-public-page__brand{gap:0}
.zs-public-page__brand .zs-public-page__logo{width:150px;height:50px}
.zs-auth-screen__brand .zs-auth-screen__logo{width:148px;height:50px}
.zs-auth-screen__asidebrand .zs-auth-screen__aside-logo{width:160px;height:54px}
.zs-app-start__brand .zs-app-start__logo{width:174px;height:58px}
.zs-onboarding-welcome__brand .zs-onboarding-welcome__logo{width:138px;height:46px}

.zs-splash__brand{position:relative;z-index:2;width:210px;height:70px;filter:drop-shadow(0 12px 24px rgba(42,20,104,.34));animation:zs-logo-in .82s cubic-bezier(.34,1.4,.64,1) both}
.zs-splash.is-intro .zs-splash__brand{width:222px;height:74px;filter:none;animation:zs-logo-wipe 1s cubic-bezier(.65,0,.35,1) 3s both,zs-logo-float 3.2s ease-in-out 4.1s infinite both}
.zs-splash__brand .zs-brand-logo__orbits{--zs-social-orbit-radius:42px;display:block}
.zs-splash__brand .zs-brand-logo__orbit-icon{top:-10px;left:-10px;width:20px;height:20px;background:rgba(17,17,25,.88);border-color:rgba(255,255,255,.24);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.zs-splash__brand .zs-brand-logo__orbit--wa .zi,.zs-splash__brand .zs-brand-logo__orbit--tg .zi{width:12px;height:12px}
.zs-splash.is-intro .zs-splash__brand .zs-brand-logo__image--light{display:none}
.zs-splash.is-intro .zs-splash__brand .zs-brand-logo__image--dark{display:block}
.zs-splash.is-intro .zs-splash__stage{width:min(88vw,340px);height:auto;min-height:0}
.zs-splash.is-intro .zs-splash__links,.zs-splash.is-intro .zs-splash__orbit,.zs-splash.is-intro .zs-splash__ring{display:none!important}
.zs-splash.is-intro .zs-splash__brand{width:min(82vw,300px);height:auto;aspect-ratio:3/1}

/* Premium launch illustration: keep the supplied logo central while a compact conversation scene frames it. */
.zs-splash__network,.zs-splash__message{display:none}
.zs-splash.is-intro .zs-splash__stage{isolation:isolate;width:min(94vw,560px);height:clamp(250px,42vh,340px);min-height:250px}
.zs-splash.is-intro .zs-splash__network{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.zs-splash__core-glow{transform-origin:50% 50%;animation:zs-splash-core 4.8s ease-in-out infinite}
.zs-splash__track{fill:none;stroke:rgba(211,218,255,.12);stroke-width:.8;stroke-dasharray:2 8;transform-origin:50% 50%;animation:zs-splash-track 34s linear infinite}
.zs-splash__track--inner{stroke:rgba(211,218,255,.08);stroke-dasharray:1 7;animation-direction:reverse;animation-duration:26s}
.zs-splash__route{fill:none;stroke:url(#zs-splash-flow);stroke-width:1.25;stroke-linecap:round;stroke-dasharray:4 8;opacity:.42;animation:zs-splash-route 2.8s linear infinite}
.zs-splash__route--two{animation-delay:-1.4s;opacity:.28}
.zs-splash__route-dot{fill:#25d366;filter:drop-shadow(0 0 6px rgba(37,211,102,.9));animation:zs-splash-node 2.2s ease-in-out infinite}
.zs-splash__route-dot--two{fill:#39a9f5;filter:drop-shadow(0 0 6px rgba(57,169,245,.9));animation-delay:-1.1s}
.zs-splash__star{fill:#d8d0ff;opacity:.35;animation:zs-splash-twinkle 2.6s ease-in-out infinite}
.zs-splash__star:nth-of-type(2){animation-delay:-.8s}.zs-splash__star:nth-of-type(3){animation-delay:-1.6s}
.zs-splash.is-intro .zs-splash__message{position:absolute;z-index:2;display:flex;flex-direction:column;gap:9px;width:min(48vw,204px);padding:12px 13px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:linear-gradient(145deg,rgba(31,39,58,.84),rgba(19,21,34,.72));box-shadow:0 14px 40px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.08);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);opacity:0;will-change:transform,opacity}
.zs-splash.is-intro .zs-splash__message--incoming{top:5%;left:clamp(6px,3vw,20px);border-bottom-left-radius:6px;animation:zs-splash-card-in .72s cubic-bezier(.2,.8,.2,1) .36s forwards,zs-splash-card-float 5.4s ease-in-out 1.2s infinite}
.zs-splash.is-intro .zs-splash__message--outgoing{right:clamp(6px,3vw,20px);bottom:4%;border-bottom-right-radius:6px;animation:zs-splash-card-in .72s cubic-bezier(.2,.8,.2,1) .72s forwards,zs-splash-card-float 5.8s ease-in-out 1.5s infinite reverse}
.zs-splash__message-head{display:flex;align-items:center;gap:8px;min-width:0}
.zs-splash__message-head>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.zs-splash__message-head b{overflow:hidden;color:#fff;font-size:11px;font-weight:700;letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap}
.zs-splash__message-head small{color:rgba(221,225,242,.62);font-size:9px;line-height:1.2;white-space:nowrap}
.zs-splash__message-head>i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#34d399;box-shadow:0 0 10px rgba(52,211,153,.6)}
.zs-splash__platform,.zs-splash__telegram{display:grid;flex:0 0 25px;width:25px;height:25px;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(255,255,255,.08)}
.zs-splash__platform .zi,.zs-splash__telegram .zi{width:14px;height:14px}
.zs-splash__platform--wa{color:#42d987;background:rgba(37,211,102,.13)}
.zs-splash__platform--ai{color:#c5b4ff;background:rgba(133,101,255,.17)}
.zs-splash__telegram{flex-basis:22px;width:22px;height:22px;border-radius:50%;color:#56b9fa;background:rgba(56,169,245,.12)}
.zs-splash__telegram .zi{width:12px;height:12px}
.zs-splash__message-copy{display:flex;align-items:center;gap:5px;color:rgba(247,248,255,.9);font-size:11px;line-height:1.25;letter-spacing:-.01em;white-space:nowrap}
.zs-splash__ticks{display:inline-flex;color:#73d8ff}
.zs-splash__ticks .zi{width:13px;height:13px}
.zs-splash.is-intro .zs-splash__brand{position:absolute;top:50%;left:50%;z-index:3;width:min(78vw,330px);height:auto;aspect-ratio:3/1;filter:drop-shadow(0 15px 35px rgba(28,14,82,.42));opacity:0;transform:translate(-50%,-50%);animation:zs-splash-brand-in .85s cubic-bezier(.2,.8,.2,1) .12s forwards,zs-splash-brand-float 4.6s ease-in-out 1.1s infinite}
.zs-splash.is-intro .zs-splash__brand .zs-brand-logo__orbits{--zs-social-orbit-radius:40px}
.zs-splash.is-intro .zs-splash__tag{letter-spacing:.01em;text-shadow:0 2px 16px rgba(7,9,19,.55)}
@media(max-width:420px){
  .zs-splash.is-intro .zs-splash__stage{width:94vw;height:clamp(244px,40vh,300px);min-height:244px}
  .zs-splash.is-intro .zs-splash__message{width:min(48vw,176px);padding:10px 11px;border-radius:15px}
  .zs-splash.is-intro .zs-splash__brand{width:min(76vw,290px)}
  .zs-splash__message-copy{font-size:10px}
  .zs-splash__message-head b{font-size:10px}
  .zs-splash__message-head small{font-size:8px}
}
@media(max-height:600px){
  .zs-splash.is-intro .zs-splash__stage{height:240px;min-height:240px}
  .zs-splash.is-intro{gap:12px}
}

.zs-admin__brand-mark{display:none}
.zs-admin__brand-name{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;overflow:visible}
.zs-admin__brand-name .zs-admin__logo{width:150px;height:50px}
.zs-admin__brand-tag{margin-top:-5px}
.zs-admin__top-brand .zs-admin__logo{width:132px;height:44px}
.zs-admin__top-brand .zs-admin__brand-tag{margin-top:-7px}
@media(min-width:768px) and (max-width:1023.98px){
  .zs-admin__side-brand .zs-admin__brand-mark{display:grid;width:36px;height:36px}
  .zs-admin__side-brand .zs-admin__brand-name{display:none}
}
@media(max-width:767.98px){
  .zs-admin__top-brand .zs-admin__brand-mark{display:none}
  .zs-admin__top-brand .zs-admin__brand-name{display:flex}
}

@media(max-width:420px){
  .zs-brand-logo{gap:4px}
  .zs-splash__brand{width:186px;height:62px}
  .zs-splash.is-intro .zs-splash__brand{width:min(82vw,300px);height:auto}
  .zs-splash__brand .zs-brand-logo__orbits{--zs-social-orbit-radius:34px}
}

/* Keep the complete mark and name together beside compact page titles. */
.zs-topbar__brand--inline{flex:0 0 auto;min-width:0;margin-right:0}
.zs-topbar__brand--inline .zs-topbar__logo{width:130px;height:44px}
.zs-topbar__brand--inline+.zs-topbar__title{flex:1;min-width:0;text-align:left}
@media(max-width:600px){
  .zs-topbar__brand--inline .zs-topbar__logo{width:100px;height:34px}
}
@media(max-width:379px){
  .zs-topbar__brand--inline .zs-topbar__logo{width:84px;height:29px}
}
@media(max-width:767px){
  .zs-brand-logo.zs-topbar__logo,.zs-brand-logo.zs-admin__logo{--zs-social-orbit-radius:18px}
  .zs-brand-logo__orbit-icon{top:-6px;left:-6px;width:12px;height:12px}
  .zs-brand-logo__orbit--wa .zi,.zs-brand-logo__orbit--tg .zi{width:9px;height:9px}
}
@media(max-width:600px){.zs-topbar__brand--inline .zs-topbar__logo{--zs-social-orbit-radius:16px}}
@media(max-width:379px){.zs-topbar__brand--inline .zs-topbar__logo{--zs-social-orbit-radius:13px}}
@media(prefers-reduced-motion:reduce){
  .zs-brand-logo__orbit,.zs-brand-logo__orbit-icon{animation:none!important;will-change:auto}
  .zs-brand-logo__orbit--wa .zs-brand-logo__orbit-icon{transform:translateY(calc(0px - var(--zs-social-orbit-radius)))}
  .zs-brand-logo__orbit--tg{transform:rotate(180deg)}
  .zs-brand-logo__orbit--tg .zs-brand-logo__orbit-icon{transform:translateY(calc(0px - var(--zs-social-orbit-radius))) rotate(-180deg)}
}
