.fr-smart-fee-panel{min-width:0}.fr-smart-fee-navigation,.fr-smart-fee-estimate:empty{display:none}.fr-smart-fee-panel label,.fr-smart-fee-panel fieldset{min-width:0}.fr-smart-fee-inputs>h3{border-left:3px solid var(--primary);margin-top:1.5rem;padding-left:.7rem;font-size:1rem}.fr-smart-fee-inputs>h3:first-of-type{margin-top:0}.fr-smart-fee-inputs>fieldset{border:1px solid var(--border);background:var(--card);border-radius:1rem;padding:1.1rem}.fr-smart-fee-inputs>.fr-smart-fee-primary-fields{border-color:color-mix(in srgb, var(--primary) 25%, var(--border));background:color-mix(in srgb, var(--primary) 4%, var(--card))}.fr-smart-fee-inputs>fieldset>legend{border:1px solid var(--border);background:var(--card);border-radius:.5rem;padding:.35rem .6rem}.fr-smart-fee-inputs>.rounded-xl,.fr-smart-fee-inputs>details{border:1px solid var(--border);background:color-mix(in srgb, var(--muted) 55%, var(--card));border-radius:.85rem;padding:1rem}.fr-smart-fee-primary-fields input,.fr-smart-fee-primary-fields select{background:var(--card)}@media (width<=1279px){.fr-smart-fee-navigation{border:1px solid var(--border);background:var(--muted);scroll-margin-top:calc(var(--fr-scenario-header-offset,var(--fr-fee-header-offset,0px)) + var(--fr-scenario-nav-height,0px) + .75rem);border-radius:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem;padding:.25rem;display:grid}.fr-smart-fee-navigation button{min-width:0;min-height:2.75rem;color:var(--muted-foreground);border-radius:.5rem;padding:.5rem;font-size:.85rem;font-weight:650}.fr-smart-fee-navigation button[aria-pressed=true]{color:var(--primary);background:var(--card);box-shadow:0 1px 3px #0001}.fr-smart-fee-navigation button:disabled{opacity:.5}.fr-smart-fee-navigation button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.fr-smart-fee-panel[data-mobile-view=estimate]>.fr-smart-fee-inputs,.fr-smart-fee-panel[data-mobile-view=inputs]>.fr-smart-fee-estimate{display:none}.fr-smart-fee-panel :is(input,select,textarea){font-size:1rem}}@media (width<=639px){.fr-smart-fee-inputs>fieldset{border-radius:.85rem;padding:.85rem}.fr-smart-fee-primary-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}}.fr-scenarios{gap:1rem;min-width:0;display:grid}.fr-scenario-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.fr-scenario-heading h2{letter-spacing:-.035em;margin:.15rem 0 .35rem;font-size:1.6rem;font-weight:750;line-height:1.2}.fr-scenario-icon{background:color-mix(in srgb, var(--primary) 12%, transparent);width:2.8rem;height:2.8rem;color:var(--primary);border-radius:.85rem;flex-shrink:0;place-items:center;display:grid}.fr-scenario-eyebrow{letter-spacing:.12em;color:var(--muted-foreground);font-size:.65rem;font-weight:750}.fr-scenario-session{border-left:3px solid var(--primary);background:var(--muted);border-radius:0 .5rem .5rem 0;padding:.65rem .85rem;font-size:.8rem}.fr-scenario-layout{align-items:start;gap:1.5rem;min-width:0;display:grid}.fr-scenario-input-panel{border:1px solid var(--border);border-radius:1rem;min-width:0;overflow:hidden}.fr-scenario-tabs{background:var(--muted);gap:.25rem;padding:.35rem;display:flex}.fr-scenario-tabs button{min-height:2.75rem;color:var(--muted-foreground);border-radius:.7rem;flex:1;font-size:.8rem;font-weight:650}.fr-scenario-tabs button[aria-selected=true]{background:var(--card);color:var(--foreground);box-shadow:0 1px 3px #0001}.fr-scenario-tabs button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.fr-business .fr-scenario-tabs{gap:.5rem;padding:.35rem 1rem 0}.fr-business .fr-scenario-tabs button{flex:1;min-width:0;padding:.65rem .25rem}.fr-scenario-editor{gap:.85rem;padding:1rem;display:grid}.fr-scenario-copy-controls{border-bottom:1px solid var(--border);gap:.75rem;padding:1rem 1.25rem;display:grid}.fr-scenario-copy-controls p{color:var(--muted-foreground);font-size:.75rem;line-height:1.55}.fr-scenario-cell-note{white-space:normal;color:var(--muted-foreground);margin-top:.3rem;font-size:.64rem;line-height:1.45;display:block}.fr-scenarios h3{letter-spacing:-.02em;font-size:1rem;font-weight:700}.fr-scenarios h4{border-top:1px solid var(--border);padding-top:1rem;font-size:.85rem;font-weight:700}.fr-scenario-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.fr-scenario-field{flex-direction:column;gap:.35rem;min-width:0;display:flex}.fr-scenario-field label{font-size:.74rem;font-weight:600;line-height:1.4}.fr-scenario-field input,.fr-scenario-field select{width:100%;min-width:0;min-height:2.75rem;font-size:.8rem}.fr-scenario-field input::placeholder{font-size:.68rem}.fr-scenario-field input[type=checkbox]{width:1rem;height:1rem;min-height:1rem;accent-color:var(--primary);flex-shrink:0}.fr-scenario-field p{font-size:.68rem;line-height:1.4}.fr-scenario-field [aria-invalid=true]{border-color:var(--destructive)}.fr-scenario-optional-note{border:1px solid var(--border);color:var(--muted-foreground);border-radius:.6rem;padding:.75rem;font-size:.75rem;line-height:1.5}.fr-scenario-details{border-top:1px solid var(--border);padding-top:.2rem}.fr-conventional-mi{border:1px solid color-mix(in srgb, var(--primary) 25%, var(--border));background:color-mix(in srgb, var(--primary) 4%, var(--card));border-radius:.8rem;gap:.8rem;min-width:0;padding:1rem;display:grid}.fr-scenarios .fr-conventional-mi h4{border:0;padding:0}.fr-conventional-mi-context,.fr-conventional-mi-source{color:var(--muted-foreground);font-size:.7rem;line-height:1.5}.fr-conventional-mi-fields,.fr-conventional-mi-scope{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.fr-conventional-mi-scope{grid-template-columns:repeat(2,minmax(0,1fr))}.fr-conventional-mi-fields label,.fr-conventional-mi-scope label{flex-direction:column;gap:.4rem;min-width:0;font-size:.72rem;font-weight:600;line-height:1.4;display:flex}.fr-conventional-mi-fields label>span{flex:1;align-items:flex-end;min-height:1.4em;display:flex}.fr-conventional-mi input,.fr-conventional-mi select{width:100%;min-width:0;min-height:2.75rem;margin-top:0;font-size:.8rem;font-weight:400}.fr-conventional-mi-fields input{padding-inline:.65rem}.fr-conventional-mi-action{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;font-size:.8rem;display:flex}.fr-conventional-mi-action button{min-width:7rem}.fr-conventional-mi-action strong{color:var(--primary)}.fr-conventional-mi-details{font-size:.7rem;line-height:1.5}.fr-conventional-mi-details summary{cursor:pointer;font-weight:600}.fr-conventional-mi-details>:not(summary){margin-top:.75rem}.fr-conventional-mi-details a{display:inline-block}.fr-scenario-details summary{cursor:pointer;align-content:center;min-height:2.75rem;font-size:.8rem;font-weight:650;display:list-item}.fr-scenario-details[open]>p{margin-bottom:.8rem}.fr-scenario-results{gap:1rem;min-width:0;display:grid}.fr-scenario-result-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.fr-scenario-result-card{border:1px solid var(--border);background:var(--card);border-radius:.8rem;flex-direction:column;gap:.2rem;min-width:0;padding:.85rem .65rem;display:flex}.fr-scenario-result-card.is-active{border-color:var(--primary);background:color-mix(in srgb, var(--primary) 4%, var(--card))}.fr-scenario-result-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.035em;font-size:clamp(.9rem,1.6vw,1.35rem)}.fr-scenario-result-card>span:not(.fr-scenario-eyebrow),.fr-scenario-result-card small{color:var(--muted-foreground);font-size:.65rem}.fr-scenario-result-card p{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;margin-top:.4rem;padding-top:.65rem;font-size:.8rem;font-weight:600}.fr-scenario-result-card small{margin-top:.15rem;font-weight:400;display:block}.fr-scenario-result-card .fr-scenario-incomplete{color:var(--muted-foreground);margin-top:.35rem;font-size:.95rem}.fr-scenario-table-scroll{border:1px solid var(--border);border-radius:.75rem;max-width:100%;overflow-x:auto}.fr-scenario-table{border-collapse:collapse;width:100%;min-width:505px;font-size:.72rem}.fr-scenario-table th,.fr-scenario-table td{text-align:right;border-bottom:1px solid var(--border);vertical-align:top;padding:.65rem .55rem}.fr-scenario-table th:first-child{text-align:left}.fr-scenario-table tbody th{width:36%;font-weight:450}.fr-scenario-table td{white-space:nowrap;font-variant-numeric:tabular-nums}.fr-scenario-table thead{background:var(--muted)}.fr-scenario-table .fr-scenario-table-section th{text-align:left;text-transform:uppercase;letter-spacing:.06em;background:var(--muted);padding-top:.85rem;font-size:.68rem;font-weight:700}.fr-scenario-table .fr-scenario-total th,.fr-scenario-table .fr-scenario-total td{background:color-mix(in srgb, var(--primary) 7%, var(--card));font-weight:750}.fr-scenario-table tbody tr:last-child>*{border-bottom:0}.fr-scenario-disclosure{color:var(--muted-foreground);font-size:.72rem;line-height:1.6}.fr-scenario-confirm{border:1px solid var(--primary);background:var(--card);border-radius:.75rem;padding:1rem;font-size:.8rem}@media (width>=1024px){.fr-scenario-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}}@media (width<=420px){.fr-scenario-fields{grid-template-columns:1fr}.fr-scenario-result-card{padding:.65rem .4rem}.fr-scenario-result-card strong{font-size:.83rem}.fr-scenario-result-card p{font-size:.68rem}}.fr-scenario-navigation{border:1px solid var(--border);background:var(--card);border-radius:.85rem;min-width:0}.fr-scenarios[data-mobile-view=fees],.fr-scenario-fee-workspace[data-open=false]{display:none}.fr-scenario-fee-workspace{min-width:0}.fr-scenario-fee-workspace h2:focus{outline:none}.fr-scenario-mobile-sections{display:none}.fr-scenario-loan-fields,.fr-scenario-cost-fields{gap:.85rem;min-width:0;display:grid}.fr-scenario-input-panel,.fr-scenario-details,.fr-scenario-results,.fr-scenario-loan-fields input{scroll-margin-top:calc(var(--fr-scenario-header-offset,0px) + var(--fr-scenario-nav-height,0px) + .75rem)}@media (width<=1279px){.fr-scenario-layout{grid-template-columns:minmax(0,1fr)}.fr-scenario-navigation{top:var(--fr-scenario-header-offset,0px);z-index:20;scroll-margin-top:var(--fr-scenario-header-offset,0px);position:sticky;box-shadow:0 5px 12px #0000000a}.fr-business .fr-scenario-tabs,.fr-scenario-tabs{border:0;border-radius:.85rem .85rem 0 0;gap:.25rem;padding:.25rem}.fr-business .fr-scenario-tabs button,.fr-scenario-tabs button{min-height:44px;padding:.5rem .25rem;font-size:.8rem}.fr-scenario-mobile-sections{grid-template-columns:repeat(4,minmax(0,1fr));gap:.2rem;padding:.25rem;display:grid}.fr-scenario-mobile-sections button{border-radius:.6rem;min-width:0;min-height:44px;font-size:.75rem;font-weight:650}.fr-scenario-mobile-sections button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.fr-scenario-mobile-sections button:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.fr-scenario-desktop-fees,.fr-scenarios[data-mobile-view=loan]>.fr-scenario-fee-context,.fr-scenarios[data-mobile-view=compare]>.fr-scenario-fee-context,.fr-scenarios:not([data-mobile-view=compare]) .fr-scenario-results,.fr-scenarios[data-mobile-view=compare] .fr-scenario-input-panel,.fr-scenarios[data-mobile-view=loan] .fr-scenario-cost-fields,.fr-scenarios[data-mobile-view=costs] .fr-scenario-loan-fields,.fr-scenarios[data-mobile-view=costs] .fr-scenario-second-lien,.fr-scenarios[data-mobile-view=costs] .fr-scenario-copy-controls{display:none}.fr-scenario-copy-controls{gap:.5rem;padding:.75rem}.fr-scenario-editor{padding:.85rem}.fr-scenario-heading{gap:.5rem}.fr-scenario-heading h2{font-size:1.25rem}.fr-scenario-icon{display:none}.fr-scenario-heading button{min-height:44px;padding:.5rem .75rem}.fr-scenario-field input,.fr-scenario-field select,.fr-conventional-mi input,.fr-conventional-mi select{font-size:1rem}.fr-scenario-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.fr-scenario-table-scroll{overflow:visible}.fr-scenario-table{min-width:0;display:block}.fr-scenario-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.fr-scenario-table tbody{display:block}.fr-scenario-table tr{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.fr-scenario-table tbody th{border-bottom:0;grid-column:1/-1;width:auto;padding:.65rem .65rem .25rem;font-weight:600}.fr-scenario-table td{white-space:normal;overflow-wrap:anywhere;text-align:left;min-width:0;padding:.4rem .65rem .65rem}.fr-scenario-table td:before{content:attr(data-scenario);color:var(--muted-foreground);margin-bottom:.2rem;font-size:.62rem;font-weight:500;display:block}.fr-scenario-table .fr-scenario-table-section th{padding:.8rem .65rem}.fr-scenario-result-cards{gap:.4rem}.fr-scenario-result-card{overflow-wrap:anywhere;padding:.65rem .5rem}.fr-scenario-result-card strong{font-size:1rem}.fr-scenario-result-card p{font-size:.8rem}}@media (width<=359px){.fr-scenario-fields,.fr-conventional-mi-scope{grid-template-columns:minmax(0,1fr)}.fr-conventional-mi{padding:.65rem}.fr-scenario-result-card{padding:.5rem .35rem}.fr-scenario-result-card strong{font-size:.85rem}}.fr-scenario-missing-details summary{cursor:pointer;align-content:center;min-height:44px;font-weight:500}@supports (grid-template-rows:subgrid){.fr-scenario-result-cards{grid-template-rows:repeat(6,auto)}.fr-scenario-result-card{grid-row:span 6;grid-template-rows:subgrid;display:grid}}.fr-scenario-navigation-start{height:0;scroll-margin-top:var(--fr-scenario-header-offset,0px);margin-bottom:-1rem}
