/* ZiorTechEarn 1.5.7 — non-destructive UX completion layer */
body.zte150-portal .cp-i18n-switcher,body.zte150-portal .cp-language-switcher,body.zte150-portal .cp-lang-switcher,body.acrm-layout .cp-i18n-switcher,body.acrm-layout .cp-language-switcher,body.acrm-layout .cp-lang-switcher{display:none!important}
.zte151-language{display:inline-flex!important}

/* Chat: navigation/search remain visible at every viewport size. */
@media(max-width:460px){
 .zte151-chat-layout,.zte151-chat-layout.zte156-chat-active-mobile,.zte151-chat-layout:not(.zte156-chat-active-mobile){display:grid!important;grid-template-columns:minmax(112px,36%) minmax(0,1fr)!important}
 .zte151-chat-layout .zte151-chat-sidebar,.zte151-chat-layout.zte156-chat-active-mobile .zte151-chat-sidebar{display:block!important;min-width:0!important}
 .zte151-chat-layout .zte151-chat-main,.zte151-chat-layout:not(.zte156-chat-active-mobile) .zte151-chat-main{display:flex!important;min-width:0!important}
 .zte156-chat-back{display:none!important}
 .zte151-chat-search{display:block!important}
 .zte151-chat-tabs{display:grid!important;grid-template-columns:1fr 1fr!important}
}

/* Contextual reply/forward: visibly connected to the thread, CRM-grade composer. */
.zte156-reply-context{overflow:hidden;border:1px solid #d8e4f1!important;border-radius:16px!important;background:#f8fbff!important;box-shadow:0 12px 34px rgba(15,23,42,.08)!important;margin:0 0 18px!important}
.zte156-reply-context header{display:flex!important;justify-content:space-between!important;gap:18px!important;align-items:flex-start!important;padding:16px 18px!important;background:linear-gradient(135deg,#f0f6ff,#fff)!important;border-bottom:1px solid #dde8f4!important}
.zte156-reply-context header span{display:block;font-size:10px!important;font-weight:900!important;letter-spacing:.12em!important;color:#3e6da7!important;margin-bottom:4px!important}
.zte156-reply-context header strong{display:block;font-size:15px!important;color:#0b2545!important}
.zte156-reply-context dl{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:7px 12px!important;padding:14px 18px 8px!important;margin:0!important}
.zte156-reply-context dt{font-size:11px!important;font-weight:800!important;color:#6a7d92!important;text-transform:uppercase!important}
.zte156-reply-context dd{margin:0!important;color:#162b46!important;overflow-wrap:anywhere!important}
.zte156-reply-preview{margin:8px 18px 18px!important;padding:14px 16px!important;border-left:3px solid #8fb9ee!important;border-radius:0 10px 10px 0!important;background:#fff!important;color:#43556a!important;max-height:190px!important;overflow:auto!important}
.cp140-conversation,.cp146-thread,.cpmy-card,.cp-mail-panel,.acrm-card{border-radius:18px!important}
.cp140-message,.cp146-message,.cpmy-msg,.cp-mail-message,.cp144-email-event{border:1px solid #e1e9f2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.045)!important;padding:16px!important;margin-bottom:12px!important}
.cp-mail-reply-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:14px!important;padding-top:12px!important;border-top:1px solid #edf2f7!important}
[data-cp-mail-composer],.cp146-compose form,.cp140-compose form{background:#fff!important;border:1px solid #dbe6f2!important;border-radius:16px!important;padding:16px!important;box-shadow:0 10px 28px rgba(15,23,42,.055)!important}
[data-cp-mail-composer] input,[data-cp-mail-composer] textarea,.cp146-compose input,.cp146-compose textarea,.cp140-compose input,.cp140-compose textarea{border-radius:10px!important;border-color:#cfdceb!important}
[data-cp-mail-composer] input:focus,[data-cp-mail-composer] textarea:focus,.cp146-compose input:focus,.cp146-compose textarea:focus,.cp140-compose input:focus,.cp140-compose textarea:focus{border-color:#4c8ee8!important;box-shadow:0 0 0 3px rgba(76,142,232,.13)!important;outline:0!important}

/* Exact calendar targets look interactive without changing booking logic. */
.zte157-slot-button,.zte157-date-head{appearance:none;border:0;background:transparent;text-align:inherit;font:inherit;color:inherit;cursor:pointer}
.zte157-slot-button{width:100%;min-height:48px}
.zte157-slot-button:hover,.zte157-date-head:hover{background:#f1f7ff!important}

/* Business links are easy to find in Pipeline and lead detail. */
.zte156-pipeline-links{margin:0 0 20px!important}
.zte157-lead-landing{display:inline-block;max-width:100%;overflow-wrap:anywhere;color:#1769e8!important;font-weight:700!important}
