/* Email move (/tools/email-move/, public/assets/email-move.js): the mover's steps, from the original mover's page. */
.em { font-family: var(--ui); color: #0b1220; }
.em .tools-btn { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--ui); padding: 12px 20px; border-radius: 999px; border: 1px solid #2456e6; background: #2456e6; color: #fff; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s; }
.em .tools-btn:not(.quiet):not(.stop):hover { background: #1b45c4; border-color: #1b45c4; }
.em .tools-btn.quiet { background: transparent; color: #0b1220; border-color: #c9d5ea; }
.em .tools-btn.quiet:hover { background: #f3f6fc; border-color: #94a3b8; }
.em .tools-btn:disabled { opacity: .6; cursor: wait; }
.em .tools-btn svg.i, .em .past-x svg.i { width: 17px; height: 17px; flex: none; }
/* "Disconnect and cancel": red, so it never looks like the way forward. */
.em .tools-btn.stop { background: #c8102e; border-color: #c8102e; color: #fff; }
.em .tools-btn.stop:hover { background: #a50d26; border-color: #a50d26; }
.em h3 { font: 700 1.1rem var(--ui); margin: 20px 0 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.em .tools-btn.stop { background: #c8102e; border-color: #c8102e; color: #fff; }
.em .tools-btn.stop:hover { background: #a50d26; border-color: #a50d26; }
.em .cancel-move { margin-top: 20px; padding-top: 16px; border-top: 1px solid #dbe3f0; }
.em .steps5 { scroll-margin-top: 96px; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 8px 0 24px; counter-reset: s; }
.em .steps5 li { counter-increment: s; font-size: .92rem; font-weight: 650; color: #475569; text-align: center; padding-top: 34px; position: relative; }
.em .steps5 li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f3f6fc; border: 1px solid #dbe3f0; font-weight: 750; font-size: .92rem; }
.em .steps5 li.on { color: #0b1220; }
.em .steps5 li.on::before { background: #2456e6; color: #fff; border-color: #2456e6; }
.em .steps5 li.done::before { content: "\2713"; background: #eaf0fe; color: #2456e6; border-color: transparent; }
@media (max-width: 560px) { .em .steps5 li { font-size: 0; } }
.em .box { background: #fff; border: 1px solid #dbe3f0; border-radius: 20px; padding: 28px; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.em .box h2 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -0.015em; }
.em .box > p, .em .box .p { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.6; color: #0b1220; }
.em .box a { color: #2456e6; text-underline-offset: 3px; }
.em .box a.btn { color: #fff; text-decoration: none; }
.em .box + .box { margin-top: 20px; }
@media (max-width: 560px) { .em .box { padding: 20px 16px; border-radius: 16px; } }
.em .provs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 8px; }
.em .provs button { font: inherit; font-weight: 650; font-size: 1rem; padding: 14px 12px; border-radius: 14px; border: 1px solid #c9d5ea; background: #fff; color: #0b1220; cursor: pointer; text-align: left; }
.em .provs button:hover { border-color: #2456e6; }
.em .provs button[aria-pressed="true"] { border-color: #2456e6; background: #eaf0fe; box-shadow: 0 0 0 1px #2456e6 inset; }
.em .provs button small { display: block; overflow-wrap: anywhere; font-weight: 500; color: #475569; font-size: .85rem; margin-top: 2px; }
.em .provs.other button { font-weight: 600; font-size: .95rem; padding: 10px 12px; }
.em .provs.ways { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.em .provs.ways button { padding: 18px 16px; }
.em .provs.ways button em { display: inline-block; font-style: normal; font-size: .75rem; font-weight: 700; color: #2456e6; background: #eaf0fe; border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.em .provs:not(.other):not(.ways) button { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; }
.em .provs.other button { display: inline-flex; align-items: center; gap: 10px; }
.em .provs .mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; font: 700 1rem/1 var(--ui); }
.em .provs.other .mark { width: 24px; height: 24px; border-radius: 7px; font-size: .85rem; }
.em .box { border-top: 4px solid #2456e6; }
.em .box h3.side { font-size: 1.05rem; margin: 22px 0 0; text-transform: none; }
.em .box h3.side::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2456e6; margin-right: 8px; vertical-align: 1px; }
.em .provs.pick { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-auto-rows: 1fr; }
.em .provs.pick button small { margin-top: 0; font-size: .8rem; }
@media (max-width: 560px) { .em .provs.pick, .em .provs.cant { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .em .provs.pick button, .em .provs.cant button { padding: 9px 10px; gap: 8px; font-size: .9rem; } }
.em .provs.cant { margin-top: 4px; }
.em .provs.cant button { color: #475569; background: transparent; border-style: dashed; }
.em .connect { margin-top: 24px; padding: 20px; border-radius: 16px; background: #eaf0fe; }
.em .connect h3 { margin: 0 0 6px; }
.em .connect .frm input, .em .connect .frm select { background: #fff; }
.em .frm label { display: block; font-weight: 650; margin: 16px 0 6px; }
.em .frm .hint { display: block; font-weight: 400; color: #475569; font-size: .92rem; margin-top: 2px; }
.em .frm input[type=text], .em .frm input[type=email], .em .frm input[type=password], .em .frm input[type=number], .em .frm select { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.05rem; padding: 11px 13px; border: 1px solid #c9d5ea; border-radius: 12px; background: #fff; color: #0b1220; }
.em .frm input:focus, .em .frm select:focus { outline: 2px solid #2456e6; outline-offset: 1px; }
.em .frm .two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 12px; }
.em .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.em .note { padding: 14px 16px; border-radius: 14px; background: #eaf0fe; color: #0b1220; line-height: 1.55; margin: 14px 0 0; }
.em .note.ok { background: #e6f6ec; }
.em .note.bad { background: var(--fail-soft, #fde8e8); }
.em .err { color: #b42318; font-weight: 600; margin: 12px 0 0; }
.em .drop { display: grid; place-items: center; text-align: center; gap: 8px; padding: 40px 20px; border: 2px dashed #c9d5ea; border-radius: 18px; background: #f3f6fc; cursor: pointer; }
.em .drop.over { border-color: #2456e6; background: #eaf0fe; }
.em .drop b { font-size: 1.2rem; }
.em .drop span { color: #475569; }
.em .meter { height: 14px; border-radius: 999px; background: #f3f6fc; border: 1px solid #dbe3f0; overflow: hidden; margin: 14px 0 8px; }
.em .meter i { display: block; height: 100%; width: 0; background: #2456e6; border-radius: 999px; transition: width .4s ease; }
.em .meter.busy i { background-image: linear-gradient(45deg, rgba(255,255,255,.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.18) 75%, transparent 75%); background-size: 28px 28px; animation: mvstripe 1s linear infinite; }
@keyframes mvstripe { to { background-position: 28px 0; } }
@media (prefers-reduced-motion: reduce) { .em .meter i { transition: none; } .em .meter.busy i { animation: none; } }
.em .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0 0; }
.em .stats div { background: #f3f6fc; border-radius: 14px; padding: 14px 16px; }
.em .stats b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; }
.em .stats span { color: #475569; font-size: .95rem; }
.em .map { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 1rem; }
.em .map th { text-align: left; font-size: .9rem; color: #475569; font-weight: 650; padding: 8px 8px; border-bottom: 1px solid #dbe3f0; }
.em .map td { padding: 8px 8px; border-bottom: 1px solid #dbe3f0; vertical-align: middle; }
.em .map td.n { color: #475569; white-space: nowrap; text-align: right; }
.em .map input[type=text] { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid #c9d5ea; border-radius: 10px; background: #fff; color: #0b1220; }
.em .map input[type=text]:disabled { opacity: .45; }
.em .map .lbl { font-weight: 600; overflow-wrap: anywhere; }
.em .map-wrap { max-height: 520px; overflow: auto; border: 1px solid #dbe3f0; border-radius: 14px; padding: 0 8px; }
@media (max-width: 600px) { .em .map th:nth-child(2), .em .map td.n { display: none; } }
.em .ticks { margin: 14px 0 0; display: grid; gap: 8px; }
.em .ticks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.em .ticks input { width: 20px; height: 20px; margin-top: 2px; accent-color: #2456e6; }
.em .dl { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.em .dl li { display: flex; gap: 12px; align-items: center; font-size: 1.05rem; }
.em .dl li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9d5ea; flex: none; }
.em .dl li.doing::before { border-color: #2456e6; border-top-color: transparent; animation: spin .8s linear infinite; }
.em .dl li.did::before { content: "\2713"; display: grid; place-items: center; background: #15803d; border-color: #15803d; color: #fff; font-size: 13px; font-weight: 800; }
.em .past { margin-top: 28px; }
.em .past h3 { font-size: 1.1rem; margin: 0 0 8px; }
.em .past ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.em .past li { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 12px 14px; border: 1px solid #dbe3f0; border-radius: 12px; background: #fff; }
.em .past li .past-acts { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; }
.em .past li a { color: #2456e6; font-weight: 600; }
.em .past-x { font: inherit; font-weight: 600; font-size: .95rem; border: 1px solid #c9d5ea; background: #fff; color: #c8102e; border-radius: 999px; padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.em .past-x:hover { border-color: #c8102e; }
.em .past-sure { flex-basis: 100%; }
.em .past-sure p { margin: 4px 0 10px; }
.em .small { font-size: .95rem; color: #475569; }
.em .em-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 4px 0 18px; }
.em .em-price b { font: 800 1.35rem var(--ui); color: #0b1220; }
.em .em-price s { color: #94a3b8; font: 600 1.1rem var(--ui); }
.em .em-price span { color: #475569; font-size: .98rem; }
.em #steps { margin-top: 24px; }
.em #mover { margin-bottom: 36px; }

/* Paul 3 Nov 2026: From > To card on every step, and picked providers folded into one line. */
.em .route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; margin: 0 0 18px; }
.em .route .rt-side { border: 1px solid #dbe3f0; border-radius: 14px; padding: 12px 14px; background: #f8faff; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.em .route .rt-side.now { border-color: #2456e6; background: #eaf0fe; box-shadow: 0 0 0 1px #2456e6 inset; }
.em .route .rt-side.ok { background: #fff; }
.em .route .rt-k { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.em .route .rt-p { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; min-width: 0; }
.em .route .rt-p b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em .route .rt-a { font-size: .9rem; color: #475569; overflow-wrap: anywhere; }
.em .route .rt-side.ok .rt-a { color: #1f7a45; font-weight: 650; }
.em .route .rt-side.now .rt-a { color: #2456e6; font-weight: 650; }
.em .route .rt-arrow { align-self: center; font: 800 1.4rem var(--ui); color: #2456e6; }
.em .route .mark, .em .picked .mark { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font: 700 .9rem/1 var(--ui); }
@media (max-width: 560px) { .em .route { grid-template-columns: 1fr; gap: 6px; } .em .route .rt-arrow { justify-self: center; transform: rotate(90deg); line-height: 1; } }
.em .picked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 12px 0; border: 1px solid #2456e6; border-radius: 14px; background: #eaf0fe; }
.em .picked > span { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.em .picked small { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.em .picked b { font-size: 1.05rem; }
.em button.link { font: inherit; font-weight: 650; color: #2456e6; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.em [hidden] { display: none !important; }
.em .row .confirm { flex-basis: 100%; margin: 0; font-size: 1.05rem; }
/* Link buttons ("Move another mailbox"): the page's link colour made their text blue on blue (Paul, 3 Nov 2026). */
.em .box a.tools-btn, .em .box a.tools-btn:hover, .em .box a.tools-btn:visited { color: #fff; text-decoration: none; }
.em .optin { margin-top: 22px; padding: 18px 18px 14px; border-radius: 16px; background: #f3f6fc; border: 1px solid #dbe3f0; }
.em .optin h3 { margin-top: 0; }
