
*{box-sizing:border-box}html{background:#f5f3ed;color:#1d3533;font-family:system-ui,sans-serif}body{margin:0}main{width:min(850px,100%);margin:auto;padding:1.4rem clamp(1rem,4vw,3rem) 3rem}nav,.links{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}nav{border-bottom:1px solid #9facaa;padding-bottom:1rem}.logo{font-size:1.45rem;letter-spacing:-.055em;font-weight:750}.logo span{color:#a24d29}select,input,button{font:inherit}select,button{border:1px solid #778682;padding:.55rem .75rem;border-radius:5px;background:#fff;color:inherit}h1{font-size:clamp(1.8rem,5vw,3.4rem);line-height:1.09;max-width:27ch;margin:2.5rem 0 1rem;letter-spacing:-.035em}p{line-height:1.55}.inputs,.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,174px),1fr));gap:1.1rem}.inputs{margin:1.5rem 0}label{font-weight:600;display:flex;flex-direction:column;justify-content:space-between;gap:.5rem}.input{border:1px solid #71827c;border-radius:6px;background:white;display:flex;align-items:center;gap:.2rem;padding:.48rem}.input b{font-size:.9rem}input{width:100%;min-width:0;border:0;font-size:1.15rem;color:#122d2b;background:transparent}#result{background:#fff;border:1px solid #91a29b;border-inline-start:5px solid #536f63;padding:1.1rem 1.3rem;border-radius:6px;margin:1.3rem 0}#result[data-state=above],#result[data-state=invalid]{border-inline-start-color:#b65d37}#state{font-weight:bold;margin:0 0 .8rem}.metrics{gap:.6rem}output{display:block;font-weight:700;font-size:1.12rem;line-height:1.6}.note{color:#435754}.links{justify-content:flex-start;margin-top:1.3rem}.links a{color:#125153;text-underline-offset:.2em}.links a+a{margin-inline-start:1rem}:focus-visible{outline:3px solid #07717b;outline-offset:2px}
