.ec-app{max-width:880px;margin:0 auto;padding:30px 18px 52px;color:#24313f}.ec-head{text-align:center;margin:0 auto 22px}.ec-kicker,.ec-step{display:inline-block;font-size:12px;letter-spacing:.08em;color:#758092}.ec-head h1{font-size:clamp(32px,6vw,48px);margin:8px 0 4px;letter-spacing:.06em;color:#4e6073}.ec-tagline,.ec-subtitle,.ec-muted{color:#687689;line-height:1.65}.ec-card,.ec-chat{background:rgba(255,255,255,.9);border:1px solid #dce5ec;border-radius:22px;box-shadow:0 16px 38px rgba(43,74,100,.08);padding:clamp(20px,4vw,36px)}.ec-setup-card h2{margin:9px 0 5px;font-size:27px;color:#374c62}.ec-quote{margin:25px 0 4px;padding:18px;border-radius:15px;background:#eff8fa;color:#6092a1;text-align:center;font-size:18px}.ec-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.ec-primary,.ec-quiet-button,.ec-text-button{border:0;cursor:pointer;font:inherit}.ec-primary{background:#637e9a;color:#fff;padding:11px 18px;border-radius:12px;box-shadow:0 5px 12px rgba(73,101,130,.18)}.ec-quiet-button{background:#edf2f5;color:#405870;padding:10px 14px;border-radius:11px}.ec-text-button{background:transparent;color:#6385a8;padding:5px 3px;text-align:left}.ec-field{display:flex;flex-direction:column;gap:7px;margin:19px 0}.ec-input,.ec-textarea,.ec-chat-input{box-sizing:border-box;width:100%;border:1px solid #cbd8e1;border-radius:12px;background:#fbfdff;padding:11px 12px;color:#263746;font:inherit;outline:none}.ec-input:focus,.ec-textarea:focus,.ec-chat-input:focus{border-color:#719bc3;box-shadow:0 0 0 3px rgba(111,155,195,.16)}.ec-count{align-self:flex-end;color:#8795a6}.ec-avatar-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:16px}.ec-avatar-choice{display:flex;flex-direction:column;align-items:center;gap:5px;padding:15px;border:1px dashed #c9d7df;border-radius:15px;text-align:center}.ec-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#dcebed}.ec-avatar-fallback{display:grid;place-items:center;color:#537083;font-weight:700}.ec-inline-actions{display:flex;gap:12px;align-items:center}.ec-material{padding:16px 0;border-top:1px solid #e3ebf0}.ec-material-title{font-size:18px;font-weight:700}.ec-file{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #edf1f4}.ec-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ec-file-meta{color:#8493a3;font-size:13px}.ec-thumb{width:38px;height:38px;border-radius:9px;object-fit:cover}.ec-empty{color:#8493a3;font-size:14px}.ec-privacy{border-left:3px solid #c6d8d8;padding:8px 12px;background:#f4f9f8;color:#5f7174;line-height:1.65}.ec-summary{padding-left:20px;line-height:2;color:#536a80}.ec-generating{padding:18px;border-radius:12px;background:#eef5fa;color:#52718d}.ec-success{padding:18px;border-radius:12px;background:#edf8f2;color:#4d8568}.ec-dialog{width:min(600px,calc(100vw - 34px));border:0;border-radius:20px;padding:25px;box-shadow:0 24px 70px rgba(21,39,54,.26)}.ec-dialog::backdrop{background:rgba(25,38,51,.35)}.ec-dialog h2{margin-top:0}.ec-sample{overflow:auto;padding:13px;border-radius:11px;background:#f0f5f6;white-space:pre-wrap;color:#465769;line-height:1.65}.ec-chat{padding:0;overflow:hidden}.ec-chat-head{display:flex;gap:10px;align-items:center;padding:14px 16px;border-bottom:1px solid #e4ecf0;background:#f8fbfc}.ec-chat-head strong{flex:1}.ec-messages{min-height:320px;padding:18px;background:linear-gradient(180deg,#f6fafb,#eef4f5)}.ec-message{display:flex;gap:8px;margin:10px 0;max-width:82%}.ec-message.mine{margin-left:auto;justify-content:flex-end}.ec-message.system{margin:13px auto;max-width:100%;justify-content:center}.ec-bubble{margin:0;padding:10px 12px;border-radius:14px;background:#fff;box-shadow:0 2px 6px rgba(43,72,91,.07);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.ec-message.mine .ec-bubble{background:#dcefed}.ec-message.system .ec-bubble{background:transparent;box-shadow:none;color:#7c8792;font-size:13px}.ec-more{padding:10px 16px;border-top:1px solid #e4ecf0;color:#617c94}.ec-more summary{cursor:pointer}.ec-more button{display:block;margin:8px 0}.ec-composer{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px 16px 6px;border-top:1px solid #e4ecf0}.ec-composer .ec-count{grid-column:1}.ec-composer .ec-primary{grid-column:2;grid-row:1/3;align-self:end}.ec-chat>.ec-privacy,.ec-chat>.ec-quiet-button,.ec-chat>.zm-status{margin:8px 16px 14px}.ec-app .zm-status{line-height:1.5}@media(max-width:620px){.ec-app{padding:20px 12px 35px}.ec-card{border-radius:17px;padding:20px}.ec-avatar-grid{grid-template-columns:1fr}.ec-file{flex-wrap:wrap}.ec-file-meta{width:100%;padding-left:47px}.ec-chat-head .ec-text-button:first-child{max-width:88px}.ec-message{max-width:90%}}

/* Source chat content within the existing website card style. */
.ec-messages{position:relative;max-height:60vh;overflow-y:auto;overscroll-behavior:contain}.ec-sticker{display:block;width:128px;max-width:100%;height:128px;object-fit:contain}.ec-chat-local{display:flex;flex-wrap:wrap;gap:8px;margin:8px 16px 14px}.ec-thinking .ec-bubble{font-size:24px;line-height:1;letter-spacing:4px}.ec-primary:disabled{opacity:.55;cursor:default}.ec-chat-input{min-width:0}.ec-chat-head{flex-wrap:wrap}.ec-chat-head strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){.ec-chat-head{display:grid;grid-template-columns:auto 42px minmax(0,1fr);align-items:center}.ec-chat-head strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.ec-chat-head>.ec-text-button:last-child{grid-column:1/-1;justify-self:end;min-height:32px}}

