/* Financing module (modules/70-financing). Class prefix fn-. */
.fn-group { margin: 14px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fn-group:first-child { margin-top: 0; }
.fn-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.fn-need { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #c9d6e2; border-radius: 4px; background: #fff; color: inherit; min-width: 0; }
.fn-need:hover, .fn-need:focus { border-color: var(--brand-primary); background: #f3f8fe; text-decoration: none; }
.fn-need i { font-size: 20px; color: var(--brand-primary); flex: none; }
.fn-need b { display: block; font-size: 13px; }
.fn-need small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.fn-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.fn-product { border: 1px solid #d5e0ea; border-radius: 4px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fn-product p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.fn-product form { margin: 0; }
.fn-product .ct-btn { align-self: flex-start; }
.fn-phead { display: flex; gap: 10px; align-items: center; }
.fn-phead i { font-size: 20px; color: var(--brand-primary); }
.fn-phead b { display: block; }
.fn-phead small { color: var(--muted); font-size: 12px; }
.fn-big { font-size: 22px; font-weight: 700; margin: 0 0 4px; overflow-wrap: anywhere; }
.fn-list { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.6; }
.fn-text { margin: 10px 0 0; line-height: 1.55; overflow-wrap: anywhere; }
.fn-h { margin: 14px 0 6px; font-size: 13px; }
.fn-note { margin-top: 4px; padding: 7px 10px; background: var(--panel-soft, #f5f8fb); border-radius: 6px; overflow-wrap: anywhere; }
.fn-tl .sub { color: var(--muted); font-size: 11.5px; }
.fn-actions form { margin: 0; }
.fn-actions .ct-btn { width: 100%; justify-content: center; }
.fn-inline { display: inline-block; margin: 0 0 0 4px; }
.fn-btnrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fn-mt { margin-top: 10px; }
.fn-fieldset { border: 1px solid #d5e0ea; border-radius: 4px; padding: 8px 12px 10px; margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fn-fieldset legend { font-size: 12.5px; font-weight: 700; padding: 0 4px; }
.fn-use { gap: 8px; }
.fn-file { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
.fn-upload, .fn-review, .fn-limit { margin-top: 12px; }
.fn-quote { font-size: 12.5px; color: var(--muted); min-height: 1em; }
.fn-ok { color: #1c7c3a; }
.fn-bad, .fn-badtext { color: #b3261e; }
.fn-late td { background: #fff5f5; }
.fn-reasons { margin: 10px 0; padding-left: 18px; font-size: 12.5px; }
.fn-steps a { color: inherit; }
dialog.fn-wide { max-width: 720px; width: calc(100vw - 32px); }
@media (max-width: 640px) {
    .fn-steps { flex-wrap: wrap; }
    .fn-steps li { flex: 1 1 45%; border-bottom: 1px solid #dde5ed; }
    .fn-needs, .fn-products { grid-template-columns: 1fr; }
}
