/* ZaxSocial · css/app.css — app home cards and install-sheet layout. Owner: U4. */
.zs-app-home__channels { margin: 0 0 18px; }
.zs-app-home__channels .zs-app-home__chans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.zs-app-home__channels .zs-card { min-width: 0; }
.zs-app-home__installbody { min-width: 0; }
.zs-app-home__installtitle { font-weight: 700; }
.zs-app-home__installtext { margin-top: 3px; color: var(--zs-text-secondary); font-size: 13px; }
.zs-app-install-sheet .zs-sheet__body { padding-top: 10px; }
.zs-app-install-sheet .zs-sheet__content { max-width: 720px; margin-inline: auto; }
.zs-app-home { width: min(100% - 32px, 1120px); margin: 0 auto; padding: 20px 0 calc(var(--zs-safe-bottom) + 24px); }
.zs-app-home__hello { margin: 0 0 24px; }
.zs-app-home__date { color: var(--zs-text-secondary); font-size: 13px; font-weight: 600; }
.zs-app-home__title { margin-top: 5px; font-size: clamp(28px,5vw,40px); line-height: 1.12; letter-spacing: -.04em; font-weight: 750; }
.zs-app-home__sub { margin-top: 5px; color: var(--zs-text-secondary); font-size: 15px; }
.zs-app-home__slot { margin: 0 0 18px; }
.zs-app-home__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 10px; }
.zs-app-home__h2 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.zs-app-home__chans { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.zs-app-chcard { display: grid; gap: 10px; min-width: 0; padding: 15px; border: 1px solid var(--zs-hairline); border-radius: 20px; background: var(--zs-surface); box-shadow: var(--zs-shadow-xs),var(--zs-ring-inset); transition: transform var(--zs-dur-fast) var(--zs-ease-standard),box-shadow var(--zs-dur-fast); }
.zs-app-chcard:active { transform: scale(.985); }
.zs-app-chcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zs-app-chcard__glyph { width: 38px; height: 38px; border-radius: 13px; }
.zs-app-chcard__title { font-size: 16px; font-weight: 700; }
.zs-app-chcard__id { overflow: hidden; color: var(--zs-text-secondary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.zs-app-chcard__id--teach { color: var(--zs-text-tertiary); }
.zs-app-chcard__status { display: inline-flex; align-items: center; gap: 6px; color: var(--zs-success-ink); font-size: 11px; font-weight: 650; }
.zs-app-chcard__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--zs-success); }
.zs-app-chcard__status--off { color: var(--zs-text-tertiary); }
.zs-app-chcard__status--off i { background: var(--zs-text-tertiary); }
.zs-app-chcard__status--warn { color: var(--zs-warning-ink); }
.zs-app-chcard__status--warn i { background: var(--zs-warning); }
.zs-app-chcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--zs-hairline); color: var(--zs-text-secondary); font-size: 12px; }
.zs-app-chcard__badge { display: flex; align-items: baseline; gap: 5px; color: var(--zs-text); font-size: 12px; }
.zs-app-chcard__badge b { font-size: 16px; }
.zs-app-chcard__muted { overflow: hidden; color: var(--zs-text-tertiary); text-overflow: ellipsis; white-space: nowrap; }
.zs-app-chcard__go { color: var(--zs-text-tertiary); }
.zs-app-home__quick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.zs-app-home__qa { display: grid; justify-items: center; gap: 7px; min-width: 0; padding: 10px 4px; border-radius: 16px; color: var(--zs-text-secondary); text-align: center; font-size: 11px; font-weight: 600; }
.zs-app-home__qa:active { background: var(--zs-overlay-press); }
.zs-app-home__qaicon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: var(--zs-accent-soft); color: var(--zs-accent-text); }
.zs-app-home__qaicon--blue { background: var(--zs-info-soft); color: var(--zs-info-ink); }
.zs-app-home__qaicon--green { background: var(--zs-success-soft); color: var(--zs-success-ink); }
.zs-app-home__qaicon--orange { background: var(--zs-warning-soft); color: var(--zs-warning-ink); }
.zs-app-home__qaicon .zi { width: 21px; height: 21px; }
.zs-app-home__install { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.zs-app-home__installacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zs-app-home__checklist { min-width: 0; }
.zs-app-home__demo { margin: 10px 0 0; }
.zs-app-acct { width: 100%; max-width: 440px; max-height: min(90vh,820px); overflow: auto; }
.zs-app-acct__body { display: grid; gap: 12px; padding: 4px 0 10px; }
.zs-app-acct__top { padding: 0 16px; }
.zs-app-acct__head { display: flex; align-items: center; width: 100%; gap: 12px; padding: 8px 0 14px; text-align: left; }
.zs-app-acct__who { display: grid; flex: 1; min-width: 0; gap: 3px; }
.zs-app-acct__name { font-weight: 700; }
.zs-app-acct__email { color: var(--zs-text-secondary); font-size: 12px; }
.zs-app-acct__plan { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.zs-app-acct__health { display: inline-flex; align-items: center; gap: 5px; color: var(--zs-success-ink); font-size: 11px; }
.zs-app-acct__health i { width: 6px; height: 6px; border-radius: 50%; background: var(--zs-success); }
.zs-app-acct__health.is-warn { color: var(--zs-warning-ink); }
.zs-app-acct__health.is-danger { color: var(--zs-danger-ink); }
.zs-app-acct__chev { color: var(--zs-text-tertiary); }
.zs-app-acct__tiles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 0 16px 4px; }
.zs-app-acct__tile { display: grid; justify-items: center; gap: 5px; min-width: 0; padding: 10px 4px; border-radius: 14px; background: var(--zs-surface-2); font-size: 11px; font-weight: 600; text-align: center; }
.zs-app-acct__tile .zi { color: var(--zs-accent-text); }
.zs-app-acct__tile small { color: var(--zs-text-tertiary); font-size: 10px; }
.zs-app-acct__seg { margin: 8px 0; }
.zs-app-acct__foot { display: flex; justify-content: center; gap: 5px; padding: 4px 12px 0; color: var(--zs-text-tertiary); font-size: 11px; }
.zs-app-banners__more { justify-self: start; margin: -2px 0 2px 8px; padding: 3px 8px; border-radius: 9px; color: var(--zs-text-secondary); font-size: 12px; font-weight: 650; }
.zs-app-rail { position: fixed; z-index: var(--zs-z-sidebar); inset-block: 0; display: grid; align-content: start; gap: 4px; width: 60px; padding: 16px 7px; border-inline-end: 1px solid var(--zs-hairline); background: var(--zs-surface); }
.zs-app-rail__item { position: relative; display: grid; justify-items: center; gap: 3px; min-height: 54px; padding: 7px 2px; border-radius: 14px; color: var(--zs-text-secondary); font-size: 10px; }
.zs-app-rail__item.is-active { color: var(--zs-accent-text); background: var(--zs-accent-soft); }
.zs-app-rail__item .zi { width: 20px; height: 20px; }
.zs-app-statusstrip { display: none; }
.zs-app-kbproxy { position: fixed; z-index: -1; left: 0; bottom: 0; width: 1px; height: 1px; opacity: .01; }
.zs-app-theme { overflow: hidden; }
.zs-app-theme__sun,.zs-app-theme__moon { position: absolute; display: grid; place-items: center; transition: transform var(--zs-dur-base) var(--zs-ease-emphasized),opacity var(--zs-dur-fast); }
.zs-app-theme__sun { transform: translateY(0) rotate(0); }
.zs-app-theme__moon { transform: translateY(140%) rotate(-25deg); opacity: 0; }
.zs-app-theme.is-dark .zs-app-theme__sun { transform: translateY(-140%) rotate(25deg); opacity: 0; }
.zs-app-theme.is-dark .zs-app-theme__moon { transform: translateY(0) rotate(0); opacity: 1; }
.zs-app-start { position: relative; display: grid; grid-template-columns: 1fr; align-content: start; justify-items: center; min-height: 100dvh; overflow: hidden; padding: max(20px,var(--zs-safe-top)) 22px calc(28px + var(--zs-safe-bottom)); background: radial-gradient(ellipse at 50% 34%,var(--zs-accent-soft) 0%,var(--zs-bg) 60%); }
.zs-app-start__mesh { position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(var(--zs-border) 1px,transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom,black,transparent 75%); pointer-events: none; }
.zs-app-start__brand { z-index: 1; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 18px; }
.zs-app-start__hero { position: relative; width: min(100%,460px); height: min(45vh,390px); min-height: 270px; margin: 4px auto 0; }
.zs-app-start__ring,.zs-app-start__glow,.zs-app-start__spark,.zs-app-start__orb,.zs-app-start__float { position: absolute; }
.zs-app-start__ring { left: 50%; top: 49%; width: 66%; aspect-ratio: 1; border: 1px solid var(--zs-accent-soft-2); border-radius: 50%; transform: translate(-50%,-50%) rotate(-25deg) scaleY(.55); }
.zs-app-start__ring--2 { width: 84%; transform: translate(-50%,-50%) rotate(35deg) scaleY(.5); border-color: var(--zs-info-soft); }
.zs-app-start__ring--1 { border-color: var(--zs-accent-soft-2); }
.zs-app-start__ring--3 { width: 48%; transform: translate(-50%,-50%) rotate(80deg) scaleY(.7); border-color: var(--zs-success-soft); }
.zs-app-start__glow { left: 50%; top: 48%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--zs-accent); filter: blur(58px); opacity: .14; transform: translate(-50%,-50%); }
.zs-app-start__core { position: absolute; z-index: 2; left: 50%; top: 48%; width: 86px; height: 86px; border-radius: 28px; transform: translate(-50%,-50%); box-shadow: 0 16px 42px -14px var(--zs-lit-6b4eff-50); }
.zs-app-start__orb { left: var(--x,50%); top: var(--y,50%); display: grid; place-items: center; width: calc(54px * var(--s,1)); height: calc(54px * var(--s,1)); border: 1px solid var(--zs-hairline); border-radius: 19px; background: var(--zs-surface); box-shadow: var(--zs-shadow-md); transform: translate(-50%,-50%); }
.zs-app-start__orb--wa { left: 22%; top: 35%; color: var(--zs-success-ink); }
.zs-app-start__orb--tg { left: 80%; top: 31%; color: var(--zs-info-ink); }
.zs-app-start__orb--av { width: 42px; height: 42px; border-radius: 50%; }
.zs-app-start__spark { display: grid; place-items: center; color: var(--zs-warning); }
.zs-app-start__spark--1 { left: 26%; top: 14%; }
.zs-app-start__spark--2 { right: 20%; bottom: 22%; color: var(--zs-accent); }
.zs-app-start__float { display: flex; align-items: center; gap: 9px; max-width: 230px; padding: 9px 11px; border: 1px solid var(--zs-hairline); border-radius: 15px; background: var(--zs-surface); box-shadow: var(--zs-shadow-md); font-size: 10px; line-height: 14px; }
.zs-app-start__float--in { left: 2%; top: 69%; }
.zs-app-start__float--ai { right: 0; top: 52%; }
.zs-app-start__float b,.zs-app-start__float span { display: block; }
.zs-app-start__float small { color: var(--zs-text-tertiary); font-weight: 500; }
.zs-app-start__float--ai { max-width: 190px; }
.zs-app-start__float .zs-app-start__aiicon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--zs-accent-soft); color: var(--zs-accent-text); }
.zs-app-start__copy { z-index: 1; width: min(100%,460px); text-align: center; }
.zs-app-start__title { font-size: clamp(32px,8vw,48px); line-height: 1.05; letter-spacing: -.05em; font-weight: 780; }
.zs-app-start__sub { max-width: 390px; margin: 12px auto 22px; color: var(--zs-text-secondary); font-size: 16px; line-height: 24px; }
.zs-app-start__actions { display: grid; gap: 10px; }
.zs-app-start__links { margin-top: 18px; color: var(--zs-text-tertiary); font-size: 12px; }
.zs-app-state { display: grid; min-height: 65vh; place-items: center; padding: 24px; }
.zs-app-state--maint { min-height: 100dvh; align-content: center; gap: 20px; }
.zs-app-state__brand { margin: 0 auto; }
.zs-app-install-screen { width: min(100% - 32px,760px); margin: 0 auto; padding: 24px 0 48px; }
.zs-app-install-screen__title { margin: 0 0 5px; font-size: 28px; letter-spacing: -.03em; }
.zs-app-install-screen__sub { margin: 0 0 18px; color: var(--zs-text-secondary); }
.zs-app-install { display: grid; gap: 18px; }
.zs-app-install__steps { display: grid; gap: 10px; padding: 0; list-style: none; }
.zs-app-install__step { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--zs-hairline); border-radius: 16px; background: var(--zs-surface); }
.zs-app-install__art { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 15px; background: var(--zs-accent-soft); }
.zs-app-install__img { width: 48px; height: 44px; object-fit: contain; }
.zs-app-install__body { display: grid; grid-template-columns: 24px 1fr; gap: 4px 8px; }
.zs-app-install__num { grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--zs-accent-soft); color: var(--zs-accent-text); font-size: 12px; font-weight: 700; }
.zs-app-install__text { color: var(--zs-text-secondary); font-size: 13px; line-height: 18px; }
.zs-app-install__cta,.zs-app-install__note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--zs-hairline); border-radius: 18px; background: var(--zs-surface); }
.zs-app-install__cta .zs-btn { grid-column: 1/-1; }
.zs-app-install__noteacts { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px; }
.zs-app-install__panel { min-width: 0; }
.zs-app-install__more { padding: 12px; border-radius: 14px; background: var(--zs-surface-2); }
.zs-app-install__more p { margin-top: 8px; color: var(--zs-text-secondary); }
@media (min-width: 760px) {
  .zs-app-home { width: min(100% - 48px,1120px); padding-top: 30px; }
  .zs-app-home__channels .zs-app-home__chans { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .zs-app-start { grid-template-columns: minmax(0,1fr) minmax(380px,520px); align-content: center; justify-items: stretch; gap: 0 28px; padding-inline: max(6vw,36px); }
  .zs-app-start__brand { grid-column: 1/-1; justify-content: flex-start; margin-bottom: 10px; }
  .zs-app-start__hero { grid-column: 2; grid-row: 2; width: 100%; height: min(70vh,540px); max-width: 540px; }
  .zs-app-start__copy { grid-column: 1; grid-row: 2; justify-self: end; align-self: center; text-align: left; }
  .zs-app-start__sub { margin-inline: 0; }
  .zs-app-start__actions { grid-template-columns: 1fr 1fr; }
  .zs-app-start__links { text-align: left; }
  .zs-app-start__float--in { left: -3%; }
  .zs-app-start__float--ai { right: -3%; }
}
@media (min-width: 768px) and (min-height: 560px) { .zs-app-rail { width: 60px; } #zs-app.has-rail .zs-view { margin-inline-start: 60px; } }
@media (display-mode: standalone) and (max-width: 767px) { .zs-app-statusstrip { position: fixed; z-index: var(--zs-z-topbar); top: 0; inset-inline: 0; display: block; height: var(--zs-safe-top); background: var(--zs-surface); } }
@media (min-width: 768px) { .zs-app-home__channels .zs-app-home__chans { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; } }
