.taqat-assistant {position:fixed;right:22px;bottom:24px;z-index:90;direction:rtl;font-family:inherit;color:#172041;font-size:14px;line-height:1.8;color-scheme:light;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.taqat-assistant.is-open{z-index:1000}
.taqat-assistant *{box-sizing:border-box}
.taqat-assistant [hidden]{display:none!important}
.taqat-assistant button,.taqat-assistant textarea{font:inherit}
.taqat-assistant button{cursor:pointer}
.taqat-assistant button:focus-visible,.taqat-assistant a:focus-visible,.taqat-assistant textarea:focus-visible{outline:3px solid #af79d5;outline-offset:3px}
.taqat-assistant-launch{border:1px solid #9164ac;border-radius:50px;padding:12px 20px;background:linear-gradient(130deg,#503073,#262146);color:white;display:flex;gap:10px;align-items:center;box-shadow:0 10px 30px #36224733;font-weight:700}
.taqat-assistant-launch svg{width:25px;height:25px}
.taqat-assistant-panel{position:absolute;bottom:72px;right:0;width:390px;max-width:calc(100vw - 28px);height:610px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:#fff;border:1px solid #e5deed;border-radius:24px;box-shadow:0 20px 70px #1a123940;overflow:hidden}
.taqat-assistant-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;color:#fff;background:linear-gradient(120deg,#4e2b73,#20203f)}
.taqat-assistant-header strong{display:block;font-size:17px}
.taqat-assistant-header small{color:#eee2f8}
.taqat-assistant-close{background:#ffffff17;border:1px solid #ffffff44;border-radius:50%;color:white;width:44px;height:44px;flex-shrink:0;font-size:23px!important}
.taqat-assistant-log{flex:1;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px;background:#faf8fc;min-height:0;min-width:0}
.taqat-assistant-bubble{border:1px solid #e9e2ef;border-radius:16px 16px 4px 16px;padding:11px 13px;margin:0 0 12px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}
.taqat-assistant-bubble.user{background:#f0e7f7;border-color:#e2d3ee;margin-right:30px;border-radius:16px 16px 16px 4px}
.taqat-assistant-sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.taqat-assistant-sources a{color:#5d337d;text-decoration:underline;font-size:12px}
.taqat-assistant-feedback{display:flex;gap:8px;margin-top:8px}
.taqat-assistant-feedback button{border:1px solid #ddd2e5;background:#fff;border-radius:7px;padding:2px 9px;color:#563570;font-size:11px}
.taqat-assistant-feedback button[aria-pressed=true]{background:#ece0f5;border-color:#7e4e9c}
.taqat-assistant-consent{padding:16px;background:#fff;border-top:1px solid #ece7f2;font-size:12px;color:#51546b;flex:0 1 auto;max-height:45%;overflow:auto;overscroll-behavior:contain}
.taqat-assistant-consent label{display:flex;gap:10px;align-items:center;min-height:44px;cursor:pointer}
.taqat-assistant-consent input{appearance:none;-webkit-appearance:none;margin:0;width:24px;height:24px;flex-shrink:0;display:grid;place-content:center;border:1.5px solid #8b779e;border-radius:5px;background:#fff;cursor:pointer}
.taqat-assistant-consent input:checked{background:#674183;border-color:#674183}
.taqat-assistant-consent input:checked::after{content:"";width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.taqat-assistant-consent input:focus-visible{outline:3px solid #af79d5;outline-offset:3px}
.taqat-assistant-form{padding:12px 14px;background:white;border-top:1px solid #ece7f2;flex-shrink:0}
.taqat-assistant-compose{display:flex;gap:8px;align-items:flex-end}
.taqat-assistant-compose textarea{border:1px solid #d9cfe4;border-radius:12px;padding:10px;resize:none;min-height:48px;max-height:90px;min-width:0;flex:1;width:100%;font-size:16px;line-height:1.5;color:#172041;background:#fff}
.taqat-assistant-send{border:0;border-radius:12px;background:#633886;color:white;padding:11px 14px;min-height:48px}
.taqat-assistant-send:disabled{opacity:.5;cursor:wait}
.taqat-assistant-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:0 15px 10px;background:#fff;font-size:11px}
.taqat-assistant-footer a{color:#176a49;text-decoration:underline}
.taqat-assistant-footer button{border:0;background:none;color:#666;padding:7px 0}
.taqat-assistant-note{font-size:11px;color:#686078;margin:7px 0 0}
.taqat-assistant-preview{max-width:780px;margin:40px auto;padding:38px;border:1px solid #e3d7ed;border-radius:24px;background:#faf7fc;line-height:2;color:#27213d}
.taqat-assistant-preview h1{font-size:32px;font-weight:800;margin:15px 0}
.taqat-assistant-preview a{color:#623785;text-decoration:underline}
@media(max-width:600px){
  .taqat-assistant{right:max(14px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom))}
  .taqat-assistant-launch{padding:11px 14px;font-size:12px}
  .taqat-assistant.is-open .taqat-assistant-launch{visibility:hidden}
  .taqat-assistant-panel{
    position:fixed;right:auto;bottom:auto;
    top:calc(var(--assistant-vy,0px) + env(safe-area-inset-top) + 8px);
    left:calc(var(--assistant-vx,0px) + env(safe-area-inset-left) + 8px);
    width:calc(var(--assistant-vw,100vw) - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
    height:calc(var(--assistant-vh,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
    max-width:none;max-height:none;border-radius:20px;
  }
  .taqat-assistant-header{padding:12px 14px}
  .taqat-assistant-header strong{font-size:16px}
  .taqat-assistant-log{padding:12px}
  .taqat-assistant-consent{padding:12px 14px}
  .taqat-assistant-form{padding:10px 12px 4px}
  .taqat-assistant-note{font-size:10px}
}
@media(prefers-reduced-motion:no-preference){.taqat-assistant-panel{animation:taqatAssistantIn .2s ease-out}@keyframes taqatAssistantIn{from{opacity:0}to{opacity:1}}}
