:root{--ens-orange:#EB6418;--ens-yellow:#FCD315;--ens-ink:#10222e;--ens-line:#e5ecef}
#ensmart-native-root *{box-sizing:border-box}
#ensmart-native-launcher{position:fixed;right:24px;bottom:24px;z-index:99998;border:0;border-radius:999px;padding:8px 17px 8px 8px;display:flex;align-items:center;gap:10px;cursor:pointer;color:#fff;font-weight:800;background:linear-gradient(90deg,#EB6418 0%,#FCD315 100%);box-shadow:0 12px 34px rgba(235,100,24,.28),0 3px 10px rgba(0,0,0,.12);transition:.25s}
#ensmart-native-launcher:hover{transform:translateY(-2px)}
.ensmart-native-launch-icon{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center}.ensmart-native-launch-icon img{width:36px;height:36px;object-fit:contain;display:block}.ensmart-native-launch-text{font-size:14px}
#ensmart-native-panel{position:fixed;right:24px;bottom:92px;width:min(420px,calc(100vw - 32px));height:650px;max-height:calc(100vh - 112px);z-index:99999;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(17,43,56,.22);display:none;font-family:Arial,Helvetica,sans-serif;color:var(--ens-ink)}
#ensmart-native-panel.open{display:flex;flex-direction:column}
.ensmart-native-head{padding:13px 14px;display:flex;align-items:center;gap:10px;color:#fff;background:#EB6418}
.ensmart-native-brand-icon{width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center}.ensmart-native-brand-icon img{width:31px;height:31px;object-fit:contain}.ensmart-native-brand strong,.ensmart-native-brand small{display:block}.ensmart-native-brand small{font-size:10px;opacity:.82;margin-top:2px}
.ensmart-native-head button{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:7px 9px;cursor:pointer}.ensmart-native-head #ensmart-native-restart{margin-left:auto}.ensmart-native-head #ensmart-native-close{font-size:19px;line-height:1}
.ensmart-native-progress{height:4px;background:#f0f2f3}.ensmart-native-progress span{display:block;height:100%;width:5%;background:#EB6418;transition:.25s}
.ensmart-native-messages{flex:1;overflow:auto;padding:18px 14px 8px}.ensmart-row{display:flex;margin-bottom:12px}.ensmart-row.user{justify-content:flex-end}.ensmart-bubble{max-width:86%;padding:11px 13px;border-radius:15px;background:#f2f6f8;font-size:13px;line-height:1.48}.ensmart-row.user .ensmart-bubble{background:#EB6418;color:#fff}
.ensmart-native-composer{border-top:1px solid var(--ens-line);padding:13px;background:#fff}.ensmart-options{display:grid;grid-template-columns:1fr;gap:8px}.ensmart-opt{border:1px solid var(--ens-line);background:#fff;border-radius:12px;padding:11px 12px;text-align:left;cursor:pointer;font-weight:750}.ensmart-opt:hover{border-color:#EB6418}.ensmart-opt.sales{border-left:4px solid #FCD315}.ensmart-opt.support{border-left:4px solid #EB6418}
.ensmart-field input,.ensmart-field textarea,.ensmart-field select,.ensmart-phone-field input,.ensmart-phone-field select{width:100%;border:1px solid var(--ens-line);border-radius:11px;padding:11px 12px;font:inherit;background:#fff;outline:none}.ensmart-field textarea{min-height:85px;resize:vertical}.ensmart-field input:focus,.ensmart-field textarea:focus,.ensmart-field select:focus,.ensmart-phone-field input:focus,.ensmart-phone-field select:focus{border-color:#EB6418;box-shadow:0 0 0 3px rgba(235,100,24,.10)}
.ensmart-phone-field{display:grid;grid-template-columns:210px 1fr;gap:7px}.ensmart-actions{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}.ensmart-btn{border:0;border-radius:11px;padding:10px 13px;font-weight:850;cursor:pointer;background:linear-gradient(90deg,#EB6418 0%,#FCD315 100%);color:#fff}.ensmart-btn.alt{background:#edf3f6;color:var(--ens-ink)}
.ensmart-review{border:1px solid var(--ens-line);background:#fbfcfd;border-radius:12px;padding:12px;font-size:12px;line-height:1.55}.ensmart-review strong{display:inline-block;min-width:105px}.ensmart-ticket{display:inline-block;background:#fff;border:1px solid var(--ens-line);padding:6px 9px;border-radius:9px;font-weight:900}
@media(max-width:520px){#ensmart-native-launcher{right:14px;bottom:14px;padding-right:11px}.ensmart-native-launch-text{display:none}#ensmart-native-panel{right:8px;bottom:72px;width:calc(100vw - 16px);height:calc(100vh - 88px);max-height:none;border-radius:18px}.ensmart-phone-field{grid-template-columns:1fr}}


/* v1.0.3 — EnSmart typography/color isolation */
#ensmart-native-root,
#ensmart-native-root button,
#ensmart-native-root input,
#ensmart-native-root textarea,
#ensmart-native-root select,
#ensmart-native-root option,
#ensmart-native-root p,
#ensmart-native-root div,
#ensmart-native-root span,
#ensmart-native-root strong,
#ensmart-native-root small,
#ensmart-native-root h1,
#ensmart-native-root h2,
#ensmart-native-root h3,
#ensmart-native-root h4,
#ensmart-native-root label {
    font-family: Arial, Helvetica, sans-serif;
}

#ensmart-native-panel,
#ensmart-native-panel .ensmart-bubble,
#ensmart-native-panel .ensmart-review,
#ensmart-native-panel input,
#ensmart-native-panel textarea,
#ensmart-native-panel select,
#ensmart-native-panel option {
    color: #243746 !important;
}

#ensmart-native-panel .ensmart-native-brand,
#ensmart-native-panel .ensmart-native-brand strong,
#ensmart-native-panel .ensmart-native-brand small,
#ensmart-native-panel .ensmart-native-head button,
#ensmart-native-launcher,
#ensmart-native-launcher span,
#ensmart-native-panel .ensmart-row.user .ensmart-bubble,
#ensmart-native-panel .ensmart-btn:not(.alt) {
    color: #ffffff !important;
}

#ensmart-native-panel .ensmart-native-brand small,
#ensmart-native-panel .ensmart-note {
    color: #F7F8F9 !important;
}

#ensmart-native-panel .ensmart-btn.alt {
    color: #243746 !important;
}

#ensmart-native-panel a,
#ensmart-native-panel a:visited {
    color: #EB6418 !important;
}

#ensmart-native-panel a:hover {
    color: #C94F0D !important;
}

#ensmart-native-panel input::placeholder,
#ensmart-native-panel textarea::placeholder {
    color: #8A969E !important;
    opacity: 1;
}

#ensmart-native-panel .ensmart-opt {
    color: #243746 !important;
}

#ensmart-native-panel .ensmart-opt:hover {
    color: #EB6418 !important;
}

