.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-h-md);
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--text-on-accent);
  font: 600 13px/1 var(--font-sans);
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast);
}
.btn:hover { background: var(--accent-hover); color: var(--text-on-accent); text-decoration: none; }
.btn:active { background: var(--accent-press); transform: translateY(1px); }
.btn:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.btn--secondary { background: var(--surface-3); color: var(--text-primary); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface-raised); color: var(--text-primary); }
.btn--secondary:active { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--text-secondary); }
.btn--ghost:hover { background: var(--surface-hover); color: var(--text-primary); }
.btn--ghost:active { background: var(--surface-active); }
.btn--danger { background: var(--danger-subtle); color: var(--danger-fg); border-color: rgba(229, 72, 77, .4); }
.btn--danger:hover { background: rgba(229, 72, 77, .22); color: var(--danger-fg); }
.btn--danger:active { background: rgba(229, 72, 77, .3); }
.btn--discord { background: var(--discord); color: #fff; }
.btn--discord:hover { background: var(--discord-hover); color: #fff; }
.btn--discord:active { background: #4752C4; }
.btn--sm { height: var(--control-h-sm); padding: 0 10px; font-size: 12px; }
.btn--sm .ic { width: 14px; height: 14px; }
.btn--lg { height: var(--control-h-lg); padding: 0 20px; font-size: 14px; }
.btn--lg .ic { width: 18px; height: 18px; }
.btn--block { width: 100%; }
.btn:disabled, .btn.is-disabled {
  background: var(--surface-3);
  color: var(--text-disabled);
  border-color: var(--border-subtle);
  cursor: not-allowed;
  transform: none;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text-primary); }
.icon-btn:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.icon-btn--sm { width: 28px; height: 28px; }
.icon-btn--sm .ic { width: 14px; height: 14px; }
.icon-btn--danger:hover { background: var(--danger-subtle); color: var(--danger-fg); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  background: var(--surface-active);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.badge--gold { background: var(--accent-subtle); color: var(--gold-300); border-color: var(--border-gold); }
.badge--danger { background: var(--danger-subtle); color: var(--danger-fg); border-color: rgba(229, 72, 77, .35); }
.badge--warning { background: var(--warning-subtle); color: var(--warning-fg); border-color: rgba(232, 165, 58, .35); }
.badge--success { background: var(--success-subtle); color: var(--success-fg); border-color: rgba(61, 181, 126, .35); }
.badge--info { background: var(--info-subtle); color: var(--info-fg); border-color: rgba(76, 141, 240, .35); }
.badge--cat { background: rgba(255, 255, 255, .04); color: var(--cat); border-color: var(--border-default); }

.card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.card--classified { border-color: var(--border-gold); }
.card--classified::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline-gold);
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.card__head--sm { padding: 14px; }
.card__eyebrow {
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.card--classified .card__eyebrow { color: var(--gold-300); }
.card__title { font: var(--text-h3); color: var(--text-primary); }
.card__title a { color: inherit; }
.card__actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.card__body { padding: 20px; }
.card__body--sm { padding: 14px; }
.card__body--md { padding: 16px; }
.card__body--flush { padding: 0; }
.card__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
}

.avatar {
  --size: 32px;
  position: relative;
  display: inline-flex;
  flex: none;
  width: var(--size);
  height: var(--size);
}
.avatar--30 { --size: 30px; }
.avatar--32 { --size: 32px; }
.avatar--34 { --size: 34px; }
.avatar--38 { --size: 38px; }
.avatar--52 { --size: 52px; }
.avatar--96 { --size: 96px; }
.avatar--160 { --size: 160px; }
.avatar__img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: var(--navy-700);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-200);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: calc(var(--size) * .36);
  line-height: 1;
}
.avatar__img img { width: 100%; height: 100%; object-fit: cover; }
.avatar--square .avatar__img { border-radius: var(--radius-sm); }
.avatar--square .avatar__img img { filter: grayscale(.4) contrast(1.05); }
.avatar__status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: max(8px, calc(var(--size) * .28));
  height: max(8px, calc(var(--size) * .28));
  border-radius: 99px;
  background: var(--navy-400);
  border: 2px solid var(--surface-1);
}
.avatar__status--online { background: var(--success); }
.avatar__status--busy { background: var(--danger); }
.avatar__status--away { background: var(--warning); }

