/*
=================================================
DC Expediente Booster Fase 2
=================================================
*/

.dc-expb-page {
    --dc-expb-blue: #2563eb;
    --dc-expb-dark: #071225;
    --dc-expb-muted: #53657d;
    --dc-expb-line: #d8e4f5;
    --dc-expb-soft: #f8fafc;
}

.dc-expb-alert {
    width: min(1180px, 100%);
    margin: 0 auto 16px;
    padding: 13px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 950;
}

.dc-expb-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.dc-expb-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.dc-expb-hero h1 {
    max-width: 820px;
}

.dc-expb-alert-grid {
    width: min(1180px, 100%);
    margin: -10px auto 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.dc-expb-mini-alert {
    padding: 13px 14px;
    border-radius: 17px;
    border: 1px solid var(--dc-expb-line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.05);
}

.dc-expb-mini-alert strong {
    display: block;
    color: var(--dc-expb-dark);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 4px;
}

.dc-expb-mini-alert span {
    display: block;
    color: var(--dc-expb-muted);
    font-size: 11px;
    line-height: 1.45;
}

.dc-expb-mini-alert-urgent {
    background: #fff1f2;
    border-color: #fecdd3;
}

.dc-expb-mini-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.dc-expb-mini-alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.dc-expb-mini-alert-soft {
    background: #f8fafc;
}

.dc-expb-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dc-expb-next-action {
    margin-top: 16px;
    padding: 14px 15px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.dc-expb-next-action span {
    display: block;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-bottom: 5px;
}

.dc-expb-next-action strong {
    display: block;
    color: var(--dc-expb-dark);
    font-size: 14px;
    line-height: 1.45;
}

.dc-expb-form {
    display: grid;
    gap: 14px;
}

.dc-expb-form label {
    display: grid;
    gap: 7px;
}

.dc-expb-form label span {
    color: var(--dc-expb-dark);
    font-size: 12px;
    font-weight: 950;
}

.dc-expb-form label small {
    color: var(--dc-expb-muted);
    font-size: 11px;
    line-height: 1.45;
}

.dc-expb-form input,
.dc-expb-form select,
.dc-expb-form textarea {
    width: 100%;
    border: 1px solid #cbd8ea;
    background: #fff;
    color: var(--dc-expb-dark);
    border-radius: 13px;
    padding: 11px 12px;
    font-size: 13px;
    outline: none;
    min-height: 44px;
}

.dc-expb-form textarea {
    min-height: 96px;
    resize: vertical;
}

.dc-expb-form input:focus,
.dc-expb-form select:focus,
.dc-expb-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.11);
}

.dc-expb-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dc-expb-checklist-card .dc-neo-card-header {
    align-items: flex-start;
}

.dc-expb-progress {
    width: 170px;
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-top: 8px;
}

.dc-expb-progress span {
    display: block;
    height: 100%;
    background: #2563eb;
    border-radius: inherit;
}

.dc-expb-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dc-expb-checklist label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 15px;
    border: 1px solid #dbe4ef;
    background: #f8fafc;
    cursor: pointer;
}

.dc-expb-checklist label.is-checked {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.dc-expb-checklist input {
    width: 18px;
    height: 18px;
    min-height: auto;
    padding: 0;
    accent-color: #2563eb;
}

.dc-expb-checklist span {
    font-size: 12px !important;
    line-height: 1.35;
}

.dc-expb-side-form {
    gap: 11px;
}

.dc-expb-side-form textarea {
    min-height: 86px;
}

.dc-expb-side-copy {
    color: var(--dc-expb-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: -4px 0 12px;
}

.dc-expb-generated-list {
    display: grid;
    gap: 10px;
}

.dc-expb-generated-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #dbe4ef;
}

.dc-expb-generated-list strong {
    color: var(--dc-expb-dark);
    font-size: 13px;
    font-weight: 950;
}

.dc-expb-generated-list span {
    color: var(--dc-expb-muted);
    font-size: 11px;
    font-weight: 800;
}

.dc-expb-generated-list a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
}

.dc-expb-actions-card .dc-btn,
.dc-expb-control-card .dc-btn,
.dc-expb-notify-card .dc-btn {
    width: 100%;
    justify-content: center;
}

.dc-expb-actions-card {
    display: grid;
    gap: 10px;
}

.dc-expb-actions-card h3 {
    margin-bottom: 4px;
}

@media (max-width: 980px) {
    .dc-expb-alert-grid,
    .dc-expb-summary-grid,
    .dc-expb-legal-grid,
    .dc-expb-checklist {
        grid-template-columns: 1fr;
    }

    .dc-expb-progress {
        width: 100%;
    }

    .dc-expb-generated-list article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dc-expb-alert-grid {
        margin-top: 0;
    }

    .dc-expb-mini-alert {
        padding: 12px;
    }
}


