:root{--navy:#142e40;--green:#078565;--muted:#74838a;--border:#e2eae7}*{box-sizing:border-box}body{margin:0;background:#f5f8f7;color:var(--navy);font-family:Kanit,sans-serif;font-weight:300;font-size:14px}.shell{max-width:1280px;padding:0 32px;margin:auto}header{background:white;border-bottom:1px solid var(--border)}.header-inner{display:flex;justify-content:space-between;align-items:center;height:90px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:46px;height:46px;display:grid;place-items:center;background:#e6f5ef;color:var(--green);border-radius:13px}.brand strong{display:block;font-size:19px;font-weight:500}.brand small{display:block;font-size:9px;letter-spacing:1.7px;color:var(--muted)}.status{font-size:12px;color:#59716b}.status span{display:inline-block;width:7px;height:7px;background:#16a579;border-radius:50%;margin-right:6px}.intro{display:flex;align-items:center;justify-content:space-between;padding:42px 0 28px}.eyebrow{color:var(--green);letter-spacing:2px;font-size:11px;font-weight:500;margin-bottom:12px}h1{font-size:34px;font-weight:500;line-height:1.4;letter-spacing:-.6px}h1 span{color:var(--green)}.intro p{color:var(--muted);margin:12px 0 0}.intro-icon{background:#e8f2ee;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;color:var(--green);transform:rotate(-10deg)}.intro-icon svg{width:44px;height:44px}.notice{display:flex;gap:12px;align-items:flex-start;padding:15px 18px;background:#fff8e9;border:1px solid #f0e3c5;border-radius:10px;color:#86682f;font-size:12px}.notice svg{width:18px;flex-shrink:0}.notice p{margin:3px 0 0}.notice strong{font-weight:500}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-title>span{font-size:11px;color:var(--muted)}h2{font-size:17px;font-weight:500;margin:0}.step{font-size:10px;display:inline-grid;place-items:center;background:#e5f2ec;color:var(--green);width:25px;height:25px;border-radius:8px;margin-right:7px}.product-section{margin:30px 0}.products{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.product{position:relative;text-align:left;border:1px solid var(--border);border-radius:12px;background:white;padding:17px 14px;color:var(--navy);cursor:pointer;transition:.2s;min-height:167px}.product:hover{border-color:#61af96;transform:translateY(-2px)}.product.active{border:1.5px solid var(--green);background:#f0faf5;box-shadow:0 3px 12px #0c715c0a}.product svg{color:var(--green);width:22px;margin-bottom:15px}.product .selected{position:absolute;right:10px;top:12px;font-size:12px;color:var(--green)}.product strong{font-weight:400;display:block;font-size:13px;min-height:40px}.product .rate{display:block;font-size:22px;font-weight:500;margin-top:7px;color:var(--green)}.product small{font-size:9px;color:var(--muted)}.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:25px;align-items:start}.panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:23px;box-shadow:0 3px 14px #1b493503}.form-panel>h2{margin-bottom:10px}.muted{color:var(--muted);font-size:12px}label{display:block;margin:18px 0 7px;font-size:12px;font-weight:400}label span{float:right;color:var(--muted);font-weight:300}input,select,textarea{font:inherit;width:100%;border:1px solid #dce5e1;border-radius:8px;padding:10px 11px;background:#fff;color:var(--navy);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #a6d8c5;outline-offset:1px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}summary{cursor:pointer;font-size:12px;font-weight:400;list-style:none;display:flex;justify-content:space-between;align-items:center}summary svg{width:15px}details{margin:22px 0;border-top:1px solid var(--border);padding-top:17px}.help{font-size:11px;color:var(--muted);margin:8px 0}.check{display:flex;align-items:flex-start;gap:9px}.check input{width:auto;margin-top:3px;accent-color:var(--green)}button{font:inherit;cursor:pointer}.calculate{border:0;background:var(--green);color:white;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border-radius:9px;padding:13px;margin-top:21px;font-weight:400}.calculate svg{width:17px}.calculate span{margin-left:auto}.reset{border:0;background:none;color:var(--muted);width:100%;padding:15px 0 0;font-size:12px}.error{padding:10px;background:#fff0ee;color:#b12d26;border-radius:8px;font-size:12px}.results>.section-title{margin-top:5px}.total-card{background:linear-gradient(120deg,#075b4b,#079374);border-radius:14px;color:white;padding:25px 28px 0;display:flex;flex-wrap:wrap;justify-content:space-between;overflow:hidden}.total-card span{font-size:13px;color:#cee9df}.total-card h3{font-size:42px;letter-spacing:-1px;font-weight:500;margin:8px 0 0}.total-card small{font-size:11px;color:#bce0d4}.total-card>svg{width:58px;height:58px;opacity:.35;margin:18px 0}.total-foot{width:calc(100% + 56px);margin:22px -28px 0;padding:10px 28px;background:#ffffff0b;font-size:11px;color:#c2e6d9}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:16px}.metrics .panel{padding:18px 22px}.metrics span{display:block;color:var(--muted);font-size:12px}.metrics strong{display:inline-block;font-size:26px;font-weight:500;margin:8px 5px 0 0}.metrics .panel:nth-child(2) strong{color:var(--green)}.metrics small{font-size:10px;color:var(--muted)}.interest-detail{display:flex;justify-content:space-between;gap:8px;padding:14px 4px;font-size:11px;color:var(--muted);flex-wrap:wrap}.interest-detail b{font-weight:400;color:var(--navy);margin-left:5px}.chart-panel{margin:4px 0 20px}.chart-wrap{height:245px;position:relative}.legend{color:#9fbbb2!important}.legend em{font-style:normal;color:var(--green);margin-left:10px}.table-panel{padding:22px 0 6px;overflow:hidden}.table-panel .section-title{padding:0 20px}.actions{display:flex;gap:7px;align-items:center}.actions select,.actions button{font-size:10px;padding:6px 8px;border:1px solid var(--border);border-radius:6px;background:white;color:var(--navy);width:auto}.actions button:disabled{opacity:.4;cursor:default}.actions svg{width:12px;height:12px}.table-scroll{overflow:auto;max-height:390px}table{width:100%;white-space:nowrap;border-collapse:collapse;font-size:11px}th{background:#f5f9f7;color:var(--muted);font-weight:400;text-align:right;padding:12px 14px;position:sticky;top:0}td{text-align:right;padding:13px 14px;border-bottom:1px solid #eef2f0}td:first-child,th:first-child{text-align:left}td:last-child{font-weight:500;color:var(--green)}.notes{margin-top:28px;font-size:12px;color:var(--muted)}.notes h2{color:var(--navy);display:flex;align-items:center;gap:9px;margin-bottom:15px}.notes h2 svg{width:19px;color:var(--green)}.notes li{margin:4px 0}.notes strong{font-weight:400;color:#8b6b32}footer{display:flex;justify-content:space-between;font-size:10px;color:#8c9c96;padding:25px 0 30px}[hidden]{display:none!important}:focus-visible{outline:2px solid #00865e;outline-offset:3px}@media(max-width:1050px){.products{grid-template-columns:repeat(3,1fr)}.product{min-height:150px}.workspace{grid-template-columns:310px minmax(0,1fr);gap:18px}.shell{padding:0 22px}.metrics strong{font-size:22px}.section-title{flex-wrap:wrap}}@media(max-width:760px){.shell{padding:0 17px}.header-inner{height:76px}.status{display:none}.intro{padding:27px 0 22px}h1{font-size:26px}h1 span{display:block}.intro p{font-size:12px}.intro-icon{display:none}.products{grid-template-columns:repeat(2,1fr);gap:10px}.product{padding:14px;min-height:155px}.product-section .section-title>span{display:none}.workspace{grid-template-columns:1fr}.form-panel{padding:20px}.results{margin-top:10px}.total-card h3{font-size:36px}.metrics .panel{padding:15px}.metrics strong{font-size:22px}.panel{padding:19px}.chart-wrap{height:220px}.table-panel{padding:18px 0 5px}.notes{margin-top:20px}footer{gap:15px;flex-wrap:wrap}.two{gap:10px}.notice{padding:12px}.brand small{font-size:8px}.results>.section-title{gap:8px}}@media print{header,.intro,.product-section,.form-panel,.actions,.reset,footer,#stale{display:none!important}.shell{max-width:none;padding:0}.workspace{display:block}.notice{margin:10px 0}.results,.panel{break-inside:avoid}.table-scroll{max-height:none;overflow:visible}body{background:white;font-size:11px}.total-card{background:#eaf5ef!important;color:#142e40}.total-card span,.total-card small,.total-foot{color:#142e40}.chart-wrap{height:200px}.notes{break-inside:auto}}
