/* CFE: capa responsiva transversal. Solo presentación; no altera formularios ni cálculos. */
@media screen and (max-width: 760px) {
 html,body{max-width:100%;overflow-x:clip}
 body{min-width:0}
 main,.content,.card,.wrap,.container,.container-fluid,.collector-shell,.layout,.grid,.field{min-width:0;max-width:100%}
 .card,.modal-content,.cfe-recibo-section,.cfe-recibo-resumen{min-width:0}
 img,svg,video,canvas{max-width:100%;height:auto}
 input:not([type="checkbox"]):not([type="radio"]),select,textarea{max-width:100%;min-width:0}
 input[type="file"]{width:100%;max-width:100%;font-size:.85rem}
 .row>[class*="col-"],.grid>*,.stat-grid>*,.dashboard-grid>*,.cfe-recibo-fase1>*,.cfe-recibo-section>*{min-width:0;max-width:100%}
 .table-wrap,.table-responsive{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .table-wrap table:not(.responsive-table){width:max-content;min-width:100%}
 .modal-dialog{max-width:calc(100vw - 20px);margin:10px auto}
 .modal-body{max-height:calc(100dvh - 160px);overflow-y:auto;overflow-x:auto}
 .btn,button,a{touch-action:manipulation}
 .cfe-recibo-fase1{width:100%;max-width:100%;overflow:visible}
 .cfe-recibo-fase1 .cfe-recibo-section{padding:12px!important;min-width:0;width:100%;max-width:100%}
 .cfe-recibo-fase1 .cfe-recibo-resumen{padding:12px;min-width:0;width:100%}
 .cfe-recibo-fase1 .cfe-recibo-cliente{min-width:0;width:100%}
 .cfe-recibo-fase1 .cfe-recibo-cliente>div{min-width:0;width:100%}
 .cfe-recibo-fase1 .cfe-recibo-cliente strong,.cfe-recibo-fase1 .cfe-recibo-cliente span{white-space:normal;overflow-wrap:anywhere}
 .cfe-recibo-fase1 .cfe-recibo-montos{grid-template-columns:1fr!important;min-width:0}
 .cfe-recibo-fase1 .cfe-recibo-montos>div{min-width:0}
 .cfe-recibo-fase1 .field,.cfe-recibo-fase1 .field.full{min-width:0;width:100%;max-width:100%}
 .cfe-recibo-fase1 .field input,.cfe-recibo-fase1 .field select,.cfe-recibo-fase1 .field textarea{width:100%;max-width:100%;min-width:0}
 .cfe-recibo-fase1 .field select{white-space:nowrap;text-overflow:ellipsis}
 .cfe-recibo-fase1 .cfe-recibo-section h3{display:flex;align-items:center;gap:7px;line-height:1.35;overflow-wrap:anywhere}
 .cfe-recibo-fase1 .cfe-recibo-section h3 span{flex:0 0 27px;margin-right:0}
 .cfe-recibo-fase1 .btn,.cfe-recibo-fase1 button{max-width:100%;white-space:normal}
 .cfe-recibo-fase1 .cfe-recibo-confirmacion{min-width:0;max-width:100%}
 .cfe-recibo-fase1 .cfe-recibo-confirmacion button[type="submit"]{width:100%;min-height:46px}
 .cobranza-alerta .alerta-contenido,.cobranza-alerta .alerta-acciones{min-width:0}
 .cobranza-alerta h2,.cobranza-alerta p{overflow-wrap:normal;word-break:normal}
}
@media screen and (max-width: 420px){
 .cfe-recibo-fase1 .cfe-recibo-section{padding:10px!important}
 .cfe-recibo-fase1 .cfe-recibo-resumen{padding:10px}
 .modal-dialog{max-width:calc(100vw - 12px);margin:6px auto}
}
