/* Thông báo hết token (khách). Dải ghim dưới thanh tiêu đề (sticky) ở mọi mục + thẻ lớn ở Tổng quan. */
.token-alert-bar{position:sticky;top:76px;z-index:24;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:10px 28px;background:#b42318;color:#fff;font-size:14px;line-height:1.45;box-shadow:0 6px 18px rgb(0 0 0 / .22)}
.token-alert-bar.token-alert-warning{background:#b54708}
.token-alert-text{min-width:0}
.token-alert-text strong{font-weight:800}
.token-alert-cta{flex-shrink:0;background:#fff;color:#b42318;font-weight:800;border-radius:9px;padding:7px 13px;text-decoration:none;white-space:nowrap}
.token-alert-warning .token-alert-cta{color:#b54708}
.token-alert-cta:hover,.token-alert-cta:focus-visible{outline:2px solid #fff;outline-offset:2px}
.token-alert-card{border:2px solid #d92d20;border-radius:16px;padding:20px 22px;margin:0 0 22px;
  background:color-mix(in srgb,#d92d20 12%,var(--surface,#fff));color:var(--text,#111);animation:token-alert-pulse 2.4s ease-in-out infinite}
.token-alert-card.token-alert-warning{border-color:#dc6803;background:color-mix(in srgb,#dc6803 12%,var(--surface,#fff));animation:none}
.token-alert-card-head{display:flex;gap:14px;align-items:flex-start}
.token-alert-card h3{margin:0 0 4px;font-size:20px;letter-spacing:-.01em}
.token-alert-card p{margin:0;color:var(--text,#111);font-size:14px}
.token-alert-icon{flex-shrink:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#d92d20;color:#fff;font-weight:900;font-size:22px}
.token-alert-warning .token-alert-icon{background:#dc6803}
.token-alert-facts{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 10px}
.token-alert-fact{background:var(--surface,#fff);border:1px solid var(--line,#ddd);border-radius:11px;padding:8px 12px;min-width:140px}
.token-alert-fact small{display:block;color:var(--muted,#666);font-size:11.5px}
.token-alert-fact b{font-size:17px}
.token-alert-machines{margin:4px 0 12px;padding-left:18px;font-size:12.5px;color:var(--muted,#555)}
.token-alert-machines li{margin:2px 0}
.token-alert-card-cta{display:inline-block;text-decoration:none}
@keyframes token-alert-pulse{0%,100%{box-shadow:0 0 0 0 rgb(217 45 32 / .35)}50%{box-shadow:0 0 0 8px rgb(217 45 32 / 0)}}
@media (prefers-reduced-motion:reduce){.token-alert-card{animation:none}}
@media (max-width:760px){.token-alert-bar{position:relative;top:auto;padding:9px 14px;flex-direction:column;align-items:flex-start;font-size:13px}}
/* Nhãn hết lượt trong bảng thiết bị: gọn như các nhãn trạng thái khác. */
.health-state.quota-refill{font-size:11px;padding:2px 7px;text-decoration:none;white-space:nowrap}
.health-state.quota-refill:hover{text-decoration:underline}
