.mentor-ai-panel { padding: 0; }
.mentor-ai-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}
.mentor-ai-results-heading h2 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin: 0 0 var(--space-1);
}
.mentor-ai-heading p { font-size: var(--text-sm); color: var(--neutral-500); margin: 0; }
.mentor-ai-close { font-size: var(--text-sm); color: var(--primary); padding: var(--space-1) 0; }
.mentor-ai-button {
    height: 42px;
    border-radius: var(--radius-lg, 12px);
    background: linear-gradient(135deg, var(--primary), var(--primary-900));
    border: 1px solid transparent;
    padding: var(--space-2) var(--space-5);
    font-weight: var(--font-weight-bold);
}
.mentor-ai-button:focus-visible, .mentor-ai-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: var(--space-1);
}
.mentor-ai-prompt-box {
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-xl);
    background: var(--neutral-50);
    box-shadow: 0 0 var(--space-4) color-mix(in srgb, var(--primary-100) 45%, transparent);
}
.mentor-ai-prompt-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 var(--space-5) color-mix(in srgb, var(--primary-100) 65%, transparent);
}
.mentor-ai-prompt-box textarea {
    padding: var(--space-4) var(--space-5) var(--space-2);
    border: 0;
    border-radius: var(--radius-xl);
    background: transparent;
    resize: none;
    overflow-y: hidden;
    height: auto;
    line-height: 1.5;
    color: var(--neutral-800);
}
.mentor-ai-prompt-box textarea:focus { background: transparent; box-shadow: none; }
.mentor-ai-prompt-actions { display: flex; justify-content: flex-end; padding: 0 var(--space-4) var(--space-3); }
.mentor-ai-filter-paused { opacity: .5; pointer-events: none; }
.mentor-ai-results-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
#mentor-ai-status:empty { display: none; }
.mentor-ai-grid { display: grid; }
#mentor-ai-grid .mentor-col { width: 100%; padding: 0; margin: 0; }
@media (max-width: 575.98px) {
    .mentor-ai-heading { flex-wrap: wrap; gap: var(--space-2); }
    .mentor-ai-close { margin-left: auto; }
    .mentor-ai-results-heading { flex-direction: column; gap: 0; }
    .mentor-ai-prompt-box textarea { padding: var(--space-4); }
}
#mentor-ai-panel[hidden], #mentor-ai-results[hidden], #mentor-ai-loading[hidden],
#mentor-ai-error[hidden], #mentor-ai-more[hidden], #mentor-ai-grid[hidden],
#mentor-ai-results-heading[hidden], #mentor-standard-filters[hidden],
#mentor-ai-toggle[hidden], #mentor-standard-results[hidden] { display: none !important; }
