/* JASON — notification badge on the station hologram + executive panel inside his popup (station materials & tokens). */
.jx-badge { position: absolute; top: 4%; right: 18%; z-index: 7; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 15px; border: 2px solid #021210;
  background: var(--amber); color: #1a0d00; font: 700 15px/26px var(--f-ui); cursor: pointer; pointer-events: auto; box-shadow: 0 0 0 3px rgba(255,181,71,.25), 0 6px 18px rgba(0,0,0,.6);
  animation: jxPop .35s cubic-bezier(.2,1.4,.4,1) both; }
.jx-badge.crit { background: var(--red); color: #fff; box-shadow: 0 0 0 3px rgba(255,93,115,.3), 0 0 18px rgba(255,93,115,.55); }
.jx-badge[hidden] { display: none; }
.jx-badge:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
@keyframes jxPop { from { transform: scale(.4); opacity: 0; } }
#ms-badge.crit { background: var(--red); color: #fff; }
@media (prefers-reduced-motion: reduce) { .jx-badge { animation: none; } }

.jx-panel { margin: 14px 0 18px; }
.jx-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 10px; }
.jx-counts { color: var(--dim); font-size: 14px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: baseline; } .jx-counts b { color: var(--ink); } .jx-counts b.crit { color: var(--red); } .jx-counts b.imp { color: var(--amber); }
.jx-ctl { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.jx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.jx-card { background: linear-gradient(180deg, rgba(10,24,22,.88), rgba(2,8,8,.92)); border: 1px solid rgba(39,230,193,.22); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.jx-card h4 { margin: 0 0 8px; font: 600 13px var(--f-ui); letter-spacing: .14em; color: var(--c); }
.jx-notifs { grid-column: 1 / -1; }
.jx-needs { border-color: rgba(255,181,71,.35); }
.jx-clear { color: var(--mint); margin: 4px 0; }
.jx-err { color: var(--red); font-size: 13px; }
.jx-act { border-top: 1px solid rgba(255,255,255,.07); padding: 8px 0; } .jx-act:first-child { border-top: 0; }
.jx-act b { display: block; color: var(--ink); } .jx-act p { margin: 4px 0; font-size: 14px; }
.jx-act-b, .jx-n-b { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.jx-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.jx-filters button { background: none; border: 1px solid rgba(39,230,193,.25); color: var(--dim); border-radius: 999px; padding: 4px 12px; font: 600 12px var(--f-ui); letter-spacing: .08em; cursor: pointer; }
.jx-filters button[aria-selected="true"] { color: #021210; background: var(--c); border-color: var(--c); }
.jx-filters input { flex: 1; min-width: 140px; background: rgba(0,0,0,.45); border: 1px solid rgba(39,230,193,.22); border-radius: 8px; padding: 6px 10px; color: var(--ink); }
.jx-list { max-height: 46vh; overflow: auto; overscroll-behavior: contain; }
.jx-n { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: start; padding: 8px 2px; border-top: 1px solid rgba(255,255,255,.06); }
.jx-n:first-child { border-top: 0; }
.jx-n b { color: var(--ink); font-weight: 600; } .jx-n b em { color: var(--dim); font-style: normal; font-weight: 400; }
.jx-n p { margin: 3px 0; font-size: 14px; color: var(--dim); overflow-wrap: anywhere; }
.jx-n small { color: var(--mute); }
.jx-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--blue); }
.jx-n.important .jx-dot { background: var(--amber); } .jx-n.critical .jx-dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.jx-n:not(.unread) { opacity: .72; } .jx-n.unread b { color: #fff; }
.jx-t { width: 100%; border-collapse: collapse; font-size: 13px; display: block; overflow-x: auto; }
.jx-t th, .jx-t td { text-align: right; padding: 4px 6px; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.06); }
.jx-t th:first-child, .jx-t td:first-child { text-align: left; }
.jx-t th { color: var(--dim); font-weight: 600; } .jx-t td.warn, .jx-t tr.paused td { color: var(--amber); }
.jx-budget { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; }
.jx-budget select, .jx-budget input { background: rgba(0,0,0,.45); border: 1px solid rgba(39,230,193,.22); border-radius: 7px; padding: 5px 8px; color: var(--ink); }
.jx-login { display: grid; gap: 8px; max-width: 420px; }
.jx-login input { background: rgba(0,0,0,.5); border: 1px solid rgba(39,230,193,.3); border-radius: 8px; padding: 10px; color: var(--ink); }
.jx-card .ok { color: var(--mint); } .jx-card .warn { color: var(--amber); } .jx-card .bad { color: var(--red); }
@media (max-width: 600px) { .jx-ctl { margin-left: 0; } .jx-list { max-height: none; } }
/* typed chat with Jason (owner 2026-11-18) */
.jx-chat { grid-column: 1 / -1; }
.jx-chat-log { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin: 6px 0 8px; font-size: 13px; line-height: 1.45; }
.jx-m { padding: 7px 10px; border-radius: 8px; max-width: 92%; }
.jx-m.me { align-self: flex-end; background: rgba(120, 200, 255, .14); }
.jx-m.jason { align-self: flex-start; background: rgba(255, 255, 255, .06); }
.jx-m.jason b { font-size: 11px; letter-spacing: .08em; opacity: .75; margin-right: 4px; }
.jx-chat-f { display: flex; gap: 6px; }
.jx-chat-f input { flex: 1; min-width: 0; padding: 7px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.35); color: inherit; font: inherit; }
