
#hn-invest-preview{--hn-bg:light-dark(#f4f6ef,#15251f);--hn-card:light-dark(#fff,#20362d);--hn-ink:light-dark(#173f35,#edf4ee);--hn-muted:light-dark(#596c62,#baccc1);--hn-line:light-dark(#d8e0d2,#496254);--hn-soft:light-dark(#eaf0e3,#2c4436);--hn-active:light-dark(#173f35,#d7e8d9);--hn-active-ink:light-dark(#fff,#153a2c);background:var(--hn-bg);color:var(--hn-ink);padding:24px;font:14px/1.45 system-ui,sans-serif;border-radius:16px;box-sizing:border-box}
#hn-invest-preview *{box-sizing:border-box}#hn-invest-preview header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:17px;border-bottom:1px solid var(--hn-line)}#hn-invest-preview header strong{font-size:24px;letter-spacing:-1px}#hn-invest-preview header span,#hn-invest-preview small,#hn-invest-preview p,#hn-invest-preview .hn-plan-head span{color:var(--hn-muted)}#hn-invest-preview h2{font-size:27px;line-height:1.15;margin:5px 0 8px}#hn-invest-preview h3{font-size:16px;margin:0}#hn-invest-preview p{margin:5px 0 0}#hn-invest-preview .hn-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:23px 0}#hn-invest-preview .hn-title small{letter-spacing:2px;font-size:10px}#hn-invest-preview .hn-currency{font-size:12px;white-space:nowrap}#hn-invest-preview .hn-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px}#hn-invest-preview .hn-inputs{background:var(--hn-card);border:1px solid var(--hn-line);padding:18px;border-radius:14px;display:grid;align-content:start;gap:12px}#hn-invest-preview label{display:grid;gap:5px;font-size:12px}#hn-invest-preview input{font:inherit;color:var(--hn-ink);background:var(--hn-card);border:1px solid var(--hn-line);border-radius:7px;padding:9px;min-width:0;width:100%;font-size:14px}#hn-invest-preview input[type=range]{padding:0;accent-color:var(--hn-active)}#hn-invest-preview .hn-money{display:flex;border:1px solid var(--hn-line);border-radius:7px;align-items:center;padding-left:10px}#hn-invest-preview .hn-money input{border:0;background:transparent}#hn-invest-preview .hn-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}#hn-invest-preview .hn-results{display:grid;gap:16px;align-content:start}#hn-invest-preview .hn-plan-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#hn-invest-preview .hn-plan-head span{font-size:11px}#hn-invest-preview .hn-plans{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}#hn-invest-preview .hn-plans button{font:inherit;border:1px solid var(--hn-line);border-radius:9px;padding:10px 5px;background:var(--hn-card);color:var(--hn-ink)}#hn-invest-preview button[aria-pressed=true]{background:var(--hn-active);color:var(--hn-active-ink)}#hn-invest-preview button small{display:block;font-size:10px;margin-top:4px;color:inherit;opacity:.8}#hn-invest-preview .hn-discount{display:flex;align-items:center;gap:10px}#hn-invest-preview .hn-discount input{width:75px}#hn-invest-preview .hn-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#hn-invest-preview .hn-kpis article{padding:13px 10px;background:var(--hn-soft);border-radius:10px;display:flex;flex-direction:column;gap:7px}#hn-invest-preview .hn-kpis strong{font-size:21px;letter-spacing:-.6px;font-variant-numeric:tabular-nums}#hn-invest-preview .hn-kpis small,#hn-invest-preview .hn-kpis span{font-size:11px}#hn-invest-preview .hn-projection{padding:18px;background:var(--hn-card);border:1px solid var(--hn-line);border-radius:14px;display:grid;gap:15px}#hn-invest-preview .hn-projection p{font-size:12px}#hn-invest-preview .hn-bar-row{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:12px}#hn-invest-preview .hn-bar-row>div{grid-column:1/-1;background:var(--hn-soft);height:11px;border-radius:8px;overflow:hidden}#hn-invest-preview .hn-bar-row i{display:block;height:100%;background:var(--hn-active);border-radius:8px;transition:width .2s}#hn-invest-preview [data-bar=rents]{opacity:.5}#hn-invest-preview .hn-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid var(--hn-line)}#hn-invest-preview .hn-bottom strong{font-size:24px;font-variant-numeric:tabular-nums}#hn-invest-preview .hn-bottom small{font-size:10px}#hn-invest-preview .hn-debt{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}#hn-invest-preview .hn-debt div{display:grid;gap:4px}#hn-invest-preview .hn-debt span{font-size:11px;color:var(--hn-muted)}#hn-invest-preview .hn-debt strong{font-size:15px;font-variant-numeric:tabular-nums}#hn-invest-preview .hn-note{font-size:11px}#hn-invest-preview details{border-top:1px solid var(--hn-line);padding-top:10px}#hn-invest-preview details label{margin-top:10px}#hn-invest-preview details p{font-size:11px}#hn-invest-preview [data-error]{color:light-dark(#a52a2a,#ffbdbd)}
@media(max-width:800px){#hn-invest-preview .hn-layout{grid-template-columns:220px minmax(0,1fr)}#hn-invest-preview .hn-kpis{grid-template-columns:1fr}#hn-invest-preview .hn-kpis article{display:grid;grid-template-columns:1fr auto}#hn-invest-preview .hn-kpis span{grid-column:1/-1}#hn-invest-preview .hn-plans{grid-template-columns:1fr 1fr}}
@media(max-width:560px){#hn-invest-preview{padding:16px}#hn-invest-preview .hn-layout{grid-template-columns:1fr}#hn-invest-preview .hn-inputs{grid-template-columns:1fr 1fr;padding:13px}#hn-invest-preview .hn-inputs>h3,#hn-invest-preview .hn-inputs>.hn-two,#hn-invest-preview .hn-inputs>details{grid-column:1/-1}#hn-invest-preview header span{font-size:11px}#hn-invest-preview .hn-currency{display:none}#hn-invest-preview .hn-bottom{flex-wrap:wrap}#hn-invest-preview .hn-debt{grid-template-columns:1fr}#hn-invest-preview input{font-size:16px}}
@media(prefers-reduced-motion:reduce){#hn-invest-preview .hn-bar-row i{transition:none}}

.hn-investment-dialog{width:min(1240px,96vw);max-width:1240px;max-height:94vh;padding:0;border:1px solid #b9c9bc;border-radius:16px;overflow:auto;background:#f4f6ef;color:#173f35}.hn-investment-dialog::backdrop{background:#102b28aa}#hn-invest-preview .hn-exports{display:flex;flex-wrap:wrap;gap:10px}#hn-invest-preview .hn-exports button,#hn-invest-preview [data-close]{font:inherit;padding:10px 14px;border:1px solid var(--hn-line);border-radius:8px;background:var(--hn-card);color:var(--hn-ink)}#hn-invest-preview [data-export-status]{font-size:12px}#hn-invest-preview .hn-note{line-height:1.5}
