/*
 * Prefixed styles for the formula explanation to prevent conflicts.
 * You can copy this entire style block or move it to your main stylesheet.
*/
.smc-explanation-formula {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
	font-weight: 600;
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin: 1rem 0;
    overflow-x: auto; /* For small screens */
}
.smc-explanation-fraction {
    display: inline-flex;
    flex-direction: column;
    text-align: center;
    vertical-align: middle;
    margin: 0 0.5rem;
}
.smc-explanation-numerator {
    padding: 0 0.5rem 0.2rem;
    border-bottom: 2px solid #212529;
}
.smc-explanation-denominator {
    padding: 0.2rem 0.5rem 0;
}

