.auditoria-screen .content-header {
  padding-bottom: 10px;
}

.auditoria-screen .content-header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.auditoria-screen .auditoria-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f1fb;
  color: #1f4f8a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auditoria-screen .auditoria-card {
  border-top: 3px solid #1f4f8a;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(31, 79, 138, 0.08);
}

.auditoria-screen .auditoria-card .box-header {
  border-bottom: 1px solid #edf1f5;
}

.auditoria-screen .auditoria-card .box-title {
  font-weight: 700;
}

.auditoria-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auditoria-toolbar .btn {
  min-width: 130px;
}

.auditoria-toolbar .btn i {
  margin-right: 6px;
}

.auditoria-form-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.auditoria-form-grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.auditoria-screen .form-group label,
.auditoria-screen .radio-inline,
.auditoria-screen .checkbox-inline {
  font-weight: 600;
  color: #34495e;
}

.auditoria-screen .form-control[readonly],
.auditoria-screen textarea[readonly] {
  background: #f7f9fb;
}

.auditoria-screen .help-block {
  margin-bottom: 0;
  color: #7b8a97;
}

.auditoria-option-card {
  min-height: 160px;
  padding: 14px 16px;
  border: 1px solid #d9e3ef;
  border-radius: 4px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.auditoria-option-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1f4f8a;
}

.auditoria-option-card .radio,
.auditoria-option-card .checkbox {
  margin-top: 0;
  margin-bottom: 10px;
}

.auditoria-mini-stat {
  min-height: 92px;
  padding: 16px;
  border: 1px solid #d9e3ef;
  border-radius: 4px;
  background: #f8fbff;
}

.auditoria-mini-stat .stat-label {
  display: block;
  margin-bottom: 6px;
  color: #6d7c8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auditoria-mini-stat .stat-value {
  color: #22313f;
  font-size: 22px;
  font-weight: 700;
}

.auditoria-table-wrap {
  overflow-x: auto;
}

.auditoria-table {
  min-width: 100%;
  margin-bottom: 0;
}

.auditoria-table thead th {
  background: #f3f7fb;
  color: #284b63;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.auditoria-table tbody td {
  height: 38px;
  vertical-align: middle;
}

.auditoria-placeholder-cell {
  color: #c2ccd6;
}

.auditoria-report-sheet {
  min-height: 620px;
  padding: 40px 46px;
  border: 1px solid #d7dee7;
  background: #fff;
  box-shadow: inset 0 0 0 1px #f5f7fa;
}

.auditoria-report-sheet h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 700;
  color: #283747;
}

.auditoria-report-sheet .report-meta {
  margin-bottom: 28px;
  color: #6c7a89;
  font-size: 13px;
}

.auditoria-report-sheet .report-line {
  border-bottom: 1px solid #dfe6ee;
  margin: 16px 0 24px;
}

.auditoria-date-box {
  max-width: 320px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #d9e3ef;
  border-radius: 4px;
  background: #fbfdff;
}

