.akch{z-index:60;font:inherit;position:fixed;bottom:1rem;right:1rem}.akch-launch,.akch-form button[type=submit],.akch-actions button,.akch-contact button,.akch-tabs button{border-radius:var(--radius,.5rem);border:1px solid var(--brand,#111);background:var(--brand,#111);min-height:44px;color:var(--on-brand,#fff);cursor:pointer;font:inherit;padding:.5rem 1rem}.akch-launch{border-radius:999px;position:relative;box-shadow:0 4px 16px #0003}.akch-launch:focus-visible,.akch-panel button:focus-visible,.akch-inbox button:focus-visible{outline:3px solid var(--focus,#2563eb);outline-offset:2px}.akch-badge{background:var(--alert,#b91c1c);color:#fff;border-radius:999px;margin-left:.4rem;padding:0 .45rem;font-size:.8rem}.akch-panel{background:var(--surface,#fff);width:min(22rem,100vw - 2rem);max-height:min(32rem,100dvh - 6rem);color:var(--text,#111);border:1px solid var(--line,#ddd);border-radius:var(--radius,.75rem);flex-direction:column;display:flex;position:absolute;bottom:3.5rem;right:0;overflow:hidden;box-shadow:0 12px 40px #0004}.akch-head{background:var(--brand,#111);color:var(--on-brand,#fff);justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.akch-x{color:inherit;cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;font-size:1.5rem}.akch-log:focus-visible{outline:3px solid var(--focus,#2563eb);outline-offset:-3px}.akch-log{flex-direction:column;flex:1;gap:.5rem;min-height:8rem;padding:.75rem;display:flex;overflow:auto}.akch-msg{border-radius:var(--radius,.75rem);overflow-wrap:anywhere;white-space:pre-wrap;max-width:85%;margin:0;padding:.5rem .75rem}.akch-msg--me{background:var(--brand,#111);color:var(--on-brand,#fff);align-self:flex-end}.akch-msg--them{background:var(--soft,#f1f1f1);align-self:flex-start}.akch-msg--note{background:var(--note,#fff7d6);border:1px dashed var(--line,#bbb);color:var(--text,#111)}.akch-note,.akch-empty,.akch-reason{color:var(--muted,#555);text-align:center;margin:.25rem 0;font-size:.9rem}.akch-error{color:var(--alert,#b91c1c);margin:.25rem .75rem}.akch-form{border-top:1px solid var(--line,#ddd);flex-direction:column;gap:.5rem;padding:.75rem;display:flex}.akch-form textarea,.akch-contact input{border:1px solid var(--line,#bbb);border-radius:var(--radius,.5rem);width:100%;min-height:44px;font:inherit;resize:vertical;padding:.5rem}.akch-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.akch-link{text-decoration:underline;color:var(--brand,#111)!important;background:0 0!important;border:0!important;padding:0!important}.akch-contact{border-top:1px solid var(--line,#ddd);padding:.5rem .75rem;font-size:.9rem}.akch-contact div{gap:.5rem;margin-top:.25rem;display:flex}.akch-typing{letter-spacing:.2em}.akch-inbox{grid-template-columns:minmax(14rem,20rem) 1fr;gap:1rem;min-height:30rem;display:grid}.akch-list ul{flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.akch-list li button{text-align:left;border:1px solid var(--line,#ddd);border-radius:var(--radius,.5rem);background:var(--surface,#fff);width:100%;color:var(--text,#111);cursor:pointer;flex-direction:column;gap:.15rem;min-height:44px;padding:.6rem;display:flex}.akch-list li button.is-on{border-color:var(--brand,#111)}.akch-list small{color:var(--muted,#555);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.akch-tabs{flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem;display:flex}.akch-tabs button{background:var(--surface,#fff);color:var(--text,#111)}.akch-tabs button[aria-selected=true]{background:var(--brand,#111);color:var(--on-brand,#fff)}.akch-st{background:var(--soft,#eee);border-radius:999px;padding:.1rem .5rem;font-size:.8rem}.akch-st[data-status=waiting]{background:var(--alert,#b91c1c);color:#fff}.akch-thread{border:1px solid var(--line,#ddd);border-radius:var(--radius,.75rem);flex-direction:column;min-width:0;display:flex}.akch-thread header{border-bottom:1px solid var(--line,#ddd);padding:.75rem 1rem}.akch-thread h2{margin:0;font-size:1.1rem}@media (max-width:640px){.akch-inbox{grid-template-columns:1fr}.akch{bottom:.5rem;right:.5rem}}@media (prefers-reduced-motion:no-preference){.akch-panel{animation:.15s ease-out akch-in}@keyframes akch-in{0%{opacity:0;transform:translateY(8px)}}}
