:root{--emerald:#074c3e;--emerald2:#06382e;--gold:#e9c477;--paper:#f7faf7;--ink:#193e35;--muted:#657e73;--border:#dce9df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7faf6;color:var(--ink);font-family:Amiri,Georgia,serif;font-size:17px;line-height:1.65}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d5a949;outline-offset:3px}.hub-head{height:88px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px clamp(14px,4vw,55px);background:white;border-bottom:1px solid var(--border)}.hub-brand{display:flex;align-items:center;gap:13px}.hub-brand img{width:54px;height:54px;object-fit:cover;border-radius:50%}.hub-brand strong{display:block;font-size:24px;line-height:1.1}.hub-brand small{font:10px Arial,sans-serif;letter-spacing:2px;color:var(--muted)}.hub-head-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hub-head-actions a{font-weight:700;background:#f1f7f2;border:1px solid var(--border);border-radius:12px;padding:6px 14px}.hub-main{max-width:1300px;margin:0 auto;padding:25px clamp(12px,3vw,36px) 60px}.hub-breadcrumb{color:var(--muted);font-size:14px;margin-bottom:14px}.hub-breadcrumb span{margin-inline:8px}.hub-hero{background:radial-gradient(circle at 90% 0,rgba(77,148,112,.33),transparent 42%),linear-gradient(135deg,#075041,#04372e);color:white;border-radius:26px;min-height:165px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 13px 33px #123c301f}.hub-hero img{width:100px;height:100px;object-fit:cover;border:5px solid var(--gold);border-radius:50%;box-shadow:0 9px 25px #001f1780}.hub-eyebrow,.hub-kicker{color:#ab7d36;font-size:14px;font-weight:700}.hub-eyebrow{color:var(--gold)}.hub-hero h1{font-size:clamp(24px,3vw,39px);margin:2px 0}.hub-hero p{margin:0;color:#dcebe5}.hub-status{padding:14px 18px;background:#fff8ec;border:1px solid #efd7ac;border-radius:14px;margin-top:19px}.hub-status:empty{display:none}.hub-surface{background:#fff;border:1px solid var(--border);border-radius:22px;padding:24px;margin-top:20px;box-shadow:0 12px 30px #123a2e0a}.hub-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.hub-section-title h2{font-size:26px;margin:0}.hub-section-title p{color:var(--muted);margin:0;font-size:15px}.hub-section-title>a{border:1px solid #b4d3c2;padding:8px 14px;border-radius:12px;color:var(--emerald);font-weight:700;white-space:nowrap}.hub-accent-icon{font-size:38px;color:var(--emerald)}.hub-search-label{display:block;font-weight:700;margin-bottom:7px}.hub-surface input[type=search],.hub-field input,.hub-field textarea{width:100%;border:1px solid #bfd8c8;border-radius:12px;padding:11px 15px;background:#fcfefd;color:var(--ink);min-height:49px}.hub-results{margin-top:9px;display:grid;gap:7px}.hub-result{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e2eee4;border-radius:12px;padding:10px 14px}.hub-result:hover,.hub-row:hover{background:#f6faf7}.hub-result small{display:block;color:var(--muted)}.hub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:19px}.hub-kpi{background:#fff;border:1px solid var(--border);border-radius:17px;padding:18px 19px;box-shadow:0 9px 21px #173f2908}.hub-kpi .hub-kpi-icon{font-size:23px}.hub-kpi b{display:block;font:700 29px Amiri,serif;color:var(--emerald);line-height:1.4}.hub-kpi span:last-child{font-size:14px;color:var(--muted)}.hub-tasks{display:grid;gap:9px}.hub-task{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e4ebe4;border-radius:13px}.hub-task strong{background:#f6f1e4;color:#906a24;border-radius:10px;padding:2px 11px;min-width:36px;text-align:center}.hub-task span{flex:1}.hub-mini-title{margin:24px 2px 12px;font-size:25px}.hub-quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.hub-quick-links a{border:1px solid #dce9df;border-radius:16px;background:#fff;padding:15px 12px;font-weight:700;text-align:center;display:grid;gap:7px;transition:transform .13s,box-shadow .13s}.hub-quick-links a:hover{transform:translateY(-2px);box-shadow:0 9px 25px #133b2d12}.hub-quick-links .hub-link-icon{font-size:28px;color:var(--emerald)}.hub-next{margin-top:20px;background:radial-gradient(circle at 10% 40%,#11634f,transparent 60%),linear-gradient(135deg,#065442,#023329);color:white;border-radius:25px;padding:30px;min-height:245px}.hub-next-kicker{color:var(--gold)}.hub-next h2{font-size:31px;margin:12px 0}.hub-next p{color:#e8f4ee}.hub-gold-button{display:inline-flex;align-items:center;justify-content:center;color:#183f32!important;background:var(--gold);border:0;border-radius:13px;padding:11px 25px;font-weight:700;min-height:46px}.hub-next-note{font-size:14px}.hub-list{display:grid;gap:9px}.hub-row{padding:13px 14px;border:1px solid #e3eee5;border-radius:12px;background:#fbfdfb;display:flex;gap:13px;justify-content:space-between;align-items:center}.hub-row-main{flex:1;min-width:0}.hub-row strong{display:block;color:var(--emerald)}.hub-row small{color:var(--muted);display:block;font-size:13px}.hub-row>a,.hub-row>button{background:#e6f3eb;color:var(--emerald);border:1px solid #b8d9c5;border-radius:10px;padding:7px 12px;white-space:nowrap;min-height:42px}.hub-row a:hover{background:#d6ebdd}.hub-occupancy{width:130px;max-width:36%;text-align:left}.hub-meter{height:9px;background:#e5ece7;border-radius:100px;overflow:hidden}.hub-meter>span{display:block;height:100%;background:#0b6650}.hub-meter>span.high{background:#bd8235}.hub-muted{color:var(--muted)}.hub-secondary,.hub-primary{border-radius:12px;padding:10px 17px;min-height:45px;cursor:pointer}.hub-secondary{background:#fff;color:var(--emerald);border:1px solid #9ac4ae}.hub-primary{background:var(--emerald);color:white;border:0}.hub-surface #exportGroups{margin-top:13px}.hub-student-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hub-student-cards a{text-align:center;padding:17px;border:1px solid #d7e7dc;border-radius:14px;background:#f8fbf7;font-weight:700}.hub-footer{text-align:center;color:var(--muted);padding:16px;font-size:13px}.hub-dialog{border:1px solid #cddfd1;border-radius:22px;max-width:690px;width:calc(100vw - 30px);max-height:87vh;overflow:auto;box-shadow:0 20px 60px #01241955;padding:24px;background:#fff}.hub-dialog::backdrop{background:#001c168f}.hub-dialog-head{display:flex;align-items:center;justify-content:space-between}.hub-dialog-head h2{margin:0}.hub-dialog-head button{border:0;background:#eff5f0;border-radius:9px;font-size:25px;padding:0 14px;cursor:pointer}.hub-field{display:block;margin:12px 0}.hub-field input,.hub-field textarea{display:block;margin-top:5px}.hub-dialog-actions{display:flex;gap:9px;margin-top:18px;flex-wrap:wrap}.hub-attendance-line{display:grid;grid-template-columns:minmax(0,1fr) 155px;align-items:center;gap:10px;padding:7px;border-bottom:1px solid #e7ede8}.hub-attendance-line select{border:1px solid #b9d4c3;border-radius:9px;padding:8px;background:white;min-height:42px}#attendanceRoster{max-height:38vh;overflow:auto}.hub-bulk{margin:12px 0}.hub-empty{border:1px dashed #cddfd3;border-radius:13px;padding:18px;text-align:center;color:var(--muted)}.hub-tasks a:focus-visible,.hub-row a:focus-visible{outline-offset:4px}@media(min-width:1100px){.role-nav-global>main{margin-inline-start:280px;max-width:calc(100% - 310px)}}@media(max-width:1090px){.hub-head{height:auto;min-height:78px}.hub-head-actions{margin-inline-start:90px}.hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.hub-head{padding:10px 12px}.hub-brand img{width:42px;height:42px}.hub-brand strong{font-size:18px}.hub-head-actions a{font-size:13px;padding:5px 8px}.hub-hero{padding:18px}.hub-hero img{width:58px;height:58px;border-width:3px}.hub-hero h1{font-size:23px}.hub-surface{padding:16px}.hub-kpis{gap:7px}.hub-kpi{padding:12px}.hub-kpi b{font-size:24px}.hub-section-title{flex-wrap:wrap}.hub-row{flex-wrap:wrap}.hub-student-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-attendance-line{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
@media print{.role-sidebar,.role-nav-toggle,.hub-head-actions,#adminSearchPanel,#hubQuick,#hubTasks,#hubAudit,.hub-footer,.hub-dialog,#exportGroups{display:none!important}.hub-main{margin:0;max-width:none!important}.hub-surface{box-shadow:none;break-inside:avoid}}

.hub-progress{display:block;width:min(500px,100%);height:17px;accent-color:#0b6650;margin-top:9px}.hub-progress::-webkit-progress-bar{background:#e0eee4;border-radius:100px}.hub-progress::-webkit-progress-value{background:#0b6650;border-radius:100px}

/* V7.23 — Accessible, persistent 4-action navigation for small screens. */
.hub-mobilebar[hidden]{display:none!important}.hub-mobilebar{display:none}
@media(max-width:620px){.hub-main{padding-bottom:110px}.hub-mobilebar:not([hidden]){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:45;bottom:0;right:0;left:0;padding:8px 6px max(9px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #cfe2d5;box-shadow:0 -8px 30px #143a2c15}.hub-mobilebar a{display:grid;justify-items:center;gap:1px;min-height:56px;min-width:0;border-radius:10px;padding:3px;text-decoration:none;color:#235445}.hub-mobilebar a[aria-current=page]{background:#e9f3ed;color:#074c3e;font-weight:700}.hub-mobilebar a span{font:24px/1.2 system-ui}.hub-mobilebar a small{font:700 14px/1.3 Amiri,serif}}
@media print{.hub-mobilebar{display:none!important}}

/* V7.41 */
#nextCountdown{color:#f4d997;font-weight:700;font-size:17px;line-height:1.5}.hub-attendance-line{grid-template-columns:minmax(0,1fr) 140px minmax(150px,1fr)}.hub-student-feedback{min-height:39px;border:1px solid #bdd8c8;border-radius:9px;padding:8px;width:100%;max-width:100%;background:#fff}@media(max-width:650px){.hub-attendance-line{grid-template-columns:1fr 1fr}.hub-student-feedback{grid-column:1/-1}}

/* V7.75 — streamlined daily actions; responsive, accessible statuses. */
.hub-task-desc{display:block;font-size:13px;color:#557466;margin-top:3px}.hub-task em{font-style:normal;font-weight:700;white-space:nowrap;color:#09614e}
.hub-text-link{color:#f7df9b;text-decoration:underline;text-underline-offset:4px;font-weight:700}.hub-text-link:hover{color:#fff}
#teacherFinish{border-color:#b8d9c5;background:#f9fcf9}#teacherFinish .hub-primary{white-space:normal;font-weight:700}
#refreshActionTasks:disabled,#saveAttendance:disabled{opacity:.6;cursor:wait}
#taskHint{font-size:14px}
@media(max-width:620px){.hub-task{flex-wrap:wrap;gap:7px}.hub-task em{margin-inline-start:auto}.hub-row>button{white-space:normal}#teacherFinish .hub-row>button{width:100%}.hub-hero{min-width:0}}
