.abnia-hub .akh-chat {display:none}
.abnia-hub .akh-chat.is-ready {display:block;color:var(--akh-ink)}
.abnia-hub .akh-chat-caption,.abnia-hub .akh-chat-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.abnia-hub .akh-chat-caption {justify-content:space-between;font-weight:700}
.abnia-hub .akh-chat [hidden] {display:none!important}
.abnia-hub .akh-chat label {display:grid;gap:.35rem;font-weight:600;margin:.65rem 0}
.abnia-hub .akh-chat textarea {box-sizing:border-box;width:100%;height:6rem;min-height:78px;resize:vertical;border:1px solid var(--akh-body);border-radius:8px;background:#fff;color:var(--akh-ink);padding:.65rem;font:inherit;font-size:16px}
.abnia-hub .akh-chat button {border:1px solid var(--akh-accent);border-radius:6px;color:var(--akh-accent);background:white;min-height:44px;padding:.35rem .85rem;font:inherit;cursor:pointer}
.abnia-hub .akh-chat button[type=submit] {background:var(--akh-action);color:#111;border-color:var(--akh-action)}
.abnia-hub .akh-chat :focus-visible {outline:3px solid var(--akh-focus);outline-offset:2px}
.abnia-hub .akh-chat [data-turns]:not(:empty) {margin-block:.55rem;border-block:1px solid var(--akh-line);max-height:55vh;overflow:auto;overscroll-behavior:contain;padding:.3rem}
.abnia-hub .akh-chat article {margin:.55rem 0 1rem;overflow-wrap:anywhere;line-height:1.7}
.abnia-hub .akh-chat .akh-question {font-weight:700;color:var(--akh-ink)}
.abnia-hub .akh-chat details {margin-block:.25rem .8rem;border-inline-start:2px solid var(--akh-accent);padding-inline-start:.65rem}
.abnia-hub .akh-chat summary {cursor:pointer;text-decoration:underline;color:var(--akh-accent);min-height:32px;padding:.25rem}
.abnia-hub .akh-chat blockquote {font:inherit;margin:.25rem 0;padding:0;border:0;color:var(--akh-body)}
.abnia-hub .akh-chat p {margin:.3rem 0}
.abnia-hub .akh-chat [data-feedback]:empty {display:none}
.abnia-hub .akh-chat.is-ready ~ .akh-form,.abnia-hub .akh-chat.is-ready ~ .akh-prompts {display:none}
.abnia-hub .akh-chat.show-search ~ .akh-form,.abnia-hub .akh-chat.show-search ~ .akh-prompts {display:flex}

.abnia-hub .akh-chat .akh-example {
    display: block; width: 100%; text-align: start; background: var(--akh-tint); color: var(--akh-ink);
    margin-block: .8rem; padding: .65rem .9rem; border: 1px solid var(--akh-line); border-radius: 12px;
}
.abnia-hub .akh-chat:has([data-turns] article) .akh-example { display: none; }
