/**
 * ZiorTechEarn Core 7.3.3.17.1 — regression recovery presentation layer.
 * Intentionally narrow: visual fixes only. No profile/business logic overrides.
 * Developer: Ing. Javier Madrigal.
 */

/* External Communications primary compose CTA: always obvious and legible. */
.cp140-filters .button.zte733171-new-email,
.cp140-filters a.button.zte733171-new-email {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:9px 17px!important;
    border:1px solid #ea580c!important;
    border-radius:12px!important;
    background:#f97316!important;
    color:#fff!important;
    box-shadow:0 8px 18px rgba(249,115,22,.22)!important;
    font-weight:800!important;
    line-height:1.15!important;
    text-decoration:none!important;
    text-shadow:none!important;
    transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease!important;
}
.cp140-filters .button.zte733171-new-email:hover,
.cp140-filters .button.zte733171-new-email:focus-visible,
.cp140-filters a.button.zte733171-new-email:hover,
.cp140-filters a.button.zte733171-new-email:focus-visible {
    border-color:#c2410c!important;
    background:#ea580c!important;
    color:#fff!important;
    box-shadow:0 11px 24px rgba(234,88,12,.28)!important;
    transform:translateY(-1px)!important;
    outline:2px solid rgba(249,115,22,.22)!important;
    outline-offset:2px!important;
}
.cp140-filters .button.zte733171-new-email:active,
.cp140-filters a.button.zte733171-new-email:active {
    transform:translateY(0)!important;
    box-shadow:0 5px 13px rgba(234,88,12,.2)!important;
}

/* Organization Chat presence: small, professional, non-authoritative status cue. */
.zte151-chat-presence {
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
    color:#64748b!important;
    font-size:10px!important;
    font-weight:800!important;
    letter-spacing:.035em!important;
    line-height:1.2!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
}
.zte151-chat-person > .zte151-chat-presence {
    justify-self:end!important;
    padding:5px 7px!important;
    border:1px solid rgba(148,163,184,.28)!important;
    border-radius:999px!important;
    background:#f8fafc!important;
}
.zte151-chat-list-copy > .zte151-chat-presence {
    margin-top:3px!important;
}
.zte151-chat-presence-dot {
    display:inline-block!important;
    flex:0 0 7px!important;
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#94a3b8!important;
    box-shadow:0 0 0 2px rgba(148,163,184,.14)!important;
}
.zte151-chat-presence.is-online { color:#15803d!important; }
.zte151-chat-presence.is-online .zte151-chat-presence-dot {
    background:#22c55e!important;
    box-shadow:0 0 0 2px rgba(34,197,94,.16)!important;
}
.zte151-chat-presence.is-away { color:#a16207!important; }
.zte151-chat-presence.is-away .zte151-chat-presence-dot {
    background:#f59e0b!important;
    box-shadow:0 0 0 2px rgba(245,158,11,.16)!important;
}
.zte151-chat-presence.is-offline { color:#64748b!important; }
.zte151-chat-presence.is-offline .zte151-chat-presence-dot { background:#94a3b8!important; }

/* Keep the recovered chat usable on touch widths without clipping presence. */
@media (max-width:760px) {
    .zte151-chat-person > .zte151-chat-presence {
        padding:4px 6px!important;
        font-size:9px!important;
    }
    .cp140-filters .button.zte733171-new-email,
    .cp140-filters a.button.zte733171-new-email {
        width:100%!important;
        min-height:44px!important;
    }
}
@media (prefers-reduced-motion:reduce) {
    .cp140-filters .button.zte733171-new-email,
    .cp140-filters a.button.zte733171-new-email { transition:none!important; }
}
