/* VORTEXA conversational application; a real top-layer chat on desktop and iPhone. */
.vtx-chat-dialog{border:1px solid #409be7;border-radius:23px;padding:0;margin:auto;width:min(610px,calc(100vw - 24px));height:min(730px,calc(100dvh - 34px));max-height:none;max-width:none;background:#080f2a;color:#f4f9ff;box-shadow:0 30px 110px #010410dd,0 0 35px #448eff60;overflow:hidden}
.vtx-chat-dialog::backdrop{background:#02081de8;backdrop-filter:blur(4px)}
.vtx-chat-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.vtx-chat-header{flex:none;display:flex;align-items:center;gap:11px;padding:14px 15px;background:linear-gradient(105deg,#102c61,#1e1450);border-bottom:1px solid #427cc1}
.vtx-chat-avatar{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border:2px solid #82f0ff;border-radius:50%;background:linear-gradient(135deg,#176ddd,#7737d5);box-shadow:0 0 13px #27baff9e;color:#fff;font-size:19px;font-weight:900}
.vtx-chat-heading{flex:1;min-width:0}.vtx-chat-heading h2{margin:0;font-size:20px;line-height:1.2;color:#fff}.vtx-chat-heading p{margin:4px 0 0;font-size:11px;line-height:1.3;color:#d4e7ff}
.vtx-chat-new,.vtx-chat-close{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #6d9ad9;border-radius:12px;padding:7px 11px;background:#13325e;color:white;font-size:12px;font-weight:750;cursor:pointer}
.vtx-chat-close{border-color:#9d83fc;background:#392567}
.vtx-chat-feed{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:17px 13px;display:flex;flex-direction:column;gap:13px;overscroll-behavior:contain;background:radial-gradient(circle at 50% 15%,#162a58 0%,#0b1539 53%,#080f28 100%)}
.vtx-chat-bubble{max-width:91%;align-self:flex-start;overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid #426da8;border-radius:18px 18px 18px 5px;background:#15254f;padding:12px 14px;font-size:14px;line-height:1.58;color:#f4f7ff}
.vtx-chat-user{align-self:flex-end;border:1px solid #4eafff;border-radius:18px 18px 5px 18px;background:linear-gradient(120deg,#116ba7,#483b96);color:#fff}
.vtx-chat-loading{opacity:.82;font-style:italic}.vtx-chat-error{color:#ffe0df;border-color:#b96879;background:#421a32}
.vtx-chat-bottom{flex:none;border-top:1px solid #284b78;background:#0c1b3c;padding:10px 13px max(11px,env(safe-area-inset-bottom,11px))}
.vtx-chat-status{margin:0 0 8px;font-size:11px;color:#b9d7e9}
.vtx-chat-composer{display:flex;align-items:flex-end;gap:9px;margin:0}
.vtx-chat-textarea{box-sizing:border-box;flex:1;min-width:0;resize:none;min-height:49px;max-height:120px;padding:11px 12px;border:1px solid #4b95d5;border-radius:14px;background:#06162e;color:#fff;font:inherit;font-size:16px;line-height:1.4;outline:none}
.vtx-chat-textarea::placeholder{color:#9eb7d6}.vtx-chat-textarea:focus-visible{outline:2px solid #8ef4ff;outline-offset:1px}
.vtx-chat-send{flex:0 0 82px;min-height:49px;padding:9px 10px;border:none;border-radius:14px;background:linear-gradient(120deg,#27d2f6,#6c74ff);color:#06122e;font-size:14px;font-weight:850;cursor:pointer}
.vtx-chat-send:disabled{opacity:.55;cursor:wait}
.vtx-chat-footnote{margin:9px 0 0;font-size:10px;line-height:1.4;color:#a9c5dc}
.vtx-chat-dialog button:focus-visible{outline:3px solid #a4f5ff;outline-offset:2px}
@media(max-width:740px){
.vtx-chat-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
.vtx-chat-header{padding:11px 12px;gap:9px}
.vtx-chat-heading h2{font-size:19px}.vtx-chat-heading p{font-size:10px}
.vtx-chat-new,.vtx-chat-close{padding:7px 9px;min-height:40px}
.vtx-chat-feed{padding:13px 11px;gap:10px}
.vtx-chat-bubble{max-width:93%;padding:11px 12px;font-size:15px}
.vtx-chat-bottom{padding:9px 10px max(10px,env(safe-area-inset-bottom,10px))}
.vtx-chat-composer{gap:7px}.vtx-chat-send{flex-basis:77px}
}
@media(max-width:370px){.vtx-chat-heading p{display:none}.vtx-chat-new{padding:6px}.vtx-chat-close{padding:6px}}
@media(prefers-reduced-motion:reduce){.vtx-chat-dialog::backdrop{backdrop-filter:none}}
