/* ee-pal.css */
/* EE-Pal / public assistant */
.ee-pal-widget .sr-only{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;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.ee-pal-widget{position:fixed;z-index:90;right:clamp(16px,2vw,28px);bottom:calc(18px + var(--ee-pal-footer-shift, 0px));font-family:inherit;pointer-events:none}
.ee-pal-widget>*{pointer-events:auto}
.ee-pal-launch{display:flex;align-items:center;gap:9px;border:1px solid #235246;border-radius:999px;padding:8px 14px 8px 8px;background:#103e34;color:#fff;box-shadow:0 6px 22px #143a302c;font:650 13px/1.4 inherit;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}
.ee-pal-launch:hover{background:#174d40;box-shadow:0 9px 24px #143a303b;transform:translateY(-2px)}
.ee-pal-launch:focus-visible,.ee-pal-close:focus-visible,.ee-pal-form button:focus-visible{outline:3px solid #b58b53;outline-offset:3px}
.ee-pal-avatar{display:block;width:34px;height:34px;object-fit:contain;flex:none;border-radius:50%;background:#fff}
.ee-pal-widget.is-open .ee-pal-launch{display:none}
.ee-pal-panel{position:absolute;bottom:0;right:0;display:flex;flex-direction:column;width:min(396px,calc(100vw - 28px));height:min(580px,calc(100dvh - 100px - var(--ee-pal-footer-shift, 0px)));overflow:hidden;border-radius:16px;border:1px solid #dbe5df;background:#fff;box-shadow:0 15px 60px #173e3330;animation:ee-pal-enter .24s cubic-bezier(.18,.7,.3,1) both}
.ee-pal-panel[hidden]{display:none}
.ee-pal-panel header{display:flex;align-items:center;gap:11px;flex:none;padding:15px 18px;background:#103e34;color:#fff}
.ee-pal-panel header .ee-pal-avatar{width:38px;height:38px}
.ee-pal-panel header strong{display:flex;align-items:center;gap:7px;font-size:15px;line-height:1.4;font-weight:700}
.ee-pal-panel header small{display:block;margin-top:2px;font-size:11px;color:#c9ddd3}
.ee-pal-close{display:grid;place-items:center;flex:none;margin-left:auto;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer}
.ee-pal-close:hover{background:#ffffff19}
.ee-pal-close svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.ee-pal-messages{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 17px;background:#f7faf8}
.ee-pal-intro,.ee-pal-bubble{max-width:92%;margin:0;padding:12px 14px;border:1px solid #e9f0eb;border-radius:13px;background:#fff;color:#28463b;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.ee-pal-bubble.user{align-self:flex-end;margin-left:auto;background:#e0ede5;border-color:#e0ede5;border-bottom-right-radius:5px}
.ee-pal-bubble.assistant{align-self:flex-start;border-bottom-left-radius:5px}
.ee-pal-bubble.is-loading{color:#587568}
.ee-pal-bubble.is-loading::after{content:' ';display:inline-block;width:5px;height:5px;margin-left:6px;border-radius:50%;vertical-align:middle;background:#477e65;animation:ee-pal-pulse 1s ease-in-out infinite}
.ee-pal-form{flex:none;padding:13px 15px 8px;background:#fff;border-top:1px solid #e3eae5}
.ee-pal-form label{display:block;margin-bottom:8px;font-size:11px;font-weight:650;color:#63786e}
.ee-pal-form>div{display:flex;align-items:center;gap:8px}
.ee-pal-form input{flex:1;min-width:0;min-height:43px;padding:0 12px;border:1px solid #ccdcd2;border-radius:9px;background:#fff;font:inherit;font-size:13px;color:#213a30}
.ee-pal-form input:focus{outline:2px solid #b58b53;outline-offset:1px}
.ee-pal-form button{flex:none;min-height:43px;padding:0 16px;border:0;border-radius:9px;background:#123e33;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.ee-pal-form button:hover{background:#205345}
.ee-pal-form button:disabled{opacity:.6;cursor:wait}
.ee-pal-disclaimer{flex:none;margin:0;padding:0 15px 14px;background:#fff;font-size:10px;color:#71857a;line-height:1.6}
.ee-pal-sources{display:grid;gap:7px;max-width:94%;margin:0 0 6px;padding-left:3px}
.ee-pal-sources a,.ee-pal-sources span{font-size:12px;line-height:1.6;color:#27554a;text-decoration:none;overflow-wrap:anywhere}
.ee-pal-sources a:hover{text-decoration:underline;text-underline-offset:3px}
@keyframes ee-pal-enter{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ee-pal-pulse{0%,100%{opacity:.28}50%{opacity:1}}
@media(max-width:600px){.ee-pal-widget{right:12px;bottom:calc(12px + var(--ee-pal-footer-shift, 0px))}.ee-pal-launch{padding:7px 12px 7px 7px}.ee-pal-avatar{width:30px;height:30px}.ee-pal-panel{bottom:0;width:calc(100vw - 24px);height:min(610px,calc(100dvh - 34px - var(--ee-pal-footer-shift, 0px)));border-radius:14px}.ee-pal-messages{padding:16px 13px}.ee-pal-form{padding-inline:12px}.ee-pal-disclaimer{padding-inline:12px}}
@media(max-height:500px){.ee-pal-panel{height:calc(100dvh - 28px - var(--ee-pal-footer-shift, 0px))}}
@media(prefers-reduced-motion:reduce){.ee-pal-panel,.ee-pal-launch,.ee-pal-bubble.is-loading::after{animation:none;transition:none}}

.ee-pal-contact{align-self:flex-start;max-width:95%;margin:0 0 4px;padding:12px 14px;background:#edf3ee;border:1px solid #d8e5da;border-radius:11px;color:#28463b;font-size:12px;line-height:1.65}
.ee-pal-contact p{margin:0 0 8px}
.ee-pal-contact a{display:inline-flex;align-items:center;min-height:36px;padding:8px 13px;border-radius:8px;background:#123e33;color:#fff;font-weight:650;text-decoration:none}
.ee-pal-contact a:hover{background:#215647}

/* Composer and keyboard-aware mobile experience */
.ee-pal-form .ee-pal-composer{display:flex;align-items:flex-end;gap:8px;padding:7px 8px 7px 14px;border:1px solid #cbdcd1;border-radius:24px;background:#fff;transition:border-color .16s,box-shadow .16s}
.ee-pal-form .ee-pal-composer:focus-within{border-color:#397562;box-shadow:0 0 0 3px #39756220}
.ee-pal-form .ee-pal-composer textarea{display:block;flex:1;min-width:0;min-height:28px;max-height:128px;height:28px;padding:3px 0;margin:0;resize:none;overflow-y:auto;border:0;outline:0!important;box-shadow:none!important;background:transparent;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;color:#173d32;overflow-wrap:anywhere}
.ee-pal-form .ee-pal-composer textarea:focus{outline:0!important}
.ee-pal-form .ee-pal-composer button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;background:#123e33}
.ee-pal-composer button svg{width:19px;height:19px}
.ee-pal-composer button:disabled{opacity:.45}
.ee-pal-panel{min-height:0}
@media(max-width:600px){
 .ee-pal-widget.is-open{top:var(--ee-pal-visual-top,0px);left:0;right:0;bottom:auto;width:100%;height:var(--ee-pal-visual-height,100dvh);max-height:var(--ee-pal-visual-height,100dvh);z-index:999}
 .ee-pal-widget.is-open .ee-pal-panel{position:relative;top:auto;left:auto;right:auto;bottom:auto;width:100%;height:100%;max-height:100%;border:0;border-radius:0;box-shadow:none;animation:none}
 .ee-pal-widget.is-open .ee-pal-panel header{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:12px}
 .ee-pal-messages{padding:16px 16px 24px;scroll-padding-bottom:14px}
 .ee-pal-form{padding:10px 12px 8px}
 .ee-pal-form label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 .ee-pal-form .ee-pal-composer{border-radius:24px}
 .ee-pal-disclaimer{padding:0 15px max(9px,env(safe-area-inset-bottom,0px));text-align:center}
 body.ee-pal-chat-open{overflow:hidden;overscroll-behavior:none}
}
@media(pointer:coarse){.ee-pal-form textarea{font-size:16px!important}}


/* Conversation evidence and desktop reading workspace */
.ee-pal-panel header .ee-pal-expand{display:grid;place-items:center;flex:none;margin-left:auto;width:36px;height:36px;padding:0;border:0;border-radius:9px;background:transparent;color:#fff;cursor:pointer}
.ee-pal-panel header .ee-pal-expand:hover,.ee-pal-panel header .ee-pal-expand:focus-visible{background:#ffffff24}
.ee-pal-panel header .ee-pal-expand svg{width:20px;height:20px}
.ee-pal-panel header .ee-pal-close{margin-left:0}
.ee-pal-evidence{align-self:stretch;max-width:95%;margin:0 0 8px;border:1px solid #d9e6de;border-radius:12px;background:#fff;color:#345c4d;overflow:hidden;font-size:13px}
.ee-pal-evidence summary{list-style:none;cursor:pointer;padding:12px 15px;font-weight:650;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.ee-pal-evidence summary::-webkit-details-marker{display:none}
.ee-pal-evidence summary::after{content:'+';font-size:20px;font-weight:400;color:#567769;line-height:1}
.ee-pal-evidence[open] summary::after{content:'−'}
.ee-pal-evidence-list{margin:0;padding:10px 18px 14px 34px;border-top:1px solid #e5eee8;display:grid;gap:10px}
.ee-pal-evidence-list li{line-height:1.65;overflow-wrap:anywhere}
.ee-pal-evidence-list a{color:#205a4b;text-underline-offset:3px}
.ee-pal-bubble.assistant{max-width:90%;font-size:14px;line-height:1.75}
@media(min-width:601px){
 body.ee-pal-desktop-expanded{overflow:hidden}
 .ee-pal-widget.is-expanded{inset:0;right:0;bottom:0;left:0;width:100%;height:100dvh;z-index:1000;background:#0d2d2670;display:flex;align-items:center;justify-content:center;padding:clamp(18px,4vh,52px)}
 .ee-pal-widget.is-expanded .ee-pal-panel{position:relative;right:auto;bottom:auto;width:min(920px,100%);height:min(820px,100%);max-height:100%;border-radius:20px;box-shadow:0 30px 80px #08251c35;animation:ee-pal-enter .2s ease-out both}
 .ee-pal-widget.is-expanded .ee-pal-messages{padding:32px max(32px,calc((100% - 690px)/2));gap:17px}
 .ee-pal-widget.is-expanded .ee-pal-form,.ee-pal-widget.is-expanded .ee-pal-disclaimer{padding-left:max(25px,calc((100% - 690px)/2));padding-right:max(25px,calc((100% - 690px)/2))}
 .ee-pal-widget.is-expanded .ee-pal-bubble.assistant{max-width:100%}
 .ee-pal-widget.is-expanded .ee-pal-evidence{max-width:100%}
}
@media(max-width:600px){.ee-pal-panel header .ee-pal-expand{display:none}.ee-pal-evidence{max-width:100%}.ee-pal-bubble.assistant{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ee-pal-widget.is-expanded .ee-pal-panel{animation:none}}

/* Attachments: visually subordinate to the conversation composer. */
.ee-pal-attach-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:#f0f5f1;color:#184638;cursor:pointer}
.ee-pal-attach-button svg{width:19px;height:19px}
.ee-pal-attach-button:hover{background:#e4eee8}
.ee-pal-attachment-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:100%;margin:0 0 9px;padding:9px 12px;border:1px solid #dce8df;border-radius:12px;background:#f6f9f6;color:#28463b;font-size:12px;overflow-wrap:anywhere}
.ee-pal-attachment-preview[hidden]{display:none}
.ee-pal-remove-file{border:0;background:transparent;color:#205a4b;text-decoration:underline;cursor:pointer;font:inherit;flex:none}
.ee-pal-file-note{margin:6px 3px 0;color:#687d73;font-size:10px;line-height:1.5}
.ee-pal-form .ee-pal-composer .ee-pal-attach-button{background:#f0f5f1;color:#184638;flex:0 0 36px;padding:0}
.ee-pal-form .ee-pal-composer .ee-pal-attach-button:hover{background:#e4eee8}
@media(max-width:600px){.ee-pal-file-note{font-size:10px}.ee-pal-attachment-preview{font-size:12px}}

.ee-pal-bubble a{color:#185f53;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.ee-pal-bubble a:focus-visible{outline:2px solid #b58b53;outline-offset:2px}

/* Center the single-line composer placeholder without shifting multiline messages. */
.ee-pal-form .ee-pal-composer{align-items:center;min-height:52px;padding-block:7px}
.ee-pal-form .ee-pal-composer textarea{box-sizing:border-box;min-height:32px;height:32px;padding:4px 0;line-height:24px;align-self:center}
.ee-pal-form .ee-pal-composer textarea::placeholder{line-height:24px;opacity:1;color:#81928b}
.ee-pal-form .ee-pal-composer .ee-pal-attach-button,.ee-pal-form .ee-pal-composer button[type=submit]{align-self:center}

/* Evidence is a secondary, independently operable disclosure. */
.ee-pal-evidence-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:12px 15px;border:0;background:transparent;color:#245548;font:inherit;font-weight:650;cursor:pointer;text-align:left}
.ee-pal-evidence-toggle:focus-visible{outline:2px solid #286b5b;outline-offset:-3px}
.ee-pal-evidence-content[hidden]{display:none!important}
.ee-pal-evidence-indicator{font-size:20px;font-weight:400}
.ee-pal-source-type{font-size:11px;color:#5d756b;background:#edf3ef;padding:2px 7px;border-radius:5px;white-space:nowrap}
.ee-pal-evidence-list li{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}
.ee-pal-evidence-list a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.ee-pal-evidence-list a:hover{color:#143e32}


/* v17.16: Single readable evidence panel per answer, with bounded scrolling. */
.ee-pal-messages{scrollbar-gutter:stable;overflow-x:hidden;min-width:0;scroll-padding-block:20px}
.ee-pal-intro,.ee-pal-bubble,.ee-pal-contact,.ee-pal-evidence{box-sizing:border-box;min-width:0;max-width:100%}
.ee-pal-bubble.assistant{width:auto;max-width:min(100%,680px);font-size:14px;line-height:1.78;white-space:pre-wrap;overflow-wrap:anywhere}
.ee-pal-bubble.user{max-width:85%;line-height:1.65}
.ee-pal-evidence{width:min(100%,680px);max-width:100%;align-self:flex-start;flex:none;margin:0 0 12px;border-radius:14px;background:#fff;overflow:hidden}
.ee-pal-evidence-toggle{min-height:52px;gap:10px;padding:14px 16px;font-size:13px;line-height:1.5}
.ee-pal-evidence-content{max-height:min(36vh,265px);overflow:auto;overscroll-behavior:contain;border-top:1px solid #e5eee8;background:#fff}
.ee-pal-evidence-list{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none;border:0}
.ee-pal-evidence-list li{display:block;min-width:0;margin:0;padding:0;border-bottom:1px solid #edf2ee}
.ee-pal-evidence-list li:last-child{border-bottom:0}
.ee-pal-source-info{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;padding:12px 15px}
.ee-pal-source-info>a,.ee-pal-source-info>span:first-child{flex:1;min-width:0;line-height:1.6;font-size:13px;overflow-wrap:anywhere}
.ee-pal-source-info>a{color:#174d40;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ee-pal-source-info>.ee-pal-source-type{flex:none;font-size:11px;line-height:1.4}
.ee-pal-panel{isolation:isolate}
.ee-pal-panel header{position:relative;z-index:2}
.ee-pal-form{position:relative;z-index:2}
@media(min-width:601px){
 .ee-pal-widget.is-expanded .ee-pal-messages{padding:28px max(22px,calc((100% - 740px)/2));gap:14px}
 .ee-pal-widget.is-expanded .ee-pal-bubble.assistant,.ee-pal-widget.is-expanded .ee-pal-evidence{width:min(100%,680px);max-width:100%}
 .ee-pal-widget.is-expanded .ee-pal-panel{height:min(820px,calc(100dvh - 56px))}
}
@media(max-width:600px){
 .ee-pal-messages{padding:16px 14px 20px;gap:12px}
 .ee-pal-bubble.assistant{max-width:100%;font-size:14px}
 .ee-pal-evidence{width:100%;max-width:100%}
 .ee-pal-evidence-content{max-height:30dvh}
 .ee-pal-source-info{padding:12px;gap:8px}
}

/* Conversation typography and touch targets */
.ee-pal-intro,.ee-pal-bubble{font-size:14px;line-height:1.7}
.ee-pal-form label{font-size:12px}
.ee-pal-form .ee-pal-composer textarea{font-size:16px}
.ee-pal-evidence-list a{display:inline-block;min-height:32px;padding-block:4px}
.ee-pal-widget .ee-pal-close,.ee-pal-widget .ee-pal-expand{min-width:44px;min-height:44px}
@media(prefers-reduced-motion:reduce){.ee-pal-widget *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* v17.36 - new conversation control and accessible mobile dialog */
.ee-pal-reset{font:inherit;font-size:12px;padding:7px 9px;background:transparent;color:inherit;border:1px solid currentColor;border-radius:7px;cursor:pointer;white-space:nowrap}.ee-pal-reset:hover,.ee-pal-reset:focus-visible{background:rgba(44,117,82,.1);outline-offset:2px}
@media(max-width:600px){.ee-pal-panel .ee-pal-reset{font-size:12px;min-height:36px;padding:6px 8px}}

/* v17.46: stable, compositor-backed mobile launcher; no scroll-driven bottom updates. */
@media(max-width:600px){
 .ee-pal-widget:not(.is-open){bottom:calc(12px + env(safe-area-inset-bottom,0px));right:12px;transform:translateZ(0)}
 .ee-pal-widget:not(.is-open) .ee-pal-launch{backface-visibility:hidden;-webkit-backface-visibility:hidden}
 .site-footer{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
}
@media(hover:none){
 .ee-pal-launch:hover{background:#103e34;box-shadow:0 6px 22px #143a302c;transform:none}
}

/* ee-pal-v1749.css */
/* Accessible AI interaction, sources and document results. */
.ee-pal-bubble.assistant{white-space:normal!important}
.ee-pal-bubble.assistant p{margin:0 0 .8em;line-height:1.8}
.ee-pal-bubble.assistant p:last-child{margin-bottom:0}
.ee-pal-bubble.assistant h3{font-size:14px;line-height:1.5;margin:12px 0 7px;color:#143d32}
.ee-pal-bubble.assistant ul,.ee-pal-bubble.assistant ol{padding-left:23px;margin:7px 0 13px}
.ee-pal-bubble.assistant li{padding:2px 0;line-height:1.7}
.ee-pal-bubble.assistant code{font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;background:#e9f1eb;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}
.ee-pal-bubble.assistant blockquote{border-left:3px solid #90b3a0;color:#536e5f;margin:10px 0;padding:4px 11px;background:#f4f8f5}
.ee-pal-bubble.assistant mark{background:#fff0c3;color:#48390d;padding:1px 3px;border-radius:3px}
.ee-pal-typing-text{white-space:pre-wrap;overflow-wrap:anywhere}
.ee-pal-thinking-dots{display:inline-flex;gap:5px;align-items:center;margin-left:10px}
.ee-pal-thinking-dots i{width:5px;height:5px;border-radius:50%;background:#3d8b68;animation:eePalThinking 1.1s ease-in-out infinite alternate}
.ee-pal-thinking-dots i:nth-child(2){animation-delay:.2s}.ee-pal-thinking-dots i:nth-child(3){animation-delay:.4s}
@keyframes eePalThinking{0%{opacity:.22;transform:translateY(2px)}100%{opacity:1;transform:translateY(-2px)}}
.ee-pal-documents{box-sizing:border-box;align-self:flex-start;width:min(100%,680px);border:1px solid #cfded4;border-radius:13px;background:#fff;padding:12px 14px;color:#173f33}
.ee-pal-documents>strong{font-size:13px;display:block;margin-bottom:8px}
.ee-pal-documents ul{list-style:none;margin:0;padding:0}
.ee-pal-documents li+li{border-top:1px solid #e4ede7}
.ee-pal-documents a{display:flex;align-items:center;gap:11px;min-height:50px;color:#174b3e;text-decoration:none;font-weight:650;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.ee-pal-documents a:hover{text-decoration:underline;text-underline-offset:3px}
.ee-pal-document-icon{display:grid;place-items:center;flex:none;width:32px;height:36px;border:1px solid #d2e1d6;background:#edf5f0;border-radius:7px;color:#216348;font-size:17px}
.ee-pal-document-action{margin-left:auto;flex:none;font-size:11px;color:#5a7e68}
@media(max-width:600px){.ee-pal-documents{padding:10px 12px}.ee-pal-document-action{display:none}}
@media(prefers-reduced-motion:reduce){.ee-pal-thinking-dots i{animation:none;opacity:1}}

/* ee-pal-v1750.css */
/* v17.50 · accessible, source-led response presentation; no untrusted HTML insertion. */
.ee-pal-bubble.assistant:not(.is-loading){white-space:normal;line-height:1.78}
.ee-pal-bubble.assistant h3{margin:16px 0 8px;font-size:15px;font-weight:780;line-height:1.5;color:#17483a}
.ee-pal-bubble.assistant h3:first-child{margin-top:0}
.ee-pal-bubble.assistant p{margin:0 0 11px;line-height:1.85;white-space:normal}
.ee-pal-bubble.assistant p:last-child{margin-bottom:0}
.ee-pal-bubble.assistant ul,.ee-pal-bubble.assistant ol{padding-left:24px;margin:8px 0 13px;display:grid;gap:5px}
.ee-pal-bubble.assistant li{line-height:1.75}
.ee-pal-bubble.assistant strong{font-weight:760;color:#173d31}
.ee-pal-bubble.assistant mark{background:#fff0c7;color:#573f17;border-radius:3px;padding-inline:3px}
.ee-pal-bubble.assistant blockquote{margin:12px 0;padding:9px 14px;background:#eef5f0;color:#476451;border-left:3px solid #8bb49c;border-radius:0 9px 9px 0}
.ee-pal-bubble.assistant.is-typing::after{content:'▏';display:inline-block;color:#36845c;animation:ee-pal-caret .65s steps(1,end) infinite;font-weight:900}
@keyframes ee-pal-caret{50%{opacity:0}}
.ee-pal-bubble.is-thinking{min-height:96px;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:0;color:#4a6858;max-width:min(100%,590px)}
.ee-pal-status-text{font-size:13px;font-weight:600}
.ee-pal-bubble.is-thinking::after{display:none}
.ee-pal-thinking-dots{margin-left:9px}
.ee-pal-thinking-skeleton{display:grid;gap:8px;width:100%;margin-top:15px}
.ee-pal-thinking-skeleton i{height:9px;border-radius:999px;display:block;background:linear-gradient(90deg,#edf3ef 0%,#dcece3 45%,#edf3ef 100%);background-size:200% 100%;animation:ee-pal-skeleton 1.4s linear infinite}
.ee-pal-thinking-skeleton i:nth-child(2){width:83%}
.ee-pal-thinking-skeleton i:nth-child(3){width:56%}
@keyframes ee-pal-skeleton{to{background-position-x:-200%}}
.ee-pal-documents{margin:0;box-shadow:0 3px 15px #103b3208;width:min(100%,680px);padding:0;border-radius:14px}
.ee-pal-documents-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #e7ede8}
.ee-pal-documents-header strong{font-size:13px;color:#244d3c}
.ee-pal-document-count{display:grid;place-items:center;min-width:23px;height:23px;padding-inline:6px;border-radius:99px;background:#eff5f0;color:#436854;font-weight:750;font-size:11px}
.ee-pal-documents ul{list-style:none;margin:0;padding:3px 13px 6px}
.ee-pal-documents li+li{border-top:1px solid #edf1ed}
.ee-pal-documents a{display:flex;align-items:center;gap:12px;min-height:66px;padding:10px 0;text-decoration:none;min-width:0}
.ee-pal-documents a:hover,.ee-pal-documents a:focus-visible{background:#f8fbf9;text-decoration:none}
.ee-pal-document-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:46px;border-radius:10px;border:1px solid #cfdfd5;background:#eaf3ed;color:#245941;font:800 10px/1 ui-monospace,Consolas,monospace;letter-spacing:-.02em}
.ee-pal-document-icon[data-type=pdf]{color:#9a3030;background:#fff2f0;border-color:#f0d5d1}
.ee-pal-document-icon[data-type=word]{color:#265d93;background:#eff5fd;border-color:#d5e2f2}
.ee-pal-document-icon[data-type=ppt]{color:#a9572b;background:#fff3ed;border-color:#f2decf}
.ee-pal-document-info{display:grid;gap:5px;flex:1;min-width:0}
.ee-pal-document-info strong{font-size:13px;color:#1d4b3b;line-height:1.5;overflow-wrap:anywhere;font-weight:730}
.ee-pal-document-info small{font-size:11px;line-height:1.5;color:#73887a;font-weight:400}
.ee-pal-document-action{margin-left:auto;font-size:12px;color:#367458;white-space:nowrap}
.ee-pal-followups{display:flex;flex-wrap:wrap;gap:7px;width:min(100%,680px);padding-bottom:8px;align-self:flex-start}
.ee-pal-followups>span{width:100%;font-size:11px;color:#718477;font-weight:650}
.ee-pal-followups button{padding:9px 12px;min-height:39px;border:1px solid #d1e0d6;border-radius:999px;background:#fff;color:#245a44;font-family:inherit;font-size:12px;font-weight:650;line-height:1.5;cursor:pointer;text-align:left}
.ee-pal-followups button:hover,.ee-pal-followups button:focus-visible{border-color:#80a88c;background:#edf5ef}
.ee-pal-messages{scroll-behavior:auto}
@media(max-width:600px){
  .ee-pal-bubble.assistant:not(.is-loading){padding:13px 14px}
  .ee-pal-documents{width:100%}
  .ee-pal-documents a{min-height:65px}
  .ee-pal-document-icon{flex-basis:38px;width:38px;height:43px}
  .ee-pal-document-info small{font-size:10px}
  .ee-pal-document-action{display:none}
  .ee-pal-followups button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  .ee-pal-thinking-skeleton i,.ee-pal-bubble.assistant.is-typing::after{animation:none}
}
/* The mobile conversation is a modal: it must cover the full-screen navigation header. */
@media(max-width:600px){.ee-pal-widget.is-open{z-index:2000}}

/* ee-pal-v1751.css */
/* v17.51: stable desktop chat, fixed positioning unaffected by page-footer scroll. */
@media(min-width:601px){
  .ee-pal-widget:not(.is-expanded){position:fixed;inset:auto clamp(16px,2vw,28px) 18px auto;--ee-pal-footer-shift:0px!important}
  .ee-pal-widget.is-open:not(.is-expanded) .ee-pal-panel{position:absolute;bottom:0;right:0;height:min(650px,calc(100dvh - 60px));max-height:calc(100dvh - 60px);min-height:0;width:min(435px,calc(100vw - 30px));animation:none}
  .ee-pal-widget.is-open:not(.is-expanded) .ee-pal-messages{flex:1;min-height:0;overflow-y:auto}
}
.ee-pal-form .ee-pal-composer{position:relative}
.ee-pal-form .ee-pal-composer .ee-pal-stop{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;width:auto;min-width:51px;max-height:38px;padding:0 11px;border-radius:18px;background:#fff0e8;border:1px solid #d6a485;color:#8e3a28;font-family:inherit;font-size:12px;font-weight:750;cursor:pointer}
.ee-pal-form .ee-pal-composer .ee-pal-stop[hidden]{display:none!important}
.ee-pal-form .ee-pal-composer .ee-pal-stop:hover,.ee-pal-form .ee-pal-composer .ee-pal-stop:focus-visible{background:#ffe6d9;outline:2px solid #ad6a47;outline-offset:2px}
.ee-pal-form .ee-pal-composer button[type=submit]:disabled{display:none}
@media(max-width:600px){.ee-pal-form .ee-pal-composer .ee-pal-stop{min-width:50px;padding-inline:7px}}

/* ee-pal-v1752.css */
/* v17.52: single baseline for assistant composer metadata. */
.ee-pal-panel .ee-pal-form{padding-bottom:4px}
.ee-pal-panel .ee-pal-file-note{margin:8px 0 0!important;padding:0!important;line-height:1.45;font-size:11px;color:#71887a;text-align:left}
.ee-pal-panel .ee-pal-disclaimer{display:block;flex:none;padding:0 15px 12px!important;margin:0;background:#fff;color:#667b6e;text-align:left!important;font-size:11px;line-height:1.6}
.ee-pal-panel .ee-pal-disclaimer summary{list-style:none;display:inline-flex;align-items:center;min-height:30px;cursor:pointer;color:#396b53;font-weight:650;font-size:11px}
.ee-pal-panel .ee-pal-disclaimer summary::-webkit-details-marker{display:none}
.ee-pal-panel .ee-pal-disclaimer summary::after{content:'＋';margin-left:5px;font-size:12px}
.ee-pal-panel .ee-pal-disclaimer[open] summary::after{content:'−'}
.ee-pal-panel .ee-pal-disclaimer p{margin:2px 0 7px;font-size:11px;line-height:1.65;color:#667b70;overflow-wrap:anywhere}
@media(min-width:601px){
 .ee-pal-widget.is-expanded .ee-pal-disclaimer{padding-left:max(25px,calc((100% - 690px)/2))!important;padding-right:max(25px,calc((100% - 690px)/2))!important}
}
@media(max-width:600px){
 .ee-pal-panel .ee-pal-form{padding:10px 15px 3px}
 .ee-pal-panel .ee-pal-disclaimer{padding:0 15px max(7px,env(safe-area-inset-bottom,0px))!important}
}

/* ee-pal-mobile.css */
/* Public assistant: readable controls and mobile safe-area layout. */
.ee-pal-panel .ee-pal-file-note,
.ee-pal-panel .ee-pal-disclaimer,
.ee-pal-panel .ee-pal-disclaimer p { font-size: 12px; color: #50695b; line-height: 1.6; }
.ee-pal-panel .ee-pal-disclaimer summary { min-height: 38px; font-size: 12px; color: #245741; }
.ee-pal-panel header small { font-size: 12px; color: #e1ebe5; }
.ee-pal-suggestions { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; max-width: 95%; }
.ee-pal-suggestions button { display: inline-flex; align-items: center; text-align: left; min-height: 42px; padding: 8px 12px; border: 1px solid #c8dbce; border-radius: 9px; color: #21513b; background: #fff; font-size: 12px; line-height: 1.5; font-weight: 650; }
.ee-pal-suggestions button:hover { border-color: #84a995; background: #f1f6f2; }
.ee-pal-panel .ee-pal-messages { scrollbar-gutter: stable; }
.ee-pal-widget.is-open .ee-pal-panel { overscroll-behavior: contain; }
.ee-pal-widget .ee-pal-close { margin-left: 0; }
@media (max-width: 600px) {
  .ee-pal-widget.is-open { z-index: 2100; }
  .ee-pal-widget.is-open .ee-pal-panel { padding-bottom: 0; }
  .ee-pal-widget.is-open .ee-pal-panel header { padding-top: calc(9px + env(safe-area-inset-top, 0px)); padding-bottom: 9px; }
  .ee-pal-widget.is-open .ee-pal-panel .ee-pal-messages { padding: 17px 14px 22px; }
  .ee-pal-widget.is-open .ee-pal-form { padding: 10px 12px 4px; }
  .ee-pal-widget.is-open .ee-pal-disclaimer { padding: 0 13px max(8px, env(safe-area-inset-bottom, 0px)) !important; }
  .ee-pal-widget .ee-pal-bubble { font-size: 14px; line-height: 1.72; }
  .ee-pal-widget .ee-pal-launch { min-height: 48px; }
  .ee-pal-widget .ee-pal-suggestions button { min-height: 44px; }
  body.ee-pal-chat-open .pwa-update-notice { visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ee-pal-suggestions button { transition: none; }
}