.auditoria-date-box h4 {
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.auditoria-date-box .form-group:last-child {
  margin-bottom: 0;
}

.auditoria-muted {
  color: #7f8c8d;
}

.auditoria-inline-alert {
  margin-bottom: 15px;
}

.auditoria-response-box {
  min-height: 320px;
  margin: 0;
  padding: 14px;
  border: 1px solid #d9e3ef;
  border-radius: 4px;
  background: #f8fbff;
  color: #23415d;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.auditoria-empty-row {
  padding: 18px 10px !important;
}

.auditoria-separator {
  height: 1px;
  margin: 18px 0;
  background: #edf1f5;
}

@media (max-width: 767px) {
  .auditoria-screen .content-header h1 {
    align-items: flex-start;
    flex-direction: column;
  }

  .auditoria-toolbar .btn {
    width: 100%;
  }

  .auditoria-report-sheet {
    min-height: auto;
    padding: 24px;
  }
}

.audit-osp-shell {
  border-top-color: #1e3b78 !important;
  box-shadow: 0 10px 24px rgba(19, 40, 84, 0.08);
}

.audit-osp-shell .box-body {
  padding: 14px;
}

.audit-osp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.audit-osp-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-osp-toolbar-group--primary {
  flex: 1 1 320px;
}

.audit-osp-toolbar-group--service {
  flex: 1 1 320px;
  justify-content: flex-end;
}

.audit-osp-btn {
  min-height: 42px;
  min-width: 126px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.audit-osp-btn i {
  margin-right: 6px;
}

.audit-osp-toolbar-metrics {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.audit-osp-metric {
  min-width: 96px;
  padding: 8px 12px;
  border: 1px solid #b7c9e7;
  border-radius: 6px;
  background: linear-gradient(180deg, #fdfefe 0%, #edf3fc 100%);
  text-align: center;
}

.audit-osp-metric span {
  display: block;
  color: #51657e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-osp-metric strong {
  display: block;
  color: #17366f;
  font-size: 26px;
  line-height: 1.1;
}

.audit-osp-statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.audit-osp-status-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2f8;
  color: #56697e;
  font-size: 12px;
  font-weight: 700;
}

.audit-osp-status-pill.is-pending {
  background: #eef2f8;
  color: #5d6d7f;
}

.audit-osp-status-pill.is-ok {
  background: #e4f6e7;
  color: #287448;
}

.audit-osp-status-pill.is-warning {
  background: #fff1d9;
  color: #986200;
}

.audit-osp-status-pill.is-active {
  background: #dceafe;
  color: #214f91;
}

.audit-osp-headerband {
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #b7d18f;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef9d8 0%, #dff0b7 100%);
}

.audit-osp-band-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.audit-osp-band-row:last-child {
  margin-bottom: 0;
}

.audit-osp-field {
  min-width: 0;
}

.audit-osp-field label {
  display: block;
  margin-bottom: 4px;
  color: #21364d;
  font-size: 12px;
  font-weight: 700;
}

.audit-osp-field .form-control,
.audit-osp-field select.form-control {
  height: 36px;
  border: 1px solid #9eb47a;
  border-radius: 4px;
  box-shadow: none;
}

.audit-osp-field--dni {
  flex: 0 1 250px;
}

.audit-osp-field--nombre {
  flex: 1 1 320px;
}

.audit-osp-field--afiliado {
  flex: 0 1 180px;
}

.audit-osp-field--flag {
  flex: 0 1 170px;
}

.audit-osp-field--coverage {
  flex: 1 1 320px;
}

.audit-osp-field--codigo-os {
  flex: 0 1 110px;
}

.audit-osp-field--obra-social {
  flex: 1 1 300px;
}

.audit-osp-field--mutual {
  flex: 1 1 220px;
}

.audit-osp-field--codigo-mutual {
  flex: 0 1 120px;
}

.audit-osp-field--fecha-nac {
  flex: 0 1 150px;
}

.audit-osp-field--normas {
  flex: 1 1 320px;
}

.audit-osp-field--obs {
  flex: 1 1 260px;
}

.audit-osp-searchgroup {
  display: flex;
  gap: 6px;
}

.audit-osp-searchgroup .form-control {
  flex: 1 1 auto;
}

.audit-osp-searchgroup .btn {
  min-width: 42px;
}

.audit-osp-checkbox {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.audit-osp-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
}

.audit-osp-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 36px;
  align-items: center;
}

.audit-osp-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.audit-osp-layout {
  display: flex;
  align-items: stretch;
}

.audit-osp-panel,
.audit-osp-sidebar-card {
  border: 1px solid #cdd9ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.audit-osp-panel {
  padding: 0;
}

.audit-osp-panel__header,
.audit-osp-history-card__header,
.audit-osp-sidebar-card__title,
.audit-osp-preview-card__title {
  padding: 10px 12px;
  background: #284783;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.audit-osp-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px 8px 0 0;
}

.audit-osp-history-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.audit-osp-panel__title {
  font-size: 15px;
  font-weight: 700;
}

.audit-osp-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.audit-osp-inline-field {
  min-width: 0;
}

.audit-osp-inline-field label {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.audit-osp-inline-field .form-control {
  height: 34px;
  border: 1px solid #9eb6db;
}

.audit-osp-inline-field--fecha {
  width: 130px;
}

.audit-osp-inline-field--auditor {
  width: 230px;
}

.audit-osp-inline-field--profesional {
  width: 300px;
}

.audit-osp-practice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #d7e1ef;
}

.audit-osp-field--practica {
  flex: 1 1 320px;
}

.audit-osp-field--diente,
.audit-osp-field--cara,
.audit-osp-field--sector {
  flex: 0 1 90px;
}

.audit-osp-field--bono,
.audit-osp-field--cuc,
.audit-osp-field--autorizacion {
  flex: 1 1 150px;
}

.audit-osp-field--practica-obs {
  flex: 1 1 100%;
}

.audit-osp-preview-card,
.audit-osp-history-card {
  margin: 12px;
  border: 1px solid #d6dfec;
  border-radius: 8px;
  overflow: hidden;
}

.audit-osp-preview-card__title {
  border-radius: 0;
}

.audit-osp-table {
  margin-bottom: 0;
  min-width: 980px;
}

.audit-osp-table thead th {
  padding: 6px 8px;
  background: #eef3fb;
  color: #223e70;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.audit-osp-table tbody td {
  padding: 6px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.audit-osp-table--compact {
  min-width: 760px;
}

.audit-osp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-osp-legend__item {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.audit-osp-legend__item--warning {
  background: #fff3b3;
  color: #8b6700;
}

.audit-osp-legend__item--success {
  background: #c9f4cc;
  color: #1f6b3a;
}

.audit-osp-legend__item--danger {
  background: #ffd8d8;
  color: #a52e2e;
}

.audit-osp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-osp-sidebar-card {
  overflow: hidden;
}

.audit-osp-response-box {
  min-height: 338px;
  border: 0;
  border-radius: 0;
  background: #f7faff;
}

.audit-osp-summary {
  margin: 0;
  padding: 12px;
}

.audit-osp-summary dt {
  margin-bottom: 4px;
  color: #284783;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-osp-summary dd {
  margin-bottom: 10px;
  color: #37495f;
  font-size: 13px;
}

.audit-osp-summary dd:last-child {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .audit-osp-toolbar-group--service {
    justify-content: flex-start;
  }

  .audit-osp-toolbar-metrics {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .audit-osp-inline-field--auditor,
  .audit-osp-inline-field--profesional {
    width: 100%;
  }

  .audit-osp-response-box {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .audit-osp-toolbar,
  .audit-osp-band-row,
  .audit-osp-panel__meta,
  .audit-osp-practice-grid {
    flex-direction: column;
  }

  .audit-osp-toolbar-group,
  .audit-osp-toolbar-metrics {
    width: 100%;
  }

  .audit-osp-btn {
    width: 100%;
  }

  .audit-osp-inline-field--fecha,
  .audit-osp-inline-field--auditor,
  .audit-osp-inline-field--profesional,
  .audit-osp-field--dni,
  .audit-osp-field--afiliado,
  .audit-osp-field--flag,
  .audit-osp-field--coverage,
  .audit-osp-field--codigo-os,
  .audit-osp-field--obra-social,
  .audit-osp-field--mutual,
  .audit-osp-field--codigo-mutual,
  .audit-osp-field--fecha-nac,
  .audit-osp-field--normas,
  .audit-osp-field--obs,
  .audit-osp-field--practica,
  .audit-osp-field--diente,
  .audit-osp-field--cara,
  .audit-osp-field--sector,
  .audit-osp-field--bono,
  .audit-osp-field--cuc,
  .audit-osp-field--autorizacion,
  .audit-osp-field--practica-obs {
    width: 100%;
    flex: 1 1 100%;
  }
}

.audit-osp-toolbar-box {
  border-top-color: #2f4a83 !important;
  box-shadow: 0 8px 20px rgba(37, 62, 112, 0.08);
}

.audit-osp-toolbar-box .box-body {
  padding: 12px 14px;
}

.audit-osp-box {
  border-top-color: #2f4a83 !important;
  box-shadow: 0 8px 20px rgba(37, 62, 112, 0.07);
}

.audit-osp-box .box-header {
  background: #fbfcfe;
}

.audit-osp-box .box-title {
  color: #263f71;
}

.audit-osp-toolbar {
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.audit-osp-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-osp-toolbar-group--service {
  margin-left: auto;
}

.audit-osp-btn {
  min-width: 122px;
  min-height: 38px;
  border-radius: 5px;
  font-weight: 700;
}

.audit-osp-toolbar-metrics {
  display: flex;
  gap: 8px;
}

.audit-osp-metric {
  min-width: 84px;
  padding: 6px 10px;
  border: 1px solid #d5dff0;
  border-radius: 5px;
  background: #f8fbff;
}

.audit-osp-metric span {
  display: block;
  color: #5f7087;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-osp-metric strong {
  display: block;
  color: #21457d;
  font-size: 22px;
  line-height: 1.1;
}

.audit-osp-header-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.audit-osp-status-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f8;
  color: #56697e;
  font-size: 11px;
  font-weight: 700;
}

.audit-osp-compact-grid .form-group {
  margin-bottom: 12px;
}

.audit-osp-compact-grid .form-control,
.audit-osp-compact-grid select.form-control {
  height: 36px;
}

.audit-osp-checkbox-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.audit-osp-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  color: #33485f;
}

.audit-osp-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 36px;
  align-items: center;
}

.audit-osp-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #3a4f63;
  font-size: 12px;
  font-weight: 600;
}

.audit-osp-preview-wrap {
  margin-top: 6px;
}

.audit-osp-history-block + .audit-osp-history-block {
  margin-top: 16px;
}

.audit-osp-history-title {
  margin-bottom: 8px;
  color: #314f88;
  font-size: 13px;
  font-weight: 700;
}

.audit-osp-table {
  min-width: 920px;
}

.audit-osp-table thead th {
  padding: 6px 8px;
  background: #f2f6fc;
  color: #29456f;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}

.audit-osp-table tbody td {
  padding: 6px 8px;
  height: 34px;
  font-size: 12px;
  white-space: nowrap;
}

.audit-osp-table--compact {
  min-width: 760px;
}

.audit-osp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-osp-legend__item {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.audit-osp-legend__item--warning {
  background: #fff3b3;
  color: #8b6700;
}

.audit-osp-legend__item--success {
  background: #d6f5d9;
  color: #21663b;
}

.audit-osp-legend__item--danger {
  background: #ffe0e0;
  color: #9b2a2a;
}

.audit-osp-summary {
  margin: 0;
}

.audit-osp-summary dt {
  margin-bottom: 4px;
  color: #2f4a83;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-osp-summary dd {
  margin-bottom: 10px;
  color: #43576f;
  font-size: 13px;
}

.audit-osp-response-box {
  min-height: 300px;
  background: #f8fbff;
}

@media (max-width: 1199px) {
  .audit-osp-toolbar-group--service {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .audit-osp-toolbar,
  .audit-osp-toolbar-group,
  .audit-osp-header-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .audit-osp-btn {
    width: 100%;
  }

  .audit-osp-toolbar-metrics {
    width: 100%;
  }
}

.audit-osp-page .row {
  margin-left: -10px;
  margin-right: -10px;
}

.audit-osp-page .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.audit-osp-toolbar-box,
.audit-osp-box {
  margin-bottom: 20px;
}

.audit-osp-box .box-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}

.audit-osp-box .box-body {
  padding: 18px 18px 16px;
}

.audit-osp-toolbar-box .box-body {
  padding: 14px 16px;
}

.audit-osp-toolbar {
  gap: 14px;
}

.audit-osp-toolbar-group {
  gap: 10px;
}

.audit-osp-btn {
  min-width: 134px;
  min-height: 40px;
}

.audit-osp-toolbar-metrics {
  gap: 10px;
}

.audit-osp-metric {
  min-width: 92px;
  padding: 8px 12px;
}

.audit-osp-header-inline {
  gap: 10px;
}

.audit-osp-compact-grid {
  margin-left: -10px;
  margin-right: -10px;
}

.audit-osp-compact-grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.audit-osp-compact-grid .form-group {
  margin-bottom: 16px;
}

.audit-osp-compact-grid .form-control,
.audit-osp-compact-grid select.form-control {
  height: 38px;
}

.audit-osp-checkbox-group {
  min-height: 64px;
}

.audit-osp-radio-group {
  gap: 12px;
  min-height: 38px;
  padding: 2px 0;
}

.audit-osp-preview-wrap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5ecf5;
}

.audit-osp-history-block + .audit-osp-history-block {
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid #edf2f8;
}

.audit-osp-history-title {
  margin-bottom: 10px;
}

.audit-osp-table thead th {
  padding: 8px 10px;
}

.audit-osp-table tbody td {
  padding: 8px 10px;
  height: 38px;
}

.audit-osp-summary {
  padding: 2px 0;
}

.audit-osp-summary dd {
  margin-bottom: 14px;
}

.audit-osp-response-box {
  min-height: 360px;
  padding: 16px;
}

@media (max-width: 991px) {
  .audit-osp-box .box-header,
  .audit-osp-toolbar {
    align-items: flex-start;
  }

  .audit-osp-header-inline {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .audit-osp-page .row {
    margin-left: -7px;
    margin-right: -7px;
  }

  .audit-osp-page .row > [class*="col-"] {
    padding-left: 7px;
    padding-right: 7px;
  }

  .audit-osp-box .box-body,
  .audit-osp-toolbar-box .box-body {
    padding: 14px;
  }

  .audit-osp-compact-grid {
    margin-left: -7px;
    margin-right: -7px;
  }

  .audit-osp-compact-grid > [class*="col-"] {
    padding-left: 7px;
    padding-right: 7px;
  }

  .audit-osp-response-box {
    min-height: 240px;
  }
}

.audit-os-toolbar-box,
.audit-os-shell {
  border-top-color: #314c85 !important;
  box-shadow: 0 8px 20px rgba(37, 62, 112, 0.07);
}

.audit-os-toolbar-box .box-body {
  padding: 12px 14px;
}

.audit-os-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audit-os-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-os-btn {
  min-width: 108px;
  min-height: 38px;
  border-radius: 5px !important;
  font-weight: 700;
}

.audit-os-toolbar-meta {
  margin-left: auto;
}

.audit-os-code-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-os-code-field label {
  margin: 0;
  color: #213a6d;
  font-size: 13px;
  font-weight: 700;
}

.audit-os-code-field .form-control {
  width: 92px;
  height: 34px;
  padding: 6px 10px;
}

.audit-os-shell .box-body {
  padding: 14px 14px 10px;
}

.audit-os-form {
  padding: 2px 2px 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e4ebf5;
}

.audit-os-grid {
  margin-left: -8px;
  margin-right: -8px;
}

.audit-os-grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.audit-os-grid .form-group {
  margin-bottom: 12px;
}

.audit-os-grid label {
  display: block;
  margin-bottom: 4px;
  color: #34495e;
  font-size: 12px;
  font-weight: 700;
}

.audit-os-grid .form-control {
  height: 36px;
}

.audit-os-practices-wrap {
  margin-top: 8px;
}

.audit-os-table {
  margin-bottom: 0;
  min-width: 1500px;
}

.audit-os-table thead th {
  padding: 6px 8px;
  background: #2e4a83;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.audit-os-table tbody td {
  height: 34px;
  padding: 6px 8px;
  font-size: 12px;
  white-space: nowrap;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .audit-os-toolbar {
    align-items: stretch;
  }

  .audit-os-toolbar-actions,
  .audit-os-toolbar-meta {
    width: 100%;
  }

  .audit-os-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .audit-os-code-field {
    justify-content: space-between;
  }

  .audit-os-code-field .form-control {
    width: 110px;
  }
}

.audit-stats-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.audit-stats-window {
  background: #d7d2c8;
  border: 1px solid #a6a39c;
  box-shadow: inset 0 0 0 1px #efebe3;
  padding: 14px 16px 16px;
}

.audit-stats-window--protesis {
  max-width: 520px;
  margin: 0 auto;
}

.audit-stats-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 14px;
}

.audit-stats-toolbar--center {
  justify-content: center;
}

.audit-stats-button {
  min-width: 92px;
  padding: 10px 14px;
  border: 1px solid #8d8a83;
  border-right: none;
  background: linear-gradient(180deg, #f4f1eb 0%, #d5d0c6 100%);
  color: #222;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.audit-stats-button:last-child {
  border-right: 1px solid #8d8a83;
}

.audit-stats-button:hover,
.audit-stats-button:focus {
  color: #111;
  text-decoration: none;
  background: linear-gradient(180deg, #fcf8f1 0%, #dfd8cc 100%);
}

.audit-stats-button i {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.audit-stats-layout {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.audit-stats-layout--tasa .audit-stats-main {
  flex: 1 1 340px;
  max-width: 360px;
}

.audit-stats-layout--practicas .audit-stats-options-grid {
  flex: 1 1 auto;
}

.audit-stats-main,
.audit-stats-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-stats-practicas-top {
  margin-bottom: 12px;
}

.audit-stats-field-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audit-stats-field-row label {
  min-width: 88px;
  margin: 0;
  color: #1f1f1f;
  font-size: 13px;
  font-weight: 700;
}

.audit-stats-field-row .form-control {
  max-width: 260px;
  height: 30px;
  border-color: #9f9b93;
  border-radius: 0;
  box-shadow: none;
}

.audit-stats-field-row--short .form-control {
  width: 48px;
  max-width: 48px;
}

.audit-stats-field-row--os .form-control {
  max-width: 90px;
}

.audit-stats-radio-box,
.audit-stats-option-panel,
.audit-stats-subpanel {
  border: 1px solid #9f9b93;
  background: #ddd7cd;
  padding: 10px 12px;
}

.audit-stats-option-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 320px;
}

.audit-stats-option-panel--values {
  min-width: 160px;
  max-width: 180px;
}

.audit-stats-subpanel {
  margin-left: 24px;
}

.audit-stats-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #222;
  font-size: 13px;
  font-weight: 400;
}

.audit-stats-radio input {
  margin: 0;
}

.audit-stats-date-box {
  min-width: 260px;
  border: 1px solid #9f9b93;
  background: #e4dfd6;
  padding: 12px 16px;
}

.audit-stats-date-box--center {
  max-width: 280px;
  margin: 0 auto;
}

.audit-stats-date-box h4 {
  margin: 0 0 12px;
  text-align: center;
  color: #1d1d1d;
  font-size: 18px;
  font-weight: 700;
}

.audit-stats-date-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.audit-stats-date-field:last-child {
  margin-bottom: 0;
}

.audit-stats-date-field label {
  min-width: 64px;
  margin: 0;
  color: #1f1f1f;
  font-size: 13px;
  font-weight: 700;
}

.audit-stats-date-field .form-control {
  height: 30px;
  border-color: #9f9b93;
  border-radius: 0;
  box-shadow: none;
}

.audit-stats-alerts {
  min-height: 0;
}

.audit-stats-report-card .box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audit-stats-report-card .box-title {
  font-size: 18px;
  font-weight: 700;
}

.audit-stats-report-table thead th {
  white-space: nowrap;
}

.audit-stats-report-table tbody td {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .audit-stats-layout {
    flex-direction: column;
  }

  .audit-stats-date-box,
  .audit-stats-layout--tasa .audit-stats-main,
  .audit-stats-option-panel,
  .audit-stats-option-panel--values {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .audit-stats-window {
    padding: 12px;
  }

  .audit-stats-toolbar {
    gap: 8px;
  }

  .audit-stats-button {
    min-width: calc(50% - 4px);
    border-right: 1px solid #8d8a83;
  }

  .audit-stats-field-row,
  .audit-stats-date-field {
    flex-direction: column;
    align-items: stretch;
  }

  .audit-stats-field-row label,
  .audit-stats-date-field label {
    min-width: 0;
  }

  .audit-stats-field-row .form-control,
  .audit-stats-field-row--short .form-control,
  .audit-stats-field-row--os .form-control {
    width: 100%;
    max-width: none;
  }

  .audit-stats-subpanel {
    margin-left: 0;
  }
}

body.auditoria-app,
body.auditoria-app .wrapper,
body.auditoria-app .content-wrapper,
body.auditoria-app .main-footer {
  background: #eef3f9;
}

body.auditoria-app .wrapper {
  min-height: 100vh;
}

.auditoria-top-header .navbar {
  min-height: 76px;
  margin-bottom: 0;
  border: 0;
  background: linear-gradient(135deg, #183154 0%, #274878 52%, #31558a 100%);
  box-shadow: 0 12px 30px rgba(15, 34, 63, 0.18);
}

.auditoria-nav-shell {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.auditoria-brand-shell {
  display: flex;
  align-items: center;
}

.auditoria-top-header .navbar-collapse {
  flex: 1 1 auto;
}

.auditoria-brand {
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 24px 0 0;
  color: #fff !important;
}

.auditoria-brand:hover,
.auditoria-brand:focus {
  color: #fff !important;
}

.auditoria-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-right: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.auditoria-brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.auditoria-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.auditoria-brand-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.auditoria-brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auditoria-top-header .navbar-toggle {
  margin-top: 20px;
  margin-right: 0;
  border-color: rgba(255, 255, 255, 0.2);
}

.auditoria-top-header .navbar-toggle .icon-bar {
  background: #fff;
}

.auditoria-main-nav > li > a,
.auditoria-user-nav > li > a {
  min-height: 76px;
  padding: 24px 16px 22px;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auditoria-main-nav > li.open > a,
.auditoria-main-nav > li.active > a,
.auditoria-main-nav > li > a:hover,
.auditoria-main-nav > li > a:focus,
.auditoria-user-nav > li.open > a,
.auditoria-user-nav > li > a:hover,
.auditoria-user-nav > li > a:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.auditoria-main-nav .dropdown-menu,
.auditoria-user-dropdown {
  min-width: 280px;
  padding: 10px 0;
  margin-top: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(16, 32, 62, 0.2);
}

.auditoria-main-nav .dropdown-menu > li > a,
.auditoria-user-dropdown .user-footer .btn {
  font-weight: 600;
}

.auditoria-main-nav .dropdown-menu > li > a {
  padding: 11px 18px;
  color: #29456f;
  font-size: 14px;
}

.auditoria-main-nav .dropdown-menu > li > a:hover,
.auditoria-main-nav .dropdown-menu > li > a:focus,
.auditoria-main-nav .dropdown-menu > li.active > a {
  background: #edf4ff;
  color: #17345c;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: -10px;
  left: calc(100% - 4px);
  display: none;
  margin-left: 0;
}

.dropdown-submenu.open > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a > .fa {
  margin-top: 2px;
}

.auditoria-user-nav {
  display: flex;
  align-items: center;
  margin-left: auto !important;
}

.auditoria-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8dc9ff 0%, #dbeaff 100%);
  color: #16335a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.auditoria-user-avatar--lg {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  font-size: 18px;
}

.auditoria-user-copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.auditoria-user-name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.auditoria-user-role {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auditoria-user-dropdown {
  padding-top: 0;
}

.auditoria-user-dropdown .user-header {
  padding: 22px 18px 18px;
  background: linear-gradient(135deg, #274878 0%, #355e98 100%);
}

.auditoria-user-dropdown .user-header p {
  margin-top: 8px;
  margin-bottom: 0;
  color: #fff;
}

.auditoria-user-dropdown .user-header small {
  color: rgba(255, 255, 255, 0.74);
}

.auditoria-user-dropdown .user-footer {
  padding: 14px;
}

.auditoria-main-nav > li {
  margin-right: 4px;
}

.auditoria-main-nav > li > a {
  position: relative;
  border-radius: 12px 12px 0 0;
}

.auditoria-main-nav > li.active > a::after,
.auditoria-main-nav > li.open > a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 10px;
  left: 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.auditoria-app .content-wrapper {
  min-height: calc(100vh - 126px);
}

.auditoria-app .content-header {
  padding: 30px 24px 12px;
}

.auditoria-app .content {
  padding: 0 24px 28px;
}

.auditoria-app .main-footer {
  border-top: 1px solid #dbe4f1;
  color: #5d6f83;
}

.auditoria-home-hero .box-body,
.auditoria-home-card .box-body,
.auditoria-home-status .box-body {
  padding: 22px 24px;
}

.auditoria-home-kicker {
  margin-bottom: 10px;
  color: #3f6397;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auditoria-home-hero h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #183357;
  font-size: 30px;
  font-weight: 800;
}

.auditoria-home-hero p {
  max-width: 740px;
  margin-bottom: 18px;
  color: #53677d;
  font-size: 15px;
  line-height: 1.7;
}

.auditoria-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auditoria-home-actions .btn i {
  margin-right: 6px;
}

.auditoria-home-meta {
  margin: 0;
}

.auditoria-home-meta dt {
  margin-bottom: 5px;
  color: #375885;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auditoria-home-meta dd {
  margin-bottom: 14px;
  color: #3f536a;
  font-size: 14px;
}

.auditoria-home-grid {
  margin-top: 4px;
}

.auditoria-home-card__text {
  min-height: 62px;
  margin-bottom: 16px;
  color: #5a6d83;
  line-height: 1.65;
}

.auditoria-home-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auditoria-home-links li + li {
  margin-top: 8px;
}

.auditoria-home-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #26446f;
  font-weight: 700;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.auditoria-home-links a:hover,
.auditoria-home-links a:focus {
  background: #eef4fd;
  color: #173760;
  text-decoration: none;
  transform: translateX(2px);
}

.audit-stats-window {
  border: 1px solid #d9e4f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 32px rgba(31, 79, 138, 0.08);
  padding: 22px;
}

.audit-stats-window--protesis {
  max-width: 620px;
}

.audit-stats-toolbar {
  gap: 10px;
  margin-bottom: 18px;
}

.audit-stats-toolbar--center {
  justify-content: center;
}

.audit-stats-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 146px;
  padding: 12px 16px;
  border: 1px solid #d4e0ef;
  border-radius: 12px;
  background: #fff;
  color: #24436f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 8px 16px rgba(31, 79, 138, 0.05);
}

.audit-stats-button:last-child {
  border-right: 1px solid #d4e0ef;
}

.audit-stats-button:hover,
.audit-stats-button:focus {
  background: #eff5ff;
  border-color: #bfd2ea;
  color: #173760;
}

.audit-stats-button i {
  display: inline-flex;
  margin-bottom: 0;
  font-size: 16px;
}

.audit-stats-layout {
  gap: 20px;
  align-items: stretch;
}

.audit-stats-main,
.audit-stats-options-grid {
  gap: 14px;
}

.audit-stats-field-row {
  align-items: center;
  gap: 14px;
}

.audit-stats-field-row label,
.audit-stats-date-field label {
  color: #2c4d77;
  font-size: 13px;
  font-weight: 800;
}

.audit-stats-field-row .form-control,
.audit-stats-date-field .form-control {
  height: 40px;
  border: 1px solid #cfddeb;
  border-radius: 10px;
  box-shadow: none;
}

.audit-stats-field-row--short .form-control {
  width: 64px;
  max-width: 64px;
}

.audit-stats-field-row--os .form-control {
  max-width: 140px;
}

.audit-stats-radio-box,
.audit-stats-option-panel,
.audit-stats-subpanel,
.audit-stats-date-box {
  border: 1px solid #d8e3f1;
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.audit-stats-radio-box,
.audit-stats-option-panel,
.audit-stats-subpanel {
  padding: 14px 16px;
}

.audit-stats-option-panel {
  min-width: 360px;
  gap: 10px;
}

.audit-stats-option-panel--values {
  min-width: 190px;
  max-width: 220px;
}

.audit-stats-subpanel {
  margin-top: 2px;
  margin-left: 22px;
  background: #f4f8fd;
}

.audit-stats-radio {
  gap: 10px;
  color: #304860;
  font-size: 13px;
  font-weight: 700;
}

.audit-stats-date-box {
  min-width: 290px;
  padding: 18px;
}

.audit-stats-date-box h4 {
  margin-bottom: 14px;
  color: #173760;
  font-size: 18px;
}

.audit-stats-date-field {
  gap: 14px;
  margin-bottom: 12px;
}

.audit-stats-alerts .alert {
  border-radius: 12px;
}

.audit-stats-report-card .box-header {
  padding: 16px 18px;
}

.audit-stats-report-card .box-body {
  padding: 0;
}

.audit-stats-report-table {
  margin-bottom: 0;
}

.audit-stats-report-table thead th {
  background: #eef4fb;
}

.audit-stats-report-table tbody td {
  background: #fff;
}

@media (max-width: 991px) {
  .auditoria-nav-shell {
    display: block;
    padding-left: 14px;
    padding-right: 14px;
  }

  .auditoria-top-header .navbar-collapse {
    flex: none;
  }

  .auditoria-brand-copy strong {
    font-size: 18px;
  }

  .auditoria-home-actions {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .auditoria-top-header .navbar {
    min-height: 68px;
  }

  .auditoria-brand {
    height: 68px;
    padding-right: 10px;
  }

  .auditoria-brand-mark {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 12px;
  }

  .auditoria-brand-mark img {
    width: 28px;
    height: 28px;
  }

  .auditoria-brand-copy strong {
    font-size: 16px;
  }

  .auditoria-brand-copy small {
    font-size: 10px;
  }

  .auditoria-top-header .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .auditoria-main-nav > li > a,
  .auditoria-user-nav > li > a {
    min-height: 0;
    padding: 14px 0;
  }

  .auditoria-user-copy {
    gap: 8px;
  }

  .auditoria-user-role {
    height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  .auditoria-main-nav .dropdown-menu,
  .auditoria-user-dropdown {
    position: static;
    float: none;
    min-width: 100%;
    border-radius: 12px;
    box-shadow: none;
  }

  .dropdown-submenu > .dropdown-menu {
    left: 0;
    top: 0;
    margin-top: 8px;
  }

  .auditoria-app .content-header {
    padding: 22px 16px 10px;
  }

  .auditoria-app .content {
    padding: 0 16px 20px;
  }

  .audit-stats-button {
    min-width: calc(50% - 5px);
  }
}
