:root{--background:#e9eef9;--foreground:#193050;--card:#fff;--card-foreground:#193050;--popover:#fff;--popover-foreground:#193050;--primary:#3266d5;--primary-foreground:#fff;--secondary:#eaf1ff;--secondary-foreground:#193050;--muted:#eef2fa;--muted-foreground:#667894;--accent:#dbe7ff;--accent-foreground:#193050;--destructive:#d44c56;--border:#d5deee;--input:#d5deee;--ring:#3266d5;--radius:.75rem}
@theme inline{--color-background:var(--background);--color-foreground:var(--foreground);--color-primary:var(--primary);--color-border:var(--border);--font-sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body{margin:0;color:#193050;font-family:Arial,Helvetica,sans-serif;background:radial-gradient(circle at 10% 10%,#f7d9e9,transparent 34%),radial-gradient(circle at 90% 85%,#c9d9ff,transparent 38%),#e9eef9}.app-shell{min-height:100dvh;display:grid;place-items:center;padding:28px}.chat-window{width:min(1120px,100%);height:min(760px,calc(100dvh - 56px));min-height:520px;display:flex;flex-direction:column;border:1px solid #8ba9dc;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 28px 70px #2c47794d,0 3px 0 #ffffffaa inset}.titlebar{height:68px;flex:none;display:flex;align-items:center;gap:12px;padding:0 20px;background:linear-gradient(105deg,#2456b5,#5281dd 58%,#829eed);color:white;border-bottom:1px solid #3a6bc8}.brand-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff88;background:#ffffff25;border-radius:12px}.brand{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:18px;letter-spacing:-.03em}.brand span{font-size:12px;color:#e3edff}.title-actions{margin-left:auto;display:flex;gap:8px}.window-dot{width:13px;height:13px;border:1px solid #fff9;background:#fff7;border-radius:4px}.window-dot.close{background:#ef7e9a}.window-content{display:grid;grid-template-columns:270px minmax(0,1fr);flex:1;min-height:0}.contacts{display:flex;flex-direction:column;background:linear-gradient(#eef4ff,#e4edfb);border-right:1px solid #cbdaef;padding:26px 16px 18px}.side-heading{display:flex;justify-content:space-between;margin:0 10px 20px;color:#61779d;font-size:12px;font-weight:800;letter-spacing:.11em}.side-heading span{letter-spacing:0}.contact{display:flex;align-items:center;gap:11px;padding:12px 10px;border-radius:12px}.contact.active{background:#fff;box-shadow:0 2px 10px #829ac633}.avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:linear-gradient(135deg,#ef95ac,#b879ce);color:white;font-size:21px;font-weight:bold}.contact-text{min-width:0;display:flex;flex-direction:column;gap:4px}.contact-text strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-text small{font-size:12px;color:#7588a5}.presence{width:9px;height:9px;flex:none;border-radius:50%;background:#b5c2d8;margin-left:auto}.presence.is-online{background:#42ba7a}.side-note{margin:32px 8px 0;padding:18px;background:#d9e7ff;border:1px solid #bfd4fc;border-radius:14px}.side-note strong{font-size:15px}.side-note p{font-size:13px;line-height:1.45;color:#4f6489}.side-note button{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;border:1px solid #a7bfe7;background:#fff;color:#2853a3;padding:10px;border-radius:9px;font-size:13px;font-weight:bold;cursor:pointer}.side-footer{margin-top:auto;padding:12px;color:#6b80a1;font-size:12px}.conversation{display:flex;flex-direction:column;min-height:0;background:#fbfcff}.conversation-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 30px;border-bottom:1px solid #e5eaf4;background:#fff}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:bold;color:#7290c7}.conversation-head h1{font-size:23px;line-height:1.1;margin:6px 0 5px;letter-spacing:-.035em}.conversation-head p{margin:0;color:#7688a5;font-size:13px}.video-button{display:flex;align-items:center;gap:9px;border:1px solid #c9d9f4;background:#edf3ff;color:#2759bc;border-radius:10px;padding:11px 15px;font-weight:bold;font-size:14px;cursor:pointer}.video-button:disabled{opacity:.5;cursor:not-allowed}.message-list{overflow:auto;flex:1;padding:24px 30px;display:flex;flex-direction:column;gap:14px}.welcome{text-align:center;margin:auto auto 35px;color:#627696;max-width:300px}.welcome-mark{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 14px;border-radius:18px;background:#e8efff;color:#3f6dd0}.welcome h2{font-size:18px;color:#27456f;margin:0 0 8px}.welcome p{font-size:14px;line-height:1.5;margin:0}.message{max-width:78%;align-self:flex-start}.message.mine{align-self:flex-end}.message-meta{font-size:12px;color:#8190aa;margin:0 5px 5px}.mine .message-meta{text-align:right}.bubble{padding:12px 16px;background:#eef3fc;border:1px solid #e0e9f8;border-radius:15px 15px 15px 4px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.45}.mine .bubble{background:#3969ce;border-color:#3969ce;color:#fff;border-radius:15px 15px 4px 15px}.composer{display:flex;gap:10px;padding:18px 24px;border-top:1px solid #e2e9f3;background:#fff}.composer input{flex:1;min-width:0;border:1px solid #ced9ed;border-radius:11px;background:#f7f9fe;padding:13px 16px;font-size:16px;outline:none}.composer input:focus,.name-card input:focus{border-color:#5684e2;box-shadow:0 0 0 3px #9bbcff55}.composer button{width:47px;border:0;border-radius:11px;background:#3969ce;color:white;display:grid;place-items:center;cursor:pointer}.composer button:disabled{opacity:.5;cursor:not-allowed}.error,.call-status{padding:9px 25px;background:#fff2f2;color:#9d3446;font-size:13px}.call-status{background:#e8f1ff;color:#2454aa}.overlay{position:fixed;inset:0;display:grid;place-items:center;background:#142d58aa;backdrop-filter:blur(5px);padding:20px}.name-card{width:min(400px,100%);background:white;border:1px solid #d4e1f8;border-radius:18px;box-shadow:0 30px 80px #172d5e55;padding:30px;display:flex;flex-direction:column}.name-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e8efff;color:#3969ce}.name-card h2{font-size:24px;line-height:1.15;letter-spacing:-.04em;margin:20px 0 9px}.name-card p{color:#637897;font-size:14px;line-height:1.5;margin:0 0 24px}.name-card label{font-size:14px;font-weight:bold;margin-bottom:8px}.name-card input{border:1px solid #cbd8ec;border-radius:9px;padding:12px;font-size:16px;outline:none}.name-card button{border:0;border-radius:9px;background:#3969ce;color:white;padding:13px;font-size:15px;font-weight:bold;margin-top:14px;cursor:pointer}.name-card button:disabled{opacity:.5}.video-panel{position:fixed;right:24px;bottom:24px;width:min(500px,calc(100vw - 30px));background:#172a49;color:#fff;border:1px solid #668bd4;border-radius:17px;box-shadow:0 24px 70px #07162c99;overflow:hidden;z-index:2}.video-top,.video-controls{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;font-size:14px;font-weight:bold}.video-top button,.video-controls button{border:0;background:#ffffff20;color:#fff;border-radius:8px;padding:9px;cursor:pointer}.video-stage{position:relative;aspect-ratio:16/10;background:#0c1729;display:grid;place-items:center}.video-stage>video:first-child{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:1}.video-placeholder{font-size:14px;color:#b8c9e8}.local-video{position:absolute;z-index:2;right:12px;bottom:12px;width:28%;aspect-ratio:4/3;object-fit:cover;border:2px solid white;border-radius:8px;background:#263d64}.video-controls{justify-content:center;gap:12px}.video-controls button{display:flex;align-items:center;gap:7px;font-size:13px}.video-controls .hangup{background:#c94c5b}@media(max-width:700px){.app-shell{padding:0}.chat-window{height:100dvh;min-height:0;border:0;border-radius:0}.titlebar{height:60px}.window-content{display:block;position:relative}.contacts{display:block;padding:8px 12px;border-right:0;border-bottom:1px solid #d9e3f3}.side-heading,.side-note,.side-footer{display:none}.contact{padding:4px 8px;box-shadow:none!important;background:transparent!important}.avatar{width:32px;height:32px;font-size:16px}.conversation{height:calc(100% - 50px)}.conversation-head{padding:12px 17px}.conversation-head h1{font-size:19px}.conversation-head .eyebrow{display:none}.video-button span{display:none}.message-list{padding:16px}.composer{padding:10px}.video-panel{right:8px;bottom:8px}}
[hidden]{display:none!important}button{font-family:inherit}button:focus-visible,input:focus-visible{outline:3px solid #83a9fb;outline-offset:2px}.message-list{scroll-behavior:smooth}.brand-icon,.welcome-mark,.name-icon{font-size:26px;font-weight:bold}
