.emergency-fund .ef-section{padding:28px;margin-top:24px}.ef-help{font-size:.9rem;color:#475569;line-height:1.65;margin:16px 0}.ef-options{border:1px solid #cbd5e1;border-radius:12px;padding:16px;margin:20px 0}.ef-options legend{font-size:1rem;font-weight:700;padding:0 6px;float:none;width:auto}.ef-check{display:flex;align-items:center;gap:10px;font-weight:600}.ef-check input{width:20px;height:20px;flex:0 0 20px}.ef-options>label:not(.ef-check){display:flex;flex-direction:column;gap:8px}.ef-options input[type=number]{width:100%;height:46px;border:1px solid #cedce5;border-radius:11px;padding:0 13px}.ef-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.ef-error{background:#fff1f2;color:#9f1239;border:1px solid #fda4af;border-radius:8px;padding:12px}.ef-totals{margin:24px 0}.ef-totals div{border-bottom:1px solid #dbe3ed;padding:14px 0}.ef-totals dt{color:#475569;font-weight:500}.ef-totals dd{font-size:1.35rem;font-weight:700;margin:6px 0 0;overflow-wrap:anywhere}.ef-notice{padding:14px;border-radius:10px;border:1px solid #c5d9ea;background:#f1f7fc;color:#173456}.ef-notice[data-warning=true]{background:#fff8e8;border-color:#dfbe67;color:#714900}.ef-scroll{max-width:100%;overflow-x:auto}.ef-scroll table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:.92rem}.ef-scroll th,.ef-scroll td{text-align:right;padding:12px;border-bottom:1px solid #dbe3ed;white-space:nowrap}.ef-scroll th:first-child,.ef-scroll td:first-child{text-align:left}.ef-scroll thead{background:#eef4fa;color:#173456}.ef-scroll caption{text-align:left;caption-side:top;color:#475569;padding:8px 0 16px}.ef-section details{padding:14px 0;border-bottom:1px solid #dbe3ed}.ef-section summary{cursor:pointer;font-weight:700}.ef-section details p{margin-top:12px}.emergency-fund [hidden]{display:none!important}.emergency-fund .usc-results{min-width:0}.emergency-fund .usc-main-result strong{overflow-wrap:anywhere}.emergency-fund code{white-space:normal;color:#173456}.emergency-fund input[type=date]{min-width:0}
@media(max-width:600px){.emergency-fund .ef-section{padding:18px}.ef-actions button{width:100%}.ef-options{padding:12px}.ef-scroll td,.ef-scroll th{padding:10px}}

