.studentHeaderPrimaryActions #teacherPersonalReminderBtn.teacherAlarmClock,
.studentHeaderPrimaryActions #teacherSavedNotesBtn {
  position: relative;
  flex: 0 0 auto;
}
.studentHeaderPrimaryActions #teacherPersonalReminderBtn.teacherAlarmClock { overflow: visible; isolation: isolate; }
#todoBtn[hidden], #teacherPersonalReminderBtn[hidden], #teacherSavedNotesBtn[hidden], #adminTeacherSavedNotesBtn[hidden] { display: none !important; }
#studentToolsDialog #whatsappAnnouncementsBtn { width: 100%; min-height: 40px; height: auto; display: flex; align-items: center; gap: 8px; }
#studentToolsDialog #whatsappAnnouncementsBtn img { width: 22px; height: 22px; object-fit: contain; }
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar {
  container-type: inline-size;
  --teacher-toolbar-gap: 4px;
  --teacher-toolbar-account-width: 40px;
  --teacher-toolbar-glyph-size: 20px;
  gap: var(--teacher-toolbar-gap);
}
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > :is(#refreshStudentBtn, #quickCounterBtn, #hwPlannerBtn, #feedbackBtn, #teacherPersonalReminderBtn, #teacherSavedNotesBtn, #studentToolsBtn) {
  --teacher-tool-size: min(40px, calc((100cqw - var(--teacher-toolbar-account-width) - 7 * var(--teacher-toolbar-gap)) / 7));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--teacher-tool-size);
  width: var(--teacher-tool-size);
  height: var(--teacher-tool-size);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid #d9e4ef;
  border-radius: 11px;
  background: #f8fbff;
  box-shadow: none;
}
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #studentToolsBtn { color: #10203d; font-size: 23px; }
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #quickCounterBtn {
  font-size: var(--teacher-toolbar-glyph-size);
  line-height: 1;
}
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #refreshStudentBtn::before,
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #teacherSavedNotesBtn > svg {
  width: var(--teacher-toolbar-glyph-size);
  height: var(--teacher-toolbar-glyph-size);
  background-size: contain;
}
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #feedbackBtn {
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #hwPlannerBtn { font-size: 0; }
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #hwPlannerBtn::before {
  content: "";
  width: var(--teacher-toolbar-glyph-size);
  height: var(--teacher-toolbar-glyph-size);
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310203d' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v3m0 13v4m0-4-5 4m5-4 5 4'/%3E%3Crect x='3' y='5' width='18' height='13' rx='2'/%3E%3Cpath d='m6 14 3-4 4 4 2-2 3 2' stroke='%23176478'/%3E%3C/svg%3E");
}
.studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar > #refreshStudentBtn.refreshing::before {
  animation: none;
  opacity: .55;
}
@media (max-width: 360px) {
  .studentManagerUi .studentHeaderPrimaryActions.teacherPersonalToolbar {
    --teacher-toolbar-gap: 3px;
    --teacher-toolbar-account-width: 32px;
  }
  .studentManagerUi .teacherPersonalToolbar #teacherMyAccountBtn.tmaLaunch { width: 32px; min-width: 32px; height: 40px; }
  .studentManagerUi .teacherPersonalToolbar #teacherMyAccountBtn img { width: 28px; height: 28px; }
}
.teacherAlarmClock.teacherReminderRinging::before,
.teacherAlarmClock.teacherReminderRinging::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid #df8b47;
  border-radius: inherit;
  pointer-events: none;
  animation: teacherReminderPulse 1.5s ease-out infinite;
}
.teacherAlarmClock.teacherReminderRinging::after { animation-delay: .22s; }
@keyframes teacherReminderPulse {
  0%, 35% { opacity: 0; transform: scale(.93); }
  46% { opacity: .65; }
  80%, 100% { opacity: 0; transform: scale(1.27); }
}
.teacherRemindersDialog, .teacherNotebook {
  --personal-ink: #14243e;
  --personal-teal: #087f78;
  --personal-muted: #526575;
  --personal-line: #e1e7e9;
  box-sizing: border-box;
  border: 1px solid var(--personal-line);
  border-radius: 18px;
  background: #fff;
  color: var(--personal-ink);
}
.teacherRemindersDialog { width: min(520px, calc(100% - 22px)); max-height: calc(100dvh - 24px); padding: 16px; }
html:has(.teacherRemindersDialog[open]), body:has(.teacherRemindersDialog[open]) { overflow: hidden; overscroll-behavior: none; }
.teacherRemindersDialog[open] { overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.teacherRemindersDialog::backdrop, .teacherNotebook::backdrop { background: #14233d80; }
.teacherRemindersDialog [hidden], .teacherNotebook [hidden] { display: none !important; }
.teacherRemindersDialog h2, .teacherRemindersDialog h3 { margin: 0; }
.teacherRemindersDialog h2 { font-size: 17px; margin-right: auto; }
.teacherRemindersDialog header, .teacherRemindersDialog nav {
  display: flex; gap: 8px; align-items: center;
}
.teacherRemindersDialog nav { border-bottom: 1px solid var(--personal-line); gap: 16px; margin-top: 14px; }
.teacherRemindersDialog button, .teacherNotebook button { font: inherit; cursor: pointer; }
.teacherRemindersDialog button { min-height: 36px; border: 0; border-radius: 9px; background: #eaf5f2; color: #12625b; padding: 6px 9px; font-size: 12px; }
.teacherRemindersDialog nav button { background: transparent; border-radius: 0; border-bottom: 2px solid transparent; }
.teacherRemindersDialog nav button[aria-pressed="true"] { border-color: var(--personal-teal); font-weight: 700; }
.teacherRemindersDialog nav span { color: var(--personal-muted); margin-left: 3px; }
.teacherReminderGroup { color: var(--personal-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .065em; padding-top: 14px; }
.teacherReminderRow { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--personal-line); }
.teacherReminderRow small { display: block; color: var(--personal-muted); font-size: 12px; margin-top: 4px; }
.teacherRemindersDialog .teacherReminderText { background: transparent; min-height: 0; padding: 3px 0; text-align: left; color: var(--personal-ink); font-weight: 650; font-size: 14px; overflow-wrap: anywhere; }
.teacherRemindersDialog .teacherReminderCheck { position: relative; display: grid; place-items: center; width: 36px; background: transparent; font-weight: 800; }
.teacherReminderCheck::before { content: ""; position: absolute; width: 20px; height: 20px; border: 1px solid #89a9a6; border-radius: 50%; }
.teacherReminderEmpty { color: var(--personal-muted); text-align: center; margin: 25px 0; }
.teacherReminderEditor { display: grid; gap: 12px; padding: 14px; margin-top: 12px; background: #f7faf9; border: 1px solid var(--personal-line); border-radius: 12px; }
.teacherReminderEditor h3 { font-size: 16px; }
.teacherReminderEditor label { min-width: 0; display: grid; gap: 5px; font-size: 12px; font-weight: 650; }
.teacherReminderEditor input, .teacherReminderEditor textarea, .teacherReminderEditor select {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 42px; padding: 8px; border: 1px solid #d4e0e0; border-radius: 8px;
  background: #fff; color: var(--personal-ink); font: 16px/1.3 system-ui, sans-serif;
}
.teacherReminderEditor textarea { resize: vertical; }
.teacherReminderEditor input:is([type=date], [type=time]) { position: relative; cursor: pointer; }
.teacherReminderEditor input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; opacity: 0; cursor: pointer; }
.teacherReminderEditor input:is([type=date], [type=time]) { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23526575' stroke-width='1.7'%3E%3Cpath d='M5 9h14M8 3v5m8-5v5'/%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3C/svg%3E") no-repeat right 8px center; padding-right: 23px; }
.teacherReminderEditor input[type=time] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23526575' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.teacherReminderFields { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.teacherReminderMonth { max-width: 240px; }
.teacherReminderWeek { border: 0; min-width: 0; padding: 0; margin: 0; }
.teacherReminderWeek legend { font-size: 12px; font-weight: 650; padding: 0 0 6px; }
.teacherReminderWeek div { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.teacherReminderWeek button { padding: 0; font-size: 11px; background: #fff; border: 1px solid #d4e0e0; }
.teacherReminderWeek button[aria-pressed=true] { background: #d7eee8; border-color: #67a69c; }
.teacherReminderFormActions { display: flex; justify-content: flex-end; gap: 8px; }
.teacherReminderFormActions button[type=submit] { background: var(--personal-teal); color: #fff; }
.teacherReminderEditor p, .teacherReminderStatus { margin: 0; font-size: 12px; color: var(--personal-muted); }
.teacherReminderStatus:not(:empty) { padding-top: 12px; }
.teacherReminderStatus button { margin-left: 8px; }
.teacherReminderArrive { animation: teacherReminderArrive .56s cubic-bezier(.2,.8,.24,1) both; }
.teacherReminderLeave { animation: teacherReminderLeave .54s ease-out both; pointer-events: none; }
.teacherReminderFlight { position: absolute; z-index: 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--personal-teal); color: #fff; pointer-events: none; }
.teacherReminderTabPulse span { display: inline-block; animation: teacherReminderTabPulse .42s ease both; }
@keyframes teacherReminderTabPulse { 48% { transform: scale(1.23); color: var(--personal-teal); } }
@keyframes teacherReminderArrive { 0% { transform: translateY(9px); opacity: 0; background: #dff5ee; } 65% { opacity: 1; } 100% { transform: translateY(0); background: transparent; } }
@keyframes teacherReminderLeave { 0%, 32% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(12px); } }
.teacherNotebook.taRoot { width: min(560px, calc(100% - 16px)); height: min(700px, calc(100dvh - 16px)); max-width: 100%; max-height: 100dvh; padding: 0; overflow: hidden; }
.teacherNotebook[open] { display: flex; flex-direction: column; }
.teacherNotebookHistory { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #efeae2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 16px; }
.teacherNotebookHeader { display: flex; flex: none; align-items: center; gap: 6px; padding: max(3px, env(safe-area-inset-top)) 8px 3px; border-bottom: 1px solid var(--personal-line); background: #f8faf9; }
.teacherNotebookHeader button { display: grid; flex: none; place-items: center; width: 34px; height: 38px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #205a55; }
.teacherNotebookHeader button:disabled { opacity: .45; }
.teacherNotebookHeader button svg { width: 20px; height: 20px; }
.teacherNotebookHeading { min-width: 0; margin-right: auto; }
.teacherNotebookHeading h2, .teacherNotebookHeading p { margin: 0; line-height: 1.2; }
.teacherNotebookHeading h2 { font-size: 14px; }
.teacherNotebookHeading p { font-size: 10px; color: var(--personal-muted); }
.teacherNotebookCount { flex: none; font-size: 11px; color: var(--personal-muted); white-space: nowrap; }
.teacherNotebookSearch { flex: none; display: flex; flex-wrap: wrap; align-items: end; gap: 6px; padding: 6px 10px; background: #f8faf9; border-bottom: 1px solid var(--personal-line); }
.teacherNotebookSearch label { display: grid; gap: 2px; flex: 1 1 96px; min-width: 0; font-size: 11px; color: var(--personal-muted); }
.teacherNotebookSearch input { width: 100%; min-width: 0; box-sizing: border-box; height: 34px; border: 1px solid var(--personal-line); border-radius: 7px; background: #fff; color: var(--personal-ink); padding: 4px 6px; font-size: 14px; }
.teacherNotebookSearch button { min-height: 34px; padding: 3px 7px; border: 0; border-radius: 7px; background: #eaf5f2; color: #12625b; font-size: 12px; }
.teacherNotebookAdmin { padding: 9px 12px; }
.teacherNotebookAdmin select { max-width: 80%; }
.teacherNotebookBubble { -webkit-touch-callout: none; touch-action: pan-y; }
.teacherNotebookBubble img { display: block; max-width: min(240px, 100%); max-height: 250px; min-height: 32px; object-fit: contain; border-radius: 5px; margin-bottom: 4px; }
.teacherNotebookTime { font: 11px/1.4 system-ui,sans-serif; text-align: right; margin: 4px 0 0 10px; color: #50635a; }
.teacherNotebookStatus { margin: 0; color: var(--personal-muted); background: #f0f2f5; font-size: 12px; padding: 0 12px; }
.teacherNotebookStatus:not(:empty) { padding: 6px 12px; }
.teacherNotebookAttach { width: 34px; min-height: 42px; display: grid; place-items: center; position: relative; color: #376052; font-size: 21px; }
.teacherNotebookAttach input { opacity: 0; position: absolute; width: 100%; height: 100%; cursor: pointer; }
.teacherNotebookDraft, .teacherNotebookAttachment { padding: 8px 12px; display: flex; align-items: center; gap: 8px; background: #edf5ef; font-size: 12px; }
.teacherNotebookAttachment img { max-height: 82px; max-width: 130px; object-fit: contain; }
.teacherNotebookMenu { position: absolute; z-index: 3; top: 42%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 6px; border-radius: 12px; box-shadow: 0 0 0 100vmax #172f283f, 0 8px 25px #122a2540; min-width: 160px; }
.teacherNotebookMenu button { display: block; min-height: 42px; width: 100%; border: 0; background: #fff; text-align: left; padding: 8px 12px; color: var(--personal-ink); }
.teacherNotebookMenu [data-note-delete] { color: #a22e36; }
.teacherNoteSend { animation: teacherSendPush .4s ease both; }
.teacherNoteSend svg { animation: teacherSendPlane .4s ease both; }
.teacherNoteLeave { animation: teacherNoteLeave .35s ease both; pointer-events: none; }
@keyframes teacherSendPush { 0%, 100% { transform: scale(1); } 24% { transform: scale(.88); } 66% { transform: scale(1.08); } }
@keyframes teacherSendPlane { 0%, 100% { transform: translate(0,0); opacity: 1; } 45% { transform: translate(7px,-6px); opacity: 0; } 46% { transform: translate(-5px,4px); opacity: 0; } }
@keyframes teacherNoteLeave { to { opacity: 0; transform: translateX(12px) scale(.94); } }
@media (max-width: 580px) {
  .teacherNotebook.taRoot { width: 100%; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .teacherNotebookHistory { padding-top: 12px; }
}
.teacherToolSourceHidden { visibility: hidden !important; }
.teacherToolMoving { will-change: transform, opacity; }
.teacherFeedbackPage { display: contents; }
.teacherFeedbackMore { display: block; margin: 8px auto; padding: 7px 12px; border: 1px solid #d9e4ef; border-radius: 8px; background: #f8fbff; color: #173d55; font: inherit; font-size: 12px; }
.teacherToolClosing { pointer-events: none !important; }
.teacherToolZooming.modal, .teacherToolZooming.studentToolsOverlay, .teacherToolZooming.feeToolsOverlay { background: transparent; }
.teacherToolZooming::backdrop { background: transparent; }
.teacherToolClose { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; float: right; width: 28px; min-height: 28px; margin: 0 0 5px 8px; padding: 0; border: 1px solid #d9e4ef; border-radius: 8px; background: #f8fbff; color: #173d55; font: 20px/1 system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) {
  .teacherAlarmClock.teacherReminderRinging::before, .teacherAlarmClock.teacherReminderRinging::after,
  .teacherReminderArrive, .teacherReminderLeave, .teacherReminderTabPulse span, .teacherNoteSend, .teacherNoteSend svg, .teacherNoteLeave { animation: none; }
}
