/* The guest dropdown, account form and login gates share the same navy identity. */
.header .account-panel[data-authenticated="false"]{width:320px;min-height:0;padding:42px 22px 30px;background:#1d293f;border:1px solid #a8b7cf;border-radius:17px;box-shadow:0 3px 0 #bfcbdf,0 14px 35px #152d4820;color:#fff}
.header .account-panel[data-authenticated="false"] .account-heading{position:relative;flex-direction:column;align-items:center;gap:12px;padding:9px 0 0;margin:0 0 25px;text-align:center}
.header .account-panel[data-authenticated="false"] .account-portrait-button{width:66px;height:66px;border:1px solid #ddd8c5;background:#faf8ee;border-radius:50%}
.header .account-panel[data-authenticated="false"] .account-portrait-button img{width:60px;height:60px;object-fit:contain}
.header .account-panel[data-authenticated="false"] h2{font-size:20px;line-height:1.4;color:#fff;font-weight:650}
.header .account-panel[data-authenticated="false"] .account-panel-close{position:absolute;top:-33px;right:-9px;color:#b6c2d5}
.header .account-panel[data-authenticated="false"] .account-primary-actions{gap:10px}
.header .account-panel[data-authenticated="false"] .account-primary-actions>button{min-height:43px;padding:9px 12px;border:1px solid #d4deee;border-radius:9px;background:#fff;color:#334d78;font-size:14px;box-shadow:0 3px 0 #101b31}
.header .account-panel[data-authenticated="false"] .account-primary-actions>.account-signin{color:#2e4abb}
#auth-dialog.is-guest-auth{width:min(400px,calc(100vw - 28px));max-height:calc(100dvh - 28px);background:#1d293f;color:#fff;border:1px solid #a8b7cf;border-radius:17px;box-shadow:0 3px 0 #bfcbdf,0 20px 60px #152d4840;overflow-y:auto}
#auth-dialog.is-guest-auth .dialog-inner{padding:34px 28px 28px}
#auth-dialog.is-guest-auth .auth-dialog-avatar{width:64px;height:64px;margin:4px auto 13px;padding:3px;border:1px solid #ddd8c5;background:#faf8ee;object-fit:contain}
#auth-dialog.is-guest-auth #auth-title{font-size:23px;line-height:1.45;color:#fff;text-align:center;letter-spacing:0;margin:0 20px 22px;font-weight:650}
#auth-dialog.is-guest-auth .dialog-close{color:#b6c2d5}
#auth-dialog.is-guest-auth .auth-tabs{margin:0 0 20px;padding:3px;border-radius:9px;background:#142037;gap:5px}
#auth-dialog.is-guest-auth .auth-tabs button{min-height:37px;padding:7px 12px;background:transparent;border-color:transparent;color:#c5cee0;font-size:13px}
#auth-dialog.is-guest-auth .auth-tabs button[aria-pressed="true"]{background:#fff;border-color:#fff;color:#2e4abb;box-shadow:0 2px 3px #0d17252b}
#auth-dialog.is-guest-auth #preview-account .forum-form{margin-top:0;gap:15px}
#auth-dialog.is-guest-auth .forum-form label{color:#d0d9e9;font-size:13px}
#auth-dialog.is-guest-auth .forum-form input,#auth-dialog.is-guest-auth .forum-form select{min-height:43px;font-size:14px;background:#fff;color:#233954;border-color:#c5d0e3}
#auth-dialog.is-guest-auth #preview-account .forum-form>.button{width:100%;min-height:44px;margin:4px 0 0;background:#fff;border:1px solid #fff;color:#2e4abb;font-size:14px;box-shadow:0 3px 0 #101b31}
#auth-dialog.is-guest-auth .account-recovery-link{color:#c5d6ff;font-size:12px;margin-top:16px}
#auth-dialog.is-guest-auth .form-error{color:#ffb9b9}
#auth-dialog.is-guest-auth #preview-account>p{color:#d0d9e9}
.field-label{display:flex;align-items:center;gap:7px}.required-mark{font-size:10px;font-weight:500;color:#b34a4a}
#auth-dialog.is-guest-auth .required-mark{color:#ffb9b9}.target-school-field select{width:100%;min-width:0;text-overflow:ellipsis}.target-school-field option[value="undecided"]{font-weight:700;color:#294bd4}
@media(max-width:650px){.header .account-panel[data-authenticated="false"]{width:min(320px,calc(100vw - 32px));min-height:380px;padding:37px 20px 25px}#auth-dialog.is-guest-auth .dialog-inner{padding:28px 21px 24px}#auth-dialog.is-guest-auth .forum-form input,#auth-dialog.is-guest-auth .forum-form select{font-size:16px;min-height:44px}#auth-dialog.is-guest-auth #auth-title{font-size:22px}#auth-dialog.is-guest-auth .auth-dialog-avatar{width:60px;height:60px}}
