/* NumericInputHud — HUD de saisie CAD près du curseur (socle CAD F1) */

.cad-hud {
    position: absolute;
    z-index: 1300;
    display: flex;
    gap: 6px;
    padding: 4px 6px;
    background: rgba(28, 30, 34, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    font-size: 12px;
    color: #e8e8e8;
    user-select: none;
}

.cad-hud-field {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
}

.cad-hud-tag {
    opacity: 0.7;
    min-width: 10px;
    text-align: center;
}

.cad-hud-unit {
    opacity: 0.55;
    font-size: 10px;
}

.cad-hud-dist,
.cad-hud-angle {
    width: 58px;
    background: #1c1e22;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 12px;
    text-align: right;
}

.cad-hud-dist:focus,
.cad-hud-angle:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 1px #4a90d9;
}
