
.math-guide .guide-tool{margin:22px 0;padding:18px;border:1px solid #31514d;border-radius:12px;background:#10252c;scroll-margin-top:94px}
.math-guide .guide-tool h2{font-size:22px;line-height:1.5;margin:0 0 12px}
.math-guide .guide-tool p,.math-guide .guide-tool li{font-size:16px;line-height:1.8}
.math-guide .tool-fields{display:grid;gap:14px;margin:16px 0}
.math-guide .guide-tool label{display:block;font-size:15px;font-weight:700;color:#e6f5fb}
.math-guide .guide-tool input{display:block;width:100%;box-sizing:border-box;min-height:48px;margin-top:8px;padding:12px;border:1px solid #4a6d69;border-radius:8px;background:#071c24;color:#f3fcf9;font-size:16px}
.math-guide .tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.math-guide .tool-actions button{cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid #4a6d69;border-radius:8px;background:#0c3131;color:#d7fff0;font-size:15px;line-height:1.4}
.math-guide .tool-actions .tool-primary{background:#00d688;border-color:#00d688;color:#03180f;font-weight:750}
.math-guide .guide-tool input:focus-visible,.math-guide .tool-actions button:focus-visible{outline:3px solid #ffcf35;outline-offset:3px}
.math-guide .tool-result{padding:14px;margin:14px 0;border-left:3px solid #00d688;background:#071c24;overflow-wrap:anywhere}
.math-guide .tool-result dl{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin:0}
.math-guide .tool-result dt{font-size:14px;color:#bdccd5;margin-top:8px}
.math-guide .tool-result dd{margin:0;font-size:16px;font-weight:650;color:#e9fff8;overflow-wrap:anywhere}
.math-guide .tool-note{font-size:14px!important;color:#bdccd5}
.math-guide .tool-error{color:#ffcf35;font-size:15px;line-height:1.6}
.math-guide .tool-result[hidden]{display:none}
@media(min-width:600px){.math-guide .tool-fields.two-rates{grid-template-columns:1fr 1fr}}