#ensmart-native-panel .ensmart-ticket {
    color: #243746 !important;
}


/* v1.0.5 — remove unwanted theme pink/burgundy inheritance */
#ensmart-native-root,
#ensmart-native-root p,
#ensmart-native-root span,
#ensmart-native-root div,
#ensmart-native-root label,
#ensmart-native-root strong,
#ensmart-native-root small,
#ensmart-native-root input,
#ensmart-native-root textarea,
#ensmart-native-root select,
#ensmart-native-root option,
#ensmart-native-root button {
    color: #243746;
}

#ensmart-native-launcher,
#ensmart-native-launcher *,
#ensmart-native-panel .ensmart-native-head,
#ensmart-native-panel .ensmart-native-head *,
#ensmart-native-panel .ensmart-row.user .ensmart-bubble,
#ensmart-native-panel .ensmart-btn:not(.alt) {
    color: #ffffff !important;
}

#ensmart-native-panel a,
#ensmart-native-panel a:visited,
#ensmart-native-panel .ensmart-opt:hover {
    color: #EB6418 !important;
}


/* v1.0.6 — hard override theme button states */
#ensmart-native-root .ensmart-opt,
#ensmart-native-root .ensmart-opt:link,
#ensmart-native-root .ensmart-opt:visited {
    background: #ffffff !important;
    background-image: none !important;
    color: #243746 !important;
    border-color: #E5ECEF !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

#ensmart-native-root .ensmart-opt:hover,
#ensmart-native-root .ensmart-opt:focus,
#ensmart-native-root .ensmart-opt:focus-visible,
#ensmart-native-root .ensmart-opt:active {
    background: #FFF7F0 !important;
    background-image: none !important;
    color: #EB6418 !important;
    border-color: #EB6418 !important;
    box-shadow: 0 0 0 2px rgba(235,100,24,.10) !important;
    outline: none !important;
}

#ensmart-native-root .ensmart-opt.sales,
#ensmart-native-root .ensmart-opt.sales:hover,
#ensmart-native-root .ensmart-opt.sales:focus,
#ensmart-native-root .ensmart-opt.sales:active {
    border-left: 4px solid #FCD315 !important;
}

#ensmart-native-root .ensmart-opt.support,
#ensmart-native-root .ensmart-opt.support:hover,
#ensmart-native-root .ensmart-opt.support:focus,
#ensmart-native-root .ensmart-opt.support:active {
    border-left: 4px solid #EB6418 !important;
}

/* Generic chatbot button isolation against theme/Elementor states */
#ensmart-native-root button,
#ensmart-native-root button:hover,
#ensmart-native-root button:focus,
#ensmart-native-root button:focus-visible,
#ensmart-native-root button:active {
    font-family: Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
}

/* Keep CTA buttons on EnSmart palette in every state */
#ensmart-native-root .ensmart-btn,
#ensmart-native-root .ensmart-btn:hover,
#ensmart-native-root .ensmart-btn:focus,
#ensmart-native-root .ensmart-btn:focus-visible,
#ensmart-native-root .ensmart-btn:active {
    background: linear-gradient(90deg,#EB6418 0%,#FCD315 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

#ensmart-native-root .ensmart-btn.alt,
#ensmart-native-root .ensmart-btn.alt:hover,
#ensmart-native-root .ensmart-btn.alt:focus,
#ensmart-native-root .ensmart-btn.alt:active {
    background: #EDF3F6 !important;
    background-image: none !important;
    color: #243746 !important;
}
