:root {
    --teacher-diary-ink: #16324f;
    --teacher-diary-muted: #5f7387;
    --teacher-diary-bg: linear-gradient(145deg, #f7fbff 0%, #eef5fb 100%);
    --teacher-diary-border: #dbe6ef;
    --teacher-diary-panel: #ffffff;
    --teacher-diary-soft: #f2f7fb;
    --teacher-diary-blue-soft: #eef7ff;
    --teacher-diary-blue-softer: #f6fbff;
    --teacher-diary-blue-head: #dceeff;
    --teacher-diary-grey-soft: #f3f5f7;
    --teacher-diary-shadow: 0 16px 38px rgba(17, 53, 93, 0.08);
}

.teacher-diary-shell .card {
    border: 1px solid var(--teacher-diary-border);
    box-shadow: var(--teacher-diary-shadow);
}

.teacher-diary-hero-actions {
    display: grid;
    gap: 0.55rem;
    justify-items: end;
}

.teacher-diary-hero-actions-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: flex-end;
}

.teacher-diary-print-button,
.teacher-diary-action-button {
    min-width: 128px;
}

.teacher-diary-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.teacher-diary-save-status {
    min-height: 2rem;
    justify-self: end;
}

.teacher-diary-button-loading {
    pointer-events: none;
}

.teacher-diary-button-spinner {
    margin-right: 0.45rem;
    vertical-align: middle;
}

.teacher-diary-button-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.teacher-diary-save-status .badge {
    font-size: 0.82rem;
    padding: 0.55rem 0.8rem;
}

.teacher-diary-board {
    overflow: hidden;
}

.teacher-diary-board-header {
    display: grid;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    background: var(--teacher-diary-bg);
}

.teacher-diary-board-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.teacher-diary-board-top-left {
    display: grid;
    gap: 0.7rem;
    justify-items: start;
}

.teacher-diary-board-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.teacher-diary-board-toggle {
    min-width: 124px;
}

.teacher-diary-awaiting-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px dashed #c9d8e6;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
}

.teacher-diary-section-block + .teacher-diary-section-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--teacher-diary-border);
}

.teacher-diary-class-picker {
    display: grid;
    gap: 0.8rem;
}

.teacher-diary-class-picker-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid var(--teacher-diary-border);
    border-radius: 16px;
    background: #fdfefe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.teacher-diary-class-picker-item.is-selected {
    border-color: #88b5e4;
    box-shadow: 0 10px 24px rgba(21, 101, 192, 0.1);
    transform: translateY(-1px);
}

.teacher-diary-class-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.teacher-diary-class-name {
    color: var(--teacher-diary-ink);
    font-weight: 700;
}

.teacher-diary-class-submeta {
    color: var(--teacher-diary-muted);
    font-size: 0.82rem;
}

.teacher-diary-list,
.teacher-diary-assignment-stack {
    display: grid;
    gap: 0.9rem;
}

.teacher-diary-list-row,
.teacher-diary-duty-row,
.teacher-diary-tutor-row,
.teacher-diary-part-time-row {
    display: grid;
    gap: 0.65rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--teacher-diary-border);
    border-radius: 16px;
    background: var(--teacher-diary-soft);
}

.teacher-diary-list-row {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(140px, 1fr)) auto;
}

.teacher-diary-duty-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.9fr) repeat(2, minmax(130px, 1fr)) minmax(120px, 0.9fr) auto;
}

.teacher-diary-tutor-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr) minmax(140px, 0.9fr) auto;
}

.teacher-diary-part-time-row {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.8fr) auto;
}

.teacher-diary-empty {
    padding: 0.9rem 1rem;
    border: 1px dashed var(--teacher-diary-border);
    border-radius: 14px;
    background: #fafcfe;
}

.teacher-diary-assignment-toolbar,
.teacher-diary-calendar-toolbar,
.teacher-diary-calendar-summary {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.teacher-diary-calendar-toolbar {
    justify-content: flex-start;
}

.teacher-diary-calendar-toolbar .form-control {
    width: 150px;
    flex: 0 0 auto;
}

.teacher-diary-calendar-toolbar .btn {
    flex: 0 0 auto;
}

.teacher-diary-mode-switch .btn {
    min-width: 88px;
}

.teacher-diary-class-toolbar {
    justify-content: flex-start;
}

.teacher-diary-history-class-select {
    width: auto;
    min-width: 220px;
    max-width: 100%;
    flex: 0 1 auto;
}

.teacher-diary-calendar-summary {
    font-size: 0.96rem;
}

.teacher-diary-calendar-summary .badge {
    font-size: 0.8rem;
}

.teacher-diary-assignment-toolbar > * {
    flex: 1 1 180px;
}

.teacher-diary-assignment-card {
    border: 1px solid var(--teacher-diary-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    overflow: hidden;
}

.teacher-diary-assignment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--teacher-diary-border);
}

