.comm{--c-blue:#3165cd;--c-ink:#213a4c;border:1px solid #d9e3eb;border-radius:20px;background:#fff;overflow:hidden;color:var(--c-ink)}
.comm-toolbar{display:flex;align-items:center;gap:20px;padding:17px 24px;border-bottom:1px solid #e0e8ed;font-size:12px;min-height:70px}.comm-tag{display:flex;align-items:center;gap:9px;font-weight:600}.comm-tag>i{width:7px;height:7px;background:#488779;border-radius:50%}.comm-kind{color:#74838d;font-size:11px;margin-left:auto}.comm-controls{display:flex;align-items:center;gap:8px}.comm-controls button{border:1px solid #d4dfe6;background:#fff;color:#244458;border-radius:6px;min-height:35px;padding:7px 12px;font-size:12px;cursor:pointer}.comm-controls button:hover{background:#eff5f8}.comm-controls button:disabled{opacity:.45;cursor:default}.comm-status{font-size:11px;color:#647b8a;min-width:52px}.comm-cinema{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);height:580px;background:#f1f5f8}.comm-viewport{position:relative;overflow:hidden;min-width:0;padding:30px 22px;background:radial-gradient(ellipse at 90% 10%,#e2edf6,transparent 65%),linear-gradient(140deg,#edf3f7,#e8f0ee)}.comm-camera{height:100%;width:100%;transition:transform var(--camera-time,500ms) cubic-bezier(.2,.7,.2,1);transform-origin:45% 35%;will-change:transform}.comm-window{height:100%;position:relative;border:1px solid #d7e1e8;border-radius:13px;box-shadow:0 12px 28px #173a5212;background:#fbfcfe;overflow:hidden}.comm-contact{height:66px;border-bottom:1px solid #e0e6eb;display:flex;align-items:center;gap:11px;padding:12px 18px;background:white}.comm-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#dbe7f8;font-size:11px;color:#36649b;font-weight:700}.comm-contact strong{display:block;font-size:13px}.comm-contact small{display:block;font-size:10px;color:#81909c;margin-top:4px}.comm-language{margin-left:auto;text-align:right;font-size:9px;color:#748392}.comm-language b{font-size:11px;color:#38526a;display:block;margin-top:4px}.comm-language b span{background:#eff4fa;padding:3px 5px;border-radius:3px;margin-left:7px;font-size:9px}.comm-incoming{position:absolute;top:84px;left:20px;right:55px;transition:opacity var(--camera-time,500ms),filter var(--camera-time,500ms),transform var(--camera-time,500ms)}.comm-speaker{display:block;font-size:10px;color:#8192a1;margin-bottom:7px;padding:0 3px}.comm-bubble{border:1px solid #dfe6eb;border-radius:0 12px 12px 12px;padding:15px 17px;box-shadow:0 2px 4px #1a344408;background:white}.comm-bubble>p{font-size:16px;line-height:1.65;color:#253d50}.comm-bubble small{display:block;font-size:9px;color:#93a1ac;margin-top:10px}.comm-original{border-top:1px solid #e2e8ee;margin-top:10px;padding-top:10px}.comm-original>span,.comm-saved-draft>span{font-size:9px;color:#8397a7;letter-spacing:.04em}.comm-original p{font-size:11px;color:#708494;line-height:1.65;margin-top:3px}.comm-receiving{display:flex;align-items:center;gap:8px;margin:12px 5px;font-size:12px;color:#3769b5}.comm-receiving b{margin-left:auto;font-size:10px;color:#6a829e;font-weight:500}.comm-spark{color:#4878cf;font-size:20px}.comm-dots{letter-spacing:3px;font-size:18px;animation:comm-pulse 1.2s infinite}.comm-compose{position:absolute;bottom:17px;left:17px;right:17px;padding:13px;background:white;border:1px solid #dfe7ee;border-radius:11px;transition:opacity var(--camera-time,500ms),box-shadow var(--camera-time,500ms),transform var(--camera-time,500ms)}.comm-compose-label{display:flex;justify-content:space-between;font-size:9px;color:#8195a5;margin-bottom:10px}.comm-compose-field{display:flex;align-items:center;gap:10px;min-height:48px}.comm-draft{font-size:14px;line-height:1.8;flex:1;min-height:50px;color:#344e64}.comm-paperclip{color:#8aa0b4;font-size:18px;align-self:flex-start}.comm-send{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#dce7f8;color:#5f8ac9;font-size:19px;flex-shrink:0}.comm-compose>small{font-size:9px;color:#8598a8;display:block;margin-top:7px}.comm-outgoing{position:absolute;top:285px;left:78px;right:20px;transition:transform var(--camera-time,500ms),opacity var(--camera-time,500ms)}.comm-outgoing .comm-speaker{text-align:right}.comm-bubble.outbound{background:#e4f2ea;border-color:#c5e2d1;border-radius:12px 0 12px 12px}.comm-outgoing .comm-bubble>p{font-size:14px;line-height:1.65}.comm-saved-draft{margin-top:9px;border-top:1px solid #cbded2;padding-top:8px}.comm-saved-draft p{font-size:11px;color:#5c7d6e;line-height:1.6;margin-top:3px}.comm-bridge{position:absolute;left:32px;right:32px;top:205px;padding:24px;border:1px solid #bfd3f0;box-shadow:0 16px 32px #29558b18;border-radius:13px;background:#fff;display:flex;align-items:flex-start;gap:12px;z-index:2}.comm-bridge strong{font-size:16px;font-weight:600}.comm-bridge p{font-size:12px;color:#768a9a;margin:7px 0 16px}.comm-bridge>div>span{display:flex;gap:12px;align-items:center;font-size:13px;color:#3969ad}.comm-bridge>.comm-dots{margin-left:auto}.comm-route{width:70px;height:2px;background:#d9e5f6;overflow:hidden;display:inline-block;position:relative}.comm-route i{display:block;position:absolute;width:22px;height:2px;background:#487bd7;animation:comm-route 1.3s infinite}.comm-focus-label{position:absolute;bottom:12px;left:25px;font-size:10px;letter-spacing:.06em;color:#6c8495}.comm-narration{padding:40px 32px;display:flex;flex-direction:column;justify-content:center;background:#fff;border-left:1px solid #dfe8ee;z-index:3}.comm-step-number{color:#8ca0ae;font-size:11px;letter-spacing:.15em;margin-bottom:22px}.comm-role{align-self:flex-start;font-size:10px;border-radius:4px;padding:5px 8px;background:#e9f2f9;color:#37678f;margin-bottom:17px}.comm-narration h3{font-size:27px;font-weight:600;line-height:1.4;letter-spacing:-.035em}.comm-explanation{font-size:14px;line-height:1.9;color:#63798a;margin-top:18px}.comm-key{border-top:1px solid #e1e9ee;margin-top:28px;padding-top:22px}.comm-key-label{font-size:10px;color:#8194a1}.comm-key p{font-size:13px;line-height:1.9;color:#315d7c;margin-top:7px}.comm-track{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #dae5ed}.comm-track>span{position:relative;padding:19px 20px;font-size:12px;color:#8394a1;border-right:1px solid #e5ecf1}.comm-track>span:last-child{border:0}.comm-track b{font-size:10px;margin-right:10px;font-weight:500}.comm-track>span.active{color:#3064b8;background:#f6f9fd}.comm-track>span>i{position:absolute;left:0;top:0;width:var(--progress,0%);height:3px;background:#497dd2}.comm-disclosure{padding:14px 24px;background:#f9fbfc;border-top:1px solid #e4ebef;font-size:10px;line-height:1.8;color:#83939e}.comm-static{list-style:none;padding:10px 28px;margin:0}.comm-static li{display:flex;gap:20px;padding:28px 0;border-bottom:1px solid #e4eaef}.comm-static li:last-child{border:0}.comm-static li>span{font-size:11px;color:#8aa0b2;padding-top:5px}.comm-static h3{font-size:19px;margin-bottom:15px}.comm-static p,.comm-static blockquote{font-size:14px;line-height:1.8}.comm-static blockquote{background:#edf5f1;border-left:3px solid #a2cbb7;margin:15px 0;padding:12px 16px}.comm-static small{display:block;font-size:12px;color:#7d91a0;margin-top:12px}
.comm[data-camera=arrival] .comm-compose,.comm[data-camera=receiving] .comm-compose,.comm[data-camera=understood] .comm-compose{opacity:.27}
.comm[data-camera=receiving] .comm-camera,.comm[data-camera=understood] .comm-camera{transform:translate(16px,28px) scale(1.08)}
.comm[data-phase=understood] .inbound{box-shadow:0 0 0 3px #8eb0e733,0 8px 22px #31588815;border-color:#b4cceb}
.comm[data-camera=drafting] .comm-camera{transform:translate(0,-35px) scale(1.06);transform-origin:50% 90%}
.comm[data-camera=drafting] .comm-incoming{opacity:.24;filter:blur(.4px)}
.comm[data-camera=drafting] .comm-compose{box-shadow:0 0 0 3px #92b4e83b,0 10px 24px #295d8b18;border-color:#aac6ed;transform:translateY(-38px)}
.comm[data-phase=drafting] .comm-send{background:#2d65ca;color:white}
.comm[data-phase=drafting] .comm-draft::after{content:"";display:inline-block;width:1px;height:15px;background:#4676c8;vertical-align:middle;animation:comm-pulse .8s infinite}
.comm[data-camera=translating] .comm-incoming{opacity:.22}.comm[data-camera=translating] .comm-compose{opacity:.7}
.comm[data-camera=sending] .comm-incoming{opacity:.25}.comm[data-camera=sending] .comm-outgoing{transform:translateY(-95px)}.comm[data-camera=sending] .comm-camera{transform:scale(1.04)}
.comm[data-phase=complete] .comm-bubble>p{font-size:14px}.comm[data-camera=complete] .comm-outgoing{top:285px}.comm[data-phase=complete] .comm-original p{font-size:11px}
.comm[data-running=false] *{animation-play-state:paused!important}
.comm-review{padding:48px 0 60px}.comm-review .section-head{margin-bottom:28px}.comm-review .section-head h1{font-size:40px}.comm-review .eyebrow{margin-bottom:14px}
@keyframes comm-pulse{50%{opacity:.3}}@keyframes comm-route{from{left:-22px}to{left:70px}}
@media(max-width:1000px) and (min-width:701px){.comm-cinema{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);height:620px}.comm-viewport{padding:25px 14px}.comm-incoming{left:16px;right:20px}.comm-outgoing{left:34px;right:16px;top:310px}.comm-narration{padding:28px 24px}.comm-narration h3{font-size:24px}.comm-bubble>p{font-size:14px}.comm[data-camera=complete] .comm-outgoing{top:310px}.comm-original p{font-size:10px}}
@media(max-width:700px){.comm{border-radius:14px}.comm-toolbar{padding:13px 15px;gap:8px;flex-wrap:wrap;min-height:84px}.comm-tag{font-size:11px}.comm-kind{font-size:9px}.comm-controls{width:100%;justify-content:flex-end}.comm-status{margin-right:auto;font-size:10px}.comm-controls button{font-size:11px;min-height:32px;padding:5px 10px}.comm-cinema{display:flex;flex-direction:column;height:auto}.comm-viewport{padding:18px 10px 24px;height:520px;flex-shrink:0;order:1}.comm-narration{order:0;min-height:187px;height:187px;padding:18px 20px 16px;border-left:0;border-bottom:1px solid #dce6ec;justify-content:flex-start;position:relative}.comm-step-number{font-size:9px;margin-bottom:10px}.comm-role{position:absolute;right:18px;top:15px;font-size:9px;margin:0;padding:4px 7px}.comm-narration h3{font-size:22px;line-height:1.4}.comm-explanation{font-size:12px;line-height:1.85;margin-top:9px}.comm-key{display:none}.comm-contact{padding:10px;height:60px;gap:8px}.comm-avatar{width:28px;height:28px;font-size:9px;border-radius:8px}.comm-contact strong{font-size:11px}.comm-contact small{font-size:8px}.comm-language{font-size:8px}.comm-language b{font-size:9px}.comm-incoming{top:75px;left:12px;right:18px}.comm-bubble{padding:12px 13px}.comm-bubble>p{font-size:15px;line-height:1.7}.comm-original p{font-size:11px;line-height:1.7}.comm-original>span{font-size:9px}.comm-compose{left:11px;right:11px;bottom:15px;padding:12px}.comm-draft{font-size:14px;line-height:1.8;min-height:75px}.comm-compose-label{font-size:8px}.comm-compose-field{gap:7px}.comm-paperclip{display:none}.comm-send{width:25px;height:28px}.comm-compose>small{font-size:8px}.comm-receiving{font-size:10px;gap:5px}.comm-receiving b{font-size:9px}.comm-outgoing{left:28px;right:12px;top:270px}.comm-outgoing .comm-bubble>p{font-size:13px;line-height:1.7}.comm-saved-draft{margin-top:6px;padding-top:5px}.comm-saved-draft p{font-size:10px}.comm-bridge{left:13px;right:13px;top:190px;padding:20px 15px;gap:8px}.comm-bridge strong{font-size:14px}.comm-bridge p{font-size:11px}.comm-bridge>div>span{font-size:12px}.comm-focus-label{font-size:9px;left:15px;bottom:6px}.comm-track>span{font-size:10px;padding:13px 8px;text-align:center}.comm-track b{display:none}.comm-disclosure{font-size:9px;padding:12px 16px}.comm[data-camera=receiving] .comm-camera,.comm[data-camera=understood] .comm-camera{transform:translateY(16px) scale(1.02);transform-origin:50% 20%}.comm[data-camera=drafting] .comm-camera{transform:translateY(-15px) scale(1.02);transform-origin:50% 85%}.comm[data-camera=drafting] .comm-compose{transform:translateY(-70px)}.comm[data-camera=sending] .comm-camera{transform:none}.comm[data-camera=sending] .comm-outgoing{transform:translateY(-100px)}.comm[data-camera=complete] .comm-incoming{top:71px}.comm[data-camera=complete] .comm-outgoing{top:258px}.comm[data-phase=complete] .comm-bubble>p{font-size:12px;line-height:1.7}.comm[data-phase=complete] .comm-original{padding-top:6px;margin-top:6px}.comm[data-phase=complete] .comm-original p{font-size:10px}.comm[data-phase=complete] .comm-speaker{font-size:9px}.comm-static{padding:0 18px}.comm-static li{gap:12px}.comm-static h3{font-size:16px}.comm-static p,.comm-static blockquote{font-size:13px}.comm-review{padding:30px 0 40px}.comm-review .section-head h1{font-size:29px}.comm-review .section-head>p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.comm *{animation:none!important;transition:none!important}}
.comm-bubble mark{background:#e8f0fc;color:inherit;padding:1px 2px;border-radius:3px;box-decoration-break:clone}.comm-bubble.outbound mark{background:#cfe8d9}

@media(max-width:700px){.comm-viewport{height:480px}.comm-narration{height:165px;min-height:165px}.comm-saved-draft{display:none}}
.comm[data-phase=arrival] .inbound{animation:comm-message-in .4s cubic-bezier(.16,1,.3,1) both;border-color:#a9c7e7;box-shadow:0 0 0 3px #7ca7d51c,0 6px 18px #31588812}.comm[data-phase=understood] .comm-original{animation:comm-arrive .25s both}.comm[data-phase=translating] .comm-bridge{animation:comm-arrive .25s both}.comm[data-phase=sending] .outbound{animation:comm-arrive .25s both}@keyframes comm-arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:700px){html[lang=en] .comm-narration{height:190px;min-height:190px}html[lang=en] .comm-narration h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.comm *{animation:none!important;transition:none!important}}

@media(max-width:700px){.comm{--camera-time:550ms}}

/* Establish the conversation before the first message; sending framing unchanged. */
.comm[data-camera=opening] .comm-camera{transform:translateY(4px) scale(.97)}
.comm[data-camera=opening] .comm-contact{background:#f2f7fd;box-shadow:0 2px 10px #3165cd10}
.comm[data-camera=opening] .comm-compose{opacity:.27}

/* A complete incoming message arrives; never depict remote typing or streaming. */
.comm-incoming>.comm-speaker{position:relative}
.comm-new-message{position:absolute;right:0;top:-3px;border-radius:9px;padding:2px 7px;background:#e5effb;color:#346aa6;font-size:9px;line-height:1.3;font-weight:500}
@keyframes comm-message-in{from{opacity:0;transform:translate(-18px,24px) scale(.96)}to{opacity:1;transform:translate(0,0) scale(1)}}