/* Source memory navigation/voice within the existing setup card. */
.ec-memory progress{display:block;width:100%;height:7px;accent-color:#637e9a}.ec-memory-progress{display:flex;justify-content:space-between;gap:12px;margin:18px 0 8px;font-size:13px;color:#758092}.ec-memory-question{border:1px solid #e3ebf0;border-radius:15px;padding:0 16px 16px;margin-top:16px}.ec-memory-question.is-focused{border-color:#719bc3}.ec-memory-answer{min-height:150px;resize:vertical}.ec-memory-nav{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.ec-memory button:disabled{opacity:.5;cursor:default}.ec-memory-voice{border:1px solid #cbd8e1;border-radius:15px;background:#f4f9fb;margin-top:20px;padding:18px}.ec-memory-voice-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.ec-memory-voice-head strong{min-width:0;overflow-wrap:anywhere}.ec-memory-voice-state{color:#405870;line-height:1.6}.ec-memory-timer{font-variant-numeric:tabular-nums;font-size:24px;color:#4e6073}.ec-memory-transcript{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;min-height:48px;line-height:1.65;color:#405870;background:white;border-radius:10px;padding:12px}.ec-memory>.ec-inline-actions{flex-wrap:wrap;margin-top:20px}@media(max-width:620px){.ec-memory-voice-head{align-items:flex-start}.ec-memory-voice-head>.ec-text-button{flex-shrink:0}.ec-memory-question{padding:0 12px 12px}.ec-memory-voice{padding:14px}.ec-memory-nav>*{min-height:44px}}

.ec-analysis-progress{display:block;width:100%;height:8px;accent-color:#637e9a}

.ec-file-error{flex-basis:100%;color:#9a5450;overflow-wrap:anywhere}.ec-file-failed{flex-wrap:wrap}