.teacher-diary-class-swatch {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.08);
}

.teacher-diary-assignment-table th,
.teacher-diary-assignment-table td {
    vertical-align: middle;
    text-align: center;
    min-width: 92px;
}

.teacher-diary-row-title {
    font-weight: 500;
    color: var(--teacher-diary-ink);
}

.teacher-diary-row-time {
    font-size: 0.76rem;
    color: var(--teacher-diary-muted);
    font-weight: 500;
}

.teacher-diary-row-header {
    padding: 0.45rem 0.55rem !important;
}

.teacher-diary-row-time:empty {
    display: none;
}

.teacher-diary-slot-button {
    width: 100%;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    border: 1px dashed #bcd0df;
    border-radius: 14px;
    background: #ffffff;
    color: #29587f;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.teacher-diary-slot-button:hover,
.teacher-diary-slot-button:focus-visible,
.teacher-diary-lesson-cell:hover,
.teacher-diary-lesson-cell:focus-visible,
.teacher-diary-break-cell:hover,
.teacher-diary-break-cell:focus-visible,
.teacher-diary-free-period-cell:hover,
.teacher-diary-free-period-cell:focus-visible,
.teacher-diary-meeting-cell:hover,
.teacher-diary-meeting-cell:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 53, 93, 0.08);
    border-color: #7ea8d3;
}

.teacher-diary-slot-button.is-assigned {
    border-style: solid;
    border-color: #7ab57f;
    background: linear-gradient(180deg, #f3fcf3 0%, #e8f7ea 100%);
    color: #1f5b33;
}

.teacher-diary-slot-tick {
    font-size: 1rem;
}

.teacher-diary-slot-empty {
    color: var(--teacher-diary-muted);
    font-size: 0.85rem;
}

.teacher-diary-calendar-wrapper {
    overflow: auto;
    border: 1px solid var(--teacher-diary-border);
    border-radius: 18px;
}

.teacher-diary-calendar-table {
    margin-bottom: 0;
    min-width: 960px;
    background: #ffffff;
}

.teacher-diary-calendar-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--teacher-diary-blue-head) 0%, #eaf5ff 100%);
    border-bottom-width: 1px;
}

.teacher-diary-time-col {
    min-width: 140px;
}

.teacher-diary-day-heading {
    font-weight: 700;
    color: var(--teacher-diary-ink);
}

.teacher-diary-day-subheading {
    color: var(--teacher-diary-muted);
    font-size: 0.8rem;
}

