:root {
    --cdf-primary: #165a47;
    --cdf-primary-dark: #0f4334;
    --cdf-accent: #2ea36b;
    --cdf-mint: #e8f6ef;
    --cdf-mint-2: #f4fbf7;
    --cdf-text: #1b3a32;
    --cdf-muted: #6b7c76;
    --cdf-line: #d9ebe3;
    --cdf-card: #ffffff;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: #cfe6db;
    color: var(--cdf-text);
    font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    background: linear-gradient(180deg, #eaf7f1 0%, #ffffff 320px);
    box-shadow: 0 0 40px rgba(22, 90, 71, 0.12);
    position: relative;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top);
}

.app-shell.container {
    padding-left: 0;
    padding-right: 0;
}

.app-shell.has-nav {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-banner {
    min-height: 148px;
    background: linear-gradient(135deg, var(--cdf-primary) 0%, var(--cdf-accent) 100%);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 20px 18px;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
}

/* Keep phone banners at natural height; cap height on wider viewports without cropping the artwork. */
@media (min-width: 768px) {
    .banner-img {
        height: 195px;
        object-fit: contain;
        object-position: center top;
    }

    .banner-img.savings-logo {
        height: auto;
        max-height: 80px;
    }

    .hero-banner {
        min-height: 148px;
        max-height: 220px;
    }
}

.page-body {
    padding: 8px 18px 28px;
}

.page-title {
    color: var(--cdf-primary);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 0.04em;
    margin: 4px 0 6px;
}

.page-subtitle {
    color: var(--cdf-muted);
    margin-bottom: 18px;
}

.home-student-row + .home-student-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--cdf-line);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 14px 18px 6px;
    color: var(--cdf-text);
    font-weight: 700;
}

.topbar a {
    position: absolute;
    left: 16px;
    top: 12px;
    color: var(--cdf-text);
    text-decoration: none;
    font-size: 1.1rem;
}

.topbar .staff-logout-link {
    left: auto;
    right: 16px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--cdf-primary);
}

.coming-soon-panel {
    min-height: calc(100dvh - 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 18px;
}

.coming-soon-title {
    color: var(--cdf-primary);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.coming-soon-hint {
    color: var(--cdf-muted);
    margin: 0;
    font-size: 0.95rem;
}

.activity-invite-card + .activity-invite-card {
    margin-top: 0;
}

/* Portal activity agenda (date-grouped schedule) */
.activity-agenda {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.activity-agenda-day {
    margin: 0;
}

.activity-agenda-day-label {
    margin: 0 0 0.55rem;
    padding: 0 0.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cdf-text, #1a2b3c);
    letter-spacing: 0.01em;
    border-left: 3px solid var(--cdf-primary, #0d9b8a);
    padding-left: 0.55rem;
    line-height: 1.35;
}

.activity-agenda-item {
    margin-bottom: 0.65rem;
    padding: 0.85rem 1rem;
}

.activity-agenda-item:last-child {
    margin-bottom: 0;
}

.activity-agenda-item-main {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.activity-agenda-time {
    flex: 0 0 3.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cdf-primary, #0d9b8a);
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.activity-agenda-body {
    flex: 1 1 auto;
    min-width: 0;
}

.activity-agenda-name {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--cdf-text, #1a2b3c);
    word-break: break-word;
}

.activity-agenda-place {
    margin-top: 0.2rem;
    font-size: 0.875rem;
    color: var(--cdf-muted, #6b7c88);
    word-break: break-word;
}

.activity-accept-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.activity-accept-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.activity-accept-label {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--cdf-text);
}

.activity-accept-btn {
    border: 1px solid var(--cdf-line);
    border:0;
    background: #fff;
    border-radius: 12px;
    min-width: 48px;
    min-height: 44px;
    padding: 6px 10px;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--cdf-primary);
    cursor: pointer;
}

.activity-accept-btn .fa-square-xmark {
    color: #c62828;
}

.activity-accept-btn .fa-square {
    color: var(--cdf-muted);
}

.activity-accept-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.activity-accept-btn[aria-busy="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.btn-cdf.btn-sm {
    white-space: nowrap;
    border-radius: 999px;
    padding: 8px 14px;
}

.btn-cdf {
    --bs-btn-bg: var(--cdf-primary);
    --bs-btn-border-color: var(--cdf-primary);
    --bs-btn-hover-bg: var(--cdf-primary-dark);
    --bs-btn-hover-border-color: var(--cdf-primary-dark);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--cdf-primary-dark);
    --bs-btn-active-border-color: var(--cdf-primary-dark);
    --bs-btn-active-color: #fff;
    border-radius: 14px;
    font-weight: 700;
    padding: 12px 18px;
}

.btn-cdf-soft {
    --bs-btn-bg: #e7f4ee;
    --bs-btn-border-color: #e7f4ee;
    --bs-btn-hover-bg: #d7eee3;
    --bs-btn-hover-border-color: #d7eee3;
    --bs-btn-color: var(--cdf-primary);
    --bs-btn-hover-color: var(--cdf-primary);
    border-radius: 14px;
    font-weight: 700;
    padding: 12px 18px;
}

.btn-cdf-outline {
    --bs-btn-color: var(--cdf-primary);
    --bs-btn-border-color: #b7d8cb;
    --bs-btn-hover-bg: #e7f4ee;
    --bs-btn-hover-border-color: #b7d8cb;
    --bs-btn-hover-color: var(--cdf-primary);
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 18px;
}

.input-icon-field {
    position: relative;
    margin-bottom: 14px;
}

.input-icon-field i,
.input-icon-field .toggle-password {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa197;
    z-index: 2;
}

.input-icon-field i {
    left: 16px;
}

.input-icon-field .toggle-password {
    right: 45px;
    border: 0;
    background: transparent;
    padding: 0;
}

.input-icon-field .form-control {
    border: 0;
    background: #f3f6f5;
    border-radius: 16px;
    padding: 14px 44px;
    min-height: 54px;
    box-shadow: none;
}

.input-icon-field .form-control:focus {
    background: #eef5f1;
    box-shadow: 0 0 0 3px rgba(22, 90, 71, 0.12);
}

.form-check-label,
.link-cdf {
    color: var(--cdf-primary);
    font-weight: 600;
    text-decoration: none;
}

.link-cdf:hover {
    color: var(--cdf-primary-dark);
}

.form-check-input:checked {
    background-color: var(--cdf-primary);
    border-color: var(--cdf-primary);
}

.form-switch .form-check-input {
    width: 2.6em;
    height: 1.4em;
    cursor: pointer;
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(22, 90, 71, 0.12);
}

.soft-card {
    background: var(--cdf-card);
    border: 0;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(22, 90, 71, 0.06);
    padding: 16px;
    margin-bottom: 14px;
}

.icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf6f0;
    color: var(--cdf-primary);
    flex-shrink: 0;
    font-size: 1.15rem;
}

.badge-soft {
    border-radius: 999px;
    font-weight: 700;
    padding: 6px 10px;
    font-size: 0.78rem;
}

.badge-pending {
    background: #fff4d6;
    color: #b8860b;
}

.badge-soon {
    background: #ffe3ea;
    color: #d14b6a;
}

.badge-ok {
    background: #dff6ea;
    color: #1a7a54;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid var(--cdf-line);
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
    z-index: 20;
}

@media (min-width: 576px) {
    .bottom-nav { max-width: 540px; }
}
@media (min-width: 768px) {
    .bottom-nav { max-width: 720px; }
}
@media (min-width: 992px) {
    .bottom-nav { max-width: 960px; }
}
@media (min-width: 1200px) {
    .bottom-nav { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .bottom-nav { max-width: 1320px; }
}

.bottom-nav.nav-5 {
    grid-template-columns: repeat(5, 1fr);
}
.bottom-nav.nav-6 {
    grid-template-columns: repeat(6, 1fr);
}

.bottom-nav-item {
    text-align: center;
    color: #8aa197;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 0;
}

.bottom-nav-item i {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--cdf-primary);
}

.reminder-amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--cdf-text);
    line-height: 1;
}

.section-label {
    font-weight: 800;
    color: var(--cdf-primary);
    margin: 10px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.savings-tabs .nav-link {
    border: 0;
    border-radius: 14px;
    color: var(--cdf-muted);
    font-weight: 700;
    padding: 12px 10px;
    background: #f3f6f5;
}

.savings-tabs .nav-link.active {
    background-color: var(--cdf-primary) !important;
    color: #fff !important;
}

.list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f4f2;
}

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

.list-row .meta {
    color: var(--cdf-muted);
    font-size: 0.88rem;
}

.check-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #c5d7ce;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.check-dot.done {
    background: var(--cdf-accent);
    border-color: var(--cdf-accent);
}

