:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --sidebar: 264px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter Variable', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  flex: none;
}

/* ---------- Shell ---------- */
.shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  z-index: 40;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.side-head {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid var(--slate-100);
}

.side-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-logo svg {
  width: 20px;
  height: 20px;
}

.side-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
}

.side-name small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 700;
}

.side-nav {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
}

.side-foot {
  border-top: 1px solid var(--slate-100);
  padding: 12px;
}

.main {
  padding-left: var(--sidebar);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

.topbar h1 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--slate-500);
  padding: 8px;
  border-radius: 10px;
}

.icon-btn:hover {
  background: var(--slate-100);
}

.content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 28px 60px;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fff9ea, #ffffff);
  border: 1px solid rgba(201, 147, 47, 0.4);
  border-radius: 14px;
  padding: 13px 18px;
  margin-bottom: 24px;
  box-shadow: 0 16px 34px -30px rgba(201, 147, 47, 0.9);
}

.demo-banner .tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a5a12;
  background: linear-gradient(135deg, #f9e6ac, #ecc35f);
  border-radius: 999px;
  padding: 6px 12px;
}

.demo-banner p {
  flex: 1;
  min-width: 220px;
  font-size: 14px;
  color: #5c4614;
}

.demo-banner a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-700);
}

.demo-banner a:hover {
  text-decoration: underline;
}

/* ---------- Nav links ---------- */
.section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 10px 12px 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.nav-link svg {
  width: 17px;
  height: 17px;
}

.nav-link:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.nav-link.active {
  background: var(--brand-50);
  color: var(--brand-700);
}

.nav-link span.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-link .dot-off {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-300);
}

/* ---------- Cards ---------- */
.card {
  border-radius: 14px;
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--slate-100);
  padding: 14px 22px;
}

.card-body {
  padding: 20px 22px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.span-2 {
  grid-column: span 2;
}

/* Fields placed directly in a grid are spaced by the grid gap, not by their
   own bottom margin, so rows line up evenly. */
.grid > .field {
  margin-bottom: 0;
}

.mt-6 {
  margin-top: 22px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-2 {
  margin-top: 8px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Text ---------- */
.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.1;
}

.stat-value small {
  font-size: 16px;
  color: var(--slate-400);
  font-weight: 600;
}

.stat-label {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 4px;
}

.muted {
  color: var(--slate-500);
  font-size: 14px;
}

.tiny {
  font-size: 12px;
  color: var(--slate-400);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--slate-500);
}

.title-sm {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-700);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
}

.btn-secondary:hover {
  background: var(--slate-50);
}

.btn-gold {
  background: linear-gradient(180deg, #f0cd7a, #c9932f);
  color: #3a2a08;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 16px;
}

.label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--slate-900);
  background: #fff;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

.help {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 5px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-700);
  font-weight: 500;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-600);
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--slate-300);
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
  flex: none;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
}

.switch.on {
  background: var(--brand-600);
}

.switch.on::after {
  transform: translateX(18px);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}

.badge svg {
  width: 13px;
  height: 13px;
}

.badge-green {
  background: #ecfdf5;
  color: #047857;
}

.badge-slate {
  background: var(--slate-100);
  color: var(--slate-600);
}

.badge-blue {
  background: var(--brand-50);
  color: var(--brand-700);
}

.badge-gold {
  background: #fdf6e3;
  color: #8a6a12;
}

.badge-red {
  background: #fef2f2;
  color: #b91c1c;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--slate-200);
  overflow-x: auto;
}

.tab-btn {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--slate-700);
}

.tab-btn.tab-active {
  color: var(--brand-700);
  border-bottom-color: var(--brand-600);
}

.tab-panel.hidden {
  display: none;
}

/* ---------- Summary + charts ---------- */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.summary-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 15px 16px;
}

.summary-item .k {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.summary-item .v {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding-top: 8px;
}

.chart .bar {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  min-height: 4px;
  transition: height 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.is-updating {
  animation: statPulse 0.7s ease;
}

@keyframes statPulse {
  0% {
    opacity: 0.55;
  }
  100% {
    opacity: 1;
  }
}

.donut {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 150px;
}

.donut-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  flex: none;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  flex: 1;
  min-width: 0;
}

.legend .lrow {
  width: 100%;
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 8px;
}

.legend .lrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-600);
}

.legend .lrow b {
  margin-left: auto;
  color: var(--slate-900);
}

