/* settings-ai-crew.css — Settings → AI crew (crew build step 2, 2026-10-23). Scoped to .ac-*; the portal's own
 * buttons (btn btn-ghost fx-sm) and .hidden are reused. Brand ink #2A095E, as the consent page and cards use. */
.ac-wrap { max-width: 920px; }
.ac-h { margin: 0 0 6px; color: #2A095E; }
.ac-h3 { margin: 22px 0 8px; color: #2A095E; font-size: 16px; }
.ac-muted { color: #6b6680; }
.ac-small { font-size: 13px; line-height: 1.45; }
.ac-note { padding: 10px 12px; background: #f6f5f9; border-radius: 8px; }
.ac-err { color: #a3261b; }
.ac-msg { margin: 8px 0; padding: 8px 12px; border-radius: 8px; background: #eef7f0; }
.ac-msg.ac-err { background: #fdf0ee; }
.ac-card { border: 1px solid #e3e0ea; border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; background: #fff; }
.ac-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.ac-head-left { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.ac-pic { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex: none; background: #efedf5; }
.ac-switch { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; cursor: pointer; }
.ac-switch.ac-ro { cursor: default; }
.ac-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac-switch-ui { flex: none; width: 36px; height: 20px; border-radius: 10px; background: #cfcad9; position: relative; margin-top: 1px; transition: background .15s; }
.ac-switch-ui::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.ac-switch input:checked + .ac-switch-ui { background: #2A095E; }
.ac-switch input:checked + .ac-switch-ui::after { left: 18px; }
.ac-switch input:focus-visible + .ac-switch-ui { outline: 2px solid #2A095E; outline-offset: 2px; }
.ac-table { width: 100%; border-collapse: collapse; }
.ac-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6b6680; padding: 6px 8px; border-bottom: 1px solid #e3e0ea; }
.ac-table td { padding: 8px; border-bottom: 1px solid #f0eef4; vertical-align: top; }
.ac-table select { min-width: 110px; }
.ac-row { margin: 8px 0; }
.ac-row input[type="number"] { width: 70px; }
.ac-list { margin: 0 0 8px; padding-left: 18px; }
.ac-issue { border-left: 3px solid #e3e0ea; padding-left: 10px; margin: 0 0 12px; }
.ac-item { padding: 8px 0; border-bottom: 1px solid #f0eef4; }
.ac-item:last-child { border-bottom: 0; }
.ac-actions { margin-top: 6px; }
.ac-chip { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 9px; background: #efedf5; color: #2A095E; }
.ac-chip.ac-sample { background: #fff4d6; color: #7a5600; }
.ac-chip.ac-warn { background: #fdf0ee; color: #a3261b; }
@media (max-width: 640px) {
  .ac-card-head { flex-direction: column; }
  .ac-table thead { display: none; }
  .ac-table td { display: block; border-bottom: 0; padding: 4px 0; }
  .ac-table tr { display: block; border-bottom: 1px solid #f0eef4; padding: 6px 0; }
}
