/* Prism 19.1 — consistent, polished help dialogs */
#prismHelpOpen.prism-help-fab{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:70;display:flex;align-items:center;gap:8px;background:linear-gradient(115deg,#a9a1fd,#f1a6d0);color:#180c25;border:0;border-radius:28px;padding:11px 17px;box-shadow:0 12px 28px #05020d99;font:700 13px Inter,system-ui,sans-serif;cursor:pointer}
#prismHelp.vlt-help-dialog,.prism-help-refresh.vlt-help-dialog{width:min(540px,calc(100vw - 22px));max-width:calc(100vw - 22px);max-height:min(88dvh,720px);overflow-y:auto;overflow-x:hidden;background:linear-gradient(145deg,#231b3b,#121324 82%);color:#f5efff;border:1px solid #8774c0;border-radius:24px;padding:clamp(17px,4vw,28px);box-shadow:0 0 0 1px #dba3ed2b,0 28px 80px #000b;animation:prism-help-entrance .2s ease-out}
#prismHelp::backdrop,.prism-help-refresh::backdrop{background:rgba(5,3,13,.8);backdrop-filter:blur(7px)}
.prism-help-heading{display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:10px}
.prism-help-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#695eae,#428cb9);color:#fff;flex:none}
.prism-help-heading>div{flex:1;min-width:0}
.prism-help-kicker{font:700 10px/1.4 system-ui,sans-serif;color:#9bdaf9;letter-spacing:.16em;margin:0 0 5px!important}
.prism-help-heading h2{font-size:clamp(19px,4vw,25px);line-height:1.2;margin:0;color:#fff}
.prism-help-close{width:36px;height:36px;display:grid;place-items:center;flex:none;margin:0;border:1px solid #79669f;background:#302447;color:white;border-radius:11px;cursor:pointer;padding:8px}
.prism-help-summary{font-size:13px;line-height:1.55;color:#cdbfdf;margin:10px 0 18px}
.prism-help-topics{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.prism-help-topics button{border:1px solid #685485;border-radius:11px;background:#312544;color:#e9dafe;padding:9px 11px;font-size:12px;cursor:pointer;min-width:0}
.prism-help-messages{display:grid;gap:8px;max-height:150px;overflow:auto;margin:0 0 13px}
.prism-help-messages p{border:1px solid #6b5287;border-radius:12px;padding:11px 13px;background:#261e3b;color:#f5edff;line-height:1.5;margin:0}
.prism-help-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;margin:0!important;max-width:100%!important}
.prism-help-form label{display:block;color:#e2d5f3;font-weight:600;font-size:13px}
.prism-help-form input{display:block!important;width:100%!important;min-width:0!important;padding:12px 13px!important;margin:0!important;background:#141225!important;color:white!important;border:1px solid #76619d!important;border-radius:11px!important;font-size:14px!important;box-sizing:border-box!important}
.prism-help-form button{display:block!important;width:100%!important;min-height:43px!important;background:linear-gradient(105deg,#82c8fb,#e897db)!important;border:0!important;color:#1b1230!important;border-radius:11px!important;font-weight:750!important;padding:10px 12px!important;cursor:pointer}
.prism-help-ai-area{margin-top:15px;padding-top:15px;border-top:1px solid #433656;display:grid;gap:7px}
.prism-help-ai-btn{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:11px;border:1px solid #8372bc;border-radius:12px;background:#30284e;color:#f4eaff;font-size:13px;font-weight:650;cursor:pointer}
.prism-help-ai-btn:disabled{opacity:.6;cursor:wait}
.prism-help-ai-area>p{color:#b8afce;font-size:11px;line-height:1.5;text-align:center;margin:0}
@keyframes prism-help-entrance{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:390px){#prismHelp.vlt-help-dialog,.prism-help-refresh.vlt-help-dialog{padding:15px;border-radius:17px;max-height:88dvh}.prism-help-topics button{padding:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#prismHelp.vlt-help-dialog,.prism-help-refresh.vlt-help-dialog{animation:none!important}}

/* Prism 20 · Conversación guiada, accesible y sin servicios externos */
.prism-help-chat{display:flex!important;flex-direction:column!important;gap:9px!important;max-height:min(38dvh,285px)!important;overflow:auto!important;overscroll-behavior:contain;margin:8px 0 15px!important;padding:3px!important}
.prism-help-chat-msg{max-width:95%;padding:11px 13px;border-radius:14px;border:1px solid #725c9c;background:#25203c;color:#f2edff;font-size:13px;line-height:1.55;word-break:break-word}
.prism-help-chat-msg.from-user{align-self:flex-end;background:#41336e;border-color:#9783d9}
.prism-help-chat-msg.from-bot{align-self:flex-start}
.prism-help-chat-msg p{padding:0!important;margin:0!important;border:0!important;background:none!important;color:inherit!important;font-size:inherit!important}
.prism-help-chat-link{display:inline-flex;margin-top:9px;color:#a9dcff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.prism-help-topics button{transition:border-color .16s,background .16s}
.prism-help-topics button:hover{border-color:#b2a0f8;background:#403058}
#prismHelp.prism-help-refresh .prism-help-ai-area,#helpDialog.prism-help-refresh .prism-help-ai-area{display:none!important}
@media(max-width:390px){.prism-help-chat{max-height:29dvh!important}.prism-help-chat-msg{font-size:12px;padding:9px 11px}}
