body {
  font-family: 'Nunito', sans-serif;
}

.content-wrapper {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}

.card {
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 6px 22px rgba(16, 24, 40, 0.08);
}

.card-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.main-sidebar .nav-link p {
  font-weight: 600;
}

.main-sidebar .nav-header {
  color: #a8b4c9;
  letter-spacing: 0.05em;
  font-weight: 700;
}

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

.table {
  font-size: 0.86rem;
}

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

.table thead th {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #0f172a;
  border-bottom: 1px solid #94a3b8;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table.table-sticky-first thead th:first-child {
  left: 0;
  z-index: 3;
  background: #f1f5f9;
}

.table.table-sticky-first tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #ffffff;
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.08);
}

.table tbody tr:nth-of-type(odd) {
  background-color: #ffffff;
}

.table tbody tr:nth-of-type(even) {
  background-color: #f7fafc;
}

.table tbody tr:hover {
  background-color: #eaf2ff;
}

.table tbody tr.row-focus {
  background-color: #cfe3ff;
}

.table.table-sticky-first tbody tr:nth-of-type(even) td:first-child {
  background-color: #f7fafc;
}

.table.table-sticky-first tbody tr:hover td:first-child {
  background-color: #eaf2ff;
}

.table.table-sticky-first tbody tr.row-focus td:first-child {
  background-color: #cfe3ff;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0.55rem;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  font-size: 0.84rem;
  min-height: 32px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  margin-top: 0.5rem;
  font-size: 0.82rem;
}

.btn {
  border-radius: 0.5rem;
  font-weight: 700;
}

.dataTables_filter input {
  border-radius: 0.45rem;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.55rem;
}

.table-responsive {
  border-radius: 0.6rem;
}

.table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.icon-action-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  border: 1px solid #dbe3ea;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.icon-action-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.icon-action-btn i {
  font-size: 0.82rem;
}

