/*
 * Aplicación web de salud ocupacional (Medico).
 *
 * Copyright (c) Dr. Sergio Velasquez. Todos los derechos reservados.
 * Código realizado por el Dr. Sergio Velasquez.
 */

/* Complemento a Bootstrap — estilo panel tipo dashboard corporativo */
.app-body {
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}

/* Cabecera fija: evita solapamiento del contenido al hacer scroll */
.app-header.sticky-top {
  z-index: 1030;
}
.app-main {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
}

/* Título HCE: bloque claro bajo la barra de menú */
.hce-form-head {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

/* Modo oscuro — refuerzo de componentes custom */
[data-bs-theme="dark"] .metric-card {
  background: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}
[data-bs-theme="dark"] .metric-card:hover {
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .panel-card {
  border-color: var(--bs-border-color);
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.25);
}
[data-bs-theme="dark"] .panel-card .table thead th {
  color: var(--bs-secondary-color);
}
[data-bs-theme="dark"] .flash-legacy.err {
  background: rgba(220, 53, 69, 0.15);
  color: #f8a0a8;
  border-color: rgba(220, 53, 69, 0.45);
}
[data-bs-theme="dark"] .flash-legacy.ok {
  background: rgba(25, 135, 84, 0.15);
  color: #86dfc0;
  border-color: rgba(25, 135, 84, 0.45);
}
[data-bs-theme="dark"] .app-logo {
  filter: brightness(1.15) contrast(1.02);
}

/* Encabezados de tarjeta y fondos claros heredados — alinear con el tema */
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .card.bg-white {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
}
[data-bs-theme="dark"] .bg-light-subtle {
  background-color: var(--bs-tertiary-bg) !important;
}
[data-bs-theme="dark"] .card-header.bg-white {
  background-color: var(--bs-secondary-bg) !important;
  border-color: var(--bs-border-color) !important;
}
[data-bs-theme="dark"] .card-footer.bg-white {
  background-color: var(--bs-secondary-bg) !important;
}
[data-bs-theme="dark"] .bg-light {
  background-color: var(--bs-secondary-bg) !important;
}
[data-bs-theme="dark"] .badge.text-bg-light.text-dark {
  color: var(--bs-body-color) !important;
  background-color: var(--bs-secondary-bg) !important;
  border-color: var(--bs-border-color) !important;
}
[data-bs-theme="dark"] .input-group-text.bg-light {
  background-color: var(--bs-tertiary-bg) !important;
  border-color: var(--bs-border-color) !important;
}
[data-bs-theme="dark"] .alert-light {
  background-color: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}

.app-logo {
  height: 48px;
  width: auto;
  max-width: min(280px, 42vw);
  display: block;
  object-fit: contain;
}

.app-logo--login {
  height: 72px;
  width: auto;
  max-width: 100%;
}

.app-module-nav {
  justify-content: center;
}

.app-module-nav .btn {
  font-weight: 500;
}

.page-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bs-body-color);
  margin-bottom: 1rem;
}

