.ac-chat{--blue:#174b83;--edge:#d9e1ea;--ink:#203044;max-width:960px;margin:26px auto;border:1px solid var(--edge);border-radius:15px;overflow:hidden;font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:#fff;box-shadow:0 8px 32px #1736580e}.ac-chat *{box-sizing:border-box}.ac-header{background:#102d4f;color:white;padding:18px 22px;display:flex;align-items:center;gap:12px}.ac-header strong{display:block;font-size:19px}.ac-header small{display:block;color:#c6d9eb}.ac-logo{display:grid;place-items:center;background:#2b6bb3;width:38px;height:38px;border-radius:9px}.ac-header .ac-quiet{margin-left:auto;color:white;border-color:#aac4de}.ac-quiet{border:1px solid #c9d3de;border-radius:8px;background:transparent;color:#224667;padding:8px 12px;cursor:pointer}.ac-login{padding:24px;max-width:520px;margin:auto}.ac-login h3{font-size:20px;margin:0 0 8px}.ac-login p{color:#536478}.ac-login label{display:block;margin:13px 0;font-weight:600}.ac-login input,.ac-login select,.ac-compose textarea{width:100%;border:1px solid #b7c6d6;border-radius:8px;padding:11px;font:inherit;background:#fff;color:#152b42}.ac-login button,.ac-compose button{border:0;border-radius:8px;background:var(--blue);color:white;font:inherit;font-weight:650;padding:11px 18px;cursor:pointer}.ac-tools{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#f4f7fa;gap:10px;font-size:13px;color:#496079}.ac-messages{height:min(60vh,610px);min-height:350px;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:14px;background:#fafbfd}.ac-message{max-width:85%;border-radius:12px;padding:13px 16px;box-shadow:0 1px 4px #102e4a14;overflow-wrap:anywhere}.ac-user{align-self:flex-end;background:#e9f1ff}.ac-assistant{align-self:flex-start;background:#fff;border:1px solid var(--edge)}.ac-by{color:#536d85;font-size:12px;font-weight:650;margin-bottom:7px}.ac-body{white-space:pre-wrap;line-height:1.55}.ac-photo{display:block;max-width:100%;max-height:360px;border:1px solid #ccd6e0;margin-top:10px;border-radius:7px}.ac-compose{padding:14px 16px}.ac-compose textarea{resize:vertical;min-height:78px}.ac-controls{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin-top:9px}.ac-attach{cursor:pointer;color:#275d96;font-size:13px}.ac-controls span{max-width:35%;overflow-wrap:anywhere;font-size:12px;color:#526c85}.ac-compose button:disabled{opacity:.5;cursor:not-allowed}.ac-note{padding:0 16px 8px;color:#738293;font-size:12px}.ac-status{min-height:18px;padding:0 16px 12px;color:#345e84;font-size:13px}.ac-status.ac-error{color:#af2424}.ac-chat [hidden]{display:none!important}@media(max-width:650px){.ac-message{max-width:96%}.ac-header{padding:13px}.ac-messages{padding:10px;min-height:300px}.ac-header strong{font-size:16px}.ac-header small{font-size:11px}}
