.login-feedback-spinner { display: inline-block; flex: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: login-feedback-spin .8s linear infinite; vertical-align: middle; }
.login-feedback-announcement { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button[data-login-busy] { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; cursor: wait !important; opacity: .9; }
.login-setup-overlay[hidden], .setup-slow-message[hidden] { display: none !important; }
.login-setup-overlay [hidden] { display: none !important; }
.login-request-error { padding: 14px 16px; margin: 16px 0; border: 1px solid #edc7d3; border-radius: 8px; background: #fff2f5; color: #9b3650; font-size: 12px; line-height: 1.7; text-align: left; }
.login-request-error p { margin: 0; }
.login-request-error small { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.setup-recovery p { font-size: 10px; color: #8b7a98; overflow-wrap: anywhere; margin: 24px 0 18px; }
.setup-recovery a { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; background: #7955b8; color: #fff; border-radius: 8px; font-size: 12px; text-decoration: none; }
.setup-recovery a:hover { background: #6843a5; }
.setup-recovery a:focus-visible { outline: 3px solid #c1a9e5; outline-offset: 3px; }
.login-setup-overlay.is-error .setup-orbit, .login-setup-overlay.is-error .setup-school, .login-setup-overlay.is-error .setup-spark { animation: none; }
.login-setup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow: auto;
    background: radial-gradient(ellipse at 15% 20%, #63408750, transparent 55%),
        radial-gradient(ellipse at 90% 90%, #554d8140, transparent 50%), #20192fef;
    backdrop-filter: blur(12px);
    color: #2c233b;
    font-family: SchoolSans, system-ui, sans-serif;
    box-sizing: border-box;
}
.login-setup-overlay:focus { outline: none; }
.login-setup-card { position: relative; box-sizing: border-box; width: 100%; max-width: 470px; background: #fcfbff; border: 1px solid #fff9; border-radius: 24px; padding: 28px 45px 30px; text-align: center; box-shadow: 0 30px 100px #0c07194d; animation: login-setup-enter .4s ease-out; margin: auto; }
.setup-brand { font-size: 11px; font-weight: 600; color: #796488; display: flex; align-items: center; justify-content: center; gap: 8px; overflow-wrap: anywhere; }
.setup-brand > span { font-size: 20px; color: #9874cb; }
.setup-illustration { position: relative; height: 155px; display: grid; place-items: center; margin: 17px auto 4px; width: 200px; }
.setup-school { display: grid; place-items: center; width: 78px; height: 86px; background: linear-gradient(150deg, #f0e9fc, #e4d7f8); border: 1px solid #d9c6f2; border-radius: 20px; box-shadow: 0 12px 25px #7e54b522; transform: rotate(-5deg); animation: login-setup-float 4s ease-in-out infinite; }
.setup-school svg { width: 57px; height: 57px; color: #8758b9; }
.setup-orbit { position: absolute; width: 148px; height: 148px; border: 1px solid #e6ddef; border-radius: 50%; animation: login-feedback-spin 12s linear infinite; }
.setup-orbit::after { position: absolute; content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ad88d8; top: 18px; left: 18px; box-shadow: 0 0 0 4px #eee4fa; }
.setup-orbit-inner { width: 118px; height: 118px; border-style: dashed; border-color: #e8dff1; animation-direction: reverse; animation-duration: 20s; }
.setup-orbit-inner::after { width: 5px; height: 5px; background: #bc9cdd; top: 12px; left: 12px; box-shadow: none; }
.setup-spark { position: absolute; color: #ae87d5; }
.spark-one { right: 13px; top: 28px; font-size: 25px; animation: login-setup-float 3.5s ease-in-out infinite; }
.spark-two { left: 9px; bottom: 27px; font-size: 21px; animation: login-setup-float 4.5s ease-in-out infinite; }
.setup-eyebrow { font-size: 9px; letter-spacing: .2em; font-weight: 700; color: #9470b0; }
.login-setup-card h2 { font-size: 37px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.13; margin: 14px 0; color: #31233e; }
.login-setup-card h2 > span { color: #9468bc; }
.login-setup-card #setup-description { font-size: 12px; line-height: 1.8; color: #80708c; margin: 0 auto 22px; max-width: 300px; overflow-wrap: anywhere; }
.setup-activity { display: flex; align-items: center; gap: 10px; padding: 14px; background: #f0eaf7; border: 1px solid #e8dcf2; border-radius: 9px; color: #795399; font-size: 11px; font-weight: 600; text-align: left; }
.setup-activity .login-feedback-spinner { width: 15px; height: 15px; }
.setup-live-dot { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: #a489c0; box-shadow: 0 0 0 3px #e7dcf1; animation: login-setup-pulse 2s ease-in-out infinite; }
.setup-list-heading { text-align: left; font-size: 9px; color: #8b7a98; margin: 22px 0 12px; }
.setup-inclusions { list-style: none; text-align: left; padding: 0; margin: 0; display: grid; gap: 12px; }
.setup-inclusions > li { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #7e6b8e; }
.setup-inclusions > li > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #e9e0f0; border-radius: 6px; color: #9574ae; font-size: 8px; font-weight: 700; }
.setup-footnote { border-top: 1px solid #eee8f3; margin: 24px 0 0; padding-top: 18px; font-size: 10px; line-height: 1.8; color: #897794; }
.setup-slow-message { color: #8d759f; font-size: 10px; line-height: 1.7; margin: 12px 0 0; }
body.login-feedback-active { overflow: hidden; }
@keyframes login-feedback-spin { to { transform: rotate(360deg); } }
@keyframes login-setup-float { 50% { translate: 0 -7px; } }
@keyframes login-setup-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes login-setup-pulse { 50% { opacity: .35; } }
@media (max-width: 540px) {
    .login-setup-overlay { padding: 18px; }
    .login-setup-card { padding: 23px 25px; border-radius: 20px; }
    .login-setup-card h2 { font-size: 33px; }
    .setup-illustration { height: 135px; margin-top: 12px; }
    .setup-orbit { width: 128px; height: 128px; }
    .setup-orbit-inner { width: 100px; height: 100px; }
    .setup-school { width: 69px; height: 77px; }
    .setup-inclusions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-feedback-spinner, .setup-orbit, .setup-school, .setup-spark, .setup-live-dot, .login-setup-card { animation: none !important; }
}