.upload-zone {
    border: 2px dashed #b7d8cb;
    background: #f7fcf9;
    border-radius: 20px;
    padding: 28px 16px;
    text-align: center;
    color: var(--cdf-primary);
    cursor: pointer;
}

.upload-zone i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #d9f0e4;
    color: var(--cdf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.profile-avatar--lg {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
}

.profile-avatar.has-img {
    background: #e8f5ef;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-avatar-panel {
    padding: 16px 18px;
}

.profile-avatar-hit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.profile-pic-upload-hint {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cdf-primary);
}

.profile-pic-status.is-ok {
    color: #047857;
}

.profile-pic-status.is-error {
    color: #b91c1c;
}

.muted-link {
    color: var(--cdf-muted);
    text-decoration: none;
}

.muted-link:hover {
    color: var(--cdf-primary);
}

.contact-link {
    display: block;
    text-align: center;
    color: var(--cdf-muted);
    text-decoration: none;
    margin-top: 18px;
    font-size: 0.92rem;
}

.profile-actions .btn {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
}

.profile-password-modal {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
}

.profile-password-modal .modal-header,
.profile-password-modal .modal-footer {
    border-color: var(--cdf-line);
}

.profile-password-modal .modal-title {
    color: var(--cdf-primary);
    font-weight: 800;
}

.profile-password-modal .form-label {
    color: var(--cdf-text);
}

.profile-edit-modal-form + .profile-edit-modal-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--cdf-line);
}

.is-disabled,
.is-disabled .form-check-input,
button:disabled {
    opacity: 0.55;
    pointer-events: none;
}

body.theme-mentor {
    --cdf-primary: #e65100;
    --cdf-primary-dark: #bf360c;
    --cdf-accent: #ff9800;
    --cdf-mint: #fff3e0;
    --cdf-mint-2: #fff8f1;
    --cdf-text: #3e2723;
    --cdf-muted: #8d6e63;
    --cdf-line: #ffe0b2;
    background: #ffe0b2;
}

body.theme-mentor .app-shell {
    background: linear-gradient(180deg, #fff3e0 0%, #ffffff 320px);
    box-shadow: 0 0 40px rgba(230, 81, 0, 0.12);
}

body.theme-mentor .icon-bubble,
body.theme-mentor .profile-avatar {
    background: #ffe0b2;
}

body.theme-mentor .btn-cdf-soft {
    --bs-btn-bg: #ffe0b2;
    --bs-btn-border-color: #ffe0b2;
    --bs-btn-hover-bg: #ffcc80;
    --bs-btn-hover-border-color: #ffcc80;
}

body.theme-mentor .btn-cdf-outline {
    --bs-btn-border-color: #ffcc80;
    --bs-btn-hover-bg: #fff3e0;
    --bs-btn-hover-border-color: #ffcc80;
}

body.theme-mentor .input-icon-field .form-control,
body.theme-mentor .savings-tabs .nav-link {
    background: #fff8f1;
}

body.theme-mentor .upload-zone {
    border-color: #ffcc80;
    background: #fff8f1;
}

body.theme-mentor .hero-banner,
body.theme-mentor .mentor-hero {
    background: linear-gradient(135deg, #1a365d 0%, #e65100 100%);
}

/* Home hero: text-only height over the login artwork, no gradient block. */
body.theme-mentor .hero-banner.mentor-hero {
    min-height: 0;
    max-height: none;
    height: auto;
    background: none;
    color: var(--cdf-primary);
    align-items: flex-end;
    padding: 16px 18px;
}

.deposit-sort {
    width: auto;
    border: 1px solid var(--cdf-line);
    border-radius: 999px;
    padding: 6px 28px 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cdf-text);
    background-color: #fff;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.deposit-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    white-space: nowrap;
}

.deposit-table th,
.deposit-table td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #f0f4f2;
    font-size: 0.92rem;
}

.deposit-table th {
    color: var(--cdf-muted);
    font-weight: 600;
}

.deposit-table tbody tr:last-child td {
    border-bottom: 0;
}

.receipt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.receipt-thumb {
    width: 28px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--cdf-line);
    background: #f3f6f5;
}

.receipt-placeholder {
    width: 28px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--cdf-line);
    background: #f7fcf9;
    color: var(--cdf-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.btn-view {
    display: inline-block;
    border: 1px solid var(--cdf-line);
    border-radius: 999px;
    padding: 6px 16px;
    color: var(--cdf-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    background: #fff;
}

.btn-view:hover {
    background: #f3f6f5;
    color: var(--cdf-primary);
}

/* Mentor login: full-bleed artwork behind a centered white panel. */
body.theme-mentor:has(.is-auth),
body.theme-mentor:has(.has-loginbg) {
    background-color: #fff6ee;
    background-image: url("../img/loginbg.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

body.theme-mentor .app-shell.is-auth.container,
body.theme-mentor .app-shell.has-loginbg.container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: hidden;
}

body.theme-mentor .app-shell.is-auth.container {
    max-width: 480px;
}

.mentor-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    min-height: 100vh;
    min-height: calc(100dvh - env(safe-area-inset-top));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px 18px 10px;
    box-sizing: border-box;
}

.mentor-login-logo {
    text-align: center;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.mentor-login-logo img {
    display: inline-block;
    max-width: 100%;
    width: 250px;
    height: auto;
    vertical-align: top;
}

.mentor-login-panel,
.mentor-login-panel form,
.mentor-login-footer {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mentor-login-panel {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(191, 90, 30, 0.1);
    padding: 24px 20px 16px;
}

.mentor-login-panel .login-title {
    text-align: center;
    font-weight: 800;
    font-size: 1.7rem;
    color: #5a3214;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
}

.mentor-login-panel .login-desc {
    text-align: center;
    color: #b09a8c;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.mentor-login-panel .field-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #4e342e;
    margin: 0 0 8px;
}

.mentor-login-panel .input-icon-field {
    min-width: 0;
    max-width: 100%;
}

body.theme-mentor .mentor-login-panel .input-icon-field .form-control {
    background: #fff;
    border: 1px solid #ead9c8;
    border-radius: 14px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

body.theme-mentor .mentor-login-panel .input-icon-field .form-control:focus {
    background: #fff;
    border-color: #f0a35e;
    box-shadow: 0 0 0 3px rgba(240, 140, 43, 0.16);
}

.mentor-login-panel .input-icon-field i,
.mentor-login-panel .input-icon-field .toggle-password {
    color: #d7b8a0;
}

.mentor-login-panel .input-icon-field .toggle-password {
    right: 14px;
}

.mentor-login-panel .input-icon-field .toggle-password i {
    position: static;
    transform: none;
    left: auto;
}

.mentor-login-panel .forgot-row {
    text-align: right;
    margin: -4px 0 18px;
}

.mentor-login-panel .btn-login-submit {
    border-radius: 999px;
    background: #f08c2b;
    border-color: #f08c2b;
    padding: 13px 18px;
    font-weight: 800;
}

.mentor-login-panel .btn-login-submit:hover,
.mentor-login-panel .btn-login-submit:focus {
    background: #e07d1d;
    border-color: #e07d1d;
}

.mentor-login-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c4b5a5;
    margin: 16px 0;
    font-size: 0.9rem;
}

.mentor-login-or::before,
.mentor-login-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #f0e4d8;
}

.mentor-login-panel .btn-login-org {
    background: #fff3e6;
    border: 0;
    color: #5d3a1a;
    border-radius: 999px;
    font-weight: 700;
    padding: 13px 18px;
}

.mentor-login-help {
    text-align: center;
    margin: 18px 0 6px;
    color: #b09a8c;
    font-size: 0.9rem;
}

.mentor-login-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-self: end;
    width: 100%;
    padding: 14px 4px 6px;
    color: #c9a882;
    font-size: 0.78rem;
    font-weight: 600;
}

.mentor-meeting-form .topbar {
    color: #1a365d;
}

.mentor-meeting-form .topbar a {
    color: #1a365d;
}

.mentor-meeting-form .soft-card {
    box-shadow: 0 10px 28px rgba(191, 90, 30, 0.08);
}

.mentor-meeting-form .list-row {
    border-bottom-color: #f4e6d8;
}

.meet-section-title {
    font-weight: 800;
    color: #1a365d;
    font-size: 1.02rem;
    margin: 0 0 4px;
}

.meet-section-hint {
    color: #b09a8c;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.meet-field-label {
    display: block;
    font-weight: 700;
    font-size: 0.86rem;
    color: #5a3214;
    margin: 0 0 8px;
}

.mentor-meeting-form .meet-textarea {
    border: 1px solid #ead9c8;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    min-height: 118px;
    color: var(--cdf-text);
    box-shadow: none;
}

.mentor-meeting-form textarea.meet-textarea[rows="2"] {
    min-height: 72px;
}

.mentor-meeting-form .meet-textarea:focus {
    border-color: #f0a35e;
    box-shadow: 0 0 0 3px rgba(240, 140, 43, 0.16);
}

.mentor-meeting-form .meet-input {
    border: 1px solid #ead9c8;
    background: #fff;
    border-radius: 16px;
    min-height: 48px;
    padding: 10px 14px;
    color: var(--cdf-text);
    box-shadow: none;
}

.mentor-meeting-form .meet-input:focus {
    border-color: #f0a35e;
    box-shadow: 0 0 0 3px rgba(240, 140, 43, 0.16);
}

.meet-radio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ead9c8;
    border-radius: 18px;
    cursor: pointer;
    color: #5a3214;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
}

.meet-radio .form-check-input {
    margin-top: 3px;
    flex-shrink: 0;
    border-color: #e08c4a;
}

.meet-radio .meet-radio-sub {
    display: block;
    font-weight: 500;
    font-size: 0.75rem;
    color: #b09a8c;
}

.meet-radio:has(:checked) {
    border-color: #f08c2b;
    background: #fff8f1;
}

.meet-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meet-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #f08c2b;
    color: #5a3214;
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.86rem;
}

