:root {
  --bg: #0b1120;
  --glass: rgba(10, 16, 30, 0.16);
  --glass-work: rgba(10, 16, 30, 0.22);
  --glass-soft: rgba(8, 13, 25, 0.20);
  --line: rgba(255, 255, 255, 0.22);
  --line-soft: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-soft: #f1f5f9;
  --muted: rgba(226, 232, 240, 0.84);
  --dim: rgba(203, 213, 225, 0.62);
  --ice: #93c5fd;
  --ice-bright: #e0f2fe;
  --ok: #86efac;
  --danger: #fda4af;
  --danger-soft: rgba(244, 63, 94, 0.18);
  --mono: "CzrktPingFang", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}

#pointer-orbit, #pointer-dot, .pointer-orbit, .pointer-dot,
.czrktxyz-backdrop, .czrktxyz-scene, .czrktxyz-shade { display: none !important; }
html, body, .czrktxyz-app, .czrktxyz-app * { cursor: auto !important; }
a, a *, button, button *, [role="button"], select, label[for] { cursor: pointer !important; }
input[type="text"], input[type="password"], input[type="number"], input:not([type]) { cursor: text !important; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed !important; }

html {
  min-height: 100%;
  background: #0b1120 !important;
}
body {
  min-height: 100%;
  position: relative;
  isolation: isolate;
  background: transparent !important;
  color: var(--text);
  font: 14px/1.55 "CzrktPingFang", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.52);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #0b1120 url('assets/rei/rei-bg.jpg?v=1') center 22% / cover no-repeat;
  transform: translateZ(0);
}
.shell {
  position: relative;
  z-index: 2;
  width: min(1520px, calc(100% - 36px));
}

* { scrollbar-width: thin; scrollbar-color: rgba(186, 220, 255, 0.30) transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(186, 220, 255, 0.30); border-radius: 999px; }

.rei-brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

/* Ultra-Light Translucent Liquid Glass Topbar */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 52px;
  height: auto;
  margin-top: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(10, 16, 30, 0.14);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 10px 26px -12px rgba(2, 6, 18, 0.40);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.brand-sub {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.82);
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.top-right { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 10px; font-size: 12px; color: var(--text-soft); }
.conn-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
}
.top-right time { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.top-right .back {
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30);
  color: #ffffff; font-size: 12.5px; font-weight: 500;
}
.top-right .back:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(147, 197, 253, 0.65); }
.live-dot { height: 6px; width: 6px; border-radius: 50%; background: rgba(203, 213, 225, 0.5); }
.live-dot.online { background: var(--ok); box-shadow: 0 0 8px rgba(134, 239, 172, 0.7); }
.live-dot.offline { background: var(--danger); }

/* Ultra-Light Liquid Glass Panel */
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(7px) saturate(150%);
  -webkit-backdrop-filter: blur(7px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.06), 0 14px 36px -14px rgba(2, 6, 18, 0.42);
}

