.e88a-wrap{max-width:1060px;margin:44px auto 78px;color:#112744}.e88a-wrap h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.14;margin:.4em 0}.e88a-wrap h1 span{display:block;color:#164ac4}.e88a-eyebrow{font-size:.85rem;color:#1b58ba;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.e88a-sub{font-size:1.08rem;color:#526780;max-width:790px;line-height:1.65}.e88a-panel{background:#fff;border:1px solid #d6e3ef;border-radius:22px;padding:clamp(18px,4vw,36px);box-shadow:0 22px 65px rgba(21,50,91,.09);margin-top:26px}.e88a-step-title{font-weight:900;font-size:1.25rem;margin:0 0 18px}.e88a-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.e88a-choice{border:2px solid #dce5f0;border-radius:16px;padding:15px;cursor:pointer;transition:border .16s,background .16s}.e88a-choice:has(input:checked){border-color:#1752c8;background:#eaf1ff}.e88a-choice:has(input:focus-visible){outline:3px solid #e78e14}.e88a-choice[data-vital="1"]{background:#f8fbff}.e88a-choice input{position:absolute;opacity:0;width:1px;height:1px}.e88a-choice-main{display:flex;flex-direction:column;gap:6px}.e88a-emoji{font-size:1.7rem}.e88a-choice strong{font-size:1rem}.e88a-choice small{color:#17634e;font-weight:750}.e88a-wrap textarea,.e88a-wrap select,.e88a-wrap input[type=text]{box-sizing:border-box;width:100%;border:1px solid #bac9dc;border-radius:10px;padding:13px;background:#fafdff;color:#14263e;font:inherit;margin:7px 0 15px}.e88a-wrap label{font-weight:650}.e88a-help{background:transparent;border:0;text-decoration:underline;color:#134aba;font-weight:750;margin-top:20px;cursor:pointer}.e88a-fieldset{border:1px solid #dce3ee;border-radius:12px;margin:18px 0;padding:18px}.e88a-fieldset label{margin-right:25px;display:inline-flex;gap:8px;align-items:center;margin-top:10px}.e88a-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:22px}.e88a-danger{background:#fff0ee;color:#952716;border:1px solid #edb6ac;border-radius:12px;padding:15px;line-height:1.55}.e88a-muted{color:#617087;font-size:.92rem}.e88a-handoff{background:#edf7f3;border-radius:10px;padding:14px;color:#185941;margin-top:20px}.e88a-question{padding:7px 0}@media(max-width:740px){.e88a-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.e88a-grid{grid-template-columns:1fr}.e88a-actions{flex-wrap:wrap}.e88a-actions .btn{flex:1}}
/* E88A5 - Chat de clasificación integrado, accesible y sin alertas bloqueantes */
.e88a-chat{margin-top:20px;border:1px solid #bed2ec;border-radius:20px;background:#f8fbff;overflow:hidden;box-shadow:0 10px 28px rgba(6,32,75,.08)}
.e88a-chat[hidden]{display:none!important}
.e88a-chat-head{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:14px 18px;background:#0b2243;color:#fff;flex-wrap:wrap}
.e88a-chat-head>div{display:flex;align-items:center;gap:10px}
.e88a-chat-avatar{display:inline-grid;place-items:center;background:#245ad1;border-radius:12px;width:35px;height:35px;color:white;font-size:24px}
.e88a-chat-mode{font-size:.78rem;color:#dbe8ff;font-weight:600}
.e88a-chat-privacy{font-size:.82rem;line-height:1.5;color:#475f80;margin:12px 18px}
.e88a-chat-log{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:200px;max-height:400px;overflow-y:auto;padding:16px 18px;background:linear-gradient(180deg,#f6faff,#fff)}
.e88a-chat-msg{font-size:.98rem;line-height:1.55;max-width:91%;padding:12px 16px;border-radius:16px;overflow-wrap:anywhere;white-space:pre-wrap}
.e88a-chat-bot{background:#e9f1fb;color:#123257;border-bottom-left-radius:4px}
.e88a-chat-user{background:#2056bf;color:white;margin-left:auto;border-bottom-right-radius:4px}
.e88a-chat-controls{padding:14px 18px 3px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.e88a-chat-controls label{width:100%;font-size:.86rem;color:#274668}
.e88a-chat-controls textarea{flex:1;min-width:210px;margin:0!important;min-height:62px;resize:vertical}
.e88a-chat-controls button{flex:0 0 auto;margin-bottom:3px}
.e88a-chat-status{padding:0 18px 14px;font-size:.82rem;color:#426286;min-height:1em}
.e88a-chat-suggestions{display:flex;flex-wrap:wrap;gap:9px;margin:4px 0 8px;max-width:100%}
.e88a-chat-suggestions strong{font-size:.84rem;color:#244268;width:100%}
.e88a-chat-suggestion{border:1px solid #1f58bb;background:white;color:#164795;border-radius:12px;padding:10px 12px;text-align:left;font-weight:750;cursor:pointer;font:inherit}
.e88a-chat-suggestion:hover,.e88a-chat-suggestion:focus-visible{background:#e6eeff;outline:2px solid #2056bf;outline-offset:1px}
@media(max-width:640px){.e88a-chat-controls{flex-direction:column;align-items:stretch}.e88a-chat-controls textarea{width:100%;min-width:0}.e88a-chat-controls button{width:100%}.e88a-chat-log{max-height:350px}.e88a-chat-msg{max-width:100%}}

.e88a-chat-ai{display:flex;align-items:center;gap:8px;padding:0 18px 12px;font-size:.84rem;font-weight:600;color:#274668;cursor:pointer}.e88a-chat-ai input{width:18px;height:18px;accent-color:#225ad0}.e88a-chat-ai:has(input:disabled){opacity:.65;cursor:default}

/* E88A6: inicio sugerido, privacidad y resiliencia conversacional */
.e88a-chat-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 18px 13px}
.e88a-chat-examples span{font-size:.83rem;color:#516680;width:100%;font-weight:650}
.e88a-chat-examples button{font:inherit;font-size:.83rem;background:#fff;border:1px solid #b7cdef;border-radius:40px;padding:7px 12px;color:#204c9d;cursor:pointer;text-align:left}
.e88a-chat-examples button:hover,.e88a-chat-examples button:focus-visible{background:#e8f0ff;outline:2px solid #2256bf;outline-offset:2px}
#e88a-chat-safety{margin:0 18px 10px}
.e88a-chat-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:1px 18px 8px;color:#54687c;font-size:.82rem}
.e88a-chat-clear{font:inherit;color:#2053a6;text-decoration:underline;background:none;border:0;cursor:pointer;font-weight:700;padding:6px}
.e88a-chat-clear:focus-visible{outline:3px solid #2256bf;outline-offset:2px}
.e88a-chat-controls button:disabled{opacity:.6;cursor:progress}
.e88a-step[hidden],.e88a-danger[hidden]{display:none!important}
@media(max-width:600px){.e88a-chat-tools{flex-wrap:wrap}.e88a-chat-examples button{flex:1 1 auto}}

/* E88A7 · aclaración del traspaso y visibilidad de foco */
.e88a-chat-suggestion:focus-visible,.e88a-chat-clear:focus-visible,.e88a-help:focus-visible{outline:3px solid #1d61c8;outline-offset:3px}
