.mithaq-osama-widget{--osama-navy:#0f172a;--osama-gold:#2563eb;position:fixed;bottom:22px;inset-inline-end:22px;z-index:2147482000;font-family:Tahoma,Arial,sans-serif;line-height:1.5}
.mithaq-osama-launch{border:1px solid #2563eb;background:#0f172a;color:#fff;border-radius:40px;min-height:50px;padding:12px 22px;cursor:pointer;box-shadow:0 10px 30px #0f172a40;font-weight:700;font-size:15px}
.mithaq-osama-panel{position:absolute;bottom:65px;inset-inline-end:0;display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));height:min(500px,calc(100dvh - 115px));background:#fff;color:#172c49;border:1px solid #dde4ec;box-shadow:0 18px 65px #0f172a25;border-radius:18px;overflow:hidden}
.mithaq-osama-panel[hidden]{display:none!important}.mithaq-osama-head{background:#0f172a;color:white;display:flex;justify-content:space-between;align-items:center;padding:15px 18px;gap:12px}.mithaq-osama-close{min-width:44px;min-height:44px;border:0;border-radius:50%;font-size:25px;background:#ffffff20;color:white;cursor:pointer}
.mithaq-osama-messages{flex:1;min-height:0;overflow:auto;padding:16px;background:#f5f8fb;display:flex;flex-direction:column;gap:9px}.mithaq-osama-bubble{max-width:93%;background:white;border:1px solid #e3e8ed;padding:9px 12px;border-radius:14px;margin:0;color:#182a3b;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.mithaq-osama-user{background:#e6f2ff;align-self:flex-start}.mithaq-osama-assistant{align-self:flex-end}
.mithaq-osama-form{display:flex;gap:7px;padding:12px;background:white;border-top:1px solid #e1e6ed}.mithaq-osama-form input{flex:1;min-width:0;border:1px solid #ced8e1;padding:10px 12px;border-radius:9px;font-size:14px;background:white;color:#1b2e45}.mithaq-osama-form button{background:#0f172a;color:white;border:0;border-radius:9px;padding:9px 12px;min-height:44px;cursor:pointer}.mithaq-osama-form button:disabled{opacity:.5}
@media(max-width:390px){.mithaq-osama-widget{inset-inline-end:12px;bottom:12px}.mithaq-osama-panel{bottom:64px}}
@media(prefers-reduced-motion:reduce){.mithaq-osama-widget *{scroll-behavior:auto!important}}

.mithaq-osama-consent{display:flex;align-items:flex-start;gap:7px;background:#fffdf5;color:#35465e;font-size:11px;padding:8px 12px;border-top:1px solid #f0e7d2;line-height:1.5}.mithaq-osama-consent input{margin-top:3px;flex:0 0 auto}

.mithaq-osama-action-row{display:flex;flex-wrap:wrap;gap:8px}.mithaq-osama-action-row button{min-height:42px;border:0;border-radius:8px;background:var(--osama-navy);color:#fff;padding:9px 12px;cursor:pointer}.mithaq-osama-action-row .mithaq-osama-action-cancel{background:#e9edf3;color:#23354d}.mithaq-osama-action-row button:disabled{opacity:.5}
