/* Nanban International — Command Center, RTO toolbar, Audit (light ivory) */

.nb-cc {
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
}

.nb-cc__head {
  margin-bottom: 14px;
}

.nb-cc__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c0a09;
}

.nb-cc__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.nb-cc__sub {
  margin-top: 4px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
}

.nb-cc__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .nb-cc__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nb-cc__card {
  text-align: left;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(28, 25, 23, 0.1);
  background: #fafaf9;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.nb-cc__card:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.25);
  background: #ffffff;
}

.nb-cc__card-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.nb-cc__card-value {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0c0a09;
  letter-spacing: -0.02em;
}

.nb-cc__card--emerald .nb-cc__card-value { color: #059669; }
.nb-cc__card--amber .nb-cc__card-value { color: #d97706; }
.nb-cc__card--rose .nb-cc__card-value { color: #e11d48; }
.nb-cc__card--indigo .nb-cc__card-value { color: #4f46e5; }
.nb-cc__card--cyan .nb-cc__card-value { color: #0891b2; }
.nb-cc__card--violet .nb-cc__card-value { color: #7c3aed; }
.nb-cc__card--blue .nb-cc__card-value { color: #2563eb; }
.nb-cc__card--slate .nb-cc__card-value { color: #475569; }

.nb-cc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
}

.nb-cc__btn {
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: #ffffff;
  color: #1c1917;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nb-cc__btn:hover {
  background: #f5f5f4;
  border-color: rgba(220, 38, 38, 0.25);
}

.nb-cc__btn--ghost {
  background: transparent;
  color: #4b5563;
}

.nb-intl-rto-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(28, 25, 23, 0.1);
  background: #ffffff;
}

.nb-intl-rto-search {
  flex: 1 1 200px;
  min-width: 180px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: #ffffff;
  color: #1c1917;
  font-size: 13px;
  font-weight: 500;
}

.nb-intl-rto-search::placeholder {
  color: #9ca3af;
}

.nb-intl-chip {
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: #f5f5f4;
  color: #374151;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nb-intl-chip.is-on {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.35);
  color: #4338ca;
}

.nb-intl-action-queue {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(217, 119, 6, 0.35);
  background: #fffbeb;
}

.nb-intl-action-queue__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 8px;
}

.nb-intl-action-queue__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nb-intl-action-chip {
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: #ffffff;
  color: #1c1917;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.nb-intl-action-chip span {
  color: #e11d48;
  margin-left: 6px;
}

.rto-file-card__due-badge {
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.rto-file-card__due-badge:hover {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.35);
}

.rto-file-card__profile-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.rto-file-card__profile-row .rto-file-card__btn--open {
  flex: 1;
}

.nb-audit-scroll {
  max-height: 65vh;
  overflow: auto;
}

.nb-audit-row {
  padding: 12px 8px;
  border-bottom: 1px dashed rgba(28, 25, 23, 0.12);
}

.nb-audit-action {
  font-weight: 700;
  color: #4f46e5;
}

.nb-audit-time {
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
}

.nb-audit-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}

.nb-intl-sync-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
}
