.operations {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: auto 1fr auto;

    gap: 8px;
    padding: 16px;

    background: #000;
    color: #fff;
    font-family: monospace;
}

.operations-header {
    grid-column: 1 / 3;

    border: 2px solid #fff;
    padding: 12px;
}

.operations-header h1 {
    margin: 0;
    font-size: 16px;
}

/* PRIMARY SURFACE */

.relationships-section {
    border: 2px solid white;
    padding: 20px;
    margin-bottom: 16px;
}

.relationship-chain {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.relationship {
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    align-items: center;
    gap: 12px;
}

.relationship-node {
    border: 1px solid white;
    padding: 14px;
    background: #050505;
}

.relationship-node strong {
    display: block;
    font-size: 16px;
}

.relationship-node small {
    display: block;
    margin-top: 4px;
    opacity: 0.6;
}

.relationship-edge {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
}

.relationship-edge span:first-child {
    font-weight: bold;
}

.relationships-empty {
    opacity: 0.5;
    padding: 20px 0;
}

.operations-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* SUPPORTING STATE */

.operations-detail {
    border: 2px solid #fff;
    padding: 12px;

    overflow-y: auto;
}

/* NAVIGATION */

.operations > .back-lobby {
    grid-column: 1 / 3;
}
