.pn-assistant-panel{position:fixed;inset:0 0 0 auto;z-index:1202;display:flex;flex-direction:column;width:min(440px,100vw);height:100dvh;background:#fff;color:#172b3b;border-left:1px solid #d9e2e9;box-shadow:-18px 0 55px rgba(9,25,38,.22);transform:translateX(105%);visibility:hidden;transition:transform .24s ease,visibility .24s ease;}
.pn-assistant-panel.is-open{transform:translateX(0);visibility:visible}
.pn-assistant-backdrop{position:fixed;inset:0;z-index:1201;background:rgba(7,17,26,.52);backdrop-filter:blur(2px)}
.pn-assistant-backdrop[hidden]{display:none}
.pn-assistant-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e3eaf0;background:#fff}
.pn-assistant-brand{display:flex;align-items:center;gap:11px;min-width:0}
.pn-assistant-brand>div{display:flex;flex-direction:column;min-width:0}
.pn-assistant-brand strong{font-size:15px;line-height:1.25;color:#17334a}
.pn-assistant-brand small{margin-top:3px;color:#738696;font-size:11px}
.pn-assistant-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#eaf4fb;color:#2476b4;font-size:18px}
.pn-assistant-header-actions{display:flex;align-items:center;gap:5px}
.pn-assistant-header-actions a,.pn-assistant-header-actions button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:9px;background:transparent;color:#6d8090;text-decoration:none;font-size:16px}
.pn-assistant-header-actions a:hover,.pn-assistant-header-actions button:hover{background:#eef4f8;color:#1e6fa7}
.pn-assistant-disclosure{display:flex;align-items:flex-start;gap:9px;flex:0 0 auto;margin:14px 14px 0;padding:11px 12px;border:1px solid #dceaf4;border-radius:11px;background:#f2f8fc;color:#526d80;font-size:11px;line-height:1.5}
.pn-assistant-disclosure i{color:#247db7;font-size:14px}
.pn-assistant-setup{margin:12px 14px 0;padding:10px 12px;border-radius:9px;background:#fff5df;color:#79551b;font-size:12px}
.pn-assistant-setup a{color:inherit;font-weight:700}
.pn-assistant-log{flex:1 1 auto;min-height:0;height:auto!important;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px!important;display:flex;flex-direction:column;gap:12px}
.pn-assistant-panel .assistant-msg{max-width:90%;padding:11px 13px;border-radius:14px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.pn-assistant-panel .assistant-msg.bot{align-self:flex-start;background:#f0f4f7;color:#233a4c}
.pn-assistant-panel .assistant-msg.user{align-self:flex-end;background:#2368a8;color:#fff}
.pn-assistant-meter{flex:0 0 auto;padding:9px 15px 0!important;font-size:10px!important;line-height:1.35;color:#788997}
.pn-assistant-composer{flex:0 0 auto;padding:10px 14px max(14px,env(safe-area-inset-bottom))!important;border-top:0!important;background:#fff}
.pn-assistant-prompts{gap:6px!important;margin-bottom:9px!important;flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}
.pn-assistant-prompts button{flex:0 0 auto;border:1px solid #dce4ea!important;background:#fff!important;color:#506779!important;padding:6px 9px!important;font-size:10px!important;white-space:nowrap}
.pn-assistant-input{min-height:84px;max-height:150px;resize:vertical;border-radius:12px;font-size:13px}
.pn-assistant-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.pn-assistant-send-note{margin:0 auto 0 0;color:#788997;font-size:10px;line-height:1.4}
.pn-assistant-send-row button{width:40px;height:40px;flex:0 0 40px;padding:0;border-radius:12px}
html[data-bs-theme=dark] .pn-assistant-panel{background:#14222d;color:#e7eff4;border-color:#344650;box-shadow:-18px 0 55px rgba(0,0,0,.4)}
html[data-bs-theme=dark] .pn-assistant-header{background:#14222d;border-color:#344650}
html[data-bs-theme=dark] .pn-assistant-brand strong{color:#eef5f8}
html[data-bs-theme=dark] .pn-assistant-brand small,html[data-bs-theme=dark] .pn-assistant-meter{color:#a4b4bf}
html[data-bs-theme=dark] .pn-assistant-icon{background:#20394b;color:#83c8f2}
html[data-bs-theme=dark] .pn-assistant-header-actions a,html[data-bs-theme=dark] .pn-assistant-header-actions button{color:#b7c5ce}
html[data-bs-theme=dark] .pn-assistant-header-actions a:hover,html[data-bs-theme=dark] .pn-assistant-header-actions button:hover{background:#263945;color:#b8e1f8}
html[data-bs-theme=dark] .pn-assistant-disclosure{background:#1a303e;border-color:#294555;color:#bdcbd3}
html[data-bs-theme=dark] .pn-assistant-setup{background:#45371f;color:#f4d38c}
html[data-bs-theme=dark] .pn-assistant-panel .assistant-msg.bot{background:#20313d;color:#e1eaf0}
html[data-bs-theme=dark] .pn-assistant-composer{background:#14222d}
html[data-bs-theme=dark] .pn-assistant-prompts button{background:#1a2c38!important;border-color:#405461!important;color:#d5e0e7!important}
html[data-bs-theme=dark] .pn-assistant-input{background:#1a2a35;border-color:#40515d;color:#eff5f8}
html[data-bs-theme=dark] .pn-assistant-input::placeholder{color:#91a4b1}
html[data-bs-theme=dark] .pn-assistant-send-note{color:#a4b4bf}
@media(max-width:600px){.pn-assistant-panel{width:100vw}.pn-assistant-disclosure{font-size:12px}.pn-assistant-panel .assistant-msg{font-size:14px}.pn-assistant-prompts button{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.pn-assistant-panel{transition:none}}