.threat { display: inline-flex; align-items: center; gap: 8px; }
.threat--1 { --t: var(--green-500); }
.threat--2 { --t: var(--blue-500); }
.threat--3 { --t: var(--amber-500); }
.threat--4 { --t: var(--red-400); }
.threat--5 { --t: var(--red-500); }
.threat__bars { display: flex; gap: 2px; }
.threat__bars span { width: 5px; height: 14px; border-radius: 1px; background: var(--navy-600); }
.threat__bars span.on { background: var(--t); }
.threat--4 .threat__bars span.on, .threat--5 .threat__bars span.on { box-shadow: 0 0 6px var(--t); }
.threat__label {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t);
}

.rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  background: var(--navy-700);
  color: var(--silver-100);
  border: 1px solid var(--border-strong);
  font: 700 10px/1 var(--font-sans);
  letter-spacing: .1em;
}
.rank--cmd {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  border-color: var(--gold-200);
}
.rank--admin {
  gap: 4px;
  background: var(--danger-subtle);
  color: var(--danger-fg);
  border-color: rgba(229, 72, 77, .45);
  margin-left: 6px;
}
.me .rank--admin { margin-left: 0; }
.rank__bars { display: flex; gap: 1.5px; }
.rank__bars span { width: 3px; height: 8px; background: currentColor; opacity: .85; transform: skewX(-18deg); }

.stat {
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.stat__label {
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}
.stat__icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  color: var(--gold-300);
}
.stat__icon .ic { width: 15px; height: 15px; }
.stat__value {
  font: 600 30px/1 var(--font-sans);
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
}
.stat__meta { font: 500 12px/1 var(--font-mono); color: var(--text-muted); margin-left: 10px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}
.card .table-wrap { border: 0; border-radius: 0; }
.table { width: 100%; border-collapse: collapse; font: var(--text-small); }
.table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-default);
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-hover); }
.table tr[data-href] { cursor: pointer; }
.table td.mono { font: var(--text-data); white-space: nowrap; }
.table .right { text-align: right; }
.table--dense td { padding: 8px 14px; }
.table__title { font-weight: 600; }
.table__title a { color: var(--text-primary); }
.table__sub { color: var(--text-muted); font-size: 12px; }

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-default);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab.is-active::after { bottom: 0; }
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-muted);
  font: 600 13px/1 var(--font-sans);
  white-space: nowrap;
  text-decoration: none;
}
.tab:hover { color: var(--text-primary); text-decoration: none; }
.tab.is-active { color: var(--text-primary); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.tab__count {
  font: 500 11px/1 var(--font-mono);
  padding: 3px 6px;
  border-radius: var(--radius-xs);
  background: var(--surface-active);
  color: var(--text-muted);
}
.tab.is-active .tab__count { background: var(--accent-subtle); color: var(--gold-300); }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font: 500 13px/1 var(--font-sans);
  text-decoration: none;
  transition: background var(--dur-fast);
}
.nav-item:hover { background: var(--surface-hover); color: var(--text-primary); text-decoration: none; }
.nav-item.is-active { background: var(--accent-subtle); color: var(--gold-200); }
.nav-item.is-active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.nav-item.is-locked, .nav-item.is-locked:hover { color: var(--text-disabled); background: transparent; cursor: not-allowed; }
.nav-item__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item__count { font: 500 11px/1 var(--font-mono); color: var(--text-muted); }
.nav-item.is-active .nav-item__count { color: var(--gold-300); }

.field { display: block; min-width: 0; }
.field__label {
  display: block;
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field__hint { display: block; font: 400 12px/1.4 var(--font-sans); color: var(--text-muted); margin-top: 6px; }

.control {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--control-h-md);
  padding: 0 12px;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.control:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212, 170, 82, .14); }
.control .ic { width: 15px; height: 15px; color: var(--text-muted); }
.control input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  font: var(--text-body);
}
.control--sm { height: var(--control-h-sm); }
.control--sm input { font-size: 13px; }

.input, .select, .textarea {
  width: 100%;
  background: var(--surface-1);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font: var(--text-body);
  outline: 0;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input, .select { height: var(--control-h-md); padding: 0 12px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212, 170, 82, .14); }
.input--mono { font: var(--text-data); letter-spacing: .04em; }
.input--sm, .select--sm { height: var(--control-h-sm); font-size: 13px; }
.select {
  appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238494B2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
}
.select option { background: var(--navy-900); color: var(--text-primary); }
.textarea { resize: vertical; padding: 10px 12px; min-height: 90px; }