.meet-status-pill i {
    font-size: 0.78rem;
}

.meet-status-pill.is-on {
    background: #f08c2b;
    color: #fff;
    border-color: #f08c2b;
}

.meet-follow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    margin: 0;
    font-weight: 700;
    color: #1a365d;
    font-size: 0.92rem;
}

.meet-follow-item .form-check-input {
    border-color: #f08c2b;
    flex-shrink: 0;
}

.meet-upload-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.meet-upload-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meet-upload-amt {
    margin: 0;
}

.meet-upload-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meet-upload-item:has(.has-preview) {
    align-items: flex-start;
}

.meet-upload-copy {
    flex: 1 1 42%;
    min-width: 0;
}

.meet-upload-title {
    font-weight: 800;
    font-size: 0.92rem;
    color: #1a365d;
    margin-bottom: 4px;
}

.meet-upload-hint {
    color: #c4a994;
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0;
}

.meet-upload-box {
    flex: 1 1 58%;
    min-width: 0;
    cursor: pointer;
    text-align: center;
    border: 1.5px dashed #f0c9a0;
    background: #fffaf5;
    border-radius: 18px;
    padding: 14px 12px;
}

.meet-upload-preview {
    display: none;
    width: 100%;
    max-height: 148px;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto 8px;
    background: #fff;
}

.meet-upload-box.has-preview .meet-upload-preview {
    display: block;
}

.meet-upload-box.has-preview > i {
    display: none;
}

.meet-upload-box i {
    display: block;
    font-size: 1.35rem;
    color: #f08c2b;
    margin-bottom: 6px;
}

.meet-upload-cta {
    font-weight: 800;
    font-size: 0.86rem;
    color: #f08c2b;
    margin-bottom: 2px;
}

.meet-upload-box .meet-upload-hint {
    font-size: 0.72rem;
}

.meet-upload-name {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #8d6e63;
    word-break: break-all;
}

.meet-upload-file {
    font-size: 0.78rem;
    align-self: flex-end;
}

.meet-submit {
    border-radius: 999px;
    font-weight: 800;
    padding: 13px 18px;
}

.mentor-develop-page {
    position: relative;
}

.mentor-develop-page .topbar {
    color: #1a365d;
}

.dev-tag {
    position: absolute;
    top: 10px;
    right: 18px;
    color: #e07d1d;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
    transform: rotate(8deg);
}

.dev-student-card,
.dev-goal-card,
.dev-milestone-card,
.dev-advice-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(191, 90, 30, 0.08);
}

.dev-student-card {
    padding: 16px;
    margin-bottom: 18px;
}

.dev-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffe8d4;
    color: #e07d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.dev-student-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: #1a365d;
}

.dev-student-meta {
    color: #8d6e63;
    font-size: 0.82rem;
    margin: 2px 0 4px;
}

.dev-student-bio {
    color: #b09a8c;
    font-size: 0.8rem;
}

.dev-overall {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f4e6d8;
}

.dev-overall-label,
.dev-goal-stage-label {
    color: #8d6e63;
    font-size: 0.75rem;
}

.dev-overall-pct,
.dev-goal-pct {
    font-weight: 800;
    color: #e07d1d;
    font-size: 0.95rem;
}

.dev-bar {
    height: 8px;
    border-radius: 999px;
    background: #f0e4d8;
    overflow: hidden;
}

.dev-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #f08c2b;
    border-radius: 999px;
}

.dev-overall-note {
    margin-top: 6px;
    color: #b09a8c;
    font-size: 0.78rem;
}

.dev-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 4px 10px;
}

.dev-section-title {
    font-weight: 800;
    color: #1a365d;
    font-size: 1.02rem;
}

.dev-section-link {
    color: #e07d1d;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.dev-goal-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

.dev-goal-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff3e6;
    color: #e07d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dev-goal-main {
    flex: 1 1 auto;
    min-width: 0;
}

.dev-goal-title {
    font-weight: 800;
    color: #1a365d;
}

.dev-goal-desc {
    color: #b09a8c;
    font-size: 0.78rem;
    margin: 2px 0 8px;
}

.dev-goal-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dev-goal-bar-row .dev-bar {
    flex: 1;
}

.dev-goal-side {
    flex: 0 0 88px;
    text-align: right;
}

.dev-goal-stage {
    font-weight: 800;
    color: #1a365d;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.dev-status {
    display: inline-block;
    border: 1px solid #f0c9a0;
    color: #e07d1d;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #fff8f1;
}

.dev-goal-chevron {
    color: #d7b8a0;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.dev-milestone-card {
    padding: 8px 16px 8px 18px;
    margin-bottom: 14px;
}

.dev-milestone {
    display: grid;
    grid-template-columns: 16px 118px 1fr;
    gap: 8px;
    align-items: start;
    padding: 10px 0;
    position: relative;
}

.dev-milestone:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 22px;
    bottom: -10px;
    width: 2px;
    background: #f0c9a0;
}

.dev-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #f08c2b;
    background: #fff;
    margin-top: 4px;
}

.dev-dot.is-on {
    background: #f08c2b;
}

.dev-milestone-date {
    font-weight: 800;
    color: #1a365d;
    font-size: 0.82rem;
}

.dev-milestone-text {
    color: #6b5348;
    font-size: 0.82rem;
    line-height: 1.45;
}

.dev-advice-card {
    padding: 16px;
    margin-bottom: 8px;
}

.dev-advice-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff3e6;
    color: #e07d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dev-advice-title {
    font-weight: 800;
    color: #1a365d;
}

.dev-advice-date {
    color: #c4a994;
    font-size: 0.78rem;
    white-space: nowrap;
}

.dev-advice-text {
    color: #6b5348;
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 6px 0 12px;
}

.dev-advice-btn {
    border-radius: 999px;
    font-weight: 800;
    padding: 8px 16px;
}

.mentor-contact-page .topbar {
    color: #5a3214;
}

.mentor-contact-page .topbar a {
    color: #5a3214;
}

.org-hero-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 18px 16px 16px;
    box-shadow: 0 10px 28px rgba(191, 90, 30, 0.08);
    margin-bottom: 18px;
    overflow: hidden;
}

.org-hero-tag {
    position: absolute;
    top: 12px;
    right: 14px;
    color: #e07d1d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.org-hero-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
}

.org-hero-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: #5a3214;
    padding-right: 70px;
}

.org-hero-desc {
    color: #b09a8c;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-top: 4px;
}

.org-hero-hours {
    color: #e07d1d;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.org-hero-hours i {
    margin-right: 4px;
}

.org-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 8px;
}

.org-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    padding: 10px 8px;
    font-weight: 800;
    font-size: 0.82rem;
    text-decoration: none;
}

.org-action-call,
.org-action-mail {
    background: #ffe8d4;
    color: #e07d1d;
}

.org-action-wa {
    background: #d8f5e2;
    color: #1d9d58;
}

.org-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 2px 10px;
}

