.mlda-widget{--mlda-accent:#147d7d;position:fixed!important;right:22px!important;bottom:22px!important;z-index:2147483646!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;font-family:Arial,sans-serif;color:#152326;letter-spacing:0}
.mlda-widget *{box-sizing:border-box}
.mlda-toggle{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;align-items:center;gap:9px;height:50px;padding:0 18px;border:0;border-radius:7px;background:var(--mlda-accent);color:#fff;font-weight:700;box-shadow:0 10px 28px rgba(15,47,54,.24);cursor:pointer}
.mlda-toggle .dashicons{font-size:21px;width:21px;height:21px}
.mlda-panel{position:absolute;right:0;bottom:62px;display:grid;grid-template-rows:auto minmax(180px,1fr) auto auto auto;width:min(430px,calc(100vw - 30px));height:min(660px,calc(100vh - 105px));overflow:hidden;border:1px solid #dce4e1;border-radius:8px;background:#fff;box-shadow:0 24px 70px rgba(16,47,54,.28)}
.mlda-panel[hidden]{display:none!important}
.mlda-header{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:14px 15px 14px 18px;background:#102f36;color:#fff}
.mlda-header strong,.mlda-header span{display:block}
.mlda-header strong{font-size:16px}
.mlda-header div>span{margin-top:3px;color:#c9deda;font-size:12px}
.mlda-header i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#d9f272}
.mlda-close{display:grid;place-items:center;width:38px;height:38px;border:0;background:transparent;color:#fff;cursor:pointer}
.mlda-close .dashicons{font-size:25px;width:25px;height:25px}
.mlda-messages{overflow:auto;padding:18px;background:#f6f8f5;scrollbar-width:thin}
.mlda-message{display:flex;margin:0 0 12px}
.mlda-message>div{max-width:88%;padding:11px 13px;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.mlda-message-assistant>div{border:1px solid #dce4e1;background:#fff}
.mlda-message-user{justify-content:flex-end}
.mlda-message-user>div{background:#173f48;color:#fff}
.mlda-message.is-loading>div{color:#667577}
.mlda-product-results{display:grid;gap:9px;margin:4px 0 17px}
.mlda-product-results-title{color:#173f48;font-size:12px;text-transform:uppercase}
.mlda-product-card{display:grid;grid-template-columns:96px minmax(0,1fr);min-height:112px;overflow:hidden;border:1px solid #d8e2df;border-radius:7px;background:#fff;box-shadow:0 5px 16px rgba(18,55,59,.08)}
.mlda-product-media{display:grid;place-items:center;width:96px;min-height:112px;padding:0;overflow:hidden;border:0;border-right:1px solid #e0e7e5;background:#eef3f0;color:#147d7d;font-size:17px;font-weight:800;cursor:pointer}
.mlda-product-media img{display:block;width:100%;height:100%;min-height:112px;object-fit:cover}
.mlda-product-media.has-no-image{background:#e8f0ed}
.mlda-product-body{display:flex;min-width:0;flex-direction:column;padding:10px 11px}
.mlda-product-category{overflow:hidden;color:#147d7d;font-size:10px;font-weight:700;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.mlda-product-title{display:-webkit-box;margin-top:3px;overflow:hidden;color:#17353b;font-size:13px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.mlda-product-summary{display:-webkit-box;margin:5px 0 8px;overflow:hidden;color:#607073;font-size:10px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.mlda-product-actions{display:flex;gap:7px;margin-top:auto}
.mlda-product-actions button,.mlda-product-actions a{display:inline-flex;align-items:center;min-height:27px;padding:4px 7px;border-radius:4px;font-size:10px;font-weight:700;text-decoration:none;cursor:pointer}
.mlda-product-preview-button{border:1px solid #9ebbb6;background:#fff;color:#155d5d}
.mlda-product-link{border:1px solid var(--mlda-accent);background:var(--mlda-accent);color:#fff}
.mlda-product-preview{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;overflow:auto;background:#fff}
.mlda-product-preview[hidden]{display:none!important}
.mlda-preview-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:10px 12px 10px 17px;background:#102f36;color:#fff}
.mlda-preview-heading{font-size:14px}
.mlda-preview-close{display:grid;place-items:center;width:38px;height:38px;border:0;background:transparent;color:#fff;cursor:pointer}
.mlda-preview-close .dashicons{font-size:25px;width:25px;height:25px}
.mlda-preview-media{position:relative;display:grid;place-items:center;min-height:250px;padding:14px;background:#edf2ef}
.mlda-preview-media.has-no-image{min-height:150px}
.mlda-preview-media.has-no-image:before{content:'Meilida Paint';color:#147d7d;font-size:20px;font-weight:800}
.mlda-preview-media.has-no-image .mlda-preview-image{display:none}
.mlda-preview-image{display:block;width:100%;height:220px;object-fit:contain}
.mlda-preview-thumbs{display:flex;width:100%;gap:7px;overflow-x:auto;margin-top:10px}
.mlda-preview-thumb{flex:0 0 48px;width:48px;height:48px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:4px;background:#fff;cursor:pointer}
.mlda-preview-thumb.is-active{border-color:var(--mlda-accent)}
.mlda-preview-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.mlda-preview-content{padding:18px}
.mlda-preview-category{display:block;color:#147d7d;font-size:11px;font-weight:700;text-transform:uppercase}
.mlda-preview-title{margin:5px 0 8px;color:#17353b;font-size:20px;line-height:1.25}
.mlda-preview-summary{margin:0 0 16px;color:#55666a;font-size:13px;line-height:1.6}
.mlda-preview-link{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border-radius:5px;background:var(--mlda-accent);color:#fff;font-size:12px;font-weight:700;text-decoration:none}
.mlda-product-media:focus-visible,.mlda-product-actions button:focus-visible,.mlda-product-actions a:focus-visible,.mlda-preview-thumb:focus-visible,.mlda-preview-close:focus-visible,.mlda-preview-link:focus-visible{outline:2px solid #d9f272;outline-offset:2px}
.mlda-suggestions{display:flex;gap:7px;overflow-x:auto;padding:10px 14px;border-top:1px solid #e6ece9;background:#fff}
.mlda-suggestions:empty{display:none}
.mlda-suggestions button{flex:0 0 auto;max-width:235px;padding:7px 9px;border:1px solid #b9ceca;border-radius:6px;background:#fff;color:#155d5d;font-size:11px;text-align:left;cursor:pointer}
.mlda-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;padding:11px 13px;border-top:1px solid #e1e8e5;background:#fff}
.mlda-form textarea{width:100%;min-height:44px;max-height:92px;resize:none;padding:10px 11px;border:1px solid #becdca;border-radius:6px;color:#152326;font:14px/1.4 Arial,sans-serif;letter-spacing:0}
.mlda-form textarea:focus{outline:2px solid color-mix(in srgb,var(--mlda-accent) 32%,transparent);border-color:var(--mlda-accent)}
.mlda-form button{display:grid;place-items:center;width:42px;height:42px;align-self:end;border:0;border-radius:6px;background:var(--mlda-accent);color:#fff;cursor:pointer}
.mlda-form button:disabled{opacity:.5;cursor:wait}
.mlda-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}
.mlda-footer{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 13px;border-top:1px solid #e7ecea;background:#fff;font-size:10px;color:#667577}
.mlda-footer span{margin-right:auto}
.mlda-footer a{color:#116868;font-weight:700;text-decoration:none}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.mlda-widget{right:12px;bottom:12px}
.mlda-toggle{height:48px;padding:0 15px}
.mlda-panel{position:fixed;right:10px;bottom:70px;width:calc(100vw - 20px);height:min(680px,calc(100dvh - 88px))}
.mlda-product-card{grid-template-columns:88px minmax(0,1fr)}
.mlda-product-media{width:88px}
.mlda-preview-media{min-height:220px}
.mlda-preview-image{height:190px}
.mlda-header{min-height:66px}
.mlda-footer{gap:8px}
.mlda-footer span{max-width:145px}
}

/* Persistent launcher protection against theme/optimizer overrides. */
html body #mlda-widget.mlda-widget{display:block!important;visibility:visible!important;opacity:1!important;position:fixed!important;z-index:2147483646!important;pointer-events:auto!important}
html body #mlda-widget .mlda-toggle{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
