:root{--ca-ink:#29243e;--ca-muted:#857c90;--ca-border:#ebe3ee;--ca-purple:#7637e6;--ca-pink:#dc38b9;--ca-mauve:#faf6fc;--ca-orange:#efa51d}
.colorly-chat{box-sizing:border-box;direction:rtl;font-family:inherit;color:var(--ca-ink);width:min(100%,1380px);height:min(94vh,1020px);min-height:700px;margin:20px auto;background:#fff;border:1px solid #e9deed;border-radius:26px;box-shadow:0 18px 54px rgba(51,31,72,.13);display:flex;flex-direction:column;overflow:hidden;position:relative;isolation:isolate}
.colorly-chat *{box-sizing:border-box}.colorly-chat [hidden]{display:none!important}
.colorly-header{height:116px;min-height:116px;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#fff;background:linear-gradient(112deg,#df36bc 0%,#a03ae0 52%,#7134e0 100%)}
.colorly-brand{display:flex;align-items:center;gap:12px;min-width:0}.colorly-hero-robot{width:88px;height:94px;object-fit:contain;flex:0 0 88px;filter:drop-shadow(0 5px 10px rgba(31,17,48,.18))}.colorly-head-copy{min-width:0}.colorly-head-copy h2{font-size:clamp(22px,2.6vw,32px);line-height:1.2;margin:0 0 7px;color:#fff;white-space:normal}.colorly-online{font-size:14px;display:flex;align-items:center;gap:8px;color:#fff}.colorly-online i{width:9px;height:9px;background:#ffe5f4;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.17)}.colorly-logo{width:112px;height:52px;object-fit:contain;flex:0 0 112px;background:rgba(255,255,255,.97);border-radius:12px;padding:4px 7px}
.colorly-head-tools{display:flex;align-items:center;gap:9px}.colorly-head-tools button{border:1px solid rgba(255,255,255,.48);background:rgba(255,255,255,.12);color:white;cursor:pointer}.colorly-sidebar-toggle{width:50px;height:50px;border-radius:15px;font-size:23px;display:grid;place-items:center}.colorly-new-chat{height:50px;padding:0 13px;border-radius:15px;display:flex;align-items:center;gap:7px;font:inherit;font-size:13px;font-weight:700}.colorly-new-chat span{font-size:21px;line-height:1}
.colorly-notice{margin:0;padding:9px 18px;text-align:center;color:#766e82;background:#fffafd;border-bottom:1px solid #f1eaf3;font-size:13px;line-height:1.65}.colorly-workspace{display:flex;flex:1;min-height:0;position:relative;background:#fff}
.colorly-wait-notice{flex:0 0 auto;margin:0;padding:5px 12px 8px;text-align:center;color:#897f91;background:#fffafd;border-top:1px solid #f1eaf3;font-size:14px;line-height:1.65}
.colorly-sidebar{width:310px;min-width:280px;max-width:34%;display:flex;flex-direction:column;background:#fbf8fc;border-left:1px solid var(--ca-border);padding:17px 14px 12px;overflow:hidden}.colorly-side-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 13px}.colorly-side-title h3{font-size:17px;margin:0;color:#362c4c}.colorly-side-close{display:none;border:0;background:transparent;color:#70647d;font-size:27px;cursor:pointer}.colorly-search-wrap{height:44px;flex:0 0 44px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #e6dcea;border-radius:13px;background:white;color:#8544d8}.colorly-search-wrap span{font-size:22px}.colorly-search{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ca-ink);font:inherit;font-size:12px}.colorly-search::placeholder{color:#9b91a2}.colorly-side-tabs{display:flex;gap:5px;padding:9px 0 10px}.colorly-side-tabs button{flex:1;border:1px solid transparent;border-radius:11px;padding:9px 7px;background:transparent;color:#746a80;font:inherit;font-weight:700;font-size:13px;cursor:pointer}.colorly-side-tabs button.active{background:#f0e6fb;color:#6930c9;border-color:#e4d4f4}.colorly-sidebar-content{flex:1;min-height:0;overflow:auto}.colorly-history-list,.colorly-files-list{display:flex;flex-direction:column;gap:7px}.colorly-history-item,.colorly-history-file{width:100%;display:flex;align-items:center;gap:10px;text-align:right;padding:10px 9px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--ca-ink);font:inherit;cursor:pointer;text-decoration:none}.colorly-history-item:hover,.colorly-history-file:hover{background:#fff;border-color:#eadff0}.colorly-history-item.active{background:#f4ecfc;border-color:#e7d9f4}.colorly-history-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:#eee4fa;color:#7539d5;font-size:18px}.colorly-history-copy,.colorly-file-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.colorly-history-copy strong,.colorly-file-copy strong{font-size:12px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.colorly-history-copy small,.colorly-file-copy small{font-size:10px;color:#8c8293;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.colorly-file-icon{width:40px;height:40px;flex:0 0 40px;border-radius:12px;display:grid;place-items:center;background:#fff0db;color:#9a6300;border:1px solid #f6dfb7;font-size:9px;font-weight:800;direction:ltr}.colorly-empty-history{margin:20px 4px;text-align:center;color:#91869a;font-size:12px;line-height:1.7}.colorly-privacy-note{border-top:1px solid #eee6f0;margin-top:9px;padding:10px 4px 0;text-align:center;color:#968b9c;font-size:10px;line-height:1.5}
.colorly-sidebar-backdrop{display:none}.colorly-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff 0%,#fdfbfe 100%);position:relative}.colorly-current-title{min-height:42px;padding:9px 19px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #f3edf5;color:#756a81;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.colorly-current-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#d548ba}.colorly-messages{flex:1;min-height:160px;overflow:auto;padding:25px clamp(14px,3vw,38px);display:flex;flex-direction:column;gap:17px;scroll-behavior:smooth}.colorly-message{display:flex;align-items:flex-end;gap:9px;max-width:min(92%,780px)}.colorly-message.assistant{align-self:flex-start;flex-direction:row}.colorly-message.user{align-self:flex-end;flex-direction:row-reverse}.colorly-avatar{width:50px;height:50px;object-fit:contain;flex:0 0 50px;filter:drop-shadow(0 2px 5px rgba(55,31,77,.12))}.colorly-bubble{padding:14px 18px;border:1px solid #e9e1ed;border-radius:21px 21px 21px 6px;background:#fff;box-shadow:0 5px 18px rgba(62,41,81,.05);font-size:15px;line-height:1.8;overflow-wrap:anywhere;min-width:0}.colorly-message.user .colorly-bubble{background:#f7f0fc;border-color:#e8dafa;border-radius:21px 21px 6px 21px}.colorly-bubble p{margin:0 0 9px}.colorly-bubble p:last-child{margin-bottom:0}.colorly-bubble h3,.colorly-bubble h4{margin:4px 0 9px;line-height:1.5;color:#5b2dad}.colorly-bubble h3{font-size:18px}.colorly-bubble h4{font-size:16px}.colorly-bubble ul{margin:2px 0 10px;padding-right:21px}.colorly-bubble li{margin:3px 0}.colorly-bubble strong{color:#4f288e}.colorly-bubble code{padding:2px 5px;border-radius:5px;background:#f4edf9;direction:ltr;unicode-bidi:embed}.colorly-message-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:9px;margin-top:14px}.colorly-download-card{min-width:0;display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e8d9f1;border-radius:14px;background:linear-gradient(120deg,#fff,#fcf8ff);color:#352c47;text-decoration:none;box-shadow:0 4px 13px rgba(72,42,96,.05);transition:transform .15s,border-color .15s}.colorly-download-card:hover{transform:translateY(-1px);border-color:#c9aae7}.colorly-download-card .colorly-file-copy strong{font-size:12px}.colorly-download-card .colorly-file-copy small{font-size:10px}.colorly-file-arrow{margin-right:auto;color:#7433d7;font-size:21px;padding-inline:3px}
.colorly-action-wrap{padding:8px 16px 12px;border-top:1px solid #f1eaf3;background:linear-gradient(180deg,rgba(255,255,255,.94),#fffafd)}.colorly-action-wrap[hidden]{display:none}.colorly-action-hint{margin:0 2px 7px;color:#877d8f;font-size:11px}.colorly-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.colorly-actions button{min-height:48px;padding:8px 10px;border:1px solid #e9e0ed;border-radius:15px;background:#fff;color:#38304c;font:inherit;font-size:12px;font-weight:700;box-shadow:0 3px 8px rgba(61,37,80,.04);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:7px;text-align:right;transition:transform .15s,border-color .15s,box-shadow .15s}.colorly-actions button:hover{transform:translateY(-2px);border-color:#d9b6ef;box-shadow:0 6px 15px rgba(119,55,231,.1)}.colorly-actions b{font-size:15px;color:#813be4;background:#f3e9fc;width:28px;height:28px;flex:0 0 28px;border-radius:9px;display:grid;place-items:center}.colorly-actions button:nth-child(3n+2) b{color:#d32da8;background:#fce9f6}.colorly-actions button:nth-child(3n) b{color:#b67609;background:#fff2d5}
.colorly-composer{border-top:1px solid #eee6f0;padding:12px 15px 15px;display:flex;align-items:center;gap:9px;background:#fffafd}.colorly-composer textarea{flex:1;resize:none;max-height:140px;min-height:52px;border:1px solid #e1d7e6;border-radius:26px;padding:12px 17px;background:#fff;color:#302942;font:inherit;font-size:14px;line-height:1.65;outline:none}.colorly-composer textarea:focus{border-color:#a874e8;box-shadow:0 0 0 3px rgba(119,55,231,.09)}.colorly-composer-services{width:42px;height:42px;flex:0 0 42px;border:1px solid #e5d9ed;border-radius:50%;background:#fff;color:#7134d2;font-size:24px;cursor:pointer}.colorly-send{height:52px;width:76px;flex:0 0 76px;border:0;border-radius:28px;background:linear-gradient(120deg,#8836e8,#6e32da);color:#fff;font-size:24px;cursor:pointer;box-shadow:0 8px 18px rgba(119,55,231,.2)}.colorly-send:disabled{opacity:.55;cursor:wait}.colorly-status{font-size:13px;line-height:1.55;max-height:72px;overflow:auto;color:#6d6379;min-height:0;padding:0 20px 7px}.colorly-status:not(:empty){min-height:24px}.colorly-typing{align-self:flex-start;color:#7e7489;font-size:13px;padding:0 55px}
@media(max-width:980px){.colorly-chat{width:calc(100% - 20px)}.colorly-sidebar{width:270px;min-width:250px}.colorly-hero-robot{width:74px;flex-basis:74px}.colorly-logo{width:92px;flex-basis:92px}}
@media(max-width:760px){.colorly-chat{width:100%;height:100dvh;min-height:590px;margin:0;border-radius:0;border:0}.colorly-header{height:94px;min-height:94px;padding:8px 10px;gap:7px}.colorly-brand{gap:6px}.colorly-hero-robot{width:61px;height:72px;flex-basis:61px}.colorly-head-copy h2{font-size:20px;margin-bottom:5px}.colorly-online{font-size:11px}.colorly-online i{width:8px;height:8px}.colorly-logo{width:68px;height:40px;flex-basis:68px;padding:3px}.colorly-head-tools{gap:5px}.colorly-sidebar-toggle{width:40px;height:42px;border-radius:12px;font-size:20px}.colorly-new-chat{width:43px;height:42px;padding:0;justify-content:center;border-radius:12px}.colorly-new-chat span{font-size:23px}.colorly-new-chat small{display:none}.colorly-notice{padding:7px 10px;font-size:11px}.colorly-wait-notice{padding:5px 8px 7px;font-size:13px;line-height:1.55}.colorly-sidebar{display:none;position:absolute;z-index:8;top:0;bottom:0;right:0;width:min(330px,86vw);max-width:86vw;min-width:0;border-left:0;box-shadow:-12px 0 30px rgba(42,24,59,.17);padding:18px 14px}.colorly-chat.sidebar-open .colorly-sidebar{display:flex}.colorly-chat.sidebar-open .colorly-sidebar-backdrop{display:block;position:absolute;inset:0;z-index:7;background:rgba(39,28,48,.27)}.colorly-side-close{display:block}.colorly-main{width:100%}.colorly-current-title{min-height:36px;padding:7px 12px;font-size:11px}.colorly-messages{padding:16px 9px;min-height:130px;gap:13px}.colorly-message{max-width:96%;gap:6px}.colorly-avatar{width:42px;height:42px;flex-basis:42px}.colorly-bubble{font-size:14px;padding:11px 13px;border-radius:18px 18px 18px 5px}.colorly-bubble h3{font-size:16px}.colorly-bubble h4{font-size:14px}.colorly-action-wrap{padding:7px 9px 8px}.colorly-action-hint{font-size:10px;margin-bottom:5px}.colorly-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.colorly-actions button{min-height:46px;padding:6px 7px;border-radius:13px;font-size:11px;line-height:1.35}.colorly-actions b{width:23px;height:23px;flex-basis:23px;font-size:13px;border-radius:8px}.colorly-composer{padding:9px 9px 12px;gap:6px}.colorly-composer textarea{min-height:47px;padding:10px 14px;font-size:13px}.colorly-composer-services{width:37px;height:37px;flex-basis:37px;font-size:22px}.colorly-send{width:58px;height:47px;flex-basis:58px;font-size:21px}.colorly-current-title span:last-child{overflow:hidden;text-overflow:ellipsis}}
@media(max-width:390px){.colorly-header{padding-inline:7px}.colorly-hero-robot{width:52px;height:64px;flex-basis:52px}.colorly-head-copy h2{font-size:18px}.colorly-online{font-size:10px}.colorly-logo{width:56px;height:35px;flex-basis:56px}.colorly-head-tools{gap:4px}.colorly-sidebar-toggle{width:37px}.colorly-new-chat{width:39px}.colorly-actions button{font-size:10px;padding:5px}.colorly-actions b{width:20px;height:20px;flex-basis:20px}}

.colorly-chat:not(.quick-collapsed) .colorly-composer-services{display:none}

/* Optional site-wide floating assistant */
.colorly-floating-widget{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:99990;direction:rtl;font-family:inherit}
.colorly-floating-widget [hidden]{display:none!important}
.colorly-floating-launcher{height:72px;min-width:196px;padding:6px 17px 6px 8px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.72);border-radius:40px;background:linear-gradient(115deg,#df36bc,#9137e4 62%,#7134e0);color:#fff;box-shadow:0 12px 32px rgba(93,43,164,.3);cursor:pointer;font:inherit;font-weight:800;font-size:15px;transition:transform .18s,box-shadow .18s}
.colorly-floating-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(93,43,164,.37)}
.colorly-floating-launcher img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(37,18,61,.22))}
.colorly-floating-panel{position:fixed;right:24px;bottom:112px;width:min(920px,calc(100vw - 48px));height:min(82vh,860px);min-height:min(620px,calc(100vh - 140px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #e6dbea;border-radius:24px;background:#fff;box-shadow:0 22px 70px rgba(37,22,54,.28);z-index:99998}
.colorly-floating-panel[hidden]{display:none!important}
.colorly-floating-topbar{height:42px;min-height:42px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbf7fc;border-bottom:1px solid #eee5f0;color:#453b54;font-size:12px;font-weight:700}
.colorly-floating-close{height:30px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #e8ddec;border-radius:10px;background:#fff;color:#62576d;font:inherit;cursor:pointer}
.colorly-floating-close b{font-size:18px;color:#7a38d6}
.colorly-floating-body{flex:1;min-height:0;overflow:hidden}
.colorly-floating-body .colorly-chat{width:100%;height:100%;min-height:0;max-height:100%;margin:0;border:0;border-radius:0 0 22px 22px;box-shadow:none}
.colorly-floating-body .colorly-header{height:94px;min-height:94px;padding:8px 17px}
.colorly-floating-body .colorly-hero-robot{width:70px;height:76px;flex-basis:70px}
.colorly-floating-body .colorly-logo{width:92px;flex-basis:92px}
.colorly-floating-body .colorly-sidebar{width:270px;min-width:250px}
.colorly-floating-backdrop{display:none}
@media(max-width:760px){
 .colorly-floating-widget{right:max(12px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}
 .colorly-floating-launcher{width:68px;min-width:68px;height:68px;padding:4px;justify-content:center;border-radius:50%}
 .colorly-floating-launcher img{width:58px;height:58px}
 .colorly-floating-launcher span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .colorly-floating-panel{right:8px;left:8px;bottom:calc(max(90px,env(safe-area-inset-bottom) + 78px));width:auto;height:min(78dvh,760px);min-height:500px;max-height:calc(100dvh - 110px);border-radius:22px}
 .colorly-floating-topbar{height:38px;min-height:38px;padding-inline:11px}
 .colorly-floating-body .colorly-chat{width:100%;height:100%;min-height:0;max-height:100%;margin:0;border:0;border-radius:0 0 20px 20px}
 .colorly-floating-body .colorly-header{height:82px;min-height:82px;padding:5px 7px;gap:5px}
 .colorly-floating-body .colorly-hero-robot{width:53px;height:62px;flex-basis:53px}
 .colorly-floating-body .colorly-head-copy h2{font-size:18px}
 .colorly-floating-body .colorly-logo{width:55px;height:34px;flex-basis:55px}
 .colorly-floating-body .colorly-notice{font-size:10px;padding:5px 8px}
 .colorly-floating-body .colorly-messages{min-height:100px;padding:12px 8px}
 .colorly-floating-body .colorly-sidebar{width:min(290px,86vw);max-width:86vw;min-width:0}
 .colorly-floating-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(31,21,42,.38);z-index:99997}
}


/* Local Noto Naskh Arabic and mobile-first readability refresh */
@font-face{font-family:'Noto Naskh Arabic';src:url('./fonts/NotoNaskhArabic-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Naskh Arabic';src:url('./fonts/NotoNaskhArabic-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Noto Naskh Arabic';src:url('./fonts/NotoNaskhArabic-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Noto Naskh Arabic';src:url('./fonts/NotoNaskhArabic-Bold.woff2') format('woff2');font-style:normal;font-weight:700 900;font-display:swap}
.colorly-chat,.colorly-floating-widget{font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif;font-size:17px;font-weight:400}
.colorly-chat button,.colorly-chat input,.colorly-chat textarea,.colorly-floating-widget button{font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif}
.colorly-header{height:126px;min-height:126px;padding:12px 24px}
.colorly-head-copy h2{font-size:30px;line-height:1.4;font-weight:700}
.colorly-online{font-size:15px}
.colorly-notice{font-size:15px;line-height:1.9;padding:11px 20px}
.colorly-sidebar{width:330px;min-width:300px}
.colorly-side-title h3{font-size:20px;font-weight:700}
.colorly-search-wrap{height:52px;flex-basis:52px}
.colorly-search{font-size:15px;line-height:1.7}
.colorly-side-tabs button{font-size:15px;padding:11px 8px}
.colorly-history-item,.colorly-history-file{padding:12px 10px}
.colorly-history-copy strong,.colorly-file-copy strong{font-size:15px;line-height:1.65}
.colorly-history-copy small,.colorly-file-copy small{font-size:12.5px;line-height:1.6}
.colorly-file-icon{font-size:11px}
.colorly-empty-history{font-size:14px;line-height:1.9}
.colorly-privacy-note{font-size:12px;line-height:1.8}
.colorly-current-title{min-height:48px;font-size:15px;line-height:1.7}
.colorly-messages{padding:26px clamp(15px,3vw,40px);gap:20px}
.colorly-message{max-width:min(96%,860px);gap:10px}
.colorly-avatar{width:56px;height:56px;flex-basis:56px}
.colorly-bubble{padding:17px 21px;font-size:18px;line-height:1.95}
.colorly-bubble p{margin-bottom:12px}
.colorly-bubble h3{font-size:24px;line-height:1.7}
.colorly-bubble h4{font-size:21px;line-height:1.7}
.colorly-bubble li{margin:5px 0;line-height:1.9}
.colorly-message-files{gap:11px;margin-top:16px}
.colorly-download-card{padding:14px 15px;gap:12px}
.colorly-download-card .colorly-file-copy strong{font-size:15px;line-height:1.6}
.colorly-download-card .colorly-file-copy small{font-size:12.5px;line-height:1.6}
.colorly-file-icon{font-size:12px}
.colorly-action-wrap{padding:12px 16px 14px;max-height:44vh;overflow:auto}
.colorly-action-hint{font-size:14px;line-height:1.8}
.colorly-actions button{min-height:58px;font-size:15px;line-height:1.65;padding:9px 11px}
.colorly-actions b{width:32px;height:32px;flex-basis:32px;font-size:17px}
.colorly-composer{padding:13px 15px 15px;gap:11px}
.colorly-composer textarea{min-height:60px;padding:14px 18px;font-size:17px;line-height:1.8}
.colorly-composer-services{width:48px;height:48px;flex-basis:48px;font-size:26px}
.colorly-send{height:60px;width:78px;flex-basis:78px;font-size:27px}
.colorly-status{font-size:15px;line-height:1.8;max-height:88px;padding:2px 20px 9px}
.colorly-status:not(:empty){min-height:32px}
.colorly-floating-launcher{font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif;font-size:17px}
.colorly-floating-topbar{font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif;font-size:14px}
.colorly-floating-body .colorly-header{height:104px;min-height:104px}
@media(max-width:760px){
 .colorly-chat{min-height:640px}
 .colorly-header{height:105px;min-height:105px;padding:9px 11px}
 .colorly-hero-robot{width:64px;height:78px;flex-basis:64px}
 .colorly-head-copy h2{font-size:24px;line-height:1.45;margin-bottom:4px}
 .colorly-online{font-size:13.5px}
 .colorly-logo{width:70px;height:42px;flex-basis:70px}
 .colorly-new-chat{font-size:15px}
 .colorly-notice{font-size:13.5px;line-height:1.9;padding:9px 12px}
 .colorly-sidebar{width:min(360px,92vw);max-width:92vw;min-width:0;padding:17px 15px}
 .colorly-side-title h3{font-size:20px}
 .colorly-search-wrap{height:52px;flex-basis:52px}
 .colorly-search{font-size:16px}
 .colorly-side-tabs button{font-size:16px;padding:12px 9px}
 .colorly-history-item,.colorly-history-file{padding:13px 11px}
 .colorly-history-copy strong,.colorly-file-copy strong{font-size:15.5px;line-height:1.7}
 .colorly-history-copy small,.colorly-file-copy small{font-size:13px;line-height:1.7}
 .colorly-privacy-note{font-size:12px}
 .colorly-current-title{min-height:48px;padding:8px 12px;font-size:14px;line-height:1.8}
 .colorly-messages{padding:16px 9px;gap:16px;min-height:150px}
 .colorly-message{max-width:100%;gap:5px}
 .colorly-avatar{width:46px;height:46px;flex-basis:46px}
 .colorly-bubble{padding:14px 15px;font-size:18.5px;line-height:2}
 .colorly-bubble h3{font-size:22px;line-height:1.75}
 .colorly-bubble h4{font-size:20px;line-height:1.75}
 .colorly-bubble ul{padding-right:24px}
 .colorly-bubble li{margin:6px 0;line-height:1.95}
 .colorly-message-files{grid-template-columns:1fr;gap:9px;margin-top:15px}
 .colorly-download-card{padding:13px 12px;gap:10px}
 .colorly-download-card .colorly-file-copy strong{font-size:15.5px;line-height:1.7}
 .colorly-download-card .colorly-file-copy small{font-size:13px;line-height:1.7}
 .colorly-file-icon{width:43px;height:43px;flex-basis:43px;font-size:11px}
 .colorly-action-wrap{padding:10px 9px 11px;max-height:39dvh}
 .colorly-action-hint{font-size:13.5px;line-height:1.8;margin-bottom:8px}
 .colorly-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .colorly-actions button{min-height:58px;padding:8px 7px;font-size:14px;line-height:1.6;border-radius:14px}
 .colorly-actions b{width:27px;height:27px;flex-basis:27px;font-size:16px}
 .colorly-composer{padding:10px 9px 13px;gap:7px}
 .colorly-composer textarea{min-height:56px;padding:12px 14px;font-size:17px;line-height:1.8}
 .colorly-composer-services{width:42px;height:42px;flex-basis:42px;font-size:24px}
 .colorly-send{height:56px;width:64px;flex-basis:64px;font-size:24px}
 .colorly-status{font-size:14px;line-height:1.8;max-height:78px;padding:2px 12px 9px}
 .colorly-status:not(:empty){min-height:30px}
 .colorly-floating-panel{height:min(78dvh,760px);min-height:500px}
 .colorly-floating-topbar{font-size:14px}
 .colorly-floating-body .colorly-chat{min-height:0}
 .colorly-floating-body .colorly-header{height:96px;min-height:96px;padding:8px 11px}
 .colorly-floating-body .colorly-hero-robot{width:59px;height:68px;flex-basis:59px}
 .colorly-floating-body .colorly-logo{width:64px;height:40px;flex-basis:64px}
}
@media(max-width:390px){
 .colorly-header{padding-inline:7px}
 .colorly-hero-robot{width:55px;height:68px;flex-basis:55px}
 .colorly-head-copy h2{font-size:22px}
 .colorly-online{font-size:12.5px}
 .colorly-logo{width:58px;height:38px;flex-basis:58px}
 .colorly-head-tools{gap:4px}
 .colorly-sidebar-toggle{width:38px}
 .colorly-new-chat{width:40px}
 .colorly-bubble{font-size:18px;padding:13px 12px}
 .colorly-actions button{font-size:13.5px;padding:7px 6px}
 .colorly-actions b{width:25px;height:25px;flex-basis:25px}
 .colorly-floating-body .colorly-head-copy h2{font-size:20px}
}

.colorly-download-card .colorly-file-copy strong,.colorly-history-file .colorly-file-copy strong{white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.colorly-download-card .colorly-file-copy small,.colorly-history-file .colorly-file-copy small{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
@media(max-width:760px){.colorly-composer textarea{min-height:64px}.colorly-send{height:60px}}


/* Compact, professional quick-service icons */
.colorly-actions{gap:7px}
.colorly-actions button{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:0;min-width:0;min-height:50px;padding:7px 8px;border-radius:13px;text-align:right}
.colorly-action-label{display:block;width:100%;min-width:0;padding-inline-start:38px;line-height:1.35;overflow-wrap:anywhere}
.colorly-action-icon{position:absolute;inset-inline-start:7px;top:50%;transform:translateY(-50%);width:29px;height:29px;display:grid;place-items:center;border-radius:9px}
.colorly-action-icon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.colorly-actions button:nth-child(1) .colorly-action-icon{color:#7637cf;background:#f0e8fb}
.colorly-actions button:nth-child(2) .colorly-action-icon{color:#ce329d;background:#fcebf5}
.colorly-actions button:nth-child(3) .colorly-action-icon{color:#a96d08;background:#fff2d9}
.colorly-actions button:nth-child(4) .colorly-action-icon{color:#8544c7;background:#f2eafb}
.colorly-actions button:nth-child(5) .colorly-action-icon{color:#b4790c;background:#fff4dc}
.colorly-actions button:nth-child(6) .colorly-action-icon{color:#c6369e;background:#fcebf5}
.colorly-actions button:nth-child(7) .colorly-action-icon{color:#7043bd;background:#f0eafb}
.colorly-actions button:nth-child(8) .colorly-action-icon{color:#8b43c8;background:#f3eafd}
.colorly-actions button:nth-child(9) .colorly-action-icon{color:#c53798;background:#fcebf5}
.colorly-actions button:nth-child(10) .colorly-action-icon{color:#7844c3;background:#f1eafb}
.colorly-actions button:nth-child(11) .colorly-action-icon{color:#bd3b9e;background:#fbeaf5}
.colorly-actions button:nth-child(12) .colorly-action-icon{color:#aa710c;background:#fff2d9}
.colorly-actions button:nth-child(13) .colorly-action-icon{color:#7640c2;background:#f0eafb}
.colorly-actions button:nth-child(14) .colorly-action-icon{color:#9843c6;background:#f5eafb}
.colorly-actions button:nth-child(15) .colorly-action-icon{color:#c53498;background:#fbeaf4}


@media(max-width:760px){
 .colorly-action-wrap{flex:0 0 auto;max-height:none;overflow:visible;padding:6px 8px 7px}
 .colorly-action-hint{font-size:12px;line-height:1.4;margin:0 2px 5px}
 .colorly-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .colorly-actions button{min-height:43px;padding:5px 5px;border-radius:11px;font-size:12.5px;line-height:1.3}
 .colorly-action-label{padding-inline-start:31px;line-height:1.3}
 .colorly-action-icon{inset-inline-start:4px;width:24px;height:24px;border-radius:7px}
 .colorly-action-icon svg{width:17px;height:17px;stroke-width:1.9}
 .colorly-chat:not(.quick-collapsed) .colorly-messages{min-height:58px;flex:1 1 58px}
 .colorly-floating-body .colorly-chat:not(.quick-collapsed) .colorly-messages{min-height:48px;flex:1 1 48px}
}
@media(max-width:390px){
 .colorly-actions button{min-height:42px;padding:4px;font-size:11.8px}
 .colorly-action-label{padding-inline-start:29px}
 .colorly-action-icon{inset-inline-start:3px;width:22px;height:22px}
 .colorly-action-icon svg{width:16px;height:16px}
 .colorly-chat:not(.quick-collapsed) .colorly-messages{min-height:52px;flex-basis:52px}
}

@media(max-width:760px){
 .colorly-floating-panel{right:0;left:0;bottom:0;width:100vw;height:100dvh;min-height:0;max-height:100dvh;border:0;border-radius:0}
 .colorly-floating-body .colorly-chat:not(.quick-collapsed) .colorly-messages{min-height:44px;flex:1 1 44px}
}

/* Keep service labels readable; the icon stays deliberately compact. */
.colorly-actions button{font-size:15px}
.colorly-action-hint{font-size:13px}
@media(max-width:760px){.colorly-actions button{font-size:14.5px}.colorly-action-hint{font-size:12.5px}}
@media(max-width:390px){.colorly-actions button{font-size:13.5px}}


/* 2.7.0: theme-resistant palette, compact launcher, and visible service grid. */
.colorly-chat button,.colorly-floating-widget button{-webkit-appearance:none!important;appearance:none!important;text-shadow:none!important;font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif!important}
.colorly-floating-widget{position:fixed!important;right:max(16px,env(safe-area-inset-right))!important;bottom:max(16px,env(safe-area-inset-bottom))!important;z-index:999990!important;direction:rtl!important}
.colorly-floating-widget .colorly-floating-launcher,.colorly-floating-widget .colorly-floating-launcher:link,.colorly-floating-widget .colorly-floating-launcher:visited,.colorly-floating-widget .colorly-floating-launcher:hover,.colorly-floating-widget .colorly-floating-launcher:focus,.colorly-floating-widget .colorly-floating-launcher:focus-visible,.colorly-floating-widget .colorly-floating-launcher:active{display:grid!important;place-items:center!important;width:56px!important;min-width:56px!important;height:56px!important;min-height:56px!important;padding:3px!important;border:2px solid #fff!important;border-radius:50%!important;background:#8739da!important;background-image:linear-gradient(135deg,#dd39b6 0%,#9639df 55%,#7136dc 100%)!important;color:#fff!important;box-shadow:0 5px 16px rgba(105,52,151,.22)!important;text-decoration:none!important;text-shadow:none!important;filter:none!important;outline-color:transparent!important;transition:transform .16s ease,box-shadow .16s ease!important;-webkit-tap-highlight-color:rgba(118,55,230,.16)!important}
.colorly-floating-widget .colorly-floating-launcher:hover{transform:translateY(-1px)!important;box-shadow:0 7px 19px rgba(105,52,151,.26)!important}
.colorly-floating-widget .colorly-floating-launcher:focus,.colorly-floating-widget .colorly-floating-launcher:focus-visible{outline:3px solid #f0cbe6!important;outline-offset:3px!important}
.colorly-floating-widget .colorly-floating-launcher:active{transform:scale(.96)!important;box-shadow:0 3px 10px rgba(105,52,151,.22)!important}
.colorly-floating-widget .colorly-floating-launcher img{display:block!important;width:46px!important;height:46px!important;max-width:46px!important;object-fit:contain!important;filter:none!important;pointer-events:none!important}
.colorly-floating-widget .colorly-floating-launcher span{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.colorly-floating-widget .colorly-floating-launcher::before,.colorly-floating-widget .colorly-floating-launcher::after{content:none!important;display:none!important}
.colorly-floating-panel{position:fixed!important;top:max(10px,env(safe-area-inset-top))!important;right:max(16px,env(safe-area-inset-right))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;left:auto!important;width:min(980px,calc(100vw - 32px))!important;height:auto!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;overflow:hidden!important;z-index:999998!important;border:1px solid #e8d9ef!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 42px rgba(92,46,137,.18)!important}
.colorly-floating-topbar{flex:0 0 42px!important;min-height:42px!important;background:#fcf8fd!important;color:#554366!important;border-color:#efe5f2!important}
.colorly-floating-widget .colorly-floating-close,.colorly-floating-widget .colorly-floating-close:link,.colorly-floating-widget .colorly-floating-close:visited,.colorly-floating-widget .colorly-floating-close:hover,.colorly-floating-widget .colorly-floating-close:focus,.colorly-floating-widget .colorly-floating-close:focus-visible,.colorly-floating-widget .colorly-floating-close:active{border:1px solid #e7d6ef!important;border-radius:10px!important;background:#fff!important;color:#7042a0!important;box-shadow:none!important;text-shadow:none!important;outline-color:#d9b6ef!important}
.colorly-floating-widget .colorly-floating-close:hover,.colorly-floating-widget .colorly-floating-close:focus-visible{background:#f8effb!important;border-color:#d4b0e8!important;color:#60358e!important}
.colorly-floating-widget .colorly-floating-close b{color:#8a45c8!important}
.colorly-floating-body{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;background:#fff!important}
.colorly-floating-body .colorly-chat{display:flex!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important;border:0!important;border-radius:0 0 20px 20px!important;background:#fff!important}
.colorly-floating-body .colorly-workspace{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
.colorly-floating-body .colorly-main{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
.colorly-floating-body .colorly-current-title{flex:0 0 auto!important;min-height:40px!important;padding:5px 12px!important;font-size:14px!important;line-height:1.5!important}
.colorly-floating-body .colorly-action-wrap{display:block!important;flex:0 0 auto!important;max-height:none!important;overflow:visible!important;padding:7px 10px 8px!important;border-top:0!important;border-bottom:1px solid #f0e7f2!important;background:#fffafd!important}
.colorly-floating-body .colorly-action-wrap[hidden]{display:none!important}
.colorly-floating-body .colorly-action-hint{margin:0 2px 5px!important;font-size:12.5px!important;line-height:1.35!important;color:#82768c!important}
.colorly-floating-body .colorly-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.colorly-floating-widget .colorly-actions button,.colorly-floating-widget .colorly-actions button:link,.colorly-floating-widget .colorly-actions button:visited,.colorly-floating-widget .colorly-actions button:hover,.colorly-floating-widget .colorly-actions button:focus,.colorly-floating-widget .colorly-actions button:focus-visible,.colorly-floating-widget .colorly-actions button:active{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;min-width:0!important;min-height:42px!important;padding:5px 7px!important;border:1px solid #eaddec!important;border-radius:12px!important;background:#fff!important;color:#49375a!important;box-shadow:0 2px 7px rgba(103,64,132,.05)!important;text-align:right!important;text-decoration:none!important;text-shadow:none!important;transform:none!important;outline-color:transparent!important}
.colorly-floating-widget .colorly-actions button:hover,.colorly-floating-widget .colorly-actions button:focus-visible{border-color:#d8b8e9!important;background:#fcf5fd!important;color:#653b88!important;box-shadow:0 3px 10px rgba(118,55,230,.12)!important}
.colorly-floating-widget .colorly-actions button:focus,.colorly-floating-widget .colorly-actions button:focus-visible{outline:2px solid #e8c8ef!important;outline-offset:1px!important}
.colorly-floating-widget .colorly-actions button:active{background:#f5e8fa!important;border-color:#cda5e2!important;color:#653b88!important;box-shadow:inset 0 1px 3px rgba(118,55,230,.1)!important}
.colorly-floating-body .colorly-action-label{padding-inline-start:31px!important;line-height:1.3!important;font-size:13.5px!important;color:inherit!important}
.colorly-floating-body .colorly-action-icon{inset-inline-start:5px!important;width:24px!important;height:24px!important;border-radius:7px!important}
.colorly-floating-body .colorly-action-icon svg{width:17px!important;height:17px!important}
.colorly-floating-body 
.colorly-floating-body 
.colorly-floating-body .colorly-messages{order:initial!important;display:flex!important;flex:1 1 0!important;min-height:78px!important;overflow:auto!important;padding:12px clamp(12px,2vw,24px)!important;gap:13px!important}
.colorly-floating-body .colorly-composer{flex:0 0 auto!important;padding:9px 10px 10px!important;gap:8px!important}
.colorly-floating-widget .colorly-composer-services,.colorly-floating-widget .colorly-composer-services:link,.colorly-floating-widget .colorly-composer-services:visited,.colorly-floating-widget .colorly-composer-services:hover,.colorly-floating-widget .colorly-composer-services:focus,.colorly-floating-widget .colorly-composer-services:focus-visible,.colorly-floating-widget .colorly-composer-services:active{border:1px solid #e2d2ec!important;border-radius:50%!important;background:#fff!important;color:#743bd0!important;box-shadow:none!important;outline-color:transparent!important}
.colorly-floating-widget .colorly-composer-services:hover,.colorly-floating-widget .colorly-composer-services:focus-visible{background:#f6edfb!important;border-color:#d1b0e8!important;color:#6731bb!important}
.colorly-floating-widget .colorly-send,.colorly-floating-widget .colorly-send:link,.colorly-floating-widget .colorly-send:visited,.colorly-floating-widget .colorly-send:hover,.colorly-floating-widget .colorly-send:focus,.colorly-floating-widget .colorly-send:focus-visible,.colorly-floating-widget .colorly-send:active{border:0!important;border-radius:28px!important;background:#7836df!important;background-image:linear-gradient(120deg,#8c3ce5,#7136d9)!important;color:#fff!important;box-shadow:0 5px 14px rgba(118,55,230,.18)!important;text-shadow:none!important;outline-color:transparent!important}
.colorly-floating-widget .colorly-send:hover,.colorly-floating-widget .colorly-send:focus-visible{background-image:linear-gradient(120deg,#a14ee5,#8139da)!important;box-shadow:0 6px 17px rgba(118,55,230,.23)!important}
.colorly-floating-widget .colorly-send:focus,.colorly-floating-widget .colorly-send:focus-visible{outline:2px solid #e9c9f2!important;outline-offset:2px!important}
.colorly-floating-widget .colorly-send:active{background-image:linear-gradient(120deg,#8134d4,#672dcc)!important;transform:scale(.98)!important}
.colorly-floating-widget .colorly-send span{color:#fff!important}
.colorly-floating-widget .colorly-download-card,.colorly-floating-widget .colorly-download-card:link,.colorly-floating-widget .colorly-download-card:visited,.colorly-floating-widget .colorly-download-card:hover,.colorly-floating-widget .colorly-download-card:focus,.colorly-floating-widget .colorly-download-card:active{color:#49375a!important;background:#fff!important;border-color:#e7d9ef!important}
.colorly-floating-widget .colorly-download-card:hover,.colorly-floating-widget .colorly-download-card:focus-visible{color:#673c91!important;background:#fcf6fd!important;border-color:#d5b7e8!important}
.colorly-chat .colorly-sidebar-backdrop:not([hidden]),.colorly-floating-backdrop:not([hidden]){background:rgba(118,55,230,.12)!important}
.colorly-floating-widget .colorly-status{flex:0 0 auto!important}
@media(max-width:760px){
 .colorly-floating-widget{right:max(10px,env(safe-area-inset-right))!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
 .colorly-floating-widget .colorly-floating-launcher,.colorly-floating-widget .colorly-floating-launcher:link,.colorly-floating-widget .colorly-floating-launcher:visited,.colorly-floating-widget .colorly-floating-launcher:hover,.colorly-floating-widget .colorly-floating-launcher:focus,.colorly-floating-widget .colorly-floating-launcher:focus-visible,.colorly-floating-widget .colorly-floating-launcher:active{width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;padding:2px!important}
 .colorly-floating-widget .colorly-floating-launcher img{width:45px!important;height:45px!important;max-width:45px!important}
 .colorly-floating-panel{top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}
 .colorly-floating-topbar{flex-basis:40px!important;min-height:40px!important;padding-inline:12px!important;font-size:13px!important}
 .colorly-floating-body .colorly-chat{height:100%!important;min-height:0!important;border-radius:0!important}
 .colorly-floating-body .colorly-header{height:86px!important;min-height:86px!important;padding:5px 8px!important;gap:5px!important}
 .colorly-floating-body .colorly-hero-robot{width:54px!important;height:64px!important;flex-basis:54px!important}
 .colorly-floating-body .colorly-head-copy h2{font-size:20px!important;line-height:1.35!important}
 .colorly-floating-body .colorly-online{font-size:12px!important}
 .colorly-floating-body .colorly-logo{width:60px!important;height:38px!important;flex-basis:60px!important}
 .colorly-floating-body .colorly-notice{padding:5px 9px!important;font-size:11.5px!important;line-height:1.55!important}
 .colorly-floating-body .colorly-current-title{min-height:36px!important;padding:4px 10px!important;font-size:12.5px!important}
 .colorly-floating-body .colorly-action-wrap{padding:5px 7px 6px!important}
 .colorly-floating-body .colorly-action-hint{font-size:11.5px!important;line-height:1.25!important;margin:0 2px 4px!important}
 .colorly-floating-body .colorly-actions{gap:4px!important}
 .colorly-floating-widget .colorly-actions button,.colorly-floating-widget .colorly-actions button:link,.colorly-floating-widget .colorly-actions button:visited,.colorly-floating-widget .colorly-actions button:hover,.colorly-floating-widget .colorly-actions button:focus,.colorly-floating-widget .colorly-actions button:focus-visible,.colorly-floating-widget .colorly-actions button:active{min-height:42px!important;padding:4px 5px!important;border-radius:10px!important}
 .colorly-floating-body .colorly-action-label{padding-inline-start:28px!important;font-size:12.5px!important;line-height:1.2!important}
 .colorly-floating-body .colorly-action-icon{inset-inline-start:3px!important;width:22px!important;height:22px!important}
 .colorly-floating-body .colorly-action-icon svg{width:16px!important;height:16px!important}
 .colorly-floating-body .colorly-messages{flex:1 1 0!important;min-height:74px!important;padding:9px 7px!important;gap:10px!important}
 .colorly-floating-body .colorly-avatar{width:42px!important;height:42px!important;flex-basis:42px!important}
 .colorly-floating-body .colorly-bubble{font-size:17px!important;line-height:1.75!important;padding:11px 13px!important}
 .colorly-floating-body .colorly-composer{padding:7px 7px 9px!important;gap:6px!important}
 .colorly-floating-body .colorly-composer textarea{min-height:48px!important;padding:9px 12px!important;font-size:15px!important}
 .colorly-floating-widget .colorly-composer-services{width:38px!important;height:38px!important;flex-basis:38px!important}
 .colorly-floating-widget .colorly-send{height:50px!important;width:56px!important;flex-basis:56px!important}
 .colorly-floating-body .colorly-status{font-size:12.5px!important;line-height:1.45!important;max-height:52px!important;padding:1px 10px 6px!important}
 .colorly-floating-body .colorly-wait-notice{padding:4px 8px 6px!important;font-size:13px!important;line-height:1.5!important}
 .colorly-floating-backdrop:not([hidden]){background:rgba(118,55,230,.10)!important}
}


/* 2.8.0: reliable sidebar toggle and theme-resistant accessible controls. */
.colorly-chat.sidebar-collapsed .colorly-sidebar{display:none!important}
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle,
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:hover,
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:focus,
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:focus-visible,
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:active,
.colorly-chat .colorly-head-tools .colorly-new-chat,
.colorly-chat .colorly-head-tools .colorly-new-chat:hover,
.colorly-chat .colorly-head-tools .colorly-new-chat:focus,
.colorly-chat .colorly-head-tools .colorly-new-chat:focus-visible,
.colorly-chat .colorly-head-tools .colorly-new-chat:active{background-color:rgba(255,255,255,.14)!important;background-image:none!important;color:#fff!important;border-color:rgba(255,255,255,.72)!important;box-shadow:none!important;text-shadow:none!important;text-decoration:none!important;filter:none!important}
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:hover,
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:focus-visible,
.colorly-chat .colorly-head-tools .colorly-new-chat:hover,
.colorly-chat .colorly-head-tools .colorly-new-chat:focus-visible{background-color:rgba(255,255,255,.26)!important;border-color:#fff!important;outline:2px solid #f6d8ef!important;outline-offset:2px!important;transform:translateY(-1px)!important}
.colorly-chat .colorly-head-tools .colorly-sidebar-toggle:active,
.colorly-chat .colorly-head-tools .colorly-new-chat:active{background-color:rgba(255,255,255,.32)!important;transform:scale(.98)!important}
.colorly-chat .colorly-side-tabs button,
.colorly-chat .colorly-side-tabs button:hover,
.colorly-chat .colorly-side-tabs button:focus,
.colorly-chat .colorly-side-tabs button:focus-visible,
.colorly-chat .colorly-side-tabs button:active{background:#fff!important;background-image:none!important;color:#725c80!important;border:1px solid #eaddec!important;box-shadow:none!important;text-shadow:none!important;text-decoration:none!important;filter:none!important}
.colorly-chat .colorly-side-tabs button:not(.active):hover,
.colorly-chat .colorly-side-tabs button:not(.active):focus-visible{background:#f7effb!important;color:#68438e!important;border-color:#ddc4ea!important;outline:2px solid #eedcf3!important;outline-offset:1px!important}
.colorly-chat .colorly-side-tabs button.active,
.colorly-chat .colorly-side-tabs button.active:hover,
.colorly-chat .colorly-side-tabs button.active:focus,
.colorly-chat .colorly-side-tabs button.active:focus-visible,
.colorly-chat .colorly-side-tabs button.active:active{background:#f0e6fb!important;color:#6930c9!important;border-color:#e4d4f4!important}
.colorly-chat .colorly-side-tabs button.active:focus-visible{outline:2px solid #dfc3ef!important;outline-offset:1px!important}
.colorly-chat .colorly-side-close,
.colorly-chat .colorly-side-close:hover,
.colorly-chat .colorly-side-close:focus,
.colorly-chat .colorly-side-close:focus-visible,
.colorly-chat .colorly-side-close:active{background:transparent!important;background-image:none!important;color:#7542aa!important;border:0!important;box-shadow:none!important;text-shadow:none!important}
.colorly-chat .colorly-side-close:hover,
.colorly-chat .colorly-side-close:focus-visible{background:#f4eafa!important;color:#67358f!important;outline:2px solid #ead5f2!important;outline-offset:1px!important}
.colorly-chat .colorly-side-close:active{background:#eddef5!important;color:#67358f!important}
/* 2.8.0: force the approved palette on every assistant control state. */
.colorly-chat .colorly-actions button,
.colorly-chat .colorly-actions button:link,
.colorly-chat .colorly-actions button:visited,
.colorly-chat .colorly-actions button:hover,
.colorly-chat .colorly-actions button:focus,
.colorly-chat .colorly-actions button:focus-visible,
.colorly-chat .colorly-actions button:active,
.colorly-chat .colorly-history-item,
.colorly-chat .colorly-history-item:hover,
.colorly-chat .colorly-history-item:focus,
.colorly-chat .colorly-history-item:focus-visible,
.colorly-chat .colorly-history-item:active,
.colorly-chat .colorly-history-file,
.colorly-chat .colorly-history-file:hover,
.colorly-chat .colorly-history-file:focus,
.colorly-chat .colorly-history-file:focus-visible,
.colorly-chat .colorly-history-file:active{background-color:#fff!important;background-image:none!important;color:#49375a!important;border-color:#eaddec!important;box-shadow:0 2px 7px rgba(103,64,132,.05)!important;text-decoration:none!important;text-shadow:none!important;filter:none!important}
.colorly-chat .colorly-actions button:hover,
.colorly-chat .colorly-actions button:focus-visible,
.colorly-chat .colorly-history-item:hover,
.colorly-chat .colorly-history-item:focus-visible,
.colorly-chat .colorly-history-file:hover,
.colorly-chat .colorly-history-file:focus-visible{background-color:#fcf5fd!important;color:#653b88!important;border-color:#d8b8e9!important;outline:2px solid #eedcf3!important;outline-offset:1px!important;box-shadow:0 3px 10px rgba(118,55,230,.12)!important}
.colorly-chat .colorly-actions button:active,
.colorly-chat .colorly-history-item:active,
.colorly-chat .colorly-history-file:active{background-color:#f5e8fa!important;color:#653b88!important;border-color:#cda5e2!important;outline:0!important}
.colorly-chat .colorly-history-item.active,
.colorly-chat .colorly-history-item.active:hover,
.colorly-chat .colorly-history-item.active:focus-visible{background-color:#f4ecfc!important;color:#49375a!important;border-color:#e7d9f4!important}
.colorly-chat .colorly-download-card,
.colorly-chat .colorly-download-card:link,
.colorly-chat .colorly-download-card:visited,
.colorly-chat .colorly-download-card:hover,
.colorly-chat .colorly-download-card:focus,
.colorly-chat .colorly-download-card:focus-visible,
.colorly-chat .colorly-download-card:active{background:#fff!important;background-image:none!important;color:#49375a!important;border-color:#e7d9ef!important;box-shadow:0 4px 13px rgba(72,42,96,.05)!important;text-decoration:none!important;text-shadow:none!important;filter:none!important}
.colorly-chat .colorly-download-card:hover,
.colorly-chat .colorly-download-card:focus-visible{background:#fcf6fd!important;color:#673c91!important;border-color:#d5b7e8!important;outline:2px solid #eedcf3!important;outline-offset:1px!important}
.colorly-chat .colorly-composer-services,
.colorly-chat .colorly-composer-services:hover,
.colorly-chat .colorly-composer-services:focus,
.colorly-chat .colorly-composer-services:focus-visible,
.colorly-chat .colorly-composer-services:active{background:#fff!important;background-image:none!important;color:#743bd0!important;border:1px solid #e2d2ec!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
.colorly-chat .colorly-composer-services:hover,
.colorly-chat .colorly-composer-services:focus-visible{background:#f6edfb!important;color:#6731bb!important;border-color:#d1b0e8!important;outline:2px solid #ead5f2!important;outline-offset:1px!important}
.colorly-chat .colorly-send,
.colorly-chat .colorly-send:hover,
.colorly-chat .colorly-send:focus,
.colorly-chat .colorly-send:focus-visible,
.colorly-chat .colorly-send:active{background:#7836df!important;background-image:linear-gradient(120deg,#8c3ce5,#7136d9)!important;color:#fff!important;border:0!important;box-shadow:0 5px 14px rgba(118,55,230,.18)!important;text-shadow:none!important;filter:none!important}
.colorly-chat .colorly-send:hover,
.colorly-chat .colorly-send:focus-visible{background-image:linear-gradient(120deg,#a14ee5,#8139da)!important;box-shadow:0 6px 17px rgba(118,55,230,.23)!important}
.colorly-chat .colorly-send:focus,
.colorly-chat .colorly-send:focus-visible{outline:2px solid #e9c9f2!important;outline-offset:2px!important}
.colorly-chat .colorly-send:active{background-image:linear-gradient(120deg,#8134d4,#672dcc)!important;transform:scale(.98)!important}



/* 2.9.0: compact service icons and a small, theme-resistant attachment menu. */
.colorly-actions button{min-height:46px}
.colorly-action-label{padding-inline-start:31px}
.colorly-action-icon{width:23px;height:23px;border-radius:7px}
.colorly-action-icon svg{width:15px;height:15px;stroke-width:1.9}
.colorly-chat .colorly-composer{position:relative}
.colorly-chat .colorly-composer-services,
.colorly-chat .colorly-composer-services:hover,
.colorly-chat .colorly-composer-services:focus,
.colorly-chat .colorly-composer-services:focus-visible,
.colorly-chat .colorly-composer-services:active{background:#fff!important;background-image:none!important;color:#7436ce!important;border:1px solid #e6d9ef!important;box-shadow:0 2px 7px rgba(103,64,132,.08)!important;text-shadow:none!important;filter:none!important;text-decoration:none!important}
.colorly-chat .colorly-composer-services:hover,
.colorly-chat .colorly-composer-services:focus-visible{background:#f6eefb!important;color:#653492!important;border-color:#d9b8e8!important;outline:2px solid #eedcf3!important;outline-offset:2px!important}
.colorly-chat .colorly-composer-services:active{background:#eddef5!important;color:#653492!important;transform:scale(.97)!important}
.colorly-chat .colorly-attach-menu{position:absolute;z-index:35;right:7px;bottom:calc(100% + 8px);width:min(248px,calc(100vw - 28px));display:grid;gap:5px;padding:8px;border:1px solid #e7d9ef;border-radius:16px;background:#fff!important;box-shadow:0 12px 28px rgba(66,38,88,.16)}
.colorly-chat .colorly-attach-menu[hidden]{display:none!important}
.colorly-chat .colorly-attach-menu button,
.colorly-chat .colorly-attach-menu button:hover,
.colorly-chat .colorly-attach-menu button:focus,
.colorly-chat .colorly-attach-menu button:focus-visible,
.colorly-chat .colorly-attach-menu button:active{width:100%;min-height:42px;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:7px 9px;border:1px solid #f0e7f3;border-radius:11px;background:#fff!important;background-image:none!important;color:#5e4b70!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;text-decoration:none!important;font:inherit;font-size:13px;font-weight:700;text-align:right;cursor:pointer}
.colorly-chat .colorly-attach-menu button:hover,
.colorly-chat .colorly-attach-menu button:focus-visible{background:#f7effb!important;color:#673b92!important;border-color:#ddc4ea!important;outline:2px solid #f1e1f6!important;outline-offset:1px!important}
.colorly-chat .colorly-attach-menu button:active{background:#eddef5!important;color:#673b92!important}
.colorly-attach-icon{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:8px;background:#f1eafb;color:#8245c4;font-size:15px;line-height:1}
.colorly-chat .colorly-pending-uploads[hidden]{display:none!important}
.colorly-pending-uploads{flex:0 0 auto;max-height:150px;overflow:auto;padding:7px 12px 5px;border-top:1px solid #f0e8f3;background:#fffafd}
.colorly-pending-title{margin:0 0 5px;color:#79658a;font-size:12px;line-height:1.5}
.colorly-pending-list{display:flex;flex-wrap:wrap;gap:6px}
.colorly-pending-item{min-width:0;max-width:100%;flex:1 1 190px;display:flex;align-items:center;gap:8px;padding:5px 7px;border:1px solid #e9deee;border-radius:12px;background:#fff}
.colorly-pending-thumb,.colorly-pending-doc{width:36px;height:36px;flex:0 0 36px;border-radius:8px;object-fit:cover}
.colorly-pending-doc{display:grid;place-items:center;border:1px solid #f2dfbd;background:#fff3df;color:#95620a;font-size:9px;font-weight:800;direction:ltr}
.colorly-pending-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.colorly-pending-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4;color:#49385a}
.colorly-pending-copy small{font-size:10px;line-height:1.3;color:#887b93}
.colorly-chat .colorly-remove-upload,
.colorly-chat .colorly-remove-upload:hover,
.colorly-chat .colorly-remove-upload:focus,
.colorly-chat .colorly-remove-upload:focus-visible,
.colorly-chat .colorly-remove-upload:active{width:29px;height:29px;flex:0 0 29px;padding:0;border:1px solid #e9d9ef;border-radius:50%;background:#fff!important;background-image:none!important;color:#8a51af!important;box-shadow:none!important;text-shadow:none!important;font:inherit;font-size:19px;line-height:1;cursor:pointer}
.colorly-chat .colorly-remove-upload:hover,
.colorly-chat .colorly-remove-upload:focus-visible{background:#f5eaf9!important;color:#713a9f!important;border-color:#d9b8e8!important;outline:2px solid #eedcf3!important;outline-offset:1px!important}
.colorly-chat .colorly-remove-upload:active{background:#eddef5!important;color:#713a9f!important}
.colorly-download-card.user-upload{font:inherit;text-align:right;cursor:default}
.colorly-message.user .colorly-message-files{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:6px;margin-top:10px}
.colorly-message.user .colorly-download-card.user-upload{padding:7px 8px;gap:7px;box-shadow:none}
.colorly-message.user .colorly-download-card.user-upload .colorly-file-icon{width:34px;height:34px;flex-basis:34px;font-size:8px}
@media(min-width:761px){
 .colorly-chat:not(.sidebar-collapsed) .colorly-sidebar{display:flex!important}
 .colorly-chat.sidebar-collapsed .colorly-sidebar{display:none!important}
 .colorly-chat.sidebar-collapsed .colorly-main{width:100%;flex:1 1 100%}
}
@media(max-width:760px){
 .colorly-action-label{padding-inline-start:26px}
 .colorly-action-icon{inset-inline-start:4px;width:20px;height:20px;border-radius:6px}
 .colorly-action-icon svg{width:13px;height:13px;stroke-width:2}
 .colorly-actions button{min-height:43px;padding:5px 5px}
 .colorly-attach-menu{right:4px;width:min(240px,calc(100vw - 24px))}
 .colorly-pending-uploads{max-height:126px;padding:6px 8px 4px}
 .colorly-pending-item{flex-basis:145px}
}
@media(max-width:390px){
 .colorly-action-label{padding-inline-start:25px}
 .colorly-action-icon{inset-inline-start:3px;width:19px;height:19px}
 .colorly-action-icon svg{width:12px;height:12px}
 .colorly-actions button{min-height:43px;padding:4px}
 .colorly-pending-thumb,.colorly-pending-doc{width:32px;height:32px;flex-basis:32px}
}

/* Keep the attachment affordance available even while quick services are visible. */
.colorly-chat:not(.quick-collapsed) .colorly-composer-services{display:grid!important;place-items:center}
