#hilal-chat-widget[hidden]{display:none}.hilal-launch{position:fixed;bottom:22px;left:24px;z-index:900;display:flex;align-items:center;gap:6px;border:1px solid #d9d0ed;border-radius:30px;background:#fff;color:#231b35;box-shadow:0 4px 20px #2115301a;padding:4px 16px 4px 4px;font:600 14px 'IBM Plex Sans Arabic',sans-serif;cursor:pointer}.hilal-launch .hilal-mascot{display:block;width:62px;height:62px;overflow:hidden;border-radius:50%}.hilal-launch video{width:100%;height:100%;object-fit:contain}.hilal-dialog{width:min(480px,calc(100vw - 24px));height:min(740px,calc(100dvh - 32px));padding:0;border:1px solid #ded8e7;border-radius:16px;background:white;color:#201c28;box-shadow:0 20px 70px #130b302e;font-family:'IBM Plex Sans Arabic',sans-serif}.hilal-dialog[open]{display:flex;flex-direction:column}.hilal-dialog::backdrop{background:#17102066}.hilal-dialog header{padding:14px 18px;border-bottom:1px solid #e5dfec;display:flex;align-items:center;justify-content:space-between}.hilal-dialog header>div{display:flex;align-items:center;gap:10px}.hilal-dialog header .hilal-mascot{width:64px;height:64px;display:block}.hilal-dialog video{width:100%;height:100%;object-fit:contain}.hilal-dialog h2{margin:0;font-size:23px}.hilal-dialog header p{margin:3px 0 0;font-size:11px;color:#62586d}.hilal-close{width:40px;height:40px;border:0;background:#f2eef7;border-radius:8px;font-size:25px;color:#37284b;cursor:pointer}.hilal-scope{font-size:12px;line-height:1.8;margin:0;padding:10px 18px;background:#f7f4fc;color:#544563}.hilal-messages{flex:1;min-height:120px;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain}.hilal-message{padding:12px 14px;border-radius:12px;background:#f5f2fa;max-width:94%;align-self:flex-start;overflow-wrap:anywhere}.hilal-message.from-user{background:#eee7ff;align-self:flex-end}.hilal-message strong{font-size:12px;color:#583a91}.hilal-message p{white-space:pre-wrap;margin:5px 0;font-size:14px;line-height:1.9}.hilal-message button{border:0;background:transparent;text-decoration:underline;color:#4a18b1;cursor:pointer;padding:6px;font:inherit;font-size:12px}.hilal-chat-status{min-height:23px;padding:0 18px;margin:4px 0;font-size:12px;color:#655176}.hilal-dialog form{border-top:1px solid #e5dfec;padding:14px 18px;display:grid;gap:8px}.hilal-dialog form>label{font-size:13px}.hilal-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #d2c7df;border-radius:8px;padding:10px;font:inherit;resize:none;color:#201c28;background:#fff}.hilal-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.hilal-actions button{min-height:42px;border:1px solid #d4c8e5;border-radius:8px;background:#f5f0fb;color:#38204e;padding:8px 12px;font:inherit;font-size:13px;cursor:pointer}.hilal-actions .hilal-send{background:#4b0dff;color:#fff;border-color:#4b0dff}.hilal-actions label,.hilal-consent{font-size:11px!important;line-height:1.8;color:#5b4c68}.hilal-actions input,.hilal-consent input{width:auto;accent-color:#4b0dff}.hilal-dialog button:focus-visible,.hilal-launch:focus-visible,.hilal-dialog textarea:focus-visible{outline:3px solid #784cff;outline-offset:3px}.hilal-dialog button:disabled{opacity:.55;cursor:wait}@media(max-width:600px){.hilal-launch{bottom:14px;left:12px}.hilal-dialog{height:calc(100dvh - 24px)}.hilal-dialog header{padding:10px}.hilal-dialog form{padding:12px}}

/* The launcher participates in header layout so it cannot cover page actions. */
.hilal-launch{position:static;flex-shrink:0;min-height:42px;padding:2px 10px 2px 2px;box-shadow:none;font-size:12px;z-index:auto}
.hilal-launch[hidden]{display:none}.hilal-launch .hilal-mascot{width:36px;height:36px}
@media(max-width:780px){.topbar:has(.hilal-launch){height:auto;min-height:72px;flex-wrap:wrap;padding-block:8px}.topbar:has(.hilal-launch) .top-actions{flex-wrap:wrap;gap:5px}.hilal-launch{padding:2px;min-width:42px}.hilal-launch>span:not(.hilal-mascot):last-child{display:none}}
@media print{#hilal-chat-widget,.hilal-launch{display:none!important}}

#hilal-chat-widget > .hilal-launch:not([hidden]) {
 position:fixed;z-index:900;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));
 min-height:46px;padding:3px 10px;box-shadow:0 4px 18px #21153035;gap:7px;
}
#hilal-chat-widget .hilal-launch-voice {display:inline-block;border-radius:20px;padding:2px 7px;background:#ede6ff;color:#44169d}
#hilal-chat-widget .hilal-live-panel {padding:10px 18px;border-bottom:1px solid #ded8e7;align-items:flex-start}
#hilal-chat-widget .hilal-live-panel .hilal-live {background:#4b0dff;color:#fff;border-color:#4b0dff}
#hilal-chat-widget .hilal-live-panel .hilal-consent {flex-basis:100%}
#hilal-chat-widget .hilal-live-audio {max-width:100%}
#hilal-chat-widget .hilal-messages {min-height:0}

