/* Settings › AI assistants (js/agent-access-settings.js). Scoped to #section-agent-access. */
#section-agent-access .aa-card { margin-bottom: 20px; }
#section-agent-access .aa-hint { font-size: 13px; color: #6A7282; margin: 4px 0 14px; max-width: 70ch; }
#section-agent-access .aa-card-head { display: flex; align-items: flex-start; justify-content: space-between; }
#section-agent-access .aa-card-head > div { margin-right: 12px; }
#section-agent-access .aa-url-row { display: flex; align-items: center; margin-top: 8px; }
#section-agent-access .aa-url {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 9px 11px;
    margin-right: 8px;
    background: #F9FAFB;
    color: #101828;
}
#section-agent-access .aa-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 8px;
}
#section-agent-access .aa-row-main { min-width: 0; margin-right: 12px; overflow-wrap: anywhere; }
#section-agent-access .aa-row-name { font-size: 14px; font-weight: 600; color: #101828; }
#section-agent-access .aa-row-meta { font-size: 12.5px; color: #6A7282; margin-top: 2px; }
#section-agent-access .aa-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
#section-agent-access .aa-badge-read { background: #E0F2FE; color: #075985; }
#section-agent-access .aa-badge-write { background: #FEF3C7; color: #92400E; }
#section-agent-access .aa-badge-off { background: #F3F4F6; color: #9CA3AF; }
#section-agent-access .aa-empty { font-size: 13px; color: #9CA3AF; margin: 0; }
#section-agent-access .aa-key-box { border: 1px solid #86EFAC; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
#section-agent-access .aa-key-error { border-color: #FECACA; color: #991B1B; }
#section-agent-access .settings-btn-sm { min-height: 36px; white-space: nowrap; }

@media (max-width: 480px) {
    #section-agent-access .aa-card-head { flex-direction: column; }
    #section-agent-access .aa-card-head .settings-btn { margin-top: 8px; }
    #section-agent-access .aa-row { flex-direction: column; align-items: flex-start; }
    #section-agent-access .aa-row .settings-btn { margin-top: 10px; }
}