/*
=================================================
v2.4 - Tabs Apple/Tailwind y limpieza de layout
=================================================
*/

.dc-expb-page,
.dc-expb-page * {
    box-sizing: border-box;
}

.dc-expb-page {
    --dc-expb-blue: #2563eb;
    --dc-expb-ink: #0f172a;
    --dc-expb-muted-2: #64748b;
    --dc-expb-border: #dbe4ef;
    --dc-expb-bg: #f8fafc;
}

.dc-expb-page .dc-container {
    max-width: 1120px;
}

.dc-expb-page .dc-neo-panel-card,
.dc-expb-page .dc-neo-side-card {
    max-width: 100%;
    width: 100%;
    border-color: var(--dc-expb-border);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

.dc-expb-page h1,
.dc-expb-page h2,
.dc-expb-page h3,
.dc-expb-page h4,
.dc-expb-page strong,
.dc-expb-page label span,
.dc-expb-page .dc-btn {
    font-weight: 500 !important;
    letter-spacing: -.015em;
}

.dc-expb-page p,
.dc-expb-page span,
.dc-expb-page small,
.dc-expb-page input,
.dc-expb-page select,
.dc-expb-page textarea {
    font-weight: 400 !important;
}

.dc-expb-page .dc-btn,
.dc-expb-page button,
.dc-expb-page input[type="submit"] {
    min-height: 34px !important;
    height: auto;
    padding: 8px 13px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .10);
}

.dc-expb-page .dc-btn-outline {
    background: #fff !important;
    color: var(--dc-expb-blue) !important;
    border-color: #cbdff7 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .035) !important;
}

.dc-expb-page .dc-btn-primary {
    background: var(--dc-expb-blue) !important;
    color: #fff !important;
    border-color: var(--dc-expb-blue) !important;
}

.dc-expb-tabs-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.dc-expb-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    margin: 0 0 14px;
    border: 1px solid var(--dc-expb-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .045);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 8px;
    z-index: 8;
}

.dc-expb-tab-btn {
    appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: .16s ease;
}

.dc-expb-tab-btn:hover {
    background: #f8fafc;
    color: var(--dc-expb-blue);
}

.dc-expb-tab-btn.is-active {
    background: var(--dc-expb-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .14);
}

.dc-expb-tab-panel {
    display: grid;
    gap: 14px;
    animation: dcExpbFade .18s ease;
}

.dc-expb-tab-panel[hidden] {
    display: none !important;
}

@keyframes dcExpbFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.dc-expb-tab-grid {
    display: grid;
    gap: 14px;
    align-items: start;
}