/* ---------- Lists ---------- */
.list {
  display: flex;
  flex-direction: column;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

.list-row .grow {
  flex: 1;
  min-width: 0;
}

.list-row .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-row .s {
  font-size: 12.5px;
  color: var(--slate-500);
}

.list-row .m {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Plugin cards ---------- */
.plugin-card {
  display: block;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.plugin-card:hover {
  box-shadow: 0 18px 36px -26px rgba(15, 23, 42, 0.5);
  transform: translateY(-2px);
}

.picon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.picon svg {
  width: 20px;
  height: 20px;
}

.picon.on {
  background: var(--brand-600);
  color: #fff;
}

button.picon {
  border: 0;
  cursor: pointer;
}

/* ---------- Checklist ---------- */
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-row svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.check-row .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
}

.check-row .s {
  font-size: 13.5px;
  color: var(--slate-500);
}

/* ---------- Log console ---------- */
.console {
  background: #0f172a;
  color: #cbd5e1;
  border-radius: 12px;
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.console .warn {
  color: #fbbf24;
}

.console .err {
  color: #f87171;
}

/* ---------- Empty / alerts ---------- */
.empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--slate-500);
}

.empty svg {
  width: 34px;
  height: 34px;
  color: var(--slate-300);
  margin: 0 auto 12px;
}

.alert {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  margin-bottom: 16px;
}

.alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.alert-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.alert-info {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-700);
}

.backdrop {
  display: none;
}

/* ---------- Login ---------- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 430px;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.login-brand .side-logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.login-brand .side-logo svg {
  width: 24px;
  height: 24px;
}

.login-brand span {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
}

.login-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--slate-400);
  margin-top: 16px;
}

/* ---------- Guild picker ---------- */
.guild-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: border 0.15s ease, background 0.15s ease;
}

.guild-option:hover {
  background: var(--slate-50);
}

.guild-option.active {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-700);
}

.guild-option .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.guild-option .s {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    padding-left: 0;
  }
  .icon-btn {
    display: inline-flex;
  }
  .backdrop.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 35;
  }
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .content {
    padding: 22px 16px 50px;
  }
  .topbar {
    padding: 0 16px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
}

/* ---------- Feedback modal ---------- */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.6);
  padding: 22px;
  animation: modal-in 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-close {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--slate-500);
  padding: 6px;
  border-radius: 9px;
  line-height: 0;
}

.modal-close:hover {
  background: var(--slate-100);
  color: var(--slate-700);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.rating {
  display: flex;
  gap: 6px;
}

.rating-star {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 4px;
  color: var(--slate-300);
  line-height: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.rating-star:hover {
  transform: translateY(-1px);
}

.rating-star svg {
  width: 26px;
  height: 26px;
}

.rating-star.on {
  color: #f59e0b;
}

.rating-star.on svg {
  fill: #f59e0b;
  stroke: #f59e0b;
}

#feedback-form .textarea {
  min-height: 120px;
}

@media (prefers-reduced-motion: reduce) {
  .modal-card {
    animation: none;
  }
}

/* ---------- Plugin configuration forms ---------- */
.grid > .config-heading {
  grid-column: 1 / -1;
}

.config-heading {
  padding: 16px 0 2px;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 2px;
}

.config-heading:first-child {
  padding-top: 0;
}

.config-heading-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 0;
  padding-top: 12px;
}

select.select[multiple] {
  height: auto;
  min-height: 84px;
  padding: 6px;
}

.element-row {
  background: var(--slate-50);
}

.element-row .card-body {
  padding: 16px 18px;
}

.element-row .field {
  margin-bottom: 0;
}

/* ---------- Member mentions ---------- */
.mention {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

/* ---------- Banner editor (drag & drop) ---------- */
.banner-element-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banner-element-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 8px 10px;
}

.banner-element-row.is-selected {
  border-color: var(--brand-500);
  background: var(--brand-50);
}

.banner-element-row input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-600);
  flex: none;
}

.banner-element-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
}

.banner-element-remove {
  flex: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--slate-400);
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 8px;
}

.banner-element-remove:hover {
  background: #fef2f2;
  color: #dc2626;
}

#banner-stage canvas:active {
  cursor: grabbing;
}

/* ---------- List detail rows (recent activity) ---------- */
.list-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
}

.list-detail {
  font-size: 12px;
  color: var(--slate-500);
}

.list-detail-label {
  font-weight: 600;
  color: var(--slate-400);
  margin-right: 2px;
}

/* ---------- Admin panel ---------- */
.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 8px 12px;
  border-bottom: 1px solid var(--slate-200);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 420px;
  margin-left: auto;
}
