/* Versioned session-boundary presentation. Privacy masking and recovery protocol live in the unchanged client guards. */
html[data-bims-session-locked="true"]{background:var(--ui-canvas-tint, #f4edff)!important}
html[data-bims-session-locked="true"] dialog.bims-session-retry-notice.bims-recovery-dialog{position:fixed!important;inset:0!important;z-index:2147483647!important;display:flex!important;flex-direction:column!important;justify-content:safe center!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;overflow:auto!important;margin:0!important;padding:28px 20px!important;background:radial-gradient(ellipse at 12% 0%,var(--ui-brand-soft, #f3e8ff) 0,transparent 48%),radial-gradient(ellipse at 100% 100%,var(--ui-canvas-tint, #f4edff) 0,transparent 44%),var(--ui-canvas, #fbf8ff)!important;color:var(--ui-text, #2a1740)!important;border:0!important;border-radius:0!important;visibility:visible!important;pointer-events:auto!important;font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-align:left!important}
html[data-bims-session-locked="true"] dialog.bims-recovery-dialog::backdrop{background:var(--ui-canvas-tint, #f4edff)!important}
.bims-recovery-dialog .bims-recovery-card{flex:none;box-sizing:border-box;width:min(100%,610px);padding:36px 38px 28px;background:var(--ui-surface, #ffffff);border:1px solid var(--ui-border, #e7d9f3);border-top:5px solid var(--ui-brand, #6d28d9);border-radius:22px;box-shadow:0 22px 65px var(--bims-shadow, #4c1d9520),0 3px 12px var(--bims-shadow, #4c1d9509)}
.bims-recovery-dialog .bims-recovery-header{display:flex;align-items:center;gap:12px;margin-bottom:27px;color:var(--ui-brand, #6d28d9)}
.bims-recovery-dialog .bims-recovery-mark{position:relative;display:block;flex:none;width:42px;height:42px;border-radius:12px;background:var(--ui-brand-soft, #f3e8ff)}
.bims-recovery-dialog .bims-recovery-mark::before{content:"";position:absolute;box-sizing:border-box;left:12px;top:8px;width:18px;height:18px;border:2px solid var(--ui-brand, #6d28d9);border-radius:10px}
.bims-recovery-dialog .bims-recovery-mark::after{content:"";position:absolute;box-sizing:border-box;left:10px;top:18px;width:22px;height:17px;border:2px solid var(--ui-brand, #6d28d9);border-radius:4px;background:var(--ui-brand-soft, #f3e8ff)}
.bims-recovery-dialog .bims-recovery-brand{font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.bims-recovery-dialog .bims-recovery-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;margin:0 0 12px;border-radius:20px;background:var(--ui-brand-soft, #f3e8ff);color:var(--ui-brand, #6d28d9);font-size:12px;font-weight:750;line-height:1.5}
.bims-recovery-dialog .bims-recovery-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ui-brand, #6d28d9)}
.bims-recovery-dialog h1{margin:0 0 13px!important;padding:0!important;border:0!important;color:var(--ui-text-strong, #1e1033)!important;font-size:clamp(24px,3.5vw,30px)!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:760!important;overflow-wrap:anywhere}
.bims-recovery-dialog .bims-recovery-message{max-width:none!important;margin:0 0 20px!important;color:var(--ui-text-muted, #705f7f)!important;font-size:15px!important;line-height:1.7!important;overflow-wrap:anywhere}
.bims-recovery-dialog .bims-recovery-steps{list-style:none;counter-reset:recovery-step;display:grid;gap:13px;margin:0 0 25px;padding:18px;border:1px solid var(--ui-border, #e7d9f3);border-radius:12px;background:var(--ui-surface-soft, #faf5ff)}
.bims-recovery-dialog .bims-recovery-steps li{counter-increment:recovery-step;position:relative;margin:0;padding:0 0 0 31px;color:var(--ui-text-muted, #705f7f);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.bims-recovery-dialog .bims-recovery-steps li::before{content:counter(recovery-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--ui-border, #e7d9f3);border-radius:50%;background:var(--ui-surface, #ffffff);color:var(--ui-brand, #6d28d9);font-size:11px;font-weight:750}
.bims-recovery-dialog .bims-recovery-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bims-recovery-dialog .bims-recovery-action{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:46px!important;height:auto!important;width:100%!important;max-width:100%!important;margin:0!important;padding:11px 14px!important;border:1px solid var(--ui-border-strong, #cfb8e5)!important;border-radius:9px!important;box-shadow:none!important;background:var(--ui-surface, #ffffff)!important;color:var(--ui-brand, #6d28d9)!important;font:650 13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-align:center!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;cursor:pointer;transition:background-color .15s,border-color .15s}
.bims-recovery-dialog .bims-recovery-action::before,.bims-recovery-dialog .bims-recovery-action::after{display:none!important}
.bims-recovery-dialog .bims-recovery-action:hover{background:var(--ui-brand-soft, #f3e8ff)!important;border-color:var(--ui-brand, #6d28d9)!important;text-decoration:none!important}
.bims-recovery-dialog .bims-recovery-primary{grid-column:1/-1;background:var(--ui-brand, #6d28d9)!important;border-color:var(--ui-brand, #6d28d9)!important;color:var(--bims-on-primary, #ffffff)!important;min-height:49px!important;font-size:14px!important}
.bims-recovery-dialog .bims-recovery-primary:hover{background:var(--ui-brand-hover, #5b21b6)!important;border-color:var(--ui-brand-hover, #5b21b6)!important}
.bims-recovery-dialog .bims-recovery-primary:disabled{opacity:.65!important;cursor:wait}
.bims-recovery-dialog .bims-recovery-action:focus-visible{outline:3px solid var(--ui-accent, #a16207)!important;outline-offset:3px!important}
.bims-recovery-dialog .bims-recovery-assurance{max-width:none!important;margin:19px 0 0!important;padding-top:17px;border-top:1px solid var(--ui-border, #e7d9f3);color:var(--ui-text-muted, #705f7f)!important;font-size:12px!important;line-height:1.6!important;text-align:center!important;overflow-wrap:anywhere}
.bims-recovery-dialog:focus{outline:none}
@media(max-width:480px){html[data-bims-session-locked="true"] dialog.bims-recovery-dialog.bims-session-retry-notice{padding:16px 12px!important}.bims-recovery-dialog .bims-recovery-card{padding:25px 22px 22px;border-radius:17px}.bims-recovery-dialog .bims-recovery-header{margin-bottom:22px}.bims-recovery-dialog .bims-recovery-actions{grid-template-columns:1fr}.bims-recovery-dialog .bims-recovery-message{font-size:14px!important}.bims-recovery-dialog .bims-recovery-steps{padding:15px;gap:12px}.bims-recovery-dialog .bims-recovery-assurance{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.bims-recovery-dialog .bims-recovery-action{transition:none}}
