.rounding-page{max-width:1160px;margin:auto;padding:42px 24px 76px;color:#2c2036;font-size:18px;line-height:1.65}.rounding-page *{box-sizing:border-box}.rounding-page [hidden]{display:none!important}.rounding-page h1{font-size:clamp(32px,4.3vw,52px);line-height:1.13;letter-spacing:-1.3px;margin:0 0 30px;font-weight:850}.rounding-page h2{font-size:clamp(28px,3vw,36px);line-height:1.25;letter-spacing:-.6px;margin:0 0 24px}.rounding-page h3{font-size:23px;line-height:1.4;margin:27px 0 15px}.rounding-page p{margin:0 0 20px}.rounding-calculator{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);border:1px solid #ddcbe9;border-radius:28px;background:white;overflow:hidden;box-shadow:0 16px 45px #59247508;scroll-margin-top:90px}.rounding-calculator form,.rounding-result{padding:30px;min-width:0}.rounding-page label,.rounding-page legend{display:block;font-size:17px;line-height:1.4;font-weight:700;margin-bottom:10px}.rounding-calculator input:not([type=radio]),.rounding-calculator select{width:100%;min-width:0;min-height:54px;padding:12px;border:1px solid #cab2d9;border-radius:11px;font:17px/1.4 inherit;font-family:inherit;font-size:17px;color:#362042;background:white}.rounding-calculator #number{font-size:30px;line-height:1.3;padding:10px 15px;font-weight:650}.rounding-page .hint{font-size:16px;line-height:1.55;color:#755e80;margin:12px 0 22px}.rounding-modes{border:0;padding:0;margin:24px 0}.rounding-modes>div{display:grid;grid-template-columns:1fr 1.3fr;gap:9px}.rounding-modes label{position:relative;cursor:pointer;font-size:16px;margin:0}.rounding-modes input{position:absolute;opacity:0;width:1px;height:1px}.rounding-modes span{display:flex;justify-content:center;align-items:center;min-height:54px;text-align:center;border:1px solid #decde9;border-radius:12px;padding:10px 8px}.rounding-modes input:checked+span{border-color:#812cbd;background:#f1e4fa;color:#7026a4;box-shadow:inset 0 0 0 1px #812cbd}.rounding-settings{display:grid;grid-template-columns:1fr;gap:20px}.rounding-page input:focus-visible,.rounding-page select:focus-visible,.rounding-page button:focus-visible,.rounding-page summary:focus-visible,.rounding-modes input:focus-visible+span{outline:3px solid #b678df;outline-offset:3px}.rounding-primary{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;border:0;border-radius:12px;padding:15px 20px;background:#812cbd;color:white;font:700 18px/1.5 inherit;font-family:inherit;font-size:18px;font-weight:700;cursor:pointer}.rounding-primary:hover{background:#6e229f}.rounding-result{background:linear-gradient(140deg,#fcf9ff,#f4eafa);border-left:1px solid #e2d1ed;display:flex;flex-direction:column}.rounding-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:17px;font-weight:700;color:#713496;min-height:64px}.rounding-result-heading img{width:88px;height:88px;object-fit:contain;margin:-10px -8px -10px 0}.rounding-page .rounding-answer{font-size:clamp(38px,4.8vw,66px);font-weight:850;letter-spacing:-1.7px;line-height:1.15;margin:25px 0 12px;color:#7b2cac;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.rounding-precision{color:#755780;font-size:16px}.rounding-breakdown{border-top:1px solid #ddcce8;border-bottom:1px solid #ddcce8;padding:25px 0 21px;margin:29px 0 24px}.eyebrow{font-size:15px;font-weight:700;color:#78528f}.rounding-digits{font:600 clamp(25px,3.2vw,42px)/1.55 ui-monospace,Consolas,monospace;letter-spacing:1px;margin:15px 0 14px;overflow-wrap:anywhere;color:#684b77}.rounding-digits b{background:#812cbd;color:#fff;border-radius:7px;padding:4px 2px}.rounding-digits mark{background:#ffd68a;color:#693d00;border-radius:7px;padding:4px 2px;margin-left:2px}.rounding-digits s{color:#8c7995;text-decoration-color:#8c7995}.rounding-breakdown p{font-size:17px;margin:0;line-height:1.65}.rounding-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.rounding-bottom span{display:block;font-size:15px;color:#795987}.rounding-bottom strong{display:block;font-size:22px;color:#643280;overflow-wrap:anywhere}.rounding-bottom>div{min-width:0;max-width:100%}.rounding-bottom button{min-height:46px;border:1px solid #cfb4df;color:#7432a0;background:#fff9;font-family:inherit;font-size:15px;font-weight:700;border-radius:10px;padding:11px 13px;cursor:pointer}.rounding-bottom button:hover{background:white}.rounding-page #scientific{margin:19px 0 0;overflow-wrap:anywhere}.rounding-page #rounding-error{color:#a02043;font-size:16px;margin:16px 0 0}.rounding-page #number[aria-invalid=true]{border-color:#a02043}.rounding-page #empty-result{margin-top:26px;color:#765b83}.rounding-info{margin-top:58px}.rounding-info ul,.rounding-info ol{padding-left:24px}.rounding-info li{margin:12px 0}.rounding-rule-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center}.rounding-rule-layout h3{margin-top:0}.rounding-rule-layout figure{margin:0;min-width:0}.rounding-rule-layout img{width:100%;height:auto;display:block;border-radius:22px}.rounding-rule-layout figcaption{font-size:15px;line-height:1.6;color:#765981;padding:14px 4px}.rounding-table-wrap{margin:20px 0 27px;overflow-x:auto}.rounding-page table{border-collapse:collapse;width:100%;background:#fff;font-size:17px;text-align:left}.rounding-page caption{text-align:left;font-weight:700;font-size:20px;margin-bottom:17px}.rounding-page th,.rounding-page td{padding:15px 19px;border-bottom:1px solid #e5d9ed}.rounding-page thead{background:#eee0f7;color:#603080}.rounding-page tbody th{font-weight:600}.rounding-steps{counter-reset:round-step;list-style:none;padding:0!important;margin:0 0 25px}.rounding-steps li{counter-increment:round-step;position:relative;padding:15px 0 22px 54px;margin:0;border-bottom:1px solid #e1d4e9}.rounding-steps li:before{content:'0' counter(round-step);position:absolute;left:0;top:13px;font-size:25px;font-weight:750;color:#9967b7}.rounding-example{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:2px solid #9b55c4;border-bottom:1px solid #decde9;padding:28px 0;margin:26px 0}.rounding-example ol{margin:0}.rounding-example li:first-child{margin-top:0}.rounding-example p:last-child{margin:0}.rounding-page .example-equation{font-size:clamp(25px,3vw,35px);line-height:1.5;font-weight:650;letter-spacing:-.6px;margin:15px 0;color:#59336f;overflow-wrap:anywhere}.example-equation strong{color:#812cbd}.example-equation>span{color:#aa80c2}.rounding-faq details{border-bottom:1px solid #dfd1e7}.rounding-faq summary{font-size:19px;font-weight:650;line-height:1.5;padding:22px 36px 22px 0;cursor:pointer;list-style:none;position:relative}.rounding-faq summary::-webkit-details-marker{display:none}.rounding-faq summary:after{content:'+';position:absolute;right:4px;top:20px;font-size:25px;color:#8949b0}.rounding-faq details[open] summary:after{content:'−'}.rounding-faq p{font-size:18px;color:#675071;max-width:950px;margin-bottom:24px}
@media(max-width:760px){.rounding-page{padding:28px 16px 55px}.rounding-calculator,.rounding-rule-layout,.rounding-example{grid-template-columns:minmax(0,1fr)}.rounding-calculator{border-radius:22px}.rounding-calculator form,.rounding-result{padding:24px}.rounding-result{border-left:0;border-top:1px solid #e2d1ed}.rounding-page .rounding-answer{font-size:49px}.rounding-info{margin-top:44px}.rounding-rule-layout{gap:12px}.rounding-rule-layout figure{max-width:540px;justify-self:center}.rounding-example{gap:22px}.rounding-breakdown{margin:22px 0}.rounding-page th,.rounding-page td{padding:13px 10px}.rounding-page table{font-size:16px}.rounding-page .example-equation{font-size:31px}.rounding-faq summary{font-size:18px}}
@media(max-width:380px){.rounding-calculator form,.rounding-result{padding:20px}.rounding-modes span{font-size:15px}.rounding-modes>div{grid-template-columns:1fr 1.2fr;gap:6px}.rounding-page .rounding-answer{font-size:40px}.rounding-page table{font-size:15px}.rounding-page th,.rounding-page td{padding:12px 7px}.rounding-steps li{padding-left:43px}}
.rounding-page .rounding-icon-heading{display:flex;align-items:center;gap:17px}.rounding-icon-heading>img{width:64px;height:64px;flex:0 0 64px;object-fit:contain}@media(max-width:760px){.rounding-page .rounding-icon-heading{gap:12px}.rounding-icon-heading>img{width:52px;height:52px;flex-basis:52px}}