.teacher-diary-calendar-table th.is-current-day {
    background: linear-gradient(180deg, #fff1bd 0%, #fff7d8 100%);
}

.teacher-diary-calendar-cell {
    background: #fbfdff;
    padding: 0.42rem;
    min-width: 180px;
}

.teacher-diary-calendar-cell.is-current-day {
    background: #fbfdff;
}

.teacher-diary-off-day,
.teacher-diary-meeting-cell,
.teacher-diary-break-cell,
.teacher-diary-free-period-cell,
.teacher-diary-part-time-cell {
    min-height: 62px;
    border-radius: 16px;
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.teacher-diary-meeting-cell,
.teacher-diary-break-cell,
.teacher-diary-part-time-cell {
    min-height: 42px;
    padding: 0.45rem 0.7rem;
}

.teacher-diary-off-day {
    background: repeating-linear-gradient(
        135deg,
        #f6f0e8 0,
        #f6f0e8 10px,
        #f1e7dc 10px,
        #f1e7dc 20px
    );
    color: #8a5a32;
    font-weight: 700;
    align-items: center;
}

.teacher-diary-meeting-cell,
.teacher-diary-break-cell,
.teacher-diary-free-period-cell,
.teacher-diary-part-time-cell {
    width: 100%;
    appearance: none;
    text-align: left;
    background: linear-gradient(180deg, #f5f7f9 0%, #edf1f4 100%);
    border: 1px solid #dae5ee;
    color: var(--teacher-diary-ink);
    cursor: pointer;
}

.teacher-diary-meeting-cell.is-empty-state .teacher-diary-inline-slot-title {
    color: #8b95a1;
    font-weight: 600;
}

.teacher-diary-free-period-cell {
    background: linear-gradient(180deg, #f3f9ff 0%, #e9f4ff 100%);
    border-color: #cddff1;
}

.teacher-diary-free-period-title {
    font-weight: 700;
    color: var(--teacher-diary-ink);
}

.teacher-diary-free-period-meta {
    font-size: 0.82rem;
    color: var(--teacher-diary-muted);
}

.teacher-diary-part-time-cell {
    background: repeating-linear-gradient(
        135deg,
        #eef2f5 0,
        #eef2f5 12px,
        #e6ebef 12px,
        #e6ebef 24px
    );
    border-color: #d7dfe6;
    color: #6b7785;
    font-weight: 700;
    align-items: center;
}

.teacher-diary-break-label {
    font-weight: 700;
}

.teacher-diary-break-subtle {
    color: var(--teacher-diary-muted);
    font-size: 0.83rem;
}

.teacher-diary-duty-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(21, 101, 192, 0.1);
    color: #184c7a;
    font-size: 0.8rem;
    font-weight: 700;
}

.teacher-diary-inline-slot-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teacher-diary-ink);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-diary-lesson-cell {
    width: 100%;
    min-height: 78px;
    padding: 0;
    text-align: left;
    border: 1px solid #d7e3ed;
    border-radius: 16px;
    background: #fbfeff;
    overflow: hidden;
    cursor: pointer;
}

.teacher-diary-lesson-cell-header {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.7rem 0.85rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 58%),
        var(--teacher-diary-class-color, #1565c0);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.86rem;
}

.teacher-diary-lesson-cell-body {
    display: grid;
    gap: 0.35rem;
    padding: 0.6rem 0.75rem;
}

.teacher-diary-lesson-title {
    font-weight: 700;
    color: var(--teacher-diary-ink);
    font-size: 0.88rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-diary-lesson-notes-preview,
.teacher-diary-lesson-field {
    color: #27435e;
    font-size: 0.84rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-diary-lesson-notes-preview {
    -webkit-line-clamp: 2;
    color: var(--teacher-diary-muted);
}

.teacher-diary-lesson-field {
    -webkit-line-clamp: 2;
}

.teacher-diary-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: var(--teacher-diary-soft);
    color: var(--teacher-diary-ink);
}

.teacher-diary-todo-sections {
    display: grid;
    gap: 1rem;
}

.teacher-diary-todo-section {
    border: 1px solid var(--teacher-diary-border);
    border-radius: 18px;
    padding: 1rem;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
}

.teacher-diary-todo-section--urgent {
    border-color: #f3c1c7;
    background: linear-gradient(180deg, #fff7f8 0%, #fff2f4 100%);
}

.teacher-diary-todo-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.teacher-diary-todo-list {
    display: grid;
    gap: 0.7rem;
}

.teacher-diary-todo-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--teacher-diary-border);
    border-radius: 14px;
    background: #fff;
}

.teacher-diary-todo-item.is-complete {
    background: var(--teacher-diary-grey-soft);
}

.teacher-diary-todo-item-main {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    flex: 1;
    cursor: pointer;
}

.teacher-diary-todo-item-main .form-check-input {
    margin-top: 0.2rem;
}

.teacher-diary-todo-item-note {
    color: var(--teacher-diary-ink);
    font-weight: 600;
    white-space: pre-wrap;
    word-break: break-word;
}

.teacher-diary-todo-item.is-complete .teacher-diary-todo-item-note {
    color: var(--teacher-diary-muted);
    text-decoration: line-through;
}

.teacher-diary-todo-delete {
    flex-shrink: 0;
}

.teacher-diary-history-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.25fr);
    gap: 1rem;
    align-items: start;
}

.teacher-diary-history-column {
    min-width: 0;
}

.teacher-diary-history-timeline {
    position: relative;
    display: grid;
    gap: 1.1rem;
    padding-left: 1rem;
}

.teacher-diary-history-timeline::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 2px;
    background: linear-gradient(180deg, var(--teacher-diary-history-color, #1565c0) 0%, rgba(21, 101, 192, 0.12) 100%);
}

.teacher-diary-history-item {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
    margin-left: 0.45rem;
    border: 1px solid var(--teacher-diary-border);
    border-radius: 18px;
    background: #ffffff;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.teacher-diary-history-item::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 1.1rem;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--teacher-diary-history-color, #1565c0);
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px rgba(21, 101, 192, 0.18);
}

.teacher-diary-history-item.is-selected {
    border-color: #7ea8d3;
    box-shadow: 0 16px 28px rgba(17, 53, 93, 0.08);
    transform: translateY(-1px);
}

.teacher-diary-history-item-date {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--teacher-diary-muted);
    line-height: 1.35;
}

.teacher-diary-history-item-body {
    display: grid;
    gap: 0.45rem;
}