.org-section-title {
    font-weight: 800;
    color: #5a3214;
    font-size: 0.98rem;
}

.org-section-title i {
    color: #e07d1d;
    margin-right: 4px;
}

.org-section-hint {
    color: #c4a994;
    font-size: 0.78rem;
}

.org-person-card {
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    height: 100%;
    box-shadow: 0 8px 20px rgba(191, 90, 30, 0.06);
}

.org-person-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffe8d4;
    color: #e07d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.org-person-name {
    font-weight: 800;
    color: #5a3214;
    font-size: 0.92rem;
    line-height: 1.25;
    word-break: break-word;
}

.org-person-line {
    color: #8d6e63;
    font-size: 0.78rem;
    margin-top: 4px;
    word-break: break-all;
}

.org-person-line i {
    color: #e07d1d;
    width: 14px;
    margin-right: 4px;
}

.org-topic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid #f4e6d8;
    color: #5a3214;
    font-weight: 700;
}

.org-topic-row:last-child {
    border-bottom: 0;
}

.org-topic-row i.fa-chevron-right {
    color: #e07d1d;
    font-size: 0.78rem;
}

.org-topic-row span i {
    color: #e07d1d;
    width: 22px;
}

.pwa-install-banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    width: calc(100% - 24px);
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    background: #fff;
    border: 1px solid var(--cdf-line);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(22, 90, 71, 0.16);
}

.pwa-install-banner[hidden] {
    display: none !important;
}

body:has(.app-shell.has-nav) .pwa-install-banner {
    bottom: calc(80px + env(safe-area-inset-bottom));
}

.pwa-install-banner img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}

.pwa-install-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pwa-install-copy strong {
    color: var(--cdf-primary);
    font-size: 0.92rem;
}

.pwa-install-copy span {
    color: var(--cdf-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.pwa-install-dismiss {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--cdf-muted);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 4px;
    white-space: nowrap;
}

.pwa-install-action {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 999px;
}

.pwa-install-action[hidden] {
    display: none !important;
}

@media (display-mode: standalone), (display-mode: minimal-ui) {
    .pwa-install-banner {
        display: none !important;
    }
}

body.theme-mentor .pwa-install-banner {
    box-shadow: 0 12px 32px rgba(230, 81, 0, 0.16);
}

.savings-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 18px 4px;
}

.banner-img.savings-logo {
    width: auto;
    max-width: min(92%, 420px);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.savings-piggy {
    color: var(--cdf-accent);
    font-size: 4rem;
    line-height: 1;
    margin: 12px 0 6px;
}

.saving-month-range {
    margin-bottom: 2px;
}

.saving-month-bar {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4px;
    margin: 10px 0 8px;
}

.saving-month-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.saving-month-icon {
    font-size: 1.15rem;
    font-size:4vw;
    line-height: 1;
    color: #d5ddd9;
}

.saving-month-cell.is-paid .saving-month-icon {
    color: var(--cdf-accent);
}

.saving-month-cell.is-pending .saving-month-icon {
    color: #d5ddd9;
}

.saving-month-cell.is-overdue .saving-month-icon {
    color: #e05656;
}

.saving-month-label {
    font-size: 0.62rem;
    line-height: 1;
    color: var(--cdf-muted);
    white-space: nowrap;
}

.saving-month-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.saving-month-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: 0;
    background: #d5ddd9;
}

.saving-month-dot.is-paid {
    background: var(--cdf-accent);
}

.saving-month-dot.is-overdue {
    background: #e05656;
}

/* ===== Staff Portal auth ===== */
body.theme-staff {
    --cdf-primary: #0d9b8a;
    --cdf-primary-dark: #0a7a6c;
    --cdf-accent: #14b8a6;
    --cdf-mint: #e6f7f5;
    --cdf-mint-2: #f3fcfb;
    --cdf-text: #1a365d;
    --cdf-muted: #6b7c8a;
    --cdf-line: #cfe8e4;
    --cdf-card: #ffffff;
    background: #e8f4f8;
    color: var(--cdf-text);
    font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

body.theme-staff.is-staff-auth {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #eaf6fb;
    background-image: url("../img/admin_login_bg.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.staff-app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    max-width: none;
    margin: 0;
    background: #eef5f8;
}

/* Staff app chrome (header / sidebar / footer) — used by logged-in pages */
body.theme-staff:not(.is-staff-auth) {
    /* Keep in sync with $staff_sidebar_collapse_at in staff/layout.php (default 768). */
    --staff-sidebar-collapse-at: 768px;
    --staff-sidebar-width: 248px;
    --staff-topbar-height: 64px;
    background: #eef5f8;
}

.staff-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #eef5f8;
}

.staff-topbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--staff-topbar-height);
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid #e2ebf0;
    box-shadow: 0 1px 0 rgba(26, 54, 93, 0.03);
}

.staff-topbar-left,
.staff-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.staff-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.staff-topbar-logo {
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.staff-topbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.staff-topbar-title {
    font-weight: 800;
    color: #1a365d;
    font-size: 0.95rem;
    white-space: nowrap;
}

.staff-topbar-portal {
    color: #5b7c8f;
    font-size: 0.75rem;
    font-weight: 600;
}

.staff-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d5e4ea;
    border-radius: 12px;
    background: #fff;
    color: #1a365d;
    flex-shrink: 0;
}

.staff-sidebar-toggle:hover,
.staff-sidebar-toggle:focus {
    border-color: #0d9b8a;
    color: #0d9b8a;
}

.staff-topbar-divider {
    width: 1px;
    height: 28px;
    background: #d5e0e8;
    flex-shrink: 0;
}

.staff-topbar-tag {
    color: #0d9b8a;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
}

.staff-topbar-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #5b7c8f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.staff-topbar-icon-btn:disabled {
    opacity: 0.85;
    cursor: default;
}

.staff-topbar-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #0d9b8a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}

.staff-topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
}

.staff-topbar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6f7f5;
    color: #0d9b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.staff-topbar-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.staff-topbar-user-name {
    font-weight: 800;
    color: #1a365d;
    font-size: 0.9rem;
}

.staff-topbar-user-role {
    color: #6b7c8a;
    font-size: 0.75rem;
}

.staff-topbar-logout {
    color: #6b7c8a;
    text-decoration: none;
    padding: 8px;
    border-radius: 10px;
}

.staff-topbar-logout:hover {
    color: #0d9b8a;
    background: #e6f7f5;
}

.staff-shell-body {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
    position: relative;
}

.staff-sidebar {
    width: var(--staff-sidebar-width);
    flex-shrink: 0;
    background: linear-gradient(180deg, #f7fbfd 0%, #eef6f8 100%);
    border-right: 1px solid #e2ebf0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--staff-topbar-height));
    min-height: calc(100dvh - var(--staff-topbar-height));
    position: sticky;
    top: var(--staff-topbar-height);
    align-self: flex-start;
    z-index: 1030;
}

.staff-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 12px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.staff-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 0 18px 18px 0;
    margin-right: 8px;
    color: #1a365d;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.staff-sidebar-item i {
    width: 1.15rem;
    text-align: center;
    color: #6b7c8a;
}

.staff-sidebar-item:hover {
    background: rgba(13, 155, 138, 0.08);
    color: #0d9b8a;
}

.staff-sidebar-item:hover i {
    color: #0d9b8a;
}

.staff-sidebar-item.is-active {
    background: linear-gradient(90deg, #0d9b8a 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 155, 138, 0.22);
}

.staff-sidebar-item.is-active i {
    color: #fff;
}

.staff-sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.staff-sidebar-group-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.staff-sidebar-group-toggle .staff-sidebar-chevron {
    margin-left: auto;
    width: auto;
    font-size: 0.7rem;
    transition: transform 0.18s ease;
    color: #6b7c8a;
}

.staff-sidebar-group.is-open .staff-sidebar-group-toggle .staff-sidebar-chevron {
    transform: rotate(180deg);
}

.staff-sidebar-group.has-active .staff-sidebar-group-toggle {
    color: #0b8778;
}

.staff-sidebar-group.has-active .staff-sidebar-group-toggle i {
    color: #0b8778;
}

.staff-sidebar-subnav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0 6px 12px;
}

.staff-sidebar-subnav[hidden] {
    display: none;
}

.staff-sidebar-subitem {
    display: block;
    padding: 8px 14px 8px 28px;
    border-radius: 0 14px 14px 0;
    margin-right: 8px;
    color: #4a5f73;
    text-decoration: none;
    font-weight: 650;
    font-size: 0.84rem;
}

.staff-sidebar-subitem:hover {
    background: rgba(13, 155, 138, 0.08);
    color: #0d9b8a;
}

