#ops_layer {
    z-index: 9999; /* highest layer */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
}

#ops_layer #ops_highlight_bar .flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #dc2626;
    animation: pulse_and_fade 8s linear forwards;
}
@keyframes pulse_and_fade {
    0%, 20%, 40%, 60% { opacity: 1; }
    10%, 30%, 50%, 70% { opacity: 0.2; }
    80% { opacity: 1; }
    100%  { opacity: 0; }
}

#ops_layer #ops_overlay {
    pointer-events: auto;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1076px;
    color: #222222;
    background-color: rgba(60, 64, 67, 0.25); /* subtle gray overlay */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    font-family: monospace;
    font-style: normal;
    font-size: 28px;
    line-height: 32px;
    text-align: left;
}

.ops_overlay_row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75); 
    align-items: stretch;
}

.ops_overlay_row:last-child {
    border-bottom: none;
}

.ops_overlay_cell {
    flex: 1 1 auto;
    padding: 2px 4px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: center;
    line-height: 1;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.75);
}

.ops_overlay_cell:last-child {
    border-right: none;
}

.ops_overlay_cell.center {
    justify-content: center;
    align-items: center;
}

.ops_overlay_label {
    font-size: 18px;
    color: #777;
    text-transform: uppercase;
    font-weight: bold;
    margin: 2px;
    white-space: nowrap;
}

.ops_overlay_value {
    font-size: 22px;
    font-weight: normal;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ops_overlay_btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-weight: bolder;
    color: #0e7490;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.ops_overlay_btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
}

#ops_layer #ops_overlay #ops_overlay_trace {
    font-size: 22px;
    line-height: 1.2;
    max-height:8lh;
    overflow-y: auto;
    padding: .25rem;
    word-break: break-word;
}
