:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#20304a;background:#f3f6fb;font-size:15px}*{box-sizing:border-box}body{margin:0}main{max-width:800px;margin:64px auto;padding:0 22px}header{margin-bottom:30px}.eyebrow{font-size:13px;font-weight:700;color:#376ad4;letter-spacing:.1em}h1{font-size:32px;line-height:1.35;margin:14px 0}h2{font-size:19px;margin:0 0 16px}p{line-height:1.75}header p,.hint,footer{color:#67758c}.card{background:white;border:1px solid #e2e8f2;border-radius:18px;padding:28px;margin:18px 0;box-shadow:0 8px 28px #21375806}label{display:block;font-weight:600;margin-bottom:20px}input,textarea,select{display:block;width:100%;border:1px solid #cfd9e8;border-radius:9px;padding:12px;margin-top:8px;color:inherit;font:inherit;background:#fff}input:focus,textarea:focus{outline:2px solid #a9c7ff;border-color:#5c87dc}.hint{display:block;font-size:13px;font-weight:400;margin:6px 0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}button{font:inherit;border:1px solid #cfd9e8;border-radius:9px;background:#fff;color:#284875;padding:11px 15px;cursor:pointer;white-space:nowrap}button:hover{background:#f1f5fd}button.primary{background:#3068d7;border-color:#3068d7;color:white}button:disabled{opacity:.5;cursor:wait}.quiet{border-color:transparent;color:#67758c}.linkrow{display:flex;align-items:center;gap:12px;min-width:0}.linkrow a{overflow-wrap:anywhere;flex:1;min-width:0;color:#3068d7;font-weight:400;line-height:1.6}.linkrow input{margin:0;min-width:0;flex:1}.heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.badge{background:#edf3ff;color:#3269d4;padding:5px 10px;border-radius:20px;font-size:12px}#notice:empty{display:none}.error{color:#b23d45}.success{color:#1c795e}footer{text-align:center;font-size:12px;margin:28px 0}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;border-bottom:1px solid #e2e8f2;padding:12px 8px;overflow-wrap:anywhere}.scroll{overflow-x:auto}textarea{min-height:160px}code{overflow-wrap:anywhere}main.wide{max-width:1100px}@media(max-width:600px){main{margin:30px auto;padding:0 14px}h1{font-size:26px}.card{padding:20px}.actions button{flex:1}.linkrow{gap:8px}}

/* Compact customer batch page; management layout above stays independent. */
.customer-batch main{max-width:1560px;margin:20px auto;padding:0 20px}.customer-batch .compact-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}.customer-batch h1{font-size:24px;margin:0 0 4px}.customer-batch header p{margin:0;font-size:13px}.customer-batch .card{padding:18px 20px;margin:12px 0;border-radius:12px}.customer-batch label{margin:0;font-size:14px}.customer-batch textarea{min-height:112px;height:120px;margin-top:8px;font:14px/1.6 ui-monospace,Consolas,monospace;resize:vertical}.customer-batch .hint{margin:7px 0;font-size:12px}.batch-toolbar,.result-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-batch .actions{margin:0;align-items:center}.customer-batch button{font-size:13px;padding:9px 12px}.customer-batch #notice{margin:8px 0 0;font-size:13px;color:#67758c}.customer-batch h2{font-size:16px;margin:0}.customer-batch footer{margin:12px 0;font-size:12px}.batch-results{table-layout:fixed;margin-top:10px;min-width:880px}.batch-results th:nth-child(3){width:76px}.batch-results th:nth-child(4){width:94px}.batch-results .assigned-cell{display:none}.batch-results.has-assignments{min-width:1120px}.batch-results.has-assignments .assigned-cell{display:table-cell}.batch-results td{vertical-align:top;font-size:13px;padding:12px 8px}.mail-address{font-weight:500;margin-bottom:5px;overflow-wrap:anywhere}.mail-url{display:block;color:#3068d7;font-size:12px;line-height:1.5;overflow-wrap:anywhere;max-height:4.5em;overflow:auto}.row-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.customer-batch .small{font-size:12px;padding:5px 8px}.state-cell .badge{display:inline-block}.customer-batch #progress{font-size:12px;color:#67758c;white-space:nowrap}@media(max-width:650px){.customer-batch main{margin:14px auto;padding:0 12px}.customer-batch h1{font-size:20px}.customer-batch .card{padding:14px}.customer-batch header p{max-width:240px}.batch-toolbar{align-items:flex-start;flex-direction:column}.customer-batch .actions button{flex:initial}.batch-results{min-width:880px}.batch-results.has-assignments{min-width:1120px}.customer-batch textarea{height:140px}.customer-batch footer{text-align:left;line-height:1.6}}