.staff-sidebar-subitem.is-active {
    background: rgba(13, 155, 138, 0.14);
    color: #0b8778;
}

.staff-sidebar-foot {
    padding: 18px 16px 22px;
    margin-top: auto;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(13, 155, 138, 0.16), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(20, 184, 166, 0.12), transparent 50%);
}

.staff-sidebar-foot-zh {
    color: #0d9b8a;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.4;
}

.staff-sidebar-foot-en {
    color: #7a9aaa;
    font-style: italic;
    font-size: 0.75rem;
    margin-top: 4px;
}

.staff-sidebar-backdrop {
    display: none;
}

.staff-shell-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 12px;
}

.staff-shell-content {
    flex: 1 1 auto;
}

.staff-app-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #dce7ed;
    color: #6b7c8a;
    font-size: 0.78rem;
}

.staff-app-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-app-footer-links a {
    color: #6b7c8a;
    text-decoration: none;
}

.staff-app-footer-links a:hover {
    color: #0d9b8a;
}

.staff-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.staff-page-title {
    margin: 0;
    color: #1a365d;
    font-weight: 800;
    font-size: 1.65rem;
}

.staff-page-desc {
    margin: 6px 0 0;
    color: #6b7c8a;
    font-size: 0.92rem;
}

.staff-coming-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.06);
    padding: 48px 24px;
    text-align: center;
}

/*
 * Narrow-screen sidebar collapse.
 * Default 767.98px ≈ --staff-sidebar-collapse-at (768).
 * Change $staff_sidebar_collapse_at in staff/layout.php AND this max-width together,
 * or rely on JS class staff-shell--narrow driven by data-staff-collapse-at.
 */
@media (max-width: 767.98px) {
    .staff-sidebar-toggle {
        display: inline-flex;
    }

    .staff-topbar-divider,
    .staff-topbar-tag {
        display: none;
    }

    .staff-sidebar {
        position: fixed;
        top: var(--staff-topbar-height);
        left: 0;
        bottom: 0;
        min-height: 0;
        height: calc(100vh - var(--staff-topbar-height));
        height: calc(100dvh - var(--staff-topbar-height));
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        box-shadow: 8px 0 28px rgba(26, 54, 93, 0.12);
    }

    .staff-shell--sidebar-open .staff-sidebar {
        transform: translateX(0);
    }

    .staff-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: var(--staff-topbar-height) 0 0 0;
        border: 0;
        padding: 0;
        background: rgba(26, 54, 93, 0.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 1025;
    }

    .staff-shell--sidebar-open .staff-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .staff-shell-main {
        padding: 16px 14px 10px;
    }

    .staff-topbar-user-meta {
        display: none;
    }
}

/* JS narrow mode mirrors the media query using data-staff-collapse-at */
.staff-shell--narrow .staff-sidebar-toggle {
    display: inline-flex;
}

.staff-shell--narrow .staff-topbar-divider,
.staff-shell--narrow .staff-topbar-tag,
.staff-shell--narrow .staff-topbar-user-meta {
    display: none;
}

.staff-shell--narrow .staff-sidebar {
    position: fixed;
    top: var(--staff-topbar-height);
    left: 0;
    bottom: 0;
    min-height: 0;
    height: calc(100vh - var(--staff-topbar-height));
    height: calc(100dvh - var(--staff-topbar-height));
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 8px 0 28px rgba(26, 54, 93, 0.12);
}

.staff-shell--narrow.staff-shell--sidebar-open .staff-sidebar {
    transform: translateX(0);
}

.staff-shell--narrow .staff-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: var(--staff-topbar-height) 0 0 0;
    border: 0;
    padding: 0;
    background: rgba(26, 54, 93, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 1025;
}

.staff-shell--narrow.staff-shell--sidebar-open .staff-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.staff-sidebar-lock {
    overflow: hidden;
}

.staff-auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 18px 22px 14px;
    box-sizing: border-box;
    position: relative;
}

.staff-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.staff-auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.staff-auth-logo {
    /* width: 42px; */
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.staff-auth-brand-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-weight: 700;
    color: #1a365d;
    font-size: 0.95rem;
}

.staff-auth-brand-sep {
    color: #9aabb8;
    font-weight: 500;
}

.staff-auth-brand-portal {
    color: #1a365d;
}

.staff-auth-brand-divider {
    width: 1px;
    height: 16px;
    background: #c5d4de;
    margin: 0 4px;
}

.staff-auth-brand-tag {
    color: #0d9b8a;
    font-weight: 600;
    font-size: 0.88rem;
}

.staff-auth-lang {
    flex-shrink: 0;
    color: #5a6f7e;
    font-size: 0.88rem;
    font-weight: 600;
}

.staff-auth-lang .is-active {
    color: #0d9b8a;
    border-bottom: 2px solid #0d9b8a;
    padding-bottom: 1px;
}

.staff-auth-lang-sep {
    margin: 0 6px;
    color: #9aabb8;
}

.staff-auth-main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0 24px;
}

.staff-auth-card {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(26, 54, 93, 0.14);
    min-height: 560px;
}

.staff-auth-panel {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 420px;
}

.staff-auth-panel-overlay {
    position: absolute;
    inset: 0;
    padding: 36px 28px 28px;
    background: linear-gradient(180deg, rgba(232, 247, 250, 0.72) 0%, rgba(210, 240, 242, 0.55) 45%, rgba(180, 220, 225, 0.45) 100%);
    display: flex;
    flex-direction: column;
    border:1px solid white;
}

.staff-auth-panel-title {
    margin: 0;
    color: #0d9b8a;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.staff-auth-panel-rule {
    width: 48px;
    height: 3px;
    background: #0d9b8a;
    border-radius: 99px;
    margin: 14px 0 12px;
}

.staff-auth-panel-slogan {
    margin: 0;
    color: #3d5566;
    font-weight: 700;
    font-size: 0.98rem;
}

.staff-auth-panel-en {
    margin: 4px 0 0;
    color: #7a8f9c;
    font-style: italic;
    font-size: 0.88rem;
}

.staff-auth-features {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.staff-auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.staff-auth-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #0d9b8a;
    color: #0d9b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.55);
}

.staff-auth-features strong {
    display: block;
    color: #1a365d;
    font-size: 0.95rem;
}

.staff-auth-features small {
    display: block;
    color: #6b7c8a;
    font-size: 0.78rem;
    margin-top: 2px;
}

.staff-auth-panel-script {
    margin-top: auto;
    padding-top: 24px;
    color: rgba(26, 54, 93, 0.35);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.05rem;
}

.staff-auth-form-wrap {
    padding: 36px 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staff-auth-form-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.staff-auth-form-logo {
    
    height: 80px;
    object-fit: contain;
}

.staff-auth-form-brand-name {
    font-weight: 800;
    color: #1a365d;
    font-size: 0.95rem;
}

.staff-auth-form-brand-sub {
    color: #0d9b8a;
    font-size: 0.78rem;
    font-weight: 600;
}

.staff-login-title {
    margin: 0 0 6px;
    color: #1a365d;
    font-weight: 800;
    font-size: 1.75rem;
}

.staff-login-desc {
    margin: 0 0 18px;
    color: #6b7c8a;
    font-size: 0.9rem;
}

body.theme-staff .input-icon-field .form-control {
    background: #fff;
    border: 1px solid #d5e4ea;
    border-radius: 14px;
}

body.theme-staff .input-icon-field .form-control:focus {
    border-color: #0d9b8a;
    box-shadow: 0 0 0 3px rgba(13, 155, 138, 0.14);
}

body.theme-staff .input-icon-field i,
body.theme-staff .input-icon-field .toggle-password {
    color: #7a93a3;
}

.staff-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 16px;
}

.staff-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #3d5566;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.staff-remember .form-check-input {
    margin: 0;
    border-color: #0d9b8a;
}

.staff-remember .form-check-input:checked {
    background-color: #0d9b8a;
    border-color: #0d9b8a;
}

.staff-link {
    color: #0d9b8a;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.staff-link:hover {
    color: #0a7a6c;
    text-decoration: underline;
}

.staff-btn-primary {
    background: linear-gradient(90deg, #0d9b8a 0%, #14b8a6 100%);
    border: 0;
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 18px;
}

.staff-btn-primary:hover,
.staff-btn-primary:focus {
    background: linear-gradient(90deg, #0a7a6c 0%, #0d9b8a 100%);
    color: #fff;
}

.staff-login-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #9aabb8;
    font-size: 0.85rem;
    font-weight: 600;
}

.staff-login-or::before,
.staff-login-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dce7ed;
}