.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font: var(--text-small);
  color: var(--text-primary);
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check__box {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: var(--radius-xs);
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  transition: all var(--dur-fast);
}
.check input:checked + .check__box {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305090F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--accent);
}
.check input:focus-visible + .check__box { box-shadow: var(--focus-ring); }
.check input:disabled + .check__box { opacity: .5; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch__track {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: var(--navy-600);
  transition: background var(--dur-base) var(--ease-out);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--silver-200);
  transition: left var(--dur-base) var(--ease-out), background var(--dur-base);
}
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { left: 16px; background: var(--navy-950); }
.switch input:focus-visible + .switch__track { box-shadow: var(--focus-ring); }
.switch input:disabled + .switch__track { opacity: .5; cursor: not-allowed; }

.dialog {
  width: 560px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  background: var(--surface-2);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}
.dialog::backdrop { background: var(--surface-overlay); backdrop-filter: var(--blur-overlay); }
.dialog__inner { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 48px); margin: 0; }
.dialog__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline-gold);
}
.dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px 0; }
.dialog__eyebrow {
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 8px;
}
.dialog__title { font: var(--text-h2); color: var(--text-primary); }
.dialog__body { padding: 16px 24px 24px; overflow-y: auto; }
.dialog__foot {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
}

.lightbox { width: auto; max-width: calc(100vw - 48px); background: var(--surface-1); }
.lightbox__img { max-width: calc(100vw - 80px); max-height: calc(100vh - 140px); margin: 0 auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }

.toasts {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  --c: var(--info-fg);
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 360px;
  max-width: calc(100vw - 48px);
  padding: 12px 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--c); }
.toast--success { --c: var(--success-fg); }
.toast--danger { --c: var(--danger-fg); }
.toast--warning { --c: var(--warning-fg); }
.toast > .ic { width: 18px; height: 18px; color: var(--c); margin-top: 1px; }
.toast__title { font: 600 13px/1.3 var(--font-sans); color: var(--text-primary); }
.toast__msg { font: var(--text-small); color: var(--text-secondary); margin-top: 2px; }
.toast__close { background: none; border: 0; padding: 0; color: var(--text-muted); cursor: pointer; display: flex; }
.toast.is-hiding { opacity: 0; transform: translateY(8px); }

.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 72, 77, .35);
  background: var(--danger-subtle);
  color: var(--danger-fg);
  font: var(--text-small);
  text-align: left;
}
.alert--info { border-color: rgba(76, 141, 240, .35); background: var(--info-subtle); color: var(--info-fg); }

.upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  font: var(--text-small);
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.upload:hover, .upload.is-drag { border-color: var(--gold-500); background: var(--accent-subtle); color: var(--text-primary); }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload .ic { width: 20px; height: 20px; }
.upload__hint { font-size: 12px; color: var(--text-muted); }
.upload__list { font: 400 12px/1.6 var(--font-mono); color: var(--text-secondary); word-break: break-all; }
.upload__list:empty { display: none; }

.files { display: flex; flex-direction: column; }
.file { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--border-subtle); }
.file:first-child { border-top: 0; }
.file__icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-200);
}
.file__main { flex: 1; min-width: 0; }
.file__name { display: block; font-weight: 600; font-size: 13px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__meta { font-size: 12px; color: var(--text-muted); }
.file__size { font: 400 12px/1 var(--font-mono); color: var(--text-muted); white-space: nowrap; }
.file__actions { display: flex; gap: 4px; align-items: center; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  padding: 14px 18px;
}
.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--surface-1);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__item.is-photo { border-color: var(--border-gold); box-shadow: var(--glow-gold); }
.gallery__tools {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px;
  background: linear-gradient(transparent, rgba(5, 9, 15, .85));
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.gallery__item:hover .gallery__tools, .gallery__item:focus-within .gallery__tools { opacity: 1; }
.gallery__tools .icon-btn { background: rgba(5, 9, 15, .7); color: var(--text-primary); }

.empty {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  font-size: 13px;
}
.empty .ic { width: 24px; height: 24px; }
.empty__title { color: var(--text-primary); font-weight: 600; font-size: 14px; }

.pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.pager__info { font: 400 12px/1 var(--font-mono); color: var(--text-muted); }

.kv { margin: 0; }
.kv__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
}
.kv__row dt { color: var(--text-muted); }
.kv__row dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.kv__row dd.mono { font: var(--text-data); }

.meta-list { display: grid; gap: 14px; }
.meta-list .label { display: block; margin-bottom: 6px; }
.meta-list__value { font-size: 13px; }
