.customer-migration { padding: 20px 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; min-width: 0; }
.migration-heading, .migration-file-row, .migration-tools, .migration-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.migration-heading { justify-content: space-between; margin-bottom: 16px; }
.migration-heading h2 { font-size: 20px; margin: 4px 0 0; }
.migration-readonly { color: #216350; font-size: 12px; }
.migration-file-row .button { cursor: pointer; }
.migration-filename { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.migration-save { display: flex; gap: 8px; align-items: center; margin: 12px 0; font-size: 12px; color: var(--muted); }
.migration-save input { width: 16px; height: 16px; margin: 0; accent-color: #22765e; }
.migration-paste { display: grid; gap: 8px; margin: 16px 0; }
.migration-paste label, .migration-saved { font-size: 12px; color: var(--muted); }
.migration-paste textarea { box-sizing: border-box; width: 100%; min-height: 150px; max-height: 320px; resize: vertical; padding: 10px; border: 1px solid var(--line); border-radius: 4px; font: 12px monospace; background: #fff; color: var(--ink); }
.migration-paste .button { justify-self: start; }
.migration-counts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 20px; border-bottom: 1px solid var(--line); }
.migration-counts button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); text-align: left; padding: 12px 8px; cursor: pointer; font: inherit; min-width: 0; }
.migration-counts button[aria-pressed=true] { border-bottom-color: #22765e; background: #edf5f1; color: var(--ink); }
.migration-counts strong { font-size: 23px; display: block; font-variant-numeric: tabular-nums; }
.migration-counts span { font-size: 11px; display: block; margin-top: 4px; min-height: 32px; overflow-wrap: anywhere; }
.migration-notices { border-left: 3px solid #d49b39; margin: 16px 0; padding: 1px 12px; font-size: 12px; color: var(--muted); }
.migration-notices p { margin: 5px 0; }
.migration-error { color: #a33030; font-size: 13px; }
.migration-tools { margin: 16px 0 12px; }
.migration-tools input { width: min(360px, 100%); min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 10px; font: inherit; font-size: 13px; background: white; }
.migration-tools > span { font-size: 12px; color: var(--muted); }
.migration-table-wrap { max-width: 100%; overflow: auto; border-top: 1px solid var(--line); }
.migration-table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.migration-table th, .migration-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.migration-table th { font-size: 11px; background: #f2f5f5; color: var(--muted); }
.migration-table th:nth-child(1) { width: 18%; }
.migration-table th:nth-child(2) { width: 22%; }
.migration-table th:nth-child(3) { width: 15%; }
.migration-table th:nth-child(4) { width: 30%; }
.migration-table td small, .migration-table td b, .migration-table td span { display: block; margin-bottom: 4px; }
.migration-table td small { color: var(--muted); }
.migration-table ul { margin: 0; padding-left: 14px; }
.migration-table li + li { margin-top: 5px; }
.migration-order, .migration-status.is-customer { color: #216350; }
.migration-status.is-suspected_spam, .migration-status.is-conflict { color: #a33030; }
.migration-status.is-review { color: #8b5d16; }
.migration-empty { padding: 16px 0; color: var(--muted); font-size: 13px; }
.migration-pages { justify-content: flex-end; margin-top: 12px; font-size: 12px; }
.migration-pages .button { width: 38px; height: 38px; padding: 0; }
.customer-migration :focus-visible { outline: 2px solid #22765e; outline-offset: 2px; }
@media (max-width: 800px) { .migration-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .migration-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