/* Tarjetas de métricas (KPI) */
.metric-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  padding: 1rem 1.15rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease;
  position: relative;
}
.metric-card:hover {
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.08);
}
.metric-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.metric-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.metric-card--primary .metric-card__value { color: #0d6efd; }
.metric-card--success .metric-card__value { color: #198754; }
.metric-card--warning .metric-card__value { color: #fd7e14; }
.metric-card--danger .metric-card__value { color: #dc3545; }
.metric-card--info .metric-card__value { color: #0dcaf0; }

/* Tabla en panel */
.panel-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  overflow: hidden;
}
.panel-card .table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  border-bottom-width: 1px;
  white-space: nowrap;
}
.panel-card .table td {
  vertical-align: middle;
}

.badge-status {
  font-weight: 600;
  font-size: 0.7rem;
  padding: 0.35em 0.65em;
  letter-spacing: 0.02em;
}

.toolbar-gap {
  gap: 0.5rem;
}

/* Login / errores heredan utilidades Bootstrap; mantenemos utilidades mínimas */
.flash-legacy {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.flash-legacy.err { background: #fff5f5; color: #c53030; border: 1px solid #feb2b2; }
.flash-legacy.ok { background: #f0fff4; color: #276749; border: 1px solid #9ae6b4; }

.hint { font-size: 0.875rem; color: #6c757d; }

/* Vigilancia epidemiológica — gráficos Chart.js */
.epi-chart-wrap {
  position: relative;
  min-height: 260px;
  max-height: 320px;
}

/* --- ESTILOS DINÁMICOS Y COMPONENTES PREMIUM --- */

/* Insignias de códigos (Centros de Trabajo, etc.) */
span.badge.custom-code-badge {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
    border: 1px solid rgba(13, 110, 253, 0.3) !important;
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
    font-weight: 700 !important;
    padding: 0.4em 0.8em !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}

[data-bs-theme="dark"] span.badge.custom-code-badge {
    background-color: rgba(13, 202, 240, 0.2) !important;
    color: #0dcaf0 !important;
    border-color: rgba(13, 202, 240, 0.4) !important;
}

/* Botones de Acción (Listados) */
.btn-action-view {
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .btn-action-view {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f8f9fa;
}

.btn-action-view:hover {
    background-color: var(--bs-primary);
    color: white !important;
    border-color: var(--bs-primary);
}

/* Paginación Estética */
.pagination .page-link {
    border: none;
    color: var(--bs-secondary);
    transition: all 0.2s ease;
    background-color: transparent;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: var(--bs-primary-subtle);
    color: var(--bs-primary);
}

/* Utilidades de Visualización */
.smaller { font-size: 0.75rem; }
.avatar-sm { width: 38px; height: 38px; object-fit: cover; }

.table-hover tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.02) !important;
}

/* Refuerzos para Modo Oscuro en Tablas y Tarjetas */
[data-bs-theme="dark"] .table-light {
    --bs-table-bg: rgba(255, 255, 255, 0.02);
}

[data-bs-theme="dark"] .bg-primary-subtle {
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}

/* Estilos de Tabla Premium */
.table-premium thead {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.table-premium thead th {
    color: var(--bs-primary-emphasis);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--bs-border-color);
}

[data-bs-theme="dark"] .table-premium thead {
    background-color: rgba(255, 255, 255, 0.03);
}

/* —— Bitácora de auditoría —— */
.audit-log-card .card-header {
    background-color: var(--bs-body-bg);
}

.audit-log-module-badge {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary-text-emphasis, var(--bs-primary));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.22);
}

.audit-log-event-badge {
    font-size: 0.78rem;
    font-weight: 500;
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
}

.audit-log-table tbody tr {
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.audit-log-table__summary {
    color: var(--bs-body-color);
    line-height: 1.45;
}

.audit-log-footer .pagination .page-link {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.audit-log-filters input[type="date"] {
    color-scheme: light;
}

[data-bs-theme="dark"] .audit-log-card .card-header {
    background-color: var(--bs-secondary-bg);
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .audit-log-module-badge {
    background-color: rgba(var(--bs-primary-rgb), 0.16);
    color: var(--bs-primary);
    border-color: rgba(var(--bs-primary-rgb), 0.32);
}

[data-bs-theme="dark"] .audit-log-event-badge {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--bs-body-color);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .audit-log-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-bs-theme="dark"] .audit-log-table__date {
    color: var(--bs-secondary-color) !important;
}

[data-bs-theme="dark"] .audit-log-table__actor {
    color: var(--bs-emphasis-color, var(--bs-body-color));
}

[data-bs-theme="dark"] .audit-log-footer {
    background-color: var(--bs-secondary-bg) !important;
}

[data-bs-theme="dark"] .audit-log-footer .pagination .page-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .audit-log-filters input[type="date"] {
    color-scheme: dark;
}

[data-bs-theme="dark"] .audit-log-empty {
    color: var(--bs-secondary-color) !important;
}

.audit-observations-table tbody tr {
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
    transition: background-color 0.15s ease;
}

/* —— Observaciones de auditoría —— */
.audit-observations-card .card-header {
    background-color: var(--bs-body-bg);
}

.audit-observations-count-badge {
    font-weight: 500;
    font-size: 0.85rem;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary-text-emphasis, var(--bs-primary));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.22);
}

.audit-observations-filter-badge--active {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--bs-primary);
}

.audit-observations-filter-badge--inactive {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
}

.audit-observations-severity-badge {
    font-size: 0.78rem;
    font-weight: 500;
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
}

.audit-observations-table__title {
    color: var(--bs-emphasis-color, var(--bs-body-color));
}

.audit-observations-table__body,
.audit-observations-table__note,
.audit-observations-table__resolved {
    color: var(--bs-secondary-color);
    line-height: 1.45;
}

.audit-observations-footer .pagination .page-link {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .audit-observations-card .card-header {
    background-color: var(--bs-secondary-bg);
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .audit-observations-count-badge {
    background-color: rgba(var(--bs-primary-rgb), 0.16);
    color: var(--bs-primary);
    border-color: rgba(var(--bs-primary-rgb), 0.32);
}

[data-bs-theme="dark"] .audit-observations-filter-badge--active {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .audit-observations-filter-badge--inactive {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .audit-observations-severity-badge {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--bs-body-color);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .audit-observations-table thead {
    background-color: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .audit-observations-table thead th {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .audit-observations-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-bs-theme="dark"] .audit-observations-table__date,
[data-bs-theme="dark"] .audit-observations-table__body,
[data-bs-theme="dark"] .audit-observations-table__note,
[data-bs-theme="dark"] .audit-observations-table__resolved {
    color: var(--bs-secondary-color) !important;
}

[data-bs-theme="dark"] .audit-observations-table__title {
    color: var(--bs-emphasis-color, var(--bs-body-color));
}

[data-bs-theme="dark"] .audit-observations-footer {
    background-color: var(--bs-secondary-bg) !important;
}

[data-bs-theme="dark"] .audit-observations-footer .pagination .page-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .audit-observations-empty {
    color: var(--bs-secondary-color) !important;
}

[data-bs-theme="dark"] .audit-observations-filters .btn-outline-secondary {
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .audit-observations-filters .btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .audit-observations-table .btn-outline-secondary:not(:disabled) {
    color: var(--bs-body-color);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-bs-theme="dark"] .audit-observations-table .btn-outline-secondary:not(:disabled):hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .audit-observations-table .badge.text-bg-warning {
    color: #1a1a1a;
}

[data-bs-theme="dark"] .audit-observations-empty .opacity-50 {
    opacity: 0.35 !important;
}

/* Lista de registros en móvil (sustituye tablas anchas) */
.app-record-list__item {
    padding: 1rem;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.app-record-list__item:last-child {
    border-bottom: 0;
}

.app-record-list__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.app-record-list__title {
    font-weight: 600;
    color: var(--bs-body-color);
    line-height: 1.35;
    min-width: 0;
}

.app-record-list__meta {
    display: grid;
    gap: 0.35rem;
    margin: 0 0 0.85rem;
}

.app-record-list__meta-row {
    display: grid;
    grid-template-columns: minmax(6.5rem, 34%) 1fr;
    gap: 0.5rem;
    align-items: baseline;
}

.app-record-list__meta-row dt {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
}

.app-record-list__meta-row dd {
    margin: 0;
    font-size: 0.875rem;
    color: var(--bs-body-color);
    word-break: break-word;
}

.agreement-status-badge {
    font-weight: 600;
    border: 1px solid transparent;
}

.agreement-status-badge--pending {
    background-color: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
    border-color: var(--bs-warning-border-subtle);
}

.agreement-status-badge--review {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    border-color: var(--bs-primary-border-subtle);
}

.agreement-status-badge--review-late {
    background-color: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
    border-color: var(--bs-info-border-subtle);
}

.agreement-status-badge--completed {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
    border-color: var(--bs-success-border-subtle);
}

.agreement-status-badge--completed-late {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-color: #ffb74d;
}

[data-bs-theme="dark"] .agreement-status-badge--completed-late {
    background-color: rgba(46, 125, 50, 0.2);
    color: #81c784;
    border-color: #ff9800;
}

.agreement-status-badge--rejected {
    background-color: #fff3e0;
    color: #e65100;
    border-color: #ffcc80;
}

[data-bs-theme="dark"] .agreement-status-badge--rejected {
    background-color: rgba(230, 81, 0, 0.15);
    color: #ffb74d;
    border-color: rgba(255, 152, 0, 0.45);
}

.agreement-status-badge--failed {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger);
    border-color: var(--bs-danger-border-subtle);
}

.agreement-proof-review {
    background: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

[data-bs-theme="dark"] .agreement-proof-review {
    background: rgba(255, 255, 255, 0.04);
}

.agreement-upload-form .form-control[type="file"] {
    max-width: 100%;
}

/* —— Shell de página y subnavegación de módulo —— */
.app-page-header__eyebrow {
  letter-spacing: 0.06em;
  font-size: 0.7rem;
}

.app-page-header__description {
  max-width: 42rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .app-page-header > .d-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .app-page-header__main {
    min-width: 0;
  }

  .page-title {
    font-size: 1.15rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .app-page-header__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .app-meta-stats {
    white-space: normal;
  }
}

.app-meta-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.375rem;
  background: var(--bs-body-bg);
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  line-height: 1.2;
  white-space: nowrap;
}

.app-meta-stats__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.app-meta-stats__label {
  color: var(--bs-secondary-color);
  font-weight: 500;
}

.app-meta-stats__icon {
  color: var(--bs-primary);
  font-size: 0.85rem;
}

.app-meta-stats__count {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--bs-body-color);
}

.app-meta-stats__separator {
  width: 1px;
  align-self: stretch;
  background: var(--bs-border-color-translucent, rgba(0, 0, 0, 0.12));
}

.app-module-subnav {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
}

.app-module-subnav__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.app-module-subnav__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem;
  min-width: min-content;
}

.app-module-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.app-module-subnav__link:hover {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.app-module-subnav__link.is-active {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.2);
  font-weight: 600;
}

.app-module-subnav__link--config.is-active {
  color: var(--bs-secondary-color);
  background: var(--bs-secondary-bg);
  box-shadow: inset 0 0 0 1px var(--bs-border-color);
}

.app-module-subnav__icon {
  font-size: 1rem;
  opacity: 0.85;
}

.app-module-subnav__divider {
  align-self: stretch;
  width: 1px;
  margin: 0.35rem 0.25rem;
  background: var(--bs-border-color);
  flex-shrink: 0;
}

.app-page-context__breadcrumb .breadcrumb {
  --bs-breadcrumb-divider: "›";
  background: transparent;
  padding: 0;
}

.app-page-context__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-secondary-color);
}

.app-filter-card .form-label {
  margin-bottom: 0.25rem;
}

[data-bs-theme="dark"] .app-module-subnav {
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .app-module-subnav__link.is-active {
  background: rgba(var(--bs-primary-rgb), 0.18);
}

/* —— Ficha y formulario de trabajador —— */
.worker-profile-hero {
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, var(--bs-body-bg) 55%);
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
}

.worker-profile-photo {
  aspect-ratio: 3 / 4;
  max-width: 220px;
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color);
}

.worker-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worker-profile-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary-color);
  min-height: 220px;
}

.worker-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  font-size: 0.8125rem;
}

.worker-stat-chip__icon {
  color: var(--bs-primary);
  font-size: 1rem;
}

.worker-detail-section {
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.65rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
  height: 100%;
}

.worker-detail-section__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.worker-detail-section__body {
  padding: 1rem 1.15rem;
}

.worker-detail-field {
  margin-bottom: 0.85rem;
}

.worker-detail-field:last-child {
  margin-bottom: 0;
}

.worker-detail-field__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bs-secondary-color);
  margin-bottom: 0.15rem;
}

