* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #262626;
  --text: #ffffff;
  --text-dim: #999;
  --text-muted: #666;
  --accent: #ffffff;
  --green: #4caf50;
  --yellow: #ffc107;
  --red: #f44336;
  --blue: #4a9eff;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}
code,
pre {
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}
.brand .logo {
  width: 32px;
  height: 32px;
  background: #242424 url("favicon.png")
    center/contain no-repeat;
  border-radius: 8px;
  font-size: 0; 
  color: transparent;
}
.brand .logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: #242424;
}
.brand small {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.topbar nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.topbar nav a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.15s;
}
.topbar nav a:hover,
.topbar nav a.active {
  background: var(--surface-2);
  color: var(--text);
}

.topbar nav a.logout {
  color: var(--text-muted);
  margin-left: 12px;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.topbar nav a.logout:hover {
  color: #f44336;
  border-color: rgba(244, 67, 54, 0.3);
  background: rgba(244, 67, 54, 0.08);
}
.topbar nav a.logout svg {
  width: 18px;
  height: 18px;
  display: block;
}

main {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.stat-num {
  font-size: 28px;
  font-weight: bold;
}
.stat-label {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.card h2 {
  font-size: 16px;
  font-weight: 600;
}
.card h2 small {
  font-weight: 400;
}

.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table thead th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  vertical-align: middle;
}
table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table tbody tr:hover {
  background: var(--surface-2);
}
table .center {
  text-align: center;
  padding: 32px;
}
table .muted {
  color: var(--text-muted);
}
table .small {
  font-size: 11px;
}

td.actions {
  display: table-cell !important;
}
.device-id {
  color: var(--text-dim);
  font-size: 11px;
  white-space: nowrap;
  font-family: monospace;
}

.device-marketing {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cfcfcf;
  letter-spacing: 0.1px;
  line-height: 1.25;
}

.group-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 213, 79, 0.10);
  color: #ffd54f;
  border: 1px solid rgba(255, 213, 79, 0.22);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.group-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffd54f;
  text-transform: uppercase;
  line-height: 1;
}
.group-line-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}
.group-line-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.device-line {
  display: flex;
  align-items: center;
  gap: 0;
  /* No wrap — the online-dot must stay inline with the device name.
     The dot is 9px, name strings are short, so forcing nowrap keeps
     the row compact without overflow. */
  flex-wrap: nowrap;
  white-space: nowrap;
}
.device-line .online-dot { margin-right: 7px; }
.device-line strong       { line-height: 1.2; }
.device-line .pin-lock-tag { margin-left: 6px; }

.online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.online-dot.online {
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  animation: archie-online-pulse 2.2s ease-out infinite;
}
.online-dot.offline {
  background: #4a4a4a;
  box-shadow: inset 0 0 0 1.5px #2a2a2a;
}
@keyframes archie-online-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(76, 175, 80, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0   rgba(76, 175, 80, 0); }
}

/* ---------------------------------------------------------------------------
   Password strength meter — shared between admin (account create + reset) and
   the user-panel self-service change form. The wiring is driven by JS via the
   `data-archie-pw-meter="<prefix>"` attribute on the password input; the
   sibling `.pw-meter[data-for=<prefix>]` block holds the bar + the rule
   checklist. CSS-only — no library — to keep this lightweight and inlinable.
   --------------------------------------------------------------------------- */
