/* 「表記と修正」 (public/corrections.js) — a tab of 組織と権限. Dialog and toast reuse orgMap.css. */
.cr-host { max-width: 980px; }
.cr-head h2 { margin: 0 0 4px; font-size: 18px; }
.cr-note { margin: 0 0 8px; font-size: 12px; color: var(--ui-text-3); }
.cr-warn { color: #9a6700; }
.cr-empty { margin: 4px 0; font-size: var(--ui-fs-sm); color: var(--ui-text-3); }
.cr-sec { margin-top: 14px; padding: 14px 16px; }
.cr-sec h3 { margin: 0 0 4px; font-size: 15px; }
.cr-sec h4 { margin: 14px 0 6px; font-size: 13px; }
.cr-mail { margin-left: 8px; font-size: 11px; color: var(--ui-text-4); }
.cr-small { height: 28px !important; padding: 0 10px !important; font-size: 12px !important; }

.cr-name { padding: 10px 0; border-bottom: 1px solid var(--ui-border); }
.cr-name:last-of-type { border-bottom: 0; }
.cr-name-who { margin-bottom: 6px; }
.cr-name-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cr-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 150px; padding: 7px 12px; border: 1px solid var(--ui-border); border-radius: 10px; background: var(--ui-surface); font: inherit; cursor: pointer; text-align: left; }
.cr-pick small { font-size: 10.5px; color: var(--ui-text-4); }
.cr-pick span { font-size: 15px; font-weight: 600; }
.cr-pick:hover { border-color: var(--ui-accent); background: var(--ui-accent-soft); }
.cr-done { list-style: none; margin: 0; padding: 0; }
.cr-done li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 5px 0; font-size: var(--ui-fs-sm); }

.cr-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.cr-f { height: 28px; padding: 0 12px; border: 1px solid var(--ui-border); border-radius: var(--ui-r-pill); background: var(--ui-surface); font: inherit; font-size: 12px; cursor: pointer; color: var(--ui-text-2); }
.cr-f.is-on { border-color: var(--ui-accent); background: var(--ui-accent-soft); color: var(--ui-accent); }
.cr-search { flex: 1; min-width: 160px; }
.cr-list { list-style: none; margin: 0; padding: 0; }
.cr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ui-border); }
.cr-pair { font-size: 14px; }
.cr-wrong { color: #a40e26; text-decoration: line-through; text-decoration-thickness: 1px; }
.cr-arrow { margin: 0 6px; color: var(--ui-text-4); }
.cr-right { color: #116329; font-weight: 600; }
.cr-tag { margin-left: 6px; padding: 1px 7px; border-radius: var(--ui-r-pill); background: var(--ui-sunken); font-size: 10.5px; color: var(--ui-text-3); }
.cr-tag.is-person { background: #fff8c5; color: #7d4e00; }
.cr-meta { grid-column: 1; font-size: 11.5px; color: var(--ui-text-3); }
.cr-still { color: #9a6700; font-weight: 600; }
.cr-clean { color: #116329; }
.cr-seg { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; border: 1px solid var(--ui-border); border-radius: 10px; overflow: hidden; }
.cr-seg-btn { height: 30px; padding: 0 10px; border: 0; border-right: 1px solid var(--ui-border); background: var(--ui-surface); font: inherit; font-size: 11.5px; cursor: pointer; color: var(--ui-text-2); white-space: nowrap; }
.cr-seg-btn:last-child { border-right: 0; }
.cr-seg-btn.is-on { background: var(--ui-accent); color: #fff; }
.cr-seg-btn.is-on.is-always { background: #1f883d; }
.cr-seg-btn:disabled { cursor: default; }
.cr-dialog { max-width: 520px; }
.cr-samples { list-style: none; margin: 8px 0; padding: 0; max-height: 220px; overflow-y: auto; font-size: 12px; }
.cr-samples li { padding: 6px 8px; margin-bottom: 6px; background: var(--ui-sunken); border-radius: 8px; }
.cr-samples small { display: inline-block; min-width: 2.5em; color: var(--ui-text-4); }
@media (max-width: 620px) {
  .cr-row { grid-template-columns: 1fr; }
  .cr-seg { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
}
