#rounding-tool{--rt-ink:#192c48;--rt-border:#dce3ed;--rt-soft:#f5f7fa;--rt-blue:#235fc5;--rt-teal:#119b8c;color:var(--rt-ink);width:100%;font-size:14px;line-height:1.45}
#rounding-tool *{box-sizing:border-box}
#rounding-tool .rt-panel{background:#fff;border:1px solid var(--rt-border);border-radius:12px;padding:18px;margin-bottom:16px;min-width:0}
#rounding-tool .rt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
#rounding-tool .rt-wide{grid-column:1/-1}
#rounding-tool .form-label{font-weight:650;margin-bottom:6px;font-size:13px}
#rounding-tool .form-control,#rounding-tool .form-select{font-size:14px;min-width:0;border-color:#cdd6e2}
#rounding-tool textarea{resize:vertical;min-height:74px;font-variant-numeric:tabular-nums}
#rounding-tool .rt-small,#rounding-tool .rt-muted{color:#637187;font-size:12px;font-weight:400}
#rounding-tool .rt-small{margin-top:5px}
#rounding-tool .rt-checks{display:flex;flex-wrap:wrap;gap:10px 22px;padding-top:3px}
#rounding-tool .form-check{margin:0;display:flex;align-items:center;gap:7px;min-height:0}
#rounding-tool .form-check-input{margin:0;flex:none}
#rounding-tool .rt-actions{margin-top:18px;display:grid;gap:9px}
#rounding-tool .rt-main-actions{display:flex;gap:9px;min-width:0}
#rounding-tool .rt-main-actions .btn{min-height:43px}
#rounding-tool .btn-calc{color:#fff;background:#235fc5;border:1px solid #235fc5;font-weight:650}
#rounding-tool .btn-calc:hover,#rounding-tool .btn-calc:focus{background:#174caa;color:#fff;border-color:#174caa}
#rounding-tool .rt-reset{width:52px;flex:0 0 52px}
#rounding-tool .rt-export>.btn{min-height:41px}
#rounding-tool .dropdown-menu{max-height:240px;overflow:auto}
#rounding-tool .rt-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
#rounding-tool .rt-highlight{background:#F0F5FE;border-radius:10px;padding:15px 13px;min-width:0}
#rounding-tool .rt-highlight-label{font-size:12px;color:#435975;font-weight:650}
#rounding-tool .rt-highlight-value{font-size:clamp(19px,2.5vw,25px);font-weight:750;overflow-wrap:anywhere;line-height:1.3;margin:5px 0;font-variant-numeric:tabular-nums}
#rounding-tool .rt-highlight-note{font-size:12px;color:#5b6f89;overflow-wrap:anywhere}
#rounding-tool .rt-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
#rounding-tool h3{font-size:16px;font-weight:750;margin:0 0 3px}
#rounding-tool .rt-panel-head p{margin:0;font-size:12px;color:#68768b}
#rounding-tool .rt-legend{display:flex;gap:10px;flex-wrap:wrap;justify-content:end;font-size:11px;white-space:nowrap;color:#57657c}
#rounding-tool .rt-legend span{display:inline-flex;align-items:center;gap:5px}
#rounding-tool .rt-dot{width:9px;height:9px;display:inline-block;border-radius:50%}
#rounding-tool .rt-original{background:#235fc5}
#rounding-tool .rt-rounded{background:#119b8c}
#rounding-tool .rt-chart-controls{display:flex;align-items:center;gap:10px;margin-bottom:8px}
#rounding-tool .rt-chart-controls .form-label{margin:0;white-space:nowrap}
#rounding-tool .rt-chart-controls .form-select{max-width:320px}
#rounding-tool .rt-chart{width:100%;overflow:hidden;background:#f9fbfe;border:1px solid #e4eaf2;border-radius:9px}
#rounding-tool .rt-chart svg{display:block;width:100%;height:auto}
#rounding-tool .rt-chart-summary{margin-top:9px;font-size:12px;color:#4f6077;overflow-wrap:anywhere}
#rounding-tool .rt-table{width:100%;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
#rounding-tool .rt-table th{font-size:12px;color:#52647e;font-weight:650;background:#f5f7fb}
#rounding-tool .rt-table td,#rounding-tool .rt-table th{padding:10px 9px;border-color:#e7ecf2}
#rounding-tool .rt-table td:nth-child(3){font-weight:700;color:#164d92}
#rounding-tool .rt-table-note{margin-top:9px}
@media(max-width:680px){#rounding-tool .rt-panel{padding:14px}#rounding-tool .rt-highlights{grid-template-columns:1fr 1fr}#rounding-tool .rt-highlight:first-child{grid-column:1/-1}#rounding-tool .rt-panel-head{flex-wrap:wrap}#rounding-tool .rt-legend{justify-content:start}}
@media(max-width:480px){#rounding-tool .rt-grid{grid-template-columns:1fr;gap:12px}#rounding-tool .rt-highlights{gap:8px}#rounding-tool .rt-highlight{padding:12px}#rounding-tool .rt-highlight-value{font-size:21px}#rounding-tool .rt-actions{display:flex;flex-direction:column}#rounding-tool .rt-main-actions{width:100%}#rounding-tool .rt-export{width:100%}#rounding-tool .rt-chart-controls{align-items:stretch;flex-direction:column;gap:5px}#rounding-tool .rt-chart-controls .form-select{max-width:none}}
