/* Extreme simplicity: one job per teacher screen; attendance lives in the Live Book. */
.eg-quick-book,.eg-review-simple,.eg-admin-attendance,.eg-quick-empty{max-width:1080px;margin:0 auto 42px;color:#17243c}
.eg-quick-book-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;border-bottom:1px solid #e2e8f2;padding:14px 0 23px;margin-bottom:20px}
.eg-quick-book-header h1,.eg-quick-empty h1{font-size:clamp(1.55rem,3vw,2rem);letter-spacing:-.035em;margin:5px 0;color:#17243c}
.eg-quick-book-header p{color:#64748b;margin:0;line-height:1.5}
.eg-quick-book-header label{display:flex;flex-direction:column;gap:5px;font-size:.82rem;font-weight:750;color:#64748b;min-width:min(260px,100%)}
.eg-quick-book-header select,.eg-quick-book-header input{font:inherit;font-size:1rem;color:#17243c;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-height:43px;padding:9px 12px}
.eg-quick-list{display:grid;gap:9px}
.eg-quick-lesson{display:flex;align-items:center;gap:15px;width:100%;border:1px solid #e2e8f2;border-radius:13px;padding:14px 17px;background:white;text-align:left;color:#17243c;cursor:pointer;min-height:74px}
.eg-quick-lesson:hover,.eg-quick-lesson:focus-visible{border-color:#93b4ed;background:#f7faff}
.eg-quick-lesson-no{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:11px;background:#eef4ff;color:#2459e8;font-weight:850}
.eg-quick-lesson strong{display:block;font-weight:800;font-size:1rem;line-height:1.35}
.eg-quick-lesson small{display:block;color:#64748b;font-size:.78rem;margin-top:3px}
.eg-quick-arrow{margin-left:auto;color:#2459e8;font-size:1.2rem}
.eg-quick-empty{padding:30px;border:1px solid #e2e8f2;border-radius:14px;background:white}
.eg-quick-empty p,.eg-simple-note{color:#64748b;line-height:1.6}
.eg-simple-note{padding:12px 14px;border-radius:11px;border:1px solid #dbe5f5;background:#f8fbff}
.eg-review-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;color:#64748b;margin-bottom:14px}
.eg-review-roster{display:grid;gap:10px}
.eg-review-student{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid #e2e8f2;padding:15px 17px;border-radius:12px;background:white}
.eg-review-student strong{display:block;color:#17243c}
.eg-review-student small{display:block;margin-top:5px;color:#64748b}
.eg-review-student button{min-height:42px}
.eg-attend-button{white-space:nowrap;min-height:40px}
.eg-attendance-modal{width:min(100%,680px);max-height:min(80vh,740px);overflow-y:auto}
.eg-attendance-date{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:13px 0;border-bottom:1px solid #e2e8f2}
.eg-attendance-date label{display:grid;gap:5px;color:#64748b;font-size:.86rem;font-weight:750}
.eg-attendance-date input{min-height:43px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}
.eg-attendance-student{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e2e8f2;padding:12px 0}
.eg-attendance-student strong{min-width:0;overflow-wrap:anywhere;font-size:.94rem}
.eg-attendance-student select{border:1px solid #cbd5e1;background:#fff;color:#17243c;font:inherit;padding:8px 10px;border-radius:10px;min-height:42px;min-width:160px}
.eg-attendance-footer{display:flex;align-items:center;gap:15px;justify-content:space-between;flex-wrap:wrap;margin-top:20px}
.eg-attendance-footer p{color:#2459e8;font-size:.86rem;margin:0;flex:1}
.eg-attendance-footer button{min-height:44px}
.eg-attendance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.eg-attendance-metrics>div{padding:17px;background:#fff;border:1px solid #e2e8f2;border-radius:12px}
.eg-attendance-metrics strong{display:block;font-size:1.6rem;color:#17243c}
.eg-attendance-metrics span{display:block;font-size:.81rem;color:#64748b}
.eg-admin-attendance-list{display:grid;gap:11px}
.eg-admin-attendance-class{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:14px;border:1px solid #e2e8f2;background:white;border-radius:13px;padding:16px}
.eg-admin-attendance-class>div:first-child{min-width:0;flex:1}
.eg-admin-attendance-class strong,.eg-admin-attendance-class small{display:block}
.eg-admin-attendance-class strong{font-size:1rem}
.eg-admin-attendance-class small{color:#64748b;font-size:.82rem;margin-top:4px}
.eg-admin-attendance-class p{margin:9px 0 4px;color:#17243c;font-size:.91rem}
.eg-admin-attendance-detail{flex:0 0 100%;border-top:1px solid #e2e8f2;padding-top:14px}
.eg-admin-attendance-detail[hidden]{display:none!important}
.eg-attendance-detail-lesson h3{font-size:.98rem;color:#17243c;margin:7px 0 10px}
.eg-attendance-detail-lesson>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #f0f3f7;padding:8px 0;font-size:.91rem}
.eg-att-status{font-size:.81rem;text-transform:capitalize;color:#2459e8}
.eg-classes .eg-tabs{max-width:100%;gap:20px}
.eg-classes .eg-class-grid .eg-class-card{justify-content:space-between}
.eg-classes #teacherCreateClassRequest{min-height:44px;padding:10px 17px;border-radius:10px}
@media(max-width:680px){
 .eg-quick-book-header{align-items:stretch}
 .eg-quick-book-header label,.eg-quick-book-header select,.eg-quick-book-header input{width:100%}
 .eg-quick-lesson{padding:12px;gap:10px}
 .eg-review-student button,.eg-attendance-footer button{width:100%}
 .eg-attendance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eg-attendance-student{align-items:stretch;flex-direction:column}
 .eg-attendance-student select{width:100%}
 .eg-attendance-footer{align-items:stretch;flex-direction:column}
 .eg-attendance-footer p{width:100%}
 .eg-admin-attendance-class>button{width:100%}
 .eg-lesson-header-actions{display:flex;gap:6px;flex-wrap:wrap}
}


.eg-live-resume{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 16px;padding:16px 19px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px}
.eg-live-resume small{font-weight:850;letter-spacing:.05em;font-size:.73rem;color:#2459e8;display:block;margin-bottom:5px}
.eg-live-resume strong{display:block;color:#17243c;font-size:1.03rem}
.eg-live-resume p{margin:4px 0 0;color:#536b86;font-size:.86rem}
.eg-live-resume button{min-height:44px}
@media(max-width:680px){.eg-live-resume button{width:100%}}
