.restaurant-context-page {
    padding: 1rem;
    gap: 1.25rem;
}

.context-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.context-form {
    display: grid;
    gap: 0.75rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field.inline {
    max-width: 220px;
}

.action-bar {
    flex-wrap: wrap;
}

.list-header {
    justify-content: space-between;
}

.context-list {
    width: 100%;
}

.context-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f7f8fc;
}

.item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #0f172a;
}

.item-key {
    color: #2563eb;
}

.item-order {
    color: #475569;
}

.item-question {
    color: #0f172a;
    font-size: 1rem;
}

.item-answer {
    color: #475569;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.empty-state {
    display: flex;
    align-items: center;
    color: #475569;
    padding: 0.75rem 0;
}

.loading-badge {
    background: #e2e8f0;
    color: #0f172a;
}

.empty-icon {
    margin-right: 0.5rem;
    color: #2563eb;
}

@media (min-width: 960px) {
    .restaurant-context-page {
        padding: 1.5rem;
    }

    .context-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-field:nth-child(3) {
        grid-column: span 2;
    }
}
