/* Help tickets in the admin (tickets.ts). */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.tabs .tab { padding: 6px 12px; border-radius: 999px; background: #eef1f6; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.tabs .tab.on { background: var(--indigo); color: #fff; }
.tabs .tab .n { opacity: .75; margin-left: 4px; }
.badge { display: inline-block; min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--red-ink); color: #fff; font-size: 11px; font-weight: 700; text-align: center; line-height: 16px; }
.thread { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.thread .msg { border: 1px solid #e3e7ee; border-radius: 10px; padding: 10px 12px; background: #fff; max-width: 85%; }
.thread .msg.support { align-self: flex-end; background: var(--blue-soft); border-color: var(--blue-line); }
.thread .msg .text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; margin-top: 4px; }
.thread .shot { display: block; max-width: 100%; max-height: 320px; margin-top: 8px; border: 1px solid #e3e7ee; border-radius: 6px; }
textarea[name="body"] { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid #cfd6e2; border-radius: 8px; }
.tests summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.tests table td, .tests table th { font-size: 13px; padding: 6px 8px; }
.badge[hidden] { display: none; }
/* The live alert on every admin page (admin-live.js). */
.livebar { position: sticky; top: 0; z-index: 50; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 16px; background: var(--red-ink); color: #fff; font-weight: 600; font-size: 14px; }
.livebar[hidden] { display: none; }
.livebar a { color: #fff; text-decoration: underline; }
.livebar button { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; border-radius: 6px; padding: 2px 10px; cursor: pointer; font: inherit; font-size: 13px; }
.notifbtn { font-size: 12px; }
.notifbtn[hidden] { display: none; }
