*{box-sizing:border-box}body{font:16px/1.55 system-ui,sans-serif;background:#f4f7fa;color:#183b56;margin:0}main{max-width:820px;margin:1rem auto;padding:0 1rem}.card{background:white;padding:clamp(1rem,4vw,2rem);border-radius:16px;box-shadow:0 4px 18px #183b5618}label{display:block;margin-top:1rem;font-weight:650}input[type=number]{width:100%;font:inherit;padding:.7rem;border:1px solid #879aaa;border-radius:7px;margin-top:.35rem}.check{display:flex;gap:.7rem;align-items:center}.check input{width:1.2rem;height:1.2rem}button{font:inherit;padding:.7rem 1rem;border:0;border-radius:8px;background:#17638c;color:white;cursor:pointer;margin:.7rem .4rem .7rem 0}.share-row{display:flex;gap:.4rem;flex-wrap:wrap}#result{margin-top:1rem;background:#eef6f9;padding:1rem;border-radius:12px}#resultText{white-space:pre-wrap;font:16px/1.7 ui-monospace,monospace}.help{margin-top:1.5rem;border-top:1px solid #dbe3e9;padding-top:.7rem}.help a{color:#075b84}.help p{line-height:1.6}.ad-slot{min-height:90px}@media(max-width:520px){main{padding:0 .7rem}.card{padding:1rem}}@media print{body{background:white;color:#111}main{margin:0;padding:0}.share-row,.help,.ad-slot,#navbar-mount,#footer-mount,#sharePrompt,#calculate,.check{display:none!important}.card{box-shadow:none;padding:0}#result{display:block!important;background:white;padding:0}}
