/* Expediente colaborador v2 — UX tabulado (Alta trabajadores) */

html:has(.impulsa-expediente-page),
html:has(.impulsa-expediente-page) body {
    height: 100%;
    overflow: hidden;
}

.impulsa-embed-body:has(.impulsa-expediente-page) {
    min-height: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.impulsa-embed-body:has(.impulsa-expediente-page) .impulsa-content-embed {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1rem;
}

.impulsa-monster-layout .impulsa-content:has(.impulsa-expediente-page),
.impulsa-content--workspace:has(.impulsa-expediente-page),
.impulsa-page-host:has(.impulsa-expediente-page) {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.impulsa-expediente-page {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* ── Header ─────────────────────────────────────────────────── */
.impulsa-expediente-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.impulsa-expediente-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-left: auto;
    flex-shrink: 0;
}

.impulsa-expediente-codigo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.55rem 0.35rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 144, 208, 0.18);
    background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

.impulsa-expediente-codigo__label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #546e7a;
    white-space: nowrap;
}

.impulsa-expediente-codigo__input {
    width: 6rem;
    min-height: 2.15rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    text-align: center;
}

.impulsa-expediente-codigo__input::placeholder {
    color: #b0bec5;
    font-weight: 500;
}

.impulsa-expediente-codigo__input:focus {
    outline: none;
    border-color: rgba(0, 144, 208, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 144, 208, 0.12);
}

.impulsa-expediente-codigo__input[readonly] {
    background: #f1f5f9;
    color: #37474f;
}

.impulsa-crud-btn--save {
    color: #fff;
    background: linear-gradient(135deg, #2fa8dc 0%, #0090d0 55%, #0078bc 100%);
    border-color: rgba(0, 120, 188, 0.4);
    box-shadow: 0 4px 14px rgba(0, 144, 208, 0.28);
    padding-inline: 1.35rem;
}

.impulsa-crud-btn--save:hover {
    box-shadow: 0 6px 18px rgba(0, 144, 208, 0.34);
    transform: translateY(-1px);
}

.impulsa-crud-btn--ghost {
    color: #546e7a;
    background: transparent;
    border-color: transparent;
}

.impulsa-crud-btn--ghost:hover {
    color: #37474f;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.impulsa-crud-btn--sm {
    min-height: 2.15rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.875em;
}

.impulsa-crud-btn--icon-only {
    width: 2.15rem;
    min-width: 2.15rem;
    padding: 0;
}

.impulsa-crud-btn--icon-only .bi {
    font-size: 1rem;
    line-height: 1;
}

.impulsa-crud-btn--danger-icon {
    color: #c62828;
    border-color: rgba(198, 40, 40, 0.22);
    background: rgba(198, 40, 40, 0.06);
}

.impulsa-crud-btn--danger-icon:hover {
    color: #b71c1c;
    border-color: rgba(198, 40, 40, 0.4);
    background: rgba(198, 40, 40, 0.12);
}

/* ── Layout principal ───────────────────────────────────────── */
.impulsa-expediente-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.impulsa-expediente-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    box-shadow: var(--shadow-2, 0 4px 18px rgba(38, 50, 56, 0.08));
}

.impulsa-expediente-card > .aurora-card__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.impulsa-expediente-errors {
    padding: 0.85rem 1rem 0;
}

.impulsa-expediente-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    overflow: hidden;
}

/* ── Rail lateral (identidad + navegación) ──────────────────── */
.impulsa-expediente-rail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
    overflow: auto;
    padding: 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, rgba(242, 247, 248, 0.7), rgba(255, 255, 255, 0.98));
}

.impulsa-expediente-identity {
    text-align: center;
    padding-bottom: 0.25rem;
}

.impulsa-expediente-identity__photo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.impulsa-expediente-photo-frame {
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid rgba(0, 144, 208, 0.2);
    background: linear-gradient(180deg, #f8fbff 0%, #eef4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 144, 208, 0.12);
}

.impulsa-expediente-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impulsa-expediente-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.impulsa-expediente-identity__initials {
    font-size: 2rem;
    font-weight: 700;
    color: #0090d0;
    letter-spacing: 0.04em;
}

.impulsa-expediente-photo-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #0090d0;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 144, 208, 0.35);
    transition: transform 0.15s ease, background 0.15s ease;
}

.impulsa-expediente-photo-btn:hover {
    background: #0078bc;
    transform: scale(1.05);
}

.impulsa-expediente-identity__name {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #263238;
    word-break: break-word;
}

.impulsa-expediente-identity__code {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    color: #78909c;
}

.impulsa-expediente-identity__code strong {
    color: #37474f;
    font-variant-numeric: tabular-nums;
}

.impulsa-expediente-progress-bar__track {
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 144, 208, 0.12);
    overflow: hidden;
}

.impulsa-expediente-progress-bar__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0090d0, #00bdda);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.impulsa-expediente-progress-bar__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #546e7a;
}

