#ai-realtime-root{position:fixed;right:22px;bottom:76px;z-index:79;font-family:inherit}.ai-realtime-launch{border:1px solid #e0a05b;border-radius:999px;padding:.7rem .9rem;background:#fff8ef;color:#7c3e30;box-shadow:0 8px 22px #2d1c201c;font:650 .82rem inherit;cursor:pointer}.ai-realtime-launch:hover{background:#fff0dc}.ai-realtime-panel{position:relative;width:min(430px,calc(100vw - 28px));height:min(700px,calc(100dvh - 112px));display:grid;grid-template-rows:auto auto auto minmax(150px,1fr) auto;background:#fffdfb;border:1px solid #ead7d1;border-radius:18px;overflow:hidden;box-shadow:0 18px 60px #2d1c2030}.ai-realtime-panel>header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.05rem;background:#a65438;color:#fff}.ai-realtime-panel>header strong{font-size:1.05rem}.ai-realtime-panel>header button{border:0;background:#ffffff20;color:#fff;border-radius:50%;width:32px;height:32px;font-size:1.35rem;cursor:pointer}.rt-modes{display:flex;gap:.35rem;padding:.7rem .8rem;border-bottom:1px solid #f0e3df;overflow:auto}.rt-modes button{border:1px solid #e1c8c2;border-radius:999px;background:#fff;color:#71323a;padding:.45rem .7rem;white-space:nowrap;font:600 .75rem inherit;cursor:pointer}.rt-modes button.active{background:#f5e4e1;border-color:#a85a5f}.rt-modes button:disabled{opacity:.6}.rt-status{display:flex;align-items:center;gap:.5rem;margin:.75rem .8rem 0;padding:.65rem .75rem;border-radius:10px;background:#f5f0ec;color:#796e69;font-size:.8rem}.rt-status i{width:9px;height:9px;border-radius:50%;background:#9b8f88}.rt-status.live{background:#edf7ef;color:#2d7048}.rt-status.live i{background:#38a765;box-shadow:0 0 0 4px #38a76525}.rt-transcript{padding:.8rem .9rem;overflow:auto;display:grid;align-content:start;gap:.55rem;background:#fffaf7}.rt-message{display:block;width:100%;text-align:left;border:1px solid #eaded9;border-radius:13px;padding:.7rem .75rem;background:#fff;color:#3c3030;line-height:1.45;transition:border-color .15s,box-shadow .15s}.rt-message.user{background:#f5e4e1;border-color:#e7c8c3}.rt-message.selected{border-color:#b15d59;box-shadow:0 4px 12px #6f263015}.rt-message-label{display:block;margin-bottom:.35rem;color:#8d2f38;font-size:.72rem;font-weight:750}.rt-message-text{display:block;font-size:.91rem;white-space:normal;overflow-wrap:anywhere}.rt-word{border:0;border-radius:5px;padding:.05rem .12rem;background:transparent;color:inherit;font:inherit;cursor:pointer}.rt-word:hover,.rt-word.selected{background:#f2c9a7;color:#6e3028}.rt-message-foot{display:flex;justify-content:flex-end;margin-top:.35rem}.rt-sentence{border:0;background:transparent;color:#9a5a4d;font:650 .7rem inherit;cursor:pointer}.rt-sentence:hover{text-decoration:underline}.rt-empty{padding:1rem;color:#857a74;font-size:.86rem;line-height:1.6}.rt-empty strong{display:block;color:#5e252e;margin-bottom:.4rem}.rt-empty p{margin:0}.rt-explain{position:absolute;left:10px;right:10px;bottom:78px;z-index:3;max-height:48%;overflow:auto;margin:0;border:1px solid #e3c9c2;border-radius:13px;background:#fff8f3;box-shadow:0 14px 35px #2d1c2030}.rt-explain[hidden]{display:none}.rt-explain-head{display:flex;align-items:center;justify-content:space-between;padding:.55rem .7rem;border-bottom:1px solid #ead8d2;color:#71323a;font-size:.78rem}.rt-explain-head button{border:0;background:transparent;color:#8d6b66;font-size:1.1rem;cursor:pointer}.rt-explain-source{padding:.6rem .7rem .35rem;color:#71323a;font-weight:700;font-size:.85rem;border-bottom:1px solid #f1dfda}.rt-explain-copy{padding:.1rem .7rem .7rem;color:#544744;font-size:.8rem;line-height:1.5}.rt-lex-card{padding:.6rem .7rem}.rt-lex-line{display:grid;grid-template-columns:72px 1fr;gap:.45rem;padding:.17rem 0;font-size:.78rem;line-height:1.45}.rt-lex-line strong{color:#8d2f38}.rt-explain-empty,.rt-explain-loading,.rt-explain-error{padding:.7rem;color:#806e68;font-size:.76rem;line-height:1.45}.rt-explain-error{color:#9a3434}.rt-spinner{display:inline-block;width:11px;height:11px;margin-right:.35rem;border:2px solid #d9bdb5;border-top-color:#8d2f38;border-radius:50%;vertical-align:-2px;animation:rt-spin .8s linear infinite}@keyframes rt-spin{to{transform:rotate(360deg)}}.rt-actions{padding:.8rem;border-top:1px solid #eaded9;background:#fff}.rt-actions .button{width:100%}.rt-actions .danger{background:#7c3f3f;border-color:#7c3f3f}.rt-talk{width:100%;min-height:54px;border:0;border-radius:14px;background:#a65438;color:#fff;font:700 1rem inherit;cursor:pointer;touch-action:none;user-select:none}.rt-talk.active{background:#7c3f3f;transform:scale(.99)}@media(max-width:700px){#ai-realtime-root{right:12px;bottom:132px}.ai-realtime-launch{padding:.65rem .8rem}.ai-realtime-panel{height:min(700px,calc(100dvh - 150px))}}
#ai-realtime-root{pointer-events:auto}.ai-realtime-launch,.ai-realtime-panel button{touch-action:manipulation}.rt-actions-row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.rt-actions-row .button,.rt-mic{width:100%;min-height:46px}.rt-mic{border:1px solid #d9b8ae;border-radius:10px;background:#fff8f3;color:#71323a;font-weight:700;cursor:pointer}.rt-mic.muted{background:#f2eeee;color:#7a6965}.rt-explain{pointer-events:auto}

#ai-realtime-root{bottom:22px}#ai-realtime-root[hidden]{display:none}.ai-realtime-panel>header button[data-rt-text]{width:auto;border-radius:8px;font-size:.85rem;padding:.4rem}.ai-realtime-panel{grid-template-rows:auto auto auto minmax(0,1fr) auto}@media(max-width:700px){#ai-realtime-root{bottom:78px}}
