/* Shared application header; classroom and presentation styles stay independent. */
body>.app-header{display:block;position:relative;z-index:20;padding:0;background:#173248;border-bottom:1px solid #ffffff12;box-shadow:0 2px 10px #102b400c}
.app-header-inner{max-width:1280px;min-height:72px;margin:auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}
body:has(main.board-page) .app-header-inner{max-width:1440px}
.app-header .app-brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;min-width:0;color:#f6fafc;text-decoration:none;border-radius:8px;letter-spacing:-.025em;font-size:17px;font-weight:700}
.app-header .app-brand-mark{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid #9ac9d42b;border-radius:10px;background:#ffffff08;color:#9ed9dd;transition:background .15s}
.app-header svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.app-header .app-brand-mark svg{width:23px;height:23px}.app-header .app-brand-name{display:block;font-size:inherit;white-space:nowrap}.app-header .app-brand:hover .app-brand-mark{background:#ffffff13}
.account-menu{position:relative;flex:none;margin-left:auto}.account-trigger{display:flex;align-items:center;gap:10px;min-height:48px;padding:5px 9px 5px 5px;border:1px solid transparent;border-radius:12px;cursor:pointer;list-style:none;color:#f1f6fa;transition:background .15s,border-color .15s}
.account-trigger::-webkit-details-marker{display:none}.account-trigger::marker{content:""}.account-trigger:hover,.account-menu[open]>.account-trigger{background:#ffffff0c;border-color:#ffffff18}
.app-header .account-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#bddfe3;color:#173e4c;border:1px solid #d9eff055;font-size:12px;letter-spacing:.025em;font-weight:750;flex:none}
.app-header .account-name{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550}.app-header .account-chevron{width:16px;height:16px;color:#a8bfcc;transition:transform .15s}.account-menu[open] .account-chevron{transform:rotate(180deg)}
.account-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:50;width:280px;max-width:calc(100vw - 32px);padding:8px;background:#fff;color:#173248;border:1px solid #d7e1e8;border-radius:14px;box-shadow:0 12px 36px #102b4024;overflow-wrap:anywhere}
.account-identity{padding:12px 12px 14px;border-bottom:1px solid #e6edf1;margin-bottom:6px}.account-identity strong{display:block;font-size:14px;font-weight:650}.app-header .account-identity>span{display:block;margin-top:4px;color:#617484;font-size:12px}
.account-panel nav{display:grid;gap:2px;margin:0;padding:0}.account-panel a,.app-header .account-panel button{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#29485c;text-decoration:none;text-align:left;font-size:14px;font-weight:500;margin:0;width:100%}
.account-panel a:hover,.app-header .account-panel button:hover{background:#edf5f6;color:#05697b}.account-panel svg{color:#607f8d;width:18px;height:18px}.app-header .account-panel a>span,.app-header .account-panel button>span{display:block;font-size:inherit}
.app-header .account-panel form{border-top:1px solid #e6edf1;padding-top:6px;margin:6px 0 0}.account-panel .account-workspace{border-top:1px solid #e6edf1;margin-top:6px;padding-top:6px}.app-header .account-group-label{display:block;color:#617484;font-size:11px;font-weight:650;padding:8px 12px}
.app-header :focus-visible{outline:3px solid #d99624;outline-offset:3px}
@media(max-width:600px){.app-header-inner{min-height:64px;padding:0 16px;gap:10px}body:has(main.board-page) .app-header-inner{padding-inline:.8rem}.app-header .app-brand{font-size:16px;gap:9px}.app-header .app-brand-mark{width:32px;height:32px;border-radius:9px}.app-header .account-name,.app-header .account-chevron{display:none}.account-trigger{min-width:44px;min-height:44px;padding:3px;justify-content:center}.app-header .account-avatar{width:34px;height:34px}.account-panel{top:calc(100% + 10px)}}
@media(prefers-reduced-motion:reduce){.app-header *{transition:none!important}}