/* ── Navegación vertical por secciones ──────────────────────── */
.impulsa-expediente-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.impulsa-expediente-nav__btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.impulsa-expediente-nav__btn:hover {
    background: rgba(0, 144, 208, 0.06);
    border-color: rgba(0, 144, 208, 0.12);
}

.impulsa-expediente-nav__btn.is-active {
    background: linear-gradient(90deg, rgba(0, 144, 208, 0.12), rgba(0, 189, 218, 0.06));
    border-color: rgba(0, 144, 208, 0.25);
    box-shadow: inset 3px 0 0 #0090d0;
}

.impulsa-expediente-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 1rem;
    color: #0090d0;
    background: rgba(0, 144, 208, 0.08);
}

.impulsa-expediente-nav__btn.is-active .impulsa-expediente-nav__icon {
    color: #fff;
    background: #0090d0;
}

.impulsa-expediente-nav__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.impulsa-expediente-nav__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #37474f;
    line-height: 1.2;
}

.impulsa-expediente-nav__hint {
    font-size: 0.6875rem;
    color: #90a4ae;
    line-height: 1.25;
}

.impulsa-expediente-nav__status {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #cfd8dc;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.impulsa-expediente-nav__status.is-complete {
    background: #43a047;
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.18);
}

.impulsa-expediente-nav__status.is-partial {
    background: #ffa726;
    box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.18);
}

/* ── Rail extras ────────────────────────────────────────────── */
.impulsa-expediente-rail__card {
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.impulsa-expediente-rail__card-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #006fa8;
}

.impulsa-expediente-options-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
}

@media (min-width: 576px) {
    .impulsa-expediente-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .impulsa-expediente-options-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.impulsa-expediente-option-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fafbfc;
    min-height: 100%;
}

.impulsa-expediente-option-check .form-check-input {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.impulsa-expediente-option-check .form-check-label {
    font-size: 0.875rem;
    color: #37474f;
    line-height: 1.35;
    cursor: pointer;
}

/* ── Área de trabajo (contenido + footer) ───────────────────── */
.impulsa-expediente-workspace {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.impulsa-expediente-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.9), #fff);
}

.impulsa-expediente-section-head__title {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #263238;
}

.impulsa-expediente-section-head__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #78909c;
    max-width: 42rem;
}

.impulsa-expediente-section-head__step {
    flex-shrink: 0;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #546e7a;
    background: rgba(120, 144, 156, 0.12);
    white-space: nowrap;
}

.impulsa-expediente-panels {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 1rem 1.25rem;
}

.impulsa-expediente-pane {
    display: block;
    animation: impulsa-expediente-fade-in 0.22s ease;
}

.impulsa-expediente-pane[hidden] {
    display: none !important;
}

@keyframes impulsa-expediente-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.impulsa-expediente-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #fff, #f8fbfc);
}

.impulsa-expediente-footer__hints {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.impulsa-expediente-footer__hint {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #78909c;
    text-align: center;
    justify-content: center;
}

.impulsa-expediente-footer__hint .bi {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #ffa726;
}

.impulsa-expediente-footer__hint--status {
    font-weight: 600;
    color: #546e7a;
}

.impulsa-expediente-footer__hint--status .bi {
    color: #0288d1;
}

.impulsa-expediente-footer__hint--status.is-success,
.impulsa-expediente-footer__hint--status.is-success .bi {
    color: #2e7d32;
}

/* ── Secciones de formulario ─────────────────────────────────── */
.impulsa-expediente-form-section {
    margin-bottom: 1.15rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.impulsa-expediente-form-section:last-child {
    margin-bottom: 0;
}

.impulsa-expediente-form-section__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #006fa8;
    background: linear-gradient(90deg, rgba(0, 144, 208, 0.07), transparent);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.impulsa-expediente-form-section__head .bi {
    font-size: 1rem;
    opacity: 0.9;
}

.impulsa-expediente-form-section__body {
    padding: 1rem;
}

.impulsa-expediente-form-section__lead {
    margin: 0 0 0.85rem;
    font-size: 0.8125rem;
    color: #78909c;
    line-height: 1.45;
}

.impulsa-expediente-form-section__body .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.impulsa-expediente-form .impulsa-form-field {
    flex: 1 1 auto;
    width: 100%;
    margin-bottom: 0;
}

.impulsa-expediente-form .impulsa-form-field.horizontal {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: 100%;
}

.impulsa-expediente-form .impulsa-form-field.horizontal .form-label {
    position: static;
    transform: none;
    text-align: left;
    padding-top: 0;
    margin-bottom: 0;
    font-size: 0.8125rem;
    line-height: 1.25;
    white-space: normal;
    color: #546e7a;
    font-weight: 600;
}

.impulsa-expediente-form .impulsa-form-field.horizontal .field-control {
    flex: 1 1 auto;
}

.impulsa-expediente-form .impulsa-form-field .form-control,
.impulsa-expediente-form .impulsa-form-field .form-select {
    width: 100%;
}

.impulsa-expediente-form .impulsa-form-field .validation-message {
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

/* ── Callouts y empty states ────────────────────────────────── */
.impulsa-expediente-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.45;
}

.impulsa-expediente-callout .bi {
    flex-shrink: 0;
    font-size: 1.15rem;
    margin-top: 0.1rem;
}

.impulsa-expediente-callout--info {
    color: #37474f;
    background: rgba(0, 144, 208, 0.08);
    border: 1px solid rgba(0, 144, 208, 0.18);
}

.impulsa-expediente-callout--info .bi { color: #0090d0; }

.impulsa-expediente-callout--warning {
    color: #5d4037;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.28);
}

.impulsa-expediente-callout--warning .bi { color: #f9a825; }

.impulsa-expediente-callout strong {
    display: block;
    margin-bottom: 0.15rem;
}

.impulsa-expediente-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px dashed rgba(0, 144, 208, 0.22);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.9), rgba(255, 255, 255, 0.95));
}

.impulsa-expediente-empty--compact {
    padding: 1.25rem 1rem;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 0.75rem;
}

.impulsa-expediente-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.35rem;
    color: #0090d0;
    background: rgba(0, 144, 208, 0.1);
    flex-shrink: 0;
}

