.oma{position:relative;display:flex;flex-direction:column;gap:14px;height:calc(100vh - 56px - 32px - 60px);min-height:520px;max-width:920px;margin:0 auto}.oma-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.oma-head h1{margin:0 0 4px}.oma-head p{margin:0;color:var(--om-ink-mute,#8a9890);font-size:13.5px;max-width:560px}.oma-head-actions{display:flex;align-items:center;gap:8px}.oma-head-actions .ctx-switcher{min-width:260px}.oma-list{flex:1 1;min-height:0;overflow-y:auto;gap:14px;background:#fff;border:1px solid var(--om-line,#e5e8e5);border-radius:20px;padding:22px}.oma-empty,.oma-list{display:flex;flex-direction:column}.oma-empty{margin:auto;align-items:center;gap:6px;text-align:center;color:var(--om-ink-soft,#5a6b5e);font-size:14px}.oma-empty strong{font-size:18px;color:var(--om-ink,#1b2a1f)}.oma-empty-mark{width:44px;height:44px;border-radius:14px;background:#e8faec;color:#1f7a4d;display:grid;place-items:center;font-size:22px;margin-bottom:6px}.oma-empty-note{font-size:12.5px;color:var(--om-ink-mute,#8a9890)}.oma-msg{display:flex;flex-direction:column;gap:8px;max-width:78%}.oma-user{align-self:flex-end;align-items:flex-end}.oma-assistant{align-self:flex-start;align-items:flex-start}.oma-text{white-space:pre-wrap;word-wrap:break-word;font-size:14.5px;line-height:1.55;padding:11px 15px;border-radius:18px}.oma-user .oma-text{background:#1c1e21;color:#fff;border-bottom-right-radius:6px}.oma-assistant .oma-text{background:#f4f5f3;color:var(--om-ink,#1b2a1f);border-bottom-left-radius:6px}.oma-error .oma-text{background:#fbe4e1;color:#8c2f28}.oma-attached{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.oma-thumb{width:120px;height:120px;object-fit:cover;border-radius:14px;border:1px solid var(--om-line,#e5e8e5)}.oma-file{font-size:12px;font-weight:600;padding:6px 12px;border-radius:999px;background:#f4f5f3;color:var(--om-ink-soft,#5a6b5e)}.oma-typing{display:inline-flex;gap:4px;padding:14px 16px;background:#f4f5f3;border-radius:18px;border-bottom-left-radius:6px}.oma-typing i{width:6px;height:6px;border-radius:50%;background:#9aa69d;animation:oma-dot 1.2s ease-in-out infinite}.oma-typing i:nth-child(2){animation-delay:.15s}.oma-typing i:nth-child(3){animation-delay:.3s}@keyframes oma-dot{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.oma-composer{display:flex;flex-direction:column;gap:8px}.oma-pending{display:flex;flex-wrap:wrap;gap:8px}.oma-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 8px 6px 6px;border-radius:14px;background:#fff;border:1px solid var(--om-line,#e5e8e5);max-width:260px}.oma-chip img,.oma-chip-doc{width:36px;height:36px;border-radius:10px;object-fit:cover;flex-shrink:0}.oma-chip-doc{display:grid;place-items:center;background:#f4f5f3;font-size:10px;font-weight:800;color:#5a6b5e}.oma-chip-name{display:flex;flex-direction:column;min-width:0;font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oma-chip-name small{font-weight:500;color:var(--om-ink-mute,#8a9890)}.oma-chip button{border:none;background:none;cursor:pointer;color:#8a8580;font-size:13px;padding:4px 6px;border-radius:8px}.oma-chip button:hover{background:#f1f1ef;color:#1c1e21}.oma-notice{margin:0;font-size:12.5px;font-weight:600;color:#8a6100}.oma-box{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1.5px solid #e4e7e4;border-radius:22px;padding:8px;box-shadow:0 6px 24px rgba(27,42,31,.06)}.oma-box:focus-within{border-color:#5ae98b}.oma-box textarea{flex:1 1;border:none;outline:none;resize:none;font:inherit;font-size:15px;line-height:1.45;padding:9px 4px;max-height:220px;background:transparent}.oma-box textarea:disabled{color:#8a9890}.oma-attach,.oma-send{flex-shrink:0;width:38px;height:38px;border-radius:50%;border:none;cursor:pointer;display:grid;place-items:center;font-size:19px;font-weight:700;line-height:1}.oma-attach{background:#f4f5f3;color:#5a6b5e}.oma-attach:hover{background:#e9ece9}.oma-send{background:#5ae98b;color:#0c2b18}.oma-send:disabled{background:#e9ece9;color:#a9b2ab;cursor:default}.oma-stop{background:#1c1e21;color:#fff;font-size:12px}.oma-attach:focus-visible,.oma-send:focus-visible{outline:2px solid #5ae98b;outline-offset:2px}.oma-foot{margin:0;text-align:center;font-size:11.5px;color:var(--om-ink-mute,#8a9890)}.oma-drop{position:absolute;inset:0;z-index:20;border-radius:22px;border:2px dashed #5ae98b;background:rgba(232,250,236,.86);display:grid;place-items:center;pointer-events:none}.oma-drop div{font-size:18px;font-weight:700;color:#1a3a24}@media (max-width:720px){.oma{height:calc(100vh - 56px - 32px)}.oma-msg{max-width:92%}.oma-head-actions .ctx-switcher{min-width:0}}