:root{--green:#13795b;--ink:#182a25;--muted:#52655d;--border:#dce6e0;--result:#f0f8f4;color-scheme:light;font-family:"Noto Sans TC","Microsoft JhengHei","PingFang TC",system-ui,sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #65a78e;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:16px;top:-80px;z-index:5;background:#fff;padding:12px}.skip:focus{top:8px}
.icon{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.site-header{height:72px;display:flex;align-items:center;gap:32px;padding:0 max(28px,calc((100vw - 1112px)/2));border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap}.brand .icon{width:32px;height:38px;color:var(--green)}.site-header nav{display:flex;gap:28px;margin-left:auto;white-space:nowrap;font-size:16px}.site-header nav a{color:var(--ink);text-decoration:none}
h1,h2,h3,p{margin-top:0}h1{font-size:36px;font-weight:700;line-height:1.35;margin-bottom:14px;letter-spacing:-.025em}h2{font-size:24px;font-weight:700;line-height:1.5;margin-bottom:16px}h3{font-size:18px;font-weight:600}p{line-height:1.75}ul{padding:0;list-style:none}
.home{max-width:1112px;margin:0 auto;padding:0 24px 0}.home-intro{text-align:center;padding:48px 0 42px}.home-intro h1{font-size:44px;line-height:1.45;margin-bottom:18px}.hero-description{font-size:18px;margin-bottom:26px}.search{display:flex;align-items:center;max-width:800px;height:64px;border:1px solid #a4c9bc;border-radius:14px;margin:0 auto;background:#fff;overflow:hidden}.search input{min-width:0;flex:1;padding:14px 22px;border:0;outline:none;background:transparent;font-size:17px;color:var(--ink)}.search input:focus-visible{outline-offset:-4px}.search button{flex:0 0 64px;height:100%;border:0;border-radius:14px;background:var(--green);color:#fff;display:grid;place-items:center}.search button:hover{background:#0c644a}.search button .icon{width:28px;height:28px}.privacy-hint{font-size:14px;color:var(--muted);margin:10px 0 0}.search.compact{height:44px;width:320px;max-width:35vw;margin:0;border-color:var(--border);border-radius:6px;background:#f5f7f6}.search.compact input{padding:10px 12px;font-size:15px}.search.compact button{flex-basis:44px;border-radius:0;background:transparent;color:var(--muted)}.search.compact .icon{width:22px;height:22px}
.section-intro{text-align:center;margin-bottom:22px}.section-intro h2{margin-bottom:3px}.section-intro p{font-size:16px;color:var(--muted);margin-bottom:0}.purpose-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 18px}.purpose-tile{display:flex;align-items:center;gap:18px;min-height:120px;padding:22px 18px;border:1px solid var(--border);border-radius:8px;text-decoration:none;color:var(--ink);background:#fff}.purpose-tile:hover{border-color:#88b9a6;background:#fbfdfc}.purpose-icon{width:56px;height:56px;flex:0 0 56px;border-radius:50%;display:grid;place-items:center}.purpose-icon .icon{width:32px;height:32px}.mint{background:#e4f7ed;color:#087252}.blue{background:#e5f2ff;color:#126297}.amber{background:#fff1cf;color:#986200}.purple{background:#f0e9ff;color:#594098}.purpose-copy{min-width:0;flex:1}.purpose-title{display:block;font-size:20px;font-weight:700;line-height:1.5}.purpose-description{display:block;font-size:14px;line-height:1.6;color:var(--muted);margin-top:2px}.purpose-arrow .icon{width:18px;height:18px;color:var(--muted)}
.more-tools{border:1px solid var(--border);border-radius:8px;scroll-margin-top:20px}.more-tools summary{display:flex;align-items:center;gap:18px;padding:17px 22px;min-height:78px;list-style:none}.more-tools summary::-webkit-details-marker,.formula-details summary::-webkit-details-marker{display:none}.more-icon .icon{width:30px;height:30px;color:var(--green);stroke-width:4}.more-title{display:block;font-size:20px;font-weight:700;line-height:1.5}.more-description{display:block;font-size:14px;color:var(--muted);line-height:1.5}.disclosure-arrow{margin-left:auto}.disclosure-arrow .icon{width:20px;height:20px;color:var(--muted)}details[open]>.disclosure-arrow,details[open]>summary .disclosure-arrow,details[open].formula-details>summary>.icon{transform:rotate(180deg)}.all-tools{padding:24px;border-top:1px solid var(--border)}.tool-group{padding:12px 0 20px}.tool-group ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px;margin-bottom:0}.tool-group li>a{font-size:17px}.tool-group li>p{font-size:14px;color:var(--muted);margin:8px 0 0;line-height:1.6}#search-status{color:var(--muted);font-size:15px}.how-it-works{display:flex;align-items:center;justify-content:center;gap:40px;list-style:none;padding:25px 0;margin:0}.how-it-works li{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--muted)}.how-it-works li>span{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#edf2f0;color:var(--ink);font-size:16px;font-weight:600}.step-arrow .icon{width:18px;height:18px;stroke:#8ca499}
.tool-page{max-width:1112px;margin:0 auto;padding:24px 24px 44px}.breadcrumb{display:flex;flex-wrap:wrap;gap:12px;font-size:14px;color:var(--muted);margin-bottom:24px}.breadcrumb a{text-decoration:none}.intro{font-size:18px;margin-bottom:26px}.scope-note{font-size:15px;color:var(--muted);margin:-18px 0 28px}.calculator-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:stretch}#calculator-form{border:1px solid var(--border);border-radius:16px;padding:28px}#calculator-form h2{font-size:24px;margin-bottom:20px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;margin-bottom:24px}.field{min-width:0}.field label{display:block;font-size:16px;line-height:1.5;margin-bottom:8px}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;min-width:0;min-height:46px;border:1px solid #c9d7cf;border-radius:6px;background:#fff;padding:10px 12px;color:var(--ink);font-size:16px}.field textarea{resize:vertical;line-height:1.6}.field.wide,.field.checkbox{grid-column:1/-1}.field.checkbox{display:flex;gap:10px;align-items:center}.field.checkbox input{width:20px;height:20px;margin:0;accent-color:var(--green)}.field.checkbox label{margin:0}.input-with-unit{display:flex;min-width:0;align-items:stretch;border:1px solid #c9d7cf;border-radius:6px;background:#fff}.input-with-unit input:not([type=checkbox]){border:0;border-radius:6px 0 0 6px;min-width:0}.input-with-unit>span{display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0 11px;background:#f5f7f6;border-left:1px solid #dce6e0;border-radius:0 6px 6px 0;font-size:15px;color:var(--muted)}.form-actions{display:grid;gap:10px}.form-actions button{min-height:46px;border-radius:6px;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:12px}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover{background:#0c644a}.secondary{background:#fff;color:var(--green);border:0}.secondary:hover{text-decoration:underline;text-underline-offset:4px}.example-note{font-size:14px;color:var(--muted);margin:14px 0 0}.form-error{font-size:14px;color:#9d2d28;background:#fff2ef;padding:10px;border-radius:4px}
.result{display:flex;flex-direction:column;background:var(--result);border:1px solid #dcebe3;border-radius:16px;padding:28px;min-width:0;overflow-wrap:anywhere}#result-output{display:contents}.result-label{font-size:18px;font-weight:500;line-height:1.5;margin-bottom:10px}.result-number{font-size:52px;line-height:1.25;font-weight:700;color:#08634e;margin-bottom:22px;letter-spacing:-.03em}.result-number span{display:inline-block;font-size:20px;font-weight:500;margin-left:8px;letter-spacing:0}.breakdown{border-top:1px solid #d5e6db;padding-top:8px;margin:0 0 20px}.breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #d5e6db;font-size:16px}.breakdown dt{line-height:1.6}.breakdown dd{margin:0;text-align:right;line-height:1.6;font-weight:600}.result-note{order:2;font-size:14px;color:var(--muted);margin:14px 0 0}.copy-result{order:1;min-height:44px;background:transparent;color:var(--green);border:1px solid #80b3a2;border-radius:6px;padding:9px 14px;font-size:15px;font-weight:500;display:flex;justify-content:center;align-items:center;gap:10px}.copy-result .icon{width:20px;height:20px}.small{font-size:14px;color:var(--muted);margin:6px 0 12px}#copy-status{order:3;margin-bottom:0}#copy-status:empty{display:none}.chart{margin:8px 0 20px}.chart svg{display:block;width:100%;height:auto;overflow:visible}.chart text{font-family:inherit;font-size:11px;fill:var(--muted)}.chart .axis{stroke:#9cb5a6;fill:none;stroke-width:1}.chart .grid{stroke:#d5e6db;fill:none;stroke-width:1}.chart .line{fill:none;stroke:var(--green);stroke-width:2}.chart circle{fill:var(--green)}.chart figcaption{font-size:12px;color:var(--muted);text-align:center;margin-top:6px}
.formula-details{border:1px solid var(--border);border-radius:8px;margin-top:22px}.formula-details summary{display:flex;align-items:center;gap:12px;padding:18px 22px;list-style:none;font-size:17px}.formula-details summary>.icon{width:20px;height:20px}.formula-details>div{padding:4px 22px 12px}.formula-details p{font-size:15px;color:var(--muted)}.related{margin-top:26px}.related h2{font-size:22px;margin-bottom:12px}.related ul{display:flex;flex-wrap:wrap;gap:18px 30px;margin:0}.related li{display:flex;align-items:center;gap:8px}.related a{text-decoration:none;font-size:16px}.related .icon{width:16px;height:16px;color:var(--green)}.unit-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.unit-nav a{min-width:68px;min-height:44px;padding:10px 18px;border:1px solid var(--border);border-radius:6px;font-size:16px;text-decoration:none;text-align:center}.unit-nav a[aria-current=page]{background:var(--green);border-color:var(--green);color:#fff}.prose{max-width:820px;margin:50px auto;padding:0 28px;min-height:60vh}.prose p{font-size:16px}.prose h2{margin-top:30px}footer{max-width:1064px;margin:0 auto;border-top:1px solid var(--border);padding:18px 24px;display:flex;justify-content:center;gap:24px;font-size:13px;color:var(--muted)}footer a{color:var(--muted);text-decoration:none}
@media(max-width:1000px){.site-header{gap:24px;padding:0 24px}.site-header nav{gap:20px}.search.compact{width:260px}.purpose-list{gap:14px}.purpose-tile{gap:12px;padding:18px 14px}.purpose-icon{width:48px;height:48px;flex-basis:48px}.purpose-icon .icon{width:28px;height:28px}.purpose-title{font-size:18px}.purpose-arrow{display:none}.result{padding:24px}.result-number{font-size:44px}#calculator-form{padding:24px}.fields{gap:20px 16px}.home-intro{padding-top:40px}.hero-description{max-width:760px;margin-left:auto;margin-right:auto}}
@media(max-width:720px){.site-header{height:64px;padding:0 20px;gap:12px}.brand{font-size:20px;gap:8px}.brand .icon{width:24px;height:30px}.site-header nav{font-size:14px;gap:12px}.main-nav-link,.site-header .compact{display:none}.home{padding:0 20px}.home-intro{padding:28px 0 28px}.home-intro h1{font-size:28px;line-height:1.45;margin-bottom:12px}.hero-description{font-size:15px;line-height:1.75;margin-bottom:20px}.search{height:52px;border-radius:12px}.search input{padding:12px 13px;font-size:14px}.search button{flex-basis:52px;border-radius:12px}.search button .icon{width:24px;height:24px}.privacy-hint{font-size:12px;line-height:1.6;margin-top:8px}.section-intro{margin-bottom:16px}.section-intro h2{font-size:21px}.section-intro p{font-size:14px}.purpose-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.purpose-tile{position:relative;align-items:flex-start;flex-direction:column;gap:9px;padding:16px;min-height:164px}.purpose-icon{width:44px;height:44px;flex-basis:44px}.purpose-icon .icon{width:26px;height:26px}.purpose-title{font-size:18px;line-height:1.45}.purpose-description{font-size:13px;line-height:1.55;margin-top:3px}.purpose-arrow{display:block;position:absolute;right:14px;top:28px}.purpose-arrow .icon{width:16px;height:16px}.more-tools summary{padding:13px 16px;min-height:66px;gap:12px}.more-icon .icon{width:24px;height:24px}.more-title{font-size:17px}.more-description{font-size:12px}.all-tools{padding:18px 16px}.tool-group ul{grid-template-columns:1fr;gap:20px}.how-it-works{gap:12px;padding:22px 0}.how-it-works li{gap:5px;font-size:12px;white-space:nowrap}.how-it-works li>span{width:26px;height:26px;flex-basis:26px;font-size:13px}.step-arrow .icon{width:13px;height:13px}.tool-page{padding:18px 20px 30px}.breadcrumb{font-size:13px;gap:8px;margin-bottom:12px}h1{font-size:26px;line-height:1.4;margin-bottom:10px}.intro{font-size:15px;line-height:1.65;margin-bottom:20px}.scope-note{font-size:13px;margin:-12px 0 20px}.calculator-layout{grid-template-columns:1fr;gap:16px}#calculator-form{padding:20px;border-radius:12px}#calculator-form h2{font-size:20px;margin-bottom:16px}.fields{grid-template-columns:1fr;gap:16px;margin-bottom:20px}.field label{font-size:15px;margin-bottom:6px}.field input:not([type=checkbox]),.field select,.field textarea{min-height:44px}.form-actions button{min-height:44px}.example-note{font-size:13px;margin-top:10px}.result{padding:22px;border-radius:12px}.result-label{font-size:16px}.result-number{font-size:36px;margin-bottom:16px}.result-number span{font-size:17px}.breakdown{margin-bottom:16px}.breakdown>div{font-size:14px;gap:12px;padding:10px 0}.result-note{font-size:13px;line-height:1.6}.copy-result{font-size:14px}.formula-details{margin-top:16px}.formula-details summary{padding:16px;font-size:15px}.formula-details>div{padding:0 16px 8px}.formula-details p{font-size:14px}.related{margin-top:22px}.related h2{font-size:20px}.related a{font-size:15px}.related ul{gap:14px 20px}.unit-nav{gap:8px;margin-bottom:18px}.unit-nav a{flex:1;min-width:0;padding:10px 8px;font-size:15px}.prose{margin:30px auto;padding:0 20px}footer{margin:0 20px;padding:16px 0;gap:18px;font-size:12px}}
@media(max-width:360px){.purpose-tile{padding:13px;min-height:170px}.purpose-title{font-size:17px}.how-it-works{gap:7px}.how-it-works li{font-size:11px;gap:4px}.how-it-works li>span{width:23px;height:23px;flex-basis:23px}.brand{font-size:18px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .12s ease,color .12s ease,border-color .12s ease}}

@media(max-width:720px){.loan-form .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.loan-form [data-field=principal],.loan-form [data-field=income]{grid-column:1/-1}}
