.rfc-soft-wrapper{--rfc-border:#1e293b;max-width:760px;margin:0 auto;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1e293b;box-sizing:border-box}
.rfc-soft-wrapper *{box-sizing:border-box}
.rfc-card{background:#fff;border:2.5px solid var(--rfc-border);border-radius:20px;padding:20px;box-shadow:4px 4px 0 var(--rfc-border);margin-bottom:16px}
.rfc-card-title{margin:0;font-size:18px;font-weight:900}
.rfc-opt{font-size:13px;color:#64748b;font-weight:700}
.rfc-label{display:block;font-weight:800;font-size:13.5px;margin:13px 0 5px}
.rfc-inp{width:100%;border:2px solid var(--rfc-border);border-radius:12px;padding:9px 11px;font-size:15px;font-weight:700;background:#fffef5;font-variant-numeric:tabular-nums;font-family:inherit}
.rfc-inp-c{text-align:center}
.rfc-stepper{display:flex;gap:5px;align-items:stretch}
.rfc-step{border:2px solid var(--rfc-border);background:#fef9c3;border-radius:11px;width:42px;font-weight:900;font-size:16px;cursor:pointer;flex:none}
.rfc-step:active{background:#fde68a}
.rfc-caption{display:block;font-size:12.5px;color:#64748b;font-weight:600;margin-top:5px;line-height:1.5}
.rfc-words{display:block;font-size:12.5px;color:#059669;font-weight:800;font-style:italic;min-height:16px;margin-top:3px}
.rfc-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.rfc-grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 10px}
.rfc-item{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1.5px dashed #e2e8f0}
.rfc-item input[type=checkbox]{width:20px;height:20px;accent-color:#0284c7}
.rfc-item-name{font-weight:800;font-size:14.5px}
.rfc-item input[type=text]{width:110px;border:2px solid var(--rfc-border);border-radius:10px;padding:6px 8px;font-size:14px;font-weight:700;background:#fffef5;font-variant-numeric:tabular-nums;font-family:inherit;text-align:right}
.rfc-item.off{opacity:.45}
.rfc-hero{background:linear-gradient(135deg,#f0f9ff,#bae6fd);border:2.5px solid var(--rfc-border);border-radius:16px;padding:15px;box-shadow:3px 3px 0 var(--rfc-border)}
.rfc-hero-cap{display:block;font-size:12.5px;font-weight:800;color:#075985}
.rfc-hero-val{display:block;font-size:31px;font-weight:900;margin-top:2px;font-variant-numeric:tabular-nums}
.rfc-hero-sub{display:block;font-size:13.5px;font-weight:800;color:#475569;margin-top:2px}
.rfc-row{display:flex;justify-content:space-between;gap:12px;padding:8px 2px;border-bottom:1.5px dashed #e2e8f0;font-size:14.5px}
.rfc-row span:first-child{color:#475569;font-weight:600}
.rfc-row span:last-child{font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
.rfc-row.total span{font-size:16px;color:#1e293b}
.rfc-note{font-size:13px;color:#64748b;line-height:1.55;margin:13px 0 0}

/* — Mobile guard 2026-10-24: chống tràn ngang (grid/flex blowout) và chống zoom khi chạm ô nhập — */
.rfc-soft-wrapper{overflow-x:clip}
.rfc-soft-wrapper *{min-width:0}
.rfc-soft-wrapper input,.rfc-soft-wrapper select,.rfc-soft-wrapper textarea{font-size:16px !important;max-width:100%}