.impulsa-expediente-empty--compact .impulsa-expediente-empty__icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
}

.impulsa-expediente-empty__title {
    margin: 0.75rem 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #37474f;
}

.impulsa-expediente-empty__text {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: #78909c;
    line-height: 1.45;
    max-width: 22rem;
}

.impulsa-expediente-empty--compact .impulsa-expediente-empty__text {
    margin: 0;
    max-width: none;
}

/* ── Tablas sub-entidad ─────────────────────────────────────── */
.impulsa-expediente-subtable {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.impulsa-expediente-subtable .table {
    margin-bottom: 0;
}

.impulsa-expediente-subtable thead th {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: none;
    color: #37474f;
    background: rgba(0, 144, 208, 0.06);
    border-bottom: 2px solid rgba(0, 144, 208, 0.12);
}

.impulsa-expediente-link-btn {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0090d0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.impulsa-expediente-link-btn--danger {
    color: #c62828;
}

.impulsa-expediente-row-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.impulsa-expediente-row-actions .impulsa-crud-btn--icon-only {
    text-decoration: none;
}

.impulsa-expediente-subtable tbody tr.is-editing {
    background: rgba(0, 144, 208, 0.08);
}

.impulsa-expediente-subtable tbody tr.is-editing td {
    font-weight: 600;
}

.impulsa-expediente-count-badge {
    margin-left: auto;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0090d0;
    background: rgba(0, 144, 208, 0.1);
}

.impulsa-expediente-percent-total {
    margin-left: 0.5rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.impulsa-expediente-percent-total.is-complete {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.12);
}

.impulsa-expediente-percent-total.is-partial {
    color: #f57c00;
    background: rgba(245, 124, 0, 0.12);
}

.impulsa-expediente-percent-total.is-over {
    color: #c62828;
    background: rgba(198, 40, 40, 0.1);
}

.impulsa-expediente-inline-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.impulsa-expediente-inline-action__hint {
    font-size: 0.8125rem;
    color: #78909c;
    line-height: 1.4;
}

.impulsa-expediente-form-section__head .impulsa-expediente-count-badge,
.impulsa-expediente-form-section__head .impulsa-expediente-percent-total {
    margin-left: auto;
}

.impulsa-expediente-role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.impulsa-expediente-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.impulsa-expediente-role-badge--emergencia {
    color: #0277bd;
    background: rgba(2, 119, 189, 0.12);
}

.impulsa-expediente-role-badge--familiar {
    color: #6a1b9a;
    background: rgba(106, 27, 154, 0.12);
}

.impulsa-expediente-role-badge--beneficiario {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.12);
}

.impulsa-expediente-role-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.impulsa-expediente-role-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (min-width: 992px) {
    .impulsa-expediente-page .impulsa-alta-grid-5 {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem;
    }

    .impulsa-expediente-page .impulsa-alta-grid-5 > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 991.98px) {
    .impulsa-expediente-layout {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .impulsa-expediente-rail {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        overflow: visible;
    }

    .impulsa-expediente-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .impulsa-expediente-nav__btn {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 9rem;
    }

    .impulsa-expediente-nav__hint {
        display: none;
    }

    .impulsa-expediente-workspace {
        min-height: 22rem;
    }

    .impulsa-expediente-footer__hint:not(.impulsa-expediente-footer__hint--status) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .impulsa-expediente-header {
        flex-direction: column;
        align-items: stretch;
    }

    .impulsa-expediente-header__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .impulsa-expediente-codigo {
        width: 100%;
        justify-content: space-between;
    }

    .impulsa-expediente-section-head {
        flex-direction: column;
    }

    .impulsa-expediente-footer {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .impulsa-expediente-pane,
    .impulsa-expediente-progress-bar__fill {
        animation: none;
        transition: none;
    }
}
