#graph-info {
    margin-top: auto;
}

#info-selected-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 12px;
}

#info-selected-container:empty::after {
    content: 'Click a node or chain to inspect';
    color: var(--unselected-text);
    font-size: small;
    font-style: italic;
    padding: 12px 0;
}

#info-selection-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 12px;
    border-bottom: 2px solid var(--lighter-green);
}

#info-selection-container.hidden {
    display: none;
}

/* Type header: icon + label with subtle underline */
.info-type-header {
    font-weight: 700;
    font-size: small;
    padding: 6px 0 6px 0;
    margin-bottom: 6px;
    border-bottom: 2px solid var(--lighter-green);
    color: var(--darker-green);
    letter-spacing: 0.02em;
}

.info-type-header i {
    margin-right: 4px;
    color: var(--light-green);
}

/* Row: label above value, stacked vertically */
.info-row {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: x-small;
    font-weight: 600;
    color: var(--unselected-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-value {
    color: var(--text-color);
    padding-left: 10px;
    word-break: break-all;
}

/* Copyable values: subtle interactive hint */
.info-copyable {
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.info-copyable:hover {
    background: var(--highlight);
    border-color: var(--light-green);
}

.info-copyable.info-copy-flash {
    background: var(--highlight);
}

/* Monospace code blocks */
.info-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: x-small;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    padding: 6px 8px;
    max-height: 80px;
    overflow-y: auto;
    display: block;
}

.info-code pre {
    text-align: left;
    margin: 0;
}

/* Debug section */
#info-debug-container-outer {
    margin-top: 10px;
    border-top: 2px solid var(--lighter-green);
    padding-top: 6px;
}

#info-debug-container {
    padding-left: 0;
    background-color: var(--debug-bg);
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: x-small;
}

.info-debug-key {
    margin-bottom: 5px;
    margin-right: 1em;
    font-weight: bold;
}

/* Legacy classes kept for compatibility */
.info-content { margin-left: 0; }
.info-optional { display: none; }
.button-copy-sequence { margin-left: 5px; cursor: pointer; }
#info-full-sequence-container { margin-top: 0.5em; }
