/* Orchestrator Page Styles -- v7 "Clean Stage, Warm Light" */

.orchestrator_card {
    background: var(--white);
    border-radius: 16px;
    border: 0.5px solid var(--border);
    box-shadow: var(--shadow-1);
    padding: 24px;
    max-width: none;
}

/* Same shape as the sibling Settings tabs: shared title size (page h1 spec, 28px). */
.orchestrator_page .dash_header h1 {
    font-size: var(--text-h1);
    font-weight: 700;
}

.orchestrator_section_title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
    margin: 0 0 20px;
}

.orchestrator_field_group {
    margin-bottom: 20px;
}

.orchestrator_label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.orchestrator_select {
    width: 100%;
    border-radius: var(--r-lg);
    border: 0.5px solid var(--border-strong);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    background-color: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23807A72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.orchestrator_select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 115, 42, 0.15);
}

.orchestrator_empty_state {
    text-align: center;
    padding: 36px 0 12px;
    color: var(--stone);
}

.orchestrator_empty_icon {
    width: 40px;
    height: 40px;
    color: var(--line);
    margin-bottom: 10px;
}

.orchestrator_empty_text {
    font-size: 14px;
    color: var(--stone);
    margin: 0;
}

.orchestrator_editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.orchestrator_textarea {
    width: 100%;
    min-height: 260px;
    border-radius: var(--r-lg);
    border: 0.5px solid var(--border-strong);
    background-color: var(--canvas);
    padding: 14px 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
                "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink);
    resize: vertical;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.orchestrator_textarea:focus {
    outline: none;
    border-color: var(--orange);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 115, 42, 0.15);
}

.orchestrator_textarea::placeholder {
    color: var(--stone);
}

.orchestrator_actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .orchestrator_card {
        padding: 18px;
    }

    .orchestrator_actions {
        justify-content: stretch;
    }

    .orchestrator_actions .btn_primary {
        width: 100%;
        justify-content: center;
    }
}
