#data-transfer-section p {max-width:65ch;color:var(--muted);font-size:1rem;line-height:1.55;margin:.5rem 0 1rem}
#data-transfer-section .transfer-scope {font-size:.9rem}
#data-transfer-section [hidden] {display:none}
.transfer-form {display:grid;gap:16px;padding:4px 0 16px}
.transfer-form label {display:grid;gap:8px;font-size:1rem;line-height:1.5}
.transfer-form input {box-sizing:border-box;min-width:0;width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--control);border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;font-size:16px}
.transfer-form input[type=file] {overflow-wrap:anywhere;white-space:normal}
.transfer-form input::file-selector-button {max-width:100%;min-height:40px;margin-right:8px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--raised);color:var(--ink);font:inherit}
#data-transfer-section button {min-height:48px;font:inherit}
.transfer-actions {display:flex;flex-wrap:wrap;gap:12px;padding:4px 0 16px}
#data-transfer-section h4 {font-size:1rem;line-height:1.5;margin:16px 0 8px;overflow-wrap:anywhere}
#data-preview-counts {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;margin:12px 0 24px;font-size:1rem;line-height:1.5}
#data-preview-counts dd {margin:0;font-variant-numeric:tabular-nums}
.transfer-choice {display:grid;gap:16px;margin:0 0 16px;padding:16px;border:1px solid var(--line);border-radius:12px;min-width:0}
.transfer-choice legend {padding:0 4px;line-height:1.5;font-weight:600}
.transfer-choice label,.transfer-consent {display:flex;align-items:flex-start;gap:12px;min-height:44px;font-size:1rem;line-height:1.55;cursor:pointer}
.transfer-choice strong {display:block;margin-bottom:4px;font-weight:600}
.transfer-choice input,.transfer-consent input {flex-shrink:0;width:20px;height:20px;margin:4px 0;accent-color:var(--accent)}
.transfer-consent {margin:20px 0}
#data-transfer-status {overflow-wrap:anywhere}
#data-transfer-section :is(input,summary,button):focus-visible,.transfer-complete button:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.transfer-complete {box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 32px));height:fit-content;max-height:calc(100dvh - 32px);padding:24px;color:var(--ink);background:var(--header);border:1px solid var(--line);border-radius:16px;overflow:auto}
.transfer-complete h2 {margin:0 0 12px;font-size:1.4rem;line-height:1.3}
.transfer-complete p {font-size:1rem;line-height:1.55;margin:0 0 20px}
.transfer-complete button {min-height:48px;font:inherit}
.transfer-complete::backdrop {background:#080812b3}
@media(max-width:400px){.transfer-choice {padding:12px}.transfer-actions button {width:100%}}