.teacher-diary-history-item-meta,
.teacher-diary-history-item-header {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.teacher-diary-history-item-meta {
    color: var(--teacher-diary-muted);
}

.teacher-diary-history-item-header {
    color: var(--teacher-diary-ink);
    font-weight: 700;
}

.teacher-diary-history-item-title {
    color: var(--teacher-diary-ink);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.teacher-diary-history-status {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.teacher-diary-history-status.is-complete {
    background: #e8f6ea;
    color: #1f6b37;
}

.teacher-diary-history-status.is-noted {
    background: #e9f3ff;
    color: #1a5f9e;
}

.teacher-diary-history-status.is-empty {
    background: #eef2f5;
    color: #667787;
}

.teacher-diary-history-detail {
    border: 1px solid var(--teacher-diary-border);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
    box-shadow: var(--teacher-diary-shadow);
}

.teacher-diary-history-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding: 1rem 1.05rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 62%),
        color-mix(in srgb, var(--teacher-diary-class-color, #1565c0) 16%, white);
    border-bottom: 1px solid var(--teacher-diary-border);
}

.teacher-diary-history-detail-actions {
    display: grid;
    gap: 0.55rem;
    justify-items: end;
}

.teacher-diary-history-detail-body {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.05rem;
}

.teacher-diary-history-detail-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1.05rem 1rem;
}

.teacher-diary-history-empty {
    padding: 1rem 1.05rem;
    border: 1px dashed var(--teacher-diary-border);
    border-radius: 18px;
    background: #fbfdff;
    color: var(--teacher-diary-muted);
}

.teacher-diary-history-empty--detail {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-diary-history-pagination {
    display: flex;
    padding-left: 1rem;
}

.teacher-diary-history-pagination--top {
    margin-bottom: 0.85rem;
}

.teacher-diary-history-pagination:not(.teacher-diary-history-pagination--top) {
    margin-top: 1rem;
}

.teacher-diary-history-pagination .btn {
    min-width: 168px;
    box-shadow: 0 10px 22px rgba(21, 101, 192, 0.14);
}

.teacher-diary-row-header--period .teacher-diary-row-title {
    font-weight: 700;
}

.teacher-diary-calendar-row--period > th,
.teacher-diary-calendar-row--period > td {
    background: #ffffff;
    border-top: 2px solid #d7e3ec;
    border-bottom: 2px solid #d7e3ec;
}

.teacher-diary-calendar-row--period .teacher-diary-calendar-cell,
.teacher-diary-calendar-row--period .teacher-diary-calendar-cell.is-current-day,
.teacher-diary-row-header--period {
    background: #ffffff;
}

.teacher-diary-row-header--break,
.teacher-diary-row-header--meeting,
.teacher-diary-row-header--tutor,
.teacher-diary-calendar-row--break .teacher-diary-calendar-cell,
.teacher-diary-calendar-row--meeting .teacher-diary-calendar-cell,
.teacher-diary-calendar-row--tutor .teacher-diary-calendar-cell {
    background: #e3e8ed !important;
}

@media (max-width: 1199.98px) {
    .teacher-diary-list-row,
    .teacher-diary-duty-row,
    .teacher-diary-tutor-row,
    .teacher-diary-part-time-row {
        grid-template-columns: 1fr;
    }

    .teacher-diary-calendar-table {
        min-width: 760px;
    }

    .teacher-diary-history-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .teacher-diary-class-picker-item {
        grid-template-columns: auto 1fr;
    }

    .teacher-diary-class-picker-item .form-control-color {
        grid-column: 2;
        justify-self: start;
    }

    .teacher-diary-assignment-toolbar,
    .teacher-diary-board-top,
    .teacher-diary-board-controls,
    .teacher-diary-calendar-toolbar,
    .teacher-diary-calendar-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .teacher-diary-hero-actions,
    .teacher-diary-hero-actions-main {
        justify-items: stretch;
        justify-content: stretch;
    }

    .teacher-diary-awaiting-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .teacher-diary-history-class-select,
    .teacher-diary-board-toggle,
    .teacher-diary-history-pagination .btn {
        width: 100%;
    }

    .teacher-diary-history-item {
        grid-template-columns: 1fr;
    }

    .teacher-diary-history-item::before {
        top: 1rem;
    }

    .teacher-diary-history-detail-header,
    .teacher-diary-history-detail-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .teacher-diary-todo-section-header,
    .teacher-diary-todo-item {
        flex-direction: column;
    }

    .teacher-diary-history-detail-actions {
        justify-items: stretch;
    }

    .teacher-diary-calendar-table {
        min-width: 680px;
    }
}

@media print {
    body {
        background: #ffffff !important;
    }

    .teacher-diary-shell .card {
        box-shadow: none;
    }

    .teacher-diary-board-header {
        background: #ffffff;
    }

    .teacher-diary-hero-actions,
    .teacher-diary-calendar-toolbar,
    .teacher-diary-assignment-toolbar,
    #teacher-diary-modal,
    .navbar,
    .btn,
    #teacher-nav-shell,
    #teacher-hub-page .btn,
    #teacher-main-dashboard-page .btn,
    #teacher-support-fab {
        display: none !important;
    }

    .teacher-diary-calendar-wrapper {
        overflow: visible;
        border: 0;
    }

    .teacher-diary-calendar-table {
        min-width: 0;
    }

    .teacher-diary-calendar-table thead th {
        position: static;
    }
}
