body {
  background: #f5f7fb;
}

.card-soft {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.navbar-brand {
  font-weight: 700;
}

.video-preview,
.canvas-preview,
.img-preview {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  background: #111;
}

.stat-box {
  background: linear-gradient(135deg, #ffffff, #f4f7ff);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
}

.small-muted {
  color: #6c757d;
  font-size: .9rem;
}

.table td,
.table th {
  vertical-align: middle;
}

.badge-soft {
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 500;
}

.badge-waiting {
  background: #fff3cd;
  color: #856404;
}

.badge-approved,
.badge-verified {
  background: #d1e7dd;
  color: #0f5132;
}

.badge-rejected,
.badge-exception {
  background: #f8d7da;
  color: #842029;
}

.badge-progress {
  background: #cfe2ff;
  color: #084298;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.status-box {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .95rem;
  border: 1px solid transparent;
}

.status-info {
  background: #e9f2ff;
  border-color: #bfd7ff;
  color: #084298;
}

.status-success {
  background: #eaf7ee;
  border-color: #b7e4c7;
  color: #0f5132;
}

.status-warning {
  background: #fff7df;
  border-color: #ffe08a;
  color: #7a5a00;
}

.status-danger {
  background: #fdeaea;
  border-color: #f1b0b7;
  color: #842029;
}

.row-selected td {
  background: #eef5ff !important;
}

textarea[readonly] {
  background: #f8f9fa;
}

.field-action-card {
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #ffffff;
}

.kpi-card {
  border: 1px solid #edf1f5;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  height: 100%;
}

.kpi-card .kpi-label {
  color: #6c757d;
  font-size: .88rem;
  margin-bottom: 6px;
}

.kpi-card .kpi-value {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.kpi-card .kpi-sub {
  color: #6c757d;
  font-size: .82rem;
  margin-top: 4px;
}

.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.table-tight td,
.table-tight th {
  padding-top: .55rem;
  padding-bottom: .55rem;
}

.report-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #0d6efd;
  font-size: .87rem;
  font-weight: 600;
}

.photo-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f8f9fa;
}

.text-mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


.btn[disabled] {
  cursor: not-allowed;
}

.status-box + .status-box {
  margin-top: .75rem;
}

.audit-stack {
  display: grid;
  gap: .25rem;
}

.audit-note {
  font-size: .85rem;
  color: #334155;
  white-space: normal;
}

.audit-meta {
  font-size: .78rem;
  color: #6c757d;
}

.table-actions {
  min-width: 120px;
}

.modal-soft .modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .16);
}

.modal-soft .modal-header,
.modal-soft .modal-footer {
  border-color: #eef2f7;
}

#rawLogsSection {
  scroll-margin-top: 90px;
}
