/* 1.29.7 MyDoctor AI chat with Avni */
.ach{max-width:760px;margin:0 auto}
.ach-head{display:flex;align-items:center;gap:.8rem;margin-bottom:.6rem}
.ach-head h1{margin:0;font-size:1.4rem}.ach-head small{color:var(--muted,#5d7177)}
.ach-av{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#0d7a74;color:#fff;font-weight:800;font-size:1.2rem;flex:none}
.ach-left{margin-left:auto;font-size:.85rem;background:var(--card,#fff);border:1px solid var(--line,#dfe7ea);border-radius:999px;padding:.25rem .8rem;white-space:nowrap}
.ach-sos{background:#fdeceb;color:#7d1d16;border:1px solid #f3c2bd;border-radius:10px;padding:.5rem .8rem;font-size:.88rem;margin-bottom:.8rem}
.ach-consent ul{margin:.3rem 0 .8rem 1.1rem;padding:0}.ach-consent .check{display:block;margin:.4rem 0}
.ach-log{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.8rem}
.ach-msg{max-width:88%;padding:.6rem .85rem;border-radius:14px;line-height:1.45}
.ach-msg p{margin:.2rem 0}.ach-msg ul,.ach-msg ol{margin:.3rem 0 .3rem 1.1rem;padding:0}
.ach-msg.u{align-self:flex-end;background:#0d7a74;color:#fff;border-bottom-right-radius:4px}
.ach-msg.a{align-self:flex-start;background:var(--card,#fff);border:1px solid var(--line,#dfe7ea);border-bottom-left-radius:4px}
.ach-msg.a.sos{background:#fdeceb;border-color:#f3c2bd;color:#7d1d16;font-weight:600}
.ach-send{display:flex;gap:.5rem;align-items:flex-end;position:sticky;bottom:72px;background:var(--bg,#f4f7f8);padding:.4rem 0}
.ach-send textarea{flex:1;min-height:52px}
.ach-more{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.6rem 0}.ach-more form{margin:0}
.ach-buy{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;border:1px dashed #9fd6c8;border-radius:12px;padding:.6rem .8rem;background:#f1faf8}
.ach-buy b{display:block}.ach-buy small{color:var(--muted,#5d7177)}
.ach-out{margin-bottom:.8rem}
:root[data-theme="dark"] .ach-buy{background:#10302c;border-color:#2b6a60}
:root[data-theme="dark"] .ach-sos,:root[data-theme="dark"] .ach-msg.a.sos{background:#3a1714;border-color:#6b2a24;color:#ffd6d1}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ach-buy{background:#10302c;border-color:#2b6a60}:root:not([data-theme="light"]) .ach-sos,:root:not([data-theme="light"]) .ach-msg.a.sos{background:#3a1714;border-color:#6b2a24;color:#ffd6d1}}
