*{box-sizing:border-box}body{margin:0;background:#f8fafc;color:#0f172a;font-family:Inter,system-ui,"Segoe UI",sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}header{height:72px;padding:0 max(24px,calc((100% - 1132px)/2));display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e2e8f0}header>a{font-size:25px;font-weight:900}nav{display:flex;gap:28px;color:#64748b}main{max-width:1180px;margin:auto;padding:64px 24px}.hero{text-align:center;max-width:800px;margin:0 auto 42px}.hero > b {
    display: inline-block;
    font-size: 12px;
    color: #2563eb;
    background: #eff6ff;
    padding: 7px 12px;
    border-radius: 999px;
}

#mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;

    padding: 7px 12px;

    background: #eff6ff;
    color: #2563eb;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;

    flex: 0 0 auto;
    align-self: flex-start;
}.hero h1{font-size:clamp(42px,6vw,66px);line-height:1;margin:20px 0;letter-spacing:-2px}.hero h1 span{color:#2563eb}.hero p,.top p,.card p{color:#64748b}.card{background:white;border:1px solid #e2e8f0;border-radius:20px;padding:28px;margin-bottom:24px;box-shadow:0 12px 35px #0f172a0e}.top{display:flex;justify-content:space-between;gap:20px}.top h2,.top p{margin-top:0}.tabs{display:flex;gap:8px;background:#f1f5f9;padding:5px;border-radius:12px;width:max-content;margin:20px 0}.tabs button,button{padding:10px 16px;border:1px solid #cbd5e1;border-radius:9px;background:white;font-weight:750;cursor:pointer}.tabs .active,.primary{background:#2563eb;color:white;border-color:#2563eb}.formula{padding:13px 15px;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;margin-bottom:18px}.grid,.results{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}label{font-size:13px;font-weight:750}input,select{display:block;width:100%;min-height:46px;margin-top:7px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}.actions{display:flex;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #e2e8f0}.result{border:1px solid #e2e8f0;border-radius:14px;padding:18px}.result small{display:block;color:#64748b}.result strong{display:block;font-size:28px}.result.main{background:#eff6ff;border-color:#bfdbfe}.result.main strong{color:#2563eb}.note{margin-top:15px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.note h3,.note p{margin:0}.two,.related{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two>div,.related a{border:1px solid #e2e8f0;border-radius:14px;padding:18px}footer{padding:28px;display:flex;gap:15px;justify-content:center;border-top:1px solid #e2e8f0;background:white;color:#64748b}@media(max-width:800px){nav{display:none}.grid,.results{grid-template-columns:1fr 1fr}}@media(max-width:560px){main{padding:42px 14px}.hero h1{font-size:42px}.card{padding:20px}.top{flex-direction:column}.grid,.results,.two,.related{grid-template-columns:1fr}.tabs{width:100%}.tabs button{flex:1}.actions{flex-direction:column}input,select{font-size:16px}footer{flex-direction:column;align-items:center}}