/* =================================================================
   tools/ieee754.css
   Auto-extracted from math.css (2026-05-11).
   Loaded via config/js-manifest.php → templates/partials/head-styles.php.
   ================================================================= */

/* ─── IEEE 754 Bit Fields ──────────────────────────────── */
.math-ieee-fields {
    display: flex;
    gap: 2px;
    margin: 12px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.math-ieee-sign { background: #ef4444; color: #fff; }
.math-ieee-exponent { background: #f59e0b; color: #fff; }
.math-ieee-mantissa { background: #6366f1; color: #fff; }

.math-ieee-fields .math-bit {
    width: 28px;
    height: 36px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
}

.math-ieee-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 8px 0 16px;
    flex-wrap: wrap;
}

.math-ieee-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--math-text-soft);
}

.math-ieee-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

