.mkwc-page{font-family:inherit;max-width:760px;margin:26px auto 60px;color:#20312d}
.mkwc-head{text-align:center;margin:0 auto 26px;max-width:640px}
.mkwc-head .mkwc-eyebrow{display:block;color:#537b69;font-weight:800;letter-spacing:.18em;font-size:11px;margin-bottom:8px}
.mkwc-head h1{font-size:clamp(26px,3vw,35px);line-height:1.2;letter-spacing:-.04em;margin:0 0 10px;color:#19382d}
.mkwc-head p{margin:0;line-height:1.65;color:#60756b;font-size:15px}
.mkwc-chat{border:1px solid #ddeae3;background:#fff;box-shadow:0 15px 45px rgba(30,70,54,.09);border-radius:21px;overflow:hidden}
.mkwc-chat-top{background:#f0f7f1;border-bottom:1px solid #ddeae3;display:flex;align-items:center;gap:12px;padding:17px 21px}
.mkwc-avatar{display:grid;place-items:center;border-radius:14px;flex:0 0 43px;height:43px;background:#285d48;color:#fff;font-size:23px;font-weight:700}
.mkwc-chat-top strong{display:block;font-weight:700;color:#24503e;font-size:15px}
.mkwc-live{display:block;color:#658374;font-size:12px;margin-top:2px}
.mkwc-live:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#36ab6b;margin-right:7px;vertical-align:middle}
.mkwc-messages{display:flex;flex-direction:column;gap:14px;height:420px;min-height:350px;overflow:auto;overscroll-behavior:contain;padding:22px 20px 18px;background:linear-gradient(160deg,#fbfdfb 0%,#fff 45%)}
.mkwc-line{display:flex;min-width:0}
.mkwc-line.is-customer{justify-content:flex-end}
.mkwc-bubble{max-width:min(87%,480px);padding:12px 15px;line-height:1.6;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:17px}
.is-assistant .mkwc-bubble{background:#f0f4f0;color:#284238;border-bottom-left-radius:5px}
.is-customer .mkwc-bubble{background:#275d47;color:#fff;border-bottom-right-radius:5px}
.mkwc-compose{display:flex;align-items:center;gap:9px;padding:13px 15px 15px;border-top:1px solid #e7eee9;background:white}
.mkwc-upload{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:11px;cursor:pointer;background:#edf5ef;color:#23533f;font-size:20px;transition:background .2s}
.mkwc-upload[aria-disabled="true"]{opacity:.4;cursor:not-allowed;pointer-events:none}
.mkwc-upload:hover{background:#dcebe1}
#mkwc-text{min-width:0;flex:1;border:1px solid #d8e6dc!important;background:#fbfdfb!important;border-radius:12px!important;font-size:14px!important;padding:12px!important;height:44px!important;box-shadow:none!important;color:#223d30!important;margin:0!important}
#mkwc-text:focus{outline:2px solid #a8cdb8;outline-offset:0}
#mkwc-submit{border:0;border-radius:12px;background:#285d48;color:white;height:44px;padding:0 20px;line-height:1;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}
#mkwc-submit:hover{background:#1d4735}
#mkwc-submit:disabled,#mkwc-text:disabled{opacity:.65;cursor:progress}
.mkwc-attach{display:flex;align-items:center;gap:12px;padding:9px 15px;background:#f8faf8;border-top:1px solid #e7eee9;color:#576b60;font-size:12px;overflow:hidden}
.mkwc-attach[hidden]{display:none}
#mkwc-file-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#mkwc-remove{background:none;border:0;color:#8b3e3e;text-decoration:underline;cursor:pointer;font-size:12px}
.mkwc-safety{font-size:13px;color:#62776b;line-height:1.65;margin:16px 5px 8px}
.mkwc-help{font-size:13px;color:#62776b;line-height:1.65;margin:4px 5px 18px}
.mkwc-safety a,.mkwc-help a{color:#245d47;text-decoration:underline}
.mkwc-privacy-stop{margin-top:24px}
.mkwc-privacy-stop .mkv5-panel{max-width:none}
@media(max-width:650px){
.mkwc-page{margin:16px -8px 45px}
.mkwc-head{padding:0 14px 0;margin-bottom:19px}
.mkwc-head h1{font-size:27px}
.mkwc-head p{font-size:13px}
.mkwc-chat{border-radius:16px}
.mkwc-chat-top{padding:13px 14px}
.mkwc-messages{height:min(48vh,480px);min-height:340px;padding:17px 12px 14px}
.mkwc-bubble{padding:11px 13px;max-width:91%;font-size:13px}
.mkwc-compose{padding:10px;gap:7px}
.mkwc-upload{flex-basis:39px;width:39px;height:41px}
#mkwc-text{font-size:13px!important;padding:9px!important}
#mkwc-submit{height:42px;padding:0 14px}
.mkwc-safety,.mkwc-help{padding:0 14px}
}

:where(#mkwc-app) .mkwc-attach{flex-wrap:wrap;gap:10px;align-items:center}
:where(#mkwc-app) #mkwc-preview{display:block;max-width:min(100%,240px);max-height:180px;object-fit:contain;border-radius:8px}
:where(#mkwc-app) .mkwc-attach-actions{display:flex;gap:12px;flex-wrap:wrap}
:where(#mkwc-app) #mkwc-send-image{background:#255c49;color:white;border:0;border-radius:8px;padding:10px 18px;min-height:44px;cursor:pointer}
:where(#mkwc-app) .mkwc-attach[hidden]{display:none}

.mkwc-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px 15px;background:#fff;border-top:1px solid #e7eee9}
.mkwc-actions button{border:1px solid #bfd6c8;border-radius:9px;background:#f4f9f5;color:#24503e;padding:9px 12px;min-height:44px;font:inherit;font-size:13px;cursor:pointer}
.mkwc-actions button:hover{background:#e5f0e8}
.mkwc-actions button:focus-visible{outline:2px solid #285d48;outline-offset:2px}
.mkwc-actions button:disabled{opacity:.6;cursor:progress}
.mkwc-actions button[hidden]{display:none}