.worker-detail-field__value {
  font-size: 0.9375rem;
  color: var(--bs-body-color);
  word-break: break-word;
}

.worker-form-section {
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.65rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
}

.worker-form-section__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  background: var(--bs-tertiary-bg);
  border-radius: 0.65rem 0.65rem 0 0;
}

.worker-form-section__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.worker-form-section__body {
  padding: 1.15rem 1.25rem 1.25rem;
}

.worker-form-aside {
  position: sticky;
  top: 1rem;
}

.worker-form-actions {
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.65rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
  padding: 1rem 1.15rem;
}

[data-bs-theme="dark"] .worker-profile-hero,
[data-bs-theme="dark"] .worker-detail-section,
[data-bs-theme="dark"] .worker-form-section,
[data-bs-theme="dark"] .worker-form-actions {
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.25);
}

/* —— Mi perfil (centro de cuenta) —— */
.profile-account {
  --profile-account-label-width: 8.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-account .worker-detail-section__body,
.profile-account-hero,
.profile-account-secondary {
  padding: 1.15rem;
}

.profile-account .worker-detail-section__head,
.profile-account-pending__header {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.profile-account-pending__list {
  padding: 0.35rem 1.15rem 0.85rem;
}

.profile-account-hero {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, var(--bs-body-bg) 58%);
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
}

.profile-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.14);
  color: var(--bs-primary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.profile-account-hero__name {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bs-body-color);
  overflow-wrap: anywhere;
}

