.chat-showcase{padding:64px 0;background:linear-gradient(120deg,#edf6ff,#f7faff 60%,#eaf3ff)}.chat-showcase-grid{display:grid;grid-template-columns:1fr .85fr;gap:80px;align-items:center}.chat-showcase h2{font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.12;margin-bottom:20px}.chat-showcase p{color:var(--ink-soft);max-width:500px}.chat-showcase-note{display:block;margin-top:15px;font-size:.8rem;color:var(--muted)}.chat-preview{padding:26px;border:1px solid #d7e7fc;background:rgba(255,255,255,.85);border-radius:25px;box-shadow:0 20px 60px #163e8010;transform:rotate(-1deg)}.chat-preview-title{display:flex;gap:13px;align-items:center;margin-bottom:25px}.chat-preview-title strong{display:block;font-size:1rem}.chat-preview-title small{display:block;color:var(--muted);font-size:.75rem}.sira-orb{flex-shrink:0;display:grid;place-items:center;width:43px;height:43px;border-radius:15px;color:#fff;font-size:27px;background:radial-gradient(at 25% 20%,#4bd7f5,transparent 70%),linear-gradient(135deg,#0b83ed,#053a91);box-shadow:inset 0 0 0 1px #ffffff50,0 5px 15px #0066bb25}.chat-preview .preview-bubble{padding:14px 17px;background:#eef5fd;border-radius:3px 15px 15px 15px;font-size:.9rem;max-width:90%;margin-bottom:15px}.preview-question{display:block;margin:0 0 15px auto;border:0;border-radius:15px 3px 15px 15px;padding:13px 17px;color:white;background:#0756b5;font:inherit;font-size:.85rem;cursor:pointer}.preview-topics{display:flex;gap:9px;flex-wrap:wrap}.preview-topics button{font:inherit;font-size:.75rem;color:#0756b5;background:white;padding:8px 12px;border:1px solid #c8dff7;border-radius:30px;cursor:pointer}.sira-chat-launcher{position:fixed;right:26px;bottom:24px;z-index:1100;display:flex;align-items:center;gap:11px;padding:15px 18px;border:1px solid #ffffff65;border-radius:20px 20px 5px 20px;color:white;background:linear-gradient(135deg,#073978,#066ac7);box-shadow:0 12px 35px #00337535;cursor:pointer;font:inherit;font-size:.88rem;font-weight:700}.sira-chat-launcher svg{width:23px;height:23px}.launcher-spark{font-size:19px;color:#8adfff;margin-left:7px}.sira-chat{position:fixed;inset:auto 24px 24px auto;margin:0;padding:0;width:430px;max-width:calc(100vw - 32px);height:710px;max-height:calc(100dvh - 40px);border:1px solid #d5e5f7;border-radius:25px;color:var(--ink);background:#f7faff;box-shadow:0 30px 100px #001d5050;overflow:hidden;font-family:var(--font)}.sira-chat[open]{display:flex;flex-direction:column}.sira-chat::backdrop{background:#0016382b;backdrop-filter:blur(2px)}.sira-chat-header{display:flex;gap:12px;align-items:center;padding:22px 20px;color:white;background:radial-gradient(ellipse at 5% -40%,#127edb80,transparent 75%),#032859;flex-shrink:0}.sira-chat-header .sira-orb{width:44px;height:44px;background:linear-gradient(135deg,#1789df80,#42bff150);border:1px solid #ffffff25;box-shadow:none}.sira-chat-identity{flex:1;min-width:0}.sira-chat-header h2{font-size:1.05rem;font-weight:750;letter-spacing:-.02em;margin:0 0 5px;color:white}.sira-chat-header p{font-size:.7rem;color:#b8d3ee;margin:0;line-height:1.4}.chat-icon-button{display:grid;place-items:center;width:31px;height:34px;border:1px solid #ffffff25;border-radius:10px;background:#ffffff09;color:#dcecff;cursor:pointer;font:inherit;font-size:23px;flex-shrink:0}.chat-icon-button:hover{background:#ffffff22}.chat-scope{padding:10px 20px;color:#526d8f;background:#edf4fc;border-bottom:1px solid #e1eaf6;font-size:.7rem;display:flex;align-items:center;gap:8px;flex-shrink:0}.chat-scope span{color:#0b78ca;font-size:16px}.sira-chat-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:24px 21px;scrollbar-width:thin;scrollbar-color:#c5d9ed transparent}.chat-welcome{margin-bottom:22px}.chat-eyebrow{font-size:.64rem;font-weight:750;letter-spacing:.07em;color:#3174b7;text-transform:uppercase}.chat-welcome h3{font-size:2rem;line-height:1.13;margin:12px 0}.chat-welcome p{font-size:.82rem;color:var(--muted);max-width:300px;margin-bottom:0}.chat-topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.chat-topic-grid button{display:flex;align-items:center;text-align:left;gap:9px;border:1px solid #dce8f5;background:#fff;color:#25466b;border-radius:12px;padding:13px 10px;font:inherit;font-size:.72rem;font-weight:650;cursor:pointer;min-height:50px;transition:background .2s,border-color .2s}.chat-topic-grid button:hover{border-color:#84b9ef;background:#edf6ff}.chat-topic-grid button span{font-size:19px;color:#0873c8;width:21px;text-align:center;flex-shrink:0}.chat-log{display:flex;flex-direction:column;gap:19px;margin-top:23px}.chat-log:empty{margin:0}.chat-message{display:flex;flex-direction:column;gap:5px;max-width:94%}.chat-message.user{align-self:flex-end;align-items:flex-end;max-width:88%}.chat-message-label{font-size:.62rem;color:#7b8ba0;font-weight:650;padding:0 3px}.chat-bubble{font-size:.82rem;line-height:1.7;padding:15px 16px;background:#fff;border:1px solid #e0eaf6;border-radius:4px 17px 17px 17px;overflow-wrap:anywhere;white-space:pre-line}.user .chat-bubble{background:linear-gradient(130deg,#0756b5,#096fcb);color:white;border:0;border-radius:17px 4px 17px 17px}.chat-action{display:block;margin-top:12px;padding-top:11px;border-top:1px solid #e6edf6;color:#0564b8;font-size:.75rem;font-weight:750;text-decoration:none;line-height:1.5}.chat-action:hover{text-decoration:underline}.chat-handoff-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px 9px;background:white;border-top:1px solid #e5edf6;flex-shrink:0}.chat-handoff-bar span{font-size:.63rem;color:#73859d}.chat-handoff-bar button{padding:4px 0;border:0;background:transparent;color:#0756b5;font:inherit;font-size:.7rem;font-weight:750;cursor:pointer;white-space:nowrap}.sira-chat-composer{display:flex;align-items:center;gap:9px;margin:0;padding:4px 15px 6px;background:white;flex-shrink:0}.sira-chat-composer textarea{resize:none;border:1px solid #dce7f4;border-radius:13px;padding:12px 13px;font:inherit;font-size:.81rem;line-height:1.5;color:var(--ink);background:#f8fbff;min-width:0;flex:1;max-height:90px}.sira-chat-composer button{width:43px;height:43px;display:grid;place-items:center;border:0;border-radius:13px;color:white;background:#0756b5;cursor:pointer;flex-shrink:0}.sira-chat-composer button:disabled{opacity:.45;cursor:wait}.sira-chat-composer button svg{width:23px;height:23px}.chat-footer-note{font-size:.6rem;text-align:center;color:#7b8ca3;padding:5px 10px 13px;background:white;flex-shrink:0}.chat-clarifications{display:flex;flex-direction:column;gap:7px;margin-top:13px}.chat-clarifications button{font:inherit;font-size:.75rem;text-align:left;padding:9px;color:#0756b5;background:#f3f8ff;border:1px solid #d4e4f8;border-radius:9px;cursor:pointer}.sira-chat-launcher:focus-visible,.sira-chat button:focus-visible,.sira-chat a:focus-visible{outline:3px solid #0ca8e8;outline-offset:3px}@media(max-width:780px){.chat-showcase-grid{grid-template-columns:1fr;gap:35px}.chat-showcase{padding:45px 0}.chat-preview{transform:none}.sira-chat-launcher{right:16px;bottom:16px;padding:13px 15px}.sira-chat{inset:auto 10px 10px auto;width:430px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}.sira-chat-header{padding:18px 16px}.sira-chat-scroll{padding:20px 16px}}@media(max-width:430px){.sira-chat{width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;border:0;border-radius:0}.sira-chat-header{padding-top:max(16px,env(safe-area-inset-top))}.chat-footer-note{padding-bottom:max(13px,env(safe-area-inset-bottom))}.chat-topic-grid button{font-size:.7rem}.chat-handoff-bar{padding-inline:16px}.sira-chat-launcher .launcher-spark{display:none}}@media(prefers-reduced-motion:reduce){.sira-chat-scroll{scroll-behavior:auto}}

/* Identidad de cada participante: color, alineación y etiqueta explícitos. */
.sira-chat .chat-message.assistant{align-self:flex-start;align-items:flex-start}
.sira-chat .chat-message.assistant .chat-message-label{color:#1c5a91;font-weight:750}
.sira-chat .chat-message.assistant .chat-bubble{background:#e6f2ff;color:#123b60;border:1px solid #bad8f5;border-left:3px solid #1683ce;box-shadow:0 3px 9px #0756b508}
.sira-chat .chat-message.assistant .chat-action{color:#064f95;border-top-color:#bad8f5}
.sira-chat .chat-message.user{align-self:flex-end;align-items:flex-end}
.sira-chat .chat-message.user .chat-message-label{color:#43556f;font-weight:750}
.sira-chat .chat-message.user .chat-bubble{background:#05356d;color:#fff;border:1px solid #05356d;box-shadow:0 4px 12px #05356d15}
.chat-preview .preview-bubble{background:#e6f2ff;color:#123b60;border-left:3px solid #1683ce}
.chat-preview .preview-question{background:#05356d;color:#fff}