.customer-batch [hidden]{display:none!important}

.customer-batch .mailbox-note{font-size:13px;color:#456287;margin:6px 0 12px}.customer-batch .copy-panel textarea{height:72px;min-height:72px}.customer-batch .batch-toolbar>.actions{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:3px}.customer-batch .batch-toolbar>.actions button{flex:none}.customer-batch .row-feedback{margin:5px 0;font-size:12px;color:#1c795e}

.customer-batch .select-cell input{width:16px;height:16px;margin:0;padding:0;cursor:pointer}.customer-batch .password-copy{border:1px dashed #cfd9e8;color:#32745f;padding:5px 6px;font-family:ui-monospace,Consolas,monospace}.customer-batch .totp-button{background:#edf3ff;border-color:#d8e5ff;border-radius:18px;color:#3068d7;min-width:68px}.customer-batch .totp-button:hover{background:#dfeaff}.customer-batch .otp-cell .hint{font-size:11px}.customer-batch .otp-cell button{font-family:ui-monospace,Consolas,monospace}.customer-batch .result-header .actions{flex-wrap:nowrap}.customer-batch .result-header{flex-wrap:wrap}

.customer-batch .status-failed{background:#fff0f0;color:#ae3540}.customer-batch .status-unknown{background:#fff5df;color:#8a5b0a}.customer-batch .status-success{background:#e9f7f0;color:#207650}

.customer-batch .email-copy{display:block;background:transparent;border:0;border-radius:4px;padding:2px 0;margin:0 0 5px;text-align:left;white-space:normal;overflow-wrap:anywhere;max-width:100%;font-size:13px;line-height:1.5;color:#284875}
.customer-batch .email-copy:hover{background:#edf3ff;color:#3068d7}.customer-batch [data-copied="true"]{color:#207650;background:#e9f7f0}
.customer-batch .account-address{display:flex;align-items:baseline;gap:5px;min-width:0}.customer-batch .account-label{flex:none;font-size:11px;color:#67758c}.customer-batch .account-address .email-copy{min-width:0;font-weight:500}
.customer-batch .account-copy-actions{flex-wrap:nowrap;gap:4px}.customer-batch .account-copy-actions .small{font-size:11px;padding:5px 6px}

.customer-batch .result-header .actions{flex-wrap:wrap;gap:6px}.customer-batch #storageStatus:empty{display:none}

/* Only the current mailbox column flexes; the account and utility columns stay compact. */
.customer-batch .batch-results th:nth-child(1){width:32px}.customer-batch .batch-results th:nth-child(2){width:240px}.customer-batch .batch-results th:nth-child(5){width:auto}.customer-batch .batch-results th:nth-child(6){width:190px}.customer-batch .batch-results th:nth-child(7){width:180px}
.customer-batch .lookup-priority{border-left:4px solid #3068d7;background:#edf4ff;border-radius:6px;padding:10px 13px;margin-bottom:14px;color:#244d88}.customer-batch .lookup-priority strong{font-size:15px}.customer-batch .lookup-priority p{font-size:13px;line-height:1.6;margin:4px 0 0}
.customer-batch .rebind-secondary{font-size:12px;color:#778397}.customer-batch .rebind-notes{padding:8px 4px;margin:8px 0;color:#748096}.customer-batch .rebind-notes h2{font-size:12px;font-weight:500;margin:0 0 5px}.customer-batch .rebind-notes .mailbox-note,.customer-batch .rebind-notes .hint{font-size:12px;color:#748096;line-height:1.6;margin:4px 0}

/* Share available space instead of leaving the current-mailbox cell oversized. */
.customer-batch .batch-results th:nth-child(2){width:22%}
.customer-batch .batch-results th:nth-child(5){width:auto}
.customer-batch .batch-results th:nth-child(7){width:22%}
.customer-batch .batch-results.has-assignments th:nth-child(2){width:20%}
.customer-batch .batch-results.has-assignments th:nth-child(5){width:auto}
.customer-batch .batch-results.has-assignments th:nth-child(6){width:23%}
.customer-batch .batch-results.has-assignments th:nth-child(7){width:21%}
.customer-batch .batch-results th:nth-child(3){width:76px}
.customer-batch .batch-results th:nth-child(4){width:82px}
.customer-batch .batch-results.has-assignments{min-width:1180px}
.customer-batch .mail-url{max-height:none;overflow:visible}
.customer-batch .state-cell .hint{line-height:1.5}
.customer-batch .row-actions{gap:5px}

/* Sign-in details: one current identity, separate unconfirmed replacement. */
.customer-batch .batch-results,.customer-batch .batch-results.has-assignments{min-width:1080px}
.customer-batch .batch-results th:nth-child(2),.customer-batch .batch-results.has-assignments th:nth-child(2){width:27%}
.customer-batch .batch-results th:nth-child(3){width:130px}
.customer-batch .batch-results th:nth-child(4){width:176px}
.customer-batch .batch-results th:nth-child(5),.customer-batch .batch-results.has-assignments th:nth-child(5){width:auto}
.customer-batch .batch-results th:nth-child(6),.customer-batch .batch-results.has-assignments th:nth-child(6){width:220px}
.customer-batch .current-login .email-copy{font-size:15px;font-weight:700;color:#173e71}
.customer-batch .login-instruction{color:#207650;font-weight:600;line-height:1.5;margin:3px 0 8px}
.customer-batch .original-reference .email-copy{font-size:12px;color:#748096}
.customer-batch .original-reference .hint,.customer-batch .target-reference .hint{margin:3px 0 0;line-height:1.5}
.customer-batch .binding-warning,.customer-batch .target-reference .hint,.customer-batch .target-inbox>.hint{color:#8a5b0a}
.customer-batch .target-reference,.customer-batch .target-inbox{margin-top:10px;padding-top:7px;border-top:1px dashed #e2e8f2}
.customer-batch .account-copy-actions{flex-wrap:wrap;margin-top:10px;gap:5px}
.customer-batch .account-copy{background:#edf3ff;border-color:#b8cdf3;color:#2457ad}
.customer-batch .inbox-actions{margin-top:0;align-items:center}
.customer-batch .inbox-link{display:inline-block;border:1px solid #b8cdf3;border-radius:7px;padding:7px 9px;background:#edf3ff;color:#2457ad;font-size:12px;text-decoration:none;line-height:1.4}
.customer-batch .inbox-link:hover{background:#dfeaff}
.customer-batch .credential-cell .hint{font-size:11px;line-height:1.5;margin:5px 0}
.customer-batch .otp-cell .totp-button,.customer-batch .otp-cell .secret-copy{font-family:inherit;white-space:normal}
.customer-batch .otp-cell .hint{line-height:1.5;margin:5px 0}
.customer-batch .password-copy{font-size:14px;letter-spacing:2px;min-width:76px}
.customer-batch .password-copy[data-copied="true"]{letter-spacing:normal}
.customer-batch .login-guide{font-size:13px;color:#3d5f8a;margin:12px 0 4px;line-height:1.6}
.customer-batch .state-cell .badge{line-height:1.6}

/* Show abbreviated inbox addresses with the copy action below. */
.customer-batch .inbox-actions{flex-direction:column;align-items:flex-start;gap:7px}
.customer-batch .inbox-link{font-family:ui-monospace,Consolas,monospace;white-space:nowrap;max-width:100%}
.customer-batch .password-label-copy{display:block;margin-top:7px}