.profile-account-hero__meta {
  display: grid;
  gap: 0.45rem;
}

.profile-account-hero__meta-row {
  display: grid;
  grid-template-columns: var(--profile-account-label-width) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  margin: 0;
}

.profile-account-hero__meta-row dt,
.profile-account-hero__meta-row dd {
  margin: 0;
}

.profile-account-field__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bs-secondary-color);
}

.profile-account-field__label i {
  width: 0.95rem;
  font-size: 0.85rem;
  text-align: center;
  flex-shrink: 0;
}

.profile-account-field__value {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--bs-body-color);
  overflow-wrap: anywhere;
}

.profile-account-section-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

.profile-account-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.profile-account-grid__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  align-items: start;
}

.profile-account-grid__cell,
.profile-account-field {
  min-width: 0;
}

.profile-account-field {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.3rem;
  height: 100%;
}

.profile-account-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border: 1px dashed var(--bs-border-color-translucent, rgba(0, 0, 0, 0.12));
  border-radius: 0.65rem;
  background: var(--bs-tertiary-bg);
}

.profile-account-secondary__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bs-primary);
  text-decoration: none;
}

.profile-account-secondary__link:hover,
.profile-account-secondary__link:focus-visible {
  color: var(--bs-primary);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .profile-account {
    --profile-account-label-width: 7.25rem;
  }

  .profile-account-grid__row,
  .profile-account-hero__meta-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .profile-account-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-bs-theme="dark"] .profile-account-hero {
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.25);
}

