.busy-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(237, 250, 241, 0.55);
    cursor: progress;
}

    .busy-overlay.active {
        display: flex;
    }

.busy-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    background: #edfaf1;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.busy-text {
    font-size: 0.9rem;
    color: #495057;
}

.toast-area {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 420px;
}

.app-toast {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    background: #edfaf1;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

    .app-toast.ok {
        border-left: 4px solid #198754;
    }

    .app-toast.fail {
        border-left: 4px solid #dc3545;
    }

.robot-state {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    background: transparent;
}

    .robot-state.online {
        background: #198754;
    }

    .robot-state.offline {
        background: #dc3545;
    }

    .robot-state.warning {
        background: #fd7e14;
    }

.order-error-badge {
    color: #dc3545;
    margin-left: 4px;
}
