/* Calculator-only scoped stylesheet. No site-level selectors. */
.dux-tool--loan{--navy:#102a3b;--navy2:#1b3b4e;--gold:#a48a54;--goldtext:#795f31;--goldlight:#e5d8ba;--cream:#f6f4ef;--ink:#183244;--muted:#5b6c76;--line:#dce2e4;--red:#9b3434}
.dux-tool--loan,.dux-tool--loan *{box-sizing:border-box}
.dux-tool--loan{scroll-behavior:smooth;scroll-padding-top:24px}
.dux-tool--loan{margin:0;background:var(--cream);color:var(--ink);font:15px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif}
.dux-tool--loan a{color:inherit;text-underline-offset:4px}
.dux-tool--loan button,.dux-tool--loan input,.dux-tool--loan select{font:inherit}
.dux-tool--loan button{cursor:pointer}
.dux-tool--loan button,.dux-tool--loan a,.dux-tool--loan input,.dux-tool--loan select,.dux-tool--loan summary{touch-action:manipulation}
.dux-tool--loan button:focus-visible,.dux-tool--loan a:focus-visible,.dux-tool--loan summary:focus-visible,.dux-tool--loan input:focus-visible,.dux-tool--loan select:focus-visible{outline:3px solid #b69b61;outline-offset:3px}
.dux-tool--loan .wrap{width:min(1180px,calc(100% - 64px));margin:auto}
.dux-tool--loan .masthead{background:#fff}
.dux-tool--loan .head{display:flex;align-items:center;justify-content:space-between;min-height:108px;gap:28px}
.dux-tool--loan .brand{display:flex;align-items:center;gap:20px;text-decoration:none}
.dux-tool--loan .brand img{width:58px;height:78px;object-fit:contain}
.dux-tool--loan .brand-copy{border-left:1px solid var(--line);padding-left:20px;font-size:16px;font-weight:650;letter-spacing:.09em}
.dux-tool--loan .brand-copy small{display:block;font-size:10px;letter-spacing:.22em;font-weight:500;color:var(--muted);margin-top:4px}
.dux-tool--loan .headnav{display:flex;gap:25px;align-items:center;font-size:13px}
.dux-tool--loan .headnav>a{text-decoration:none}
.dux-tool--loan .languages{display:flex;gap:2px;border:1px solid var(--line);border-radius:6px;padding:3px}
.dux-tool--loan .languages button{border:0;background:none;padding:7px 12px;border-radius:3px;min-height:37px;color:var(--muted);font-size:12px}
.dux-tool--loan .languages button[aria-pressed=true]{background:var(--navy);color:white}
.dux-tool--loan .hero{background:var(--navy);color:white;overflow:hidden;position:relative}
.dux-tool--loan .hero:after{content:'';width:470px;height:470px;border:1px solid #ffffff0b;position:absolute;right:-100px;top:-240px;transform:rotate(30deg);pointer-events:none}
.dux-tool--loan .hero-grid{padding:42px 0;display:grid;grid-template-columns:1.6fr 1fr;gap:75px;align-items:center}
.dux-tool--loan .eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#d2bd91;margin:0 0 13px;display:flex;gap:12px;align-items:center}
.dux-tool--loan .eyebrow:before{content:'';width:24px;height:1px;background:var(--gold)}
.dux-tool--loan h1{font-size:38px;line-height:1.3;letter-spacing:-.025em;font-weight:550;margin:0 0 16px}
.dux-tool--loan h1 em{color:var(--goldlight);font-style:normal}
.dux-tool--loan .hero p{font-size:14px;color:#d0d9df;max-width:640px;margin:0;line-height:1.85}
.dux-tool--loan .hero-note{border-left:1px solid #ffffff30;padding-left:30px}
.dux-tool--loan .hero-note strong{font-size:18px;font-weight:500;color:var(--goldlight);display:block;margin-bottom:12px}
.dux-tool--loan .hero-note p{font-size:12px}
.dux-tool--loan .hero-note small{display:block;font-size:11px;color:#bdccd5;margin-top:14px}
.dux-tool--loan .review-strip{font-size:12px;color:#695d46;background:#eee9de;border-bottom:1px solid #ddd7c9}
.dux-tool--loan .review-strip .wrap{padding:10px 0;display:flex;justify-content:space-between;gap:20px}
.dux-tool--loan .main{padding:32px 0 55px}
.dux-tool--loan .workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:24px;align-items:start}
.dux-tool--loan .stack{display:grid;gap:22px}
.dux-tool--loan .card{background:white;border:1px solid var(--line);border-radius:14px;padding:26px;min-width:0}
.dux-tool--loan .section-head{display:flex;gap:10px;align-items:baseline;margin-bottom:18px}
.dux-tool--loan .section-head .num{font:13px Georgia,serif;color:var(--goldtext)}
.dux-tool--loan h2{margin:0;font-size:20px;font-weight:600;line-height:1.45}
.dux-tool--loan h3{margin:0 0 10px;font-size:15px;font-weight:600}
.dux-tool--loan .sub{font-size:12px;color:var(--muted);margin:5px 0 22px}
.dux-tool--loan .fields{display:grid;grid-template-columns:1fr 1fr;gap:19px 18px}
.dux-tool--loan .field{min-width:0}
.dux-tool--loan .field.wide{grid-column:1/-1}
.dux-tool--loan .field label{display:block;font-size:13px;font-weight:600;margin:0 0 7px}
.dux-tool--loan .input-shell{display:flex;border:1px solid #c8d2d8;border-radius:6px;background:#fff;align-items:center;min-height:46px;overflow:hidden}
.dux-tool--loan .input-shell input{min-width:0;width:100%;border:0;background:transparent;padding:9px 12px;color:var(--ink);font-variant-numeric:tabular-nums}
.dux-tool--loan .input-shell input:focus{outline:0}
.dux-tool--loan .input-shell:focus-within{outline:2px solid var(--gold);outline-offset:1px}
.dux-tool--loan .prefix,.dux-tool--loan .suffix{font-size:12px;color:var(--muted);padding:0 12px;white-space:nowrap}
.dux-tool--loan .prefix{padding-right:0}
.dux-tool--loan .suffix{padding-left:0}
.dux-tool--loan .field select{width:100%;min-height:46px;padding:9px 11px;border:1px solid #c8d2d8;border-radius:6px;background:white;color:var(--ink);font-size:13px}
.dux-tool--loan .field small{display:block;font-size:11px;color:var(--muted);margin-top:6px;line-height:1.6}
.dux-tool--loan input[aria-invalid=true],.dux-tool--loan select[aria-invalid=true]{background:#fff4f2}
.dux-tool--loan .privacy{display:flex;gap:10px;font-size:11px;line-height:1.7;color:var(--muted);padding-top:18px;margin-top:22px;border-top:1px solid var(--line)}
.dux-tool--loan .privacy svg{flex:none;margin-top:2px}
.dux-tool--loan .form-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:20px}
.dux-tool--loan .button{border:1px solid var(--navy);border-radius:6px;background:var(--navy);padding:10px 18px;color:white;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.dux-tool--loan .button.secondary{background:transparent;color:var(--ink);border-color:#c8d2d8}
.dux-tool--loan .muted{font-size:11px;color:var(--muted)}
.dux-tool--loan .error{background:#fff1ef;color:var(--red);padding:12px 14px;border-left:3px solid var(--red);font-size:13px;margin-bottom:17px}
.dux-tool--loan .result{padding:0;overflow:hidden;border-color:#c0ced5}
.dux-tool--loan .result-top{background:var(--navy);padding:26px;color:white}
.dux-tool--loan .result-kicker{display:flex;justify-content:space-between;gap:15px;color:#d4dfe4;font-size:12px}
.dux-tool--loan .pill{border:1px solid #49606d;color:#e0cfaa;padding:2px 8px;border-radius:20px;font-size:10px;white-space:nowrap}
.dux-tool--loan .result-top h3{color:#c6d4dc;font-size:13px;font-weight:400;margin:24px 0 5px}
.dux-tool--loan .big-number{font-size:42px;line-height:1.25;letter-spacing:-.025em;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dux-tool--loan .unit{color:#c6d4dc;font-size:12px;margin-top:8px}
.dux-tool--loan .result-body{padding:23px 26px}
.dux-tool--loan .row{display:flex;justify-content:space-between;gap:20px;align-items:baseline;font-size:12px;padding:11px 0;border-bottom:1px solid #e7ebed}
.dux-tool--loan .row strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.dux-tool--loan .row:last-child{border-bottom:0}
.dux-tool--loan .callout{background:#f3f0e7;border-left:3px solid #b5a072;padding:13px 15px;font-size:12px;color:#66583d;margin-top:18px;line-height:1.75}
.dux-tool--loan .callout p{margin:0}
.dux-tool--loan .formula{font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ink);word-break:break-word;background:#f3f6f7;padding:13px 15px;margin:13px 0}
.dux-tool--loan .result-foot{font-size:11px;color:var(--muted);margin:14px 0 0;line-height:1.8}
.dux-tool--loan .below{margin-top:24px;display:grid;gap:24px}
.dux-tool--loan .method{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.dux-tool--loan .method p,.dux-tool--loan .method li{font-size:12px;color:var(--muted);line-height:1.85}
.dux-tool--loan .method p{margin:0 0 12px}
.dux-tool--loan .method ul{padding-left:19px;margin:0}
.dux-tool--loan .source-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:16px;font-size:12px;color:var(--goldtext)}
.dux-tool--loan .source-links a{display:inline-block}
.dux-tool--loan .table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:7px}
.dux-tool--loan table{width:100%;border-collapse:collapse;font-size:12px}
.dux-tool--loan th{text-align:left;background:#f2f4f4;font-weight:600}
.dux-tool--loan th,.dux-tool--loan td{padding:10px 13px;border-bottom:1px solid #e1e5e7;vertical-align:top}
.dux-tool--loan tbody tr:last-child td{border-bottom:0}
.dux-tool--loan .rates td:first-child{white-space:nowrap}
.dux-tool--loan .rates td:last-child{font-variant-numeric:tabular-nums}
.dux-tool--loan details{border-top:1px solid var(--line);padding-top:8px;margin-top:20px}
.dux-tool--loan summary{padding:10px 0;cursor:pointer;font-size:13px;font-weight:600}
.dux-tool--loan .chart{width:100%;height:auto;display:block;background:#fcfcfb;border-radius:7px}
.dux-tool--loan .chart text{font-family:inherit;fill:var(--muted);font-size:11px}
.dux-tool--loan .chart-note{font-size:11px;color:var(--muted);margin-top:8px}
.dux-tool--loan .legend{display:flex;gap:18px;font-size:11px;color:var(--muted);margin:12px 0 7px}
.dux-tool--loan .legend span:before{content:'';display:inline-block;width:10px;height:10px;background:var(--navy);margin-right:6px;border-radius:2px}
.dux-tool--loan .legend span.gold:before{background:var(--gold)}
.dux-tool--loan .composition{height:10px;background:#f0ede5;display:flex;border-radius:5px;overflow:hidden;margin:13px 0 8px}
.dux-tool--loan .composition span:first-child{background:var(--navy)}
.dux-tool--loan .composition span:last-child{background:var(--gold)}
.dux-tool--loan .compare{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.dux-tool--loan .compare>div{border:1px solid var(--line);padding:12px;border-radius:6px;min-width:0}
.dux-tool--loan .compare small{display:block;color:var(--muted);font-size:11px}
.dux-tool--loan .compare strong{display:block;font-size:16px;margin:5px 0 3px;overflow-wrap:anywhere}
.dux-tool--loan .compare .selected{background:#f3f0e7;border-color:#c3ad80}
.dux-tool--loan .footer{margin-top:32px;padding-top:24px;border-top:1px solid #d7dcd9;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}
.dux-tool--loan .footer strong{letter-spacing:.1em;font-size:10px;font-weight:600}
.dux-tool--loan .skip{position:absolute;top:-70px;left:15px;padding:10px;background:white;z-index:100}
.dux-tool--loan .skip:focus{top:10px}
.dux-tool--loan [hidden]{display:none!important}
@media(max-width:900px){.dux-tool--loan .headnav>a{display:none}
.dux-tool--loan .hero-grid{gap:35px}
.dux-tool--loan .hero-note{padding-left:20px}
.dux-tool--loan .workspace{grid-template-columns:1fr 1fr}
.dux-tool--loan .wrap{width:calc(100% - 40px)}
.dux-tool--loan h1{font-size:32px}
.dux-tool--loan .big-number{font-size:34px}
.dux-tool--loan .card{padding:22px}
.dux-tool--loan .result{padding:0}
.dux-tool--loan .result-top,.dux-tool--loan .result-body{padding:23px}
}
@media(max-width:680px){.dux-tool--loan .wrap{width:calc(100% - 32px)}
.dux-tool--loan .head{min-height:91px;gap:10px}
.dux-tool--loan .brand{gap:12px}
.dux-tool--loan .brand img{width:45px;height:60px}
.dux-tool--loan .brand-copy{font-size:13px;padding-left:12px;letter-spacing:.05em}
.dux-tool--loan .brand-copy small{font-size:8px;letter-spacing:.12em}
.dux-tool--loan .headnav{gap:0}
.dux-tool--loan .languages button{padding:6px 9px}
.dux-tool--loan .hero-grid{grid-template-columns:1fr;gap:23px;padding:32px 0}
.dux-tool--loan .hero-note{display:none}
.dux-tool--loan h1{font-size:31px;max-width:440px}
.dux-tool--loan .hero p{font-size:13px}
.dux-tool--loan .review-strip .wrap{display:block;font-size:11px}
.dux-tool--loan .review-strip .wrap span:last-child{display:block;margin-top:2px}
.dux-tool--loan .main{padding-top:22px}
.dux-tool--loan .workspace,.dux-tool--loan .method{grid-template-columns:1fr}
.dux-tool--loan .workspace{gap:20px}
.dux-tool--loan .card{padding:21px}
.dux-tool--loan .result{padding:0}
.dux-tool--loan .fields{gap:17px 14px}
.dux-tool--loan .result-top,.dux-tool--loan .result-body{padding:23px}
.dux-tool--loan .big-number{font-size:38px}
.dux-tool--loan .below{gap:20px;margin-top:20px}
.dux-tool--loan .method{gap:23px}
.dux-tool--loan .compare{gap:7px}
.dux-tool--loan .compare>div{padding:9px}
.dux-tool--loan .compare strong{font-size:14px}
.dux-tool--loan .footer{display:block}
.dux-tool--loan .footer span{display:block;margin-top:8px}
.dux-tool--loan .rates td{padding:9px 10px}
.dux-tool--loan .rates td:first-child{white-space:normal}
.dux-tool--loan .form-footer{gap:10px}
.dux-tool--loan .section-head{margin-bottom:15px}
.dux-tool--loan .legend{flex-wrap:wrap}
}
@media(max-width:390px){.dux-tool--loan .fields{grid-template-columns:1fr}
.dux-tool--loan .field.wide{grid-column:auto}
.dux-tool--loan .brand-copy{display:none}
.dux-tool--loan .compare{grid-template-columns:1fr}
.dux-tool--loan .compare>div{display:flex;gap:10px;justify-content:space-between;align-items:center}
.dux-tool--loan .compare strong{margin:0}
.dux-tool--loan .big-number{font-size:33px}
}
.dux-tool--loan .currency-note{display:block;margin-top:5px;color:var(--ink)}

@media(prefers-reduced-motion:reduce){.dux-tool--loan{scroll-behavior:auto}}
/* Preserve full numerical labels with readable phone-width chart text. */
@media(max-width:520px){#dux-tool-app.dux-tool--loan .chart text{font-size:18px}}
