/* V193 — Tarjetas de proformas adaptables a móvil y tablet */
.nw-quote-history,.nw-quote-card,.nw-quote-card>div{min-width:0;max-width:100%;box-sizing:border-box}
.nw-quote-card{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:14px;padding:20px 0}
.nw-quote-card>div:first-child strong{display:block;overflow-wrap:anywhere;line-height:1.35}
.nw-quote-card>div:first-child small{line-height:1.5;overflow-wrap:anywhere}
.nw-quote-card .nw-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:100%;align-items:stretch}
.nw-quote-card .nw-actions .btn{display:flex;justify-content:center;align-items:center;min-width:0!important;width:100%;max-width:100%;height:auto;min-height:44px;padding:11px 8px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important;text-align:center;line-height:1.3;font-size:13px;flex:none!important}
.nw-quote-card .nw-actions .btn[data-nw-view]{grid-column:span 2}
.nw-quote-card .nw-actions .btn[data-nw-edit]{grid-column:span 2}
.nw-quote-card .nw-actions .btn[data-nw-delete]{grid-column:span 2}
.nw-quote-card .nw-actions .btn[data-nw-follow]{grid-column:span 2}
@media(max-width:760px){
 .nw-quote-card .nw-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .nw-quote-card .nw-actions .btn{font-size:14px;min-height:46px}
 .nw-quote-card .nw-actions .btn[data-nw-view],.nw-quote-card .nw-actions .btn[data-nw-edit],.nw-quote-card .nw-actions .btn[data-nw-delete],.nw-quote-card .nw-actions .btn[data-nw-follow]{grid-column:auto}
 .nw-quote-history{padding:0}
 .nw-quote-history>summary{line-height:1.5;overflow-wrap:anywhere}
}
@media(max-width:370px){.nw-quote-card .nw-actions .btn{font-size:12px;padding:10px 5px!important}}