.dc-expb-tab-grid-main {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.dc-expb-tab-grid-sidecards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dc-expb-tab-main,
.dc-expb-tab-side {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.dc-expb-tab-side {
    position: static !important;
}

.dc-expb-page .dc-neo-expedient-layout,
.dc-expb-page .dc-neo-expedient-sidebar,
.dc-expb-page .dc-neo-expedient-main {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
}

.dc-expb-form {
    gap: 12px;
}

.dc-expb-form input,
.dc-expb-form select,
.dc-expb-form textarea {
    min-height: 40px;
    border-radius: 12px;
    font-size: 12.5px;
}

.dc-expb-legal-grid,
.dc-expb-checklist,
.dc-expb-summary-grid {
    gap: 10px;
}

.dc-expb-legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dc-expb-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dc-expb-generated-list article {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.dc-expb-generated-list strong,
.dc-expb-generated-list span,
.dc-expb-generated-list a {
    font-weight: 500 !important;
}

.dc-expb-actions-card .dc-btn,
.dc-expb-control-card .dc-btn,
.dc-expb-notify-card .dc-btn {
    width: 100%;
    justify-content: center;
}

.dc-expb-page .dc-lcal-case-widget {
    margin: 0;
}

@media (max-width: 1040px) {
    .dc-expb-tab-grid-main,
    .dc-expb-tab-grid-sidecards {
        grid-template-columns: 1fr;
    }

    .dc-expb-tabs-nav {
        position: static;
    }
}

@media (max-width: 720px) {
    .dc-expb-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .dc-expb-tab-btn {
        flex: 0 0 auto;
    }

    .dc-expb-legal-grid,
    .dc-expb-checklist,
    .dc-expb-summary-grid,
    .dc-expb-generated-list article {
        grid-template-columns: 1fr;
    }

    .dc-expb-page .dc-neo-card-header {
        align-items: flex-start;
        gap: 10px;
    }
}


/*
=================================================
v2.5 - Compact Apple/Tailwind
Ajustes finos de densidad visual y responsive
=================================================
*/

.dc-expb-page {
    --dc-expb-radius-lg: 18px;
    --dc-expb-radius-md: 12px;
    --dc-expb-radius-sm: 9px;
}

/* Contenedor general más compacto */
.dc-expb-page .dc-section {
    padding-top: 22px !important;
    padding-bottom: 34px !important;
}

.dc-expb-page .dc-container {
    max-width: 1060px !important;
}

.dc-expb-page .dc-neo-expedient-header {
    margin-bottom: 14px !important;
}

.dc-expb-page .dc-neo-expedient-header h1 {
    font-size: clamp(27px, 3.1vw, 38px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
    margin-bottom: 5px !important;
}

/* Tarjetas superiores más pequeñas */
.dc-expb-page .dc-neo-alert-grid,
.dc-expb-page .dc-expb-summary-grid {
    gap: 9px !important;
    margin-bottom: 12px !important;
}

.dc-expb-page .dc-neo-alert,
.dc-expb-page .dc-expb-summary-item,
.dc-expb-page .dc-lcal-dashboard-kpis article {
    padding: 10px 12px !important;
    border-radius: 13px !important;
    min-height: auto !important;
}

.dc-expb-page .dc-neo-alert strong,
.dc-expb-page .dc-expb-summary-item strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.dc-expb-page .dc-neo-alert span,
.dc-expb-page .dc-expb-summary-item span,
.dc-expb-page .dc-neo-alert p,
.dc-expb-page .dc-expb-summary-item p {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

/* Tabs más delgadas */
.dc-expb-tabs-nav {
    padding: 7px !important;
    gap: 6px !important;
    border-radius: 15px !important;
    margin-bottom: 12px !important;
}

.dc-expb-tab-btn {
    min-height: 28px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.dc-expb-tab-btn.is-active {
    box-shadow: 0 6px 14px rgba(37, 99, 235, .14) !important;
}

/* Paneles y cards más compactos */
.dc-expb-page .dc-neo-panel-card,
.dc-expb-page .dc-neo-side-card,
.dc-expb-page .dc-lcal-case-widget {
    padding: 16px !important;
    border-radius: var(--dc-expb-radius-lg) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04) !important;
}

.dc-expb-tab-panel {
    gap: 12px !important;
}

.dc-expb-tab-grid {
    gap: 12px !important;
}

.dc-expb-tab-grid-main {
    grid-template-columns: minmax(0, 1fr) 300px !important;
}

.dc-expb-tab-grid-sidecards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Headers internos más limpios */
.dc-expb-page .dc-neo-card-header {
    margin-bottom: 12px !important;
    padding-bottom: 11px !important;
}

.dc-expb-page .dc-neo-card-header h3,
.dc-expb-page .dc-lcal-case-widget-head h3 {
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
}

.dc-expb-page .dc-neo-card-header p,
.dc-expb-page .dc-lcal-case-widget-head p {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
}

/* Formularios compactos */
.dc-expb-page input,
.dc-expb-page select,
.dc-expb-page textarea,
.dc-expb-page .dc-lcal-quick-grid input,
.dc-expb-page .dc-lcal-quick-grid select {
    min-height: 34px !important;
    border-radius: 10px !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.dc-expb-page textarea,
.dc-expb-page .dc-expb-form textarea,
.dc-expb-page .dc-lcal-field textarea {
    min-height: 86px !important;
}

.dc-expb-page .dc-expb-legal-grid textarea {
    min-height: 76px !important;
}

.dc-expb-page label,
.dc-expb-page .dc-expb-form label,
.dc-expb-page .dc-lcal-field label {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    margin-bottom: 4px !important;
}

/* Botones más pequeños y más Apple */
.dc-expb-page .dc-btn,
.dc-expb-page button,
.dc-expb-page input[type="submit"],
.dc-expb-page .dc-lcal-btn,
.dc-expb-page .dc-lcal-submit-btn,
.dc-expb-page .dc-lcal-action-btn {
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    letter-spacing: -.01em !important;
    line-height: 1 !important;
    box-shadow: 0 5px 12px rgba(37, 99, 235, .09) !important;
}

.dc-expb-page .dc-btn-outline,
.dc-expb-page .dc-lcal-btn-light {
    background: #fff !important;
    color: #2563eb !important;
    border-color: #cfe0f7 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .035) !important;
}

.dc-expb-page .dc-btn-primary,
.dc-expb-page .dc-lcal-submit-btn,
.dc-expb-page button[type="submit"]:not(.dc-lcal-btn-light):not(.dc-expb-tab-btn) {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
}

/* Botones full-width, pero menos altos */
.dc-expb-page .dc-expb-control-card .dc-btn,
.dc-expb-page .dc-expb-notify-card .dc-btn,
.dc-expb-page .dc-expb-actions-card .dc-btn,
.dc-expb-page .dc-expb-form button[type="submit"] {
    width: 100%;
    min-height: 32px !important;
}

/* Jurídico más ordenado */
.dc-expb-page .dc-expb-legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.dc-expb-page .dc-expb-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
}

.dc-expb-page .dc-expb-check-item {
    min-height: 52px !important;
    padding: 10px !important;
    border-radius: 12px !important;
}

.dc-expb-page .dc-expb-check-item span {
    font-size: 11.5px !important;
}

/* Seguimiento, tareas y mensajes compactos */
.dc-expb-page .dc-neo-timeline-item {
    gap: 10px !important;
}

.dc-expb-page .dc-neo-timeline-content {
    padding: 12px !important;
    border-radius: 14px !important;
}

.dc-expb-page .dc-neo-timeline-content strong {
    font-size: 12.5px !important;
}

.dc-expb-page .dc-neo-timeline-content span,
.dc-expb-page .dc-neo-timeline-content p {
    font-size: 11.5px !important;
}

.dc-expb-page [class*="task"],
.dc-expb-page [class*="message"] {
    max-width: 100%;
}

/* Agenda del expediente */
.dc-expb-page .dc-lcal-case-widget {
    margin: 0 !important;
}

.dc-expb-page .dc-lcal-case-widget-head {
    margin-bottom: 10px !important;
}

.dc-expb-page .dc-lcal-dashboard-kpis {
    gap: 7px !important;
    margin-bottom: 10px !important;
}

.dc-expb-page .dc-lcal-dashboard-kpis strong {
    font-size: 17px !important;
}

.dc-expb-page .dc-lcal-dashboard-kpis span {
    font-size: 10.5px !important;
}

.dc-expb-page .dc-lcal-mini-row {
    padding: 9px 10px !important;
    border-radius: 12px !important;
}

.dc-expb-page .dc-lcal-mini-row strong {
    font-size: 12px !important;
}

.dc-expb-page .dc-lcal-mini-row span {
    font-size: 11px !important;
}

.dc-expb-page .dc-lcal-mini-date,
.dc-expb-page .dc-lcal-mini-pill {
    min-height: 20px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
}

/* Operación más ordenada */
.dc-expb-page .dc-expb-tab-panel[data-dc-expb-panel="operacion"] .dc-expb-tab-grid-sidecards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.dc-expb-page .dc-expb-actions-card {
    align-self: start !important;
}

.dc-expb-page .dc-expb-actions-card .dc-btn {
    margin-bottom: 7px !important;
}

/* Evitar cajas montadas y desbordes */
.dc-expb-page .dc-neo-side-card,
.dc-expb-page .dc-neo-panel-card,
.dc-expb-page .dc-expb-tab-main,
.dc-expb-page .dc-expb-tab-side {
    overflow: visible !important;
    min-width: 0 !important;
}

.dc-expb-page .dc-neo-doc-item,
.dc-expb-page .dc-expb-generated-list article,
.dc-expb-page .dc-lcal-mini-row {
    min-width: 0 !important;
}

.dc-expb-page .dc-neo-doc-item strong,
.dc-expb-page .dc-expb-generated-list strong,
.dc-expb-page .dc-lcal-mini-row strong {
    overflow-wrap: anywhere;
}

/* Responsive */
@media (max-width: 1080px) {
    .dc-expb-tab-grid-main,
    .dc-expb-tab-grid-sidecards,
    .dc-expb-page .dc-expb-tab-panel[data-dc-expb-panel="operacion"] .dc-expb-tab-grid-sidecards {
        grid-template-columns: 1fr !important;
    }

    .dc-expb-page .dc-container {
        max-width: 94vw !important;
    }
}

@media (max-width: 760px) {
    .dc-expb-page .dc-section {
        padding-top: 14px !important;
    }

    .dc-expb-page .dc-container {
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .dc-expb-page .dc-neo-expedient-header h1 {
        font-size: 28px !important;
    }

    .dc-expb-tabs-nav {
        padding: 6px !important;
        gap: 5px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        scrollbar-width: none;
    }

    .dc-expb-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .dc-expb-tab-btn {
        flex: 0 0 auto;
        min-height: 29px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }

    .dc-expb-page .dc-neo-panel-card,
    .dc-expb-page .dc-neo-side-card,
    .dc-expb-page .dc-lcal-case-widget {
        padding: 13px !important;
        border-radius: 16px !important;
    }

    .dc-expb-page .dc-expb-legal-grid,
    .dc-expb-page .dc-expb-checklist,
    .dc-expb-page .dc-lcal-dashboard-kpis,
    .dc-expb-page .dc-lcal-quick-grid,
    .dc-expb-page .dc-expb-summary-grid,
    .dc-expb-page .dc-neo-alert-grid {
        grid-template-columns: 1fr !important;
    }

    .dc-expb-page .dc-lcal-mini-row {
        grid-template-columns: 1fr !important;
    }

    .dc-expb-page .dc-lcal-mini-meta {
        justify-content: flex-start !important;
    }

    .dc-expb-page .dc-btn,
    .dc-expb-page button,
    .dc-expb-page .dc-lcal-btn {
        min-height: 32px !important;
    }
}

@media (max-width: 480px) {
    .dc-expb-page .dc-neo-expedient-meta,
    .dc-expb-page .dc-neo-status-group,
    .dc-expb-page .dc-lcal-mini-meta {
        gap: 5px !important;
    }

    .dc-expb-page input,
    .dc-expb-page select,
    .dc-expb-page textarea {
        font-size: 12px !important;
    }
}

/* v2.7.0 · expediente simplificado para abogado */
.dc-expb-page .dc-expb-summary-grid.is-simplified{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.dc-expb-case-signal{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:stretch;margin:12px 0 14px}
.dc-expb-case-signal>div{display:grid;gap:3px;padding:10px 11px;border:1px solid #e3e9f2;border-radius:12px;background:#fafcff;min-width:0}
.dc-expb-case-signal span{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#728096}.dc-expb-case-signal strong{font-size:12px;color:#18243b;overflow-wrap:anywhere}.dc-expb-case-signal small{font-size:9px;color:#8490a3}
.dc-expb-signal-link{align-self:center;padding:7px 10px;border:1px solid #dbe4f0;border-radius:9px;background:#fff;color:#2457d6;font-size:10px;font-weight:700;text-decoration:none;white-space:nowrap}
.dc-expb-juridico-tools,.dc-expb-follow-actions{display:flex;justify-content:flex-end;gap:8px;margin:10px 0 0}.dc-expb-subtle-btn{min-height:32px!important;padding:6px 11px!important;border:1px solid #dbe4f0!important;border-radius:9px!important;background:#fff!important;color:#294b9b!important;font-size:10px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer}
.dc-expb-generated-hint{font-size:10px;color:#8792a4}
.dc-expb-modal[hidden]{display:none!important}.dc-expb-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:22px}.dc-expb-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}.dc-expb-modal-dialog{position:relative;z-index:1;width:min(980px,96vw);max-height:88vh;display:flex;flex-direction:column;border:1px solid #dbe4ef;border-radius:18px;background:#fff;box-shadow:0 26px 80px rgba(15,23,42,.22);overflow:hidden}.dc-expb-modal-dialog.is-compact{width:min(620px,94vw)}
.dc-expb-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px;border-bottom:1px solid #e7ecf3;background:#fbfcfe}.dc-expb-modal-head>div{display:grid;gap:3px}.dc-expb-modal-head strong{font-size:14px;color:#17243b}.dc-expb-modal-head span{font-size:10px;color:#79869a}.dc-expb-modal-head button{width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;background:transparent!important;color:#6f7c90!important;font-size:22px!important;line-height:1!important}.dc-expb-modal-body{padding:14px;overflow:auto}.dc-expb-modal-body>.dc-neo-panel-card,.dc-expb-modal-body>.dc-neo-side-card{margin:0 0 12px!important;box-shadow:none!important}.dc-expb-modal-body>.dc-neo-panel-card:last-child,.dc-expb-modal-body>.dc-neo-side-card:last-child{margin-bottom:0!important}.dc-expb-modal-open{overflow:hidden}
@media(max-width:900px){.dc-expb-case-signal{grid-template-columns:1fr 1fr}.dc-expb-signal-link{justify-self:start}}
@media(max-width:760px){.dc-expb-page .dc-expb-summary-grid.is-simplified{grid-template-columns:1fr 1fr!important}.dc-expb-case-signal{grid-template-columns:1fr}.dc-expb-modal{padding:10px}.dc-expb-modal-dialog{width:100%;max-height:92vh}.dc-expb-follow-actions{justify-content:flex-start;flex-wrap:wrap}}
