/* ====== Storage slide (API keys of the personal KB) ====== */

.storage-content {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.st-section {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.st-head {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    min-width: 0;
}

.st-head__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
}

.st-endpoint {
    flex: 1;
    min-width: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-create {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.st-input {
    flex: 1;
    min-width: 0;
    font: inherit;
    color: inherit;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--s-2) var(--s-3);
}

.st-row {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--border);
}

.st-row__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-row__meta {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    white-space: nowrap;
}

.st-row__actions {
    display: flex;
    gap: var(--s-1);
    flex-shrink: 0;
}

.st-btn--done {
    color: var(--success, #6fbf73);
}

.st-btn--armed {
    color: var(--error);
}

@media (max-width: 480px) {
    .st-row__meta {
        display: none;
    }
}