@font-face{font-family:Tajawal;src:url('/fonts/Tajawal-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Tajawal;src:url('/fonts/Tajawal-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
#hilal-chat-widget .hilal-dialog,#hilal-chat-widget .hilal-launch{font-family:Tajawal,'IBM Plex Sans Arabic',sans-serif}
#hilal-chat-widget > .hilal-launch:not([hidden]){inline-size:52px;block-size:52px;padding:0;justify-content:center;border-radius:50%}
#hilal-chat-widget .hilal-launch .hilal-mascot{inline-size:46px;block-size:46px}
#hilal-chat-widget .hilal-live-panel .hilal-live{display:grid;place-items:center;inline-size:46px;block-size:46px;padding:0;border-radius:50%}
#hilal-chat-widget .hilal-live[aria-pressed=false] .hilal-end-icon,#hilal-chat-widget .hilal-live[aria-pressed=true] .hilal-mic-icon{display:none}

#hilal-chat-widget .hilal-mic-hint{align-self:center;font-weight:700}
#hilal-chat-widget .hilal-action-link:not([hidden]){min-height:36px;display:inline-flex;align-items:center;color:inherit;text-decoration:underline;text-underline-offset:3px;font-size:13px}

/* Keep conversation controls together below the message history. */
#hilal-chat-widget .hilal-composer{flex:none;border-top:1px solid #e5dfec;padding:8px 12px 6px}
#hilal-chat-widget .hilal-composer .hilal-live-panel{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:0;border:0}
#hilal-chat-widget .hilal-composer .hilal-live{flex:none}
#hilal-chat-widget .hilal-composer .hilal-live[aria-pressed=true]{background:#942448;border-color:#942448}
#hilal-chat-widget .hilal-composer form:not([hidden]){display:flex;flex:1;align-items:center;gap:8px;min-width:0;padding:0;border:0}
#hilal-chat-widget .hilal-composer form[hidden]{display:none}
#hilal-chat-widget .hilal-composer form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#hilal-chat-widget .hilal-composer textarea{flex:1;min-width:0;height:46px}
#hilal-chat-widget .hilal-composer form .hilal-actions{flex:none;max-width:110px;gap:4px}
#hilal-chat-widget .hilal-composer .hilal-send{min-height:44px}
#hilal-chat-widget .hilal-composer-preferences{display:flex;gap:12px;align-items:flex-start;font-size:12px}
#hilal-chat-widget .hilal-composer-preferences details{min-width:0}
#hilal-chat-widget .hilal-composer-preferences summary{min-height:36px;line-height:36px;cursor:pointer}
#hilal-chat-widget .hilal-composer-preferences summary:focus-visible{outline:2px solid #784cff;outline-offset:2px}
#hilal-chat-widget .hilal-composer-preferences .hilal-consent{display:block}
#hilal-chat-widget .hilal-chat-status:empty{min-height:0;margin:0}

.hilal-priorities{margin:4px 12px 0;font-size:13px}
.hilal-priorities summary{cursor:pointer;padding:6px}
.hilal-priorities>div{display:flex;flex-wrap:wrap;gap:6px;padding:4px 6px}
.hilal-priorities a{color:inherit;text-decoration:underline;text-underline-offset:3px}

@media (max-width:600px){
 .topbar.topbar{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;height:auto;min-height:0;padding:8px 10px}
 .topbar.topbar>.actions{width:100%;min-width:0;gap:8px}
 .topbar.topbar .breadcrumb{flex:1;min-width:0;font-size:12px}
 .topbar.topbar .breadcrumb strong{font-size:14px}
 .topbar.topbar>.top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;width:100%;padding-block-start:6px;border-block-start:1px solid color-mix(in srgb,currentColor 14%,transparent)}
 .topbar.topbar>.top-actions>.btn:not([data-action="show-guide"]),.topbar.topbar .mobile-toggle{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 6px;border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:10px;background:color-mix(in srgb,currentColor 4%,transparent);color:inherit}
 .topbar.topbar>.top-actions>.btn:not([data-action="show-guide"]){flex:1}
 .topbar.topbar .btn .icon{width:19px;height:19px}
 .topbar.topbar .top-actions .language{font-size:12px}
}

.topbar .topbar-sun-icon,html[data-eyada-theme="dark"] .topbar .topbar-moon-icon{display:none}
html[data-eyada-theme="dark"] .topbar .topbar-sun-icon{display:inline}
@media (max-width:600px){
 .topbar.topbar{gap:7px;padding:7px 9px 9px;border-radius:16px}
 .topbar.topbar>.actions{gap:9px}
 .topbar.topbar .breadcrumb{align-items:baseline;gap:5px}
 .topbar.topbar .breadcrumb strong{font-size:15px;line-height:1.4}
 .topbar.topbar>.top-actions{gap:1px;padding:2px;border:1px solid color-mix(in srgb,currentColor 13%,transparent);border-radius:12px;background:color-mix(in srgb,currentColor 5%,transparent)}
 .topbar.topbar>.top-actions>.btn:not([data-action="show-guide"]){border:0;background:transparent;border-radius:9px;box-shadow:none}
 .topbar.topbar>.top-actions>.btn:not([data-action="show-guide"]):active,.topbar.topbar>.top-actions>.btn:not([data-action="show-guide"]):focus-visible{background:color-mix(in srgb,currentColor 13%,transparent)}
 .topbar.topbar .mobile-toggle{border:0;background:color-mix(in srgb,currentColor 8%,transparent);border-radius:11px}
 .topbar.topbar .topbar-glyph{width:21px;height:21px}
}
