
.akc{padding:10px 10px 10px 12px!important}
.akc-row{display:flex;align-items:center;gap:10px}
.akc-av{width:40px;height:40px;border-radius:50%;flex:none;background:#E9F3EE}
.akc-in{flex:1;min-width:0;display:flex;align-items:center;height:46px;border-radius:23px;background:#F1EFE9;padding:0 16px;margin:0;cursor:text}
.akc-in input{flex:1;min-width:0;width:100%;border:0;background:none;font:inherit;font-size:16px;color:var(--ink,#1E1F1D);outline:none;padding:0}
.akc-in input::placeholder{color:#6B716D;opacity:1}
.akc-in:focus-within{box-shadow:0 0 0 2px #2E6B4F}
.akc-mic{flex:none;width:46px;height:46px;border-radius:50%;border:0;background:#2E6B4F;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.akc-mic svg{width:22px;height:22px}
.akc-mic:disabled{opacity:.6}
.akc-mic.rec{background:#2E6B4F;animation:akcPulse 1.4s ease-in-out infinite}
@keyframes akcPulse{0%,100%{box-shadow:0 0 0 0 rgba(46,107,79,.5)}50%{box-shadow:0 0 0 9px rgba(46,107,79,0)}}
/* Live words while talking (Nov 12 2026): wraps and follows the newest words */
.akc-live{font-size:16px;line-height:1.4;color:var(--ink,#1E1F1D);background:#F1EFE9;border-radius:16px;padding:10px 14px;margin:10px 0 0;max-height:7.2em;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.akc-live.empty{color:#6B716D}
.akcs-live{margin:0 12px 0}
:root[data-theme="dark"] .akc-live{background:#25302A;color:#F2EEE4}:root[data-theme="dark"] .akc-live.empty{color:#9AA39D}
@media (prefers-reduced-motion:reduce){.akc-mic.rec{animation:none}}
.akc.listening .akc-in{box-shadow:0 0 0 2px #2E6B4F}
.akc-out{font-size:14.5px;line-height:1.4;color:#2E6B4F;padding:8px 4px 2px 52px}
.akc-out.say{color:var(--ink,#1E1F1D)}
.akc-out.err{color:#B03A2E}
.akc-out.lim{color:var(--ink,#1E1F1D)}
.akc-out.think{color:#6B716D}
.akc-left{color:#8A6D1E;font-weight:600}
.akc-undo{border:0;background:none;color:#2E6B4F;font:inherit;font-weight:800;padding:6px 4px;margin-left:2px;cursor:pointer;text-decoration:underline}
.akc-cta{display:inline-block;margin-top:6px;background:#2E6B4F;color:#fff!important;font-weight:800;border-radius:10px;padding:8px 14px;text-decoration:none}
.akc-dots{display:inline-flex;gap:3px;vertical-align:middle;margin-right:4px}
.akc-dots i{width:6px;height:6px;border-radius:50%;background:#2E6B4F;animation:akcDot 1s infinite ease-in-out}
.akc-dots i:nth-child(2){animation-delay:.15s}.akc-dots i:nth-child(3){animation-delay:.3s}
@keyframes akcDot{0%,80%,100%{opacity:.25}40%{opacity:1}}
@media (max-width:380px){.akc-out{padding-left:4px}}
:root[data-theme="dark"] .akc-in{background:#26302A}
:root[data-theme="dark"] .akc-in input::placeholder{color:#9AA39D}
:root[data-theme="dark"] .akc-out,:root[data-theme="dark"] .akc-undo{color:#7FC9A2}
:root[data-theme="dark"] .akc-out.say,:root[data-theme="dark"] .akc-out.lim{color:var(--ink)}
:root[data-theme="dark"] .akc-out.err{color:#F0897D}
:root[data-theme="dark"] .akc-out.think{color:#9AA39D}
:root[data-theme="dark"] .akc-dots i{background:#7FC9A2}
:root[data-theme="dark"] .akc-left{color:#E3C27A}
/* Karl conversation (Nov 12 2026): the card shows only Karl's latest answer
   (3 lines max); "See all" opens the whole conversation full screen. */
.akc-txt{white-space:pre-line}
.akc-out.say .akc-txt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.akc-open{display:table;border:0;background:none;color:#2E6B4F;font:inherit;font-size:15px;font-weight:800;padding:8px 0 4px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.akc-sheet{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;background:#F7F6F2;color:#1E1F1D}
.akc-sheet[hidden]{display:none}
.akcs-top{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:#fff;border-bottom:1px solid rgba(30,31,29,.1)}
.akcs-top img{width:40px;height:40px;border-radius:50%;background:#E9F3EE}
.akcs-top b{flex:1;font-size:19px}
.akcs-new,.akcs-x{border:0;font:inherit;font-weight:800;cursor:pointer;min-height:44px;border-radius:22px}
.akcs-new{background:#EDF5F0;color:#1F4E3A;padding:0 16px;font-size:15px}
.akcs-x{width:44px;background:#F1EFE9;color:#1E1F1D;font-size:20px;line-height:1}
.akcs-log{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 12px 8px;display:flex;flex-direction:column;gap:10px}
.akcs-m{max-width:86%;padding:11px 14px;border-radius:18px;font-size:16px;line-height:1.45;white-space:pre-line;word-wrap:break-word}
.akcs-m.me{align-self:flex-end;background:#2E6B4F;color:#fff;border-bottom-right-radius:6px}
.akcs-m.karl{align-self:flex-start;background:#fff;color:#1E1F1D;border:1px solid rgba(30,31,29,.08);border-bottom-left-radius:6px}
.akcs-m.err{color:#B03A2E}
.akcs-m .akc-cta{white-space:normal}
.akcs-empty{margin:auto;text-align:center;color:#5E635F;font-size:16px;max-width:280px}
.akcs-bar{display:flex;align-items:center;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid rgba(30,31,29,.1)}
:root[data-theme="dark"] .akc-open{color:#7FC9A2}
:root[data-theme="dark"] .akc-sheet{background:#0F1512;color:#F2F4F1}
:root[data-theme="dark"] .akcs-top,:root[data-theme="dark"] .akcs-bar{background:#17201B;border-color:rgba(255,255,255,.1)}
:root[data-theme="dark"] .akcs-new{background:#22332A;color:#BFE6CF}
:root[data-theme="dark"] .akcs-x{background:#26302A;color:#F2F4F1}
:root[data-theme="dark"] .akcs-m.karl{background:#1B2620;color:#F2F4F1;border-color:rgba(255,255,255,.08)}
:root[data-theme="dark"] .akcs-m.err{color:#F0897D}
:root[data-theme="dark"] .akcs-empty{color:#AEB6B0}
