/* NOMINCORP · Simulador transparente (complementa styles.css / modern.css) */
.simulator-grid>*{min-width:0}
.ns-howto{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:8px;max-width:450px}
.ns-howto li{font-size:13px;color:#526985;line-height:1.5;padding-left:14px;position:relative}
.ns-howto li:before{content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:linear-gradient(120deg,#1769ff,#14c8a5)}
.ns-howto b{color:#0b2d56;margin-right:4px}
.ns-amount-input{display:flex;align-items:center;gap:6px;border:1px solid #d3e1f3;border-radius:12px;padding:0 12px;background:#f8fbff;margin:0 0 14px;max-width:220px}
.ns-amount-input span{font-weight:800;color:#315170;font-size:14px}
.ns-amount-input input{border:0;background:transparent;font:800 18px Manrope,sans-serif;color:#0b2d56;width:100%;padding:10px 0;outline:none;min-width:0}
.ns-amount-input:focus-within{border-color:#1769ff;box-shadow:0 0 0 3px rgba(23,105,255,.12)}
.ns-help{display:block;font-size:11px;color:#5b6f88;line-height:1.55;margin:-14px 0 14px}
.schedule-wrap .ns-help{margin:0 0 10px}
.ns-quick{display:contents}
.ns-mini-label{display:block;font-size:12px;font-weight:700;margin-bottom:8px;color:#0b2d56}
.ns-freq{margin:0 0 18px}
.ns-seg{display:inline-flex;background:#eef4fb;border-radius:12px;padding:4px;gap:4px}
.ns-seg button{border:0;background:transparent;padding:9px 16px;border-radius:9px;font:700 12px 'DM Sans',sans-serif;color:#526985;cursor:pointer}
.ns-seg button.selected{background:#fff;color:#0758c5;box-shadow:0 2px 8px rgba(18,64,117,.12)}
.ns-change{min-height:16px;font-size:11px;color:#0a7a74;margin:8px 0 0}
.ns-alert{border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.55;margin:10px 0}
.ns-alert-warn{background:#fff7e8;border:1px solid #f3cf8a;color:#6b4a07}
.ns-alert-error{background:#fff0f0;border:1px solid #f1b4b4;color:#7a1f1f}
.ns-bar{display:flex;height:10px;border-radius:99px;overflow:hidden;margin:16px 0 8px;background:#e5edf7}
.ns-bar span{display:block;height:100%;transition:width .3s}
.ns-legend{list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 14px;padding:0;font-size:11px;color:#526985}
.ns-legend i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.ns-legend b{color:#102f54;margin-left:2px}
.ns-muted{color:#8a6a1f}
.sim-results.ns-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 10px}
.sim-results.ns-results>div{min-height:0;padding:11px 12px}
.sim-results.ns-results>div.ns-hl{background:linear-gradient(115deg,#eef5ff,#e9fcf8);border-color:#bfe2f0}
.sim-results.ns-results strong{font-size:13.5px;overflow-wrap:anywhere}
.ns-tip{border:1px solid #b9cbe2;background:#fff;color:#315170;width:16px;height:16px;border-radius:50%;font:800 10px/1 'DM Sans',sans-serif;cursor:pointer;padding:0;margin-left:3px;vertical-align:1px}
.ns-tip:focus-visible,.ns-links a:focus-visible,.ns-costs summary:focus-visible{outline:2px solid #1769ff;outline-offset:2px}
.ns-tipbox{background:#0b2d56;color:#fff;border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.55;margin:0 0 10px}
.ns-links{display:flex;gap:18px;flex-wrap:wrap;margin:6px 0 12px}
.ns-links a{font-size:12.5px;font-weight:800;color:#0758c5;text-decoration:underline;text-underline-offset:3px}
.ns-costs{border:1px solid #e0e9f5;border-radius:14px;background:#fbfdff;margin:0 0 12px;scroll-margin-top:90px}
.ns-costs summary{cursor:pointer;padding:13px 14px;font:800 13.5px Manrope,sans-serif;color:#0b2d56;list-style:none}
.ns-costs summary::-webkit-details-marker{display:none}
.ns-costs summary:after{content:"＋";float:right;color:#1769ff}
.ns-costs[open] summary:after{content:"－"}
.ns-costs-body{padding:0 12px 12px}
.ns-costs-table{width:100%;border-collapse:collapse;font-size:11.5px}
.ns-costs-table th,.ns-costs-table td{text-align:left;padding:9px 6px;border-bottom:1px solid #e7edf4;vertical-align:top}
.ns-costs-table th{background:#edf5ff;color:#25476b;font-size:10.5px}
.ns-costs-table td:nth-child(4),.ns-costs-table td:nth-child(5),.ns-costs-table th:nth-child(4),.ns-costs-table th:nth-child(5){text-align:right;white-space:nowrap}
.ns-costs-table small{display:block;color:#5b6f88;font-size:10.5px;margin-top:3px;line-height:1.4}
.ns-costs-table tfoot td{font-weight:800;color:#0b2d56;background:#f5f9ff}
.ns-costs-table tfoot td:last-child{text-align:right}
.ns-pend{color:#8a5a00;font-weight:800}
.ns-opt{display:flex!important;align-items:center;gap:6px;font-size:11px!important;margin:6px 0 0!important;font-weight:600!important}
.ns-legal{font-size:12px;color:#40566f;line-height:1.6;margin:4px 0 14px;background:#f5f8fc;border-radius:12px;padding:12px 14px}
.schedule-wrap{scroll-margin-top:90px}
.schedule-table tfoot td{font-weight:800;background:#f5f9ff;color:#0b2d56}
.schedule-table{font-size:11px}
.ns-apply{margin-top:12px}
@media(max-width:700px){
 .sim-results.ns-results{grid-template-columns:1fr 1fr}
 .ns-costs-table thead{display:none}
 .ns-costs-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 10px;border-bottom:1px solid #e7edf4;padding:8px 0}
 .ns-costs-table td{border:0;padding:2px 4px}
 .ns-costs-table td:nth-child(1){grid-column:1/-1}
 .ns-costs-table tbody td:nth-child(2):before{content:"Presta: ";color:#5b6f88}
 .ns-costs-table tbody td:nth-child(3){text-align:right}
 .ns-costs-table tbody td:nth-child(4):before{content:"Importe ";color:#5b6f88;font-weight:400}
 .ns-costs-table tbody td:nth-child(5):before{content:"IGV ";color:#5b6f88;font-weight:400}
 .ns-costs-table tfoot tr{grid-template-columns:1fr auto}
 .ns-costs-table tfoot td[colspan="5"]{grid-column:1/-1}
}
@media(max-width:480px){.sim-card .estimate{flex-direction:column;align-items:flex-start}.sim-card .estimate>strong{text-align:left}.schedule-wrap h4:after{content:" · desliza →";font:600 11px 'DM Sans',sans-serif;color:#5b6f88}}
#paymentText{white-space:nowrap}
@media(max-width:380px){.sim-results.ns-results strong{font-size:12.5px}}
.sim-results.ns-results.ns-results-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.ns-includes{font-size:12px;color:#40566f;line-height:1.55;margin:4px 0 12px}
.ns-includes a{font-weight:800;color:#0758c5;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
