/* Shell from the 2026-10-26 teacher/admin reference. Existing operations stay accessible. */
:root{--green:#4d745a;--border:#e0e8df;--ink:#263d31;--muted:#738077}
body{background:#f7f9f5;color:#263d31;font-family:var(--font-family-ui)}.handoff-workspace{min-height:100vh}.handoff-topbar{height:65px;background:#fff;border-bottom:1px solid #e0e8df;padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:20px}.handoff-brand{display:flex;align-items:center;gap:15px;color:inherit;text-decoration:none}.handoff-brand img{width:145px;height:47px;object-fit:contain}.handoff-brand span{border-left:1px solid #e0e8df;padding-left:15px;font-size:var(--font-size-xs);color:#738077}.handoff-top-actions{display:flex;gap:16px;align-items:center;font-size:var(--font-size-xs)}.handoff-top-actions a{color:#415247;text-decoration:none}.handoff-top-actions .environment{font-size:var(--font-size-xs);background:#f1f3eb;border-radius:5px}.handoff-layout{display:grid;grid-template-columns:183px minmax(0,1fr);min-height:calc(100vh - 65px)}#sidebar-wrapper{width:auto;min-width:0;position:static;background:#fff;border-right:1px solid #e0e8df;padding:29px 16px;display:flex;flex-direction:column;color:#66766a}#sidebar-wrapper .nav-label{font-size:var(--font-size-xs);color:#8b948c;letter-spacing:.07em;padding:0 12px;margin:0 0 13px}#sidebar-wrapper nav a{display:block;border-radius:8px;margin-bottom:7px;padding:11px 12px;font-size:var(--font-size-xs);color:#66766a;text-decoration:none}#sidebar-wrapper nav a.active{background:#edf4ec;color:#355a42;font-weight:600}#sidebar-wrapper nav a:hover{background:#f4f7f1}#advanced-navigation{margin-top:18px;font-size:var(--font-size-xs);color:#738077}#advanced-navigation summary{cursor:pointer;padding:8px 12px}#advanced-navigation nav a{font-size:var(--font-size-xs);padding:8px 12px;margin-bottom:3px}#sidebar-wrapper .sidebar-bottom{margin-top:auto;padding:55px 12px 0;font-size:var(--font-size-xs);color:#738077;border:0}#sidebar-wrapper .sidebar-bottom b,#sidebar-wrapper .sidebar-bottom small{display:block;overflow-wrap:anywhere}#sidebar-wrapper .text-button{font-size:var(--font-size-xs);color:#4d745a;padding:5px 0;background:none;border:0}#page-content-wrapper{min-width:0;width:100%;padding:0;background:#f7f9f5}#content{max-width:1570px;width:100%;padding:27px 34px 30px;margin:0 auto;min-height:0}.page-heading h1{font-size:var(--font-size-xl);color:#263d31}.page-heading p{font-size:var(--font-size-xs);color:#738077}button.primary,a.primary{background:#4d745a;border-color:#4d745a}.panel,.class-card,.table-wrap{border-color:#e0e8df;border-radius:10px}.panel h2{font-size:var(--font-size-md)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8db598;outline-offset:3px}
.handoff-dashboard .panel{padding:0}.handoff-dashboard .stats{margin-top:0}.handoff-dashboard .stat{border-radius:10px}.handoff-dashboard .stat strong{display:inline}.handoff-dashboard .hero-actions select{max-width:230px;font-size:var(--font-size-xs)}.handoff-dashboard .roster th,.handoff-dashboard .roster td{white-space:normal}.handoff-dashboard .roster th:first-child{width:21%}.handoff-dashboard .roster td:last-child{white-space:nowrap}.handoff-dashboard .hero-actions{flex-wrap:wrap}.handoff-dashboard .section-tabs a{border-bottom:2px solid transparent;color:#738077;font-size:var(--font-size-xs);padding:0 0 12px}.handoff-dashboard .section-tabs a[aria-selected=true]{border-color:#4d745a;color:#355a42;font-weight:600}.handoff-dashboard .operation-links{display:flex;gap:9px;flex-wrap:wrap}.handoff-dashboard .task-source{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--font-size-xs);line-height:2;margin:12px 0}.handoff-dashboard .resource-row{align-items:flex-start}.handoff-dashboard .resource-row>div{min-width:0}.handoff-dashboard .resource-row details{font-size:var(--font-size-xs);color:#738077}.handoff-dashboard .handoff-error{color:#a34d40;font-size:var(--font-size-xs);white-space:pre-wrap}.handoff-dashboard .handoff-error:empty{display:none}#teacher-detail{margin:auto;background:#fff;height:min(850px,92svh);width:min(1080px,calc(100vw - 40px));max-height:92svh;padding:0;border:1px solid #e0e8df;border-radius:13px;color:#263d31;box-shadow:0 24px 80px #243d3022}#teacher-detail::backdrop{background:#20362a55;backdrop-filter:blur(3px)}#teacher-detail .dialog-body{min-height:0}.handoff-dashboard .detail-tabs{gap:18px;flex-wrap:wrap}.handoff-dashboard .note-card details{font-size:var(--font-size-xs)}.handoff-dashboard .candidate-actions{display:flex;gap:6px;flex-wrap:wrap}.handoff-dashboard .candidate-form article+article{border-top:1px solid #e0e8df;margin-top:15px;padding-top:15px}.handoff-dashboard .paper{min-width:0}.handoff-dashboard .hero-actions .btn{white-space:normal}.handoff-dashboard .review-card .field{margin-top:18px}.handoff-dashboard .field select{padding:8px;border:1px solid #e0e8df;border-radius:7px}.handoff-dashboard .support-pane .source-quote{white-space:pre-wrap;font-size:var(--font-size-xs)}
@media(min-width:1550px){#content{padding-left:43px;padding-right:43px}}@media(max-width:1200px){.handoff-layout{grid-template-columns:160px minmax(0,1fr)}#content{padding:25px 23px}}@media(max-width:1000px){.handoff-layout{grid-template-columns:145px minmax(0,1fr)}#sidebar-wrapper{padding-left:10px;padding-right:10px}#content{padding:23px 20px}.handoff-brand span{display:none}.handoff-top-actions .environment{display:none}}@media(max-width:700px){.handoff-topbar{min-height:62px;height:auto;padding:8px 15px;gap:12px}.handoff-brand img{width:118px;height:40px}.handoff-top-actions{gap:10px;font-size:var(--font-size-xs)}.handoff-layout{display:block}#sidebar-wrapper{flex-direction:row;flex-wrap:wrap;gap:5px;padding:7px 15px;border-right:0;border-bottom:1px solid #e0e8df}#sidebar-wrapper>.nav-label,#sidebar-wrapper .sidebar-bottom{display:none}#sidebar-wrapper>nav{display:flex;gap:8px}#sidebar-wrapper nav a{font-size:var(--font-size-xs);padding:7px 10px;margin:0}#advanced-navigation{margin-top:0}#advanced-navigation[open]{flex-basis:100%}#advanced-navigation[open] nav{display:flex;flex-wrap:wrap;gap:5px}#content{padding:22px 15px}.handoff-dashboard .hero{flex-direction:column;align-items:flex-start}.handoff-dashboard .hero-actions{flex-direction:row;align-items:center;gap:8px}.handoff-dashboard .hero-actions select{max-width:170px}.handoff-dashboard .hero-actions .btn{font-size:var(--font-size-xs)}.handoff-dashboard .roster th:first-child{width:auto}.handoff-dashboard .roster tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 45px}.handoff-dashboard .roster td{min-width:0}#teacher-detail{margin:auto;background:#fff;height:94svh;max-height:94svh;width:calc(100vw - 16px)}.handoff-dashboard .detail-tabs{gap:13px}.handoff-dashboard .compare-grid{grid-template-columns:1fr}.handoff-dashboard .section-tabs{gap:20px}}

.account-menu{display:none;position:relative}.account-menu summary{cursor:pointer}.account-menu>div{position:absolute;right:0;top:25px;z-index:5;min-width:145px;border:1px solid #e0e8df;background:#fff;border-radius:8px;padding:8px;box-shadow:0 8px 24px #243d3015}.account-menu button{display:block;width:100%;text-align:left;font-size:var(--font-size-xs);padding:7px;background:#fff;border:0}
@media(max-width:700px){.account-menu{display:block}}
