/* Browser preview: app palette, local SVG icons and discoverable role controls. */
:root{--web-nav-font:13px;--web-tone-bg:#e6f6f8;--web-tone-fg:#08758a}
#shell .sidebar{background:linear-gradient(180deg,#fff,#f5f9fd);color:#17243a;border-left:1px solid #dde5ee;box-shadow:-8px 0 28px #0b23450b}
#shell .sidebar .logo{border-bottom-color:#dde5ee}
#shell .sidebar .logo strong{color:#0b2345}
#shell .sidebar .logo small{color:#64768b}
#shell .sidebar nav{flex:1;min-height:0}
#shell .sidebar nav button,#shell .sidebar .nav-group>summary{font-size:var(--web-nav-font);color:#3c536d}
#shell .sidebar .nav-group>summary{font-weight:750}
#shell .sidebar .nav-group>summary:before{background:#168a9f;box-shadow:0 0 0 4px #21b7d618}
#shell .sidebar nav button.nav-quick-fixed{background:#f6f9fd!important;border-color:#e4edf5!important;color:#3c536d!important}
#shell .sidebar nav button:hover{background:#eef5fb;border-color:#dce8f2;color:#0b2345}
#shell .sidebar nav button.active,#shell .sidebar nav button.nav-quick-fixed.active{background:#e8f8fb!important;border-color:#a7dce5!important;color:#085d70!important;box-shadow:inset -3px 0 #16a6bc}
#shell .sidebar nav button .ico,#shell .sidebar nav button.active .ico{background:var(--web-tone-bg);color:var(--web-tone-fg);box-shadow:none;width:38px;height:38px;min-width:38px;border-radius:13px}
#shell .sidebar nav button .nav-icon{width:23px;height:23px}
#shell .sidebar nav button[data-page="students"],#shell .sidebar nav button[data-page="guardians"],#shell .sidebar nav button[data-page="classes"]{--web-tone-bg:#e7f0ff;--web-tone-fg:#2764b1}
#shell .sidebar nav button[data-page="attendance"],#shell .sidebar nav button[data-page="grades"],#shell .sidebar nav button[data-page="behavior"]{--web-tone-bg:#e8f8ef;--web-tone-fg:#158351}
#shell .sidebar nav button[data-page="homework"],#shell .sidebar nav button[data-page="reports"]{--web-tone-bg:#fff3dc;--web-tone-fg:#966000}
#shell .sidebar nav button[data-page="finance"],#shell .sidebar nav button[data-page="analytics"],#shell .sidebar nav button[data-page="academic-progress"]{--web-tone-bg:#eeeaff;--web-tone-fg:#6554ca}
#shell .sidebar nav button[data-page="messages"],#shell .sidebar nav button[data-page="announcements"]{--web-tone-bg:#ffe8ee;--web-tone-fg:#ae365c}
#shell .sidebar nav button[data-page="teachers"],#shell .sidebar nav button[data-page="users"]{--web-tone-bg:#e7f0ff;--web-tone-fg:#2764b1}
#shell .sidebar-foot{margin-top:auto;border-top-color:#dde5ee;gap:10px}
#shell .sidebar-account-text small{color:#64768b}
#shell .sidebar-account:hover .sidebar-account-text strong{color:#08758a}
#shell .sidebar-foot>#logout{grid-row:2;color:#8b4f55}
#shell .sidebar-foot>.sidebar-account{grid-row:2}
#shell .sidebar-foot>.side-role-switch{grid-column:1/-1;display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px 10px;border:1px solid #b9dfe7;border-radius:14px;background:#eaf8fb;color:#0b6175;text-align:right}
.side-role-switch>span:last-child{display:grid;gap:3px}
#shell .sidebar-foot>.side-role-switch strong{font-size:12px}
#shell .sidebar-foot>.side-role-switch small{font-size:11px;color:#486a80}
#shell .role-switch-button{background:#eaf8fb;border-color:#a9dce5;min-height:46px}
#shell .role-switch-copy{display:grid!important}
#shell .role-switch-copy small{font-size:12px;color:#0b6175;font-weight:800;white-space:nowrap}
#shell .role-switch-copy strong{font-size:11px;color:#536d83}
.role-switch-icon .app-icon{width:22px;height:22px}
.role-switch-button:focus-visible,.side-role-switch:focus-visible{outline:3px solid #08758a;outline-offset:3px}
.role-switch-empty{display:grid;gap:12px;padding:16px;border:1px solid #d4e7ef;border-radius:16px;background:#f5fbfd}
.role-switch-empty>strong{font-size:14px;color:#0b2345}
.role-switch-empty p{margin:0;line-height:1.9;color:#4e667c;font-size:12px}
.role-switch-empty small{font-size:11px;color:#5a7188;line-height:1.8}
.role-switch-empty button{justify-self:start;min-height:44px}
#shell .role-action-grid button{background:linear-gradient(145deg,#fff,#f8fbfe);border:1px solid #e0e9f2;box-shadow:0 7px 22px #0b23450a}
#shell .role-action-grid button:hover{border-color:#acd9e2;background:#f4fcfd}
#shell .role-action-grid button .role-action-icon{background:#e6f6f8;color:#08758a;border-radius:16px}
#shell .role-action-grid button[data-action="students"] .role-action-icon,#shell .role-action-grid button[data-action="classes"] .role-action-icon{background:#e7f0ff;color:#2764b1}
#shell .role-action-grid button[data-action="attendance"] .role-action-icon,#shell .role-action-grid button[data-action="grades"] .role-action-icon{background:#e8f8ef;color:#158351}
#shell .role-action-grid button[data-action="homework"] .role-action-icon,#shell .role-action-grid button[data-action="reports"] .role-action-icon{background:#fff3dc;color:#966000}
#shell .role-action-grid button[data-action="finance"] .role-action-icon,#shell .role-action-grid button[data-action="analytics"] .role-action-icon{background:#eeeaff;color:#6554ca}
#shell .role-action-grid button[data-action="messages"] .role-action-icon,#shell .role-action-grid button[data-action="announcements"] .role-action-icon{background:#ffe8ee;color:#ae365c}
#shell .dashboard-metrics .metric-icon{background:#e6f6f8;color:#08758a}
#shell .dashboard-metrics [data-metric="students"] .metric-icon,#shell .dashboard-metrics [data-metric="classes"] .metric-icon{background:#e7f0ff;color:#2764b1}
#shell .dashboard-metrics [data-metric="finance"] .metric-icon{background:#eeeaff;color:#6554ca}
#shell .dashboard-metrics [data-metric="messages"] .metric-icon{background:#ffe8ee;color:#ae365c}
#mobile-nav button.active{color:#08758a;background:#e6f6f8}
@media(max-width:1100px){#shell .role-switch-button{padding:7px 10px}}
@media(max-width:760px){
  #shell .role-switch-copy strong{display:none}
  #shell .role-switch-copy small{font-size:11px}
  #shell .role-switch-button{gap:6px;min-height:42px;padding:6px 8px}
  #shell .role-switch-icon{width:26px;height:26px;min-width:26px}
  #shell header>div:first-of-type{flex:1;min-width:0}
  #shell header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #shell header p{max-width:110px}
  #shell .header-actions{gap:5px}
  #shell .sidebar nav button,#shell .sidebar .nav-group>summary{font-size:var(--web-nav-font)}
}

/* The compact browser dashboard uses the same palette as desktop shortcuts. */
#shell .mobile-primary-actions button[data-go="students"]{background:#e7f0ff;color:#2764b1;border-color:#cbdcff}
#shell .mobile-primary-actions button[data-go="staff-attendance"],#shell .mobile-primary-actions button[data-go="schedule"]{background:#e6f6f8;color:#08758a;border-color:#b9e0e7}
#shell .mobile-primary-actions button[data-go="homework"],#shell .mobile-primary-actions button[data-go="reports"]{background:#fff3dc;color:#966000;border-color:#efddb6}
#shell .mobile-primary-actions button[data-go="finance"]{background:#eeeaff;color:#6554ca;border-color:#d8d0fa}
#shell .mobile-primary-actions button[data-go="messages"]{background:#ffe8ee;color:#ae365c;border-color:#f4ccd8}
#shell .mobile-primary-actions button[data-go="notifications"]{background:#e8f8ef;color:#158351;border-color:#c2e9d3}
#shell .manager-mobile-shortcuts [data-go="analytics"]>span{background:#eeeaff;color:#6554ca}
#shell .manager-mobile-shortcuts [data-go="readiness"]>span{background:#e6f6f8;color:#08758a}
#shell .teacher-mobile-alerts [data-go="homework"]>span{background:#fff3dc;color:#966000}
#shell .teacher-mobile-alerts [data-go="attendance"]>span{background:#e8f8ef;color:#158351}

/* Teacher round 1: every daily tool is a labelled, direct destination. */
#shell .teacher-tools{padding:18px;border:1px solid #dce7f1;background:#fff;border-radius:22px;margin:18px 0}
#shell .teacher-tools h3{margin:0;font-size:17px;color:#112c45}
#shell .teacher-tools .section-title p{font-size:12px;margin:5px 0 14px;color:#526a80}
#shell .teacher-tools .role-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#shell .teacher-tools .role-action-grid button{position:relative;display:flex;align-items:center;gap:10px;min-height:70px;padding:12px;text-align:right;min-width:0}
#shell .teacher-tools .role-action-icon{display:grid;place-items:center;width:38px;height:38px;flex:none}
#shell .teacher-tools .role-action-icon svg{width:23px;height:23px}
#shell .teacher-tools strong{font-size:13px;line-height:1.7}
#shell .teacher-more-tools{margin-top:14px}
#shell .teacher-more-tools summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 5px;color:#0b6175;font-weight:750}
#shell .role-teacher>.role-launcher{display:none}
@media(max-width:760px){
 #shell .teacher-tools{padding:14px;margin:14px 0}
 #shell .teacher-tools .role-action-grid{gap:8px}
 #shell .teacher-tools .role-action-grid button{flex-direction:column;justify-content:center;gap:7px;min-height:94px;padding:10px 5px;text-align:center}
 #shell .teacher-tools strong{font-size:12px}
}

/* Teacher round 2: teaching comes before event administration, on every screen. */
#shell .role-teacher{gap:16px}
#shell .role-teacher .teacher-tools{margin:0}
#shell .role-teacher .teacher-mobile-home{display:block;padding:18px;border:1px solid #dce7f1;border-radius:22px;background:#fff}
#shell .role-teacher .teacher-mobile-home h3{font-size:17px}
#shell .role-teacher .mobile-home-head small{font-size:12px;line-height:1.8}
#shell .role-teacher .teacher-mobile-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
#shell .role-teacher .teacher-mobile-alerts button{min-height:64px}
#shell .role-teacher .teacher-mobile-alerts small{font-size:12px}
#shell .role-teacher .teacher-mobile-alerts strong{font-size:14px}
#shell .role-teacher .teacher-today-list{display:grid;gap:10px}
#shell .role-teacher .teacher-today-card{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #dce7f1;border-radius:16px;background:#f8fbfe}
#shell .role-teacher .teacher-period{display:grid;gap:4px}
#shell .role-teacher .teacher-period strong,#shell .role-teacher .teacher-class-info strong{font-size:14px}
#shell .role-teacher .teacher-period small,#shell .role-teacher .teacher-class-info small,#shell .role-teacher .teacher-class-info span{font-size:12px;line-height:1.9}
#shell .role-teacher .teacher-class-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#shell .role-teacher .teacher-class-actions button{min-height:44px;font-size:12px}
#shell .role-teacher .mobile-empty-state{padding:16px;border:1px dashed #cadce9;border-radius:14px;line-height:1.9;font-size:13px}
#shell .role-teacher .mobile-empty-state small{display:block;font-size:12px;margin:4px 0 12px}
#shell .role-teacher .student-agenda{margin:0}
#shell .role-teacher .student-agenda .muted,#shell .role-teacher .student-agenda p,#shell .role-teacher .student-agenda small{font-size:12px;line-height:1.8}
#shell .role-teacher .agenda-head-actions{flex-wrap:wrap}
@media(max-width:760px){
 body[data-role="teacher"] #shell header{height:auto;min-height:112px;flex-wrap:wrap;flex-shrink:0;padding:10px 12px;row-gap:8px}
 body[data-role="teacher"] #shell .global-search{display:block;order:5;flex:0 0 100%;width:100%;margin:0}
 body[data-role="teacher"] #shell .global-search input{font-size:12px;min-height:42px}
 #shell .role-teacher .role-profile{padding:12px 14px}
 #shell .role-teacher .dashboard-welcome h2{font-size:15px;line-height:1.8;margin:0}
 #shell .role-teacher .teacher-mobile-home{padding:14px}
 #shell .role-teacher .teacher-today-card{grid-template-columns:70px minmax(0,1fr)}
 #shell .role-teacher .teacher-class-actions{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
 #shell .teacher-tools .role-action-grid button{min-height:86px}
}

/* Teacher round 3: concise empty states, accessible controls, explicit recovery. */
#shell .teacher-agenda{display:grid;gap:12px}
#shell .teacher-agenda-details{background:#fff;border:1px solid #dce7f1;border-radius:18px;overflow:hidden}
#shell .teacher-agenda-details>summary{cursor:pointer;padding:16px 20px;min-height:48px;font-size:14px;color:#123752;font-weight:750}
#shell .teacher-agenda-details>.student-agenda{border:0;box-shadow:none}
#shell .teacher-agenda .agenda-actions{margin:0}
#shell .teacher-agenda-error{padding:18px;background:#fff8e9;border:1px solid #e8d39b;border-radius:18px;color:#60491b;line-height:1.9}
#shell .teacher-agenda-error p{font-size:13px;margin:8px 0}
#shell .teacher-agenda-error button{min-height:44px}
#shell .teacher-tools button:focus-visible,#shell .teacher-tools summary:focus-visible,#shell .teacher-agenda summary:focus-visible,#shell .teacher-mobile-home button:focus-visible{outline:3px solid #08758a;outline-offset:3px}
#shell .teacher-tools .action-badge{right:auto;left:7px;top:7px;min-width:22px;height:22px}
@media(max-width:360px){
 #shell .teacher-tools .role-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #shell .teacher-tools .role-action-grid button{min-height:76px;flex-direction:row;text-align:right;padding:8px;gap:6px}
 #shell .teacher-tools .role-action-icon{width:30px;height:30px}
 #shell .teacher-tools strong{font-size:11px}
 #shell .role-teacher .teacher-class-actions button{padding:8px 4px}
}

/* Today cards: complete desktop styling and a softer, more distinct visual hierarchy. */
#shell .role-teacher .teacher-mobile-home{background:linear-gradient(135deg,#fff 45%,#f0f9fc);border-color:#c8e2ec;box-shadow:0 8px 24px #12375209}
#shell .role-teacher .mobile-home-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#shell .role-teacher .mobile-home-head h3{margin:3px 0 0;color:#123752}
#shell .role-teacher .mobile-home-head small{display:block;color:#526a80}
#shell .role-teacher .mobile-icon-action{position:relative;display:grid;place-items:center;width:44px;height:44px;border:1px solid #cbdfe9;border-radius:14px;background:#fff;color:#08758a;flex:none;box-shadow:0 3px 10px #12375208}
#shell .role-teacher .mobile-icon-action svg{width:22px;height:22px}
#shell .role-teacher .mobile-icon-action b{position:absolute;top:-5px;left:-5px;display:grid;place-items:center;min-width:20px;height:20px;border:2px solid #fff;border-radius:50%;background:#ae365c;color:#fff;font-size:10px}
#shell .role-teacher .teacher-mobile-alerts button{--today-accent:#158351;--today-soft:#effaf4;--today-line:#c7e7d4;display:flex;align-items:center;gap:12px;min-width:0;padding:15px 18px;border:1px solid var(--today-line);border-right:4px solid var(--today-accent);border-radius:17px;background:linear-gradient(120deg,#fff,var(--today-soft));color:#17344a;text-align:right;box-shadow:0 5px 14px #12375206;cursor:pointer;transition:box-shadow .15s,border-color .15s}
#shell .role-teacher .teacher-mobile-alerts button[data-go="homework"]{--today-accent:#966000;--today-soft:#fff8e9;--today-line:#efddb6}
#shell .role-teacher .teacher-mobile-alerts button>span{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:var(--today-soft);color:var(--today-accent);border:1px solid var(--today-line)}
#shell .role-teacher .teacher-mobile-alerts svg{width:23px;height:23px}
#shell .role-teacher .teacher-mobile-alerts small{display:block;color:#526a80;margin-bottom:4px}
#shell .role-teacher .teacher-mobile-alerts strong{display:block;color:#17344a}
#shell .role-teacher .teacher-mobile-alerts button:hover{box-shadow:0 7px 18px #12375212;border-color:var(--today-accent)}
#shell .role-teacher .teacher-today-card{--class-accent:#64768b;--class-soft:#f1f5f9;border:1px solid #d7e5ee;border-right:5px solid var(--class-accent);background:linear-gradient(120deg,#fff,var(--class-soft));box-shadow:0 4px 14px #12375207;opacity:1}
#shell .role-teacher .teacher-today-card.state-current{--class-accent:#158351;--class-soft:#edf9f2}
#shell .role-teacher .teacher-today-card.state-upcoming{--class-accent:#08758a;--class-soft:#edf8fc}
#shell .role-teacher .teacher-period{padding:10px 8px;border-radius:12px;background:var(--class-soft);text-align:center;color:var(--class-accent)}
#shell .role-teacher .teacher-period small{color:#526a80}
#shell .role-teacher .teacher-class-info{display:grid;gap:3px;min-width:0}
#shell .role-teacher .teacher-class-info span,#shell .role-teacher .teacher-class-info small{display:block;color:#526a80}
#shell .role-teacher .teacher-class-actions{grid-column:auto}
#shell .role-teacher .teacher-class-actions button{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px;border-radius:12px}
#shell .role-teacher .teacher-class-actions svg{width:17px;height:17px;flex:none}
#shell .role-teacher .mobile-empty-state{display:grid;gap:7px;text-align:center;border:1px solid #cce2ee;border-right:4px solid #5ba6bc;background:linear-gradient(120deg,#fff,#edf7fb);box-shadow:inset 0 1px #fff}
#shell .role-teacher .mobile-empty-state span{display:block;color:#526a80;font-size:12px}
#shell .role-teacher .mobile-empty-state button{justify-self:center;min-height:44px;margin-top:5px}
@media(max-width:760px){
 #shell .role-teacher .teacher-mobile-alerts button{padding:12px 10px;gap:8px}
 #shell .role-teacher .teacher-mobile-alerts button>span{width:36px;height:36px;border-radius:12px}
 #shell .role-teacher .teacher-mobile-alerts svg{width:20px;height:20px}
 #shell .role-teacher .teacher-class-actions{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){#shell .role-teacher .teacher-mobile-alerts button{transition:none}}

/* R21: the shell theme must color the visible manager cards as well as the metrics. */
@media(max-width:980px){
#shell .role-admin .admin-mobile-priority>button{background:#eaf3ff!important;border-color:#abc8ec!important;color:#17416b!important}
#shell .role-admin .admin-mobile-priority>[data-go="staff-attendance"]{background:#e5f6ef!important;border-color:#a0ceb9!important;color:#185c43!important}
#shell .role-admin .admin-mobile-priority>[data-go="finance"]{background:#fff1dc!important;border-color:#e8c78e!important;color:#785315!important}
#shell .role-admin .admin-mobile-priority>[data-go="notifications"]{background:#f1eafa!important;border-color:#c5b3dd!important;color:#624187!important}
#shell .role-admin .today-action-grid>button{background:#eaf3ff!important;border-color:#abc8ec!important}
#shell .role-admin .today-action-grid>button:nth-child(2){background:#fff1dc!important;border-color:#e8c78e!important}
#shell .role-admin .today-action-grid>button:nth-child(3){background:#e5f6ef!important;border-color:#a0ceb9!important}
#shell .role-admin .today-action-grid>button:nth-child(4){background:#f1eafa!important;border-color:#c5b3dd!important}
#shell .role-admin .today-action-grid>button:nth-child(5){background:#fcecef!important;border-color:#e3b1be!important}
#shell .role-admin .today-action-grid>button small,#shell .role-admin .today-action-grid>button strong{color:#28445d!important;opacity:1}
#shell .role-admin .role-launcher .role-action-grid>button{background:#eaf3ff!important;border-color:#abc8ec!important}
#shell .role-admin .role-launcher .role-action-grid>[data-action="finance"]{background:#e5f6ef!important;border-color:#a0ceb9!important}
#shell .role-admin .role-launcher .role-action-grid>[data-action="homework"],#shell .role-admin .role-launcher .role-action-grid>[data-action="assessments"]{background:#fff1dc!important;border-color:#e8c78e!important}
#shell .role-admin .role-launcher .role-action-grid>[data-action="messages"],#shell .role-admin .role-launcher .role-action-grid>[data-action="notifications"]{background:#f1eafa!important;border-color:#c5b3dd!important}
}


/* QA49: clear action-first homes across desktop and mobile browsers. */
#shell .simple-role-home{display:flex;flex-direction:column;gap:16px}
#shell .simple-role-home>.role-profile{margin:0;padding:14px 18px;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:18px}
#shell .simple-role-home .account-login-phone{display:none}
#shell .simple-role-home>.role-launcher{display:block!important;padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px}
#shell .simple-role-home .role-action-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}
#shell .simple-role-home .role-action-grid button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:108px;padding:12px 8px;background:#f8fbfd!important;border:1px solid #e2eaf0!important;border-radius:16px;text-align:center}
#shell .simple-role-home .role-action-grid button small{display:none}
#shell .simple-role-home .role-action-icon{width:42px;height:42px;border-radius:13px}
#shell .simple-role-home>.dashboard-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#shell .simple-role-home .parent-mobile-home{display:block!important;margin:0}
#shell .simple-role-home .ph-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}
#shell .simple-role-home .ph-card{min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 8px;gap:8px}
#shell .simple-role-home .ph-txt small{display:none}
#shell .simple-role-home .ph-finance .ph-txt small{display:block;font-size:11px;line-height:1.7}
#shell .home-report-details{border:1px solid var(--line);border-radius:16px;background:#fff;padding:16px}
#shell .home-report-details>summary{cursor:pointer;font-weight:800;padding:4px}
#shell .home-report-details[open]>summary{margin-bottom:16px}
@media(max-width:600px){#shell .simple-role-home .role-action-grid,#shell .simple-role-home .ph-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#shell .simple-role-home .role-action-grid button,#shell .simple-role-home .ph-card{min-height:100px;font-size:12px}#shell .simple-role-home .ph-finance .ph-txt small{font-size:10px}}


#shell .simple-role-home .ph-txt{min-width:0;width:100%} #shell .simple-role-home .ph-txt strong{white-space:normal!important;text-overflow:clip;overflow:visible;line-height:1.8;font-size:12px} #shell .simple-role-home .ph-finance .ph-txt small{display:none} #shell .simple-parent-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px} #shell .simple-parent-summary>button{display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:6px;min-width:0;border:1px solid var(--line);border-radius:14px;padding:12px;background:#f8fbfd} #shell .simple-parent-summary strong{font-size:13px;white-space:normal;line-height:1.8} #shell .simple-parent-summary small{color:var(--muted)}

#shell .simple-role-home>.role-profile .dashboard-school-name,#shell .simple-role-home>.role-profile .dashboard-date-card,#shell .simple-role-home>.role-profile .dashboard-date-card *{color:var(--text)!important} #shell .simple-role-home>.role-profile .profile-highlight{display:none} #shell .simple-role-home>.role-profile{min-height:0} #shell .simple-role-home .simple-parent-summary span{font-size:11px;line-height:1.8;overflow-wrap:anywhere}

.class-recipient-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;border:1px solid var(--line,#dbe5f0);border-radius:12px;padding:12px;min-width:0;margin:8px 0}.class-recipient-picker legend{font-size:13px;font-weight:700;padding:0 6px}.class-recipient-picker label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin:0!important;padding:10px!important;border-radius:9px;background:#f4f9fc;color:#17243a;min-height:44px}.class-recipient-picker input[type=checkbox]{width:20px!important;height:20px!important;flex:0 0 20px;accent-color:#08758a}.class-recipient-picker span{white-space:normal;overflow-wrap:anywhere}.class-recipient-count{display:block;font-size:13px;color:#31516c;margin:8px 0}.class-recipient-mode-panel{min-width:0}


/* QA50: concise correction history; completed requests have no review controls. */
.staff-request-history{display:grid;gap:14px;margin-block-start:14px}
.staff-request-history h4{margin:0 0 8px;font-size:1rem}
.staff-time-request-row{display:grid!important;gap:6px!important;min-height:0!important;padding:10px 12px!important;margin-block:8px!important;border-radius:12px!important}
.staff-time-request-row header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.staff-time-request-row p{margin:4px 0!important;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.staff-request-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.85rem;color:#465a6c;line-height:1.6}
.staff-request-status{font-size:.75rem;padding:3px 7px;border-radius:8px;background:#edf4f7;color:#294957}
.staff-request-status.pending{background:#fff3d9;color:#705017}.staff-request-status.approved{background:#e6f5ee;color:#22634a}
.staff-request-status.rejected{background:#fff0f1;color:#8d3041}
.staff-request-detail{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.staff-request-detail>summary{font-size:.85rem;cursor:pointer;color:#176579;padding:4px 0!important}
.staff-request-reason label{display:grid;gap:4px;font-size:.85rem}
.staff-request-reason textarea{min-height:60px!important}
.staff-request-archive{padding:10px 12px;border:1px solid #d1dfe7;border-radius:12px;background:#f7fafc}
.staff-request-archive>summary{cursor:pointer;font-weight:700;color:#294957}
.staff-request-archive-list{max-height:480px;overflow-y:auto;overscroll-behavior:contain;padding-block-start:8px}
.staff-request-empty{font-size:.9rem;color:#536b78;margin:4px 0}
.dashboard-class-activity:has(.activity-home){border:1px solid #bddde4;background:linear-gradient(135deg,#f4fbfc,#fff);margin-block:18px}
.dashboard-class-activity .activity-home{margin:0}


/* QA50: one teacher reminder card and an exact-task list. */
.teacher-task-card{margin-block:16px;border:1px solid #e2d4a9;border-radius:18px;background:linear-gradient(120deg,#fff9e9,#f6fcfc);overflow:hidden}
.teacher-task-card>button{display:flex;align-items:center;gap:12px;width:100%;text-align:right;padding:16px;border:0;background:transparent;color:#173b4d;cursor:pointer}
.teacher-task-card>button>span:nth-child(2){flex:1;display:grid;gap:5px}
.teacher-task-card strong{font-size:1.05rem}.teacher-task-card small{font-size:.85rem;color:#536976;line-height:1.6}
.teacher-task-mark,.teacher-task-card>button>b{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:#e6f4f6;color:#176579}
.teacher-task-card>button>b{background:#fff0c9;color:#705017}
.teacher-task-help{line-height:1.8;font-size:.9rem;color:#536976}
.teacher-task-list{display:grid;gap:8px}
.teacher-task-list>button{display:grid;gap:5px;border:1px solid #d4e2e7;border-radius:12px;padding:12px;text-align:right;background:#f8fbfc;color:#173b4d;cursor:pointer;overflow-wrap:anywhere}
.teacher-task-list>button span,.teacher-task-list>button small{font-size:.85rem;color:#536976}
.teacher-home-work>.teacher-agenda-details{background:#f8fbfc;border:1px solid #d4e2e7;border-radius:14px;padding:12px;margin-block:12px}
.teacher-agenda-details>summary{cursor:pointer;font-weight:700}

.dashboard-class-activity:has(.activity-home){border-radius:20px;padding:16px;overflow:hidden}
