/* Keep migration scope readable without inheriting text-field sizes on checkboxes. */
[data-panel="migration"] > .page-heading h1 { font-size:28px; }
[data-panel="migration"] > .page-heading p:not(.eyebrow) { font-size:13px; line-height:1.6; }
.migration-account-login { display:block; margin-top:14px; color:#baddf5; font-size:12px; line-height:1.5; }
#migration-scope-panel { padding:24px; }
#migration-scope-panel > header { align-items:flex-start; gap:16px; margin-bottom:24px; }
#migration-scope-panel h2 { margin:6px 0 0; font-size:22px; line-height:1.3; }
#migration-scope-panel h3 { margin:0; font-size:15px; line-height:1.4; color:var(--ink); }
#migration-scope-panel .pill { flex:none; font-size:11px; padding:7px 10px; }
#migration-scope-panel .migration-section-copy { margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.6; }
#migration-scope-panel .migration-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.migration-selection-card { min-width:0; padding:18px; border:1px solid var(--line); border-radius:12px; background:#f8fcff; }
.migration-group-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.migration-count { flex:none; padding:4px 8px; border-radius:20px; background:var(--blue-soft); color:var(--blue); font-size:11px; font-weight:700; }
#migration-scope-panel .migration-label { margin:16px 0 7px; font-size:12px; text-transform:none; letter-spacing:0; }
#migration-scope-panel input:not([type="checkbox"]), #migration-scope-panel select { min-width:0; width:100%; height:44px; padding:0 12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-size:14px; }
#migration-scope-panel input:focus-visible, #migration-scope-panel select:focus-visible { outline:3px solid #d6eafb; outline-offset:2px; border-color:var(--blue); }
#migration-scope-panel input[type="checkbox"] { appearance:auto; flex:0 0 18px; width:18px; height:18px; min-width:18px; min-height:18px; margin:2px 0 0; padding:0; accent-color:var(--blue); cursor:pointer; }
#migration-scope-panel .migration-choice-list { max-height:280px; margin-top:12px; padding:0; background:#fff; }
#migration-scope-panel .migration-choice-list > span { padding:20px 14px; font-size:13px; line-height:1.6; }
#migration-scope-panel .migration-choice { gap:12px; margin:0; padding:14px; cursor:pointer; }
#migration-scope-panel .migration-choice:hover { background:#f0f8ff; }
#migration-scope-panel .migration-choice:has(input:checked) { background:#edf6ff; }
#migration-scope-panel .migration-choice strong { font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
#migration-scope-panel .migration-choice small { margin-top:4px; font-size:12px; overflow-wrap:anywhere; }
.migration-history, .migration-targets { margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
.migration-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:14px; }
#migration-scope-panel .migration-option { display:flex; align-items:flex-start; gap:12px; margin:0; padding:16px; border:1px solid var(--line); border-radius:10px; cursor:pointer; }
#migration-scope-panel .migration-option:has(input:checked) { border-color:var(--blue); background:#f0f8ff; }
.migration-option strong, .migration-option small { display:block; }
#migration-scope-panel .migration-option strong { color:var(--ink); font-size:14px; line-height:1.5; }
#migration-scope-panel .migration-option small { margin-top:5px; color:var(--muted); font-size:12px; line-height:1.6; }
.migration-date-heading { margin-top:22px; }
#migration-range-hint { color:var(--muted); font-size:12px; line-height:1.5; }
#migration-scope-panel .migration-range { grid-template-columns:repeat(2,minmax(0,1fr)) minmax(160px,.8fr); gap:16px; margin-top:14px; padding:0; border:0; border-radius:0; }
#migration-scope-panel .migration-range label { min-width:0; margin:0; }
#migration-scope-panel .migration-range label > span { margin-bottom:7px; font-size:12px; letter-spacing:0; text-transform:none; }
#migration-scope-panel input:disabled { color:var(--muted); background:#f0f4f7; cursor:not-allowed; }
#migration-scope-panel .migration-mappings { margin-top:14px; }
.migration-scope-empty { display:grid; gap:7px; padding:24px; text-align:center; background:#f8fcff; }
.migration-scope-empty strong { font-size:14px; }
.migration-scope-empty span { color:var(--muted); font-size:13px; line-height:1.6; }
#migration-scope-panel .migration-map-row { grid-template-columns:minmax(0,1fr) minmax(170px,.8fr) minmax(180px,1fr); gap:14px; padding:16px; }
#migration-scope-panel .migration-map-row strong { font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
#migration-scope-panel .migration-map-row small { font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
#migration-scope-panel .migration-plan-footer { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); gap:24px; }
.migration-plan-footer > div { min-width:0; }
#migration-scope-panel .migration-plan-footer strong { display:block; margin-bottom:6px; font-size:14px; line-height:1.5; }
#migration-scope-panel .migration-plan-footer div > span { display:block; max-width:680px; font-size:12px; line-height:1.6; }
#migration-build-plan { flex:none; min-height:46px; padding:0 18px; font-size:14px; }
#migration-build-plan:disabled { opacity:.5; cursor:not-allowed; }
body.migration-only .sidebar .nav-button:not([data-view="migration"]), body.migration-only .sidebar > p,
body.migration-only .sidebar-note { display:none; }
body.migration-only .view:not([data-panel="migration"]) { display:none!important; }
body.migration-only .brand strong { font-size:15px; }
body.migration-only #top-health-dot { display:none; }
#provider-migration-link { display:flex; align-items:center; gap:11px; min-height:45px; border-radius:10px; color:#c5e2f2; padding:0 11px; text-decoration:none; font-size:11px; font-weight:700; }
#provider-migration-link:hover, #provider-migration-link:focus-visible { color:#fff; background:rgba(255,255,255,.08); }
@media(max-width:1150px) {
  #migration-scope-panel .migration-range { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #migration-scope-panel .migration-range label:last-child { grid-column:1/-1; }
  #migration-scope-panel .migration-map-row { grid-template-columns:1fr 1fr; }
  #migration-scope-panel .migration-map-row > div { grid-column:1/-1; }
}
@media(max-width:760px) {
  #migration-scope-panel { padding:18px; }
  #migration-scope-panel > header { flex-direction:column; }
  #migration-scope-panel .migration-form-grid, .migration-option-grid, #migration-scope-panel .migration-range,
  #migration-scope-panel .migration-map-row { grid-template-columns:minmax(0,1fr); }
  .migration-selection-card { padding:14px; }
  #migration-scope-panel .migration-plan-footer { align-items:stretch; flex-direction:column; }
  .migration-date-heading { align-items:flex-start; flex-direction:column; gap:5px; }
  #migration-scope-panel input:not([type="checkbox"]), #migration-scope-panel select { font-size:16px; }
  #migration-build-plan { width:100%; }
}
