.rx-tg-history{border-color:#315557!important;background:radial-gradient(ellipse at 95% 0,#1e4b3f77,transparent 50%),linear-gradient(135deg,#112830,#0d1b22)!important;color:#e1efe8;min-width:0;overflow:hidden}.rx-tg-history [hidden]{display:none!important}.rx-tg-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.rx-tg-history-heading h3{font-size:24px;letter-spacing:-.05em;margin:6px 0 4px}.rx-tg-history-heading p{font-size:12px;color:#9ebbb4;margin:0}.rx-tg-history-eyebrow{color:#8ed6c2;font-size:9px;font-weight:800;letter-spacing:.18em}.rx-tg-history-status{white-space:pre-line;color:#a4d9c5;font-size:12px;min-height:18px;line-height:1.5;overflow-wrap:anywhere}.rx-tg-history .error{color:#efb39c}.rx-tg-history-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;border-top:1px solid #33544d;padding:16px 0;margin-top:15px}.rx-tg-history-steps>div{display:flex;gap:10px;align-items:flex-start}.rx-tg-history-steps b{font-size:10px;color:#74ba9e;border:1px solid #3c6c56;border-radius:5px;padding:4px 7px;background:#17392c}.rx-tg-history-steps span{font-size:12px;font-weight:700;color:#cceddd}.rx-tg-history-steps small{display:block;font-size:10px;font-weight:400;color:#96b5a9;margin-top:3px}.rx-tg-history-agent{border:1px solid #35564d;border-radius:10px;background:#102b2380;padding:12px 15px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;align-items:center}.rx-tg-history-indicator{font-size:10px;color:#d6cca2;border:1px solid #6e6342;background:#332d1c;padding:4px 7px;border-radius:20px}.rx-tg-history-agent[data-state=configured] .rx-tg-history-indicator{color:#aff2d2;border-color:#3e7f62;background:#183c2a}.rx-tg-history-agent strong{font-size:12px}.rx-tg-history-agent small{grid-column:1/-1;color:#94b3a7;font-size:10px}.rx-tg-history-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0}.rx-tg-history-counts>div{padding:12px;border:1px solid #2c4b47;border-radius:9px;background:#0c1e20}.rx-tg-history-counts strong{display:block;color:#d1f7e2;font-size:23px;font-variant-numeric:tabular-nums;line-height:1.2;letter-spacing:-.045em}.rx-tg-history-counts span{display:block;font-size:9px;letter-spacing:.04em;color:#96b5ab;margin-top:5px}.rx-tg-history-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rx-tg-balance{padding:14px;border:1px solid #3d5e52;border-radius:9px;background:linear-gradient(125deg,#1b3b2e,#112322);min-width:0}.rx-tg-balance-source{display:block;font-size:11px;color:#bad7c7;overflow-wrap:anywhere}.rx-tg-balance strong{display:block;font-size:24px;color:#d3ffe2;letter-spacing:-.04em;margin:6px 0;overflow-wrap:anywhere}.rx-tg-balance small{display:block;font-size:10px;color:#91b4a1;line-height:1.5}.rx-tg-history-empty{font-size:12px;color:#94b1a6;grid-column:1/-1;padding:12px 0;margin:0}.rx-tg-history-section{border-top:1px solid #355347;margin-top:18px;padding-top:15px}.rx-tg-history-section>summary{cursor:pointer;color:#c9e6d6;font-size:13px;font-weight:700;padding:3px 0}.rx-tg-history-section[open]>summary{margin-bottom:15px}.rx-tg-history-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rx-tg-history label{display:grid;gap:6px;font-size:11px;color:#abcabc}.rx-tg-history input:not([type=checkbox]),.rx-tg-history textarea{background:#091a20;color:#dff4e8;border:1px solid #3b5b52;border-radius:8px;padding:10px;min-width:0;font:inherit;box-sizing:border-box;width:100%}.rx-tg-history textarea{resize:vertical;line-height:1.55}.rx-tg-history input::placeholder,.rx-tg-history textarea::placeholder{color:#6c9584}.rx-tg-history label>small{font-size:10px;color:#88aa99;line-height:1.6}.rx-tg-history-check{display:flex!important;align-items:center;gap:9px!important;grid-column:1/-1}.rx-tg-history-check input{width:16px;height:16px;accent-color:#9be4bc}.rx-tg-history-wide{grid-column:1/-1}.rx-tg-history-config>button{justify-self:start}.rx-tg-history-local{margin-top:20px;border:1px solid #3d5e50;border-radius:10px;background:#0e2622;padding:16px}.rx-tg-history-local h4{font-size:13px;color:#c4ead6;margin:0 0 10px}.rx-tg-history-local ol{margin:0;padding-left:18px;color:#a2beae;font-size:12px;line-height:1.7}.rx-tg-history-local li{padding:3px 0}.rx-tg-history-local p{font-size:11px;color:#92b09e;line-height:1.7}.rx-tg-history-command{padding:12px;margin:12px 0;border:1px solid #3d574d;border-radius:7px;background:#071815;font:11px/1.8 ui-monospace,monospace;color:#b1d4bd;overflow-wrap:anywhere}.rx-tg-history-messages{display:grid;gap:11px;max-height:700px;overflow:auto;overscroll-behavior:contain}.rx-tg-message{border:1px solid #355348;border-radius:10px;background:#0c201c;padding:14px}.rx-tg-message-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.rx-tg-message-heading strong{font-size:12px;color:#c3e9d5;overflow-wrap:anywhere}.rx-tg-message-heading time{font-size:10px;color:#8ead9c;white-space:nowrap}.rx-tg-message-excerpt{font-size:12px;color:#adc8b8;white-space:pre-line;line-height:1.6;margin:9px 0;overflow-wrap:anywhere}.rx-tg-message-meta{display:flex;flex-wrap:wrap;gap:6px}.rx-tg-message-meta span{font-size:9px;color:#8eb69f;border:1px solid #315443;padding:3px 6px;border-radius:5px}.rx-tg-message-meta .rx-tg-review-badge{color:#dfc58c;border-color:#6d5c37;background:#312b1c}.rx-tg-event{margin-top:12px;padding-top:12px;border-top:1px solid #2b4c3b}.rx-tg-event strong{font-size:12px;color:#c5e6d1;display:block}.rx-tg-event small{font-size:10px;color:#94b49f;display:block;margin-top:3px}.rx-tg-review-form{margin-top:10px;display:grid;gap:8px}.rx-tg-review-controls{display:flex;gap:9px;flex-wrap:wrap}.rx-tg-review-controls .btn{padding:7px 10px!important;font-size:11px!important}.rx-tg-history-limitations{font-size:10px;line-height:1.7;color:#92b19f;margin:17px 0 0;padding-left:17px}.rx-tg-history :is(button,input,textarea,summary,a):focus-visible{outline:2px solid #9ce8c1;outline-offset:3px}.rx-tg-history button:disabled{cursor:wait;opacity:.5}.rx-tg-history .btn{transition:background .15s,transform .15s}.rx-tg-history .btn:hover:enabled{transform:translateY(-1px)}
.rx-tg-history-bridge{padding:10px 12px;border:1px solid #625638;border-radius:8px;color:#dac89d;background:#302b1c66;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.rx-tg-history-bridge[data-state=connected]{border-color:#3d6d56;color:#a6debc;background:#18392566}.rx-tg-history a{color:#b0ebd0;text-underline-offset:3px}.rx-tg-history-pagination{margin-top:12px}.rx-tg-history-pagination .rx-tg-history-status{font-size:10px;color:#92b19f}.rx-tg-review-form .rx-tg-history-status:empty{display:none}
@media(max-width:1000px){.rx-tg-history-balances{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-tg-history-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.rx-tg-history-heading{flex-direction:column;gap:12px}.rx-tg-history-heading h3{font-size:21px}.rx-tg-history-steps{grid-template-columns:1fr;gap:13px}.rx-tg-history-agent{grid-template-columns:1fr;justify-items:start}.rx-tg-history-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-tg-history-balances,.rx-tg-history-config{grid-template-columns:1fr}.rx-tg-history input:not([type=checkbox]),.rx-tg-history textarea{font-size:16px}.rx-tg-message-heading{flex-direction:column;gap:3px}.rx-tg-history-local{padding:13px}.rx-tg-history-config>button{justify-self:stretch}.rx-tg-history-command{font-size:10px}.rx-tg-history-local .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.rx-tg-history *{transition:none!important;scroll-behavior:auto!important}}
.rx-tg-history-local code{font-size:11px;color:#c3efd4;overflow-wrap:anywhere}.rx-tg-attachment{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 0;font-size:11px;color:#b7d8c5}.rx-tg-attachment>span{overflow-wrap:anywhere;flex:1;min-width:120px}.rx-tg-attachment small{color:#8aaa97}.rx-tg-attachment .btn{padding:6px 9px!important;font-size:10px!important}.rx-tg-transcription{margin-top:13px;padding-top:12px;border-top:1px solid #355348}.rx-tg-transcription>summary{font-size:11px;color:#a3cbb4;cursor:pointer}.rx-tg-transcription select{background:#091a20;color:#dff4e8;border:1px solid #3b5b52;border-radius:8px;padding:10px;width:100%;box-sizing:border-box;font:inherit}.rx-tg-transcription .rx-tg-review-form{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-tg-transcription .rx-tg-history-status{grid-column:1/-1}@media(max-width:650px){.rx-tg-transcription .rx-tg-review-form{grid-template-columns:1fr}.rx-tg-transcription select{font-size:16px}}