.icon-action-btn.tone-edit { color: #0369a1; border-color: #bae6fd; background: #f5fcff; }
.icon-action-btn.tone-delete { color: #b91c1c; border-color: #fecaca; background: #fff8f8; }
.icon-action-btn.tone-view { color: #1d4ed8; border-color: #bfdbfe; background: #f8fbff; }
.icon-action-btn.tone-key { color: #a16207; border-color: #fde68a; background: #fffdf5; }
.icon-action-btn.tone-open { color: #0f766e; border-color: #99f6e4; background: #f3fffd; }

.status-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.status-toggle::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transform: translateX(4px);
  transition: transform 0.16s ease;
}

.status-toggle.active {
  background: #22c55e;
  border-color: #16a34a;
}

.status-toggle.active::after {
  transform: translateX(22px);
}

.status-toggle.inactive {
  background: #ef4444;
  border-color: #dc2626;
}

.employees-grid {
  font-size: 0.78rem;
  table-layout: fixed;
  width: 100%;
}

.employees-grid td,
.employees-grid th {
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.employees-grid .btn.btn-sm {
  padding: 0.18rem 0.38rem;
}

.employees-grid .badge {
  font-size: 0.7rem;
}

.employees-grid .col-id,
.employees-grid .col-count,
.employees-grid .col-date,
.employees-grid .col-rmu,
.employees-grid .col-sercop,
.employees-grid .col-actions {
  white-space: nowrap;
}

.employees-grid .col-id { width: 44px; }
.employees-grid .col-cedula { width: 92px; }
.employees-grid .col-employee { width: 190px; }
.employees-grid .col-status { width: 74px; }
.employees-grid .col-date { width: 84px; }
.employees-grid .col-count { width: 72px; text-align: center; }
.employees-grid .col-analyst { width: 108px; }
.employees-grid .col-location { width: 92px; }
.employees-grid .col-unit { width: 180px; }
.employees-grid .col-position { width: 170px; }
.employees-grid .col-group { width: 120px; }
.employees-grid .col-rmu { width: 78px; text-align: right; }
.employees-grid .col-modality { width: 115px; }
.employees-grid .col-entry { width: 88px; }
.employees-grid .col-sercop { width: 60px; text-align: center; }
.employees-grid .col-actions { width: 138px; }

.employees-grid td.col-actions {
  text-align: center;
}

.quick-actions .btn {
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.dashboard-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.dashboard-action-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.dashboard-action-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  text-decoration: none;
}

.dashboard-action-chip span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dashboard-action-chip strong {
  font-size: 0.92rem;
  line-height: 1.15;
}

.dashboard-action-chip small {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.12rem;
}

.chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex: 0 0 auto;
}

.theme-primary .chip-icon { background: #eff6ff; color: #1d4ed8; }
.theme-warning .chip-icon { background: #fff7ed; color: #c2410c; }
.theme-info .chip-icon { background: #ecfeff; color: #0f766e; }
.theme-secondary .chip-icon { background: #eef2ff; color: #4338ca; }
.theme-dark .chip-icon { background: #f1f5f9; color: #0f172a; }
.theme-danger .chip-icon { background: #fff1f2; color: #be123c; }

.dashboard-metrics .metric-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 96px;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.dashboard-metrics .metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  text-decoration: none;
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  flex: 0 0 auto;
}

.metric-copy {
  display: flex;
  flex-direction: column;
}

.metric-copy small {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.18rem;
}

.metric-copy strong {
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 800;
}

.tone-info .metric-icon { background: #ecfeff; color: #0f766e; }
.tone-success .metric-icon { background: #ecfdf5; color: #15803d; }
.tone-amber .metric-icon { background: #fffbeb; color: #b45309; }
.tone-rose .metric-icon { background: #fff1f2; color: #be123c; }
.tone-indigo .metric-icon { background: #eef2ff; color: #4338ca; }
.tone-slate .metric-icon { background: #f1f5f9; color: #334155; }
.tone-green .metric-icon { background: #f0fdf4; color: #166534; }
.tone-gold .metric-icon { background: #fefce8; color: #a16207; }

.dashboard-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.pending-card {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  text-decoration: none;
}

.pending-card:hover {
  text-decoration: none;
  color: #0f172a;
  border-color: #cbd5e1;
}

.pending-card small {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.18rem;
}

.pending-card strong {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
}

.certificate-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.certificate-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.48rem 0.72rem;
  border-radius: 0.8rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.certificate-action:hover {
  text-decoration: none;
  color: #0f172a;
  transform: translateY(-1px);
}

.tone-pdf { color: #b91c1c; border-color: #fecaca; background: #fff8f8; }
.tone-mail { color: #1d4ed8; border-color: #bfdbfe; background: #f8fbff; }
.tone-eml { color: #047857; border-color: #a7f3d0; background: #f5fffb; }
.tone-back { color: #334155; border-color: #cbd5e1; background: #f8fafc; }

.certificate-helper-card .card-body {
  font-size: 0.88rem;
}

.documents-shell .card-header,
.document-preview-shell .card-header,
.employee-profile-ext-shell .card-header {
  background: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
}

.section-heading {
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

.section-heading .card-title {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.table-count-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #dbe3ea;
  background: #f8fafc;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 700;
}

.documents-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
}

.doc-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: #0f172a;
}

.doc-stat-card:hover {
  text-decoration: none;
  color: #0f172a;
}

.doc-stat-card small {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.16rem;
}

.doc-stat-card strong {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
}

.documents-filter-bar label,
.documents-batch-bar label,
.profile-side-form label,
.profile-main-form label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.22rem;
}

.documents-grid,
.preview-context-table,
.document-preview-pre {
  font-size: 0.82rem;
}

.document-preview-pre {
  white-space: pre-wrap;
  line-height: 1.42;
  background: #fcfdff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.preview-context-table th {
  width: 180px;
}

.profile-side-form .form-control,
.profile-main-form .form-control,
.profile-main-form .select2-container--bootstrap4 .select2-selection {
  font-size: 0.86rem;
}

.employee-profile-ext-shell .certs-table {
  font-size: 0.8rem;
}

.tone-dark { color: #0f172a; border-color: #cbd5e1; background: #f8fafc; }

.employee-view-shell .card-header {
  background: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
}

.employee-summary-card {
  font-size: 0.9rem;
}

.identity-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid #e2e8f0;
}

.identity-chip__icon {
  width: 46px;
  height: 46px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4338ca;
  font-size: 1rem;
}

.identity-chip__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.identity-chip__copy strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.identity-chip__copy span {
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.12rem;
}

.doc-status-stack {
  display: grid;
  gap: 0.35rem;
}

.doc-status-item {
  font-size: 0.84rem;
  color: #475569;
}

.employee-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.employee-action-card {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.employee-action-card:hover {
  text-decoration: none;
  color: #0f172a;
  transform: translateY(-1px);
}

.employee-action-card i {
  width: 20px;
  text-align: center;
}

.employees-filter-shell .card-body,
.employees-list-shell .card-body,
.history-import-shell .card-body {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.filter-toolbar-caption {
  font-size: 0.82rem;
  color: #64748b;
}

.history-import-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid #dbeafe;
  background: linear-gradient(90deg, #f8fbff 0%, #ffffff 100%);
}

.history-import-hero strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.12rem;
}

.history-import-hero span {
  color: #64748b;
  font-size: 0.8rem;
}

.hero-chip {
  white-space: nowrap;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 700;
}

.history-import-form label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.22rem;
}

.import-preview-table {
  font-size: 0.8rem;
}

.import-preview-table th,
.import-preview-table td {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.tone-amber { color: #b45309; border-color: #fcd34d; background: #fffdf5; }
.tone-green { color: #166534; border-color: #bbf7d0; background: #f5fff7; }
.tone-primary { color: #1d4ed8; border-color: #bfdbfe; background: #f8fbff; }
.tone-sky { color: #0369a1; border-color: #bae6fd; background: #f5fcff; }
.tone-slate { color: #334155; border-color: #cbd5e1; background: #f8fafc; }
.tone-neutral { color: #475569; border-color: #e2e8f0; background: #fcfcfd; }

.form-control-navbar {
  min-width: 260px;
  border-radius: 0.45rem 0 0 0.45rem;
}

.btn-navbar {
  border: 1px solid #ced4da;
  border-left: 0;
  border-radius: 0 0.45rem 0.45rem 0;
  background: #fff;
}

.wiz-step h5 {
  font-weight: 800;
  color: #1e293b;
}

.analysis-base-card .card-body {
  font-size: 0.92rem;
  line-height: 1.35;
}

.analysis-base-card p {
  margin-bottom: 0.38rem;
}

.analysis-base-card .card .card-header .card-title {
  font-size: 0.94rem;
}

.analysis-base-card .card .card-body {
  font-size: 0.88rem;
}

.analysis-base-card ul {
  margin-bottom: 0.38rem;
}

.queue-alert-chip {
  display: inline-block;
  font-size: 0.74rem;
  line-height: 1.2;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  margin: 0.08rem 0.14rem 0.08rem 0;
  border: 1px solid transparent;
  white-space: nowrap;
}

.queue-alert-chip i {
  margin-right: 0.2rem;
}

.queue-alert-critical {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #b91c1c;
}

.queue-alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

tr.row-status-pend-cert {
  background: #fffdf5;
}

tr.row-status-pend-decision {
  background: #f4fbff;
}

tr.row-status-observado {
  background: #fff7f7;
}

tr.row-status-listo {
  background: #f6fff8;
}

.profile-analysis-shell > .card-header .card-title {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.profile-analysis-shell {
  --pa-accent: #0f766e;
  --pa-accent-soft: #ecfeff;
  --pa-accent-border: #99f6e4;
  --pa-ink-soft: #475569;
}

.profile-analysis-shell > .card-header {
  background: linear-gradient(90deg, #ecfeff 0%, #ffffff 72%);
  border-bottom-color: #d1fae5;
}

.profile-analysis-shell > .card-header .card-title {
  color: #0f172a;
}

.profile-analysis-shell .card-title {
  font-size: 0.95rem;
}

.profile-analysis-shell .card-outline.card-warning,
.profile-analysis-shell .card-outline.card-info,
.profile-analysis-shell .card-outline.card-secondary,
.profile-analysis-shell .card-outline.card-success {
  border-top-width: 2px;
}

.profile-analysis-shell .card-outline.card-info {
  border-top-color: var(--pa-accent);
}

.profile-analysis-shell .card-outline.card-secondary {
  border-top-color: #64748b;
}

.profile-analysis-shell .card-outline.card-success {
  border-top-color: #15803d;
}

.profile-analysis-shell label {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #334155;
}

.profile-analysis-shell .form-control,
.profile-analysis-shell .custom-select {
  font-size: 0.86rem;
  min-height: 34px;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}

.profile-analysis-shell .btn {
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-analysis-shell .btn-primary {
  background: #0f766e;
  border-color: #0f766e;
}

.profile-analysis-shell .btn-primary:hover,
.profile-analysis-shell .btn-primary:focus {
  background: #0c5f59;
  border-color: #0c5f59;
}

.profile-analysis-shell .btn-outline-primary {
  color: #0f766e;
  border-color: #0f766e;
}

.profile-analysis-shell .btn-outline-primary:hover,
.profile-analysis-shell .btn-outline-primary:focus {
  background: #0f766e;
  border-color: #0f766e;
}

.profile-analysis-shell .card,
.profile-analysis-shell .btn,
.profile-analysis-shell .queue-alert-chip {
  transition: all 0.18s ease;
}

.profile-analysis-shell .card.card-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.profile-analysis-shell .btn:hover {
  transform: translateY(-1px);
}

.profile-analysis-shell .form-control:focus,
.profile-analysis-shell .custom-select:focus,
.profile-analysis-shell .btn:focus {
  box-shadow: 0 0 0 0.18rem rgba(15, 118, 110, 0.18);
  border-color: #2dd4bf;
}

.profile-analysis-shell p {
  margin-bottom: 0.42rem;
  color: var(--pa-ink-soft);
}

.profile-analysis-shell p strong {
  color: #0f172a;
}

.profile-analysis-shell .queue-table,
.profile-analysis-shell .certs-table {
  font-size: 0.82rem;
}

.profile-analysis-shell .queue-table thead th,
.profile-analysis-shell .certs-table thead th {
  background: linear-gradient(180deg, #e6fffb 0%, #ccfbf1 100%);
  border-bottom-color: #99f6e4;
  color: #134e4a;
}

.profile-analysis-shell .queue-table th,
.profile-analysis-shell .queue-table td,
.profile-analysis-shell .certs-table th,
.profile-analysis-shell .certs-table td {
  padding-top: 0.34rem;
  padding-bottom: 0.34rem;
}

.profile-analysis-shell .certs-summary {
  background: var(--pa-accent-soft);
  border: 1px solid var(--pa-accent-border);
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
}

.profile-analysis-shell .summary-detail-pre {
  font-size: 0.8rem;
  line-height: 1.35;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  padding: 0.45rem 0.5rem;
  max-height: 140px;
  overflow: auto;
}

.profile-analysis-shell .card.card-outline {
  margin-bottom: 0.85rem;
}

.profile-analysis-shell .badge {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.profile-analysis-shell.focus-mode .focus-hide {
  display: none;
}

@media (max-width: 767.98px) {
  .dashboard-actions,
  .dashboard-pending-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-metrics .metric-card {
    min-height: 84px;
  }

  .metric-copy strong {
    font-size: 1.35rem;
  }

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

  .employee-action-grid {
    grid-template-columns: 1fr;
  }

  .history-import-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .documents-stats,
  .certificate-toolbar,
  .employee-action-grid {
    grid-template-columns: 1fr;
  }

  .profile-analysis-shell > .card-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.4rem;
  }

  .profile-analysis-shell > .card-header .btn {
    width: 100%;
  }

  .profile-analysis-shell .form-row > [class*='col-'] {
    margin-bottom: 0.45rem;
  }

  .profile-analysis-shell .queue-table,
  .profile-analysis-shell .certs-table {
    font-size: 0.78rem;
  }

  .profile-analysis-shell .certs-summary {
    padding: 0.45rem 0.5rem;
  }
}
