/* Account content is isolated in a shadow root. Host layout rules are page scoped. */
:host{all:initial;position:fixed;top:14px;right:24px;z-index:120;display:block;width:44px;height:44px;font-family:var(--sc-font,Arial);--sah-bg:#fffefa;--sah-ink:#292e2a;--sah-muted:#727970;--sah-line:#e5e8e0;--sah-soft:#eef1e9;--sah-accent:#48624c;color:var(--sah-ink);color-scheme:light}
:host-context([data-theme=dark]){--sah-bg:#252923;--sah-ink:#edf0e7;--sah-muted:#abb4a4;--sah-line:#41483d;--sah-soft:#363e31;--sah-accent:#b8d2af;color-scheme:dark}
@media(prefers-color-scheme:dark){:host-context(:not([data-theme=light])){--sah-bg:#252923;--sah-ink:#edf0e7;--sah-muted:#abb4a4;--sah-line:#41483d;--sah-soft:#363e31;--sah-accent:#b8d2af;color-scheme:dark}}
:host *{box-sizing:border-box}.sah-avatar,.sah-menu,.sah-dialog{font:14px/1.5 var(--sc-font,Arial);color:var(--sah-ink)}
:host button,:host input{font:inherit}:host button{cursor:pointer}:host button:disabled,:host input:disabled{opacity:.55;cursor:wait}:host button:focus-visible,:host input:focus-visible{outline:2px solid var(--sc-focus,#7b8178);outline-offset:2px}:host svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sah-avatar{display:grid;place-items:center;width:44px;height:44px;padding:2px;border:0;border-radius:50%;background:var(--sah-bg);box-shadow:0 0 0 1px var(--sah-line)}.sah-avatar span,.sah-avatar img{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--sah-soft);color:var(--sah-accent);font-size:13px;font-weight:600;object-fit:cover}.sah-avatar:hover{box-shadow:0 0 0 1px var(--sah-line)}
.sah-menu{position:fixed;inset:66px 24px auto auto;margin:0;padding:8px;width:264px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 84px);overflow:auto;background:var(--sah-bg);border:1px solid var(--sah-line);border-radius:18px;box-shadow:0 12px 40px #17201924}.sah-person{padding:12px 12px 14px;display:grid;gap:3px}.sah-person strong{font-size:16px;overflow-wrap:anywhere}.sah-person span{font-size:12px;color:var(--sah-muted)}.sah-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;min-height:44px;border:0;background:transparent;color:inherit;text-align:left;border-radius:10px;font-size:13px}.sah-menu button:hover{background:var(--sah-soft)}.sah-menu .sah-danger{color:#b34f43}.sah-divider{height:1px;background:var(--sah-line);margin:7px}.sah-status:empty,.sah-error:empty,.sah-feedback:empty{display:none}.sah-status{margin:8px 12px;font-size:12px;color:var(--sah-muted)}
.sah-dialog{position:fixed;inset:0;margin:auto;width:400px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:1px solid var(--sah-line);border-radius:22px;background:var(--sah-bg);box-shadow:0 24px 80px #17201928}.sah-dialog::backdrop{background:#17201955;backdrop-filter:blur(3px)}.sah-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.sah-dialog h2{font-size:20px;margin:0}.sah-icon{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;color:var(--sah-muted);background:var(--sah-soft)}.sah-profile{display:grid;justify-items:center;gap:8px}.sah-profile-photo,.sah-profile-photo img,.sah-profile-photo span{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:var(--sah-soft);object-fit:cover;color:var(--sah-accent);font-size:23px}.sah-profile p{font-size:13px;margin:0;color:var(--sah-muted)}.sah-note{font-size:12px;line-height:1.7;color:var(--sah-muted)}.sah-form{display:grid;gap:14px}.sah-form label,.sah-file{display:grid;gap:7px;font-size:13px}.sah-form input{display:block;width:100%;height:44px;border:1px solid var(--sah-line);border-radius:10px;padding:10px;background:var(--sah-bg);color:var(--sah-ink)}.sah-file input{width:100%;font-size:12px;padding:10px;border:1px solid var(--sah-line);border-radius:10px}.sah-primary,.sah-secondary{min-height:44px;padding:11px 16px;border:1px solid var(--sah-line);border-radius:11px;background:var(--sah-soft);color:var(--sah-ink);width:100%}.sah-primary{background:#48624c;color:#fff;border-color:#48624c}.sah-error{color:#bd4d42;font-size:13px}.sah-feedback{font-size:13px;color:var(--sah-accent)}
/* The profile occupies the same screen coordinate in every web service. */
.sah-page.sah-community .workspace>.topbar{padding-right:68px;min-height:72px}.sah-page.sah-community .admin-topbar{padding-right:68px;min-height:72px}.sah-page.sah-community .topbar-actions:empty{display:none}
.sah-page.sah-counsel .workspace>.topbar{height:72px;min-height:72px;padding-right:88px}.sah-page.sah-counsel .top-actions{gap:14px}.sah-page.sah-counsel .top-actions>.icon-button{width:44px;height:44px}
.sah-page.sah-academy{--header:72px}.sah-page.sah-academy>header{height:72px}.sah-page.sah-academy>header>.header-inner{min-height:72px;height:72px;max-width:none;padding-right:88px;flex-wrap:nowrap;gap:16px}.sah-page.sah-academy .server-refresh{display:grid;place-items:center;width:40px;height:40px;min-height:40px;flex-shrink:0;padding:9px;border-radius:50%;order:2}.sah-page.sah-academy .server-refresh svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.sah-page.sah-academy .appearance-control{order:1}.sah-page.sah-academy #mobile-menu{order:3}
.sah-page.sah-students #workspace>main{padding-top:96px}.sah-page.sah-students #workspace>main>header{align-items:center}.sah-page.sah-students #workspace>main>header #create{white-space:nowrap}
.sah-page.sah-student .student-topbar{display:flex!important;align-items:center;gap:12px;min-height:72px;height:72px;padding:14px 88px 14px 28px;position:sticky;top:0;z-index:8;background:var(--canvas);border-bottom:1px solid var(--line)}.sah-page.sah-student #header-title{margin-right:auto}.sah-page.sah-student #new-post{margin-left:auto}.sah-page.sah-student .teacher-return{padding-right:88px}.sah-page.sah-student #shell[data-page=home] .student-topbar{display:flex!important}
.sah-page.sah-links .link-card{margin-top:88px}
@media(max-width:720px){:host{right:16px}.sah-menu{right:16px}.sah-page.sah-community .workspace>.topbar{padding:14px 60px 14px 0;min-height:72px}.sah-page.sah-community .topbar .search-box{flex-basis:100%;order:3}.sah-page.sah-community .admin-sidebar{padding-right:60px}.sah-page.sah-community .admin-topbar{padding-right:0;min-height:48px}.sah-page.sah-counsel .workspace>.topbar{padding-right:76px}.sah-page.sah-counsel .top-actions .date-label{display:none}.sah-page.sah-academy>header>.header-inner{padding-right:76px;gap:8px}.sah-page.sah-academy .brand-caption{display:none}.sah-page.sah-academy .brand{margin-right:auto;flex-shrink:1;min-width:0}.sah-page.sah-academy .appearance-control select{max-width:70px}.sah-page.sah-academy #mobile-menu{min-width:36px;width:36px}.sah-page.sah-student .student-topbar{padding:14px 76px 14px 20px}.sah-page.sah-students #workspace>aside{padding-right:76px}.sah-page.sah-students #workspace>main{padding-top:24px}.sah-dialog{padding:20px}}
.sah-page.sah-student .student-topbar{max-width:none}.sah-page.sah-student .student-topbar>#new-post{position:static;flex-shrink:0}.sah-page.sah-counsel .workspace>.topbar{padding-right:38px}
@media(min-width:721px) and (max-width:950px){.sah-page.sah-counsel .workspace>.topbar{padding-right:58px}}
@media(max-width:720px){.sah-page.sah-counsel .workspace>.topbar{padding-right:56px}}
:host-context([data-theme=dark]) .sah-danger,:host-context([data-theme=dark]) .sah-error{color:#f0a093}
@media(prefers-color-scheme:dark){:host .sah-danger,:host .sah-error{color:#f0a093}}
:host-context([data-theme=light]){--sah-bg:#fffefa;--sah-ink:#292e2a;--sah-muted:#727970;--sah-line:#e5e8e0;--sah-soft:#eef1e9;--sah-accent:#48624c;color-scheme:light}:host-context([data-theme=light]) .sah-danger,:host-context([data-theme=light]) .sah-error{color:#b34f43}
.sah-page.sah-student .teacher-return{padding-right:22px}.sah-page.sah-student .teacher-return span{max-width:none}
@media(max-width:720px){.sah-page.sah-community .topbar .search-box{flex:0 0 calc(100% + 60px);margin-right:-60px}}
.sah-page.sah-students .toolbar #search{flex:1;min-width:0}.sah-page.sah-students .toolbar #refresh{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border-radius:50%}.sah-page.sah-students .toolbar #refresh svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.sah-page.sah-students .toolbar #count{white-space:nowrap}
@media(max-width:620px){.sah-page.sah-counsel #main>.heading{flex-wrap:wrap;gap:14px}.sah-page.sah-counsel #main>.heading>div{flex:1 0 100%}.sah-page.sah-counsel #main>.heading h1{word-break:keep-all}.sah-page.sah-counsel #main>.heading>button{margin-left:auto}}

:host{top:calc((var(--sc-height,72px) - 44px)/2 + env(safe-area-inset-top,0px));right:var(--sc-edge,24px)}.sah-menu{top:calc((var(--sc-height,72px) + 44px)/2 + 8px + env(safe-area-inset-top,0px));right:var(--sc-edge,24px)}

:host-context(html[data-sc-input=pointer]) :is(button,input):focus{outline:none}
@media(max-width:767px){:host([data-student-surface]){width:0;height:0;pointer-events:none}:host([data-student-surface]) .sah-avatar{display:none}:host([data-student-surface]) .sah-dialog,:host([data-student-surface]) .sah-dialog::backdrop{pointer-events:auto}}
