.sb381-modal .sb381-card{max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain}
.sb381-safe-note{margin:12px 0;padding:14px;border-radius:12px;background:#f4f1eb;color:#514b41;font-size:13px;line-height:1.5}
.sb381-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.sb381-totals>div{border:1px solid #e7e2db;border-radius:14px;padding:14px;min-width:0;display:flex;flex-direction:column;gap:8px}
.sb381-totals small{font-size:11px;color:#6c645e}.sb381-totals strong{font-size:19px;overflow-wrap:anywhere}
.sb381-quote{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;padding-bottom:16px;border-bottom:1px solid #ebe7e1}
.sb381-quote label,.sb381-form label{font-weight:600;font-size:13px}.sb381-quote input,.sb381-form input,.sb381-form select{width:100%;min-width:0;font-size:16px}
.sb381-quote small{grid-column:1/-1;color:#716b65;font-size:12px;line-height:1.5}
.sb381-form{padding:16px 0;border-bottom:1px solid #ebe7e1}.sb381-form h3{margin:0 0 14px}
.sb381-pay-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sb381-pay-fields .span2{grid-column:1/-1}
.sb381-checkbox{display:flex;align-items:flex-start;gap:9px;margin:14px 0;line-height:1.5}.sb381-checkbox input{width:18px;height:18px;flex:none;margin-top:3px}
.sb381-movements{display:grid;gap:8px;margin-top:12px}.sb381-movement{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #efede8;padding:8px 0;gap:12px}.sb381-movement>div{min-width:0}.sb381-movement small{display:block;color:#6e6964;margin-top:4px;overflow-wrap:anywhere}.sb381-movement .ghost{font-size:12px;flex:none}
.sb381-settled{padding:12px;border-radius:12px;background:#eaf5ef;color:#246c49;font-weight:600}.sb381-footnote{margin-top:14px;font-size:12px}
@media(max-width:600px){.sb381-modal .modal-card{max-height:calc(100dvh - 22px);width:calc(100vw - 24px);padding:20px}.sb381-totals{gap:6px}.sb381-totals>div{padding:9px}.sb381-totals strong{font-size:15px}.sb381-quote{grid-template-columns:1fr}.sb381-quote small{grid-column:auto}.sb381-pay-fields{grid-template-columns:1fr}.sb381-pay-fields .span2{grid-column:auto}.sb381-movement{flex-wrap:wrap}}