.staff-btn-org {
    border: 1.5px solid #0d9b8a;
    color: #0d9b8a;
    background: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 11px 18px;
}

.staff-btn-org:disabled {
    opacity: 0.45;
    pointer-events: none;
}

.staff-login-note {
    margin: 18px 0 0;
    color: #8a9bab;
    font-size: 0.75rem;
    line-height: 1.5;
}

.staff-auth-corner-art {
    position: absolute;
    left: 18px;
    bottom: 52px;
    width: min(220px, 28vw);
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.staff-auth-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding-top: 8px;
    color: #4a6070;
    font-size: 0.78rem;
}

.staff-auth-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-auth-footer-links a {
    color: #4a6070;
    text-decoration: none;
}

.staff-auth-footer-links a:hover {
    color: #0d9b8a;
}

@media (max-width: 900px) {
    .staff-auth-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .staff-auth-brand-tag,
    .staff-auth-brand-divider {
        display: none;
    }

    .staff-auth-corner-art {
        display: none;
    }

    .staff-auth-form-wrap {
        padding: 28px 22px 24px;
    }
}

/* Bootstrap sm and below: hide left branding panel */
@media (max-width: 767.98px) {
    .staff-auth-panel {
        display: none;
    }
}

@media (max-width: 560px) {
    .staff-auth-page {
        padding: 12px 12px 10px;
    }

    .staff-auth-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* —— Staff: activity picker (home) —— */
.staff-activity-picker {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.06);
    overflow: hidden;
    margin-bottom: 18px;
}

.staff-activity-picker-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: linear-gradient(135deg, #f0faf8 0%, #ffffff 55%);
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
}

.staff-activity-picker-toggle:hover {
    background: linear-gradient(135deg, #e6f7f3 0%, #ffffff 55%);
}

.staff-activity-picker-eyebrow {
    display: block;
    font-size: 0.78rem;
    color: #6b7c8a;
    margin-bottom: 4px;
}

.staff-activity-picker-current {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    color: #1a365d;
    font-weight: 700;
    font-size: 1.1rem;
}

.staff-activity-code {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0d9b8a;
    background: #e8f8f5;
    border-radius: 6px;
    padding: 2px 8px;
    letter-spacing: 0.02em;
}

.staff-activity-picker-chevron {
    color: #0d9b8a;
    transition: transform 0.2s ease;
}

.staff-activity-picker-toggle[aria-expanded="true"] .staff-activity-picker-chevron {
    transform: rotate(180deg);
}

.staff-activity-picker-panel {
    border-top: 1px solid #e6eef2;
    padding: 8px;
    max-height: 320px;
    overflow: auto;
}

.staff-activity-empty {
    padding: 16px;
    color: #6b7c8a;
    font-size: 0.92rem;
}

.staff-activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.staff-activity-option {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 0;
    background: transparent;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
}

.staff-activity-option:hover {
    background: #f4fbf9;
}

.staff-activity-option.is-current {
    background: #e8f8f5;
}

.staff-activity-option-dot {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border-radius: 50%;
    background: #9aabb8;
    flex-shrink: 0;
}

.staff-activity-option.is-current .staff-activity-option-dot {
    background: #0d9b8a;
    box-shadow: 0 0 0 3px rgba(13, 155, 138, 0.25);
}

.staff-activity-option-body {
    flex: 1;
    min-width: 0;
}

.staff-activity-option-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #1a365d;
    font-weight: 650;
    font-size: 0.95rem;
}

.staff-activity-option-schools {
    display: block;
    margin-top: 4px;
    color: #6b7c8a;
    font-size: 0.82rem;
}

.staff-activity-option-badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0d9b8a;
    background: #fff;
    border: 1px solid #b6e8df;
    border-radius: 999px;
    padding: 2px 8px;
}

.staff-home-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.06);
    padding: 18px 20px;
    color: #6b7c8a;
    font-size: 0.92rem;
}

.staff-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 10px;
    background: #0d9b8a;
    color: #fff !important;
    font-weight: 650;
    font-size: 0.9rem;
    padding: 10px 16px;
    text-decoration: none;
    cursor: pointer;
}

.staff-btn-primary:hover {
    background: #0b8778;
    color: #fff !important;
}

.staff-btn-sm {
    padding: 7px 12px;
    font-size: 0.85rem;
}

.staff-btn-ghost {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: #6b7c8a;
    font-size: 0.85rem;
    padding: 7px 10px;
    cursor: pointer;
}

.staff-btn-ghost:hover {
    color: #0d9b8a;
}

.staff-alert-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.06);
    padding: 24px 20px;
    color: #6b7c8a;
}

/* —— Staff: AJAX list container —— */
.staff-list-shell {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.06);
    overflow: hidden;
}

.staff-list-tabs {
    padding: 12px 16px 0;
    border-bottom: 1px solid #e6eef2;
    gap: 4px;
}

.staff-list-tabs .nav-link {
    border: 0;
    border-radius: 10px 10px 0 0;
    color: #6b7c8a;
    font-weight: 650;
    padding: 10px 14px;
}

.staff-list-tabs .nav-link:hover {
    color: #0d9b8a;
}

.staff-list-tabs .nav-link.active {
    color: #0d9b8a;
    background: transparent;
    box-shadow: inset 0 -2px 0 #0d9b8a;
}

.staff-pdp-excerpt {
    max-width: 280px;
    white-space: normal;
    word-break: break-word;
}

.staff-pdp-thread {
    max-width: 760px;
}

.staff-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e6eef2;
}

.staff-ms-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #e6eef2;
    background: #f9fcfb;
}

.staff-ms-badge {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 5px 12px;
    border: 1px solid #d5e4e8;
    border-radius: 999px;
    background: #fff;
    color: #1a365d;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.staff-ms-badge:hover {
    border-color: #0d9b8a;
    color: #0b8778;
    background: rgba(13, 155, 138, 0.06);
}

.staff-ms-badge.is-active {
    border-color: transparent;
    background: linear-gradient(90deg, #0d9b8a 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 155, 138, 0.22);
}

.staff-ms-badge.is-active:hover {
    color: #fff;
    background: linear-gradient(90deg, #0b8778 0%, #0d9b8a 100%);
}

.staff-list-table td.is-pending-payment {
    color: #c62828;
    font-weight: 700;
}

.staff-ms-traffic-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: #5a6a75;
}

.staff-ms-traffic-legend-item {
    font-weight: 600;
}

.staff-ms-traffic-legend-item.is-red {
    color: #c62828;
}

.staff-ms-traffic-legend-item.is-yellow {
    color: #b45309;
}

.staff-ms-traffic-legend-item.is-green {
    color: #15803d;
}

.staff-ms-traffic-legend-note {
    color: #8a9aa5;
    font-weight: 400;
}

.staff-list-table td.is-saving-traffic-red {
    color: #c62828;
    font-weight: 700;
}

.staff-list-table td.is-saving-traffic-yellow {
    color: #b45309;
    font-weight: 700;
}

.staff-list-table td.is-saving-traffic-green {
    color: #15803d;
    font-weight: 700;
}

.staff-ms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.staff-ms-modal-title-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.staff-ms-modal-title-wrap .modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.35;
    word-break: break-word;
}

.staff-ms-title-sep {
    color: #9aadb8;
    margin: 0 0.25rem;
    font-weight: 500;
}

.staff-ms-modal-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.staff-ms-nav-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d5e4e8;
    border-radius: 8px;
    background: #fff;
    color: #1a365d;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.staff-ms-nav-btn:hover:not(:disabled) {
    border-color: #0d9b8a;
    color: #0b8778;
}

.staff-ms-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.staff-ms-modal-body {
    padding-top: 12px;
}

.staff-ms-loading,
.staff-ms-error {
    padding: 24px 8px;
    text-align: center;
    color: #6b7c8a;
}

.staff-ms-error {
    color: #c62828;
}

.staff-ms-photo {
    border: 1px solid #e6eef2;
    border-radius: 12px;
    background: #f7fbfa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.staff-ms-photo-img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.staff-ms-photo-empty {
    color: #9aadb8;
    font-size: 0.86rem;
}

.staff-ms-tabs {
    border-bottom: 1px solid #e6eef2;
    margin-bottom: 12px;
}

.staff-ms-tabs .nav-link {
    border: 0;
    color: #6b7c8a;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 8px 12px;
    background: transparent;
}

.staff-ms-tabs .nav-link.active {
    color: #0d9b8a;
    box-shadow: inset 0 -2px 0 #0d9b8a;
}

