body[data-staff-page="teacher_dashboard"] .page-hero .top-actions{display:none}
body.teacher-menu-enabled .page-hero .top-actions a:is([href^="./index.php"],[href^="./teacher.html"],[href^="./calendar.html"],[href^="./roster.html"],[href^="./intake.html"],[href^="./messages.html"],[href^="./teacher-reports.html"],[href^="./kid-market.html"],[href^="./inventory.html"],[href^="../../play/"]){display:none}
body[data-staff-page="teacher_dashboard"] .page-hero{position:relative;display:block;min-height:178px;padding-right:38px}
body[data-staff-page="teacher_dashboard"] .page-hero .teacher-hero-content{width:100%}
body[data-staff-page="teacher_dashboard"] .page-hero .teacher-hero-content>p:not(.kicker){padding-right:100px}
body[data-staff-page="teacher_dashboard"] .page-hero #teacherNoticeSummary{grid-template-columns:repeat(6,minmax(0,1fr));margin:20px 0 0}
body[data-staff-page="teacher_dashboard"] .page-hero #teacherNoticeSummary article{padding:11px 12px;background:#f5fafc;border-color:#bfd7e1}
body[data-staff-page="teacher_dashboard"] #teacherTodayClasses>summary{background:#fff0cf;border-left:6px solid #e1ad23}
body[data-staff-page="teacher_dashboard"] #teacherAttendanceQuestions>summary{background:#e7f4eb;border-left:6px solid #4aa76e}
body[data-staff-page="teacher_dashboard"] .dashboard-top-category:has(>section[data-attendance-review-dashboard])>summary{background:#e8d4e9;border-left:6px solid #795777}
body[data-staff-page="teacher_dashboard"] #teacherNotices{display:grid;grid-template-columns:minmax(0,1fr)}
body[data-staff-page="teacher_dashboard"] #teacherNotices [data-work-category]{width:100%;min-width:0}
body[data-staff-page="teacher_dashboard"] #teacherNotices [data-work-category="messages"]>summary{background:#ffe4a9;border-left:6px solid #e1ad23}
body[data-staff-page="teacher_dashboard"] #teacherNotices [data-work-category="makeups"]>summary{background:#d4edda;border-left:6px solid #4aa76e}
body[data-staff-page="teacher_dashboard"] #teacherNotices [data-work-category="operations"]>summary{background:#ffd9d3;border-left:6px solid #e86459}
body[data-staff-page="teacher_dashboard"] #teacherBillingFollowup>summary{background:#f9ded7;border-left:6px solid #df6558}
body[data-staff-page="teacher_dashboard"] #teacherBillingFollowup .teacher-billing-summary{padding:16px 20px;background:#fffaf8}
body[data-staff-page="teacher_dashboard"] #teacherBillingFollowup .teacher-billing-summary p{margin:0 0 12px;color:#263d4b}
body[data-staff-page="teacher_dashboard"] #teacherBillingFollowup .teacher-billing-summary a{display:inline-block;padding:9px 13px;border-radius:8px;background:#14394f;color:white;font-weight:800;text-decoration:none}
.teacher-billing-count{margin-left:auto;border-radius:99px;background:#e86459;color:white;padding:2px 9px;font-size:13px;font-weight:900}.teacher-billing-count[hidden]{display:none}
body[data-staff-page="teacher_dashboard"] #teacherAttendanceQuestions>section[data-attendance-questions]{padding:14px;box-sizing:border-box}
body[data-staff-page="teacher_dashboard"] .page-hero .teacher-menu-avatar{position:absolute;right:32px;top:30px;width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 2px #b9d9e6}
body[data-staff-page="teacher_dashboard"] .page-hero h1{font-size:clamp(30px,4vw,48px)}
.teacher-menu-rail{position:fixed;z-index:65;left:0;top:0;height:100dvh;width:82px;box-sizing:border-box;padding:0 10px 12px;background:#fff9ef;border-right:4px solid #795777;border-radius:0;box-shadow:4px 0 0 #bdacba,0 4px 0 #bdacba;display:flex;flex-direction:column;gap:8px;align-items:center}
body.teacher-report-rail-enabled .aq-admin{margin-left:max(98px,calc((100vw - 1350px)/2));margin-right:16px}
body.teacher-report-rail-enabled .admin-bar{margin-left:82px;width:calc(100% - 82px);box-sizing:border-box}
.teacher-menu-brand{width:calc(100% + 20px);height:78px;display:block;flex:none;box-sizing:border-box;margin:0 -10px 12px;padding:0;overflow:hidden;background:transparent;border:0;border-bottom:4px solid #795777;border-radius:0;box-shadow:none}
.teacher-menu-brand img{width:100%;height:100%;object-fit:fill;display:block;border:0;border-radius:0}
.teacher-menu-rail button{position:relative;isolation:isolate;flex:none;width:52px;height:52px;border:0;border-radius:11px;box-shadow:none;font-size:20px;color:#fff;cursor:pointer;transition:filter .2s,transform .2s}
.teacher-menu-rail .teacher-menu-view-avatar{display:grid;place-items:center;flex:none;width:58px;height:58px;border-radius:50%;border:3px solid #b6d8e5;background:#ecf7fa;color:#176785;padding:0;overflow:visible}.teacher-menu-view-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.teacher-menu-view-avatar>i{font-size:28px}.teacher-menu-rail .teacher-menu-view-avatar .teacher-menu-name{left:50%;top:calc(100% + 7px);height:auto;min-width:0;width:max-content;max-width:210px;padding:9px 12px;border-radius:9px;background:#176785;color:#fff;text-align:center;white-space:normal;transform:translate(-50%,-7px)}.teacher-menu-rail .teacher-menu-view-avatar:hover .teacher-menu-name,.teacher-menu-rail .teacher-menu-view-avatar:focus-visible .teacher-menu-name{transform:translate(-50%,0)}
.teacher-menu-rail button[data-menu="today"]{background:#1b9bc0}.teacher-menu-rail button[data-menu="classes"]{background:#4aa76e}.teacher-menu-rail button[data-menu="messages"]{background:#e1ad23;color:#302400}.teacher-menu-rail button[data-menu="billing"]{background:#e86459}.teacher-menu-rail button[data-menu="manage"]{background:#343b48}
.teacher-menu-rail button:hover,.teacher-menu-rail button:focus-visible{outline:0;filter:drop-shadow(0 4px 0 #2c1c363b)}
.teacher-menu-name{position:absolute;left:calc(100% - 11px);top:0;height:100%;min-width:145px;padding:0 14px 0 23px;display:flex;align-items:center;background:inherit;color:inherit;font-size:15px;font-weight:800;text-align:left;white-space:nowrap;border-radius:0 10px 10px 0;opacity:0;transform:translateX(-12px);pointer-events:none;transition:opacity .2s,transform .2s}
.teacher-menu-rail button:hover .teacher-menu-name,.teacher-menu-rail button:focus-visible .teacher-menu-name{opacity:1;transform:translateX(0)}
.teacher-menu-count{position:absolute;z-index:5;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:#ed293e;color:#fff;border:2px solid #fff;font-size:10px;font-weight:800;line-height:15px;text-align:center}.teacher-menu-count[hidden]{display:none!important}
.teacher-menu-panel{position:fixed;z-index:64;left:82px;top:0;width:min(340px,calc(100vw - 82px));height:100dvh;background:#edf7fa;border-right:2px solid #b8d8e5;box-shadow:6px 0 18px #17364e30;padding:0 16px 24px;overflow:auto;opacity:0;transform:translateX(-22px);transition:opacity .25s,transform .25s}.teacher-menu-panel[hidden]{display:none}.teacher-menu-panel.is-open{opacity:1;transform:translateX(0)}
.teacher-menu-panel-brand{height:78px;display:flex;align-items:center;padding-right:8px}.teacher-menu-panel-brand img{width:100%;max-width:280px;height:auto;display:block;mix-blend-mode:multiply}.teacher-menu-panel-title{font-size:22px;font-weight:900;margin:16px 0 18px}.teacher-menu-panel a{position:relative;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:48px;margin:8px 0;padding:10px 12px;background:#fff;border:1px solid #b7d8e5;border-radius:9px;color:#0c6e91;font-weight:800;text-decoration:none}.teacher-menu-panel a:hover,.teacher-menu-panel a:focus-visible{background:#dff2f8;outline:2px solid #168fb4}.teacher-menu-panel a .teacher-menu-count{position:static;flex:none;margin-left:12px}
body[data-staff-page="teacher_dashboard"] .aq-admin{margin-left:max(98px,calc((100vw - 1350px)/2));margin-right:16px}
.teacher-menu-mobile{display:none}.teacher-menu-panel.is-mobile{display:none}
.teacher-view-choices{display:grid;gap:8px}.teacher-view-choice{width:100%;min-height:52px;padding:7px 12px;border:1px solid #b7d8e5;border-radius:9px;background:white;color:#176785;text-align:left;font:inherit;font-weight:800;cursor:pointer;display:flex;align-items:center;gap:11px}.teacher-view-choice img{width:36px;height:36px;flex:none;border-radius:50%;object-fit:cover;border:2px solid #b6d8e5}.teacher-view-choice.is-current{background:#dff2f8;border-color:#168fb4}.teacher-menu-panel a .teacher-menu-count[data-kind="countdown"]{background:#176785;font-size:11px;white-space:nowrap}.teacher-view-mobile{margin-top:20px;padding-top:14px;border-top:2px solid #b7d8e5}.teacher-view-mobile h3{margin:0 0 10px}
@media(max-width:700px){body[data-staff-page="teacher_dashboard"] .aq-admin,body.teacher-report-rail-enabled .aq-admin{margin:0 10px 88px}body.teacher-report-rail-enabled .admin-bar{margin-left:0;width:100%}body[data-staff-page="teacher_dashboard"] .page-hero{padding:18px;min-height:130px}body[data-staff-page="teacher_dashboard"] .page-hero .teacher-hero-content>p:not(.kicker){padding-right:68px}body[data-staff-page="teacher_dashboard"] .page-hero #teacherNoticeSummary{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-staff-page="teacher_dashboard"] .page-hero .teacher-menu-avatar{right:18px;top:20px;width:54px;height:54px}.teacher-menu-rail,.teacher-menu-panel:not(.is-mobile){display:none!important}.teacher-menu-mobile{position:fixed;z-index:75;left:0;right:0;bottom:0;display:flex;gap:4px;justify-content:space-around;padding:10px 6px max(10px,env(safe-area-inset-bottom));background:#fff9ef;border-top:4px solid #795777;box-shadow:0 -4px 0 #bdacba}.teacher-menu-mobile button{position:relative;flex:1;min-width:0;min-height:53px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border:0;border-radius:9px;color:#fff;font-size:11px;font-weight:800;cursor:pointer;transition:transform .2s,box-shadow .2s,opacity .2s}.teacher-menu-mobile button i{font-size:18px}.teacher-menu-mobile button[data-menu="today"]{background:#1b9bc0}.teacher-menu-mobile button[data-menu="classes"]{background:#4aa76e}.teacher-menu-mobile button[data-menu="messages"]{background:#e1ad23;color:#302400}.teacher-menu-mobile button[data-menu="billing"]{background:#e86459}.teacher-menu-mobile button[data-menu="manage"]{background:#343b48}.teacher-menu-mobile button.is-open{background:#ffe27b;color:#302400;box-shadow:inset 0 0 0 2px #795777}.teacher-menu-mobile.has-open button:not(.is-open){opacity:.58;filter:saturate(.4)}.teacher-menu-mobile button:not(.is-open):hover,.teacher-menu-mobile button:not(.is-open):focus-visible{opacity:1;filter:none;transform:translateY(-4px);box-shadow:0 5px 0 #79577780}.teacher-menu-mobile .teacher-menu-count{top:-9px;right:3px;min-width:21px;height:21px;line-height:17px}.teacher-menu-panel.is-mobile{display:block;z-index:74;left:0;right:0;top:auto;bottom:calc(75px + env(safe-area-inset-bottom));width:100%;height:auto;max-height:60dvh;padding:16px;background:#edf7fa;border:0;border-top:2px solid #b8d8e5;box-shadow:0 -8px 18px #17364e2b;transform:translateY(20px)}.teacher-menu-panel.is-mobile.is-open{transform:translateY(0)}}
.teacher-menu-rail .teacher-menu-view-avatar .teacher-menu-name{left:calc(100% + 8px);top:0;width:max-content;min-width:175px;height:100%;box-sizing:border-box;padding:0 16px;border-radius:9px;display:flex;align-items:center;white-space:nowrap;text-align:left;transform:translateX(-8px)}
.teacher-menu-rail .teacher-menu-view-avatar:hover .teacher-menu-name,.teacher-menu-rail .teacher-menu-view-avatar:focus-visible .teacher-menu-name{transform:translateX(0)}
.teacher-menu-panel .teacher-view-choice{overflow:hidden;justify-content:flex-start;text-align:left;padding-left:20px}
.teacher-menu-panel .teacher-view-choice>span{flex:1;min-width:0;text-align:left}
.teacher-menu-panel .teacher-view-choice>img{display:block;flex:0 0 36px;width:36px!important;max-width:36px!important;height:36px!important;max-height:36px!important;border-radius:50%;object-fit:cover}
@media(prefers-reduced-motion:reduce){.teacher-menu-rail button,.teacher-menu-name,.teacher-menu-panel,.teacher-menu-mobile button{transition:none!important}}
.teacher-market-menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;margin:8px 0;padding:10px 12px;border:1px solid #b7d8e5;border-radius:9px;background:#fff;color:#0c6e91;text-align:left;font:inherit;font-weight:800;cursor:pointer}.teacher-market-menu-toggle:hover,.teacher-market-menu-toggle:focus-visible{background:#dff2f8;outline:2px solid #168fb4}.teacher-market-menu-toggle[aria-expanded="true"]{background:#dff2f8}.teacher-market-menu-toggle i{transition:transform .2s}.teacher-market-menu-toggle[aria-expanded="true"] i{transform:rotate(180deg)}.teacher-market-subpanel{margin:0 0 12px 12px;padding:3px 0 3px 12px;border-left:3px solid #81b9cd}.teacher-market-subpanel[hidden]{display:none}.teacher-menu-panel .teacher-market-preview-link{display:flex;align-items:center;gap:8px;margin:6px 0;min-height:58px;background:#f7fbfc}.teacher-market-preview-link span{min-width:0}.teacher-market-preview-link small,.teacher-market-preview-link strong{display:block}.teacher-market-preview-link small{margin-bottom:2px;color:#4c6871;font-size:10px;font-weight:750;text-transform:uppercase;line-height:1.3}.teacher-market-preview-link strong{line-height:1.2}.teacher-market-preview-link i{flex:none;font-size:12px}.teacher-market-loading{padding:9px;color:#4c6871;font-size:13px}
.teacher-market-drawer{position:fixed;z-index:65;left:422px;top:0;width:min(340px,calc(100vw - 422px));height:100dvh;padding:20px 16px 24px;overflow:auto;background:#f7fbfc;border-right:2px solid #b8d8e5;box-shadow:6px 0 18px #17364e30;opacity:0;transform:translateX(-20px);transition:opacity .25s,transform .25s}.teacher-market-drawer[hidden]{display:none}.teacher-market-drawer.is-open{opacity:1;transform:translateX(0)}.teacher-market-drawer-head{position:sticky;top:-20px;z-index:1;padding:10px 0 12px;background:#f7fbfc}.teacher-market-drawer-head h2{margin:14px 0 0;font-size:22px;color:#143b4a}.teacher-market-back{border:1px solid #b7d8e5;border-radius:9px;background:#fff;color:#0c6e91;padding:9px 12px;font:inherit;font-weight:800;cursor:pointer}.teacher-market-back:hover,.teacher-market-back:focus-visible{background:#dff2f8;outline:2px solid #168fb4}.teacher-market-drawer .teacher-market-preview-link{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;min-height:58px;padding:10px 12px;border:1px solid #b7d8e5;border-radius:9px;background:#fff;color:#0c6e91;text-decoration:none;font-weight:800}.teacher-market-drawer .teacher-market-preview-link:hover,.teacher-market-drawer .teacher-market-preview-link:focus-visible{background:#dff2f8;outline:2px solid #168fb4}.teacher-market-drawer .teacher-market-preview-link span{min-width:0}.teacher-market-drawer .teacher-market-preview-link small,.teacher-market-drawer .teacher-market-preview-link strong{display:block}.teacher-market-drawer .teacher-market-preview-link small{margin-bottom:2px;color:#4c6871;font-size:10px;font-weight:750;text-transform:uppercase;line-height:1.3}.teacher-market-drawer .teacher-market-preview-link strong{line-height:1.2}.teacher-market-drawer .teacher-market-preview-link i{flex:none;font-size:12px}
.teacher-market-group-heading{margin:18px 0 6px;padding:0 2px;color:#345a67;font-size:13px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.teacher-market-drawer .teacher-market-future{margin:8px 0;padding:10px 12px;border:1px dashed #bdcbd0;border-radius:9px;background:#eef3f4;color:#566b72}.teacher-market-drawer .teacher-market-future small,.teacher-market-drawer .teacher-market-future strong,.teacher-market-drawer .teacher-market-future em,.teacher-market-drawer .teacher-market-concept-link em{display:block}.teacher-market-drawer .teacher-market-future small{font-size:12px;font-weight:750;line-height:1.3;text-transform:uppercase}.teacher-market-drawer .teacher-market-future strong{margin:3px 0;font-size:15px}.teacher-market-drawer .teacher-market-future em,.teacher-market-drawer .teacher-market-concept-link em{margin-top:3px;font-size:12px;font-style:normal;font-weight:650;line-height:1.35}.teacher-market-drawer .teacher-market-concept-link{border-style:dashed;background:#fff9e9}
@media(max-width:700px){.teacher-market-drawer,.teacher-market-drawer.is-mobile{z-index:76;left:0;right:0;top:auto;bottom:calc(75px + env(safe-area-inset-bottom));width:100%;height:auto;max-height:60dvh;border:0;border-top:2px solid #b8d8e5;box-shadow:0 -8px 18px #17364e2b;transform:translateX(100%)}.teacher-market-drawer.is-open{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.teacher-market-drawer{transition:none!important}}
/* The rail owns view switching and navigation; the compact bar keeps Labels. */
body.teacher-menu-enabled .admin-bar{display:flex!important;justify-content:flex-start;min-height:0;padding:7px 12px}
body.teacher-menu-enabled .admin-bar .admin-view-avatar,
body.teacher-menu-enabled .admin-bar .admin-view-copy>small,
body.teacher-menu-enabled .admin-bar .admin-view-copy>strong,
body.teacher-menu-enabled .admin-bar .admin-view-select,
body.teacher-menu-enabled .admin-bar nav{display:none!important}
body.teacher-menu-enabled .admin-bar .admin-view-copy{display:block}
.teacher-menu-rail .teacher-menu-view-avatar .teacher-menu-name{left:calc(100% - 32px);border-radius:0 9px 9px 0;padding-left:46px}
.teacher-menu-rail .teacher-menu-view-avatar::after{content:"";position:absolute;inset:-3px;border:3px solid #b6d8e5;border-radius:50%;z-index:3;pointer-events:none}
.teacher-menu-rail .teacher-menu-view-avatar img{position:relative;z-index:2}
.teacher-menu-rail .teacher-menu-view-avatar .teacher-menu-name{z-index:1}
body.teacher-market-rail-enabled .teacher-menu-rail .teacher-menu-name{display:none!important}
body.teacher-menu-enabled .admin-bar .admin-quick-nav{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-left:auto}
body.teacher-menu-enabled .admin-quick-nav .admin-nav-link{min-height:38px}
