/* Pupil v33: functional global navigation + reference-inspired profile */
.pupil-global-nav{position:sticky;top:0;z-index:1100;display:flex;align-items:center;min-height:74px}
.pupil-global-nav .top-nav{display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:none;flex:1;justify-content:center}
.pupil-global-nav .top-nav::-webkit-scrollbar{display:none}
.pupil-global-nav .top-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;color:#aaa1b6;padding:8px 10px;min-width:70px;border-bottom:2px solid transparent;white-space:nowrap}
.pupil-global-nav .top-link b{font-size:17px;font-weight:700;line-height:1}.pupil-global-nav .top-link span{font-size:9px}.pupil-global-nav .top-link:hover{color:#e6c7ff}.pupil-global-nav .admin-nav-link{color:#f0caff}.pupil-global-nav .header-actions{display:flex;align-items:center;white-space:nowrap}
.pupil-global-nav .header-icon{position:relative;text-decoration:none;color:#eee;font-size:17px;padding:8px}.pupil-global-nav .header-icon span{position:absolute;top:0;right:0;min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:#b64cff;color:#fff;font-size:8px;display:grid;place-items:center}.pupil-global-nav .logout-form{margin:0}
/* Remove the previous decorative auth orb/circles. */
.auth-art,.auth-page:before,.auth-page:after{display:none!important}
.auth-page{padding-top:0}.auth-page .pupil-global-nav{position:fixed;left:0;right:0;top:0;background:rgba(5,4,10,.86);backdrop-filter:blur(18px);z-index:2000}.auth-page .auth-shell{padding-top:74px}
/* Profile */
.pupil-profile-modern{max-width:1120px;margin:0 auto;padding:22px 16px 60px}.profile-reference-card{overflow:hidden;border-radius:18px}.profile-cover-modern{height:250px;background:#17131f;position:relative;overflow:hidden}.profile-cover-modern img{width:100%;height:100%;object-fit:cover}.profile-cover-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#21152e,#101019 55%,#31114b)}.profile-cover-modern:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(4,3,8,.38))}.profile-main-modern{position:relative;padding:0 26px 22px}.profile-avatar-modern{width:126px;height:126px;border-radius:50%;overflow:hidden;border:5px solid #0c0a11;background:#191522;position:relative;margin-top:-62px;z-index:2;box-shadow:0 6px 22px rgba(0,0,0,.35)}.profile-avatar-modern img{width:100%;height:100%;object-fit:cover}.profile-avatar-modern .avatar-fallback{width:100%;height:100%;display:grid;place-items:center;font-size:42px}.profile-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-top:-55px;padding-left:145px}.profile-title-block{min-width:0}.profile-title-block h1{display:inline;font-size:28px;letter-spacing:-.8px;margin:0}.profile-verified{display:inline-grid;place-items:center;width:18px;height:18px;margin-left:6px;border-radius:50%;background:#267cff;color:#fff;font-size:11px;font-weight:800}.profile-username{margin-top:5px;color:#a69caf;font-size:12px}.profile-actions-modern{display:flex;align-items:center;gap:8px}.profile-action-row{display:flex;gap:8px;align-items:center}.profile-stats-modern{display:flex;gap:34px;margin:18px 0 12px;padding-left:145px}.profile-stats-modern div{display:flex;gap:5px;align-items:baseline}.profile-stats-modern b{font-size:15px}.profile-stats-modern span{font-size:10px;color:#9d94a6}.profile-bio-modern{margin:8px 0 6px;padding-left:145px;max-width:760px;color:#e7e0ec;font-size:12px;line-height:1.55}.profile-details-modern{padding-left:145px;display:flex;flex-wrap:wrap;gap:12px;color:#9f96a8;font-size:10px}.profile-details-modern a{color:#d18aff;text-decoration:none}.profile-interest-row{display:flex;gap:7px;padding-left:145px;margin-top:12px}.profile-interest-row span{padding:5px 9px;border:1px solid rgba(196,116,255,.18);border-radius:999px;color:#c8b5d4;font-size:9px;background:rgba(132,45,184,.08)}.profile-tabs-modern{display:flex;gap:2px;padding:0 12px;border-top:1px solid rgba(196,116,255,.13);overflow:auto}.profile-tabs-modern a{padding:15px 18px;color:#9990a4;text-decoration:none;font-size:11px;font-weight:700;border-bottom:2px solid transparent;white-space:nowrap}.profile-tabs-modern a:hover,.profile-tabs-modern a.active{color:#e1b4ff;border-bottom-color:#b84cff}.profile-content-modern{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px;margin-top:16px}.profile-feed-modern{min-width:0}.profile-sidebar-modern{display:flex;flex-direction:column;gap:16px}.profile-panel-modern{padding:18px;border-radius:16px;margin-bottom:16px}.profile-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.profile-section-head h2,.profile-sidebar-modern h3{margin:4px 0 0;font-size:18px}.section-count{font-size:10px;color:#8f8798}.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.about-grid div{padding:12px;border:1px solid rgba(196,116,255,.12);border-radius:11px;background:rgba(255,255,255,.018)}.about-grid small,.about-grid b{display:block}.about-grid small{font-size:9px;color:#857c8e;margin-bottom:4px}.about-grid b{font-size:11px;color:#e6deeb}.profile-post-modern{padding:14px 0;border-top:1px solid rgba(196,116,255,.09)}.profile-post-modern:first-of-type{border-top:0}.profile-post-modern p{font-size:12px;line-height:1.6;color:#ddd5e3}.profile-post-media{width:100%;max-height:620px;object-fit:cover;border-radius:12px;margin-top:7px;border:1px solid rgba(196,116,255,.1)}.profile-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.profile-media-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:7px}.profile-video-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.profile-video-list video,.profile-story-grid-modern video,.profile-story-grid-modern img{width:100%;border-radius:10px;max-height:360px;object-fit:cover}.profile-story-grid-modern{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.profile-story-grid-modern article{overflow:hidden}.profile-story-grid-modern p{font-size:10px;color:#a69cac}.profile-sidebar-modern a{display:block;color:#d7c7df;text-decoration:none;padding:9px 0;border-bottom:1px solid rgba(196,116,255,.08);font-size:11px}.profile-sidebar-modern a:hover{color:#d487ff}.side-stat{display:flex;align-items:baseline;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(196,116,255,.08)}.side-stat b{font-size:18px}.side-stat span{font-size:9px;color:#918899}.full-width{width:100%;margin-top:12px;text-align:center}.profile-edit-panel-modern{padding:20px;margin-top:16px;border-radius:16px}.profile-form-modern{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-form-modern label{font-size:10px;color:#a79dad}.profile-form-modern input,.profile-form-modern textarea{width:100%;margin-top:6px;box-sizing:border-box}.profile-form-modern .full{grid-column:1/-1}.profile-upload-modern{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-upload-modern form{padding:12px;border:1px solid rgba(196,116,255,.1);border-radius:12px;background:rgba(255,255,255,.015)}.profile-upload-modern label{display:block}.profile-upload-modern input[type=file]{margin:8px 0;width:100%}.profile-upload-modern button{margin-top:3px}.profile-action-row form{margin:0}.post-owner-tools{display:flex;gap:5px}.post-menu-btn{border:1px solid rgba(196,116,255,.18);background:rgba(255,255,255,.025);color:#cdbbd7;border-radius:7px;padding:5px 8px;font-size:9px}.post-menu-btn.danger{color:#ff91a7}.post-edit-panel{padding:10px;border:1px solid rgba(196,116,255,.12);border-radius:10px;margin:10px 0}.post-edit-panel textarea{width:100%;min-height:90px}.post-edit-panel select{margin:8px 8px 0 0}.eyebrow{display:block}
@media(max-width:1000px){.pupil-global-nav .top-link{min-width:58px}.pupil-global-nav .top-link span{display:none}.pupil-global-nav .top-link b{font-size:18px}.pupil-global-nav .global-search{width:210px}.profile-content-modern{grid-template-columns:1fr}.profile-sidebar-modern{display:grid;grid-template-columns:1fr 1fr}.profile-topline{padding-left:0;margin-top:12px}.profile-stats-modern,.profile-bio-modern,.profile-details-modern,.profile-interest-row{padding-left:0}}
@media(max-width:700px){.pupil-global-nav{flex-wrap:wrap;height:auto;padding:7px 10px}.pupil-global-nav .brand{min-width:auto}.pupil-global-nav .brand-tag{display:none}.pupil-global-nav .global-search{order:3;flex-basis:100%;width:100%}.pupil-global-nav .top-nav{order:4;flex-basis:100%;justify-content:flex-start}.pupil-global-nav .header-actions{margin-left:auto}.pupil-global-nav .header-user span,.pupil-global-nav .logout-btn{display:none}.profile-cover-modern{height:190px}.profile-main-modern{padding:0 14px 18px}.profile-avatar-modern{width:96px;height:96px;margin-top:-48px}.profile-topline{display:block}.profile-title-block h1{font-size:23px}.profile-actions-modern{margin-top:10px}.profile-stats-modern{gap:20px}.about-grid{grid-template-columns:1fr}.profile-sidebar-modern{display:block}.profile-media-grid{grid-template-columns:repeat(3,1fr)}.profile-video-list,.profile-story-grid-modern{grid-template-columns:1fr}.profile-form-modern{grid-template-columns:1fr}.profile-form-modern .full{grid-column:auto}.profile-upload-modern{grid-template-columns:1fr}.auth-page .auth-shell{padding-top:130px}}

/* v35: global Messages dropdown and chat attachment presentation */
.nav-dropdown-wrap{position:relative;display:inline-flex;align-items:center}.nav-dropdown-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);min-width:190px;padding:6px;background:#171321;border:1px solid #49315f;border-radius:12px;box-shadow:0 12px 32px #0008;z-index:1000}.nav-dropdown-wrap:hover .nav-dropdown-menu,.nav-dropdown-wrap:focus-within .nav-dropdown-menu{display:grid}.nav-dropdown-menu a{padding:10px 12px;border-radius:8px;color:inherit;text-decoration:none}.nav-dropdown-menu a:hover{background:#38204f}.chat-attachment{margin-top:8px}.chat-attachment img,.chat-attachment video{display:block;max-width:min(360px,65vw);max-height:320px;border-radius:10px}.chat-attachment a{display:inline-block;padding:8px 10px;color:#d8b4fe;text-decoration:underline;overflow-wrap:anywhere}.chat-attachment-name{font-size:.78rem;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d8b4fe}

/* v36: consistent two-row global navigation and People page repair */
.pupil-global-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;height:auto!important;min-height:0!important;padding:0 22px!important;background:#09080f!important;border-bottom:1px solid #30213d!important;box-shadow:0 6px 22px rgba(0,0,0,.22)}
.pupil-global-nav .pupil-nav-toprow{width:100%;min-height:72px;display:flex;align-items:center;gap:22px;min-width:0}
.pupil-global-nav .brand{flex:0 0 235px;min-width:0!important}
.pupil-global-nav .brand-mark{transform:none!important;display:grid;place-items:center;border-radius:13px;width:44px;height:44px;font-size:24px;box-shadow:none}
.pupil-global-nav .global-search{flex:0 1 390px;width:auto;min-width:160px;margin:0}
.pupil-global-nav .header-actions{flex:0 0 auto;margin-left:auto;gap:12px}
.pupil-global-nav .top-nav{order:initial!important;width:100%;flex:0 0 auto;min-height:60px;display:flex!important;align-items:stretch;justify-content:flex-start!important;gap:5px;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:thin;padding:0 0 2px}
.pupil-global-nav .top-link{flex:0 0 auto!important;min-width:76px;height:56px;padding:7px 12px!important;border-radius:10px 10px 0 0;display:flex!important;align-items:center;justify-content:center;gap:5px;text-decoration:none;white-space:nowrap;color:#b7adbf;border-bottom:2px solid transparent;font-size:11px;background:transparent!important}
.pupil-global-nav .top-link b{font-size:17px;line-height:1}
.pupil-global-nav .top-link span{display:inline!important;font-size:10px;line-height:1.2}
.pupil-global-nav .top-link:hover,.pupil-global-nav .top-link:focus-visible{color:#f0d8ff;background:#21142e!important;border-bottom-color:#bd65ff;outline:none}
.pupil-global-nav .header-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#15111c!important;color:#eee!important;text-decoration:none}
.pupil-global-nav .header-icon:hover{background:#261633!important}
.pupil-global-nav .header-user{max-width:190px;min-width:0;display:flex;align-items:center;gap:8px;color:#f7f2fc!important;text-decoration:none;white-space:nowrap}
.pupil-global-nav .header-user>span{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis}
.pupil-global-nav .mini-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;overflow:hidden;background:#2b1740;display:grid;place-items:center}
.pupil-global-nav .mini-avatar img{width:100%;height:100%;object-fit:cover}
.pupil-global-nav .mini-avatar .avatar-fallback{width:100%;height:100%;display:grid;place-items:center;background:#7425d8;color:#fff;font-weight:800}
.pupil-global-nav .logout-btn{border:1px solid #57366f;background:#17101f;color:#f0e7f7;border-radius:10px;padding:9px 12px;white-space:nowrap}
.pupil-global-nav .logout-btn:hover{border-color:#b45cff;background:#251433}
.pupil-global-nav .nav-dropdown-menu{top:calc(100% + 5px)}
.people-page{max-width:1280px!important;padding:22px 24px 48px!important}
.people-page .people-search{display:flex;align-items:center;gap:10px;margin:0 0 20px;padding:12px;border:1px solid #2c2337;border-radius:15px;background:#100e16}
.people-page .people-search input{height:44px;flex:1;min-width:0;background:#0b0a10;border:1px solid #33273f;border-radius:10px;color:#fff;padding:0 14px;font-size:14px}
.people-page .people-search input:focus{outline:2px solid #8c3df0;outline-offset:1px}
.people-page .people-search button{width:auto;min-width:112px;height:44px;padding:0 22px;border-radius:10px}
.people-page .people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.people-page .person-card{min-height:220px;padding:22px 16px;justify-content:flex-start;gap:0;border:1px solid #30223d;border-radius:17px;background:linear-gradient(150deg,#121019,#0d0b12);box-shadow:0 8px 20px rgba(0,0,0,.16);transition:border-color .18s ease,transform .18s ease}
.people-page .person-card:hover{border-color:#70439a;transform:translateY(-2px)}
.people-page .person-avatar{width:76px;height:76px;flex:0 0 76px;display:block;position:relative;border:2px solid #8737f1;background:#21172b;border-radius:50%;overflow:hidden}
.people-page .person-avatar img{display:block;width:100%;height:100%;object-fit:cover;color:transparent}
.people-page .person-avatar .avatar-fallback{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:linear-gradient(145deg,#7728e8,#4b1a99);color:#fff;font-size:26px;font-weight:800}
.people-page .person-name{display:block;max-width:100%;margin:13px 0 12px;font-size:17px;line-height:1.3;overflow-wrap:anywhere;color:#f4eafa!important}
.people-page .person-actions{align-items:center;gap:8px;margin-top:auto}
.people-page .person-actions form{margin:0}
.people-page .person-actions .pupil-btn,.people-page .person-actions .outline-btn,.people-page .person-actions .status-pill{width:auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:12px;font-size:12px;white-space:normal}
.people-page .person-actions .outline-btn{border:1px solid #5a3a70;background:#15111c;color:#d9b5f6}
.people-page .person-actions .outline-btn:hover{border-color:#a85aff;background:#241430}
.people-page .person-actions .pupil-btn{box-shadow:none}
.people-page .empty-feed{grid-column:1/-1;padding:36px;text-align:center;border:1px dashed #463252;border-radius:16px;color:#bfb3c9}
/* Avoid decorative spheres/orbs anywhere in the application; retain functional profile photos. */
.auth-art,.auth-art:before,.auth-art:after,.decorative-orb,.purple-orb,.glow-orb{display:none!important;content:none!important}
@media(max-width:1100px){.pupil-global-nav{padding:0 14px!important}.pupil-global-nav .pupil-nav-toprow{gap:12px}.pupil-global-nav .brand{flex-basis:185px}.pupil-global-nav .brand-tag{display:none}.pupil-global-nav .top-link{min-width:70px}.people-page .people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pupil-global-nav{padding:0 10px!important}.pupil-global-nav .pupil-nav-toprow{min-height:62px;gap:8px;flex-wrap:wrap;padding:8px 0}.pupil-global-nav .brand{flex:1 1 auto}.pupil-global-nav .brand-name{font-size:23px}.pupil-global-nav .brand-mark{width:36px;height:36px}.pupil-global-nav .global-search{order:3;flex:1 0 100%;width:100%;height:40px}.pupil-global-nav .header-actions{gap:5px}.pupil-global-nav .header-user>span,.pupil-global-nav .logout-btn{display:none}.pupil-global-nav .top-nav{min-height:48px;gap:2px}.pupil-global-nav .top-link{min-width:auto;padding:7px 10px!important;height:45px}.pupil-global-nav .top-link span{display:inline!important;font-size:10px}.people-page{padding:14px 12px 32px!important}.people-page .people-search{padding:9px;gap:8px}.people-page .people-search button{min-width:78px;padding:0 12px}.people-page .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.people-page .person-card{min-height:200px;padding:16px 9px}.people-page .person-name{font-size:14px}.people-page .person-actions{flex-direction:column;width:100%}.people-page .person-actions form,.people-page .person-actions form button,.people-page .person-actions .outline-btn,.people-page .person-actions .status-pill{width:100%}}
@media(max-width:420px){.people-page .people-grid{grid-template-columns:1fr}.people-page .person-card{min-height:180px}.pupil-global-nav .top-link{padding:7px 8px!important}}
.people-page .pupil-global-nav .top-link[href="/people"]{color:#efd6ff;background:#21142e!important;border-bottom-color:#bd65ff}

/* v37: stable accessible navigation dropdowns */
.pupil-global-nav .header-actions{position:relative;z-index:5000;overflow:visible}
.pupil-global-nav .nav-dropdown-wrap{position:relative;display:inline-flex;align-items:center;overflow:visible;z-index:5001}
.pupil-global-nav .dropdown-toggle{font:inherit;cursor:pointer;border:0}
.pupil-global-nav .nav-dropdown-menu{display:none;position:absolute;right:0;top:100%;margin-top:0;min-width:220px;max-width:min(360px,calc(100vw - 24px));padding:8px;background:#171321;border:1px solid #49315f;border-radius:12px;box-shadow:0 16px 38px #000b;z-index:10000;max-height:min(70vh,520px);overflow-y:auto;white-space:normal}
.pupil-global-nav .nav-dropdown-wrap:hover .nav-dropdown-menu,.pupil-global-nav .nav-dropdown-wrap:focus-within .nav-dropdown-menu,.pupil-global-nav .nav-dropdown-wrap.is-open .nav-dropdown-menu{display:grid;gap:2px}
.pupil-global-nav .nav-dropdown-menu a{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border-radius:8px;color:#eee5f5;text-decoration:none;line-height:1.3}
.pupil-global-nav .nav-dropdown-menu a:hover,.pupil-global-nav .nav-dropdown-menu a:focus-visible{background:#38204f;outline:none}
.pupil-global-nav .dropdown-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 10px;color:#fff;border-bottom:1px solid #34243f;margin-bottom:3px;font-weight:700}
.pupil-global-nav .dropdown-heading span{font-size:11px;color:#c5a7d9;font-weight:500}
.pupil-global-nav .notifications-dropdown{width:340px}
.pupil-global-nav .notification-preview-item.is-unread{background:#21152e}
.pupil-global-nav .preview-notification-icon{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:50%;background:#39204f;color:#e6b8ff;font-size:16px}
.pupil-global-nav .preview-notification-copy{display:grid;gap:3px;min-width:0}
.pupil-global-nav .preview-notification-copy b{font-size:12px;text-transform:capitalize;color:#f7efff}
.pupil-global-nav .preview-notification-copy>span{font-size:12px;color:#c7bdcf;overflow-wrap:anywhere}
.pupil-global-nav .preview-notification-copy small{font-size:10px;color:#93869f}
.pupil-global-nav .dropdown-empty{padding:18px 10px;text-align:center;color:#b8a9c4;font-size:13px}
.pupil-global-nav .dropdown-footer{justify-content:center!important;color:#d8a8ff!important;font-weight:700;border-top:1px solid #34243f;margin-top:3px}
@media(max-width:700px){.pupil-global-nav .nav-dropdown-menu{position:fixed;top:66px;right:10px;margin:0;width:min(340px,calc(100vw - 20px));max-width:calc(100vw - 20px)}.pupil-global-nav .notifications-dropdown{width:min(340px,calc(100vw - 20px))}}


/* v38: stable two-tier global navigation and three-column People page */
.pupil-global-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%;min-height:0!important;height:auto!important;box-sizing:border-box;gap:0!important;padding:8px clamp(12px,2vw,26px) 0!important;overflow:visible!important;background:rgba(7,6,12,.97);border-bottom:1px solid #2b2035}
.pupil-global-nav .pupil-nav-toprow{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:clamp(10px,1.5vw,24px)!important;width:100%;min-height:62px;height:auto!important;box-sizing:border-box;overflow:visible!important}
.pupil-global-nav .brand{flex:0 0 235px!important;min-width:0!important;max-width:260px;display:flex;align-items:center;gap:10px}
.pupil-global-nav .brand-name{white-space:nowrap}.pupil-global-nav .brand-tag{white-space:nowrap}
.pupil-global-nav .global-search{order:initial!important;flex:1 1 300px!important;width:auto!important;max-width:520px;min-width:120px;margin:0!important}
.pupil-global-nav .header-actions{flex:0 0 auto!important;margin-left:auto!important;gap:8px!important;overflow:visible!important}
.pupil-global-nav .top-nav{order:initial!important;display:flex!important;flex:0 0 auto!important;align-items:stretch!important;justify-content:flex-start!important;gap:4px!important;width:100%!important;min-height:52px;height:52px;box-sizing:border-box;overflow-x:auto!important;overflow-y:hidden!important;padding:0!important;margin:0!important;scrollbar-width:none;white-space:nowrap}
.pupil-global-nav .top-nav::-webkit-scrollbar{display:none}
.pupil-global-nav .top-link{flex:0 0 auto!important;min-width:74px!important;height:50px!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:5px 11px!important;border-radius:9px 9px 0 0!important;white-space:nowrap!important;background:transparent!important}
.pupil-global-nav .top-link span{display:block!important;font-size:10px!important;line-height:1.1!important}
.pupil-global-nav .top-link b{font-size:17px!important;line-height:1!important}
.pupil-global-nav .top-link[aria-current="page"],.pupil-global-nav .top-link.active{color:#e4baff!important;border-bottom-color:#bd65ff!important;background:#21142e!important}
.people-page{max-width:1500px!important;padding:20px clamp(12px,2vw,26px) 48px!important;box-sizing:border-box}
.people-three-column{display:grid;grid-template-columns:minmax(190px,245px) minmax(0,1fr) minmax(210px,270px);align-items:start;gap:18px;width:100%}
.people-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0}
.people-side-card{padding:17px;border:1px solid #30223d;border-radius:16px;background:linear-gradient(150deg,#121019,#0d0b12);box-shadow:0 8px 20px #0002;min-width:0}
.people-mini-profile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:22px 14px}
.people-mini-avatar{width:66px;height:66px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#7226d9;border:2px solid #913fff;color:white;font-size:24px;font-weight:800}
.people-mini-avatar img{width:100%;height:100%;object-fit:cover}.people-mini-profile strong{color:#f5ecfb;font-size:14px;overflow-wrap:anywhere}.people-mini-profile a{color:#d4a1fa;font-size:12px;text-decoration:none}
.people-shortcuts{display:flex;flex-direction:column;gap:4px;padding:8px}.people-shortcuts a{display:flex;align-items:center;gap:10px;padding:11px;border-radius:10px;color:#cfc2d9;text-decoration:none;font-size:13px}.people-shortcuts a span{width:22px;text-align:center}.people-shortcuts a:hover,.people-shortcuts a.is-active{background:#28173a;color:#f0d5ff}
.people-side-card h3{font-size:15px;color:#f4eafa;margin:0 0 9px}.people-side-card p{font-size:12px;line-height:1.55;color:#a99bb4;margin:0 0 10px}.people-side-action{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid #2c2235;color:#d7a5fa;text-decoration:none;font-size:12px}.people-side-note-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#28173a;color:#d6a0ff;margin-bottom:12px}
.people-main-column{min-width:0}.people-page-heading{display:flex;align-items:center;justify-content:space-between;margin:2px 0 16px}.people-page-heading h1{font-size:25px;letter-spacing:-.5px;margin:3px 0 5px;color:#f8f2fc}.people-page-heading p{font-size:12px;color:#a99db3;margin:0}.people-page-heading .people-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#c17aff}
.people-page .people-search{margin:0 0 16px;padding:9px;background:#100e16;display:flex;align-items:center;gap:9px;min-width:0}.people-page .people-search input{min-width:0;flex:1;width:100%;box-sizing:border-box}.people-page .people-search button{flex:0 0 auto;min-width:94px;width:auto;white-space:nowrap}
.people-page .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.people-page .person-card{min-width:0}.people-page .person-name{word-break:break-word;text-align:center}.people-page .person-actions{display:flex;flex-wrap:wrap;justify-content:center}.people-page .person-actions form{max-width:100%}
@media(min-width:1450px){.people-page .people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1120px){.pupil-global-nav .brand{flex-basis:190px!important}.pupil-global-nav .brand-tag{display:none}.pupil-global-nav .top-link{min-width:68px!important}.people-three-column{grid-template-columns:190px minmax(0,1fr)}.people-sidebar-right{display:none}}
@media(max-width:760px){.pupil-global-nav{padding:6px 10px 0!important}.pupil-global-nav .pupil-nav-toprow{flex-wrap:wrap!important;gap:8px!important;padding-bottom:7px}.pupil-global-nav .brand{flex:1 1 auto!important;max-width:none}.pupil-global-nav .global-search{order:3!important;flex:1 0 100%!important;max-width:none;height:40px}.pupil-global-nav .header-actions{gap:4px!important}.pupil-global-nav .header-user>span,.pupil-global-nav .logout-btn{display:none}.pupil-global-nav .top-nav{height:47px;min-height:47px}.pupil-global-nav .top-link{height:45px!important;min-width:61px!important;padding:5px 8px!important}.pupil-global-nav .top-link span{font-size:9px!important}.people-three-column{grid-template-columns:minmax(0,1fr)}.people-sidebar-left,.people-sidebar-right{display:none}.people-page{padding:15px 12px 32px!important}.people-page-heading h1{font-size:22px}.people-page .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:420px){.people-page .people-grid{grid-template-columns:1fr}.people-page .people-search button{min-width:72px;padding:0 12px}.pupil-global-nav .brand-mark{width:36px;height:36px}.pupil-global-nav .brand-name{font-size:22px}}
