.ai-profiles { margin: 18px 0; }
.profile-form { display: grid; grid-template-columns: 1.1fr 1.6fr .55fr .8fr .8fr auto auto; gap: 10px; align-items: end; margin: 16px 0 20px; }
.profile-form label { margin: 0; }
.profile-form .switch { padding-bottom: 12px; white-space: nowrap; }
.ai-profiles code { color: var(--text); font-size: 12px; }
.profile-list { display: grid; gap: 7px; }
.profile-editor { border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; }
.profile-editor summary { cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.profile-editor[open] summary { margin-bottom: 8px; }
.profile-editor .profile-form { margin: 0 0 7px; }
@media (max-width: 1200px) { .profile-form { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .profile-form { grid-template-columns: 1fr; } }
