/*
 * Asy Syifa Akademik — premium visual layer
 * Kept separate from admin.css so layout behavior and module logic remain intact.
 */
:root {
    --premium-deep: #052b28;
    --premium-forest: #087461;
    --premium-mint: #dff4e9;
    --premium-gold: #d2a84e;
    --premium-ink: #123e39;
    --premium-shadow: 0 18px 45px rgba(7, 63, 53, .09);
    --premium-shadow-hover: 0 22px 55px rgba(7, 63, 53, .15);
}

/* Admin shell */
.admin-page {
    background:
        radial-gradient(circle at 88% -10%, rgba(210, 168, 78, .12), transparent 28rem),
        radial-gradient(circle at 25% 0%, rgba(91, 190, 151, .08), transparent 32rem),
        #f5f8f6;
}

.sidebar {
    background:
        linear-gradient(160deg, rgba(10, 111, 91, .32), transparent 38%),
        linear-gradient(180deg, #052f2b 0%, #063c34 48%, #042722 100%);
    box-shadow: 10px 0 35px rgba(3, 39, 34, .12);
    isolation: isolate;
    overflow-x: hidden;
}

.sidebar::before {
    background-image:
        linear-gradient(30deg, rgba(210, 168, 78, .08) 12%, transparent 12.5%, transparent 87%, rgba(210, 168, 78, .08) 87.5%),
        linear-gradient(150deg, rgba(210, 168, 78, .08) 12%, transparent 12.5%, transparent 87%, rgba(210, 168, 78, .08) 87.5%);
    background-size: 44px 76px;
    content: '';
    inset: 0;
    opacity: .22;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.sidebar-brand {
    border-bottom-color: rgba(255, 255, 255, .14);
    padding-bottom: 26px;
}

.sidebar-brand .brand-emblem {
    box-shadow: 0 0 0 5px rgba(210, 168, 78, .1), 0 8px 18px rgba(0, 0, 0, .12);
}

.sidebar-context,
.help-card {
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}

.nav-item {
    position: relative;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav-item:hover {
    background: rgba(107, 213, 176, .14);
    transform: translateX(2px);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(75, 191, 153, .27), rgba(75, 191, 153, .08));
    box-shadow: inset 3px 0 var(--premium-gold), 0 7px 18px rgba(0, 0, 0, .08);
}

.nav-item.active::after {
    background: var(--premium-gold);
    border-radius: 50%;
    content: '';
    height: 4px;
    opacity: .9;
    position: absolute;
    right: 12px;
    top: calc(50% - 2px);
    width: 4px;
}

.topbar {
    background: rgba(255, 255, 255, .88);
    border-bottom-color: rgba(218, 230, 224, .9);
    box-shadow: 0 8px 25px rgba(15, 70, 57, .035);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 25;
}

.topbar-search {
    background: #f3f8f5;
    border-color: #e2ece7;
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.topbar-search:focus-within {
    background: #fff;
    border-color: rgba(8, 116, 97, .45);
    box-shadow: 0 0 0 4px rgba(8, 116, 97, .08);
}

.icon-button {
    align-items: center;
    background: #f3f8f5;
    border: 1px solid #e4ece8;
    border-radius: 11px;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    width: 38px;
}

.icon-button:hover {
    background: var(--premium-mint);
    border-color: rgba(8, 116, 97, .26);
    transform: translateY(-1px);
}

.profile-dropdown > summary {
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 5px 8px 5px 5px;
    transition: background .2s ease, border-color .2s ease;
}

.profile-dropdown > summary:hover,
.profile-dropdown[open] > summary {
    background: #f1f8f4;
    border-color: #e1ece6;
}

.profile-dropdown-menu {
    border-color: #e0ebe5;
    border-radius: 13px;
    box-shadow: var(--premium-shadow-hover);
    padding: 8px;
}

.profile-dropdown-menu a {
    border-radius: 9px;
    transition: background .2s ease, padding-left .2s ease;
}

.profile-dropdown-menu a:hover {
    padding-left: 14px;
}

.content {
    padding-top: 40px;
}

.page-heading {
    margin-bottom: 30px;
}

.page-heading h1 {
    font-size: clamp(29px, 3vw, 36px);
    line-height: 1.12;
}

.page-heading > div:first-child {
    position: relative;
}

.page-heading > div:first-child::after {
    background: linear-gradient(90deg, var(--premium-gold), transparent);
    border-radius: 10px;
    bottom: -15px;
    content: '';
    height: 3px;
    left: 0;
    opacity: .72;
    position: absolute;
    width: 82px;
}

.stat-grid {
    gap: 18px;
}

.stat-card,
.panel,
.workflow-panel,
.module-menu-card,
.quick-card,
.data-card,
.detail-card {
    border-color: rgba(218, 230, 224, .95);
    box-shadow: var(--premium-shadow);
}

.stat-card {
    border-radius: 17px;
    min-height: 132px;
    transition: box-shadow .24s ease, transform .24s ease;
}

.stat-card:hover,
.quick-card:hover,
.module-menu-card:hover {
    box-shadow: var(--premium-shadow-hover);
    transform: translateY(-3px);
}

.stat-icon {
    border-radius: 14px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .55);
}

.stat-card strong {
    letter-spacing: -.04em;
}

.dashboard-grid {
    gap: 22px;
}

.panel,
.workflow-panel {
    border-radius: 17px;
    padding: 24px;
}

.panel-heading {
    border-bottom: 1px solid #edf3ef;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.panel-heading h2 {
    font-size: 19px;
}

.button {
    border-radius: 11px;
    min-height: 42px;
    transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, #0a806a, #05624f);
    box-shadow: 0 10px 20px rgba(8, 116, 97, .18);
}

.button-primary:hover {
    background: linear-gradient(135deg, #0b8b72, #064e41);
    box-shadow: 0 13px 24px rgba(8, 116, 97, .25);
}

.button-outline {
    border-color: #d8e5de;
    box-shadow: 0 5px 13px rgba(7, 63, 53, .04);
}

.button-outline:hover {
    background: #eff8f3;
    border-color: #acd4c1;
}

.activity-panel table,
.data-table {
    border-collapse: separate;
    border-spacing: 0 4px;
}

.activity-panel th,
.data-table th {
    color: #4f615a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.activity-panel td,
.data-table td,
.parent-table td,
.simple-table td,
.history-table td,
.setoran-table td,
.presensi-table td {
    background: #fbfdfc;
    border-bottom: 1px solid #edf3ef;
    color: #354840;
    border-top: 1px solid #edf3ef;
}

.activity-panel td strong,
.data-table td strong,
.parent-table td strong,
.simple-table td strong,
.history-table td strong,
.setoran-table td strong,
.presensi-table td strong {
    color: #173d35;
}

.activity-panel td:first-child,
.data-table td:first-child {
    border-left: 1px solid #edf3ef;
    border-radius: 9px 0 0 9px;
}

.activity-panel td:last-child,
.data-table td:last-child {
    border-radius: 0 9px 9px 0;
    border-right: 1px solid #edf3ef;
}

.activity-panel tr:hover td,
.data-table tbody tr:hover td {
    background: #f1f9f5;
}

.data-toolbar,
.filter-row,
.table-footer {
    border-radius: 13px;
}

.data-search,
.filter-control,
.select-control,
select,
input:not([type='checkbox']):not([type='radio']):not([type='hidden']) {
    transition: border-color .2s ease, box-shadow .2s ease;
}

.data-search:focus-within,
.filter-control:focus-within,
.select-control:focus-within,
.data-toolbar select:focus,
.filter-row select:focus,
.form-grid input:focus,
.form-grid textarea:focus,
.media-upload-form input:focus,
.media-upload-form select:focus,
.point-form input:focus,
.point-form select:focus,
.setoran-filter-grid input:focus,
.setoran-filter-grid select:focus,
.presensi-period-form input:focus,
.presensi-period-form select:focus {
    border-color: rgba(8, 116, 97, .52);
    box-shadow: 0 0 0 4px rgba(8, 116, 97, .08);
    outline: 0;
}

.pagination-button {
    align-items: center;
    background: #fff;
    border: 1px solid #dce8e1;
    border-radius: 9px;
    color: var(--premium-forest);
    display: inline-flex;
    font-size: 11px;
    height: 34px;
    justify-content: center;
    min-width: 34px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.pagination-button:hover:not(:disabled) {
    background: var(--premium-mint);
    border-color: #acd4c1;
    transform: translateY(-1px);
}

.pagination-button.is-active,
.pagination-button.active {
    background: var(--premium-forest);
    border-color: var(--premium-forest);
    color: #fff;
}

.notification-popup {
    border: 1px solid #dcebe2;
    border-left: 4px solid var(--premium-forest);
    border-radius: 14px;
    box-shadow: var(--premium-shadow-hover);
}

.action-confirm-dialog {
    border: 1px solid #dcebe2;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(4, 42, 35, .25);
}

/* Login and forgot-password pages */
.login-page {
    background:
        radial-gradient(circle at 15% 15%, rgba(210, 168, 78, .12), transparent 25rem),
        #f4f8f5;
}

.login-visual {
    background:
        linear-gradient(145deg, rgba(4, 53, 47, .92), rgba(5, 116, 95, .94)),
        radial-gradient(circle at 80% 15%, rgba(210, 168, 78, .25), transparent 18rem);
}

.login-brand-mark {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.login-card {
    border-color: rgba(218, 230, 224, .9);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(7, 63, 53, .12);
}

.login-heading h2,
.forgot-heading h1 {
    letter-spacing: -.045em;
}

.input-wrap,
.captcha-box,
.forgot-login-page .forgot-notice {
    border-radius: 12px;
}

.forgot-login-page .reset-account-summary {
    background: #f4faf7;
    border: 1px solid #dcebe2;
    border-radius: 12px;
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.forgot-login-page .reset-account-summary > div {
    align-items: baseline;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.forgot-login-page .reset-account-summary small {
    color: #6f837b;
    font-size: 11px;
}

.forgot-login-page .reset-account-summary strong {
    color: #17483e;
    font-size: 12px;
    text-align: right;
}

.forgot-login-page .password-field {
    align-items: center;
    display: flex;
    margin-bottom: 18px;
    position: relative;
}

.forgot-login-page .password-field input {
    margin-bottom: 0;
    padding-right: 76px;
    width: 100%;
}

.forgot-login-page .password-toggle {
    background: transparent;
    border: 0;
    color: #087c68;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
    position: absolute;
    right: 8px;
}

.forgot-login-page .password-toggle:hover,
.forgot-login-page .password-toggle:focus-visible {
    color: #045747;
    text-decoration: underline;
}

.login-form .button-primary,
.forgot-login-page .button-forgot {
    border-radius: 12px;
}

@media (max-width: 900px) {
    .topbar {
        box-shadow: 0 6px 20px rgba(15, 70, 57, .06);
    }

    .sidebar {
        box-shadow: 12px 0 38px rgba(3, 39, 34, .22);
    }

    .content {
        padding-top: 30px;
    }
}

@media (max-width: 560px) {
    .content {
        padding-top: 25px;
    }

    .panel,
    .workflow-panel {
        border-radius: 14px;
        padding: 17px 14px;
    }

    .stat-card {
        border-radius: 14px;
    }

    .page-heading > div:first-child::after {
        bottom: -10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-item,
    .stat-card,
    .quick-card,
    .module-menu-card,
    .button,
    .icon-button,
    .pagination-button {
        transition: none;
    }
}

/* Profil Guru: dua kartu utama dengan rasio 4:8 yang tetap nyaman dibaca. */
.guru-page .guru-profile-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    max-width: none;
    padding: 0;
}

.guru-page .guru-profile-columns {
    align-items: start;
    gap: 22px;
    grid-template-columns: minmax(280px, 4fr) minmax(0, 10fr);
}

.guru-page .guru-profile-columns-single {
    grid-template-columns: minmax(0, 1fr);
}

.guru-page .guru-assignment-page-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    max-width: none;
    padding: 0;
}

.guru-page .guru-assignment-page-heading {
    background: #fff;
    border: 1px solid #dcebe2;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(30, 74, 58, .05);
    margin-bottom: 16px;
    padding: 18px 20px;
}

.guru-page .guru-assignment-page-panel > .guru-profile-assignment-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.guru-page .guru-assignment-page-panel .guru-profile-assignment-card {
    background: #fff;
    border: 1px solid #dcebe2;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(30, 74, 58, .05);
    min-height: 190px;
}

.guru-page .guru-assignment-page-panel > .guru-profile-note {
    background: #f7fbf8;
    border: 1px solid #e0eee5;
    margin-top: 16px;
}

@media (max-width: 760px) {
    .guru-page .guru-assignment-page-panel > .guru-profile-assignment-grid {
        grid-template-columns: 1fr;
    }
}

.guru-page .guru-profile-column {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(211, 228, 219, .95);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(15, 70, 57, .07);
    align-self: start;
    padding: 22px;
}

.guru-page .guru-profile-column-personal {
    display: flex;
    flex-direction: column;
}

.guru-page .guru-profile-header {
    align-items: center;
    background: linear-gradient(145deg, #eef9f1, #fbfefc);
    border: 1px solid #dceee2;
    border-radius: 15px;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    min-height: 184px;
    padding: 22px 16px;
    text-align: center;
}

.guru-page .guru-profile-avatar {
    box-shadow: 0 8px 18px rgba(39, 132, 92, .13);
    flex-basis: 76px;
    font-size: 23px;
    height: 76px;
    width: 76px;
}

.guru-page .guru-profile-header h2 {
    font-size: 23px;
    line-height: 1.18;
}

.guru-page .guru-profile-header p {
    margin-top: 6px;
}

.guru-page .guru-profile-section-heading {
    margin-top: 22px;
}

.guru-page .guru-profile-column-assignment .guru-profile-section-heading {
    align-items: flex-start;
    background: linear-gradient(90deg, #f2faf5, transparent);
    border-bottom: 0;
    border-left: 3px solid #d4ad55;
    border-radius: 0 10px 10px 0;
    margin: -2px 0 17px;
    padding: 11px 13px;
}

.guru-page .guru-profile-column-assignment .guru-profile-section-heading h3 {
    font-size: 20px;
    margin-top: 4px;
}

.guru-page .guru-profile-grid {
    gap: 8px;
    margin-top: 13px;
}

.guru-page .guru-profile-grid > div {
    background: #fbfdfb;
    border-color: #e5f0e8;
    border-radius: 9px;
    min-height: 55px;
    padding: 10px 11px;
}

.guru-page .guru-profile-social {
    margin-top: auto;
    padding-top: 22px;
}

.guru-page .guru-profile-assignment-grid {
    gap: 13px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
}

.guru-page .guru-profile-assignment-card {
    background: #fbfdfb;
    border-color: #e0eee5;
    border-radius: 13px;
    padding: 14px;
}

.guru-page .guru-profile-assignment-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.guru-page .guru-profile-assignment-title span {
    align-self: flex-start;
}

.guru-page .guru-profile-assignment-list {
    max-height: 390px;
    overflow-y: auto;
    padding-right: 3px;
}

.guru-page .guru-profile-note {
    background: #f7fbf8;
    border-radius: 12px;
    margin-top: 16px;
}

.guru-page .guru-profile-more-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.guru-page .guru-profile-more-button:hover {
    color: #176f4d;
    text-decoration: underline;
}

.guru-page .guru-profile-assignment-title .guru-coaching-summary {
    align-self: flex-start;
    font-size: 9px;
    line-height: 1.2;
    padding: 4px 7px;
}

.guru-page .guru-profile-assignment-title .guru-coaching-summary-alert,
.guru-page .guru-coaching-status-alert {
    background: #fff0e7;
    color: #bd5e2e;
}

.guru-page .guru-profile-assignment-title .guru-coaching-summary-ok,
.guru-page .guru-coaching-status-ok {
    background: #e4f5eb;
    color: #247b57;
}

.guru-page .guru-profile-assignment-list .guru-assignment-student-row.is-coaching-pending,
.guru-page .guru-student-row.is-coaching-pending {
    background: #fffaf5;
    border-radius: 8px;
    padding-left: 7px;
    padding-right: 7px;
}

.guru-page .guru-profile-assignment-list .guru-coaching-status,
.guru-page .guru-student-row .guru-coaching-status {
    display: block;
    font-size: 9px;
    font-weight: 700;
    margin-top: 3px;
}

.guru-page .guru-profile-assignment-list .guru-coaching-status {
    background: transparent;
    padding: 0;
}

.guru-page .guru-student-row .guru-coaching-status {
    width: fit-content;
}

.guru-page .guru-coaching-action {
    align-self: center;
    background: #087b63;
    border-radius: 6px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 9px;
    font-weight: 700;
    padding: 6px 8px;
    text-decoration: none;
    white-space: nowrap;
}

.guru-page .guru-coaching-action:hover {
    background: #056650;
    color: #fff;
}

.guru-page .guru-student-row .guru-coaching-action {
    margin-left: auto;
}

.guru-page .guru-coaching-heading {
    align-items: flex-end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.guru-page .guru-coaching-heading > div {
    min-width: 0;
}

.guru-page .guru-coaching-heading .data-source-badge {
    flex: 0 0 auto;
}

.guru-page .guru-coaching-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 14px;
}

.guru-page .guru-coaching-metrics article {
    background: #fff;
    border: 1px solid #deebe4;
    border-radius: 12px;
    min-width: 0;
    padding: 13px 15px;
}

.guru-page .guru-coaching-metrics article.is-warning {
    background: #fffaf5;
    border-color: #f2dfc8;
}

.guru-page .guru-coaching-metrics article.is-good {
    background: #f5fbf7;
    border-color: #d7eee0;
}

.guru-page .guru-coaching-metrics span,
.guru-page .guru-coaching-metrics strong,
.guru-page .guru-coaching-metrics small {
    display: block;
}

.guru-page .guru-coaching-metrics span {
    color: #527066;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.guru-page .guru-coaching-metrics strong {
    color: #084f48;
    font-size: 25px;
    line-height: 1.1;
    margin: 6px 0 4px;
}

.guru-page .guru-coaching-metrics small {
    color: #81958e;
    font-size: 10px;
}

.guru-page .guru-coaching-panel {
    border: 1px solid #dceae3;
    overflow: hidden;
    padding: 20px;
}

.guru-page .guru-coaching-panel .panel-heading {
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 13px;
}

.guru-page .guru-coaching-panel .panel-heading h2 {
    color: #0b5149;
    font-size: 18px;
    margin-top: 3px;
}

.guru-page .guru-coaching-panel .panel-heading small {
    color: #789087;
    display: block;
    font-size: 10px;
    line-height: 1.45;
    margin-top: 5px;
}

.guru-page .guru-coaching-panel .panel-heading .tag {
    flex: 0 0 auto;
    font-size: 9px;
    padding: 5px 8px;
}

.guru-page .guru-coaching-filter {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 13px 0 15px;
}

.guru-page .guru-coaching-filter label {
    flex: 1 1 210px;
    min-width: 0;
}

.guru-page .guru-coaching-filter label > span {
    color: #527066;
    display: block;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
}

.guru-page .guru-coaching-filter input,
.guru-page .guru-coaching-filter select {
    background: #fff;
    border: 1px solid #d4e4dc;
    border-radius: 9px;
    box-sizing: border-box;
    color: #234740;
    font: inherit;
    font-size: 11px;
    min-height: 36px;
    outline: 0;
    padding: 8px 10px;
    width: 100%;
}

.guru-page .guru-coaching-filter input::placeholder {
    color: #9aaba5;
}

.guru-page .guru-coaching-filter input:focus,
.guru-page .guru-coaching-filter select:focus {
    border-color: #0d8a70;
    box-shadow: 0 0 0 3px rgba(13, 138, 112, .1);
}

.guru-page .guru-coaching-filter .button {
    align-self: flex-end;
    min-height: 36px;
}

.guru-page .guru-coaching-table-wrap {
    overflow-x: auto;
}

.guru-page .guru-coaching-table {
    border-collapse: separate;
    border-spacing: 0 6px;
    min-width: 880px;
    width: 100%;
}

.guru-page .guru-coaching-table th {
    color: #688078;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 0 9px 5px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.guru-page .guru-coaching-table td {
    background: #fbfdfb;
    border-bottom: 1px solid #e2eee8;
    border-top: 1px solid #e2eee8;
    color: #365e55;
    font-size: 10px;
    padding: 10px 9px;
    vertical-align: middle;
}

.guru-page .guru-coaching-table tr.is-pending td {
    background: #fffaf5;
    border-bottom-color: #f4e2d1;
    border-top-color: #f4e2d1;
}

.guru-page .guru-coaching-table td:first-child {
    border-left: 1px solid #e2eee8;
    border-radius: 9px 0 0 9px;
    color: #8b9e97;
    text-align: center;
    width: 34px;
}

.guru-page .guru-coaching-table tr.is-pending td:first-child {
    border-left-color: #f4e2d1;
}

.guru-page .guru-coaching-table td:last-child {
    border-radius: 0 9px 9px 0;
    border-right: 1px solid #e2eee8;
    white-space: nowrap;
}

.guru-page .guru-coaching-table tr.is-pending td:last-child {
    border-right-color: #f4e2d1;
}

.guru-page .guru-coaching-table td strong,
.guru-page .guru-coaching-table td small {
    display: block;
}

.guru-page .guru-coaching-table td strong {
    color: #164d46;
    font-size: 11px;
    line-height: 1.35;
}

.guru-page .guru-coaching-table td small {
    color: #82958e;
    font-size: 9px;
    line-height: 1.4;
    margin-top: 3px;
}

.guru-page .guru-coaching-detail {
    display: block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guru-page .guru-coaching-status-badge {
    background: #e4f5eb;
    border-radius: 999px;
    color: #247b57;
    display: inline-flex;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 8px;
    white-space: nowrap;
}

.guru-page .guru-coaching-status-badge.is-pending {
    background: #fff0e7;
    color: #bd5e2e;
}

.guru-page .guru-coaching-status-badge.is-process {
    background: #fff7df;
    color: #a66d16;
}

.guru-page .guru-coaching-table .guru-coaching-action {
    background: #e5f5ed;
    border: 0;
    border-radius: 7px;
    color: #087a63;
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    font-family: inherit;
    padding: 7px 9px;
    text-decoration: none;
}

.guru-page .guru-coaching-table .guru-coaching-action:hover {
    background: #087a63;
    color: #fff;
}

.guru-page .guru-coaching-actions-cell {
    display: table-cell;
    min-width: 150px;
}

.guru-page .guru-coaching-table td.guru-coaching-actions-cell {
    white-space: normal;
}

.guru-page .guru-coaching-table td.guru-coaching-actions-cell .guru-coaching-action {
    margin: 2px 3px 2px 0;
    vertical-align: middle;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-pending {
    background: #fff0e7;
    color: #bd5e2e;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-pending:hover {
    background: #bd5e2e;
    color: #fff;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-completed {
    background: #e5f5ed;
    color: #087a63;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-completed:hover {
    background: #087a63;
    color: #fff;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-violation {
    background: #fff4e9;
    color: #bd5e2e;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-violation:hover {
    background: #bd5e2e;
    color: #fff;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-secondary-action {
    background: #f3f8f5;
    color: #558073;
    margin-left: 4px;
}

.guru-page .guru-coaching-table .guru-coaching-action.is-secondary-action:hover {
    background: #dcefe6;
    color: #087a63;
}

.guru-page .guru-coaching-footer {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 8px;
}

@media (max-width: 760px) {
    .guru-page .guru-coaching-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .guru-page .guru-coaching-metrics {
        grid-template-columns: 1fr;
    }

    .guru-page .guru-coaching-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.guru-coaching-modal-open {
    overflow: hidden;
}

.guru-coaching-modal-backdrop {
    align-items: center;
    background: rgba(4, 42, 36, .5);
    display: grid;
    inset: 0;
    padding: 20px;
    place-items: center;
    position: fixed;
    z-index: 1200;
}

.guru-coaching-modal-backdrop[hidden] {
    display: none;
}

.guru-coaching-modal {
    background: #fff;
    border: 1px solid #d2e4dc;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 55, 45, .22);
    max-height: min(92vh, 780px);
    max-width: 720px;
    overflow-y: auto;
    padding: 21px;
    width: 100%;
}

.guru-coaching-modal-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e4eee9;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding-bottom: 14px;
}

.guru-coaching-modal-heading h2 {
    color: #075249;
    font-size: 21px;
    margin: 3px 0 0;
}

.guru-coaching-modal-heading p:last-child {
    color: #7b9088;
    font-size: 10px;
    line-height: 1.5;
    margin: 5px 0 0;
}

.guru-coaching-modal-close {
    background: transparent;
    border: 0;
    color: #82958e;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0 2px;
}

.guru-coaching-form {
    display: grid;
    gap: 13px;
    padding-top: 16px;
}

.guru-coaching-selected-student {
    background: #f1faf5;
    border: 1px solid #d9eee1;
    border-radius: 10px;
    padding: 10px 12px;
}

.guru-coaching-selected-student span,
.guru-coaching-selected-student strong,
.guru-coaching-selected-student small {
    display: block;
}

.guru-coaching-selected-student span {
    color: #568073;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.guru-coaching-selected-student strong {
    color: #0c5b50;
    font-size: 13px;
    margin-top: 4px;
}

.guru-coaching-selected-student small {
    color: #78938a;
    font-size: 10px;
    margin-top: 2px;
}

.guru-coaching-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guru-coaching-form-grid label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.guru-coaching-form-grid label.full {
    grid-column: 1 / -1;
}

.guru-coaching-form-grid label > span {
    color: #375b53;
    font-size: 10px;
    font-weight: 700;
}

.guru-coaching-form-grid input,
.guru-coaching-form-grid select,
.guru-coaching-form-grid textarea {
    background: #fbfefd;
    border: 1px solid #cfe1d9;
    border-radius: 9px;
    box-sizing: border-box;
    color: #234740;
    font: inherit;
    font-size: 11px;
    outline: 0;
    padding: 9px 10px;
    width: 100%;
}

.guru-coaching-form-grid input,
.guru-coaching-form-grid select {
    min-height: 38px;
}

.guru-coaching-form-grid textarea {
    min-height: 84px;
    resize: vertical;
}

.guru-coaching-form-grid input:focus,
.guru-coaching-form-grid select:focus,
.guru-coaching-form-grid textarea:focus {
    border-color: #0e8b73;
    box-shadow: 0 0 0 3px rgba(14, 139, 115, .12);
}

.guru-coaching-form-grid input[type="file"] {
    background: #fff;
    padding: 7px 8px;
}

.guru-coaching-form-grid label > small {
    color: #81958e;
    font-size: 9px;
    line-height: 1.4;
}

.guru-coaching-modal-actions {
    border-top: 1px solid #e5eee9;
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    padding-top: 14px;
}

.guru-coaching-detail-modal {
    max-width: 680px;
}

.guru-coaching-detail-body {
    display: grid;
    gap: 12px;
    padding-top: 16px;
}

.guru-coaching-detail-list {
    display: grid;
    gap: 10px;
    max-height: 54vh;
    overflow-y: auto;
    padding-right: 2px;
}

.guru-coaching-detail-empty {
    background: #f8fcfa;
    border: 1px dashed #cfe4da;
    border-radius: 10px;
    color: #769188;
    font-size: 11px;
    padding: 18px;
    text-align: center;
}

.guru-coaching-session {
    background: #fffaf6;
    border: 1px solid #f0d9ca;
    border-left: 4px solid #d77942;
    border-radius: 11px;
    display: grid;
    gap: 9px;
    padding: 11px 12px;
}

.guru-coaching-session.is-completed {
    background: #f5fcf8;
    border-color: #d3eadc;
    border-left-color: #0b876c;
}

.guru-coaching-session.is-review {
    background: #fff8ef;
    border-color: #f2d8b8;
    border-left-color: #c56b32;
}

.guru-coaching-session-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.guru-coaching-session-heading strong {
    color: #075249;
    font-size: 12px;
}

.guru-coaching-session-meta {
    align-items: center;
    display: flex;
    gap: 7px;
}

.guru-coaching-session-meta > span:first-child {
    color: #78938a;
    font-size: 10px;
}

.guru-coaching-session-status {
    background: #fff0e7;
    border-radius: 999px;
    color: #bd5e2e;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 7px;
}

.guru-coaching-session-status.is-completed {
    background: #dff4e8;
    color: #087a63;
}

.guru-coaching-session-status.is-review {
    background: #fff0e7;
    color: #bd5e2e;
}

.guru-coaching-session-field {
    border-top: 1px solid rgba(210, 226, 219, .72);
    padding-top: 8px;
}

.guru-coaching-session-field > span,
.guru-coaching-session-photo > span {
    color: #52776d;
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.guru-coaching-session-field p {
    color: #35584f;
    font-size: 11px;
    line-height: 1.5;
    margin: 4px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.guru-coaching-session-photo {
    border-top: 1px solid rgba(210, 226, 219, .72);
    padding-top: 8px;
}

.guru-coaching-session-photo a {
    display: block;
    margin-top: 7px;
}

.guru-coaching-session-photo img {
    border: 1px solid #d4e6de;
    border-radius: 8px;
    display: block;
    max-height: 190px;
    max-width: 100%;
    object-fit: contain;
}

.guru-coaching-violations-modal {
    max-width: 660px;
}

.guru-coaching-violation-list {
    display: grid;
    gap: 8px;
    max-height: 58vh;
    overflow-y: auto;
    padding-right: 2px;
}

.guru-coaching-violation-item {
    background: #fffaf6;
    border: 1px solid #f0d9ca;
    border-left: 4px solid #d77942;
    border-radius: 10px;
    padding: 10px 12px;
}

.guru-coaching-violation-heading {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.guru-coaching-violation-heading strong {
    color: #795238;
    font-size: 11px;
}

.guru-coaching-violation-heading span {
    color: #9b8375;
    font-size: 9px;
    white-space: nowrap;
}

.guru-coaching-violation-item p {
    color: #5c514b;
    font-size: 11px;
    line-height: 1.45;
    margin: 6px 0 8px;
    white-space: pre-wrap;
    word-break: break-word;
}

.guru-coaching-violation-meta {
    border-top: 1px solid #f1e2d8;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 7px;
}

.guru-coaching-violation-meta span {
    color: #8b6f60;
    font-size: 9px;
}

.guru-coaching-violation-meta span:first-child {
    color: #c55a2c;
    font-weight: 700;
}

.guru-coaching-detail-meta {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guru-coaching-detail-meta span,
.guru-coaching-detail-block,
.guru-coaching-detail-photo {
    background: #f8fcfa;
    border: 1px solid #dcece5;
    border-radius: 10px;
    color: #6c887e;
    font-size: 10px;
    padding: 10px 12px;
}

.guru-coaching-detail-meta strong {
    color: #075249;
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

.guru-coaching-detail-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guru-coaching-detail-block > span,
.guru-coaching-detail-photo > span {
    color: #427267;
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.guru-coaching-detail-block p {
    color: #2d5148;
    font-size: 11px;
    line-height: 1.55;
    margin: 6px 0 0;
    min-height: 18px;
    white-space: pre-wrap;
    word-break: break-word;
}

.guru-coaching-detail-photo[hidden] {
    display: none;
}

.guru-coaching-detail-photo a {
    display: block;
    margin-top: 8px;
}

.guru-coaching-detail-photo img {
    border: 1px solid #d4e6de;
    border-radius: 9px;
    display: block;
    max-height: 240px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 620px) {
    .guru-coaching-modal-backdrop {
        padding: 10px;
    }

    .guru-coaching-modal {
        border-radius: 14px;
        padding: 16px;
    }

    .guru-coaching-form-grid {
        grid-template-columns: 1fr;
    }

    .guru-coaching-form-grid label.full {
        grid-column: auto;
    }

    .guru-coaching-detail-meta,
    .guru-coaching-detail-grid {
        grid-template-columns: 1fr;
    }

    .guru-coaching-modal-actions {
        flex-direction: column-reverse;
    }

    .guru-coaching-modal-actions .button {
        width: 100%;
    }
}

.guru-page .guru-profile-header {
    align-items: center;
    display: flex;
    gap: 14px;
}

.guru-page .guru-profile-header-copy {
    flex: 1;
    min-width: 0;
}

.guru-profile-edit-button {
    flex: 0 0 auto;
    font-size: 11px;
    min-height: 34px;
    padding: 8px 12px;
}

.guru-profile-edit-button span {
    font-size: 15px;
    margin-right: 5px;
}

.guru-profile-avatar-fallback[hidden],
.guru-profile-edit-fallback[hidden],
.guru-profile-edit-image[hidden] {
    display: none !important;
}

.guru-profile-assignment-title > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.guru-page .guru-profile-assignment-title {
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}

.guru-assignment-edit,
.guru-assignment-row-edit {
    background: #e8f5ed;
    border: 0;
    border-radius: 7px;
    color: #19704b;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 9px;
}

.guru-assignment-edit:hover,
.guru-assignment-row-edit:hover {
    background: #d8eee1;
}

.guru-assignment-row-edit {
    background: transparent;
    font-size: 9px;
    padding: 4px 6px;
}

.guru-assignment-row-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: 8px;
}

.guru-assignment-row-actions form {
    display: inline;
    margin: 0;
}

.guru-assignment-row-delete {
    background: transparent;
    border: 0;
    color: #ae5738;
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 6px;
}

.guru-assignment-row-delete:hover {
    background: #fff0ec;
    border-radius: 7px;
}

.guru-profile-assignment-title {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.guru-profile-assignment-list > div {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.guru-profile-assignment-list > div > span {
    min-width: 0;
}

.guru-profile-modal {
    align-items: center;
    background: rgba(5, 47, 40, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 180;
}

.guru-profile-modal[hidden] {
    display: none;
}

.guru-profile-modal-open {
    overflow: hidden;
}

.guru-assignment-modal {
    align-items: center;
    background: rgba(5, 47, 40, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 180;
}

.guru-assignment-modal[hidden] {
    display: none;
}

.guru-assignment-modal[data-guru-assignment-modal="tahfidz"] .guru-profile-dialog {
    max-width: 920px;
}

.guru-assignment-modal-open {
    overflow: hidden;
}

.guru-profile-dialog {
    background: #fff;
    border: 1px solid #dcebe2;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(3, 51, 43, .25);
    max-height: min(680px, calc(100vh - 36px));
    max-width: 620px;
    overflow: auto;
    width: 100%;
}

.guru-profile-dialog-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e9f1ec;
    display: flex;
    justify-content: space-between;
    padding: 21px 23px 17px;
}

.guru-profile-dialog-heading h2 {
    color: #174c42;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 25px;
    margin: 4px 0 0;
}

.guru-profile-dialog-heading p,
.guru-profile-edit-preview small {
    color: #829389;
    font-size: 10px;
    margin: 5px 0 0;
}

.guru-profile-dialog-close {
    background: #f2f8f4;
    border: 0;
    border-radius: 50%;
    color: #587568;
    cursor: pointer;
    font-size: 22px;
    height: 30px;
    line-height: 1;
    width: 30px;
}

.guru-profile-edit-form {
    padding: 20px 23px 22px;
}

.guru-assignment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 23px 22px;
}

.guru-assignment-form label {
    color: #587568;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 7px;
}

.guru-assignment-form select {
    background: #fff;
    border: 1px solid #d8e8de;
    border-radius: 9px;
    color: #315948;
    font: inherit;
    min-height: 40px;
    padding: 9px 11px;
}

.guru-assignment-form select[multiple] {
    min-height: 178px;
}

.guru-assignment-form input[type="time"],
.guru-assignment-form input[type="text"],
.guru-assignment-form input[type="number"] {
    background: #fff;
    border: 1px solid #d8e8de;
    border-radius: 9px;
    color: #315948;
    font: inherit;
    min-height: 40px;
    padding: 9px 11px;
}

.guru-assignment-checkbox {
    align-items: center !important;
    background: #f4fbf6;
    border: 1px solid #dcebe2;
    border-radius: 9px;
    flex-direction: row !important;
    gap: 9px !important;
    padding: 10px 12px;
}

.guru-assignment-checkbox input {
    accent-color: #087f6b;
    height: 16px;
    width: 16px;
}

.guru-schedule-time-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guru-schedule-list {
    display: grid;
    gap: 8px;
}

.guru-schedule-row {
    align-items: center;
    background: #fbfefd;
    border: 1px solid #dcebe4;
    border-radius: 11px;
    display: grid;
    gap: 14px;
    grid-template-columns: 1.1fr 1.7fr .8fr .7fr auto;
    padding: 11px 13px;
}

.guru-schedule-row span {
    color: #41665a;
    font-size: 11px;
    min-width: 0;
}

.guru-schedule-row strong,
.guru-schedule-row small {
    display: block;
}

.guru-schedule-row small {
    color: #829389;
    font-size: 10px;
    margin-top: 3px;
}

.guru-schedule-heading {
    background: #eff8f2;
    border-color: #d2e7da;
    color: #5d7c6d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.guru-schedule-heading span {
    color: #5d7c6d;
    font-size: 10px;
}

.guru-schedule-actions {
    text-align: right;
}

.guru-schedule-disable-form {
    display: inline;
    margin-left: 5px;
}

@media (max-width: 820px) {
    .guru-schedule-heading {
        display: none;
    }

    .guru-schedule-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guru-schedule-actions {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .guru-schedule-time-grid,
    .guru-schedule-row {
        grid-template-columns: 1fr;
    }
}

.guru-assignment-alert {
    background: #dff2df;
    border: 1px solid #57a957;
    border-radius: 4px;
    color: #438b43;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 4px;
    line-height: 1.55;
    padding: 13px 15px;
}

.guru-assignment-alert strong {
    font-size: 13px;
}

.guru-student-picker-label {
    color: #587568;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 7px;
}

.guru-student-picker-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.guru-student-picker-input input {
    border: 1px solid #b9d0ff;
    border-radius: 8px 0 0 8px;
    color: #315948;
    font: inherit;
    min-height: 44px;
    min-width: 0;
    padding: 10px 12px;
}

.guru-student-picker-input input:focus {
    border-color: #628ef0;
    box-shadow: 0 0 0 3px rgba(74, 120, 224, .12);
    outline: 0;
}

.guru-assignment-modal[data-guru-assignment-modal="tahfidz"] .guru-student-picker-input input {
    border-radius: 8px;
}

.guru-student-picker-input .button {
    border-radius: 0 8px 8px 0;
    min-width: 98px;
}

.guru-student-picker-input .button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.guru-student-suggestions {
    background: #fff;
    border: 1px solid #d6e2f3;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 26px rgba(24, 55, 91, .12);
    display: flex;
    flex-direction: column;
    margin-top: -14px;
    max-height: 214px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.guru-student-suggestions[hidden] {
    display: none;
}

.guru-student-suggestion {
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    color: #284d42;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 13px;
    text-align: left;
}

.guru-student-suggestion:last-child {
    border-bottom: 0;
}

.guru-student-suggestion:hover {
    background: #f0f7ff;
}

.guru-student-suggestion strong {
    font-size: 12px;
}

.guru-student-suggestion small,
.guru-student-selected-row small {
    color: #829389;
    font-size: 10px;
    font-weight: 400;
}

.guru-student-suggestion-empty {
    color: #829389;
    font-size: 11px;
    margin: 0;
    padding: 13px;
}

.guru-student-check-message {
    background: #fff0ec;
    border: 1px solid #f3c9bc;
    border-radius: 8px;
    color: #a74a24;
    font-size: 11px;
    line-height: 1.5;
    margin: 12px 0 0;
    padding: 10px 12px;
}

.guru-student-check-message[hidden] {
    display: none;
}

.guru-student-selected {
    background: #f8fbf9;
    border: 1px solid #dfebe4;
    border-radius: 10px;
    margin-top: 14px;
    padding: 16px;
}

.guru-student-selected-heading {
    align-items: center;
    border-bottom: 1px solid #e7f0ea;
    color: #315948;
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    padding-bottom: 9px;
}

.guru-student-selected-heading span {
    background: #e2f3e8;
    border-radius: 999px;
    color: #19704b;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
}

.guru-student-selected-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 13px;
    min-width: 0;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 4px;
}

.guru-assignment-modal[data-guru-assignment-modal="tahfidz"] .guru-student-selected-list {
    max-height: 330px;
}

.guru-student-selected-row {
    align-items: center;
    background: #fff;
    border: 1px solid #e2eee7;
    border-radius: 8px;
    display: flex;
    gap: 13px;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 12px;
}

.guru-student-selected-row > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.guru-student-selected-row strong {
    color: #315948;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guru-student-remove {
    background: #fff0ec;
    border: 0;
    border-radius: 50%;
    color: #ae5738;
    cursor: pointer;
    flex: 0 0 25px;
    font-size: 17px;
    height: 25px;
    line-height: 1;
    width: 25px;
}

.guru-student-remove:hover {
    background: #ffe0d7;
}

.guru-student-selected-empty {
    color: #829389;
    font-size: 10px;
    margin: 10px 0 0;
    text-align: center;
}

.guru-student-options {
    display: none;
}

.guru-tahfidz-target-entry {
    background: #f8fbf9;
    border: 1px solid #d6e9dc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 13px;
}

.guru-tahfidz-target-entry[hidden] {
    display: none;
}

.guru-tahfidz-target-entry-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.guru-tahfidz-target-entry-heading > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.guru-tahfidz-target-entry-heading strong {
    color: #19704b;
    font-size: 12px;
}

.guru-tahfidz-target-entry-heading small {
    color: #829389;
    font-size: 10px;
}

.guru-tahfidz-target-entry > .button {
    align-self: flex-end;
}

.guru-tahfidz-target-entry .guru-tahfidz-target-fields {
    background: #fff;
}

.guru-tahfidz-student-row {
    align-items: stretch;
    box-sizing: border-box;
    display: grid;
    gap: 13px;
    grid-template-columns: minmax(180px, .9fr) minmax(340px, 2fr) 28px;
    height: auto;
    min-height: 122px;
    position: relative;
}

.guru-tahfidz-student-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-top: 5px;
}

.guru-tahfidz-student-info strong {
    color: #315948;
    font-size: 11px;
}

.guru-tahfidz-target-fields {
    background: #f7fbf8;
    border: 1px solid #e0ece4;
    border-radius: 8px;
    flex: 2 1 460px;
    padding: 9px;
}

.guru-tahfidz-target-fields > strong {
    color: #19704b;
    display: block;
    font-size: 10px;
    margin-bottom: 7px;
}

.guru-tahfidz-target-grid {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guru-tahfidz-target-grid label {
    color: #587568;
    display: flex;
    flex-direction: column;
    font-size: 9px;
    font-weight: 700;
    gap: 4px;
}

.guru-tahfidz-target-grid input,
.guru-tahfidz-target-grid select {
    background: #fff;
    border: 1px solid #d5e4da;
    border-radius: 6px;
    color: #315948;
    font: inherit;
    min-height: 30px;
    min-width: 0;
    padding: 6px 7px;
}

.guru-tahfidz-target-grid select {
    cursor: pointer;
}

.guru-tahfidz-target-grid input:focus,
.guru-tahfidz-target-grid select:focus {
    border-color: #5c9d7e;
    box-shadow: 0 0 0 2px rgba(44, 139, 94, .12);
    outline: 0;
}

.guru-tahfidz-target-fields > small {
    color: #829389;
    display: block;
    font-size: 9px;
    margin-top: 6px;
}

.guru-tahfidz-target-summary {
    align-items: flex-start;
    align-self: stretch;
    background: #f7fbf8;
    border: 1px solid #e0ece4;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.guru-tahfidz-target-summary > strong {
    color: #19704b;
    font-size: 10px;
}

.guru-tahfidz-target-summary > span {
    color: #315948;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.guru-tahfidz-target-summary > small {
    color: #829389;
    font-size: 9px;
    line-height: 1.4;
}

.guru-tahfidz-target-edit {
    align-self: flex-end;
    background: #fff;
    border: 1px solid #b9d9c4;
    border-radius: 999px;
    color: #19704b;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 11px;
}

.guru-tahfidz-target-edit:hover {
    background: #eaf7ee;
}

@media (max-width: 760px) {
    .guru-assignment-modal {
        align-items: flex-start;
        padding: 8px;
    }

    .guru-profile-dialog {
        border-radius: 12px;
        max-height: calc(100vh - 16px);
        min-width: 0;
    }

    .guru-assignment-form,
    .guru-student-picker,
    .guru-student-selected {
        min-width: 0;
    }

    .guru-assignment-modal[data-guru-assignment-modal="tahfidz"] .guru-student-selected-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .guru-tahfidz-student-row {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: auto;
        min-height: 0;
    }

    .guru-tahfidz-student-info {
        flex: 0 0 auto;
        padding: 0 35px 0 0;
        width: 100%;
        box-sizing: border-box;
    }

    .guru-tahfidz-target-summary {
        flex: 0 0 auto;
        min-height: 0;
        width: 100%;
    }

    .guru-tahfidz-student-row > .guru-student-remove {
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .guru-tahfidz-target-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.quran-annual-target-summary {
    background: #f2faf5;
    border: 1px solid #cfe9d8;
    border-radius: 9px;
    color: #315948;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    padding: 11px 13px;
}

.quran-annual-target-summary[hidden] {
    display: none;
}

.quran-annual-target-summary > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quran-annual-target-summary strong {
    color: #19704b;
    font-size: 10px;
}

.quran-annual-target-summary span {
    color: #6e8278;
    font-size: 10px;
    line-height: 1.5;
}

.quran-annual-target-progress {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quran-annual-target-progress span {
    background: #fff;
    border: 1px solid #d9ece0;
    border-radius: 999px;
    padding: 5px 8px;
}

.quran-annual-target-progress b {
    color: #19704b;
}

.rekap-qurani-page {
    display: grid;
    gap: 18px;
}

.rekap-qurani-page .rekap-laporan-panel,
.rekap-qurani-page .rekap-qurani-section {
    overflow: hidden;
}

.rekap-qurani-page .rekap-laporan-table-wrap,
.rekap-qurani-page .rekap-qurani-section > .table-wrap {
    border: 1px solid #e2eee7;
    border-radius: 12px;
    margin-top: 4px;
    overflow-x: auto;
}

.rekap-qurani-page .data-table {
    min-width: 900px;
}

.rekap-qurani-page .data-table th {
    background: #eef8f2;
    color: #527267;
    letter-spacing: .04em;
}

.rekap-qurani-page .data-table td {
    background: #fff;
    vertical-align: middle;
}

.rekap-qurani-page .rekap-laporan-table td:nth-child(2),
.rekap-qurani-page .rekap-laporan-summary-table td:nth-child(2),
.rekap-qurani-page .rekap-qurani-table td:nth-child(2),
.rekap-qurani-page .rekap-secondary-table td:first-child {
    white-space: normal;
}

.rekap-qurani-page .rekap-laporan-table td:nth-child(2) strong,
.rekap-qurani-page .rekap-laporan-summary-table td:nth-child(2) strong,
.rekap-qurani-page .rekap-qurani-table td:nth-child(2) strong,
.rekap-qurani-page .rekap-secondary-table td:first-child strong,
.rekap-qurani-page .rekap-laporan-table td:nth-child(2) small,
.rekap-qurani-page .rekap-laporan-summary-table td:nth-child(2) small,
.rekap-qurani-page .rekap-qurani-table td:nth-child(2) small,
.rekap-qurani-page .rekap-secondary-table td:first-child small {
    display: block;
}

.rekap-qurani-page .rekap-laporan-table td:nth-child(2) small,
.rekap-qurani-page .rekap-laporan-summary-table td:nth-child(2) small,
.rekap-qurani-page .rekap-qurani-table td:nth-child(2) small,
.rekap-qurani-page .rekap-secondary-table td:first-child small {
    color: #7a8c84;
    margin-top: 4px;
}

.rekap-qurani-page .data-table tbody tr:nth-child(even) td {
    background: #fbfdfc;
}

.rekap-qurani-page .data-table tbody tr:hover td {
    background: #f2faf5;
}

.rekap-qurani-page .rekap-secondary-grid {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rekap-qurani-page .rekap-secondary-grid > div {
    background: #fbfdfc;
    border: 1px solid #e2eee7;
    border-radius: 12px;
    min-width: 0;
    padding: 14px;
}

.rekap-qurani-page .rekap-secondary-grid h3 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    margin: 0 0 11px;
}

.rekap-qurani-page .rekap-secondary-grid .table-wrap {
    border: 1px solid #e2eee7;
    border-radius: 10px;
    overflow-x: auto;
}

.rekap-qurani-page .rekap-secondary-table {
    min-width: 650px;
}

.rekap-qurani-pager {
    align-items: center;
    border-top: 1px solid #e6efe9;
    color: #788b82;
    display: flex;
    font-size: 10px;
    gap: 12px;
    justify-content: space-between;
    margin-top: 10px;
    padding: 11px 2px 0;
}

.rekap-qurani-pager[hidden] {
    display: none;
}

.rekap-qurani-pager-controls {
    align-items: center;
    display: flex;
    gap: 5px;
}

.rekap-qurani-page-button {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e8df;
    border-radius: 7px;
    color: #237153;
    cursor: pointer;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    min-width: 28px;
    padding: 0 8px;
}

.rekap-qurani-page-button:hover:not(:disabled),
.rekap-qurani-page-button.is-active {
    background: #087958;
    border-color: #087958;
    color: #fff;
}

.rekap-qurani-page-button:disabled {
    cursor: default;
    opacity: .42;
}

.rekap-qurani-page-button.is-arrow {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 860px) {
    .rekap-qurani-page .rekap-secondary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .rekap-qurani-pager {
        align-items: flex-start;
        flex-direction: column;
    }
}

.setoran-form [data-quran-target-guidance] {
    color: #28734f;
    display: block;
    line-height: 1.5;
    margin-top: 4px;
}

.setoran-form [data-quran-target-guidance][data-state="complete"] {
    color: #19704b;
    font-weight: 600;
}

.guru-page .point-student-columns {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guru-page .point-student-selection-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.guru-page .point-student-source-card {
    background: #fff;
    border: 1px solid #dcebe2;
    border-radius: 18px;
    min-width: 0;
    padding: 20px;
}

.guru-page .point-student-source-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e8f0eb;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.guru-page .point-student-source-heading h3 {
    color: #173f36;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    margin: 4px 0 0;
}

.guru-page .point-student-source-heading > span {
    background: #e4f4e9;
    border-radius: 999px;
    color: #19704b;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 9px;
}

.guru-page .point-student-wali-card > label {
    color: #315948;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 10px;
}

.guru-page .point-student-search-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.guru-page .point-student-search-control select {
    background: #fff;
    border: 1px solid #cbd7e2;
    border-radius: 8px 0 0 8px;
    color: #315948;
    font: inherit;
    min-height: 48px;
    min-width: 0;
    padding: 10px 12px;
}

.guru-page .point-student-search-control select:focus {
    border-color: #7d95df;
    box-shadow: 0 0 0 3px rgba(74, 91, 187, .1);
    outline: 0;
}

.guru-page .point-student-search-control .button {
    background: #5048b2;
    border-radius: 0 9px 9px 0;
    min-width: 80px;
}

.guru-page .point-student-search-control .button:hover {
    background: #40399c;
}

.guru-page .point-student-table-wrap {
    max-height: 430px;
    overflow: auto;
}

.guru-page .point-student-table {
    border-collapse: collapse;
    min-width: 580px;
    width: 100%;
}

.guru-page .point-student-table th {
    background: #f5f8fd;
    border-bottom: 1px solid #cbd7e2;
    color: #315948;
    font-size: 10px;
    padding: 11px 10px;
    text-align: left;
    white-space: nowrap;
}

.guru-page .point-student-table td {
    border-bottom: 1px solid #dbe3ee;
    color: #284d42;
    font-size: 10px;
    padding: 12px 10px;
    vertical-align: middle;
    white-space: nowrap;
}

.guru-page .point-student-table tbody tr:nth-child(odd) {
    background: #f5f7fe;
}

.guru-page .point-student-table tbody tr:hover {
    background: #edf1ff;
}

.guru-page .point-student-table input[type='checkbox'] {
    accent-color: #5048b2;
    cursor: pointer;
    height: 14px;
    width: 14px;
}

.guru-page .point-history-button {
    background: #5048b2;
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 10px;
    padding: 7px 12px;
    text-decoration: none;
}

.guru-page .point-history-button:hover {
    background: #40399c;
}

.guru-page .point-student-selection-help.is-error {
    background: #fff0ec;
    border-left-color: #c35d3c;
    color: #a74a24;
}

.guru-page .point-student-card {
    background: #f8fbf9;
    border: 1px solid #dfebe4;
    border-radius: 12px;
    padding: 15px;
}

.guru-page .point-student-card-heading {
    align-items: center;
    border-bottom: 1px solid #e5efe8;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.guru-page .point-student-card-heading strong {
    color: #315948;
    font-size: 12px;
}

.guru-page .point-student-card-heading span {
    background: #e2f3e8;
    border-radius: 999px;
    color: #19704b;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 8px;
}

.guru-page .point-student-card label {
    color: #587568;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 7px;
}

.guru-page .point-student-card select {
    background: #fff;
    border: 1px solid #d8e8de;
    border-radius: 9px;
    color: #315948;
    font: inherit;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.guru-page .point-student-card select:focus {
    border-color: #7cb99e;
    box-shadow: 0 0 0 3px rgba(80, 150, 115, .1);
    outline: 0;
}

.guru-page .point-student-selection-help {
    background: #f4faf6;
    border-left: 3px solid #d4ad55;
    color: #6d8176;
    font-size: 10px;
    line-height: 1.5;
    margin: -2px 0 0;
    padding: 9px 11px;
}

@media (max-width: 680px) {
    .guru-page .point-student-columns {
        grid-template-columns: 1fr;
    }

    .guru-page .point-student-selection-layout {
        grid-template-columns: 1fr;
    }
}

.guru-assignment-help {
    color: #829389;
    font-size: 10px;
    margin-top: -6px;
}

.guru-assignment-form-message {
    border-radius: 9px;
    font-size: 10px;
    margin: 0;
    padding: 10px 11px;
}

.guru-assignment-form-message.is-error {
    background: #fff2ec;
    color: #a74a24;
}

.guru-assignment-form-message.is-success {
    background: #e7f7ed;
    color: #19704b;
}

.guru-profile-edit-preview {
    align-items: center;
    background: #f7fbf8;
    border: 1px solid #e0eee5;
    border-radius: 13px;
    display: flex;
    gap: 13px;
    padding: 12px;
}

.guru-profile-edit-image,
.guru-profile-edit-fallback {
    align-items: center;
    background: #d9eee2;
    border-radius: 50%;
    color: #176f4d;
    display: flex;
    flex: 0 0 54px;
    font-size: 16px;
    font-weight: 700;
    height: 54px;
    justify-content: center;
    object-fit: cover;
    width: 54px;
}

.guru-profile-edit-preview strong,
.guru-profile-edit-preview small {
    display: block;
}

.guru-profile-file-field,
.guru-profile-password-grid label {
    color: #587568;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 7px;
}

.guru-profile-file-field {
    margin-top: 17px;
}

.guru-profile-file-field input,
.guru-profile-password-grid input {
    border: 1px solid #d8e8de;
    border-radius: 9px;
    color: #315948;
    font: inherit;
    min-height: 40px;
    padding: 9px 11px;
}

.guru-profile-password-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.guru-profile-form-message {
    border-radius: 9px;
    font-size: 10px;
    margin: 14px 0 0;
    padding: 10px 11px;
}

.guru-profile-form-message.is-error {
    background: #fff2ec;
    color: #a74a24;
}

.guru-profile-form-message.is-success {
    background: #e7f7ed;
    color: #19704b;
}

.guru-profile-dialog-actions {
    border-top: 1px solid #e9f1ec;
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 17px;
}

@media (max-width: 560px) {
    .guru-page .guru-profile-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .guru-profile-edit-button {
        margin-left: 68px;
    }

    .guru-profile-password-grid {
        grid-template-columns: 1fr;
    }

    .guru-profile-dialog-heading,
    .guru-profile-edit-form,
    .guru-assignment-form {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.guru-student-modal {
    align-items: center;
    background: rgba(5, 47, 40, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 160;
}

.guru-student-modal[hidden] {
    display: none;
}

.guru-student-modal-open {
    overflow: hidden;
}

.guru-student-dialog {
    background: #fff;
    border: 1px solid #dcebe2;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(3, 51, 43, .25);
    max-height: min(680px, calc(100vh - 40px));
    max-width: 620px;
    overflow: hidden;
    width: 100%;
}

.guru-student-dialog-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e9f1ec;
    display: flex;
    justify-content: space-between;
    padding: 20px 22px 16px;
}

.guru-student-dialog-heading h2 {
    color: #174c42;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
    margin: 4px 0 0;
}

.guru-student-dialog-heading p {
    color: #829389;
    font-size: 10px;
    margin: 5px 0 0;
}

.guru-student-close {
    background: #f2f8f4;
    border: 0;
    border-radius: 50%;
    color: #587568;
    cursor: pointer;
    font-size: 22px;
    height: 30px;
    line-height: 1;
    width: 30px;
}

.guru-student-close:hover {
    background: #e1f0e7;
    color: #174c42;
}

.guru-student-list {
    max-height: 520px;
    overflow-y: auto;
    padding: 8px 22px 18px;
}

.guru-student-row {
    align-items: center;
    border-bottom: 1px solid #edf3ef;
    display: flex;
    gap: 11px;
    padding: 11px 0;
}

.guru-student-row:last-child {
    border-bottom: 0;
}

.guru-student-number {
    align-items: center;
    background: #e8f5ed;
    border-radius: 8px;
    color: #27845c;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 10px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
}

.guru-student-row strong,
.guru-student-row small {
    display: block;
}

.guru-student-row strong {
    color: #365c4d;
    font-size: 11px;
}

.guru-student-row small {
    color: #829389;
    font-size: 9px;
    margin-top: 3px;
}

@media (max-width: 560px) {
    .guru-student-modal {
        padding: 12px;
    }

    .guru-student-dialog-heading,
    .guru-student-list {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 860px) {
    .guru-page .guru-profile-columns {
        grid-template-columns: 1fr;
    }

    .guru-page .guru-profile-column-assignment .guru-profile-assignment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .guru-page .guru-profile-column {
        border-radius: 14px;
        padding: 16px;
    }

    .guru-page .guru-profile-header {
        min-height: 160px;
    }
}

/* Portal Orang Tua mengikuti bahasa visual Dashboard Guru. */
.parent-page .parent-topbar-title {
    display: flex;
    flex-direction: column;
    margin-right: auto;
}

.parent-page .parent-topbar-title strong {
    font-size: 16px;
}

.parent-page .parent-topbar-title small {
    font-size: 10px;
    margin-top: 2px;
}

.parent-page .parent-section-nav {
    background: #fff;
    border-bottom-color: #e7eee9;
    gap: 24px;
    min-height: 42px;
    padding: 0 24px;
}

.parent-page .parent-section-nav a {
    font-size: 10px;
    min-height: 42px;
}

.parent-page .parent-section-nav a:hover,
.parent-page .parent-section-nav a.active {
    border-bottom-color: #247b57;
    color: #247b57;
}

.parent-page .parent-content {
    background: transparent;
    max-width: none;
    padding-top: 20px;
}

.parent-page .parent-heading {
    margin-bottom: 22px;
}

.parent-page .parent-heading h1 {
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 5px;
}

.parent-page .parent-heading .eyebrow {
    margin-bottom: 5px;
}

.parent-page .parent-heading .page-subtitle {
    font-size: 11px;
    line-height: 1.35;
}

.parent-page .parent-year-badge,
.parent-page .parent-panel-note {
    background: #e9f6ee;
    border-color: #d7ede0;
    color: #2b7957;
}

.parent-page .parent-stat-grid {
    gap: 10px;
    margin-bottom: 14px;
}

.parent-page .parent-stat-grid .stat-card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(17, 67, 49, .035);
    min-height: 78px;
    padding: 11px 12px;
}

.parent-page .parent-stat-grid .stat-icon {
    border-radius: 10px;
    height: 40px;
    width: 40px;
}

.parent-page .parent-stat-grid .stat-card strong {
    font-size: 24px;
    line-height: 1.15;
    margin: 3px 0 2px;
}

.parent-page .parent-stat-grid .stat-card span {
    font-size: 10px;
    line-height: 1.25;
}

.parent-page .parent-stat-grid .stat-card small {
    font-size: 9px;
}

.parent-page .parent-grid {
    gap: 12px;
    margin-bottom: 12px;
}

.parent-page .parent-panel {
    border-color: #e1eae5;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(17, 67, 49, .025);
}

.parent-page .parent-panel .panel-heading {
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.parent-page .parent-panel .panel-heading h2 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
}

.parent-page .parent-panel .panel-heading a {
    color: #2d7656;
    font-size: 9px;
    font-weight: 700;
}

.parent-page .parent-table th {
    color: #65766d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
}

.parent-page .parent-table td {
    color: #53655d;
    font-size: 10px;
}

.parent-page .parent-table td:first-child,
.parent-page .parent-table td strong {
    color: #173d35;
}

.parent-page .finance-panel,
.parent-page .history-panel,
.parent-page .support-panel {
    margin-bottom: 12px;
}

.parent-page .finance-extra-card,
.parent-page .support-grid > div,
.parent-page .featured-message,
.parent-page .message-all {
    border-radius: 10px;
}

.parent-page .support-grid {
    gap: 10px;
}

.parent-page .support-grid > div {
    min-height: 112px;
}

.parent-dashboard-summary {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.parent-dashboard-summary > div {
    align-items: center;
    background: #f8fbf9;
    border: 1px solid #e3eee8;
    border-radius: 9px;
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 9px;
}

.parent-dashboard-summary .summary-icon {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 29px;
    justify-content: center;
    width: 29px;
}

.parent-dashboard-summary .summary-icon.green {
    background: #e2f5e9;
    color: #2f9067;
}

.parent-dashboard-summary .summary-icon.blue {
    background: #e8f1fd;
    color: #3979d3;
}

.parent-dashboard-summary .summary-icon.gold {
    background: #fff1dc;
    color: #bd8426;
}

.parent-dashboard-summary .summary-icon.purple {
    background: #f1eafa;
    color: #8059b6;
}

.parent-dashboard-summary strong,
.parent-dashboard-summary small {
    display: block;
}

.parent-dashboard-summary strong {
    color: #173d35;
    flex: 1;
    font-size: 10px;
    min-width: 0;
}

.parent-dashboard-summary small {
    color: #718078;
    font-size: 9px;
    font-weight: 400;
    margin-top: 3px;
}

.parent-dashboard-summary b {
    background: #eaf6ee;
    border-radius: 999px;
    color: #2b7957;
    font-size: 8px;
    font-weight: 700;
    padding: 4px 6px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .parent-page .parent-grid,
    .parent-page .parent-grid-equal {
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .parent-page .parent-content {
        padding-top: 18px;
    }

    .parent-page .parent-section-nav {
        gap: 18px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .parent-page .parent-heading h1 {
        font-size: 25px;
    }

    .parent-dashboard-summary {
        grid-template-columns: 1fr;
    }
}

/* SPP finance card */
.parent-page .finance-spp-box {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 16px;
    overflow: hidden;
    padding: 0;
}

.parent-page .finance-section-heading {
    align-items: center;
    margin-bottom: 15px;
}

.parent-page .finance-heading-copy {
    min-width: 0;
}

.parent-page .finance-kicker {
    color: #0a806a;
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.parent-page .finance-section-heading h3 {
    font-size: 20px;
    letter-spacing: -.02em;
    margin: 0;
}

.parent-page .finance-heading-copy p {
    color: #71847b;
    font-size: 10px;
    margin: 3px 0 0;
}

.parent-page .finance-spp-summary {
    align-items: flex-end;
    background: #e6f5ed;
    border: 1px solid #cfe9db;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 8px 11px;
}

.parent-page .finance-spp-summary strong {
    color: #087c68;
    font-size: 16px;
    line-height: 1;
}

.parent-page .finance-spp-summary span {
    color: #5e806f;
    font-size: 8px;
    font-weight: 700;
    margin-top: 4px;
}

.parent-page .finance-month-grid,
.parent-page .finance-status-grid {
    border-color: #d6e7de;
    min-width: 720px;
}

.parent-page .finance-spp-scroll {
    border: 1px solid #d6e7de;
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: #78a995 #edf6f1;
    scrollbar-width: thin;
}

.parent-page .finance-spp-scroll::-webkit-scrollbar {
    height: 7px;
}

.parent-page .finance-spp-scroll::-webkit-scrollbar-track {
    background: #edf6f1;
    border-radius: 999px;
}

.parent-page .finance-spp-scroll::-webkit-scrollbar-thumb {
    background: #78a995;
    border-radius: 999px;
}

.parent-page .finance-spp-scroll .finance-month-grid,
.parent-page .finance-spp-scroll .finance-status-grid {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.parent-page .finance-month-grid {
    background: #087c68;
    border-radius: 10px 10px 0 0;
    color: #fff;
    gap: 1px;
    padding: 0;
}

.parent-page .finance-month-grid > div,
.parent-page .finance-status-grid > div {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 48px;
    padding: 6px 4px;
}

.parent-page .finance-month-grid .finance-month-label,
.parent-page .finance-status-grid .finance-month-label {
    justify-content: flex-start;
    padding-left: 11px;
}

.parent-page .finance-month-cell {
    background: rgba(255, 255, 255, .075);
    flex-direction: column;
    font-size: 9px;
    line-height: 1.15;
}

.parent-page .finance-month-cell strong {
    color: #c9eee0;
    font-size: 9px;
    margin-top: 3px;
}

.parent-page .finance-status-grid {
    background: rgba(255, 255, 255, .8);
    border-radius: 0 0 10px 10px;
    padding: 0;
}

.parent-page .finance-status-grid > div {
    border-right: 1px solid #e2eee8;
    flex-direction: column;
    gap: 3px;
}

.parent-page .finance-status-grid > div:last-child {
    border-right: 0;
}

.parent-page .finance-status-cell small {
    color: #778b81;
    font-size: 8px;
    font-weight: 700;
}

.parent-page .finance-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.parent-page .finance-status.is-paid {
    background: #dff4e8;
    color: #15915b;
}

.parent-page .finance-status.is-unpaid {
    background: #fff0ed;
    color: #e6534d;
}

.parent-page .finance-legend {
    margin-top: 12px;
}

.parent-page .parent-avatar-image {
    object-fit: cover;
    padding: 0;
}

.parent-page .parent-avatar-initial {
    background: #d9f0e5;
    border: 1px solid #c5e5d5;
    color: #087c68;
}

.parent-profile-heading {
    margin-bottom: 15px;
}

.parent-profile-summary {
    align-items: center;
    background: linear-gradient(120deg, #f0faf5, #ffffff 68%);
    border: 1px solid #d7e9df;
    border-radius: 14px;
    display: grid;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr) minmax(180px, 250px);
    margin-bottom: 14px;
    padding: 16px 18px;
}

.parent-profile-avatar,
.parent-profile-photo-preview {
    align-items: center;
    background: #dff3e8;
    border: 1px solid #c7e6d5;
    border-radius: 50%;
    color: #087c68;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 800;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    width: 64px;
}

.parent-profile-avatar img,
.parent-profile-photo-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.parent-profile-summary-copy h2 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    margin: 3px 0 2px;
}

.parent-profile-summary-copy p {
    color: #71847b;
    font-size: 10px;
    margin: 0;
}

.parent-profile-progress {
    background: rgba(255, 255, 255, .72);
    border: 1px solid #dcece3;
    border-radius: 10px;
    padding: 10px 12px;
}

.parent-profile-progress > div:first-child {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.parent-profile-progress strong {
    color: #087c68;
    font-size: 17px;
}

.parent-profile-progress span {
    color: #72847b;
    font-size: 8px;
    text-align: right;
}

.parent-profile-progress-track {
    background: #dfeee6;
    border-radius: 999px;
    height: 7px;
    margin-top: 8px;
    overflow: hidden;
}

.parent-profile-progress-track i {
    background: linear-gradient(90deg, #07866e, #5abf88);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 4px;
}

.parent-profile-form {
    display: grid;
    gap: 14px;
}

.parent-profile-panel {
    margin: 0;
    padding: 19px;
}

.parent-profile-panel-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e7efea;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.parent-profile-panel-heading h2 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    margin: 3px 0 0;
}

.parent-profile-panel-heading p {
    color: #74867d;
    font-size: 10px;
    margin: 4px 0 0;
}

.parent-profile-readonly,
.parent-profile-required-note {
    background: #eef7f1;
    border: 1px solid #d9eae0;
    border-radius: 999px;
    color: #3e8064;
    font-size: 8px;
    font-weight: 800;
    padding: 5px 8px;
    white-space: nowrap;
}

.parent-profile-required-note {
    background: #fff8e8;
    border-color: #f3e2bb;
    color: #ad7a2c;
}

.parent-profile-readonly-grid {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.parent-profile-readonly-grid > div {
    background: #f8fbf9;
    border: 1px solid #e5eee9;
    border-radius: 9px;
    padding: 10px 11px;
}

.parent-profile-readonly-grid span,
.parent-profile-readonly-grid strong {
    display: block;
}

.parent-profile-readonly-grid span {
    color: #7c8e85;
    font-size: 9px;
    margin-bottom: 4px;
}

.parent-profile-readonly-grid strong {
    color: #1a4538;
    font-size: 11px;
}

.parent-profile-photo-row {
    align-items: center;
    background: #f8fcf9;
    border: 1px dashed #cfe5d8;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding: 11px;
}

.parent-profile-photo-preview {
    font-size: 16px;
    height: 48px;
    width: 48px;
}

.parent-profile-file-field,
.parent-profile-field {
    display: grid;
    gap: 6px;
}

.parent-profile-file-field {
    flex: 1;
}

.parent-profile-file-field > span,
.parent-profile-field > span {
    color: #42685a;
    font-size: 9px;
    font-weight: 800;
}

.parent-profile-file-field input,
.parent-profile-field input,
.parent-profile-field textarea {
    background: #fff;
    border: 1px solid #d8e7df;
    border-radius: 8px;
    color: #234b3d;
    font: inherit;
    font-size: 10px;
    outline: 0;
    padding: 10px 11px;
    width: 100%;
}

.parent-profile-file-field input {
    padding: 7px 9px;
}

.parent-profile-file-field input:focus,
.parent-profile-field input:focus,
.parent-profile-field textarea:focus {
    border-color: #76b89a;
    box-shadow: 0 0 0 3px rgba(77, 169, 125, .12);
}

.parent-profile-file-field small {
    color: #819189;
    font-size: 8px;
}

.parent-profile-form-grid {
    display: grid;
    gap: 13px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.parent-profile-field-wide {
    grid-column: 1 / -1;
}

.parent-profile-field textarea {
    min-height: 76px;
    resize: vertical;
}

.parent-profile-parent-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.parent-profile-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 10px;
}

.parent-profile-actions > span {
    color: #7b8b83;
    font-size: 9px;
}

.parent-info-modal[hidden] {
    display: none;
}

.parent-info-modal {
    align-items: center;
    background: rgba(15, 42, 34, .42);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 1200;
}

.parent-info-dialog {
    animation: parent-info-dialog-in .22s ease-out;
    background: linear-gradient(145deg, #ffffff, #f4fbf7);
    border: 1px solid #d4e7dc;
    border-radius: 17px;
    box-shadow: 0 24px 60px rgba(12, 61, 46, .2);
    max-width: 390px;
    padding: 25px;
    position: relative;
    width: 100%;
}

.parent-info-close {
    align-items: center;
    background: #eef7f1;
    border: 0;
    border-radius: 50%;
    color: #638276;
    cursor: pointer;
    display: inline-flex;
    font-size: 19px;
    height: 28px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 28px;
}

.parent-info-dialog-icon {
    align-items: center;
    background: #dff4e8;
    border: 1px solid #c9e8d7;
    border-radius: 13px;
    color: #087c68;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 17px;
    width: 48px;
}

.parent-info-dialog > .eyebrow {
    color: #0a806a;
    display: block;
    margin-bottom: 6px;
}

.parent-info-dialog h2 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    line-height: 1.15;
    margin: 0;
    padding-right: 24px;
}

.parent-info-dialog p {
    color: #687b72;
    font-size: 11px;
    line-height: 1.65;
    margin: 10px 0 21px;
}

.parent-info-motivation {
    align-items: flex-start;
    animation: parent-info-slow-blink 3.8s ease-in-out infinite;
    background: #fff9e9;
    border: 1px solid #f2e3bd;
    border-radius: 10px;
    color: #92702d;
    display: flex;
    gap: 8px;
    margin: -5px 0 20px;
    padding: 10px 11px;
}

.parent-info-motivation > span {
    color: #d49629;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.3;
}

.parent-info-motivation p {
    color: #806832;
    font-size: 10px;
    line-height: 1.5;
    margin: 0;
}

.parent-info-dialog-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
}

.parent-info-dialog-actions .button {
    min-width: 92px;
}

body.parent-info-open {
    overflow: hidden;
}

@keyframes parent-info-dialog-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes parent-info-slow-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .62; }
}

@media (max-width: 780px) {
    .parent-profile-summary,
    .parent-profile-parent-grid {
        grid-template-columns: 1fr;
    }

    .parent-profile-progress {
        max-width: none;
    }

    .parent-profile-readonly-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .parent-profile-panel {
        padding: 14px;
    }

    .parent-profile-form-grid,
    .parent-profile-readonly-grid {
        grid-template-columns: 1fr;
    }

    .parent-profile-panel-heading,
    .parent-profile-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .parent-profile-actions .button {
        width: 100%;
    }

    .parent-info-dialog {
        padding: 21px;
    }

    .parent-info-dialog-actions {
        flex-direction: column-reverse;
    }

    .parent-info-dialog-actions .button {
        width: 100%;
    }
}