.staff-ms-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0;
}

.staff-ms-dl > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.staff-ms-dl dt {
    margin: 0;
    color: #6b7c8a;
    font-size: 0.75rem;
    font-weight: 700;
}

.staff-ms-dl dd {
    margin: 0;
    color: #1a365d;
    font-size: 0.9rem;
    font-weight: 650;
}

/* Mentor preview modal — left identity + list panels */
.staff-mentor-preview-identity {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staff-mentor-preview-photo {
    min-height: 160px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    flex-shrink: 0;
}

.staff-mentor-preview-photo .staff-ms-photo-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.staff-mentor-preview-meta {
    text-align: center;
}

.staff-mentor-preview-name {
    font-size: 1.15rem;
    font-weight: 750;
    color: #1a365d;
    line-height: 1.3;
}

.staff-mentor-preview-expectation {
    margin-top: 6px;
    color: #6b7c8a;
    font-size: 0.86rem;
    line-height: 1.45;
}

.staff-mentor-preview-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.staff-mentor-preview-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #eef3f5;
}

.staff-mentor-preview-list-item:last-child {
    border-bottom: 0;
}

.staff-mentor-preview-list-main {
    font-weight: 650;
    color: #1a365d;
}

.staff-mentor-preview-list-sub {
    margin-top: 2px;
}

.staff-filter-chip-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .staff-mentor-preview-identity {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .staff-mentor-preview-photo {
        margin: 0;
    }

    .staff-mentor-preview-meta {
        text-align: left;
        flex: 1;
        min-width: 0;
        padding-top: 4px;
    }
}

.staff-ms-bankbook {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e6eef2;
}

.staff-ms-bankbook-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.staff-ms-bankbook-head h6 {
    color: #1a365d;
    font-weight: 800;
}

.staff-ms-bankbook-wrap {
    overflow-x: auto;
}

.staff-ms-bankbook-table {
    min-width: 760px;
    font-size: 0.84rem;
}

.staff-ms-bankbook-table th {
    white-space: nowrap;
    color: #6b7c8a;
    font-size: 0.75rem;
    background: #f7fbfa;
}

.staff-ms-bankbook-table td,
.staff-ms-bankbook-table th {
    vertical-align: middle;
    padding: 8px;
}

.staff-ms-bankbook-table tfoot th,
.staff-ms-bankbook-table tfoot td {
    background: #fafcfd;
}

.staff-ms-file-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 110px;
}

.staff-ms-file-link {
    color: #0d9b8a;
    font-weight: 650;
    text-decoration: none;
}

.staff-ms-file-pick {
    margin: 0;
    cursor: pointer;
    color: #4a5f73;
    font-size: 0.78rem;
}

.staff-ms-file-pick input {
    display: none;
}

.staff-uos-table-wrap {
    overflow-x: auto;
}

.staff-uos-table {
    min-width: 960px;
}

.staff-ms-row-actions {
    white-space: nowrap;
}

.staff-ms-row-actions .staff-btn-sm {
    margin-left: 2px;
}

.staff-ms-hint {
    margin-top: 8px;
    color: #a15c00;
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {
    .staff-ms-dl {
        grid-template-columns: 1fr;
    }
}

.staff-list-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.staff-list-field {
    margin: 0;
}

.staff-list-field--grow {
    flex: 1;
    min-width: 160px;
}

.staff-list-field .form-select,
.staff-list-field .form-control {
    min-width: 140px;
}

.staff-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7c8a;
    font-size: 0.86rem;
    white-space: nowrap;
}

.staff-list-per-page {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.staff-list-per-page .form-select {
    width: auto;
}

.staff-list-table-wrap {
    overflow-x: auto;
}

.staff-list-table {
    min-width: 720px;
}

.staff-list-table thead th {
    background: #f7fbfa;
    color: #6b7c8a;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: none;
    border-bottom: 1px solid #e6eef2;
    white-space: nowrap;
    padding: 12px 14px;
}

.staff-list-table tbody td {
    vertical-align: middle;
    padding: 12px 14px;
    color: #1a365d;
    font-size: 0.9rem;
    border-bottom: 1px solid #eef3f6;
}

.staff-list-table tbody tr.is-preview-active td:not(.staff-col-status):not(.staff-col-actions) {
    color: #0b8778;
    font-weight: 700;
}

.staff-list-table tbody tr.is-preview-active td.staff-col-actions .staff-list-action {
    color: #0d9b8a;
    font-weight: 650;
}

.staff-list-loading-row td,
.staff-list-empty-row td {
    text-align: center;
    color: #6b7c8a;
    padding: 28px 14px;
}

.staff-status-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px;
}

.staff-status-pill.is-active {
    color: #0d9b8a;
    background: #e8f8f5;
}

.staff-status-pill.is-drop {
    color: #b45309;
    background: #fff7ed;
}

.staff-list-action {
    color: #0d9b8a;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    opacity: 0.55;
    pointer-events: none;
}

.staff-list-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px 16px;
    color: #6b7c8a;
    font-size: 0.86rem;
}

.staff-list-pager-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.staff-list-pager-btn {
    min-width: 34px;
    height: 34px;
    border: 1px solid #d9e5ea;
    border-radius: 8px;
    background: #fff;
    color: #1a365d;
    font-size: 0.85rem;
    cursor: pointer;
}

.staff-list-pager-btn:hover:not(:disabled) {
    border-color: #0d9b8a;
    color: #0d9b8a;
}

.staff-list-pager-btn.is-active {
    background: #0d9b8a;
    border-color: #0d9b8a;
    color: #fff;
}

.staff-list-pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .staff-home-hint {
        flex-direction: column;
        align-items: flex-start;
    }

    .staff-list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-list-meta {
        justify-content: space-between;
    }
}

.staff-page-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.staff-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.staff-list-action.is-link,
.staff-list-action.is-btn {
    opacity: 1;
    pointer-events: auto;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.staff-list-action.is-btn {
    color: #b45309;
}

.staff-form-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d9b8a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.staff-form-card {
    background: #fff;
    border: 1px solid #e2ebf0;
    border-radius: 14px;
    padding: 18px 18px 8px;
    margin-bottom: 16px;
}

.staff-form-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 12px;
}

.staff-form-repeat {
    border: 1px dashed #d9e5ea;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.staff-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 8px 0 24px;
}

.staff-form-alert {
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.staff-form-alert.is-ok {
    background: #ecfdf5;
    color: #047857;
}

.staff-meeting-draft .staff-form-card,
.staff-mentor-activity-form .staff-form-card,
.staff-parent-activity-form .staff-form-card {
    padding-bottom: 18px;
}

.staff-mentor-activity-form .staff-list-table .form-select {
    min-width: 5.5rem;
}

.staff-parent-activity-form .staff-list-table .form-select {
    min-width: 8.5rem;
}

.activity-accept-select {
    width: 150px;
    max-width: 150px;
    flex: 0 0 150px;
}

.activity-accept-select[aria-busy="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.pdp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pdp-toolbar-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 220px;
    min-width: 0;
}

.pdp-toolbar-form .form-control,
.pdp-toolbar-form .form-select {
    width: auto;
    flex: 1 1 140px;
    min-width: 0;
}

.pdp-composer,
.pdp-thread {
    background: #fff;
    border: 1px solid var(--cdf-line);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
}

.pdp-composer.is-reply {
    margin-top: 8px;
    background: var(--cdf-mint-2);
}

.pdp-post-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.pdp-author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pdp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cdf-mint);
    color: var(--cdf-primary);
    flex: 0 0 auto;
}

.pdp-author-name,
.pdp-title {
    font-weight: 700;
}

.pdp-time {
    display: block;
    color: var(--cdf-muted);
    font-size: 0.82rem;
}

.pdp-more {
    border: 0;
    background: transparent;
    color: var(--cdf-muted);
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.pdp-title,
.pdp-content {
    margin-top: 8px;
}

.pdp-content {
    white-space: pre-wrap;
}

.pdp-files {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.pdp-file-item {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding-top: 4px;
    padding-right: 8px;
}

.pdp-dl-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 6px;
    border: 0;
    border-radius: 999px;
    background: var(--cdf-primary, #0d6efd);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.pdp-dl-badge:hover,
.pdp-dl-badge:focus {
    filter: brightness(1.08);
}

.pdp-photo {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.pdp-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cdf-primary);
    font-weight: 700;
    word-break: break-all;
}

.pdp-post.is-reply {
    margin-top: 10px;
    margin-left: 16px;
    background: var(--cdf-mint-2);
    border-radius: 14px;
    padding: 10px;
}

.pdp-reply-toggle {
    margin-top: 8px;
}

.pdp-upload-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdp-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--cdf-line);
    border-radius: 12px;
    padding: 8px 12px;
    color: var(--cdf-primary);
    font-weight: 700;
    background: #fff;
}

