:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#172b3b;background:#f3f6fa;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}header{height:84px;background:white;border-bottom:1px solid #e1e7ee;padding:0 max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;font-weight:700;font-size:20px}.logo{display:grid;place-items:center;width:40px;height:40px;background:#176b61;color:white;border-radius:12px}.divider{height:20px;width:1px;background:#d7dfe8}.sub{font-size:15px;color:#697b8b;font-weight:400}.badge{font-size:13px;letter-spacing:2px;color:#607082}main{max-width:1160px;margin:auto;padding:42px 24px 24px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:12px;letter-spacing:2px;color:#437369;font-weight:650}h1{font-size:32px;letter-spacing:-1px;margin:12px 0}p{line-height:1.6}.heading p{margin:0;color:#6a7988;font-size:15px}.tag{border:1px solid #d6dfe8;border-radius:6px;padding:7px 12px;color:#687889;font-size:14px}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.card{background:white;border:1px solid #e0e6ee;border-radius:18px;padding:28px;box-shadow:0 4px 18px #142a4103}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}h2{font-size:18px;margin:0}.text-button{border:0;background:none;color:#557168;font-size:14px;padding:6px}fieldset{border:0;padding:0;margin:0 0 26px}legend{font-size:14px;color:#82948f;font-variant-numeric:tabular-nums;margin-bottom:14px;padding:0}legend span{color:#233947;font-weight:600;margin-left:10px}.segments{display:flex;gap:10px}.segments button{flex:1;min-width:0;background:white;border:1px solid #dce3ea;border-radius:10px;padding:16px 8px;color:#3b5060;font-weight:600}.segments button[aria-pressed=true]{color:#136858;background:#edf7f3;border:1px solid #247d68;box-shadow:0 0 0 1px #247d6814}.direction button span{margin:0 7px;color:#879b95}.direction small{display:block;font-size:12px;margin-top:9px;font-weight:400;color:#71827d}.compact{background:#f1f4f7;border-radius:9px;padding:4px;gap:0;margin-bottom:18px}.compact button{border:0;background:none;font-size:14px;padding:10px}.compact button[aria-pressed=true]{background:white;border:0;box-shadow:0 2px 7px #20304410;color:#176b61}label{display:block;font-size:14px;color:#526575;margin-bottom:9px}input{width:100%;min-width:0;background:#fbfcfd;border:1px solid #dce3ea;border-radius:9px;height:54px;padding:12px 14px;color:#172d3d;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}input:focus{outline:2px solid #297d6c;outline-offset:2px}button:focus-visible{outline:3px solid #459f8f;outline-offset:3px}.input-wrap{position:relative}.input-wrap input{padding-right:132px}.input-wrap span{position:absolute;right:16px;top:18px;color:#72808e;font-size:14px;pointer-events:none}.rate-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rate-note{font-size:13px;color:#657988;margin:0 0 17px}.hint{font-size:13px;color:#447b69;margin:12px 0 0}.sample-note{border-top:1px solid #edf0f3;padding-top:18px;font-size:12px;color:#7a8792}.results{display:grid;gap:20px}.live{font-size:12px;color:#648477}.money-row{display:flex;align-items:end;justify-content:space-between;gap:8px}.label{display:block;font-size:14px;color:#7a8996}.money{font-size:34px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin-top:8px;overflow-wrap:anywhere}.unit{color:#7d8b96;font-size:14px;padding-bottom:5px}.transfer-line{display:flex;justify-content:space-between;border-top:1px dashed #dce4e9;margin:20px 0 17px;padding-top:12px;color:#8a97a2;font-size:12px}.copy{width:100%;margin-top:25px;border:0;background:#196e5e;color:#fff;border-radius:9px;padding:13px 16px;font-weight:600;display:flex;justify-content:space-between}.copy:hover{background:#135747}.copy:disabled{opacity:.5;cursor:not-allowed}.copy-status{margin:10px 0 0;text-align:center;font-size:12px;color:#809087}.profit-card{border-radius:18px;background:#162e38;padding:26px 28px;color:#fff}.profit-card .section-title{margin-bottom:21px}.profit-card .section-title span{font-size:12px;color:#9ddebc;background:#294742;padding:5px 9px;border-radius:5px}.profit-main{display:flex;gap:15px;justify-content:space-between;align-items:end;margin-bottom:24px;flex-wrap:wrap}.profit-card .label{color:#aec0c8;font-size:13px}.profit-number{font-size:36px;letter-spacing:-1px;font-weight:600;color:#b4eed0;margin-top:7px;font-variant-numeric:tabular-nums}.margin strong{display:block;font-size:23px;margin-top:10px;font-weight:500}.margin{text-align:right}dl{margin:0}dl div{display:flex;justify-content:space-between;gap:16px;margin-top:13px;font-size:13px}dt{color:#a8bcc4}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.profit-note{font-size:12px;color:#9eb3bd;border-top:1px solid #35505a;padding-top:16px;margin-bottom:0}.loss .profit-number{color:#ffb0ab}.loss .section-title span{background:#623d40;color:#ffd2cf}.error{color:#b23434;font-size:14px}.error[hidden]{display:none}footer{display:flex;justify-content:space-between;gap:12px;color:#8995a0;font-size:12px;margin-top:24px}textarea{width:100%;height:130px;margin-top:12px;border:1px solid #ddd;border-radius:8px;padding:10px}@media(max-width:760px){header{height:68px;padding:0 20px}.sub,.divider,.badge{display:none}main{padding:27px 16px}.heading{margin-bottom:23px}h1{font-size:27px}.heading p{font-size:14px}.tag{display:none}.workspace{grid-template-columns:1fr;gap:18px}.card,.profit-card{padding:23px 20px}.money{font-size:30px}footer{flex-direction:column;line-height:1.5}.rate-grid{gap:12px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}}
