/* Only teacher Student Management HW/CW. Fee/Admin, Chat, Group and student views keep their styles. */
.teacherHubDesign{--hub-ink:#132540;--hub-muted:#617286;--hub-teal:#16768a;--hub-line:#d5e1eb;--hub-soft:#f3f7fb;background:#edf4fc;color:var(--hub-ink);font-family:Arial,sans-serif}
.teacherHubDesign *{box-sizing:border-box}
.teacherHubDesign [hidden]{display:none!important}
.teacherHubDesign svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.teacherHubDesign button,.teacherHubDesign input,.teacherHubDesign select,.teacherHubDesign textarea{font-family:inherit}
.teacherHubDesign button:focus-visible,.teacherHubDesign summary:focus-visible,.teacherHubDesign input:focus-visible,.teacherHubDesign textarea:focus-visible,.teacherHubDesign select:focus-visible{outline:3px solid #55b9c8;outline-offset:2px}
.teacherHubDesign .classHubHead{display:flex;flex:0 0 auto;align-items:center;gap:4px;padding:env(safe-area-inset-top,0px) max(5px,env(safe-area-inset-right)) 0 max(5px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid var(--hub-line);box-shadow:none;backdrop-filter:none;min-height:0}
.teacherHubDesign .classHubTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;flex:1;max-width:760px;margin:0 auto;min-width:0}
.teacherHubDesign .classHubTabBtn{height:54px;min-height:48px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;font-size:15px;font-weight:500;color:var(--hub-ink);padding:12px 6px;box-shadow:none}
.teacherHubDesign .classHubTabBtn.active{color:var(--hub-teal);border-bottom-color:var(--hub-teal);font-weight:700;background:transparent;box-shadow:none}
.teacherHubDesign .classHubTabBtn{position:relative}
.teacherHubDesign .classHubTabBtn .privateTeacherChatUnreadBadge{position:absolute;top:3px;right:2px;min-width:15px;height:15px;padding:0 3px;margin:0;font-size:9px;box-shadow:none;border-width:1px}
.teacherHubDesign .classHubTabBtn.hasUnread:after{display:none}
.teacherHubDesign .classHubTabBtn .friendsGroupUnreadDot{top:4px;right:3px;width:7px;height:7px;border-width:1px;box-shadow:none}
.teacherHubDesign #classHubCloseBtn{order:0;width:44px;min-width:44px;height:48px;flex:none;border:0;border-radius:7px;background:transparent;color:var(--hub-ink);display:grid;place-items:center;margin:0;padding:10px}
.teacherHubDesign .classHubTabs{order:1}
.teacherHubDesign #classHubDiamondBtn{order:2;flex:0 0 44px;width:44px;min-width:44px;height:48px;margin:0;padding:7px;box-shadow:none;transform:none;display:grid;place-items:center}
html.protivaIosNativeShell .teacherHubDesign .classHubHead{padding-top:env(safe-area-inset-top,0px)}
.teacherHubDesign .classHubBody{padding:18px 14px 0;min-height:0}
.teacherHubDesign .classHubPane{overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none}
.teacherHubDesign .classHubCwWrap{max-width:720px;gap:18px;padding-bottom:36px;overflow:visible}
.teacherHubDesign .classHubCwCard{border:1px solid var(--hub-line);border-radius:12px;background:#fff;padding:20px;gap:15px;box-shadow:0 2px 6px #13254003;overflow:visible}
.teacherHubDesign .classHubCwTitle{font-size:22px;font-weight:700;line-height:1.3;color:var(--hub-ink)}
.teacherHubDesign .classHubCwTitleRow{margin-bottom:0}
.teacherHubDesign .classHubCwMeta{font-size:13px;font-weight:400;line-height:1.5;color:var(--hub-muted)}
.teacherHubDesign .classHubCwGrid{gap:13px}
.teacherHubDesign .classHubCwGrid.hubClassTiming{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.teacherHubDesign .hubClassTiming .classHubCwField{min-width:0}
.teacherHubDesign .hubClassTiming .classHubCwInput,.teacherHubDesign .hubClassTiming .classHubCwSelect{width:100%;min-width:0;max-width:100%;padding-left:6px;padding-right:6px}
.teacherHubDesign .classHubCwField{text-transform:none;font-size:14px;font-weight:500;color:var(--hub-ink);gap:7px}
.teacherHubDesign .classHubCwInput,.teacherHubDesign .classHubCwSelect{min-height:45px;border:1px solid var(--hub-line);border-radius:7px;padding:9px 12px;font-size:16px;font-weight:400;text-align:left;color:var(--hub-ink);background:#fff}
.teacherHubDesign .classHubCwPickBtn{display:flex;flex-direction:column;gap:8px;width:100%;min-height:140px;border:1px solid var(--hub-line);border-radius:8px;background:#fcfdff;padding:22px;color:var(--hub-ink);font-size:15px;box-shadow:none}
.teacherHubDesign .classHubCwPickBtn svg{width:37px;height:37px;margin-bottom:3px;stroke-width:1.4}
.teacherHubDesign .classHubCwPickBtn strong{font-size:16px;font-weight:600}
.teacherHubDesign .classHubCwPickBtn>span{font-size:13px;font-weight:400;color:var(--hub-muted)}
.teacherHubDesign .hubOptionsLabel{font-size:14px;font-weight:600;margin-top:1px}
.teacherHubDesign .hubClassOptions{border:1px solid var(--hub-line);border-radius:8px;overflow:hidden}
.teacherHubDesign .classHubCwNoRecording{border:0;border-radius:0;min-height:47px;gap:12px;padding:11px 13px;font-size:14px;font-weight:400;box-shadow:none;color:var(--hub-ink);background:#fff}
.teacherHubDesign .classHubCwNoRecording+.classHubCwNoRecording{border-top:1px solid #e8eef4}
.teacherHubDesign .classHubCwNoRecording input{width:21px;height:21px;accent-color:var(--hub-teal)}
.teacherHubDesign .classHubCwActions.hubUploadAction{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.teacherHubDesign .classHubCwBtn{min-height:38px;border:1px solid var(--hub-line);border-radius:7px;background:#fff;font-size:13px;font-weight:500;color:var(--hub-teal);box-shadow:none;padding:8px 10px}
.teacherHubDesign .classHubCwBtn.primary{min-height:45px;border-color:var(--hub-teal);background:var(--hub-teal);color:#fff;font-size:16px;font-weight:600;box-shadow:none}
.teacherHubDesign .classHubCwBtn.primary.sent{background:#188457;border-color:#188457}
.teacherHubDesign .classHubCwStatusLine{font-size:13px;font-weight:400;line-height:1.4;color:var(--hub-muted);min-height:0}
.teacherHubDesign .classHubCwStatusLine:empty{display:none}
.teacherHubDesign .classHubCwSelectedPreview,.teacherHubDesign .classHubCwExistingPreview{border:1px solid var(--hub-line);background:#f6f9fc;border-radius:8px;padding:8px;gap:9px}
.teacherHubDesign .hubSelectedSheet{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto;gap:6px 10px;align-items:center;min-height:82px}
.teacherHubDesign .hubSelectedSheet>.classHubCwPreviewThumb,.teacherHubDesign .hubSelectedSheet>.classHubCwExistingThumb{grid-column:1;grid-row:1/3;width:58px;height:64px;border:1px solid var(--hub-line);border-radius:6px}
.teacherHubDesign .hubSelectedSheet>.classHubCwSelectedName,.teacherHubDesign .hubSelectedSheet>.classHubCwExistingName{grid-column:2;grid-row:1;font-size:12px;font-weight:500;color:var(--hub-ink);min-width:0;overflow:hidden;text-overflow:ellipsis}
.teacherHubDesign .hubSelectedSheetTools{grid-column:2;grid-row:2;display:flex;align-items:center;gap:7px;min-width:0}
.teacherHubDesign .hubSelectedSheet .classHubCwPickBtn{width:36px;min-width:36px;height:34px;min-height:34px;padding:6px;gap:0;border-radius:6px;background:#fff}
.teacherHubDesign .hubSelectedSheet .classHubCwPickBtn svg{width:19px;height:19px;margin:0}
.teacherHubDesign .hubSelectedSheet .classHubCwSmallBtn,.teacherHubDesign .hubSelectedSheet .classHubCwRemoveBtn{min-height:34px;margin:0}
.teacherHubDesign .classHubCwSmallBtn,.teacherHubDesign .classHubCwRemoveBtn{color:var(--hub-teal);border-color:var(--hub-line);border-radius:6px;background:#fff;font-weight:500}
.teacherHubDesign .hubDateTools{display:grid;gap:9px}
.teacherHubDesign .hubDateLabel{font-size:13px;color:var(--hub-muted)}
.teacherHubDesign .hubDateInput{display:flex;align-items:center;border:1px solid var(--hub-line);border-radius:7px;min-width:0}
.teacherHubDesign .classHubCwSearchDate{width:100%;max-width:none;min-height:43px;height:auto;border:0;border-radius:7px;padding:9px 12px;background:transparent;font-size:15px;font-weight:400;color:var(--hub-ink)}
.teacherHubDesign .hubDateClear{border:0;background:transparent;color:var(--hub-muted);width:40px;min-height:42px;flex:none}
.teacherHubDesign .hubDateShortcuts{display:flex;gap:8px}
.teacherHubDesign .hubPill{min-height:34px;padding:6px 17px;background:#f5f8fb;color:#52677a;border:1px solid var(--hub-line);border-radius:20px;font-size:13px}
.teacherHubDesign .hubPill.active{background:#e9f4f6;border-color:#9ec9d0;color:var(--hub-teal)}
.teacherHubDesign .classHubCwList{gap:12px;overflow:visible}
.teacherHubDesign .classHubCwDayGroup{gap:0;border:1px solid var(--hub-line);border-radius:9px;overflow:visible;background:#fff}
.teacherHubDesign .classHubCwDayHead{border:0;border-radius:9px;background:#f3f7fb;min-height:44px;padding:10px 12px;gap:10px;font-weight:600}
.teacherHubDesign .classHubCwDayHead .classHubCwDayName{font-size:14px!important;color:var(--hub-ink)!important;flex:1}
.teacherHubDesign .classHubCwDayHead span{color:var(--hub-muted);font-size:12px;font-weight:400}
.teacherHubDesign .classHubCwDayHead b{background:none;box-shadow:none;color:var(--hub-teal)}
.teacherHubDesign .classHubCwDayGroup:not(.collapsed) .classHubCwDayHead b svg{transform:rotate(180deg)}
.teacherHubDesign .classHubCwGroupRows{gap:0}
.teacherHubDesign .classHubCwItem{position:relative;grid-template-columns:74px minmax(0,1fr);align-items:start;gap:11px;border:0;border-top:1px solid #e4ebf2;border-radius:0;background:#fff;padding:13px 12px;overflow:visible}
.teacherHubDesign .classHubCwItem:last-child{border-radius:0 0 9px 9px}
.teacherHubDesign .classHubCwThumbBtn,.teacherHubDesign .classHubCwThumb{width:74px;height:82px;border:1px solid #e2e8ee;border-radius:6px;box-shadow:none;object-fit:cover}
.teacherHubDesign .classHubCwItem .classHubCwTitle{font-size:17px;padding-right:25px;line-height:1.3}
.teacherHubDesign .classHubCwItem .classHubCwMeta{font-size:13px;margin-top:3px}
.teacherHubDesign .classHubCwItem .classHubCwMeta{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.teacherHubDesign .hubRowDate{font-size:11px;color:var(--hub-muted)}
.teacherHubDesign .hubRecordingState{display:flex;gap:6px;align-items:center;color:#788798;font-size:12px;margin-top:6px}
.teacherHubDesign .hubRecordingState:before{content:'';height:7px;width:7px;border-radius:50%;background:#98a8b7}
.teacherHubDesign .hubRecordingState.linked{color:#16804c}
.teacherHubDesign .hubRecordingState.linked:before{background:#16804c}
.teacherHubDesign .classHubCwItem .classHubCwActions{grid-column:1/-1;gap:4px;margin-top:9px;display:flex;flex-wrap:wrap}
.teacherHubDesign .classHubCwItem>div>.classHubCwActions{margin-left:-85px;margin-top:15px;padding-top:8px;border-top:1px solid #e9eef3}
.teacherHubDesign .hubViewSheet,.teacherHubDesign .hubViewRecording{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:4px;min-height:38px;padding:6px;font-size:12px;color:var(--hub-teal);white-space:nowrap}
.teacherHubDesign .hubViewSheet svg{width:18px;height:18px}
.teacherHubDesign .cwRecordingGroup{height:auto;min-height:38px;width:auto;max-width:100%;gap:4px;flex-wrap:wrap}
.teacherHubDesign .cwRecordingGroup>.classHubCwRecordBtn{height:auto;flex:none;border:0;background:transparent;box-shadow:none;color:var(--hub-teal);font-size:12px;font-weight:400;min-height:38px;padding:6px;white-space:nowrap}
.teacherHubDesign .cwRecordingIcon{border:0;background:transparent;border-radius:4px;color:var(--hub-teal);width:32px;min-width:32px;min-height:38px;padding:6px}
.teacherHubDesign .cwRecordingIcon.hubAddRecording{width:auto;font-size:12px;white-space:nowrap}
.teacherHubDesign .hubRowMenu{position:absolute;right:8px;top:11px;z-index:1}
.teacherHubDesign .hubRowMenu[open]{z-index:4}
.teacherHubDesign .hubRowMenu>summary{display:grid;place-items:center;list-style:none;width:28px;height:32px;color:var(--hub-muted);cursor:pointer;border-radius:5px}
.teacherHubDesign .hubRowMenu>summary::-webkit-details-marker{display:none}
.teacherHubDesign .hubRowMenuItems{position:absolute;right:0;top:35px;width:172px;display:grid;padding:5px;background:#fff;border:1px solid var(--hub-line);border-radius:8px;box-shadow:0 8px 22px #13254017}
.teacherHubDesign .hubRowMenuItems .classHubCwBtn{width:100%;height:auto;min-height:40px;border:0;border-radius:4px;display:flex;gap:9px;justify-content:flex-start;text-align:left;font-size:12px;font-weight:400}
.teacherHubDesign .hubRowMenuItems .classHubCwDeleteBtn{color:#a5434d;background:#fff}
.teacherHubDesign .hubEmpty{padding:20px 10px;color:var(--hub-muted);font-size:14px}
.teacherHubDesign .classHubHwShell{max-width:760px;gap:0}
.teacherHubDesign .classHubHwHead{display:block;border:1px solid var(--hub-line);border-bottom:0;border-radius:11px 11px 0 0;background:#fff;padding:0;box-shadow:none}
.teacherHubDesign .classHubHwTabs{gap:0;padding:0;border:0;border-radius:11px 11px 0 0;background:#f8fbfd}
.teacherHubDesign .classHubHwTabBtn{border-radius:0;border-bottom:3px solid transparent;color:#5d7284;font-size:14px;font-weight:400;min-height:48px;padding:11px 5px;white-space:normal}
.teacherHubDesign .classHubHwTabBtn.active{color:var(--hub-teal);background:#fff;box-shadow:none;font-weight:600;border-bottom-color:var(--hub-teal)}
.teacherHubDesign .classHubHwContent{border-radius:0 0 11px 11px;background:#fff;padding:16px;border-color:var(--hub-line);overflow-y:auto;overflow-x:hidden;overflow-anchor:none;scrollbar-gutter:stable}
.teacherHubDesign #homeworkPlannerModal.classHubEmbedded{position:static!important;width:100%;height:auto;min-height:0;max-height:none;overflow:visible!important;padding:0!important;background:transparent!important}
.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .homeworkSheet{overflow:visible;max-height:none;height:auto;min-height:0;padding:0}
.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .form{padding:0;overflow:visible;max-height:none;background:transparent;display:flex;flex-direction:column;gap:10px}
.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .form>.homeworkMetaRow,.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .form>.homeworkValidityBox,.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .form>.homeworkSearchBox,.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .form>.hubCloudSummary,.teacherHubDesign #homeworkPlannerModal.classHubEmbedded .form>.teacherMonthlyHomework{margin:0}
.teacherHubDesign .homeworkModalHead{display:flex;justify-content:flex-end;align-items:center;padding:0;border:0;background:transparent;margin:0 0 10px}
.teacherHubDesign .homeworkTitleWrap{display:flex;align-items:center;justify-content:flex-end;width:100%;gap:8px}
.teacherHubDesign .homeworkScissorBtn{width:32px;height:32px;background:#fff;border:1px solid var(--hub-line);border-radius:6px;color:#6d7f8f;box-shadow:none}
.teacherHubDesign .homeworkScissorBtn svg{width:17px;height:17px}
.teacherHubDesign .homeworkMetaRow{gap:6px;margin-bottom:10px;font-size:12px;color:var(--hub-muted)}
.teacherHubDesign .homeworkMetaRow #homeworkPlannerMeta{font-size:11px;color:var(--hub-muted);font-weight:400;line-height:1.5}
.teacherHubDesign .hubCloudSummary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;margin:2px 0 9px;color:#19714e;font-size:12px;line-height:1.5}
.teacherHubDesign .hubCloudSummary strong{font-weight:500}
.teacherHubDesign .hubCloudSummary>span{color:var(--hub-muted)}
.teacherHubDesign .hubCloudSummary .hubPending{width:100%;color:#9a681d}
.teacherHubDesign .homeworkValidityBox{border:1px solid var(--hub-line);border-radius:8px;background:#fff;padding:10px 12px;margin:12px 0}
.teacherHubDesign .homeworkValidityBox label{color:var(--hub-muted);font-size:12px;font-weight:400}
.teacherHubDesign .homeworkReadonlyDate{border:0;background:transparent;padding:4px 0 0;min-height:0;font-size:14px;font-weight:500;color:var(--hub-ink)}
.teacherHubDesign .homeworkModalHead,.teacherHubDesign .homeworkMetaRow,.teacherHubDesign #plannerMonthlyHomeworkTask,.teacherHubDesign #homeworkReminderBanner,.teacherHubDesign #homeworkProgressPanel,.teacherHubDesign #homeworkUploadSummary{display:none!important}
.teacherHubDesign .homeworkValidityBox{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto auto;column-gap:10px;align-items:center;margin-top:0}
.teacherHubDesign .homeworkValidityBox label{grid-column:1;grid-row:1}
.teacherHubDesign .homeworkValidityBox #homeworkVisibleTillDate{grid-column:1;grid-row:2}
.teacherHubDesign .homeworkValidityBox #homeworkClearDraftBtn{grid-column:2;grid-row:1/3;width:44px;height:44px;margin:0;padding:10px}
.teacherHubDesign .homeworkCell>.meta:not(.error){display:none!important}
.teacherHubDesign .homeworkPublishBar #hubCloudSummary{margin:0;font-size:11px}
.teacherHubDesign .hubSaveError{width:100%;color:#b33b48}
.teacherHubDesign .homeworkSearchBox{display:flex;gap:7px;margin:12px 0}
.teacherHubDesign .homeworkSearchBox input,.teacherHubDesign .homeworkTeacherSearchInput{width:100%;max-width:none;min-width:0;min-height:42px;font-size:14px;font-weight:400;border:1px solid var(--hub-line);border-radius:7px;background:#f8fbfd;padding:10px 12px;color:var(--hub-ink)}
.teacherHubDesign .homeworkTinyBtn{border:1px solid var(--hub-line);border-radius:7px;padding:7px 10px;min-height:34px;background:#fff;color:var(--hub-teal);font-size:12px;font-weight:500;box-shadow:none}
.teacherHubDesign .homeworkTinyBtn.active{background:var(--hub-teal);border-color:var(--hub-teal);color:#fff}
.teacherHubDesign .homeworkLevelBlock{border:1px solid var(--hub-line);border-radius:8px;padding:0;margin:0 0 10px;background:#fff;overflow:hidden;box-shadow:none}
.teacherHubDesign .homeworkLevelTitle{padding:0;margin:0;background:#f6f9fc;color:var(--hub-ink);font-size:15px;font-weight:600}
.teacherHubDesign .hubDisclosure{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;min-height:43px;padding:10px 12px;cursor:pointer}
.teacherHubDesign .hubDisclosure svg{width:17px;height:17px;color:var(--hub-teal)}
.teacherHubDesign .hubDisclosure[aria-expanded=true]>svg{transform:rotate(180deg)}
.teacherHubDesign .homeworkSlotCard{margin:0;border:0;border-top:1px solid #e4ebf2;border-radius:0;background:#fff;padding:0;box-shadow:none;scroll-margin-top:12px}
.teacherHubDesign .homeworkSlotHead{padding:0;background:#fff;gap:0;font-size:14px;font-weight:600;margin:0;color:var(--hub-ink)}
.teacherHubDesign .homeworkSlotHead .hubDisclosure>span:nth-child(2){margin-left:auto;color:var(--hub-muted);font-size:11px;font-weight:400}
.teacherHubDesign .homeworkCellGrid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px;padding:0 12px 13px}
.teacherHubDesign .homeworkCell{min-width:0;border:1px solid #e0e8ef;border-radius:7px;background:#fff;padding:7px;box-shadow:none}
.teacherHubDesign .homeworkCell{position:relative}
.teacherHubDesign .hubCellEdit{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--hub-line);border-radius:6px;background:#ffffffed;color:var(--hub-teal);box-shadow:0 1px 3px #1325400a}
.teacherHubDesign .hubCellEdit svg{width:17px;height:17px}
.teacherHubDesign .hubCaptionPreview{font-size:11px;line-height:1.45;min-height:31px;color:var(--hub-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin-top:6px}
.teacherHubDesign .homeworkCell>.meta{display:block;font-size:10px;font-weight:400;line-height:1.4;color:#327762;margin-top:5px}
.teacherHubDesign .homeworkCell>.meta.uploading{color:#986817}
.teacherHubDesign .homeworkCell>.meta.error{color:#b33b48}
.teacherHubDesign .homeworkCell.hubEditingCell{grid-column:1/-1;background:#f9fcfe}
.teacherHubDesign .hubEditingCell .homeworkThumbPreviewBtn{width:112px;height:112px;aspect-ratio:1}
.teacherHubDesign .hubCellEditor{min-width:0}
.teacherHubDesign .homeworkCellTitle{font-size:12px;font-weight:500;color:var(--hub-muted);margin:0 0 6px}
.teacherHubDesign .homeworkThumbPreviewBtn{display:block;width:100%;height:auto;padding:0;margin:0 0 7px;border:1px solid #e1e7ed;border-radius:6px;aspect-ratio:1;background:#f8fbfd;overflow:hidden;box-shadow:none}
.teacherHubDesign .homeworkThumbPreview{width:100%;height:100%;max-height:none;object-fit:cover;display:block}
.teacherHubDesign .hubCaptionLabel{display:block;margin:6px 0;font-size:12px;font-weight:500;color:var(--hub-ink)}
.teacherHubDesign .homeworkStepsHeading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0}
.teacherHubDesign .homeworkStepsButton{min-height:32px;white-space:nowrap;color:#5c427f}
.teacherHubDesign .homeworkStepsButton:disabled{opacity:.55}
.teacherHubDesign .homeworkStepsStatus{margin-top:5px;font-size:12px;color:var(--hub-ink)}
.teacherHubDesign .homeworkStepsHeading+textarea.homeworkInstructionInput{overflow-y:auto}
.teacherHubDesign textarea.homeworkStepsWorking{animation:homeworkStepsGlow 1.4s ease-in-out infinite alternate;box-shadow:0 0 0 2px #b8a0e2}
@keyframes homeworkStepsGlow{to{box-shadow:0 0 0 2px #f2c569,0 0 12px #b8a0e2}}
@media(prefers-reduced-motion:reduce){.teacherHubDesign textarea.homeworkStepsWorking{animation:none}}
.teacherHubDesign .homeworkCell textarea.homeworkInstructionInput{display:block;min-height:55px;padding:7px 8px;font-size:12px;line-height:1.45;font-weight:400;resize:vertical;overflow:auto;border:1px solid var(--hub-line);border-radius:6px}
.teacherHubDesign .homeworkCellTools{gap:5px;margin-top:7px}
.teacherHubDesign .homeworkCellTools .homeworkTinyBtn{min-height:28px;font-size:10px;padding:5px 6px}
.teacherHubDesign .homeworkCellTools>.meta{display:block;width:100%;font-size:10px;line-height:1.4;font-weight:400}
.teacherHubDesign .homeworkPublishBar{margin-top:12px;padding:11px;border:1px solid var(--hub-line);border-radius:8px;background:#f5f9fc;box-shadow:none;display:flex;flex-direction:column;gap:9px}
.teacherHubDesign #publishHomeworkPlanBtn{width:100%;min-height:43px;background:var(--hub-teal);border:0;border-radius:7px;color:#fff;font-size:15px;font-weight:600;box-shadow:none}
.teacherHubDesign #homeworkAutoPublishCountdown{color:var(--hub-muted);font-size:12px;line-height:1.5;white-space:normal}
.teacherHubDesign .homeworkTeacherPanelHead{margin:0 0 10px;padding:0;background:transparent;border:0}
.teacherHubDesign .homeworkTeacherPanelActions{display:flex;align-items:center;gap:8px;justify-content:flex-end;width:100%}
.teacherHubDesign .homeworkTeacherToolbar{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 8px;padding:0}
.teacherHubDesign .homeworkTeacherGrid{display:grid;grid-template-columns:1fr;gap:0}
.teacherHubDesign .homeworkTeacherStudentCard{padding:14px 0;border:0;border-top:1px solid #e3ebf1;border-radius:0;background:#fff;box-shadow:none}
.teacherHubDesign .homeworkTeacherStudentTop{margin-bottom:8px;padding-bottom:0;border:0}
.teacherHubDesign .homeworkTeacherStudentName{font-size:15px;font-weight:600;line-height:1.4}
.teacherHubDesign .homeworkTeacherStudentMeta{font-size:12px;font-weight:400}
.teacherHubDesign .homeworkTeacherThumbGrid{display:flex;flex-direction:column;gap:8px}
.teacherHubDesign .homeworkTeacherThumb{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0;padding:8px;border:1px solid #e0e9f2;border-radius:8px;background:#fcfdff;box-shadow:none}
.teacherHubDesign .homeworkTeacherThumb .homeworkImageOpenBtn{width:76px;max-width:100%;padding:0;border:0;background:transparent;border-radius:5px}
.teacherHubDesign .homeworkTeacherThumbImageWrap,.teacherHubDesign .homeworkTeacherThumbImageWrap img{width:76px;height:76px;aspect-ratio:1;object-fit:cover;display:block;border-radius:5px}
.teacherHubDesign .homeworkTeacherThumbMeta{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:500;line-height:1.4;margin:0;min-width:0;overflow-wrap:anywhere;color:var(--hub-ink)}
.teacherHubDesign .homeworkTeacherThumbMeta>span{font-size:11px;font-weight:400;color:var(--hub-muted)}
.teacherHubDesign .homeworkTeacherThumbMeta .homeworkTinyBtn{align-self:flex-start;font-size:10px;min-height:27px;padding:4px 6px;color:#a24d56}
.teacherHubDesign .hubReviewHint{background:transparent;border:0;color:var(--hub-teal);font-size:12px;min-height:36px;padding:6px;font-weight:600}
.teacherHubDesign .homeworkTeacherThumbEmpty{width:76px;min-height:60px;font-size:11px}
.teacherHubDesign #closeHomeworkPlannerModal{display:none}
.teacherHubDesign #homeworkPlannerModal.classHubHwSubmittedMode #hubCloudSummary{display:none}
.teacherHubDesign .homeworkProgressPanel{font-weight:400;font-size:12px;border-color:var(--hub-line);border-radius:8px;background:#f6f9fc}
.teacherHubDesign .homeworkProgressRows{max-height:140px;overflow:auto}
.teacherHubDesign .hubUploading{animation:hubUploadGlow 1.6s ease-in-out infinite}
.hubUploadFlight{position:fixed;inset:0;z-index:2147483000;pointer-events:none;background:transparent}
.correctionEditor.homeworkPinchActive img[data-homework-correction-base]{transition:none!important}
.hubPreviewChange{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:7px;border:1px solid #d5e1eb;border-radius:8px;background:#fff;color:#16768a;font:500 14px Arial;padding:10px 13px;min-height:42px}
.hubPreviewChange svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.teacherHubDesign .hubUploadArrived{animation:hubArrival .9s ease-out}
.teacherHubDesign .hubUploadMaterializing>.classHubCwThumbBtn,.teacherHubDesign .hubUploadMaterializing>div,.teacherHubDesign .hubUploadMaterializing>.hubRowMenu{opacity:0;transform:translateY(9px) scale(.98);filter:blur(2px)}
.teacherHubDesign .hubUploadMaterializing.hubUploadReveal>.classHubCwThumbBtn{animation:hubMaterialize .5s ease-out both;animation-delay:var(--hub-reveal-offset,0ms)}
.teacherHubDesign .hubUploadMaterializing.hubUploadReveal>div,.teacherHubDesign .hubUploadMaterializing.hubUploadReveal>.hubRowMenu{animation:hubMaterialize .5s ease-out both;animation-delay:calc(.12s + var(--hub-reveal-offset,0ms))}
@keyframes hubMaterialize{from{opacity:0;transform:translateY(9px) scale(.98);filter:blur(2px)}to{opacity:1;transform:none;filter:none}}
@keyframes hubUploadGlow{0%,100%{box-shadow:0 0 0 0 #63c6cf00}50%{box-shadow:0 0 0 3px #63c6cf20}}
@keyframes hubArrival{0%{box-shadow:0 0 0 3px #51d6cd88;background:#e8fff9}100%{box-shadow:0 0 0 0 #51d6cd00;background:#fff}}
@media(min-width:900px){.teacherHubDesign .classHubHead{padding-left:calc((100vw - 850px)/2);padding-right:calc((100vw - 850px)/2)}}
@media(max-width:520px){.teacherHubDesign .classHubHead{gap:2px;padding-left:5px;padding-right:5px}.teacherHubDesign .classHubTabBtn{font-size:12px;padding:10px 2px;height:49px}.teacherHubDesign .classHubClose{width:28px;height:32px}.teacherHubDesign .hubDiamondAccess{width:26px;min-width:26px;margin:0;transform:scale(.75)}.teacherHubDesign .classHubBody{padding:10px 7px 0}.teacherHubDesign .classHubCwCard{padding:14px;gap:13px;border-radius:10px}.teacherHubDesign .classHubCwTitle{font-size:20px}.teacherHubDesign .classHubCwGrid{grid-template-columns:1fr}.teacherHubDesign .classHubCwDayHead{padding:9px 8px;gap:6px;flex-wrap:wrap}.teacherHubDesign .classHubCwDayHead span{font-size:10px}.teacherHubDesign .classHubCwDayHead .classHubCwDayName{font-size:12px!important}.teacherHubDesign .classHubCwItem{padding:11px 8px;gap:9px;grid-template-columns:64px minmax(0,1fr)}.teacherHubDesign .classHubCwThumbBtn,.teacherHubDesign .classHubCwThumb{width:64px;height:73px}.teacherHubDesign .classHubCwItem>div>.classHubCwActions{margin-left:-73px}.teacherHubDesign .classHubHwContent{padding:11px 8px}.teacherHubDesign .classHubHwTabBtn{font-size:12px;padding:9px 4px;min-height:46px}.teacherHubDesign .homeworkCellGrid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px 10px;gap:7px}.teacherHubDesign .homeworkCell{padding:6px}.teacherHubDesign .homeworkTeacherThumb{grid-template-columns:61px minmax(0,1fr) auto;gap:7px;padding:6px}.teacherHubDesign .homeworkTeacherThumb .homeworkImageOpenBtn,.teacherHubDesign .homeworkTeacherThumbImageWrap,.teacherHubDesign .homeworkTeacherThumbImageWrap img{width:61px;height:67px}.teacherHubDesign .hubReviewHint{font-size:11px;padding:2px}.teacherHubDesign .hubCloudSummary{font-size:11px}.teacherHubDesign .homeworkTeacherToolbar .homeworkTinyBtn{font-size:11px;padding:6px 8px}.teacherHubDesign .hubDisclosure{padding:9px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.teacherHubDesign .hubUploading,.teacherHubDesign .hubUploadArrived,.teacherHubDesign .classHubCwBtn.primary.sending::after{animation:none}.teacherHubDesign *{scroll-behavior:auto!important}}

/* Native iOS search metrics: avoid focus auto-zoom and oversized caret boxes. */
html.protivaAppleMobile .teacherHubDesign #homeworkSlotSearch{appearance:none;-webkit-appearance:none;display:block;font-size:16px;line-height:20px;height:44px;min-height:44px;padding:11px 12px;transform:none}
