:root{color-scheme:light;--green:#163e34;--muted:#52665d;--line:#cedbd2;--soft:#edf4ef}*{box-sizing:border-box}body{margin:0;background:#f5f7f3;color:var(--green);font:16px/1.5 system-ui,-apple-system,sans-serif}header{max-width:740px;display:flex;align-items:center;gap:12px;margin:auto;padding:20px 24px}header img{object-fit:contain}h1{font-size:18px;line-height:1.25;margin:0;font-weight:650}main{max-width:692px;margin:8px auto;padding:0 24px 32px}form,#result{border:1px solid var(--line);background:white;border-radius:12px;padding:28px;scroll-margin-top:20px}.text-button{margin-left:auto;background:none;border:0;color:var(--muted);white-space:nowrap;padding:10px;min-height:44px;cursor:pointer;font:inherit;font-size:13px}.step-progress{margin-bottom:28px}.step-progress p{font-size:13px;color:var(--muted);margin:0 0 10px}progress{width:100%;height:4px;border:0;display:block;accent-color:var(--green)}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:var(--green)}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:23px;font-weight:650;letter-spacing:-.025em;margin-bottom:24px}legend:focus,h2:focus{outline:none}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{position:relative;cursor:pointer}.choice input{position:absolute;opacity:0;width:1px;height:1px}.tile{border:1px solid var(--line);border-radius:8px;min-height:52px;padding:14px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:15px;gap:4px;transition:background .15s,border-color .15s}.tile svg{width:64px;height:44px;margin:4px}.tile small{font-size:12px;color:var(--muted)}input:checked+.tile{border:2px solid var(--green);padding:13px 11px;background:var(--soft);font-weight:600}input:checked+.tile:after{content:'✓';position:absolute;top:4px;right:7px}input:focus-visible+.tile,button:focus-visible,select:focus-visible{outline:3px solid #ad531a;outline-offset:3px}.choice:hover .tile{border-color:var(--green)}select{display:block;width:100%;min-height:48px;padding:10px 12px;font:inherit;color:var(--green);background:white;border:1px solid var(--line);border-radius:8px;margin-top:8px}.subfield{margin-top:24px}.subfield>span,#capacity-label,label[for=year]{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.hint{font-size:13px;color:var(--muted);margin:4px 0 14px}.step-actions{display:flex;gap:12px;margin-top:28px}button{touch-action:manipulation}.primary,.back{min-height:50px;padding:12px 20px;border-radius:8px;cursor:pointer;font:600 15px system-ui}.primary{flex:1;background:var(--green);color:white;border:1px solid var(--green)}.back{background:white;border:1px solid var(--line);color:var(--green)}.primary:disabled{opacity:.6;cursor:wait}#error{color:#9d331c;font-size:14px;margin:20px 0 0}#error:empty{display:none}h2{font-size:19px;margin:0 0 10px}#amount{display:block;font-size:36px;letter-spacing:-.04em}#result-summary{font-size:14px;color:var(--muted)}dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:14px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px}dd{margin:0;text-align:right}#verification{margin:20px 0}[hidden]{display:none!important}@media(max-width:480px){header{padding:12px 16px;gap:8px}header img{width:38px;height:38px}h1{font-size:16px}main{padding:0 12px 24px}form,#result{padding:22px 18px}.tile{font-size:14px;padding:12px 8px}input:checked+.tile{padding:11px 7px}legend{font-size:21px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
:root #currency{max-width:280px;margin-bottom:20px}#result label{font-size:13px;color:var(--muted)}#equivalents{font-size:19px;margin:0 0 18px;color:var(--muted)}.fx-source{font-size:12px;color:var(--muted)}@media(max-width:400px){#result .step-actions{flex-direction:column}}
body{padding-bottom:90px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line);z-index:10}.bottom-nav button{flex:1;max-width:170px;min-height:46px;border:0;border-radius:8px;background:transparent;font:500 14px system-ui;color:var(--muted);cursor:pointer}.bottom-nav button[aria-current]{background:var(--soft);color:var(--green);font-weight:650}#quotes-page,#account-page{border:1px solid var(--line);background:white;border-radius:12px;padding:28px}.quote-item{border-top:1px solid var(--line);padding:16px 0;font-size:14px}
