:root{color-scheme:dark;font-family:Arial,sans-serif;background:#010f2c;color:#edece4}*{box-sizing:border-box}body{margin:0}a{color:#e8c879;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}.shell{max-width:1180px;margin:auto;padding:25px}.brand{width:270px;height:auto}.eyebrow{color:#dfbd6e;font-size:11px;letter-spacing:.12em;font-weight:800}h1{font:700 clamp(36px,5vw,60px)/1.08 Georgia,serif;margin:20px 0}h2{font:700 31px/1.2 Georgia,serif}p{line-height:1.7;color:#c0cddd}.intro{max-width:800px;font-size:19px}.tool-nav{display:flex;gap:14px;flex-wrap:wrap;margin:30px 0}.tool-nav a{border:1px solid #c5a057;padding:12px 18px;border-radius:30px}.tool-panel{background:#081e37;border:1px solid #c5a05755;border-radius:14px;padding:30px;margin:30px 0;scroll-margin-top:15px}.tool-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}label{font-size:14px;line-height:1.5;color:#e6d7b6;display:block}input,select{width:100%;padding:12px;background:#011329;border:1px solid #566b7c;color:#fff;border-radius:6px;margin-top:6px;min-height:46px}.check{display:flex;align-items:center;gap:12px}.check input{width:20px;flex:0 0 20px}.tool-actions{display:flex;flex-wrap:wrap;gap:12px}button{background:#d4a63f;color:#07182a;border:0;padding:13px 20px;border-radius:6px;font-weight:700;cursor:pointer}button[type=reset],button[data-share]{background:transparent;color:#e3c478;border:1px solid #ba954e}.tool-results{margin:25px 0}.tool-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tool-result-grid article{background:#03162d;border-radius:8px;padding:18px}.tool-result-grid strong{display:block;font:700 25px Georgia,serif;color:#f0d38c;margin:7px 0}.tool-results table{border-collapse:collapse;width:100%;font-size:13px}.tool-results td,.tool-results th{padding:9px;text-align:right;border-bottom:1px solid #64758b55}.table-scroll{max-height:400px;overflow:auto}.tool-error{color:#ffbeae;background:#572d29;padding:15px;border-radius:6px}.tool-chart{width:100%;height:240px}.tool-chart text{fill:#c1d0df;font-size:11px}.tool-chart line{stroke:#486175}.tool-chart .capital{stroke:#d4a63f;fill:none;stroke-width:3}.tool-chart .interest{stroke:#8db5db;fill:none;stroke-width:3}details{margin:20px 0;line-height:1.6}summary{cursor:pointer;color:#e8cb88}footer{display:flex;gap:25px;flex-wrap:wrap;border-top:1px solid #bc995a44}.tool-source{font-size:13px;line-height:1.6}#tool-sources li{margin:12px 0}:focus-visible{outline:3px solid #f1d38f;outline-offset:3px}@media(max-width:640px){.shell{padding:17px}.tool-panel{padding:20px}.tool-fields,.tool-result-grid{grid-template-columns:1fr}h2{font-size:27px}.tool-actions button{flex:1}.brand{width:220px}}