.pdp-upload-btn input {
    display: none;
}

.pdp-remove-file {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
    word-break: break-all;
}

.staff-meeting-draft .staff-meeting-subtoolbar {
    padding: 0 0 12px;
}

.staff-meeting-draft .staff-meeting-check-col {
    width: 68px;
}

.staff-meeting-draft .staff-list-table {
    min-width: 520px;
}

.staff-meeting-draft .staff-meeting-select-row {
    cursor: pointer;
}

.staff-meeting-draft .staff-meeting-select-row:hover td,
.staff-meeting-draft .staff-meeting-select-row.is-selected td {
    background: #ecfdf8;
}

.staff-meeting-preview {
    border: 1px solid #e2ebf0;
    border-radius: 12px;
    padding: 14px;
    min-height: 180px;
    overflow-wrap: anywhere;
}

.staff-meeting-preview-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 12px;
}

.staff-meeting-preview .staff-ms-top > [class*="col-"] {
    width: 100%;
}

.staff-meeting-preview .staff-ms-photo {
    width: 96px;
    height: 96px;
    min-height: 96px;
    max-width: 96px;
}

.staff-meeting-preview .staff-mentor-preview-identity {
    flex-direction: column;
    align-items: center;
}

.staff-meeting-preview .staff-mentor-preview-meta {
    text-align: center;
}

.staff-meeting-preview .staff-ms-tabs {
    flex-wrap: wrap;
}

.staff-meeting-file-card {
    height: 100%;
    margin-bottom: 0;
}

.staff-form-alert.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.staff-mentor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.staff-mentor-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d9e5ea;
    border-radius: 999px;
    padding: 6px 12px;
    margin: 0;
    cursor: pointer;
    background: #f8fbfc;
}

.staff-mentor-chip input {
    margin: 0;
}

[v-cloak] {
    display: none;
}

.staff-preview-modal .modal-body {
    padding-top: 0.5rem;
}

.staff-preview-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-preview-nav {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d9e5ea;
    background: #fff;
    color: #1a365d;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.staff-preview-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.staff-preview-nav:hover:not(:disabled) {
    border-color: #0d9b8a;
    color: #0d9b8a;
}

.staff-id-card {
    flex: 1;
    border: 1px solid #d9e5ea;
    border-radius: 16px;
    padding: 20px 16px;
    background: linear-gradient(180deg, #f7fbfc 0%, #fff 55%);
    text-align: left;
    min-height: 240px;
}

.staff-id-card.is-loading {
    opacity: 0.55;
}

.staff-id-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.staff-id-card-photo {
    width: 96px;
    height: 96px;
    margin: 0;
    border-radius: 50%;
    background: #d9f0e4;
    color: #0d9b8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    overflow: hidden;
    flex-shrink: 0;
}

.staff-id-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.staff-id-card-identity {
    flex: 1;
    min-width: 0;
}

.staff-id-card-code {
    font-size: 0.82rem;
    color: #6b7c8a;
    font-weight: 600;
}

.staff-id-card-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a365d;
    margin-top: 4px;
    word-break: break-word;
}

.staff-id-card-en {
    color: #6b7c8a;
    font-size: 0.95rem;
    margin-top: 2px;
    word-break: break-word;
}

.staff-id-card-body {
    text-align: left;
}

.staff-id-card-meta {
    text-align: left;
    font-size: 0.9rem;
    color: #1a365d;
    display: grid;
    gap: 6px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #e8eef2;
}

.staff-id-card-meta .meta-label {
    display: inline-block;
    min-width: 2.5em;
    color: #6b7c8a;
    margin-right: 8px;
    font-weight: 600;
}

.staff-preview-actions {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Staff mentor dashboard stat cards */
.staff-stat-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 16px;
}

.staff-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #dce8ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(26, 54, 93, 0.04);
}

.staff-stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.staff-stat-card-icon.is-blue {
    background: #e8f1fb;
    color: #3b82c4;
}

.staff-stat-card-icon.is-cyan {
    background: #e6f7f5;
    color: #0d9b8a;
}

.staff-stat-card-icon.is-sky {
    background: #eaf4fb;
    color: #4aa3c7;
}

.staff-stat-card-body {
    min-width: 0;
    flex: 1;
}

.staff-stat-card-label {
    font-size: 0.82rem;
    font-weight: 650;
    color: #5a6d7c;
    margin-bottom: 4px;
}

.staff-stat-card-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a365d;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.staff-stat-card-trend {
    margin-top: 6px;
    font-size: 0.78rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.staff-stat-card-trend .js-stat-pct {
    font-weight: 700;
}

.staff-stat-card-trend.is-up .js-stat-pct {
    color: #1b9e5a;
}

.staff-stat-card-trend.is-down .js-stat-pct {
    color: #c62828;
}

.staff-stat-card-cmp {
    color: #8a9aa8;
}

@media (max-width: 900px) {
    .staff-stat-cards {
        grid-template-columns: 1fr;
    }
}

.staff-sharedfiles-mode-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px 0;
}

.staff-sharedfiles-mode-label {
    font-size: 0.9rem;
    font-weight: 650;
    color: #1a365d;
}

.staff-sharedfiles-upload {
    margin: 12px 16px 0;
    padding: 14px;
    border: 1px dashed #c9d9df;
    border-radius: 12px;
    background: #f9fcfb;
}

.staff-sharedfiles-file-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.staff-sharedfiles-file-label input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.staff-sharedfiles-file-label .staff-btn-primary.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.staff-sharedfiles-preview-wrap {
    margin-top: 12px;
}

.staff-sharedfiles-preview-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.staff-sharedfiles-preview-item {
    flex: 0 0 120px;
    width: 120px;
    text-align: center;
}

.staff-sharedfiles-preview-thumb {
    height: 72px;
    border-radius: 10px;
    background: #e8f8f5;
    color: #0d9b8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    overflow: hidden;
}

.staff-sharedfiles-preview-thumb.is-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-sharedfiles-preview-name {
    font-size: 0.75rem;
    color: #1a365d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-sharedfiles-preview-size {
    font-size: 0.72rem;
    color: #6b7c8a;
    margin-bottom: 4px;
}

.staff-sharedfiles-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.staff-sharedfiles-msg {
    color: #6b7c8a;
}

.staff-sharedfiles-save-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #eef3f6;
}

/* Staff home FullCalendar */
.staff-home-calendar-section {
    margin-top: 8px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #eef3f6;
    border-radius: 14px;
    padding: 16px 18px 20px;
}

.staff-home-calendar-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 14px;
}

.staff-home-calendar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 4px;
}

.staff-home-calendar-desc {
    font-size: 0.875rem;
    color: #6b7c8a;
}

.staff-home-calendar-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.8rem;
    color: #334155;
}

.staff-home-calendar-legend li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.staff-cal-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex: 0 0 auto;
}

.staff-cal-swatch.is-mentor {
    background: #B8D4E8;
    border: 1px solid #8fb6d4;
}

.staff-cal-swatch.is-parent {
    background: #2563EB;
}

.staff-cal-swatch.is-meeting {
    background: #16A34A;
}

.staff-cal-swatch.is-pending {
    background: #DC2626;
}

.staff-home-calendar-status {
    font-size: 0.875rem;
    color: #6b7c8a;
    margin-bottom: 8px;
}

.staff-home-calendar-status.is-error {
    color: #b91c1c;
}

.staff-home-calendar {
    min-height: 420px;
}

.staff-home-calendar .fc {
    font-size: 0.875rem;
}

.staff-home-calendar .fc .fc-toolbar-title {
    font-size: 1.15rem;
    color: #1a365d;
}

.staff-home-calendar .fc .fc-button {
    background: #1a365d;
    border-color: #1a365d;
    text-transform: none;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
}

.staff-home-calendar .fc .fc-button:hover,
.staff-home-calendar .fc .fc-button:focus {
    background: #254a7a;
    border-color: #254a7a;
}

.staff-home-calendar .fc .fc-button-primary:not(:disabled).fc-button-active,
.staff-home-calendar .fc .fc-button-primary:not(:disabled):active {
    background: #0f2744;
    border-color: #0f2744;
}

.staff-home-calendar .fc-daygrid-event {
    border-radius: 4px;
    font-weight: 600;
}