.pw-meter { margin-top: 8px; margin-bottom: 6px; }
.pw-meter-bar {
  height: 6px; background: #1f1f1f; border-radius: 4px; overflow: hidden;
}
.pw-meter-fill {
  height: 100%; width: 0%;
  background: #4a4a4a;
  border-radius: 4px;
  transition: width 0.18s ease, background-color 0.18s ease;
}
.pw-meter-fill.s1 { width: 25%;  background: #f44336; }
.pw-meter-fill.s2 { width: 50%;  background: #ffa726; }
.pw-meter-fill.s3 { width: 75%;  background: #ffd54f; }
.pw-meter-fill.s4 { width: 100%; background: #4caf50; }
.pw-meter-label {
  font-size: 11px; color: #888; margin-top: 6px; letter-spacing: 0.3px;
  text-transform: uppercase; font-weight: 600;
}
.pw-checklist {
  list-style: none; padding: 0; margin: 6px 0 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px;
  font-size: 12px;
}
.pw-checklist li {
  color: #888;
  display: flex; align-items: center; gap: 6px;
}
.pw-checklist li::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #4a4a4a;
  flex-shrink: 0;
}
.pw-checklist li.ok      { color: #81c784; }
.pw-checklist li.ok::before { background: #4caf50; }

.pin-lock-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(244, 67, 54, 0.14);
  color: #f48fb1;
  border: 1px solid rgba(244, 67, 54, 0.35);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-transform: uppercase;
}

.build-tag {
  
  display: block;
  width: fit-content;
  margin-top: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(165, 214, 167, 0.10);
  color: #a5d6a7;
  border: 1px solid rgba(165, 214, 167, 0.22);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-family: ui-monospace, monospace;
  white-space: nowrap;
}
.build-tag-outdated {
  background: rgba(255, 167, 38, 0.12);
  color: #ffb74d;
  border-color: rgba(255, 167, 38, 0.35);
}

.btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
  transition: all 0.15s;
}
.btn:hover {
  background: var(--border);
}
.btn.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
.btn.primary:hover {
  opacity: 0.9;
}
.btn.ghost {
  background: transparent;
  color: var(--text-dim);
}
.btn.ghost:hover {
  color: var(--text);
}
.btn.danger {
  color: var(--red);
  border-color: rgba(244, 67, 54, 0.3);
}
.btn.danger:hover {
  background: rgba(244, 67, 54, 0.1);
}
.btn.small {
  padding: 5px 10px;
  font-size: 12px;
}

.btn.icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  min-width: 32px;
  min-height: 32px;
  line-height: 1;
}
.btn.icon-only.small {
  padding: 5px 7px;
  min-width: 30px;
  min-height: 30px;
}
.btn.icon-only svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.btn.icon-only.danger svg { fill: currentColor; }

form label {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 6px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
form label small {
  text-transform: none;
  color: var(--text-muted);
  letter-spacing: 0;
}
form input[type="text"],
form input[type="password"],
form input[type="number"],
form input[type="url"],
form input[type="email"],
form input[type="datetime-local"],
form input[type="date"],
form input[type="time"],
form textarea,
form select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
form textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

form input[type="datetime-local"]::-webkit-calendar-picker-indicator,
form input[type="date"]::-webkit-calendar-picker-indicator,
form input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
form input::placeholder,
form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
form input:disabled,
form textarea:disabled,
form select:disabled {
  color: var(--text-muted);
  background: var(--surface-2);
  cursor: not-allowed;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.form-row {
  margin-bottom: 14px;
}
.form-row > label {
  display: block;
  font-size: 12px;
  color: var(--text-muted, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.form-row > label small {
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted, #888);
  font-size: 11px;
  margin-left: 6px;
}
.filter-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-form select {
  padding: 6px 10px;
  font-size: 12px;
  min-width: 200px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 24px;
}
.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-card.wide {
  max-width: 720px;
}

.modal-card form > .btn,
.modal-card form > button[type="submit"] {
  margin-top: 16px;
}

.feature-toggles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    margin-top: 6px;
    padding: 10px 12px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
}
.feature-toggle {
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--text, #eee) !important;
    font-size: 13px !important;
    cursor: pointer;
}

.feature-toggle span { user-select: none; }

input[type="checkbox"]:not(.native-checkbox) {
    
    appearance: none;
    -webkit-appearance: none;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    border: 1.5px solid #4a4a4a;
    border-radius: 4px;
    background: #0a0a0a;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    vertical-align: middle;
    transition: background 0.12s ease, border-color 0.12s ease;
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}
input[type="checkbox"]:not(.native-checkbox):hover {
    border-color: #6a6a6a;
}
input[type="checkbox"]:not(.native-checkbox):checked {
    background: #4a9eff;
    border-color: #4a9eff;
}
input[type="checkbox"]:not(.native-checkbox):checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
input[type="checkbox"]:not(.native-checkbox):focus-visible {
    outline: 2px solid rgba(74,158,255,0.4);
    outline-offset: 1px;
}
input[type="checkbox"]:not(.native-checkbox):disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quota-stack {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 170px;
}
.quota-row {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.quota-key {
    width: 34px;
    font-size: 10px;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.quota-bar {
    flex: 1;
    height: 5px;
    background: #2a2a2a;
    border-radius: 3px;
    overflow: hidden;
}
.quota-fill      { height: 100%; transition: width 0.2s ease; }
.quota-fill.high { background: #f44336; }
.quota-fill.mid  { background: #ffc107; }
.quota-fill.low  { background: #4caf50; }
.quota-num {
    font-size: 10px;
    color: #ccc;
    min-width: 52px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, monospace;
}
.quota-inf {
    font-size: 10px;
    color: #4a9eff;
    font-weight: 600;
    flex: 1;
}

/* Action-button rows on device list cards.
   Switched from CSS Grid to Flexbox so a partial last row
   centres itself instead of leaving an empty trailing cell.
   - Full rows fill edge-to-edge (button count × col-width == 100%)
   - Trailing partial rows (1-2 leftover buttons) collapse and
     centre under the row above, no awkward empty slot. */
.actions-1x4,
.actions-2x2,
.actions-3x2,
.actions-4x2 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: start;
    justify-content: center;
}
.actions-1x4 form,
.actions-2x2 form,
.actions-3x2 form,
.actions-4x2 form { display: contents; }
.actions-1x4 > .btn, .actions-1x4 form > .btn,
.actions-2x2 > .btn, .actions-2x2 form > .btn,
.actions-3x2 > .btn, .actions-3x2 form > .btn,
.actions-4x2 > .btn, .actions-4x2 form > .btn {
    margin: 0;
    text-align: center;
    white-space: nowrap;
    flex-grow: 0;
    flex-shrink: 0;
}

/* flex-basis = (100% − total-gap-width) / col-count.
   gap = 6px, so 3 cols has 2*6=12px gap; 4 cols has 3*6=18px gap. */
.actions-1x4 > .btn, .actions-1x4 form > .btn { flex-basis: calc((100% - 18px) / 4); }
.actions-2x2 > .btn, .actions-2x2 form > .btn { flex-basis: calc((100% - 6px)  / 2); }
.actions-3x2 > .btn, .actions-3x2 form > .btn { flex-basis: calc((100% - 12px) / 3); }
.actions-4x2 > .btn, .actions-4x2 form > .btn { flex-basis: calc((100% - 18px) / 4); }

.actions-1x4 { min-width: 160px; }
.actions-2x2 { min-width: 220px; }
.actions-3x2 { min-width: 140px; }
.actions-4x2 { min-width: 180px; }
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.modal-head h3 {
  font-size: 16px;
}
.modal-head .close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  padding: 0 8px;
}
.modal-head .close:hover {
  color: var(--text);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge.active {
  background: rgba(76, 175, 80, 0.15);
  color: var(--green);
}
.badge.blocked {
  background: rgba(244, 67, 54, 0.15);
  color: var(--red);
}
.policy-cell {
  min-width: 150px;
  max-width: 190px;
}
.policy-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.policy-stack .badge {
  padding: 3px 8px;
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
}
.score-pill {
  display: inline-block;
  background: rgba(74, 158, 255, 0.15);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

.query-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 0.15s, border-color 0.15s;
}
.query-thumb:hover {
  transform: scale(1.08);
  border-color: var(--blue);
}
.thumb-placeholder {
  width: 50px;
  height: 50px;
  background: var(--surface-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
}

.server-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 0.5px;
}
.server-badge.srv-1 {
  background: rgba(74, 158, 255, 0.18);
  color: #6db4ff;
  border: 1px solid rgba(74, 158, 255, 0.3);
}
.server-badge.srv-2 {
  background: rgba(156, 39, 176, 0.18);
  color: #ce93d8;
  border: 1px solid rgba(156, 39, 176, 0.3);
}
.server-badge.srv-imei {
  background: rgba(255, 167, 38, 0.18);
  color: #ffb74d;
  border: 1px solid rgba(255, 167, 38, 0.3);
}

.loc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(76, 175, 80, 0.12);
  color: #81c784;
  text-decoration: none;
  font-size: 12px;
  border: 1px solid rgba(76, 175, 80, 0.25);
  transition: background 0.15s;
  white-space: nowrap;
}
.loc-link:hover {
  background: rgba(76, 175, 80, 0.22);
}
.loc-link .loc-acc {
  color: #aaa;
  font-size: 10px;
  margin-left: 4px;
  white-space: nowrap;
}

.usage {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
}
.usage-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}
.usage-fill {
  height: 100%;
  transition: width 0.3s;
}
.usage-fill.low {
  background: var(--green);
}
.usage-fill.mid {
  background: var(--yellow);
}
.usage-fill.high {
  background: var(--red);
}
.usage span {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}
.alert.success {
  background: rgba(76, 175, 80, 0.1);
  color: var(--green);
  border: 1px solid rgba(76, 175, 80, 0.2);
}
.alert.error {
  background: rgba(244, 67, 54, 0.1);
  color: var(--red);
  border: 1px solid rgba(244, 67, 54, 0.2);
}
.alert.info {
  background: rgba(74, 158, 255, 0.1);
  color: var(--blue);
  border: 1px solid rgba(74, 158, 255, 0.2);
}

/* Manual-book pinned banner — sits at the very top of <main> on every
 * page (admin index + user index). Same visual family as .alert.info
 * but laid out as icon | text | CTA so the "Download PDF" button has
 * a fixed slot on the right at desktop widths. On narrow viewports
 * we drop to vertical stack so the CTA stays tappable.
 *
 * IMPORTANT: rules live in server/admin/assets/style.css (the file
 * shipped via /assets/style.css). The sibling /server/admin/style.css
 * is unused legacy — do not edit it expecting changes to land.       */
.manual-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.10), rgba(74, 158, 255, 0.04));
  border: 1px solid rgba(74, 158, 255, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #cfe1f8;
}
.manual-alert-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 158, 255, 0.16);
  color: var(--blue);
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
}
.manual-alert-body  { flex: 1; min-width: 0; }
.manual-alert-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  font-size: 14px;
}
.manual-alert-sub {
  color: #9fb6d2;
  font-size: 12px;
  line-height: 1.45;
}
.manual-alert .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .manual-alert { flex-direction: column; align-items: flex-start; gap: 12px; }
  .manual-alert .btn { width: 100%; text-align: center; }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.page {
  color: var(--text-dim);
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--border);
}
.page:hover {
  background: var(--surface-2);
  color: var(--text);
}
.page.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

.json-view {
  background: var(--bg);
  padding: 16px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  max-height: 60vh;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.result-view {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
}
.result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.result-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.score-badge {
  font-weight: 700;
  font-size: 14px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.nik-code {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}
.result-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.result-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.result-row:last-child {
  border-bottom: none;
}
.result-row .rl {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding-top: 1px;
}
.result-row .rv {
  color: var(--text);
  word-break: break-word;
}

/* ============================================================
 * Universal admin background — monochrome animated aurora.
 *
 * Applied to body globally so every admin page (login, dashboard,
 * history and other admin pages) shares the same "luminous panel over
 * subtle drifting fog" look. Pure black-and-white per operator
 * direction — no blue/purple/cyan. The two slow-drifting white
 * blobs (low alpha) sit behind everything; a third blob is rendered
 * as a static radial gradient baked into body background-image.
 *
 * Topbar + main are bumped to z-index:1 so they sit above the
 * aurora. Pseudo-elements use pointer-events:none so click targets
 * are unchanged.
 * ============================================================ */
body {
  position: relative;
  overflow-x: hidden;
  background:
    /* third (static) blob — top-right, soft white */
    radial-gradient(50vmax 50vmax at 88% 12%,
                    rgba(255,255,255,0.045) 0%, transparent 55%),
    var(--bg);
}
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
/* Blob 1 — bright white drifter, top-left */
body::before {
  width: 60vmax;
  height: 60vmax;
  top: -25vmax;
  left: -20vmax;
  background: radial-gradient(circle at 30% 30%,
              rgba(255,255,255,0.10) 0%,
              rgba(255,255,255,0)    60%);
  animation: aurora-a 32s ease-in-out infinite alternate;
}
/* Blob 2 — softer gray drifter, bottom-right */
body::after {
  width: 55vmax;
  height: 55vmax;
  bottom: -22vmax;
  right: -18vmax;
  background: radial-gradient(circle at 60% 60%,
              rgba(255,255,255,0.07) 0%,
              rgba(255,255,255,0)    60%);
  animation: aurora-b 40s ease-in-out infinite alternate;
}

/* Subtle grid mesh — 28px squares, very faint white. Mask radially
 * so the lines fade out at the edges (avoid the "engineering blueprint"
 * vibe of a perfectly even grid). Optional element (`<div class=
 * "auth-grid">`) rendered by pages that opt-in; harmless when absent. */
.auth-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
}

/* Topbar + main lifted above the aurora layer. position:relative is
 * what lets z-index take effect — bare blocks ignore z-index. */
.topbar,
main {
  position: relative;
  z-index: 1;
}

@keyframes aurora-a {
  0%   { transform: translate(0, 0)     scale(1);    }
  50%  { transform: translate(10vw, 6vh) scale(1.15); }
  100% { transform: translate(-4vw, 4vh) scale(0.95); }
}
@keyframes aurora-b {
  0%   { transform: translate(0, 0)      scale(1);    }
  50%  { transform: translate(-8vw, -6vh) scale(1.1);  }
  100% { transform: translate(6vw, 4vh)   scale(0.9);  }
}

/* Auth (login) page — layout-only now. The aurora is on body. */
.auth-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-card {
  position: relative;
  z-index: 1;
  background: rgba(20, 20, 20, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Animated sheen line at the card's top edge — monochrome. */
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%);
  animation: auth-sheen 6s ease-in-out infinite;
}
@keyframes auth-sheen {
  0%, 100% { opacity: 0.3; transform: translateX(-10%); }
  50%      { opacity: 1;   transform: translateX(10%);  }
}
.auth-logo {
  width: 64px;
  height: 64px;
  background: #242424 url("favicon.png")
    center/contain no-repeat;
  border-radius: 16px;
  font-size: 0;
  color: transparent;
  margin: 0 auto 20px;
}
.auth-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #242424;
  display: block;
  margin: 0 auto 20px;
}
.auth-card h1 {
  font-size: 20px;
  margin-bottom: 6px;
}
.auth-sub {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 24px;
}
.auth-card form {
  text-align: left;
}
.auth-card .btn {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  font-size: 14px;
}

@media (max-width: 900px) {
  main {
    padding: 16px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 14px;
  }
  .stat-num {
    font-size: 22px;
  }
  .stat-label {
    font-size: 10px;
  }
  .card {
    padding: 14px;
  }
  .card-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .card-head h2 {
    font-size: 16px;
  }
  
  .filter-form {
    flex-wrap: wrap !important;
    gap: 8px;
    width: 100%;
  }
  .filter-form > select,
  .filter-form > input,
  .filter-form > input[type="text"] {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .filter-form > .btn,
  .filter-form > button {
    flex: 1 1 auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 8px;
    position: relative; 
    padding-right: 60px; 
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand .logo-img {
    width: 28px;
    height: 28px;
  }
  .brand small {
    display: none;
  }
  .topbar nav {
    font-size: 12px;
    /* Single-row horizontal scroll on mobile. flex-wrap was breaking
       the nav onto two rows once App Config landed; operators preferred
       a swipable strip over a taller topbar. Logout stays absolutely-
       positioned outside this scroll container (see .topbar nav a.logout
       below) so it's always tappable. */
    flex-wrap: nowrap;
    gap: 2px;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;                 /* Firefox */
    /* Leave room on the right for the absolutely-positioned logout
       button so the last nav item can fully scroll into view. */
    padding-right: 44px;
    margin-right: -44px;                   /* counter the padding so flex 100% width still fits */
  }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a {
    padding: 6px 10px;
    font-size: 12px;
    flex: 0 0 auto;                        /* prevent items shrinking on overflow */
    white-space: nowrap;                   /* keep "App Config" on one line */
  }

  
  .topbar nav a.logout {
    position: absolute;
    top: 10px;
    right: 14px;
    margin-left: 0;
  }
  main {
    padding: 12px;
  }

  .filter-row {
    gap: 6px !important;
  }
  .filter-row input,
  .filter-row select {
    font-size: 13px !important;
    padding: 8px 10px !important;
    flex: 1 1 100%;
    min-width: 0;
  }
  .filter-row .btn {
    flex: 0 0 auto;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px !important;
    align-items: stretch;
  }
  .actions .btn,
  .actions form {
    flex: 1 1 calc(50% - 4px);
  }
  .actions form {
    display: flex !important;
  }
  .actions form .btn {
    width: 100%;
  }

  /* Device-list action strip: keep 7 icon buttons on ONE horizontal row
     on mobile — the generic `.actions .btn { flex: 1 1 ... }` above would
     otherwise wrap them into a vertical stack that takes a full screen
     of vertical space per device row (see screenshot bug). Each button
     shrinks to a 28px square icon; the container scrolls horizontally
     if a future row gains more buttons than fit. */
  .actions .actions-1x4,
  .actions .actions-2x2,
  .actions .actions-3x2,
  .actions .actions-4x2 {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-end;
    min-width: 0 !important;
    overflow-x: auto;
  }
  .actions .actions-1x4 > .btn, .actions .actions-1x4 form > .btn,
  .actions .actions-2x2 > .btn, .actions .actions-2x2 form > .btn,
  .actions .actions-3x2 > .btn, .actions .actions-3x2 form > .btn,
  .actions .actions-4x2 > .btn, .actions .actions-4x2 form > .btn {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
  }
  .actions .actions-1x4 .btn svg,
  .actions .actions-2x2 .btn svg,
  .actions .actions-3x2 .btn svg,
  .actions .actions-4x2 .btn svg {
    width: 14px;
    height: 14px;
  }

  
  table {
    font-size: 12px;
  }
  table thead th,
  table tbody td {
    padding: 10px 8px;
  }
  .device-id {
    font-size: 10px !important;
  }

  
  .modal {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal-card,
  .modal-card.wide {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 95vh !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 16px !important;
  }

  
  .result-card {
    padding: 14px !important;
  }
  .result-row {
    grid-template-columns: 90px 1fr !important;
    gap: 10px !important;
    font-size: 12px !important;
  }
  .result-row .rl {
    font-size: 10px !important;
  }

  
  .stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  
  .brand small {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat-card {
    padding: 12px;
  }
  .stat-num {
    font-size: 20px;
  }
  /* Same single-row icon-strip behaviour as 720px breakpoint, but
     tighten the icons + gap further for very narrow phones.
     The earlier `.actions .btn { flex: 1 1 100% }` rule has been
     removed — it was the root cause of the vertical button stack
     bug on the device list. */
  .actions .actions-1x4,
  .actions .actions-2x2,
  .actions .actions-3x2,
  .actions .actions-4x2 {
    gap: 3px !important;
  }
  .actions .actions-1x4 > .btn, .actions .actions-1x4 form > .btn,
  .actions .actions-2x2 > .btn, .actions .actions-2x2 form > .btn,
  .actions .actions-3x2 > .btn, .actions .actions-3x2 form > .btn,
  .actions .actions-4x2 > .btn, .actions .actions-4x2 form > .btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }
  table thead th,
  table tbody td {
    padding: 8px 6px;
    font-size: 11px;
  }
  .topbar nav a {
    padding: 5px 8px;
    font-size: 11px;
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 5px;
  border: 2px solid #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
}
.table-wrap::-webkit-scrollbar-track {
  background: #141414;
  border-radius: 0 0 12px 12px;
}
.table-wrap::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
  border: 2px solid #141414;
}
.table-wrap::-webkit-scrollbar-thumb:hover {
  background: #4a9eff;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a transparent;
}
.table-wrap {
  scrollbar-color: #333 #141414;
}

.result-view { max-height: 70vh; overflow-y: auto; padding: 6px 4px 6px 0; margin-top: 12px; }
.result-card {
    background: #0f0f0f !important; border: 1px solid #2a2a2a !important;
    border-radius: 12px !important; padding: 18px 20px !important;
    margin-bottom: 14px !important; display: block !important;
}
.result-card:last-child { margin-bottom: 0 !important; }
.result-card-head {
    display: flex !important; align-items: center !important;
    gap: 12px !important; margin-bottom: 12px !important;
    padding-bottom: 12px !important; border-bottom: 1px solid #1f1f1f !important;
}
.score-badge {
    font-weight: 700 !important; font-size: 14px !important;
    padding: 5px 14px !important; background: rgba(255,255,255,0.06) !important;
    border-radius: 8px !important; display: inline-block !important;
}
.nik-code { font-family: monospace !important; font-size: 13px !important; color: #999 !important; letter-spacing: 0.3px !important; }
.result-name { font-size: 17px !important; font-weight: 700 !important; color: #fff !important; margin: 0 0 14px 0 !important; display: block !important; }
.result-rows { display: flex !important; flex-direction: column !important; gap: 0 !important; }
.result-row {
    display: grid !important; grid-template-columns: 130px 1fr !important;
    gap: 14px !important; font-size: 13px !important;
    padding: 8px 0 !important; border-bottom: 1px solid #1a1a1a !important;
}
.result-row:last-child { border-bottom: none !important; }
.result-row .rl { color: #888 !important; text-transform: uppercase !important; font-size: 11px !important; letter-spacing: 0.5px !important; padding-top: 1px !important; font-weight: 500 !important; }
.result-row .rv { color: #eee !important; word-break: break-word !important; line-height: 1.5 !important; }
.modal-card.wide { max-width: 760px !important; }
.kind-badge {
    display: inline-block; padding: 3px 8px; border-radius: 6px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    border: 1px solid transparent;
}
.kind-fr        { background: rgba(109,180,255,0.12); color: #6db4ff; border-color: rgba(109,180,255,0.25); }
.kind-nikdetail { background: rgba(100,181,246,0.12); color: #64b5f6; border-color: rgba(100,181,246,0.25); }
.kind-kkdetail  { background: rgba(186,104,200,0.12); color: #ba68c8; border-color: rgba(186,104,200,0.25); }
.kind-bpjs      { background: rgba(129,199,132,0.12); color: #81c784; border-color: rgba(129,199,132,0.25); }
.kind-npwp      { background: rgba(229,115,115,0.12); color: #e57373; border-color: rgba(229,115,115,0.25); }
.kind-simreg    { background: rgba(255,183,77,0.12); color: #ffb74d; border-color: rgba(255,183,77,0.25); }
.kind-vehicle   { background: rgba(77,208,225,0.12); color: #4dd0e1; border-color: rgba(77,208,225,0.25); }
.kind-cekpos    { background: rgba(165,214,167,0.12); color: #a5d6a7; border-color: rgba(165,214,167,0.25); }
.kind-linimasa  { background: rgba(128,203,196,0.12); color: #80cbc4; border-color: rgba(128,203,196,0.25); }
.kind-namedetail{ background: rgba(255,204,128,0.12); color: #ffcc80; border-color: rgba(255,204,128,0.25); }
.kind-datadik   { background: rgba(149,117,205,0.12); color: #9575cd; border-color: rgba(149,117,205,0.25); }
.kind-mhslist   { background: rgba(76,175,168,0.12);  color: #4fc3b8; border-color: rgba(76,175,168,0.25); }
.kind-mhsdetail { background: rgba(76,175,168,0.18);  color: #80cfc6; border-color: rgba(76,175,168,0.30); }
.kind-corplist     { background: rgba(179,157,219,0.12); color: #b39ddb; border-color: rgba(179,157,219,0.25); }
.kind-corpdetail   { background: rgba(159,168,218,0.12); color: #9fa8da; border-color: rgba(159,168,218,0.25); }
.kind-corpdetail2  { background: rgba(159,168,218,0.18); color: #9fa8da; border-color: rgba(159,168,218,0.30); }
.kind-splash    { background: rgba(176,176,176,0.10); color: #b0b0b0; border-color: rgba(176,176,176,0.20); }
.kind-pin_fail    { background: rgba(244,67,54,0.12);  color: #f48fb1; border-color: rgba(244,67,54,0.25); }
.kind-pin_unblock { background: rgba(76,175,80,0.12);  color: #81c784; border-color: rgba(76,175,80,0.25); }
.kind-osint       { background: rgba(255,87,34,0.12);  color: #ff8a65; border-color: rgba(255,87,34,0.25); }
.kind-getcontact  { background: rgba(0,188,212,0.12);  color: #4dd0e1; border-color: rgba(0,188,212,0.25); }
.kind-bankchecker { background: rgba(144,202,249,0.12); color: #90caf9; border-color: rgba(144,202,249,0.28); }
.kind-ekspedisi   { background: rgba(141,110,99,0.14); color: #bcaaa4; border-color: rgba(141,110,99,0.30); }
.kind-residiv     { background: rgba(239,154,154,0.14); color: #ef9a9a; border-color: rgba(239,154,154,0.30); }
.kind-imigrasi    { background: rgba(121,134,203,0.14); color: #9fa8da; border-color: rgba(121,134,203,0.30); }
.kind-kua         { background: rgba(255,213,79,0.14); color: #ffd54f; border-color: rgba(255,213,79,0.30); }
.kind-agents      { background: rgba(126,87,194,0.16); color: #b39ddb; border-color: rgba(126,87,194,0.34); }
.cp-card { background:#0f0f0f; border:1px solid #2a2a2a; border-radius:12px; padding:14px 16px; margin-bottom:10px; }
.cp-map-link { display:inline-block; margin-top:8px; padding:6px 14px; background:#1a73e8; color:#fff !important;
    border-radius:6px; text-decoration:none; font-weight:600; font-size:12px; }
.target-cell { font-family: monospace; font-size: 12px; color: #ddd; word-break: break-all; }
.meta-snippet { color:#aaa; font-size:11px; margin-top:3px; }
.sim-block {
    background:#0f0f0f; border:1px solid #2a2a2a; border-radius:10px;
    padding:14px 16px; margin-bottom:10px;
}
.sim-block-label { color:#ffb74d; font-weight:700; font-size:13px; margin-bottom:8px; }
.veh-card {
    background:#0f0f0f; border:1px solid #2a2a2a; border-radius:12px;
    padding:14px 16px; margin-bottom:10px;
}
.veh-plate { display:inline-block; background:#fff; color:#000; font-weight:800;
    padding:4px 10px; border-radius:6px; font-family:monospace; letter-spacing:1px; }

/* ---------------------------------------------------------------------
   Section-header rows in the Devices table — one inserted per group
   (plus one for the "Tanpa Group" cluster of admin-owned standalones).
   Visual goal: clearly partition consecutive devices that share a
   group, without disrupting the existing row rhythm. Uses the same
   #ffd54f hue as the legacy .group-line badge so users who learnt
   that colour as "group" still recognise it.
   --------------------------------------------------------------------- */
/* Section headers render as a rounded pill INSIDE the table cell rather
   than styling the <td> directly. With `border-collapse:collapse` on
   the parent table, border-radius on td would be ignored — moving the
   pill chrome to `.section-header-inner` sidesteps that constraint
   without touching the global border model. The td itself is just a
   transparent gutter. */
.section-header-row > td {
    background: transparent !important;
    border: none !important;
    padding: 8px 14px !important;
}
.section-header-row {
    cursor: pointer;
    user-select: none;
}
/* Chevron points down (▼) when expanded, rotates to point right (▶)
   when the section is collapsed. Smooth transition for affordance. */
.section-chevron {
    transition: transform 0.2s ease;
    opacity: 0.85;
}
.section-header-row.section-collapsed .section-chevron {
    transform: rotate(-90deg);
}
/* Hover affordance — subtly lift the pill so users see it's clickable.
   The row itself stays transparent so the generic `tr:hover` highlight
   stays out of the way (otherwise it'd paint a band behind the pill). */
.section-header-row:hover > td {
    background: transparent !important;
}
.section-header-row:hover .section-header-inner {
    background: linear-gradient(180deg, #1e1e18 0%, #16140f 100%) !important;
    border-color: #3d3522 !important;
}
.section-header-row.section-nogroup:hover .section-header-inner {
    background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%) !important;
    border-color: #3a3a3a !important;
}
.section-header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ffd54f;                         /* match legacy .group-line */
    line-height: 1;
}
.section-header-row.section-nogroup .section-header-inner {
    color: #cfcfcf;                         /* dim white for non-group */
}
.section-header-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
}
.section-header-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.section-header-name {
    flex: 1 1 auto;                         /* push count to the right */
}
.section-header-count {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: none;
    color: var(--text-muted, #888);
    background: rgba(255,213,79,0.08);
    border: 1px solid rgba(255,213,79,0.18);
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.section-header-row.section-nogroup .section-header-count {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}
