/* CSVの形式の説明（csv-format-help.js）とロールの複数選択（user-roles.js）。 */
.csv-format-help { margin: 8px 0 12px; padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; min-width: 0; }
.csv-format-heading { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.csv-format-help .table-scroll { max-width: 100%; overflow-x: auto; margin: 8px 0; }
.csv-format-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .88rem; }
.csv-format-table th[scope="row"] code { white-space: nowrap; }
.csv-format-table th, .csv-format-table td { padding: 6px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid #e2e8f0; }
.csv-format-table thead { background: #eef2f7; }
/* CSVの見出しは大文字小文字を区別する。表の見出しの大文字化（styles.css の th）をここでは止める。 */
.csv-format-table th { text-transform: none; }
.csv-format-table td:nth-child(2) { min-width: 6em; }
.csv-format-table td code { overflow-wrap: anywhere; }
.csv-format-notes { margin: 6px 0 0; padding-left: 1.2em; }
@media (min-width: 821px) { .toolbar .role-choices { grid-column: span 2; } }
.role-choices { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; border: 0; margin: 0; padding: 0; min-width: 0; }
.role-choices legend { padding: 0; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.role-choices .role-choice { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 400; color: var(--text); }
.role-choices .role-choice input { width: auto; flex: 0 0 auto; margin: 0; padding: 0; }
.role-choices .meta { flex: 1 1 100%; }
.user-role-editor { margin: 6px 0; }
