.rt-health { margin-bottom: 20px; scroll-margin-top: 20px; }
.rt-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rt-heading h2 { font-size: 20px; margin: 0; }
.rt-message { margin: 16px 0; color: var(--muted); }
.rt-message[data-error="true"] { color: var(--danger); }
.rt-providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rt-provider { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); min-width: 0; }
.rt-provider h3 { font-size: 17px; margin: 0 0 5px; }
.rt-provider p { overflow-wrap: anywhere; }
.rt-route, .rt-time, .rt-history, .rt-note { color: var(--muted); font-size: 12px; }
.rt-state { display: inline-block; margin: 14px 6px 10px 0; padding: 4px 9px; border-radius: 6px; background: #272727; color: var(--warn); font-weight: 700; }
.rt-state[data-status="credit_exhausted"], .rt-state[data-status="auth_error"] { color: #ff9494; background: #462c2c; }
.rt-state[data-status="available"] { color: #8ee5c6; background: #254139; }
.rt-stale { display: inline-block; color: var(--warn); font-size: 12px; }
.rt-balance { font-size: 24px; font-weight: 750; margin: 5px 0 !important; }
.rt-uses { font-size: 12px; margin: 12px 0 !important; color: var(--text); }
.rt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.rt-actions a, .rt-home { color: var(--text); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 7px; padding: 8px 12px; display: inline-block; }
.rt-actions a:first-child { background: #086d57; border-color: #218a70; }
.rt-actions a:hover, .rt-home:hover { filter: brightness(1.2); text-decoration: underline; }
.rt-actions a:focus-visible, .rt-home:focus-visible { outline: 2px solid #8ee5c6; outline-offset: 3px; }
.rt-history { margin-top: 12px; }
.rt-history summary { cursor: pointer; padding: 4px 0; }
.rt-history ul { padding-left: 18px; }
.rt-history li { margin: 7px 0; }
.rt-note { margin: 16px 0 12px !important; line-height: 1.7; }
@media (max-width: 640px) {
  .rt-providers { grid-template-columns: 1fr; }
  .rt-heading { align-items: flex-start; flex-direction: column; }
  .rt-heading button { width: 100%; }
}
