/* ZiorTechEarn 7.3.3.14 — premium single-color headers + communication clarity.
 * Additive overlay only. HelpDocsPro / TEAM KB intentionally keep their own
 * fixed corporate palette and are not tied to the user's Profile color. */

/* -------------------------------------------------------------------------
 * Unified premium application heroes.
 * One solid user-selected primary color, white readable copy, subtle vector.
 * ---------------------------------------------------------------------- */
:is(.zte150-hero,.cp-admin-hero,.cp140-hero,.cp144-hero,.cp146-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-zte155-menu-hero,.zte156-admin-hero,.acrm-hero-card,.cp-pro-hero,.cpcc-hero,.cp-hero,.zte161-profile-hero){
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:22px!important;
  background:var(--zte150-primary,#2167f3)!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:0 18px 44px color-mix(in srgb,var(--zte150-primary,#2167f3) 24%,transparent)!important;
}
:is(.zte150-hero,.cp-admin-hero,.cp140-hero,.cp144-hero,.cp146-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-zte155-menu-hero,.zte156-admin-hero,.acrm-hero-card,.cp-pro-hero,.cpcc-hero,.cp-hero,.zte161-profile-hero)::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:230px!important;
  height:230px!important;
  right:-72px!important;
  top:-112px!important;
  border:34px solid rgba(255,255,255,.085)!important;
  border-radius:50%!important;
  background:transparent!important;
  pointer-events:none!important;
}
:is(.zte150-hero,.cp-admin-hero,.cp140-hero,.cp144-hero,.cp146-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-zte155-menu-hero,.zte156-admin-hero,.acrm-hero-card,.cp-pro-hero,.cpcc-hero,.cp-hero,.zte161-profile-hero)::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:118px!important;
  height:118px!important;
  right:48px!important;
  top:-64px!important;
  border:18px solid rgba(255,255,255,.055)!important;
  border-radius:50%!important;
  background:transparent!important;
  pointer-events:none!important;
}
:is(.zte150-hero,.cp-admin-hero,.cp140-hero,.cp144-hero,.cp146-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-zte155-menu-hero,.zte156-admin-hero,.acrm-hero-card,.cp-pro-hero,.cpcc-hero,.cp-hero,.zte161-profile-hero)>*{
  position:relative!important;
  z-index:1!important;
}
:is(.zte150-hero,.cp-admin-hero,.cp140-hero,.cp144-hero,.cp146-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-zte155-menu-hero,.zte156-admin-hero,.acrm-hero-card,.cp-pro-hero,.cpcc-hero,.cp-hero,.zte161-profile-hero) :is(h1,h2,h3,h4,h5,h6,strong,p,span,small){
  color:#fff!important;
  text-shadow:none!important;
}
:is(.zte150-hero,.cp-admin-hero,.cp140-hero,.cp144-hero,.cp146-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-zte155-menu-hero,.zte156-admin-hero,.acrm-hero-card,.cp-pro-hero,.cpcc-hero,.cp-hero,.zte161-profile-hero) :is(h1,h2,h3,h4,h5,h6){
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* External mailbox glass panel stays on the SAME solid primary background. */
.cp140-mailbox{
  background:rgba(255,255,255,.09)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:18px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.cp140-mailbox :is(small,strong){color:#fff!important}

/* -------------------------------------------------------------------------
 * Internal / External opened-conversation headers.
 * Remove the nested heading color strip and turn the full header into a
 * clean, single-color premium banner.
 * ---------------------------------------------------------------------- */
.cp146-conversation>header,
.cp140-conversation>header{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 18px!important;
  padding:18px 20px!important;
  border:0!important;
  border-radius:18px!important;
  background:var(--zte150-primary,#2167f3)!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:0 12px 30px color-mix(in srgb,var(--zte150-primary,#2167f3) 20%,transparent)!important;
}
.cp146-conversation>header::after,
.cp140-conversation>header::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:150px!important;
  height:150px!important;
  right:-48px!important;
  top:-78px!important;
  border:24px solid rgba(255,255,255,.08)!important;
  border-radius:50%!important;
  pointer-events:none!important;
}
.cp146-conversation>header>*,
.cp140-conversation>header>*{position:relative!important;z-index:1!important}
.cp146-conversation>header :is(h1,h2,h3,h4,h5,h6),
.cp140-conversation>header :is(h1,h2,h3,h4,h5,h6){
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:4px 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
  overflow-wrap:anywhere!important;
}
.cp146-conversation>header :is(span,strong,small,time,em,p),
.cp140-conversation>header :is(span,strong,small,time,em,p){
  color:#fff!important;
  text-shadow:none!important;
}
.cp146-conversation>header em{font-style:normal!important;opacity:.9!important}
.cp140-conversation>header>div:last-child{gap:3px!important}
.cp140-conversation>header>div:last-child :is(strong,small){color:#fff!important}
.cp140-conversation>header p{color:rgba(255,255,255,.9)!important}

/* Keep authored communication content black/readable, never theme-colored. */
.cp146-message>div,
.cp146-message>div :is(p,li,blockquote,strong,span,small),
.cp140-message-body,
.cp140-message-body :is(p,li,blockquote,strong,span,small),
.cp-mail-signature,
.cp-mail-signature :is(p,div,li,strong,span,small,a){color:#000!important}

/* Communication hyperlinks: obvious, polished and keyboard-visible. */
.cp146-message a[href],
.cp140-message-body a[href],
.cpmy-msg a[href]{
  color:#0b57d0!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:2px!important;
  overflow-wrap:anywhere!important;
}
.cp146-message a[href]:hover,.cp146-message a[href]:focus-visible,
.cp140-message-body a[href]:hover,.cp140-message-body a[href]:focus-visible,
.cpmy-msg a[href]:hover,.cpmy-msg a[href]:focus-visible{opacity:.82!important}

/* Chat hyperlinks — both sender and recipient bubbles. */
.zte151-chat-body .zte73314-chat-link,
.zte151-chat-body .zte161-chat-link{
  color:#0b57d0!important;
  font-weight:750!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:2px!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.zte151-chat-message.is-mine .zte151-chat-body :is(.zte73314-chat-link,.zte161-chat-link){
  color:#fff!important;
  text-decoration-color:rgba(255,255,255,.92)!important;
}

/* -------------------------------------------------------------------------
 * Responsive polish. Preserve independent communication scrolling on desktop
 * and safe stacked workspaces on smaller devices.
 * ---------------------------------------------------------------------- */
@media(max-width:1100px){
  :is(.zte150-hero,.cp140-hero,.cp146-hero,.cp144-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-pro-hero,.cpcc-hero,.cp-hero){padding:24px!important}
  .cp140-mailbox{min-width:min(290px,42vw)!important}
}
@media(max-width:900px){
  :is(.zte150-hero,.cp140-hero,.cp146-hero,.cp144-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-pro-hero,.cpcc-hero,.cp-hero){
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:15px!important;
    min-height:0!important;
  }
  .cp140-mailbox{width:100%!important;min-width:0!important}
  .cp146-conversation>header,.cp140-conversation>header{padding:16px 17px!important}
}
@media(max-width:600px){
  :is(.zte150-hero,.cp140-hero,.cp146-hero,.cp144-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-pro-hero,.cpcc-hero,.cp-hero){
    padding:18px!important;
    border-radius:17px!important;
  }
  :is(.zte150-hero,.cp140-hero,.cp146-hero,.cp144-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-pro-hero,.cpcc-hero,.cp-hero)::before{width:170px!important;height:170px!important;right:-75px!important;top:-85px!important;border-width:26px!important}
  :is(.zte150-hero,.cp140-hero,.cp146-hero,.cp144-hero,.cp147-hero,.cp-fin-hero,.cp-mail-hero,.cp-sp-hero,.cp-zte-143-hero,.cp-pro-hero,.cpcc-hero,.cp-hero)::after{display:none!important}
  .cp146-conversation>header,.cp140-conversation>header{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:9px!important;
    padding:15px!important;
    border-radius:15px!important;
  }
  .cp140-conversation>header>div:last-child{text-align:left!important}
  .cp146-conversation>header :is(h2,h3),.cp140-conversation>header :is(h2,h3){font-size:clamp(19px,6vw,24px)!important}
}

@media(prefers-reduced-motion:reduce){
  :is(.cp146-message a,.cp140-message-body a,.cpmy-msg a,.zte151-chat-body a){transition:none!important}
}
