.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #2a2f3d;
}
.topbar h1 { font-size: 1.2rem; margin: 0; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 24px 24px;
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
}

.panel {
  background: #1c202b;
  border-radius: 14px;
  padding: 20px;
}
.panel h2 { margin-top: 0; font-size: 1.05rem; }

button.small { width: auto; padding: 8px 14px; font-size: 0.85rem; }
.muted.small { font-size: 0.8rem; }

.dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #6ee79a;
  margin-left: 6px;
}

.qr-item, .feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #2a2f3d;
  gap: 10px;
}
.qr-item:last-child, .feed-item:last-child { border-bottom: none; }

.qr-item img { width: 46px; height: 46px; border-radius: 6px; background: white; padding: 2px; }
.qr-meta { flex: 1; }
.qr-meta .label { font-weight: 600; }
.qr-meta .sub { font-size: 0.8rem; color: #9aa2b1; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #2a2f3d; font-size: 0.9rem; }
th { color: #9aa2b1; font-weight: 500; }

.actions { display: flex; gap: 6px; }
.actions button { width: auto; padding: 6px 10px; font-size: 0.78rem; }

.field-label {
  display: block;
  font-size: 0.82rem;
  color: #9aa2b1;
  margin: 8px 0 4px;
}

select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #3a4152;
  background: #12151c;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #d8dce3;
  margin-bottom: 14px;
  cursor: pointer;
}
.checkbox-row input { width: auto; margin: 0; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.modal { margin: 0; width: 90%; max-width: 440px; }

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #2a2f3d;
  gap: 10px;
}
.list-item:last-child { border-bottom: none; }
.list-item .meta { flex: 1; }
.list-item .meta .label { font-weight: 600; }
.list-item .meta .sub { font-size: 0.8rem; color: #9aa2b1; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #2a2f3d;
  color: #d8dce3;
  margin-left: 6px;
}
.tag.unique { background: #4d3b1f; color: #f0b96e; }
.tag.claimed { background: #1f4d33; color: #6ee79a; }
