/* Import review follows the source item, its destination and the recorded result. */
.mig-workspace { --mig-line:color-mix(in srgb,var(--border) 78%,transparent); max-width:1440px; margin:0 auto; min-width:0; color:var(--text); }
.mig-workspace *, .mig-workspace *::before, .mig-workspace *::after { box-sizing:border-box; }
.mig-workspace :is(section,article,main,aside,form,div,dl) { min-width:0; }
.mig-workspace :is(h1,h2,h3,h4,p,dl) { margin:0; }
.mig-workspace .panel { margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.mig-workspace .mig-heading { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:14px 24px; margin-bottom:20px; }
.mig-workspace .mig-heading h1 { font-family:var(--font-display); font-size:36px; line-height:1.1; font-weight:500; letter-spacing:-.3px; }
.mig-workspace .mig-kicker { display:block; margin:0 0 7px; color:var(--muted); font-size:11px; letter-spacing:.04em; line-height:1.5; }
.mig-workspace .mig-heading-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-top:5px; }
.mig-workspace .migration-back { margin-bottom:12px; color:var(--muted); font-size:12px; text-decoration:none; }
.mig-workspace .mig-environment-note { display:inline-flex; align-items:center; gap:7px; margin:0; padding:0 8px; color:var(--warning); font-size:10px; line-height:1.5; }
.mig-workspace .mig-environment-note::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.mig-workspace .mig-environment-note :is(.banner,.warning,.development-note) { margin:0; padding:0; border:0; background:none; font-size:inherit; color:inherit; }
.mig-workspace :is(button,.button) { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:7px 12px; min-height:35px; border:1px solid var(--border); border-radius:3px; background:transparent; color:var(--text); font-family:inherit; font-size:12px; line-height:1.5; font-weight:500; text-decoration:none; box-shadow:none; }
.mig-workspace :is(button,.button):hover:not(:disabled) { background:var(--surface-hover); }
.mig-workspace :is(button,.button).primary { background:var(--accent-deep); border-color:var(--accent-deep); color:var(--on-accent); }
.mig-workspace :is(button,.button).primary:hover:not(:disabled) { background:var(--accent); }
.mig-workspace :is(a,button,input,select,textarea,summary):focus-visible { outline:2px solid var(--accent-bright); outline-offset:3px; }
.mig-workspace :disabled { opacity:.55; cursor:default; }
.mig-workspace :is(input:not([type=checkbox]),select,textarea) { width:100%; max-width:100%; min-width:0; min-height:37px; padding:8px 10px; color:var(--text); border:1px solid var(--border); border-radius:3px; background:var(--surface-input); font-family:inherit; font-size:12px; line-height:1.5; }
.mig-workspace input[type=checkbox] { width:14px; height:14px; accent-color:var(--accent); }
.mig-workspace .mig-source { padding:23px 0 25px; border-top:1px solid var(--mig-line); border-bottom:1px solid var(--mig-line); margin-bottom:32px; }
.mig-workspace .mig-source-intro { margin-bottom:26px; }
.mig-workspace .mig-source-intro h2 { font-family:var(--font-display); font-size:32px; font-weight:500; line-height:1.2; }
.mig-workspace .mig-source-intro p { margin-top:8px; color:var(--muted); font-size:12px; line-height:1.6; }
.mig-workspace .migration-upload-fields { grid-template-columns:minmax(0,1.4fr) minmax(230px,.7fr); gap:20px 35px; max-width:980px; }
.mig-workspace .migration-upload .field { gap:8px; font-size:12px; }
.mig-workspace .migration-upload input[type=file] { min-height:46px; padding:6px; border-style:dashed; background:transparent; }
.mig-workspace .migration-upload input::file-selector-button { padding:6px 10px; background:var(--surface-hover); }
.mig-workspace .migration-upload-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:20px; padding:0; }
.mig-workspace :is(.migration-upload-actions,.migration-stage-actions) > span { color:var(--muted); font-size:12px; line-height:1.6; }
.mig-workspace .mig-history { margin-top:28px; }
.mig-workspace .mig-section-heading { display:flex; align-items:baseline; gap:12px; }
.mig-workspace .mig-section-heading > span { color:var(--muted); font-size:12px; }
.mig-workspace .mig-history h2, .mig-workspace .migration-section-title { margin:0 0 16px; padding:0; border:0; font-family:var(--font-display); font-size:28px; font-weight:500; }
.mig-workspace .mig-history-row { display:grid; grid-template-columns:minmax(0,1fr) 175px 110px minmax(120px,.35fr) auto; align-items:center; gap:18px; padding:18px 0; border-bottom:1px solid var(--mig-line); }
.mig-workspace a.mig-history-row { color:var(--text); text-decoration:none; font-size:12px; }
.mig-workspace a.mig-history-row:hover { background:var(--surface-hover); }
.mig-workspace .mig-history-file { overflow-wrap:anywhere; }
.mig-workspace .mig-history-file small { margin-top:5px; }
.mig-workspace .mig-history-date, .mig-workspace .mig-history-count { color:var(--muted); font-size:11px; }
.mig-workspace .mig-history-row a { color:var(--text); font-size:14px; font-weight:500; text-decoration:none; overflow-wrap:anywhere; }
.mig-workspace .mig-history-row a:hover { color:var(--accent-bright); }
.mig-workspace .mig-history-row :is(small,time) { display:block; color:var(--muted); font-size:11px; line-height:1.5; }
.mig-workspace .mig-history-row strong { font-weight:500; font-size:13px; }
.mig-workspace .mig-batch-meta { display:flex; align-items:flex-start; flex-wrap:wrap; gap:14px 34px; margin:0 0 12px; padding-bottom:14px; border-bottom:1px solid var(--mig-line); }
.mig-workspace .mig-batch-meta :is(span,dt) { display:block; margin-bottom:5px; color:var(--muted); font-size:11px; }
.mig-workspace .mig-batch-meta :is(strong,a,dd) { margin:0; color:var(--text); font-size:12px; font-weight:400; line-height:1.6; overflow-wrap:anywhere; }
.mig-workspace .mig-stages { display:flex; flex-wrap:wrap; gap:0 26px; margin-bottom:18px; border-bottom:1px solid var(--mig-line); }
.mig-workspace .mig-stages a { display:flex; align-items:center; min-height:44px; margin-bottom:-1px; padding:10px 0 12px; color:var(--muted); font-size:13px; line-height:1.5; text-decoration:none; border-bottom:2px solid transparent; }
.mig-workspace .mig-stages a[aria-current=page] { color:var(--text); border-bottom-color:var(--accent-bright); }
.mig-workspace .mig-stages a:hover { color:var(--text); }
.mig-workspace .mig-stages a > span { margin-right:9px; color:var(--muted); font-size:10px; font-variant-numeric:tabular-nums; }
.mig-workspace [data-migration-stage-panel] { min-width:0; }
.mig-workspace .migration-summary { gap:12px 24px; padding:0 0 12px; margin:0 0 8px; border-bottom:1px solid var(--mig-line); font-size:12px; }
.mig-workspace .migration-summary strong { font-family:var(--font-display); font-size:26px; font-weight:500; margin-right:4px; }
.mig-workspace .mig-comparison-summary { flex-basis:100%; color:var(--muted); font-size:11px; line-height:1.6; margin:8px 0; }
.mig-workspace .mig-comparison-summary > summary { cursor:pointer; }
.mig-workspace .mig-comparison-summary > div { display:flex; flex-wrap:wrap; gap:10px 20px; padding-top:10px; }
.mig-workspace .migration-review-summary { display:inline-block; margin-right:24px; padding:5px 0; border:0; font-size:11px; }
.mig-workspace .migration-table-tools { align-items:center; flex-wrap:wrap; gap:12px; margin:16px 0 3px; padding:0 0 15px; border-bottom:1px solid var(--mig-line); }
.mig-workspace .migration-table-tools input { flex:1 1 230px; }
.mig-workspace .migration-table-tools select { flex:0 1 265px; }
.mig-workspace .mig-product { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:18px 0; border-bottom:1px solid var(--mig-line); }
.mig-workspace .mig-product-main { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(245px,.55fr); gap:16px 28px; }
.mig-workspace .mig-product-identity { display:block; }
.mig-workspace .mig-product-code { display:block; margin-bottom:5px; }
.mig-workspace .mig-product-badges { margin-top:8px; }
.mig-workspace .mig-product-barcode { display:block; margin-top:6px; }
.mig-workspace .mig-product-issue { grid-column:1 / -1; margin-top:10px; color:var(--warning); font-size:11px; line-height:1.6; }
.mig-workspace .mig-product-identity :is(h3,strong,a) { color:var(--text); font-family:inherit; font-size:14px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; text-decoration:none; }
.mig-workspace .mig-product-identity :is(small,span) { color:var(--muted); font-size:11px; line-height:1.6; }
.mig-workspace .mig-product-badges { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; color:var(--muted); font-size:11px; line-height:1.5; }
.mig-workspace .mig-product-badges :is(small,span) { margin:0; }
.mig-workspace .mig-product-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-self:start; margin:0; text-align:right; }
.mig-workspace .mig-product-values dt { margin:0 0 7px; color:var(--muted); font-size:10px; font-weight:400; line-height:1.5; }
.mig-workspace .mig-product-values dd { margin:0; color:var(--text); font-size:13px; font-weight:500; font-variant-numeric:tabular-nums; line-height:1.5; overflow-wrap:anywhere; }
.mig-workspace .mig-product-values small { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.mig-workspace .mig-product-actions { grid-column:1; display:flex; flex-wrap:wrap; gap:10px 25px; margin-top:13px; }
.mig-workspace .mig-product-actions:empty { display:none; }
.mig-workspace .mig-product-actions .migration-review-cell { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; }
.mig-workspace .mig-product-actions .migration-review-cell small { display:inline; margin:0; font-size:10px; line-height:1.5; }
.mig-workspace .mig-product-actions button { min-height:31px; margin:0; padding:5px 10px; font-size:11px; }
.mig-workspace .migration-row-details { grid-column:1 / -1; margin:0; font-size:11px; line-height:1.6; }
.mig-workspace .mig-product > .migration-row-details { grid-column:2; align-self:end; margin-top:11px; margin-left:18px; }
.mig-workspace .mig-product > .migration-row-details[open] { grid-column:1 / -1; margin-left:0; }
.mig-workspace .migration-row-details > summary { display:inline-flex; align-items:center; gap:8px; min-height:27px; color:var(--muted); }
.mig-workspace .migration-row-details > summary:hover { color:var(--text); }
.mig-workspace .migration-row-details dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 22px; margin-top:12px; }
.mig-workspace .migration-row-details dl > div { padding:11px 0; border-color:var(--mig-line); }
.mig-workspace .migration-row-details dd { font-size:12px; }
.mig-workspace .migration-pagination { margin-top:8px; padding:13px 0; }
.mig-workspace .migration-pagination button { min-height:31px; padding:5px 10px; font-size:11px; }
.mig-workspace .migration-source-notes { padding:14px 0; border-color:var(--mig-line); }
.mig-workspace .migration-stage-actions { position:sticky; bottom:0; z-index:3; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:15px 0; border-top:1px solid var(--mig-line); background:var(--canvas); }
.mig-workspace :is(.migration-message,.migration-boundary) { margin:12px 0; padding:0; color:var(--muted); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.mig-workspace .migration-message:empty { display:none; }
.mig-workspace .migration-empty { padding:22px 0 !important; font-size:12px; }
.mig-workspace :is(.migration-pending,.migration-local) { margin:16px 0 25px; padding:14px 0 14px 15px; border:0; border-left:2px solid var(--warning); border-radius:0; background:transparent; font-size:12px; }
.mig-workspace .migration-catalog { margin-bottom:25px; border-bottom:1px solid var(--mig-line); }
.mig-workspace .migration-catalog-head { padding:0 0 14px; }
.mig-workspace .migration-catalog-head h3 { font-family:var(--font-display); font-size:25px; font-weight:500; line-height:1.2; }
.mig-workspace .migration-catalog-head span { display:block; margin-top:7px; font-size:12px; }
.mig-workspace .migration-catalog-actions { position:sticky; bottom:0; z-index:3; padding:14px 0; background:var(--canvas); }
.mig-workspace .migration-catalog-groups > div { padding:16px 0; background:transparent; border-color:var(--mig-line); }
.mig-workspace .migration-catalog-table, .mig-workspace .migration-stock-table { border-collapse:collapse; }
.mig-workspace :is(.migration-catalog-table,.migration-stock-table) thead { background:transparent; }
.mig-workspace :is(.migration-catalog-table,.migration-stock-table) th { padding:12px 10px; color:var(--muted); font-size:10px; font-weight:500; letter-spacing:.03em; border-bottom:1px solid var(--mig-line); }
.mig-workspace :is(.migration-catalog-table,.migration-stock-table) td { padding:16px 10px; font-size:12px; background:transparent; border-bottom:1px solid var(--mig-line); }
.mig-workspace .table-wrap { min-width:0; max-width:100%; overflow:auto; border:0; border-radius:0; }
.mig-workspace .migration-stock-checkpoint { padding:18px 0; }
.mig-workspace .migration-catalog-receipt { margin:16px 0; padding:12px 15px; background:transparent; }
.mig-workspace .mg-progress { margin:18px 0 0; min-width:0; }
.mig-workspace .mg-progress-header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:15px; margin-bottom:16px; }
.mig-workspace .mg-progress-header h3 { font-family:var(--font-display); font-size:28px; font-weight:500; }
.mig-workspace .mg-progress-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 25px; max-width:680px; margin:0 0 18px; }
.mig-workspace .mg-progress-totals { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px 25px; }
.mig-workspace .mg-progress-totals small { font-size:11px; }
.mig-workspace .mg-progress-tools { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.mig-workspace .mg-progress-tools input { flex:1 1 180px; }
.mig-workspace .mg-progress-tools select { flex:0 1 160px; }
.mig-workspace :is(.mg-progress-message,.mg-progress-empty,.mg-progress-unavailable,.mg-progress-boundary) { margin:10px 0; color:var(--muted); font-size:12px; line-height:1.6; }
.mig-workspace .mg-progress-cell-label { display:block; margin-bottom:5px; color:var(--muted); font-size:10px; line-height:1.5; }
.mig-workspace .mg-progress-overview [data-progress-count] { display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:11px; }
.mig-workspace .mg-progress-overview strong { font-family:var(--font-display); font-size:34px; line-height:1; font-weight:500; color:var(--text); }
.mig-workspace .mg-progress-overview progress { appearance:none; display:block; grid-column:1 / -1; width:100%; height:4px; border:0; border-radius:0; background:var(--surface-hover); accent-color:var(--accent-bright); }
.mig-workspace .mg-progress-overview progress::-webkit-progress-bar { background:var(--surface-hover); }
.mig-workspace .mg-progress-overview progress::-webkit-progress-value { background:var(--accent-bright); }
.mig-workspace .mg-progress-overview progress::-moz-progress-bar { background:var(--accent-bright); }
.mig-workspace .mg-progress-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(235px,.32fr); align-items:start; gap:30px; }
.mig-workspace .migration-progress-items { margin:0; padding:0; border:0; }
.mig-workspace .migration-progress-items > .migration-table-tools { margin:0 0 3px; }
.mig-workspace .mg-progress-row { display:grid; grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) auto; align-items:start; gap:8px 14px; padding:17px 0; border-bottom:1px solid var(--mig-line); }
.mig-workspace .mg-progress-row :is(strong,a) { color:var(--text); font-size:12px; font-weight:500; line-height:1.6; text-decoration:none; overflow-wrap:anywhere; }
.mig-workspace .mg-progress-row a:hover { color:var(--accent-bright); text-decoration:underline; }
.mig-workspace .mg-progress-row small { display:block; margin-top:5px; color:var(--muted); font-size:10px; line-height:1.5; }
.mig-workspace .mg-progress-arrow { color:var(--muted); font-size:14px; }
.mig-workspace .mg-progress-status { color:var(--muted); font-size:10px; line-height:1.5; }
.mig-workspace .mg-progress-row[data-state=linked] .mg-progress-status { color:var(--success); }
.mig-workspace .mg-progress-reasons { grid-column:1 / -1; margin:0; padding-left:16px; color:var(--warning); font-size:11px; line-height:1.6; }
.mig-workspace .mg-progress-history-pane { padding-left:23px; border-left:1px solid var(--mig-line); }
.mig-workspace .migration-progress-history { margin:0; padding:0; border:0; }
.mig-workspace .migration-progress-history h4 { margin:0 0 13px; font-family:var(--font-display); font-size:24px; font-weight:500; }
.mig-workspace .mg-progress-application { display:flex; width:100%; align-items:flex-start; flex-direction:column; gap:7px; margin:0; padding:14px 0; border:0; border-bottom:1px solid var(--mig-line); border-radius:0; text-align:left; background:transparent; }
.mig-workspace .mg-progress-application[data-selected=true] { padding-left:12px; box-shadow:inset 2px 0 var(--accent-bright); background:var(--surface-hover); }
.mig-workspace .mg-progress-application :is(small,span) { font-size:11px; line-height:1.6; color:var(--muted); }
.mig-workspace .mg-progress-application strong { font-size:12px; font-weight:500; }
.mig-workspace .mg-progress-application-counts { display:flex; flex-wrap:wrap; gap:4px 10px; }
.mig-workspace .mg-progress-application .mg-progress-application-link { color:var(--accent-bright); }
.mig-workspace .mg-progress-receipt { margin:25px 0 0; padding:24px 0 0; border-top:1px solid var(--mig-line); background:transparent; }
.mig-workspace .mg-progress-receipt > .migration-progress-head { padding:0 0 16px; }
.mig-workspace .mg-progress-receipt h4 { font-family:var(--font-display); font-size:27px; font-weight:500; }
.mig-workspace .mg-progress-receipt :is(.migration-progress-result,.migration-boundary) { margin:10px 0; }
.mig-workspace .mg-progress-receipt-facts { font-size:12px; line-height:1.6; }
.mig-workspace .mg-progress-result { display:flex; flex-wrap:wrap; gap:8px 20px; margin:10px 0; }
.mig-workspace .mg-progress-identification { color:var(--muted); font-size:11px; line-height:1.6; margin-top:14px; }
.mig-workspace .mg-progress-identification summary { cursor:pointer; }
.mig-workspace .mg-progress-identification dl { display:grid; grid-template-columns:120px minmax(0,1fr); gap:8px 15px; margin:15px 0; }
.mig-workspace .mg-progress-identification dd { margin:0; overflow-wrap:anywhere; }
.mig-workspace .mg-progress-receipt-rows > article { padding:19px 0; border-bottom:1px solid var(--mig-line); }
.mig-workspace .mg-progress-receipt-row { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:7px 28px; }
.mig-workspace .mg-progress-receipt-row > .mg-progress-comparison { grid-column:2; grid-row:1 / 3; }
.mig-workspace .mg-progress-applied-action { color:var(--muted); font-size:11px; }
.mig-workspace .mg-progress-receipt-rows > article > header { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px 15px; margin-bottom:12px; }
.mig-workspace .mg-progress-receipt-rows :is(strong,a) { color:var(--text); font-size:13px; font-weight:500; text-decoration:none; overflow-wrap:anywhere; }
.mig-workspace .mg-progress-receipt-rows :is(small,.muted) { display:block; margin-top:5px; color:var(--muted); font-size:11px; line-height:1.6; }
.mig-workspace .mg-progress-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; }
.mig-workspace .mg-progress-comparison > div + div { padding-left:25px; border-left:1px solid var(--mig-line); }
.mig-workspace .mg-progress-comparison h5 { margin:0 0 10px; color:var(--muted); font-family:inherit; font-size:11px; font-weight:400; }
.mig-workspace :is(.migration-progress-actions,.mg-progress-actions) { margin-top:18px; padding:15px 0; }
.mig-workspace .badge { display:inline; padding:0; border:0; border-radius:0; background:transparent; color:var(--muted); font-size:11px; font-weight:400; }
.mig-workspace [hidden] { display:none !important; }
dialog:has(.migration-review-form) { width:min(760px,calc(100vw - 36px)); max-width:760px; }
dialog:has(.migration-review-form) h2 { font-family:var(--font-display); font-size:31px; font-weight:500; }
.migration-review-form .migration-review-product { margin:0 0 19px; font-size:15px; font-weight:500; line-height:1.5; }
.migration-review-form .migration-review-originals { gap:20px; padding:16px 0; margin:0 0 16px; border-width:1px 0; border-radius:0; background:transparent; }
.migration-review-form .field { font-size:12px; }
.migration-review-form .form-grid { margin:0 0 18px; gap:18px; }
.migration-review-form .migration-boundary { color:var(--muted); font-size:11px; line-height:1.6; }
.migration-review-form :is(input:not([type=checkbox]),select,textarea) { border-radius:3px; font-size:12px; }
.migration-review-form button { min-height:34px; border-radius:3px; box-shadow:none; font-size:12px; }
.migration-review-form .form-actions { border-top:1px solid var(--border); padding-top:18px; margin-top:23px; gap:9px; }
@media(max-width:1180px) {
 .mig-workspace .mg-progress-workspace { grid-template-columns:minmax(0,1fr); gap:27px; }
 .mig-workspace .mg-progress-history-pane { padding:0; border:0; }
 .mig-workspace .mig-history-row { grid-template-columns:minmax(0,1fr) 145px 80px 100px auto; gap:13px; }
 .mig-workspace .mig-product-main { grid-template-columns:minmax(0,1fr) minmax(220px,.5fr); gap:15px 23px; }
}
@media(max-width:900px) {
 .mig-workspace .mig-product-main { grid-template-columns:minmax(0,1fr); }
 .mig-workspace .mig-product-values { text-align:left; max-width:440px; }
 .mig-workspace .migration-row-details dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mig-workspace .mig-history-row { grid-template-columns:minmax(0,1fr) auto; }
 .mig-workspace .mig-history-arrow { display:none; }
 .mig-workspace .migration-upload-fields { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:760px) {
 .mig-workspace .mig-heading { margin-bottom:22px; }
 .mig-workspace .mig-heading h1 { font-size:35px; }
 .mig-workspace .mig-product > .migration-row-details { grid-column:1 / -1; margin-left:0; }
 .mig-workspace .mig-batch-meta { gap:14px 22px; }
 .mig-workspace .mig-stages { gap:0 22px; }
 .mig-workspace .migration-table-tools select { flex:1 1 190px; }
 .mig-workspace .mg-progress-row { grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); }
 .mig-workspace .mg-progress-status { grid-column:1 / -1; }
 .mig-workspace .migration-stock-checkpoint { grid-template-columns:minmax(0,1fr); }
 .mig-workspace .mg-progress-comparison { gap:15px; }
 .mig-workspace .mg-progress-comparison > div + div { padding-left:15px; }
 .mig-workspace .mg-progress-receipt-row { grid-template-columns:minmax(0,1fr); gap:10px; }
 .mig-workspace .mg-progress-receipt-row > .mg-progress-comparison { grid-column:auto; grid-row:auto; }
}
@media(max-width:480px) {
 .mig-workspace .migration-row-details dl,.mig-workspace .mg-progress-comparison { grid-template-columns:minmax(0,1fr); }
 .mig-workspace .mg-progress-comparison > div + div { padding:12px 0 0; border-left:0; border-top:1px solid var(--mig-line); }
 .mig-workspace .mig-product-values { gap:8px; }
}
@media(prefers-reduced-motion:reduce) {
 .mig-workspace *, .mig-workspace *::before, .mig-workspace *::after { transition:none !important; animation:none !important; scroll-behavior:auto !important; }
}
.mig-workspace .mg-fractionation [data-fraction-body] { max-width:1050px; padding-top:12px; }
.mig-workspace .mg-fractionation .mg-progress-tools { display:grid; grid-template-columns:minmax(0,2fr) minmax(180px,1fr); gap:20px; }
.mig-workspace .mg-fractionation label:not(.mg-fraction-row) { display:grid; gap:8px; color:var(--muted); font-size:12px; }
.mig-workspace .mg-fractionation :is(select,textarea) { width:100%; max-width:100%; }
.mig-workspace .mg-fraction-doses { max-height:280px; overflow:auto; margin:12px 0 20px; border-block:1px solid var(--mig-line); }
.mig-workspace .mg-fraction-row { display:grid; grid-template-columns:22px minmax(0,1fr) 115px 90px; gap:12px; align-items:center; min-height:44px; padding:10px 12px; border-bottom:1px solid var(--mig-line); font-size:12px; cursor:pointer; }
.mig-workspace .mg-fraction-row:hover { background:var(--surface-hover); }
.mig-workspace .mg-fraction-row:has(:checked) { background:var(--surface-hover); box-shadow:inset 2px 0 var(--accent-bright); }
.mig-workspace .mg-fraction-row strong { font-weight:500; line-height:1.5; }
.mig-workspace .mg-fraction-row :is(span,small) { color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; }
.mig-workspace .mg-fractionation [data-fraction-reason] { resize:vertical; margin-bottom:12px; }
.mig-workspace .mg-fractionation [data-mig-key=plan] { margin-top:25px; border-top:1px solid var(--mig-line); padding-top:12px; }
.mig-workspace .mg-fractionation [data-mig-key=history] { margin-top:22px; border-top:1px solid var(--mig-line); padding-top:16px; font-size:12px; }
.mig-workspace .mg-fractionation [data-mig-key=history] p { padding:9px 0; border-bottom:1px solid var(--mig-line); margin:0; }
@media(max-width:650px) {
 .mig-workspace .mg-fractionation .mg-progress-tools { grid-template-columns:minmax(0,1fr); }
 .mig-workspace .mg-fraction-row { grid-template-columns:22px minmax(0,1fr) 85px; gap:8px; }
 .mig-workspace .mg-fraction-row small { grid-column:2 / -1; }
}