/* Login Card (tight balanced spacing on PC, crystal-clear glass!) */
.is-login-view .auth-panel {
  width: min(400px, calc(100vw - 32px));
  height: auto;
  margin: clamp(235px, 34vh, 330px) auto 40px;
  padding: 26px 26px 24px;
  border-radius: 22px;
  background: rgba(10, 16, 30, 0.16);
  backdrop-filter: blur(7px) saturate(155%);
  -webkit-backdrop-filter: blur(7px) saturate(155%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 18px 44px -14px rgba(2, 6, 18, 0.45);
  align-items: stretch;
}
.is-login-view .auth-panel h2 { font-size: 20px; font-weight: 650; text-align: left; margin: 0 0 16px; color: #ffffff; }

/* License strip */
.license-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px;
  padding: 10px 18px; margin: 14px 0 14px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(10, 16, 30, 0.18);
  backdrop-filter: blur(7px) saturate(150%); -webkit-backdrop-filter: blur(7px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.license-bar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.license-bar-left b { font-size: 13.5px; font-weight: 600; color: #ffffff; }
.license-bar small {
  display: inline-block; margin: 0; font-family: var(--mono); font-size: 11.5px;
  color: var(--ice-bright); background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(147, 197, 253, 0.30); padding: 2px 9px; border-radius: 999px;
}
.online-dot { width: 7px; height: 7px; margin: 0; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(134, 239, 172, 0.7); flex-shrink: 0; }
.btn-switch-card {
  width: auto; margin: 0; flex-shrink: 0; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
  padding: 5px 14px; font-size: 12px; color: #ffffff; background: rgba(255, 255, 255, 0.10);
}
.btn-switch-card:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(147, 197, 253, 0.65); }

/* Wide 2-Column Workspace (no excess PC margins!) */
.mj-workspace {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  align-items: start;
}
.controls { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mj-dashboard { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mj-workspace .panel {
  min-width: 0; padding: 18px 20px;
  background: var(--glass-work);
  backdrop-filter: blur(8px) saturate(155%);
  -webkit-backdrop-filter: blur(8px) saturate(155%);
}
.mj-workspace .panel h2 { margin: 0; font-size: 15.5px; font-weight: 650; color: #ffffff; white-space: nowrap; }
.mj-workspace .section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 12px; }

.pill-count {
  font-size: 11.5px; font-weight: 600; color: var(--ice-bright);
  background: rgba(96, 165, 250, 0.16); border: 1px solid rgba(147, 197, 253, 0.30);
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}

.entitlement > span { display: block; font-size: 12px; color: var(--muted); }
.entitlement strong {
  display: block; font-family: var(--mono); font-size: 20px; font-weight: 700;
  line-height: 1.35; margin: 6px 0 10px; color: #ffffff;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.quota-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; margin-bottom: 8px; }
.quota-bar-fill { height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #dbeafe); transition: width .35s ease; }
.entitlement p { font-size: 12px; color: var(--muted); margin: 0; }
.entitlement p:empty, .mission-banner:empty, #job-detail:empty { display: none; }

/* Inputs & Selects */
.controls label, .is-login-view .auth-panel label { display: block; margin: 12px 0 0; font-size: 12.5px; font-weight: 500; color: var(--text-soft); }
.controls label:first-child { margin-top: 0; }
input, select, .is-login-view .auth-panel input {
  display: block; width: 100%; margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px; padding: 10px 13px;
  background: rgba(8, 13, 25, 0.24) !important;
  color: #ffffff; font: inherit; font-size: 13.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: border-color .16s, background .16s, box-shadow .16s;
}
input::placeholder { color: rgba(226, 232, 240, 0.56); }
select {
  height: 38px; padding: 0 32px 0 12px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 11px center !important;
}
select option { background: #0f172a; color: #f8fafc; }
input:focus, select:focus {
  border-color: rgba(147, 197, 253, 0.85) !important;
  background: rgba(10, 18, 36, 0.38) !important;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18) !important;
  outline: none;
}
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled { opacity: 0.5; }
.password-wrap {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 6px;
}
.password-wrap input {
  margin-top: 0;
  padding-right: 60px;
}
.password-wrap .password-toggle {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: auto; padding: 4px 10px; margin: 0; font-size: 11.5px; line-height: 1.35;
  color: var(--text-soft); background: rgba(255, 255, 255, 0.12); border-radius: 8px;
}

/* Frosted Liquid Glass Primary Button */
.is-login-view .auth-panel button.primary, button.primary, .controls .primary {
  width: 100%; margin-top: 16px; padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 14px;
  background: linear-gradient(180deg, rgba(235, 245, 255, 0.88), rgba(191, 219, 254, 0.80)) !important;
  color: #09111f !important; font-size: 14px; font-weight: 700; text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.90), 0 8px 22px -10px rgba(96, 165, 250, 0.55) !important;
  transition: transform .14s ease, filter .14s ease;
}
.is-login-view .auth-panel button.primary:hover:not(:disabled), button.primary:hover:not(:disabled), .controls .primary:hover:not(:disabled) {
  filter: brightness(1.06); transform: translateY(-1px);
}
button.primary:disabled, .controls .primary:disabled {
  background: rgba(255, 255, 255, 0.14) !important; border-color: rgba(255, 255, 255, 0.18);
  color: var(--dim) !important; box-shadow: none !important;
}

/* Stats */
.stats { padding: 14px 18px !important; }
.stats .counters { display: grid; grid-template-columns: 1.15fr 0.95fr 1fr; gap: 12px; margin: 0; }
.stats .counters > div.stat-card {
  border-left: 0; padding: 13px 16px; border-radius: 14px;
  background: var(--glass-soft); border: 1px solid var(--line-soft); min-width: 0;
}
.stats .counters span { display: block; font-size: 12px; color: var(--muted); }
.stats .counters strong {
  display: block; margin-top: 4px; font-family: var(--mono); font-size: 26px; font-weight: 700; color: #ffffff;
  font-variant-numeric: tabular-nums; letter-spacing: -0.5px; overflow-wrap: anywhere;
}
.stats .counters strong.win-rate-value { color: var(--ok); }
.stats .counters strong.win-rate-value.is-empty { color: var(--muted); }
.stats .counters strong.status-value { font-family: inherit; font-size: 20px; font-weight: 650; color: var(--ice-bright); line-height: 1.45; }
.stats .counters small { display: block; margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }

/* Account Jobs */
.account-jobs { display: grid; gap: 8px; max-height: 390px; overflow-y: auto; padding-right: 4px; }
.account-job {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 14px;
  background: var(--glass-soft); transition: border-color .15s, background .15s;
}
.account-job:hover { border-color: rgba(255, 255, 255, 0.30); background: rgba(14, 22, 42, 0.32); }
.account-job.selected { border-color: rgba(147, 197, 253, 0.72); background: rgba(30, 58, 112, 0.26); box-shadow: inset 3px 0 0 #93c5fd; }
.account-job-main { min-width: 0; flex: 1; }
.account-job-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.account-job strong { font-size: 14px; font-weight: 650; color: #ffffff; overflow-wrap: anywhere; }
.job-state-badge {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, 0.12); color: var(--text-soft); border: 1px solid rgba(255, 255, 255, 0.18);
}
.job-state-badge.is-running { background: rgba(134, 239, 172, 0.18); color: #bbf7d0; border-color: rgba(134, 239, 172, 0.42); }
.job-state-badge.is-queued { background: rgba(147, 197, 253, 0.18); color: #dbeafe; border-color: rgba(147, 197, 253, 0.40); }
.job-state-badge.is-paused { background: rgba(251, 191, 36, 0.16); color: #fde68a; border-color: rgba(252, 211, 77, 0.40); }
.job-state-badge.is-failed { background: var(--danger-soft); color: #fecdd3; border-color: rgba(253, 164, 175, 0.38); }
.account-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 5px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.account-meta .live-timer { color: var(--ice-bright); font-family: var(--mono); font-size: 11.5px; font-style: normal; font-weight: 600; }
.account-job .account-error {
  display: block; margin-top: 6px; padding: 5px 9px; border-radius: 8px;
  background: var(--danger-soft); border: 1px solid rgba(253, 164, 175, 0.30);
  color: #fecdd3; font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere;
}
.account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex-shrink: 0; }
.account-actions button {
  width: auto; margin: 0; border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10); color: #ffffff;
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 500;
}
.account-actions button:hover:not(:disabled) { border-color: rgba(147, 197, 253, 0.75); background: rgba(96, 165, 250, 0.24); }
.account-actions button[data-action="resume"], .account-actions button[data-action="retry"] {
  background: rgba(219, 234, 254, 0.88); color: #09111f; border-color: #ffffff; font-weight: 650; text-shadow: none;
}
.account-actions button[data-action="delete"] { background: rgba(244, 63, 94, 0.14); color: #fecdd3; border-color: rgba(253, 164, 175, 0.34); }
.account-actions button[data-action="delete"]:hover:not(:disabled) { background: rgba(244, 63, 94, 0.30); border-color: rgba(253, 164, 175, 0.70); color: #ffffff; }
.account-actions button:disabled { opacity: 0.45; }

/* Progress & Live Timers */
.stop-button { width: auto; margin: 0; font-size: 12px; padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); color: #ffffff; background: rgba(255, 255, 255, 0.10); }
.stop-button:hover:not(:disabled) { background: rgba(244, 63, 94, 0.26); border-color: rgba(253, 164, 175, 0.60); }
.mission-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.mission-progress span {
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 12px;
  background: var(--glass-soft); border: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted);
}
.mission-progress span::before { display: none; }
.mission-progress span i {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  font-style: normal; font-family: var(--mono); font-size: 11px; background: rgba(255, 255, 255, 0.12); color: var(--muted); flex-shrink: 0;
}
.mission-progress span.done { color: #ffffff; border-color: rgba(147, 197, 253, 0.40); background: rgba(59, 130, 246, 0.16); }
.mission-progress span.done i { background: rgba(147, 197, 253, 0.40); color: #ffffff; font-weight: 700; }
.mission-progress span.active { color: #ffffff; border-color: rgba(147, 197, 253, 0.78); background: rgba(96, 165, 250, 0.24); }
.mission-progress span.active i { background: #dbeafe; color: #09111f; font-weight: 700; text-shadow: none; }

.current-info { display: grid; grid-template-columns: 1.15fr 1.25fr 1.1fr; gap: 10px; margin-top: 12px; }
.info-tile { padding: 10px 13px; border-radius: 12px; background: var(--glass-soft); border: 1px solid var(--line-soft); min-width: 0; }
.info-tile span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.info-tile strong { display: block; font-size: 13px; font-weight: 600; color: #ffffff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.info-tile .live-timer { font-family: var(--mono); color: var(--ice-bright); }
.mission-banner {
  margin-top: 10px; padding: 9px 13px; border-radius: 12px;
  background: var(--glass-soft); border: 1px solid var(--line-soft);
  font-size: 12.5px; line-height: 1.55; color: var(--text-soft); white-space: pre-wrap; overflow-wrap: anywhere;
}

/* Recent 10 Rounds */
.history-header { align-items: center !important; }
.history-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.history-tools select { margin: 0; height: 34px; width: auto; min-width: 185px; max-width: 240px; font-size: 12px; border-radius: 10px; }
#last-updated { font-size: 11.5px; font-family: var(--mono); color: var(--muted); white-space: nowrap; }
.icon-button { width: 34px; height: 34px; margin: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22); color: #ffffff; background: rgba(255, 255, 255, 0.10); }
.icon-button:hover { border-color: rgba(147, 197, 253, 0.72); background: rgba(96, 165, 250, 0.22); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th { color: var(--muted); font-weight: 500; font-size: 12px; padding: 0 12px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-size: 13px; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 4px; }
th:last-child, td:last-child { padding-right: 4px; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.05); }
.round-log-open { width: auto; margin: 0; border: 1px solid rgba(255, 255, 255, 0.22); padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.09); color: #ffffff; font-family: var(--mono); font-size: 12px; font-weight: 600; white-space: nowrap; }
.round-log-open:hover { background: rgba(147, 197, 253, 0.24); border-color: rgba(147, 197, 253, 0.65); text-decoration: none; }
.round-time-cell { font-size: 12px; color: var(--text-soft); white-space: nowrap; }
.round-time-cell small { display: inline-block; margin: 0 0 0 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.round-time-cell small.is-live { color: var(--ice-bright); font-weight: 600; }
td .badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; background: rgba(134, 239, 172, 0.18); color: #bbf7d0; border: 1px solid rgba(134, 239, 172, 0.38); }
.badge.playing, .badge.queued { background: rgba(147, 197, 253, 0.18); color: #dbeafe; border-color: rgba(147, 197, 253, 0.40); }
.badge.failed, .badge.interrupted, .badge.dead { color: #fecdd3; background: var(--danger-soft); border-color: rgba(253, 164, 175, 0.36); }
.numeric { text-align: right; font-family: var(--mono); white-space: nowrap; }
.earned { font-size: 14px; font-weight: 700; color: #ffffff; }
.round-failed td { color: var(--muted); }
.round-error-row td { padding: 0 12px 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); white-space: normal; }
.round-error-box { display: flex; align-items: baseline; gap: 8px; padding: 7px 11px; border-radius: 10px; background: rgba(244, 63, 94, 0.14); border: 1px solid rgba(253, 164, 175, 0.28); font-size: 12px; color: #fecdd3; line-height: 1.55; overflow-wrap: anywhere; }
.round-error-box b { flex-shrink: 0; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(244, 63, 94, 0.26); color: #ffffff; }
.empty-state { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 0; }

/* Dialogs & Toast */
.retry-dialog {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 20px;
  background: rgba(10, 16, 30, 0.56); backdrop-filter: blur(14px) saturate(165%); -webkit-backdrop-filter: blur(14px) saturate(165%);
  color: #ffffff; padding: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 24px 64px rgba(2, 6, 18, 0.62);
}
.retry-dialog::backdrop { background: rgba(4, 8, 18, 0.48); backdrop-filter: blur(4px); }
.retry-dialog h2 { margin: 0; font-size: 17px; }
.retry-dialog .field-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.retry-dialog .field-note:empty { display: none; }
.retry-dialog label { margin: 14px 0 0; display: block; font-size: 12.5px; }
.retry-dialog input[readonly] { color: var(--muted); }
.retry-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.retry-actions button { width: auto; margin: 0; min-width: 88px; height: 40px; padding: 0 18px; border-radius: 12px; font-size: 13.5px; display: inline-flex; align-items: center; justify-content: center; }
.retry-actions .ghost { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); color: #ffffff; }
.retry-error { color: var(--danger); font-size: 12px; margin: 10px 0 0; }
.retry-error:empty { display: none; }
.round-log-dialog { width: min(760px, calc(100vw - 32px)); }
.round-log-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.round-log-heading button { width: auto; margin: 0; padding: 5px 13px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; background: rgba(255, 255, 255, 0.10); color: #ffffff; }
.round-log-list { list-style: none; margin: 14px 0 0; padding: 0; max-height: min(62vh, 580px); overflow-y: auto; }
.timeline li { position: relative; margin-left: 4px; padding: 0 0 14px 18px; border-left: 1px solid rgba(147, 197, 253, 0.30); }
.timeline li:last-child { padding-bottom: 0; border: 0; }
.timeline li::before { content: ""; position: absolute; left: -3px; top: 6px; width: 5px; height: 5px; background: var(--ice); border-radius: 50%; }
.timeline time { font-family: var(--mono); font-size: 11px; color: var(--muted); min-width: 122px; display: inline-block; }
.log-message { font-size: 12.5px; color: var(--text-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.log-value { font-family: var(--mono); font-size: 12px; color: var(--ice-bright); font-weight: 600; margin-left: 8px; }
.timeline li.timeline-placeholder { padding: 0; border: 0; color: var(--muted); font-size: 12.5px; }
.timeline-placeholder::before { display: none; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 10px); max-width: 90vw;
  opacity: 0; pointer-events: none; background: rgba(12, 20, 38, 0.68); backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 197, 253, 0.38); color: #ffffff; font-weight: 600;
  padding: 10px 20px; border-radius: 999px; z-index: 10000; font-size: 13px;
  box-shadow: 0 14px 36px rgba(2, 6, 18, 0.55); transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-height: 740px) { .is-login-view .auth-panel { margin: clamp(80px, 16dvh, 180px) auto 28px; } }
@media (max-width: 980px) { .mj-workspace { grid-template-columns: 290px minmax(0, 1fr); } .stats .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats .counters > .stat-card:last-child { grid-column: 1 / -1; } .mission-progress { grid-template-columns: repeat(2, 1fr); } .current-info { grid-template-columns: 1fr; } }
@media (max-width: 780px) { .mj-workspace { grid-template-columns: minmax(0, 1fr); } .controls { position: static; display: flex; flex-direction: column; } .brand-sub, .top-right time { display: none; } }
@media (max-width: 560px) {
  .shell { width: calc(100% - 20px); }
  .topbar { border-radius: 18px; padding: 9px 14px; }
  .license-bar { padding: 10px 14px; }
  .mj-workspace .panel { padding: 15px 14px; }
  .stats .counters { grid-template-columns: 1fr; }
  .stats .counters > .stat-card:last-child { grid-column: auto; }
  .mission-progress { grid-template-columns: 1fr 1fr; }
  .account-jobs { max-height: 520px; }
  .account-job { flex-direction: column; align-items: stretch; }
  .account-actions { justify-content: flex-end; }
  .history-tools { width: 100%; justify-content: flex-start; }
  .history-tools select { flex: 1; min-width: 0; }
  .history-tools .glass-select-wrap { flex: 1 1 160px; min-width: 0; }
  .history-tools .glass-select-trigger { width: 100% !important; min-width: 0; max-width: 100%; }
  .glass-select-menu { left: 0; right: auto; min-width: 100%; max-width: min(320px, calc(100vw - 48px)); }
  th, td { padding: 9px 7px; font-size: 12px; }
  .round-time-cell small { display: block; margin: 2px 0 0; }
  .timeline time { display: block; min-width: 0; margin: 0 0 2px; }
}
@media (max-width: 400px) {
  .topbar { gap: 6px 8px; padding: 8px 12px; }
  .brand { font-size: 14.5px; }
  .top-right { gap: 6px; }
  .top-right .back, .conn-pill { padding: 4px 9px; font-size: 11.5px; }
}

/* ==========================================================================
   ULTRA-CLEAR CRYSTAL LIQUID GLASS (1.5% ultra-sheer tint, 1.2px micro-blur)
   ========================================================================== */
html, body, body.czrktxyz-app {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.92), 0 0 3px rgba(0, 0, 0, 0.72) !important;
}

.topbar, .portal-bar, .site-header, .admin-topbar {
  background: rgba(255, 255, 255, 0.015) !important;
  backdrop-filter: blur(1.2px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(1.2px) saturate(112%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.panel, .glass-card, .license-bar,
.is-login-view .auth-panel, .czrktxyz-app .login-panel, .admin-login-card, .login-section,
.mj-workspace .panel, .editor-panel, .log-panel, .world-feed, .room-panel, .bot-panel,
.send-room-panel, .invite-panel, .account-strip, .license-summary,
.admin-card, .stat-card,
.czrktxyz-app .user-card, .czrktxyz-app .employee-row,
.czrktxyz-app .detail-identity, .czrktxyz-app .selector-card, .czrktxyz-app .info-section,
.czrktxyz-app .function-item, .czrktxyz-app .my-card {
  background: rgba(255, 255, 255, 0.015) !important;
  backdrop-filter: blur(1.2px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(1.2px) saturate(112%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
}

.stats .counters > div.stat-card,
.account-job, .mission-progress span, .info-tile, .mission-banner,
.bot-orb-wrap, .bot-readout > div, .quote, .bot-map,
.conn-pill {
  background: rgba(255, 255, 255, 0.012) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: none !important;
}
.account-job:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}
.account-job.selected {
  background: rgba(147, 197, 253, 0.07) !important;
  border-color: rgba(186, 224, 255, 0.36) !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select, textarea, .bot-select-trigger,
.is-login-view .auth-panel input {
  background: rgba(255, 255, 255, 0.018) !important;
  background-color: rgba(255, 255, 255, 0.018) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus, textarea:focus, .bot-select-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.05) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  box-shadow: none !important;
}

/* Whisper-sheer primary glass buttons */
.is-login-view .auth-panel button.primary,
button.primary, .controls .primary,
button.primary-button, button.admin-primary, .czrktxyz-app .primary-btn,
#redeem-form button[type="submit"], #profile-confirm-form button[type="submit"], #dealer-login-form button[type="submit"] {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}
.is-login-view .auth-panel button.primary:hover:not(:disabled),
button.primary:hover:not(:disabled), .controls .primary:hover:not(:disabled),
button.primary-button:hover:not(:disabled), button.admin-primary:hover:not(:disabled),
#redeem-form button[type="submit"]:hover:not(:disabled), #profile-confirm-form button[type="submit"]:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.48) !important;
}

.top-right .back, .site-header .header-right a, .topbar .back, .portal-bar .back, .ghost-button,
button.secondary-button, .ghost, .card-enter, .account-actions button {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: #ffffff !important;
}
.portal-bar .back {
  padding: 5px 14px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}
.top-right .back:hover, .site-header .header-right a:hover, .topbar .back:hover, .portal-bar .back:hover, .ghost-button:hover,
button.secondary-button:hover:not(:disabled), .ghost:hover:not(:disabled), .glass-card:hover .card-enter {
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.40) !important;
  color: #ffffff !important;
}
.password-wrap .password-toggle {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: var(--text-soft) !important;
}
.password-wrap .password-toggle:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(147, 197, 253, 0.55) !important;
  color: #ffffff !important;
}
.account-actions button:hover:not(:disabled) {
  background: rgba(96, 165, 250, 0.22) !important;
  border-color: rgba(147, 197, 253, 0.70) !important;
  color: #ffffff !important;
}
.account-actions button[data-action="resume"],
.account-actions button[data-action="retry"] {
  background: rgba(147, 197, 253, 0.20) !important;
  border-color: rgba(186, 224, 255, 0.55) !important;
  color: #e0f2fe !important;
  font-weight: 600 !important;
}
.account-actions button[data-action="resume"]:hover:not(:disabled),
.account-actions button[data-action="retry"]:hover:not(:disabled) {
  background: rgba(147, 197, 253, 0.32) !important;
  border-color: rgba(219, 234, 254, 0.85) !important;
  color: #ffffff !important;
}
.account-actions button[data-action="delete"] {
  background: rgba(244, 63, 94, 0.12) !important;
  border-color: rgba(253, 164, 175, 0.34) !important;
  color: #fecdd3 !important;
}
.account-actions button[data-action="delete"]:hover:not(:disabled),
.stop-button:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.28) !important;
  border-color: rgba(253, 164, 175, 0.68) !important;
  color: #ffffff !important;
}

.portal-wrap { padding: 14px 0 26px !important; }
.portal-stage { height: clamp(190px, 28vh, 270px) !important; }

.czrktxyz-app .bottom-nav {
  background: rgba(10, 18, 34, 0.08) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.11) !important;
}
.retry-dialog, .czrktxyz-app .modal-card, .profile-confirm, .bot-player-card {
  background: rgba(10, 16, 30, 0.72) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* Never draw stray nested card boxes around panel/section headings anywhere! */
.section-heading,
.czrktxyz-app .section-heading,
.panel .section-heading,
.mj-workspace .section-heading,
.card-heading,
.list-heading,
.editor-heading,
.log-heading,
.auth-heading,
.bot-room-heading,
.bot-events-heading,
.member-heading,
.round-log-heading {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Remove empty filler activity-card next to create-card on /admin */
.admin-app .activity-card {
  display: none !important;
}
.admin-app .admin-grid {
  grid-template-columns: 1fr !important;
}

/* Custom Liquid Glass dropdown for #job-select (replaces ugly bright Windows native popup) */
select { color-scheme: dark !important; }
select option { background-color: #0e1628 !important; color: #f8fafc !important; }
.glass-select-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important; margin: 0 !important; padding: 0 !important;
}
.glass-select-wrap { position: relative; display: inline-flex; align-items: center; }
.glass-select-trigger {
  width: auto !important; min-width: 195px; max-width: 260px; height: 34px; margin: 0 !important;
  padding: 0 32px 0 12px !important; border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important; font-size: 12px !important; font-weight: 500 !important;
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
.glass-select-trigger::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.78); border-bottom: 1.5px solid rgba(255, 255, 255, 0.78);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.glass-select-trigger:hover, .glass-select-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
}
.glass-select-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 100%; max-width: 320px; max-height: 260px;
  overflow-y: auto; z-index: 90; padding: 5px; display: grid; gap: 3px;
  border-radius: 14px;
  background: rgba(10, 18, 34, 0.62) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 38px rgba(0, 0, 0, 0.55) !important;
}
.glass-select-menu[hidden] { display: none !important; }
.glass-select-menu button {
  width: 100% !important; margin: 0 !important; padding: 7px 11px !important;
  border: 0 !important; border-radius: 9px !important;
  background: transparent !important; color: rgba(241, 245, 249, 0.90) !important;
  font-size: 12px !important; font-weight: 500 !important; text-align: left !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: none !important;
}
.glass-select-menu button:hover { background: rgba(255, 255, 255, 0.12) !important; color: #ffffff !important; }
.glass-select-menu button[aria-selected="true"] {
  background: rgba(147, 197, 253, 0.22) !important; color: #ffffff !important; font-weight: 650 !important;
}

/* Sell Recovered Items Segmented Toggle & Live Policy Pills */
.sell-policy-field {
  margin-top: 13px;
}
.sell-policy-field .field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.segmented-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.segmented-toggle .seg-option {
  width: 100%;
  margin: 0;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  text-align: center;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.segmented-toggle .seg-option:hover:not(:disabled):not(.is-active) {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}
.segmented-toggle .seg-option.is-active {
  background: rgba(147, 197, 253, 0.22);
  border-color: rgba(186, 224, 255, 0.48);
  color: #ffffff;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 12px -4px rgba(59, 130, 246, 0.35);
}
.segmented-toggle .seg-option[data-sell-val="1"].is-active {
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(252, 211, 77, 0.56);
  color: #fef3c7;
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.28), 0 4px 12px -4px rgba(245, 158, 11, 0.35);
}
.sell-policy-field .field-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--dim);
}

.current-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sell-toggle-button,
.account-actions button.sell-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  margin: 0 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  color: var(--text-soft) !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.sell-toggle-button::before,
.account-actions button.sell-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(203, 213, 225, 0.72);
  flex-shrink: 0;
}
.sell-toggle-button:hover:not(:disabled),
.account-actions button.sell-pill:hover:not(:disabled) {
  background: rgba(147, 197, 253, 0.16) !important;
  border-color: rgba(147, 197, 253, 0.52) !important;
  color: #ffffff !important;
}
.sell-toggle-button.is-selling,
.account-actions button.sell-pill.is-selling {
  background: rgba(251, 191, 36, 0.16) !important;
  border-color: rgba(252, 211, 77, 0.56) !important;
  color: #fef3c7 !important;
  font-weight: 650 !important;
}
.sell-toggle-button.is-selling::before,
.account-actions button.sell-pill.is-selling::before {
  background: #fcd34d;
  box-shadow: 0 0 8px rgba(252, 211, 77, 0.78);
}
.sell-toggle-button.is-selling:hover:not(:disabled),
.account-actions button.sell-pill.is-selling:hover:not(:disabled) {
  background: rgba(251, 191, 36, 0.26) !important;
  border-color: rgba(253, 224, 71, 0.78) !important;
  color: #ffffff !important;
}
.sell-toggle-button:disabled,
.account-actions button.sell-pill:disabled {
  opacity: 0.45 !important;
}
.sell-toggle-button.hidden {
  display: none !important;
}

/* Force-Stop, Offline Status Banner & Self-Service Unbind Controls */
.account-limit-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.unbind-button {
  width: auto !important;
  margin: 0 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  background: rgba(147, 197, 253, 0.16) !important;
  border: 1px solid rgba(186, 224, 255, 0.45) !important;
  color: #e0f2fe !important;
  transition: background .16s ease, border-color .16s ease, opacity .16s ease;
}
.unbind-button:hover:not(:disabled):not(.is-disabled) {
  background: rgba(147, 197, 253, 0.28) !important;
  border-color: rgba(219, 234, 254, 0.80) !important;
  color: #ffffff !important;
}
.unbind-button:disabled,
.unbind-button.is-disabled {
  opacity: 0.44 !important;
  cursor: not-allowed !important;
}
.unbind-button.hidden,
.force-stop-button.hidden,
.offline-status-banner.hidden {
  display: none !important;
}

.force-stop-button,
.account-actions button[data-action="force_stop"] {
  width: auto !important;
  margin: 0 !important;
  padding: 5px 13px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  white-space: nowrap;
  background: rgba(244, 63, 94, 0.18) !important;
  border: 1px solid rgba(253, 164, 175, 0.56) !important;
  color: #fecdd3 !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.force-stop-button:hover:not(:disabled),
.account-actions button[data-action="force_stop"]:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.36) !important;
  border-color: rgba(254, 205, 211, 0.88) !important;
  color: #ffffff !important;
}
.force-stop-button:disabled,
.account-actions button[data-action="force_stop"]:disabled {
  opacity: 0.45 !important;
}

.offline-status-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}
.offline-status-banner::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}
.offline-status-banner.is-safe {
  background: rgba(34, 197, 94, 0.14) !important;
  border-color: rgba(134, 239, 172, 0.44) !important;
  color: #bbf7d0 !important;
}
.offline-status-banner.is-draining {
  background: rgba(251, 191, 36, 0.14) !important;
  border-color: rgba(252, 211, 77, 0.48) !important;
  color: #fde68a !important;
}
.offline-status-banner.is-forcing {
  background: rgba(244, 63, 94, 0.16) !important;
  border-color: rgba(253, 164, 175, 0.50) !important;
  color: #fecdd3 !important;
}

.job-offline-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.job-offline-chip.is-safe {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(134, 239, 172, 0.38);
  color: #bbf7d0;
}
.job-offline-chip.is-draining {
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(252, 211, 77, 0.42);
  color: #fde68a;
}

.confirm-message {
  white-space: pre-line;
  line-height: 1.65;
  color: var(--text-soft) !important;
  font-size: 13px !important;
}
.retry-actions button.is-danger {
  background: rgba(244, 63, 94, 0.30) !important;
  border-color: rgba(253, 164, 175, 0.72) !important;
  color: #ffffff !important;
}
.retry-actions button.is-danger:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.48) !important;
  border-color: rgba(254, 205, 211, 0.92) !important;
}
