.hub-migration-control { display:none; align-items:center; gap:2px; flex-shrink:0; }
.hub-migration-control:has(.is-visible) { display:inline-flex; }
.hub-migration-toggle { border:0; border-radius:5px; padding:0 4px; height:34px; background:#e5edff; color:#1d4ed8; cursor:pointer; }
.hub-migration-menu { position:fixed; z-index:13000; box-sizing:border-box; width:min(380px,calc(100vw - 16px)); overflow:auto; padding:16px; border:1px solid #ccd6ee; border-radius:12px; background:#fff; color:#1e293b; box-shadow:0 12px 40px #10204040; font:14px/1.5 system-ui,sans-serif; text-align:left; }
.hub-migration-menu[hidden] { display:none; }
.hub-migration-menu strong { font-size:16px; }
.hub-migration-menu p { margin:6px 0 12px; color:#526078; font-size:12px; }
.hub-migration-auto-send { position:relative; display:flex; align-items:center; gap:8px; width:fit-content; margin:4px 0 14px; font-weight:600; font-size:12px; cursor:pointer; }
.hub-migration-auto-send input { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.hub-migration-switch { position:relative; width:36px; height:20px; flex-shrink:0; border-radius:999px; background:#94a3b8; }
.hub-migration-switch::after { content:""; position:absolute; top:3px; left:3px; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #10204030; }
.hub-migration-auto-send input:checked + .hub-migration-switch { background:#2563eb; }
.hub-migration-auto-send input:checked + .hub-migration-switch::after { transform:translateX(16px); }
.hub-migration-auto-send input:focus-visible + .hub-migration-switch { outline:2px solid #5265d8; outline-offset:2px; }
.hub-migration-menu details { border-top:1px solid #e4e9f2; padding:6px 0; }
.hub-migration-menu summary { cursor:pointer; padding:5px; font-weight:650; }
.hub-migration-menu details button { display:block; width:100%; text-align:left; border:0; border-radius:6px; background:transparent; color:inherit; padding:8px 12px; cursor:pointer; font:inherit; }
.hub-migration-menu details button:hover { background:#edf2ff; color:#1d4ed8; }
.hub-migration-menu :focus-visible,.hub-migration-toggle:focus-visible { outline:2px solid #5265d8; outline-offset:2px; }