.profile-account-pending {
  border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.profile-account-pending__header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  background: rgba(var(--bs-warning-rgb), 0.08);
}

.profile-account-pending__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bs-body-color);
}

.profile-account-pending__list {
  padding: 0.35rem;
}

.profile-account-pending__item + .profile-account-pending__item {
  margin-top: 0.35rem;
}

.profile-account-pending__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.profile-account-pending__link:hover,
.profile-account-pending__link:focus-visible {
  background: rgba(var(--bs-primary-rgb), 0.06);
  color: inherit;
}

.profile-account-pending__link--static {
  cursor: default;
}

.profile-account-pending__link--static:hover,
.profile-account-pending__link--static:focus-visible {
  background: transparent;
}

.profile-account-pending__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: rgba(var(--bs-warning-rgb), 0.14);
  color: var(--bs-warning-text-emphasis, #664d03);
  font-size: 1rem;
}

.profile-account-pending__content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.profile-account-pending__label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.profile-account-pending__hint {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  line-height: 1.35;
}

.profile-account-pending__chevron {
  flex-shrink: 0;
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.profile-account-security__rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.profile-account-security__row {
  display: grid;
  grid-template-columns: var(--profile-account-label-width, 8.75rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
}

.profile-account-security__row + .profile-account-security__row {
  padding-top: 0.85rem;
  border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.profile-account-security__row--action {
  align-items: start;
}

.profile-account-security__label {
  display: flex;
  align-items: center;
  min-height: 1.25rem;
  padding-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bs-secondary-color);
}

.profile-account-security__value {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--bs-body-color);
}

.profile-account-security__value--action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.profile-account-security__hint {
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
  .profile-account-security__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .profile-account-security__value--action {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-bs-theme="dark"] .profile-account-pending {
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .profile-account-pending__header {
  background: rgba(var(--bs-warning-rgb), 0.12);
}

[data-bs-theme="dark"] .worker-form-section__head {
  background: var(--bs-secondary-bg);
}

.job-positions-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(var(--bs-primary-rgb), 0.1);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.job-positions-stat__icon.text-success {
  background: rgba(var(--bs-success-rgb), 0.12);
}

.job-positions-stat__icon.text-warning {
  background: rgba(var(--bs-warning-rgb), 0.15);
}

.job-position-toggle-form .form-check-input {
  cursor: pointer;
}

/* —— Selector de departamento (autocompletado) —— */
.department-picker__search {
  position: relative;
}

.department-picker__suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.department-picker__suggestions li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: pointer;
}

.department-picker__suggestions li.is-active,
.department-picker__suggestions li:hover {
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.department-picker__suggestions .department-picker__empty {
  cursor: default;
  color: var(--bs-secondary-color);
}

.department-picker__code {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--bs-primary);
  flex-shrink: 0;
}

.department-picker__name {
  color: var(--bs-body-color);
}

/* —— Shell con sidebar izquierdo —— */
.app-shell {
  --app-sidebar-width: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-shell-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin-left: 0;
}

@media (min-width: 992px) {
  .app-shell-main {
    margin-left: var(--app-sidebar-width);
    width: calc(100% - var(--app-sidebar-width));
  }
}

.app-sidebar {
  width: var(--app-sidebar-width);
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1040;
  overflow-y: auto;
  border-right: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
  background: var(--bs-body-bg);
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.04);
}

.app-sidebar-brand {
  padding: 1.1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.app-sidebar-brand__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.app-sidebar-logo {
  height: 44px;
  max-width: 100%;
}

.app-sidebar-nav {
  padding: 0.85rem 0.65rem;
}

.app-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.app-sidebar-link:hover {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.app-sidebar-link.is-active {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.2);
  font-weight: 600;
}

.app-sidebar-link__icon {
  font-size: 1.05rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.app-sidebar-link--child {
  margin-left: 0.35rem;
  padding-left: 1.35rem;
  font-size: 0.875rem;
}

.app-sidebar-group {
  margin-top: 0.15rem;
}

.app-sidebar-group__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--bs-body-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
}

.app-sidebar-group__btn:hover,
.app-sidebar-group__btn:focus-visible {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.app-sidebar-group__btn:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.app-sidebar-group__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.app-sidebar-group__icon {
  font-size: 0.95rem;
  opacity: 0.85;
}

.app-sidebar-group__chevron {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.app-sidebar-group__btn[aria-expanded='true'] .app-sidebar-group__chevron {
  transform: rotate(180deg);
}

.app-sidebar-group__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.15rem 0 0.35rem;
}

.app-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.sidebar-user-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-user-panel__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.sidebar-user-panel__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sidebar-user-panel__details {
  min-width: 0;
}

.sidebar-user-panel__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bs-body-color);
  line-height: 1.3;
}

.sidebar-user-panel__email {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  line-height: 1.3;
}

.sidebar-user-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sidebar-user-panel__action-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-user-panel__action-link:hover {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.sidebar-user-panel__action-link.is-active {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.2);
  font-weight: 600;
}

.sidebar-user-panel__action-icon {
  font-size: 1rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.sidebar-user-panel__badge {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 1.25rem;
  padding: 0.25em 0.45em;
  line-height: 1;
  background-color: var(--bs-danger);
  color: #fff;
}

.sidebar-user-panel__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.sidebar-user-panel__theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.sidebar-user-panel__logout-form {
  flex: 1;
  margin: 0;
}

.sidebar-user-panel__logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-user-panel__logout-btn:hover,
.sidebar-user-panel__logout-btn:focus-visible {
  color: var(--bs-danger);
}

[data-bs-theme="dark"] .sidebar-user-panel__avatar {
  background: rgba(var(--bs-primary-rgb), 0.2);
}

[data-bs-theme="dark"] .sidebar-user-panel__action-link.is-active {
  background: rgba(var(--bs-primary-rgb), 0.18);
}

a.app-sidebar-user:hover {
  color: inherit;
}

.app-sidebar-user {
  min-width: 0;
}

.app-mobile-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  flex-shrink: 0;
}

.app-sidebar-offcanvas {
  --bs-offcanvas-width: min(280px, 88vw);
}

[data-bs-theme="dark"] .app-sidebar {
  box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .app-sidebar-link.is-active {
  background: rgba(var(--bs-primary-rgb), 0.18);
}

[data-bs-theme="dark"] .app-sidebar-group__btn:hover,
[data-bs-theme="dark"] .app-sidebar-group__btn:focus-visible {
  background: rgba(var(--bs-primary-rgb), 0.1);
}

.department-context-chip {
  --department-chip-bg: var(--bs-light-bg-subtle, #f8f9fa);
  --department-chip-border: var(--bs-border-color, #dee2e6);
  --department-chip-color: var(--bs-body-color, #212529);
  background: var(--department-chip-bg);
  border: 1px solid var(--department-chip-border);
  color: var(--department-chip-color);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
}

.department-context-chip.dropdown-toggle::after {
  margin-left: 0.15rem;
}

.department-context-chip--static {
  padding: 0.4rem 0.7rem;
}

.minuta-convenor-department-banner {
  font-size: 0.875rem;
}

[data-bs-theme="dark"] .department-context-chip {
  --department-chip-bg: rgba(255, 255, 255, 0.06);
  --department-chip-border: rgba(255, 255, 255, 0.12);
}

.active-role-switcher .dropdown-menu.active-role-switcher__menu {
  --bs-dropdown-min-width: 17.5rem;
  width: max(17.5rem, 100%);
  max-width: min(20rem, calc(100vw - 1.5rem));
}

.active-role-switcher__option {
  white-space: normal;
  line-height: 1.35;
  padding: 0.55rem 0.85rem;
}

.active-role-switcher__description {
  margin-top: 0.15rem;
  line-height: 1.4;
  white-space: normal;
}

.release-status-stepper__list {
  gap: 0.5rem;
}

.release-status-stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.release-status-stepper__item--complete {
  border-color: rgba(var(--bs-success-rgb), 0.35);
  color: var(--bs-success);
}

.release-status-stepper__item--current {
  border-color: rgba(var(--bs-warning-rgb), 0.45);
  background: rgba(var(--bs-warning-rgb), 0.08);
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
  font-weight: 600;
}

.release-status-stepper__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--bs-secondary-bg);
  font-size: 0.75rem;
  font-weight: 700;
}

.release-status-stepper__item--complete .release-status-stepper__marker,
.release-status-stepper__item--current .release-status-stepper__marker {
  background: currentColor;
  color: var(--bs-body-bg);
}

.release-summary-strip .badge code {
  font-size: inherit;
}
