:root { color-scheme: light; --ink: #1c332e; --muted: #495e57; --rule: #d8e2db; --panel: #fff; --paper: #f4f7f2; --accent: #245740; --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.52 var(--sans); }
h1, h2, h3, p, ol, dl { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(37px, 5vw, 63px); text-wrap: balance; }
h2 { font-size: clamp(25px, 3vw, 34px); }
h3 { font-size: 18px; }
a { color: inherit; text-underline-offset: .2em; }
button, select, input { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #996333; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1; top: 12px; left: 12px; transform: translateY(-180%); padding: 8px 14px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.transfer-wrap { width: min(1140px, calc(100% - 68px)); margin-inline: auto; }
.transfer-header { background: #fffefa; border-bottom: 1px solid var(--rule); }
.transfer-header .transfer-wrap, .transfer-footer .transfer-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; min-height: 70px; }
.transfer-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 29px; font-weight: 750; letter-spacing: -.07em; text-decoration: none; }
.transfer-brand span { margin-left: 2px; font-size: 10px; letter-spacing: .11em; }
.header-back, .lab-crumb, .lab-aside a { font-size: 15px; font-weight: 650; }
#transfer-app { padding-block: 27px 50px; }
.lab-crumb { display: flex; gap: 9px; align-items: center; color: var(--muted); }
.lab-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 15px; margin-block: 27px 24px; }
.label { color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.lab-title h1 { margin: 6px 0 7px; }
.lab-title p:not(.label) { color: var(--muted); font-size: 17px; }
.simulation, .chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; padding: 6px 10px; border: 1px solid #d2e0d5; border-radius: 24px; background: #e9f2e8; color: #214b37; font-size: 13px; font-weight: 690; line-height: 1.25; }
.simulation i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.chip { padding: 4px 8px; text-align: center; }
.chip.warning { border-color: #ecd4ba; background: #fff1df; color: #72451d; }
.chip.neutral { background: #f2f4f3; color: #41544d; }
.lab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin-bottom: 18px; gap: 10px; }
.lab-steps.import-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lab-steps li { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 4px 5px 10px; border-bottom: 3px solid var(--rule); color: var(--muted); font-weight: 650; }
.lab-steps li[aria-current] { border-color: var(--accent); color: var(--ink); }
.lab-steps li.complete { border-color: #9ab8a6; }
.lab-steps li span { flex: 0 0 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #e5ece7; font-size: 14px; }
.lab-steps li[aria-current] span { background: var(--accent); color: white; }
.lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 28%); gap: 19px; align-items: start; }
.transfer-card, .lab-aside { border: 1px solid var(--rule); border-radius: 13px; padding: clamp(16px, 3vw, 34px); background: var(--panel); }
.transfer-card h2, .lab-aside h2 { margin: 5px 0 9px; }
.transfer-card > p:not(.label), .lab-aside p:not(.label) { color: var(--muted); }
.lab-aside { background: #edf3ee; padding: clamp(15px, 2.3vw, 24px); }
.lab-aside h2 { font-size: 23px; }
.lab-aside a { display: inline-block; margin-top: 12px; color: var(--accent); }
.lab-aside dl > div { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.lab-aside dt { font-size: 14px; font-weight: 670; }
.lab-aside dd { margin: 0; color: var(--muted); }
.aside-rule { border-top: 1px solid #cbdad0; margin-top: 17px; padding-top: 13px; }
.aside-rule p { margin-top: 3px; font-size: 15px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 19px 0 0; min-width: 0; padding: 0; border: 0; }
.role-option { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 8px 10px; padding: 14px; border: 1px solid #bdcdc5; border-radius: 9px; background: #f9fbf9; cursor: pointer; }
.role-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, white); box-shadow: inset 0 0 0 1px var(--accent); }
.role-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, white); }
.role-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.role-option > span:last-child { grid-column: 1 / -1; }
.role-option strong, .role-option small, .scope-row small, .review-row small, .package-strip small { display: block; }
small { font-size: 14px; color: var(--muted); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.role-option input { align-self: center; }
.transfer-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 20px; }
.primary, .secondary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 14px; padding: 8px 15px; border-radius: 7px; border: 1px solid var(--accent); text-decoration: none; font-weight: 680; line-height: 1.28; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: color-mix(in srgb, var(--accent) 84%, black); }
.secondary { background: white; color: var(--accent); border-color: #b5c8bf; }
.secondary:hover { background: #edf3ee; }
.text-button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.card-title { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 4px 12px; }
.control, .provider-scope { display: grid; gap: 4px; margin-top: 15px; }
.control span, .provider-scope strong { font-weight: 680; }
.control select { width: min(100%, 370px); min-height: 44px; padding: 6px 9px; background: #fdfefd; border: 1px solid #aabbaf; border-radius: 7px; }
.provider-scope { padding: 10px 13px; border: 1px solid var(--rule); border-radius: 7px; background: #f4f8f5; }
.provider-scope span { color: var(--muted); font-size: 15px; }
.scope-files { margin-top: 19px; }
.scope-files h3 { margin-bottom: 7px; }
.scope-row, .manifest-row, .review-row { display: grid; align-items: center; gap: 7px 12px; padding-block: 10px; border-top: 1px solid var(--rule); }
.scope-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.scope-row > label { grid-column: span 2; }
.scope-row label, .consent, .decision label { display: flex; align-items: start; gap: 10px; cursor: pointer; }
.fixed-check { font-weight: 740; color: var(--accent); }
.consent { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 7px; background: #f2f7f3; }
.package-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 16px; padding: 11px; border: 1px solid var(--rule); border-radius: 8px; background: #f2f7f3; overflow-wrap: anywhere; }
.file-mark { width: 33px; height: 35px; display: grid; place-items: center; border-radius: 6px; background: #dae9de; color: var(--accent); font-size: 20px; font-weight: 650; }
.manifest-row { grid-template-columns: minmax(0, 1fr) auto; }
.manifest-row strong { font-variant-numeric: tabular-nums; }
.small-status { margin-top: 6px; font-size: 14px; }
.small-status:empty { display: none; }
.upload { padding-top: 15px; border-top: 1px solid var(--rule); }
.upload input { max-width: 100%; min-height: 39px; padding: 3px; font-size: 15px; }
.upload ::file-selector-button { padding: 6px 8px; border: 1px solid #b5c8bf; border-radius: 6px; color: var(--ink); background: #f2f7f3; cursor: pointer; }
.lab-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-block: 15px; }
.lab-counts div { display: flex; flex-direction: column-reverse; justify-content: start; min-width: 0; padding: 8px 10px; border-radius: 7px; background: #eef4ef; }
.lab-counts dt { color: var(--muted); font-size: 14px; line-height: 1.3; }
.lab-counts dd { margin: 0; font-size: 25px; font-weight: 720; }
.review-row { grid-template-columns: minmax(0, .95fr) minmax(90px, .6fr) minmax(0, 1.5fr); align-items: start; }
.review-row p { font-size: 15px; color: var(--muted); }
.review-row small { overflow-wrap: anywhere; }
.decision { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 16px 0 0; }
.decision legend { margin-bottom: 6px; font-weight: 700; }
.callout { padding: 10px 13px; margin-top: 10px; border-left: 3px solid #80aa8d; border-radius: 0 6px 6px 0; background: #eef4ef; }
.callout p { margin-top: 3px; color: var(--muted); }
.transfer-footer { margin-top: auto; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.transfer-footer .transfer-wrap { min-height: 50px; }
@media (max-width: 840px) {
  .transfer-wrap { width: calc(100% - 38px); }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-title { align-items: start; }
}
@media (max-width: 530px) {
  .transfer-wrap { width: calc(100% - 26px); }
  .transfer-header .transfer-wrap { min-height: 56px; }
  .lab-title { margin-block: 20px 16px; }
  .lab-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .lab-steps.import-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-steps li { padding-inline: 0; gap: 4px; font-size: 14px; line-height: 1.2; }
  .lab-steps li span { flex-basis: 23px; height: 23px; font-size: 12px; }
  .role-grid { grid-template-columns: 1fr; }
  .role-option { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; }
  .role-option > span:last-child { grid-column: 3; }
  .lab-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-row { grid-template-columns: minmax(0, 1fr) auto; }
  .review-row p { grid-column: 1 / -1; }
}
.source-surface { --paper: color-mix(in srgb, var(--accent) 5%, #fbfcfd); }
.source-surface .lab-aside { background: color-mix(in srgb, var(--accent) 6%, white); }
.source-console { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 10px; padding: 9px 14px; border-radius: 8px; background: var(--accent); color: white; font-size: 14px; }
.source-console strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.source-console strong span { display: grid; place-items: center; min-width: 33px; height: 27px; padding-inline: 4px; border: 1px solid #ffffff80; border-radius: 5px; font-size: 11px; letter-spacing: .08em; }
.import-next { margin-top: 3px; column-gap: 17px; }
