.dcfm{max-width:1280px}.dcfm-grid{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:14px;margin:22px 0}.dcfm-card,.dcfm-panel{background:#fff;border:1px solid #e2e5e9;border-radius:12px;padding:18px}.dcfm-card span{display:block;color:#646970;font-size:13px}.dcfm-card strong{display:block;font-size:25px;margin-top:8px}.dcfm-panel{margin:18px 0}.dcfm-panel summary{font-weight:600;cursor:pointer}.dcfm-form{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;margin:18px 0}.dcfm-form label{font-weight:600}.dcfm-form input,.dcfm-form select,.dcfm-form textarea{display:block;width:100%;margin-top:6px}.dcfm-form textarea{min-height:80px}.dcfm-form .full{grid-column:1/-1}@media(max-width:960px){.dcfm-grid,.dcfm-form{grid-template-columns:1fr 1fr}}@media(max-width:650px){.dcfm-grid,.dcfm-form{grid-template-columns:1fr}}

/* v1.5 Auditoría */
.dcfm-audit-detail{padding:10px 0;line-height:1.7;max-width:620px;word-break:break-word}
.dcfm-notice{padding:12px 14px;margin:0 0 18px;border:1px solid #dcdcde;border-radius:10px;background:#fff}

/* v1.6.0 expediente documental */
.dcfm-doc-summary{display:flex;gap:12px}.dcfm-doc-summary>div{min-width:110px;padding:12px 16px;border:1px solid #eaecf0;border-radius:10px;background:#f9fafb}.dcfm-doc-summary span{display:block;color:#667085;font-size:12px}.dcfm-doc-summary strong{display:block;font-size:22px;margin-top:3px}.dcfm-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.dcfm-section-title h3{margin:0}.dcfm-expired{color:#b42318!important;font-weight:700}.dcfm-danger-link{color:#b42318!important}.dcfm-table small{max-width:430px;white-space:normal}.dcfm-form input[type=file]{padding:6px}.dcfm-status-archived{background:#f2f4f7;color:#667085}
@media(max-width:640px){.dcfm-doc-summary{width:100%}.dcfm-doc-summary>div{flex:1}.dcfm-section-title{flex-direction:column}}

/* v1.8.0 · Alertas fiscales y documentales */
.dcfm-alert-list{display:grid;gap:12px;margin-top:16px}.dcfm-system-alert{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;border:1px solid #e5e7eb;border-left-width:4px;border-radius:12px;background:#fff}.dcfm-system-alert h4{margin:4px 0 6px}.dcfm-system-alert p{margin:3px 0}.dcfm-system-alert-critical{border-left-color:#b91c1c}.dcfm-system-alert-attention{border-left-color:#d97706}.dcfm-alert-meta{display:flex;gap:8px;font-size:12px;color:#64748b;text-transform:uppercase}.dcfm-alert-badge{padding:3px 8px;border-radius:999px;background:#f1f5f9;font-weight:700}.dcfm-system-alert-critical .dcfm-alert-badge{background:#fee2e2;color:#991b1b}.dcfm-system-alert-attention .dcfm-alert-badge{background:#ffedd5;color:#9a3412}.dcfm-alert-widget{margin-top:22px}

/* v1.9.0 · Reportes financieros */
.dcfm-report-tabs{display:flex;gap:8px;margin:18px 0;border-bottom:1px solid #e5e7eb;padding-bottom:8px}.dcfm-report-tabs a{padding:9px 13px;border-radius:9px;text-decoration:none;color:#475467;font-weight:600}.dcfm-report-tabs a.active{background:#111827;color:#fff}.dcfm-report-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:16px 0}.dcfm-report-summary>div{padding:14px 16px;border:1px solid #eaecf0;border-radius:10px;background:#f9fafb}.dcfm-report-summary span{display:block;color:#667085;font-size:12px}.dcfm-report-summary strong{display:block;margin-top:5px;font-size:19px}.dcfm-report-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.dcfm-actions-inline{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:900px){.dcfm-report-summary{grid-template-columns:1fr 1fr}.dcfm-report-tabs{overflow:auto}}@media(max-width:600px){.dcfm-report-summary{grid-template-columns:1fr}}

.dcfm-pnl-table{max-width:760px}.dcfm-pnl-table th{width:70%;text-align:left}.dcfm-pnl-table td{text-align:right}.dcfm-pnl-total th,.dcfm-pnl-total td{border-top:2px solid #111827;font-size:16px}
