/* One clear account action, visible before the mobile menu is opened. */
.sc-auth-entry{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;padding:10px 18px;border:1px solid var(--sc-brand-teal);border-radius:999px;background:var(--sc-brand-teal);color:var(--sc-brand-ivory)!important;text-decoration:none;font:600 14px/1.6 'DM Sans','Noto Sans Myanmar',sans-serif;white-space:nowrap;box-shadow:0 2px 7px #263e480b}
.sc-auth-entry:hover{background:#203e49}.sc-auth-entry:focus-visible{outline:3px solid #b79a60;outline-offset:4px}.sc-auth-entry[hidden]{display:none!important}.sc-auth-entry.is-signed-in{background:#f0e7d3;color:#293f47!important;border-color:#cbb78a;padding:6px 12px}.sc-auth-entry .student-avatar{width:28px;height:28px;flex:none}.sc-header .sc-auth-entry{margin-left:auto;padding:10px 18px;border-radius:999px!important}.sc-header .sc-nav-links .account-link{margin:0;min-height:44px}.sc-header .sc-nav-links .account-link[hidden]{display:none!important}
@media(max-width:960px){
 .sc-header .topbar,.sc-header .nav{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px}
 .sc-header .brand{grid-column:1;min-width:0;width:auto;max-width:100%}
 .sc-header .sc-auth-entry{grid-column:2;grid-row:1;justify-self:end;margin:0;padding:10px 13px;font-size:13px;min-height:44px}
 .sc-header .sc-menu-toggle:not([hidden]){grid-column:3;grid-row:1;margin:0}
 .sc-header .sc-nav-links,.sc-header .topbar .site-main-nav{grid-column:1/-1;grid-row:2}
 .sc-header .sc-nav-links .account-link:not([hidden]){display:flex;grid-column:auto;justify-self:stretch}
 .sc-auth-entry.is-signed-in>span:last-child{max-width:75px;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:600px){
 .sc-header .sc-menu-toggle:not([hidden]){width:44px;min-width:44px;padding:0;justify-content:center}
 .sc-header .sc-menu-toggle>span:last-child{display:none}
 .sc-header .sc-menu-toggle>span:first-child{font-size:22px;line-height:1}
 .sc-header .sc-auth-entry{padding-inline:12px}
 .sc-header .sc-auth-entry.is-signed-in{padding:6px 8px;gap:5px}
 .sc-header .sc-auth-entry.is-signed-in>span:last-child{font-size:11px}
 body>header:not(.sc-header)>.sc-auth-entry{margin-left:auto;font-size:13px;padding-inline:14px}
}
@media(max-width:360px){
 .sc-header .brand-name,.sc-header .brand b{font-size:17px!important;letter-spacing:-.5px}
 .sc-header .brand-mark,.sc-header .brand>svg{width:30px!important;height:30px!important}
 .sc-header .brand{gap:6px}.sc-header .brand small{font-size:7px!important;letter-spacing:0!important}
 .sc-header .topbar,.sc-header .nav{column-gap:6px}
 .sc-header .sc-auth-entry{font-size:12px;padding-inline:10px}
 .sc-header .sc-auth-entry.is-signed-in>span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.sc-auth-entry{transition:none}}
/* v37: navigation followed by one deliberate account action. */
.sc-auth-entry{background:var(--sc-brand-gold-tint);border-color:#bca77c;color:#2b3e48!important;border-radius:12px!important;box-shadow:0 2px 5px #283e4808}
.sc-auth-entry:hover{background:#d5c197;border-color:#a78d57}
.sc-header .sc-auth-entry{border-radius:12px!important;margin:0;padding:10px 18px;justify-self:end}
.sc-auth-entry.is-signed-in{background:#f0eee6;border-color:#c6cbc7;color:#2b3e48!important}
@media(min-width:961px){
 .sc-header .topbar,.sc-header .nav{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;column-gap:22px;min-height:86px;padding-block:14px}
 .sc-header .brand{grid-column:1;grid-row:1;justify-self:start;flex-shrink:0}
 .sc-header .sc-nav-links{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:3px;margin:0;width:auto}
 .sc-header .sc-nav-links a{font-size:13px;padding:10px 9px;white-space:nowrap}
 .sc-header .sc-auth-entry{grid-column:3;grid-row:1;font-size:13px;min-width:92px;min-height:44px}
 .sc-header .nav>.button{display:none}
 .sc-header .sc-menu-toggle{display:none!important}
}
@media(min-width:961px) and (max-width:1150px){.sc-header .topbar,.sc-header .nav{column-gap:12px}.sc-header .sc-nav-links{gap:0}.sc-header .sc-nav-links a{font-size:11px;padding-inline:6px}.sc-header .brand-name{font-size:21px}.sc-header .brand small{font-size:8px;letter-spacing:.6px}.sc-header .sc-auth-entry{min-width:84px;padding-inline:12px}}
@media(max-width:960px){.sc-header .topbar,.sc-header .nav{display:grid;align-items:center;grid-template-columns:minmax(0,1fr) auto auto;column-gap:10px}.sc-header .sc-auth-entry{padding:9px 13px;grid-column:2;grid-row:1}.sc-header .sc-menu-toggle{grid-column:3;grid-row:1;border-radius:12px}.sc-header .nav>.button{display:none!important}}
/* The compact profile and study-tool headers keep the same action hierarchy. */
body>header:not(.sc-header) .sc-auth-entry{order:3;margin:0 0 0 8px;flex-shrink:0}
body>header:not(.sc-header)>nav{order:2}
body>header:not(.sc-header)>#sign-out{order:4}
@media(max-width:800px){body>header:not(.sc-header){display:flex;flex-wrap:wrap;gap:12px;padding:16px}body>header:not(.sc-header)>.brand{order:1;flex:1;min-width:0}body>header:not(.sc-header)>.sc-auth-entry{order:2;margin:0}body>header:not(.sc-header)>nav{order:3;width:100%;margin:0;gap:8px 16px;border-top:1px solid var(--sc-brand-silver);padding-top:10px}body>header:not(.sc-header)>#sign-out{order:4}}
