/*
 * VERBATIM COPY of the parent application stylesheet
 *   src/main/webapp/classess/examer/ExamerCSS/parent-common-ui.css  (revision 8d93fd545, 2026-06-22)
 *
 * Every rule is scoped to the legacy <body class="page-parent-..."> of one page; LegacyPageClassService
 * puts the same class on <body> for the matching tour route. It is linked from index.html, not bundled,
 * so the browser parses it exactly as it does in the parent application.
 *
 * Do not edit or "repair" rules here. In particular a rule near the end of the page-parent-assessments
 * block is missing its closing brace, which makes the browser treat everything after it (timetable,
 * insights, meetings, help, reports, profile) as part of @media (max-width: 1024px). The parent
 * application behaves that way today, so the tour must too. Re-copy the file when it changes there.
 */

body.page-parent-home {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF);
    color: var(--ink, #0F0F11);
    overflow-x: hidden;
    min-height: 100vh;
}


.page-parent-home .snap-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.page-parent-home .snap-container::-webkit-scrollbar {
    width: 6px;
}

.page-parent-home .snap-container::-webkit-scrollbar-track {
    background: var(--accent-100, #F5E6DF);
}

.page-parent-home .snap-container::-webkit-scrollbar-thumb {
    background: var(--accent-500, #D97757);
    border-radius: 3px;
}

.page-parent-home .snap-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}


@keyframes parentBackgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-parent-home .parent-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}


.page-parent-home .child-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1600;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border:1px solid rgb(175 158 158 / 30%);
    border-radius: var(--r-lg, 12px);
    padding: var(--s-3, 12px) var(--s-4, 16px);
    min-width: 200px;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .child-switcher:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

.page-parent-home .child-switcher.chat-mode {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.page-parent-home .child-switcher-label {
    color: var(--ink-soft, #3A3D42);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .child-selector {
    background: transparent;
    border: none;
    color: var(--ink, #0F0F11);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 4px 0;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .child-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--r-md, 6px);
    margin-top: 4px;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    max-height: 200px;
    overflow-y: auto;
}

.page-parent-home .child-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-parent-home .child-option {
    padding: var(--s-3, 12px) var(--s-4, 16px);
    color: var(--ink, #0F0F11);
    cursor: pointer;
    transition: background-color var(--t-fast, 120ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    display: flex;
    align-items: center;
    gap: var(--s-3, 12px);
}

.page-parent-home .child-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.page-parent-home .child-option.active {
    background: rgba(217, 119, 87, 0.1);
    color: var(--accent-500, #D97757);
    font-weight: 500;
}

.page-parent-home .child-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .child-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--ink, #0F0F11);
}

.page-parent-home .child-class {
    font-size: 12px;
    color: var(--ink-muted, #797E85);
}

.page-parent-home .dropdown-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .child-selector.active .dropdown-icon {
    transform: rotate(180deg);
}


.page-parent-home .header-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .header-actions.chat-mode {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}


.page-parent-home .notifications-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .notification-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .notifications-section:hover .notification-icon-wrapper {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

.page-parent-home .notification-icon {
    width: 20px;
    height: 20px;
    fill: black;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    animation: notificationPulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 75, 43, 0.4);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .notification-badge.hidden {
    display: none;
}

@keyframes notificationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


.page-parent-home .profile-section {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    cursor: pointer;
}

.page-parent-home .profile-section:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

.page-parent-home .profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .profile-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}


.page-parent-home .notifications-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background: var(--bg-surface, #FCFAF3);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--hairline, #EDEEF0);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--t-slow, 380ms) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.page-parent-home .notifications-panel.active {
    transform: translateX(0);
}

.page-parent-home .notifications-panel::-webkit-scrollbar {
    width: 6px;
}

.page-parent-home .notifications-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.page-parent-home .notifications-panel::-webkit-scrollbar-thumb {
    background: rgba(217, 119, 87, 0.3);
    border-radius: 3px;
}

.page-parent-home .notifications-header {
    padding: var(--s-5, 24px) var(--s-4, 16px) var(--s-3, 12px);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-parent-home .notifications-header h3 {
    margin: 0;
    color: var(--ink, #0F0F11);
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

.page-parent-home .clear-all-btn {
    background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: var(--r-full, 9999px);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .clear-all-btn:hover {
    transform: translateY(-1px);
}

.page-parent-home .notifications-list {
    flex: 1;
    padding: 10px 0;
}

.page-parent-home .notification-item {
    padding: var(--s-3, 12px) var(--s-4, 16px);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    position: relative;
    background: rgba(255, 255, 255, 0.5);
}

.page-parent-home .notification-item:hover {
    background: rgba(217, 119, 87, 0.05);
    transform: translateX(-3px);
}

.page-parent-home .notification-item.unread {
    background: rgba(217, 119, 87, 0.08);
    border-left: 3px solid var(--accent-500, #D97757);
}

.page-parent-home .notification-header {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3, 12px);
    margin-bottom: 6px;
}

.page-parent-home .notification-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 14px;
    flex-shrink: 0;
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .notification-content {
    flex: 1;
}

.page-parent-home .notification-title {
    font-weight: 500;
    color: var(--ink, #0F0F11);
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.3;
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .notification-message {
    color: var(--ink-soft, #3A3D42);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.page-parent-home .notification-time {
    color: var(--ink-muted, #797E85);
    font-size: 10px;
    font-weight: 500;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .notification-item.type-assignment .notification-avatar {
    background: linear-gradient(135deg, var(--success, #1E7A4D), #00a085);
}

.page-parent-home .notification-item.type-grade .notification-avatar {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.page-parent-home .notifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .notifications-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-parent-home .school_header_section {
    background: transparent;
    padding: 2rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: opacity var(--t-slow, 380ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .school_header_section.chat-mode {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.page-parent-home .school_name {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 30px;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
}

.page-parent-home .powered_by_text {
    color: var(--ink-muted, #797E85);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .classess_text_logo img {
    height: 50px;
    width: auto;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .payment_banner_area_two {
    background: transparent;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    z-index: 10;
    flex-direction: column;
    position: relative;
}

.page-parent-home .payment_content_two {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 600px;
    transition: opacity var(--t-slow, 380ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .payment_content_two.chat-mode {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.page-parent-home .symbols-pulse {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: transform var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .classess_logo {
    max-width: 256px;
    height: auto;
    filter: drop-shadow(var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06)));
}

.page-parent-home .greeting-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 999;
    transition: opacity var(--t-slow, 380ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    bottom: 450px;
}

.page-parent-home .greeting-section.chat-mode {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.page-parent-home .greeting-text {
    color: var(--ink-soft, #3A3D42);
    font-size: 22px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    line-height: 1.4;
    padding: var(--s-3, 12px) var(--s-5, 24px);
    border-radius: var(--r-full, 9999px);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

.page-parent-home .message-input-container {
    position: absolute;
    bottom: 380px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 445px;
    width: 60%;
    padding: 0;
    z-index: 1000;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .message-input-container.chat-mode {
    position: fixed;
    bottom: 20px;
    max-width: 800px;
    width: 90%;
}

.page-parent-home .message-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--r-full, 9999px);
    padding: 6px 6px 6px 20px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    position: relative;
    overflow: visible;
}

.page-parent-home .message-input-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.2);
}

.page-parent-home .message-input-container.chat-mode .message-input-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
}

.page-parent-home .message-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--ink, #0F0F11);
    padding: 10px 16px;
    font-family: var(--sans, 'Inter', sans-serif);
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.4;
    resize: none;
    min-height: 40px;
}

.page-parent-home .message-input::placeholder {
    color: var(--ink-muted, #797E85);
    font-weight: 400;
    opacity: 0.8;
}

.page-parent-home .action-button {
    background: transparent;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.49);
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    flex-shrink: 0;
}

.page-parent-home .action-button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    box-shadow: 0 6px 24px rgba(217, 119, 87, 0.4);
}

.page-parent-home .action-button:active {
    transform: scale(0.95);
}

.page-parent-home .action-button.recording {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: pulse 2s infinite;
}

.page-parent-home .action-icon {
    width: 22px;
    height: 22px;
}


.page-parent-home .conversation-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.page-parent-home .conversation-button:hover {
    transform: scale(1.05);
    background: var(--accent-500, #D97757);
    box-shadow: 0 6px 24px rgba(217, 119, 87, 0.4);
}

.page-parent-home .conversation-button.active {
    background: linear-gradient(135deg, #00a8ff, #0084ff);
}

.page-parent-home .conversation-button svg {
    width: 20px;
    height: 20px;
}


.page-parent-home .status-indicator {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink, #0F0F11);
    padding: 6px 16px;
    border-radius: var(--r-full, 9999px);
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    pointer-events: none;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .status-indicator.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.page-parent-home .shortcuts-container {
    position: absolute;
    bottom: 250px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    width: 90%;
    z-index: 999;
    transition: opacity var(--t-slow, 380ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .shortcuts-container.chat-mode {
    opacity: 0;
    pointer-events: none;
}

.page-parent-home .shortcuts-grid-unified {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 0 10px;
}

.page-parent-home .shortcut-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    padding: 8px;
    border-radius: var(--r-lg, 12px);
    min-width: 80px;
}

.page-parent-home .shortcut-item:hover {
    transform: translateY(-3px);
}

.page-parent-home .shortcut-icon-circle,
.page-parent-home .add-icon-circle {
    width: 56px;
    height: 56px;
    background: var(--accent-500, #D97757);
    border-radius: var(--r-xl, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

.page-parent-home .shortcut-item:hover .shortcut-icon-circle,
.page-parent-home .shortcut-item:hover .add-icon-circle {
    transform: scale(1.05);
    background: var(--accent-700, #B85C3A);
}

.page-parent-home .shortcut-icon {
    font-size: 24px;
}

.page-parent-home .plus-icon {
    font-size: 32px;
    color: white;
    font-weight: 300;
}

.page-parent-home .shortcut-title {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 11px;
    color: var(--ink-soft, #3A3D42);
    font-weight: 500;
    text-align: center;
}

.page-parent-home .features_section {
    min-height: 100vh;
    background: transparent;
    padding: 60px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.page-parent-home .features_container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-parent-home .features_header {
    text-align: center;
    margin-bottom: 60px;
}

.page-parent-home .features_header h2 {
    color: var(--ink-soft, #3A3D42);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

.page-parent-home .features_header p {
    color: var(--ink-muted, #797E85);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--sans, 'Inter', sans-serif);
}


.page-parent-home .windows_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


.page-parent-home .app_tile {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgb(175 158 158 / 30%);
    border-radius: var(--r-xl, 16px);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--t-slow, 380ms) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.page-parent-home .app_tile:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    border-color: var(--accent-300, #E2AE93);
}

.page-parent-home .app_tile:hover .feature_title,
.page-parent-home .app_tile:hover .feature_description {
    color: var(--ink, #0F0F11);
}

.page-parent-home .feature_icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    border-radius: var(--r-lg, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .app_tile:hover .feature_icon svg {
    transform: scale(1.1);
}

.page-parent-home .feature_icon svg {
    width: 28px;
    height: 28px;
    fill: white;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .feature_title {
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
    font-family: var(--sans, 'Inter', sans-serif);
}

.page-parent-home .feature_description {
    color: var(--ink-muted, #797E85);
    font-size: 0.8rem;
    line-height: 1.4;
}




.page-parent-home .chat-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 20px 20px 80px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-slow, 380ms) var(--ease-out, cubic-bezier(0.2, 0.8, 0.2, 1));
    z-index: 998;
    background: transparent;
    border: none;
    backdrop-filter: none;
    border-radius: 0;
}

.page-parent-home .chat-container.active {
    opacity: 1;
    visibility: visible;
}

.page-parent-home .chat-container::-webkit-scrollbar {
    width: 6px;
}

.page-parent-home .chat-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.page-parent-home .chat-container::-webkit-scrollbar-thumb {
    background: rgba(217, 119, 87, 0.5);
    border-radius: 3px;
}


.page-parent-home .chat-message {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-parent-home .message-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 18px 18px 0px 18px;
    word-wrap: break-word;
    line-height: 1.4;
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 14px;
}

.page-parent-home .user-message .message-bubble {
    background: var(--accent-500, #D97757);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.page-parent-home .ai-message .message-bubble {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    color: var(--ink, #0F0F11);
    align-self: flex-start;
}

.page-parent-home .message-time {
    font-size: 10px;
    color: var(--ink-muted, #797E85);
    margin-top: 4px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}


.page-parent-home .thinking-indicator {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 20px;
    border-radius: var(--r-xl, 16px);
    max-width: 80%;
    margin-bottom: 20px;
    color: var(--ink-soft, #3A3D42);
    align-self: flex-start;
}

.page-parent-home .thinking-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .thinking-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(52, 211, 153, 0.3);
    border-top: 2px solid #10b981;
    border-radius: 50%;
    animation: thinkingSpinner 1s linear infinite;
}

@keyframes thinkingSpinner {
    to { transform: rotate(360deg); }
}

.page-parent-home .typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: var(--r-xl, 16px);
    max-width: 80px;
    margin-bottom: 20px;
}

.page-parent-home .typing-dots {
    display: flex;
    gap: 4px;
}

.page-parent-home .typing-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-500, #D97757);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.page-parent-home .typing-dot:nth-child(1) { animation-delay: -0.32s; }
.page-parent-home .typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}


.page-parent-home .message-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding-left: 12px;
    align-self: flex-start;
}

.page-parent-home .user-message .message-actions {
    align-self: flex-end;
}

.page-parent-home .message-action-btn {
    background: rgba(255, 255, 255, 0);
    border: none;
    color: var(--ink-muted, #797E85);
    border-radius: var(--r-full, 9999px);
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all var(--t-fast, 120ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .message-action-btn:hover {
    color: var(--accent-500, #D97757);
}

.page-parent-home .message-action-btn.active {
    color: #10b981;
}


.page-parent-home .chat-close {
    position: fixed;
    top: 80px;
    right: 30px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 20px;
    font-weight: bold;
    color: #ff4444;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
}

.page-parent-home .chat-close:hover {
    background: rgba(255, 75, 75, 0.9);
    color: white;
    transform: scale(1.1);
}


.page-parent-home .shortcut-selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    backdrop-filter: blur(8px);
}

.page-parent-home .shortcut-selector-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-parent-home .selector-content {
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    border-radius: var(--r-xl, 16px);
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-parent-home .selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-parent-home .selector-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

.page-parent-home .close-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    border-radius: var(--r-md, 6px);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .close-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.page-parent-home .selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.page-parent-home .selector-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-lg, 12px);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .selector-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.page-parent-home .selector-item.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.page-parent-home .selector-item .item-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--sans, 'Inter', sans-serif);
}


.page-parent-home .shortcut-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}

.page-parent-home .shortcut-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-parent-home .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.page-parent-home .modal-container {
    position: relative;
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1;
    border: 1px solid var(--hairline, #EDEEF0);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
}

.page-parent-home .modal-header {
    padding: var(--s-4, 16px) var(--s-5, 24px);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent-100, #F5E6DF);
}

.page-parent-home .modal-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    color: var(--ink, #0F0F11);
}

.page-parent-home .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ink-muted, #797E85);
    transition: all var(--t-fast, 120ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .modal-close:hover {
    color: var(--accent-500, #D97757);
}

.page-parent-home .modal-body {
    padding: var(--s-5, 24px);
}

.page-parent-home .form-group {
    margin-bottom: var(--s-4, 16px);
}

.page-parent-home .form-group label {
    display: block;
    margin-bottom: var(--s-2, 8px);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft, #3A3D42);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-md, 6px);
    font-size: 14px;
    font-family: var(--sans, 'Inter', sans-serif);
    background: var(--bg-page, #FFFFFF);
    transition: all var(--t-fast, 120ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
}

.page-parent-home .form-group input:focus {
    outline: none;
    border-color: var(--accent-500, #D97757);
    box-shadow: var(--shadow-glow, 0 0 0 4px rgba(217,119,87,.18));
}

.page-parent-home .modal-footer {
    padding: var(--s-4, 16px) var(--s-5, 24px);
    border-top: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: flex-end;
    gap: var(--s-2, 8px);
}

.page-parent-home .btn-cancel {
    background: transparent;
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 5px 15px;
    border-radius: var(--r-full, 9999px);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--sans, 'Inter', sans-serif);
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    color: var(--ink, #0F0F11);
}

.page-parent-home .btn-cancel:hover {
	
    border-color: var(--accent-500, #D97757);
    background: var(--accent-100, #F5E6DF);
}

.page-parent-home .btn-save {
    background: var(--accent-500, #D97757);
    border: none;
    padding: 5px 15px;
    border-radius: var(--r-full, 9999px);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--sans, 'Inter', sans-serif);
    transition: all var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    color: white;
}

.page-parent-home .btn-save:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-2px);
}


.page-parent-home .scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--r-full, 9999px);
    font-size: 11px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity var(--t-base, 220ms) var(--ease-out, cubic-bezier(0.2,0.8,0.2,1));
    pointer-events: none;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

.page-parent-home .scroll-indicator.hidden {
    opacity: 0;
}




@media (max-width: 480px) {
    .page-parent-home .payment_content_two { top: 30% !important; }
    .page-parent-home .features_header h2 { font-size: 1rem !important; }
    .page-parent-home .windows_grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .page-parent-home .app_tile { padding: 12px 8px !important; }
    .page-parent-home .feature_icon { width: 40px !important; height: 40px !important; }
    .page-parent-home .feature_title { font-size: 0.75rem !important; }
    .page-parent-home .message-input-container { width: 85% !important; bottom: 240px !important; }
    .page-parent-home .shortcuts-container { bottom: 100px !important; width: 95% !important; }
    .page-parent-home .shortcut-icon-circle, 
    .page-parent-home .add-icon-circle { width: 44px !important; height: 44px !important; }
    .page-parent-home .shortcut-title { font-size: 9px !important; }
    .page-parent-home .child-switcher { min-width: 140px !important; }
}


@media (max-width: 768px) {
    .page-parent-home .greeting-text { font-size: 16px !important; }
    .page-parent-home .school-name { font-size: 20px !important; }
    .page-parent-home .payment_content_two { top: 35% !important; }
    .page-parent-home .message-input-container { bottom: 280px !important; }
    .page-parent-home .shortcuts-container { bottom: 120px !important; }
    .page-parent-home .windows_grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    .page-parent-home .features_header h2 { font-size: 1.2rem !important; }
    .page-parent-home .features_header p { font-size: 0.85rem !important; }
    .page-parent-home .shortcuts-grid-unified { flex-wrap: nowrap !important; overflow-x: auto !important; gap:5px;margin-left:130px; }
}

@media (max-width: 1024px) {
    .page-parent-home .payment_content_two { top: 38% !important; }
    .page-parent-home .message-input-container { max-width: 450px !important; }
    .page-parent-home .shortcuts-container { max-width: 700px !important; }
}


@media (max-height: 550px) and (orientation: landscape) {
    .page-parent-home .payment_banner_area_two { min-height: 500px !important; }
    .page-parent-home .payment_content_two { top: 25% !important; }
    .page-parent-home .message-input-container { bottom: 180px !important; }
    .page-parent-home .shortcuts-container { bottom: 60px !important; }
    .page-parent-home .school_logo_img { height: 50px !important; }
    .page-parent-home .greeting-section { bottom: 240px !important; }
}



.payment_banner_area_two .symbols-pulse > div {
    background-image: linear-gradient(-180deg, rgb(225 208 208 / 12%) 0%, rgb(228 198 198 / 18%) 65%, rgba(255, 255, 255, 0.04) 100%);
    width: 28rem;
    height: 28rem;
} 

.symbols-pulse .pulse-x

 {
     will-change: transform; 
    animation: pulsate 3s infinite;
}

body.page-parent-home,
body.page-parent-home .snap-container,
body.page-parent-home .body_wrapper1,
body.page-parent-home .body_wrapper,

body.page-parent-home .features_section,
body.page-parent-home .features_container,

body.page-parent-home .chat-container,
body.page-parent-home .notifications-panel,
body.page-parent-home .notifications-list,
body.page-parent-home .shortcuts-container,
body.page-parent-home .shortcuts-grid-unified,
body.page-parent-home .selector-content,
body.page-parent-home .modal-container,
body.page-parent-home .modal-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}


body.page-parent-home::-webkit-scrollbar,
body.page-parent-home .snap-container::-webkit-scrollbar,
body.page-parent-home .body_wrapper1::-webkit-scrollbar,
body.page-parent-home .body_wrapper::-webkit-scrollbar,
body.page-parent-home .payment_banner_area_two::-webkit-scrollbar,
body.page-parent-home .features_section::-webkit-scrollbar,
body.page-parent-home .features_container::-webkit-scrollbar,
body.page-parent-home .windows_grid::-webkit-scrollbar,
body.page-parent-home .chat-container::-webkit-scrollbar,
body.page-parent-home .notifications-panel::-webkit-scrollbar,
body.page-parent-home .notifications-list::-webkit-scrollbar,
body.page-parent-home .shortcuts-container::-webkit-scrollbar,
body.page-parent-home .shortcuts-grid-unified::-webkit-scrollbar,
body.page-parent-home .selector-content::-webkit-scrollbar,
body.page-parent-home .modal-container::-webkit-scrollbar,
body.page-parent-home .modal-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    background: transparent !important;
}

html.page-parent-home {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

html.page-parent-home::-webkit-scrollbar {
    display: none;
    width: 0;
}

body.page-parent-dashboard {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-dashboard,
body.page-parent-dashboard .drawer-root .mdc-drawer-app-content,
body.page-parent-dashboard .classes-container,
body.page-parent-dashboard .syllabus-container,
body.page-parent-dashboard .exam-container {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-dashboard::-webkit-scrollbar,
body.page-parent-dashboard .drawer-root .mdc-drawer-app-content::-webkit-scrollbar,
body.page-parent-dashboard .classes-container::-webkit-scrollbar,
body.page-parent-dashboard .syllabus-container::-webkit-scrollbar,
body.page-parent-dashboard .exam-container::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}


.skeleton-card {
    height: 80px;
    margin: 10px 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}

.skeleton-section {
    margin-bottom: 20px;
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

body.page-parent-dashboard .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-dashboard .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-dashboard .test-card {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    padding: var(--s-5, 24px);
    transition: all var(--t-base, 220ms) var(--ease-out);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-dashboard .offcanvas {
	  background: var(--bg-surface, #FCFAF3);
}

body.page-parent-dashboard .test-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-200, #ECCBBA);
}


body.page-parent-dashboard .section-title {
    margin-bottom: var(--s-4, 16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-parent-dashboard .section-title .title-text {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    position: relative;
    padding-left: var(--s-3, 12px);
}

body.page-parent-dashboard .section-title .title-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--accent-500, #D97757);
    border-radius: var(--r-sm, 4px);
}


body.page-parent-dashboard .test-page-title {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-700, #B85C3A);
}


body.page-parent-dashboard .classes-container,
body.page-parent-dashboard .syllabus-container,
body.page-parent-dashboard .exam-container {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 6px;
}


body.page-parent-dashboard .class-item,
body.page-parent-dashboard .syllabus-item,
body.page-parent-dashboard .exam-item {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    padding: var(--s-3, 12px) var(--s-4, 16px);
    margin-bottom: var(--s-3, 12px);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-dashboard .class-item:hover,
body.page-parent-dashboard .syllabus-item:hover,
body.page-parent-dashboard .exam-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-300, #E2AE93);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-dashboard .class-item:last-child,
body.page-parent-dashboard .syllabus-item:last-child,
body.page-parent-dashboard .exam-item:last-child {
    margin-bottom: 0;
}


body.page-parent-dashboard .class-subject,
body.page-parent-dashboard .syllabus-subject,
body.page-parent-dashboard .exam-subject {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 0;
}

body.page-parent-dashboard .class-time {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-700, #B85C3A);
    background: var(--accent-100, #F5E6DF);
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    display: inline-block;
}

body.page-parent-dashboard .class-teacher {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.75rem;
    color: var(--ink-soft, #3A3D42);
    margin-top: var(--s-1, 4px);
}

body.page-parent-dashboard .syllabus-percentage {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-500, #D97757);
}

body.page-parent-dashboard .syllabus-progress {
    height: 4px;
    background: var(--bg-tint, #F2EDE2);
    border-radius: var(--r-full, 9999px);
    overflow: hidden;
    margin: var(--s-2, 8px) 0 var(--s-1, 4px);
}

body.page-parent-dashboard .syllabus-progress-bar {
    height: 100%;
    background: var(--accent-500, #D97757);
    border-radius: var(--r-full, 9999px);
    transition: width var(--t-slow, 380ms) var(--ease-out);
}

body.page-parent-dashboard .syllabus-details {
    margin-top: var(--s-1, 4px);
}


body.page-parent-dashboard .exam-score {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
    display: inline-block;
}

body.page-parent-dashboard .exam-name {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.75rem;
    color: var(--ink-soft, #3A3D42);
    margin-top: var(--s-1, 4px);
}

body.page-parent-dashboard .exam-details {
    margin-top: var(--s-2, 8px);
}



body.page-parent-dashboard .value-bar-wrapper .value-bar-fill {
    height: 36px !important;
    border-radius: var(--r-md, 6px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: var(--accent-500, #D97757) !important;
    transition: width var(--t-slow, 380ms) var(--ease-out);
}

body.page-parent-dashboard .value-bar {
    position: relative;
    flex: 1;
    background: var(--bg-tint, #F2EDE2);
    border-radius: var(--r-md, 6px);
    overflow: hidden;
}

body.page-parent-dashboard .value-bar .value-bar-label {
    color: var(--ink, #0F0F11);
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: var(--s-2, 8px);
    position: relative;
    z-index: 2;
    line-height: 36px;
}

body.page-parent-dashboard .value-bar-wrapper .value-bar-caption {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--ink, #0F0F11);
    flex-shrink: 0;
    z-index: 2;
    margin-right: var(--s-2, 8px);
    min-width: 70px;
}

body.page-parent-dashboard .test-cards-row {
    display: flex;
    gap: var(--s-5, 24px);
    margin-bottom: var(--s-5, 24px);
}

body.page-parent-dashboard .test-cards-column {
    flex: 1;
}

body.page-parent-dashboard .test-cards-row:first-child .test-cards-column:first-child {
    flex: 1.2;
}

body.page-parent-dashboard .test-cards-row:first-child .test-cards-column:last-child {
    flex: 0.8;
}


body.page-parent-dashboard .result-tile-content-container {
    width: 100%;
}

body.page-parent-dashboard .mdc-property-list--vertical .row {
    display: flex;
    flex-wrap: wrap;
}


body.page-parent-dashboard .status-current {
    background: var(--success, #1E7A4D);
    color: white;
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-dashboard .status-upcoming {
    background: var(--info, #3057E1);
    color: white;
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-dashboard .status-completed {
    background: var(--ink-muted, #797E85);
    color: white;
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}


body.page-parent-dashboard .staff-photo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

body.page-parent-dashboard .staff-fallback {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-500, #D97757);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-dashboard .modal-content {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
}

body.page-parent-dashboard .modal-header {
    background: var(--accent-100, #F5E6DF);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px) var(--r-xl, 16px) 0 0;
}

body.page-parent-dashboard .modal-title {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
}

body.page-parent-dashboard .btn-primary {
    background: var(--accent-500, #D97757);
    border: none;
    border-radius: var(--r-full, 9999px);
    padding: 8px 20px;
    font-family: var(--sans, 'Inter', sans-serif);
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-dashboard .btn-primary:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-1px);
}

body.page-parent-dashboard .btn-secondary {
    background: transparent;
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-full, 9999px);
    padding: 8px 20px;
    font-family: var(--sans, 'Inter', sans-serif);
    font-weight: 500;
    color: var(--ink, #0F0F11);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-dashboard .btn-secondary:hover {
    border-color: var(--accent-500, #D97757);
    background: var(--accent-100, #F5E6DF);
}


body.page-parent-dashboard .period-badge {
    background: var(--ink-muted, #797E85);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}


@media (max-width: 1200px) {
    body.page-parent-dashboard .test-cards-row {
        flex-direction: column;
        gap: var(--s-4, 16px);
    }
    
    body.page-parent-dashboard .test-cards-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body.page-parent-dashboard .section-title .title-text {
        font-size: 0.9rem;
    }
    
    body.page-parent-dashboard .value-bar-wrapper .value-bar-caption {
        font-size: 0.7rem;
        min-width: 60px;
    }
    
    body.page-parent-dashboard .value-bar .value-bar-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    body.page-parent-dashboard .class-subject,
    body.page-parent-dashboard .syllabus-subject,
    body.page-parent-dashboard .exam-subject {
        font-size: 0.75rem;
    }
    
    body.page-parent-dashboard .back-btn {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }
    
    body.page-parent-dashboard .value-bar-wrapper .value-bar-caption {
        font-size: 0.65rem;
        min-width: 50px;
    }
    
    body.page-parent-dashboard .value-bar .value-bar-label {
        font-size: 0.6rem;
    }
}



body.page-parent-dashboard .donut-hole {
    fill: var(--bg-surface, #FCFAF3);
}

body.page-parent-dashboard .donut-ring {
    stroke: var(--bg-tint, #F2EDE2);
    fill: transparent;
}

body.page-parent-dashboard .donut-segment {
    stroke: var(--accent-500, #D97757) !important;
    fill: transparent;

}

body.page-parent-dashboard .donut-segment-5 {
    stroke: var(--accent-500, #D97757) !important;

    transform: rotate(360deg) !important;
}


body.page-parent-dashboard .donut-text {
    font-family: var(--sans, 'Inter', sans-serif);
    fill: var(--ink, #0F0F11);
    font-weight: 600;
}

body.page-parent-dashboard .donut-data {
    font-family: var(--sans, 'Inter', sans-serif);
    fill: var(--ink-soft, #3A3D42);
}


body.page-parent-dashboard .result-tile-donut-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
body.page-parent-dashboard .circle-progress {
    background: conic-gradient(var(--accent-500, #E2AE93) var(--progress), transparent 0) !important;
}

body.page-parent-dashboard .circle-progress2 {
    background: conic-gradient(var(--accent-300, #D97757) var(--progress), transparent 0) !important;
}

body.page-parent-attendance {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-attendance,
body.page-parent-attendance .mdc-drawer-app-content,
body.page-parent-attendance .regular-page-content {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-attendance::-webkit-scrollbar,
body.page-parent-attendance .mdc-drawer-app-content::-webkit-scrollbar,
body.page-parent-attendance .regular-page-content::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-attendance .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-attendance .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-attendance .test-manager-page-title {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: var(--s-4, 16px);
}

body.page-parent-attendance .test-manager-page-title b {
    font-weight: 600;
    color: var(--accent-500, #D97757);
}

body.page-parent-attendance .row:first-of-type {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

body.page-parent-attendance .row:first-of-type .col-sm-2 {
    flex: 1 !important;
    min-width: 100px !important;
    max-width: none !important;
}


body.page-parent-attendance .legend-color {
    border-radius: var(--r-lg, 12px);
    padding: 12px;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-attendance .legend-color:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-attendance .presentcard {
    background-color: var(--success-bg, #DEF1E5);
    color: var(--ink, #0F0F11);
    width:180px !important;
}

body.page-parent-attendance .absentcard {
    background-color: var(--error-bg, #F8E5E2);
    color: var(--ink, #0F0F11);
}

body.page-parent-attendance .leavecard {
    background-color: var(--warn-bg, #FAF1DD);
    color: var(--ink, #0F0F11);
}

body.page-parent-attendance .holidaycard {
    background-color: var(--info-bg, #E5EBFB);
    color: var(--ink, #0F0F11);
}
body.page-parent-attendance table {
    caption-side: bottom;
    border-collapse: collapse;
    height: 455px;
}
body.page-parent-attendance .overallcard {
    background-color: var(--accent-100, #F5E6DF);
    color: var(--ink, #0F0F11);
}

body.page-parent-attendance .haffdaycard {
    background-color: #FEF3C7;
    color: var(--ink, #0F0F11);
}


body.page-parent-attendance .legend-item {
    display: flex;
    align-items: center;
    gap: var(--s-2, 8px);
    margin-bottom: var(--s-2, 8px);
}

body.page-parent-attendance .legend-color.present,
body.page-parent-attendance .legend-color.absent,
body.page-parent-attendance .legend-color.leave,
body.page-parent-attendance .legend-color.holiday,
body.page-parent-attendance .legend-color.haffday {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md, 6px);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-attendance .present {
    background-color: var(--success, #1E7A4D);
    color: white;
}

body.page-parent-attendance .absent {
    background-color: var(--error, #B14538);
    color: white;
}

body.page-parent-attendance .leave {
    background-color: var(--warn, #C28B2C);
    color: white;
}

body.page-parent-attendance .holiday {
    background: linear-gradient(135deg, var(--success, #1E7A4D) 50%, var(--error, #B14538) 50%);
    color: white;
}

body.page-parent-attendance .haffday {
    background-color: #EAB308;
    color: white;
}


body.page-parent-attendance .parcantage {
    font-size: 20px !important;
    font-weight: 600;
    display: inline-flex;
  
    gap: var(--s-1, 4px);

    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-attendance .parcantage span {
    color: var(--accent-500, #D97757);
    font-size: 22px;
}

body.page-parent-attendance .parcantage p {
    font-size: 12px !important;
    color: var(--ink-soft, #3A3D42) !important;
    margin: 0;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-attendance #results-table {
    background: var(--bg-surface, #FCFAF3);
    border-collapse: collapse;
    width: 100%;
    border-radius: var(--r-xl, 4px);
    overflow: hidden;
    height:460px;
}

body.page-parent-attendance th,
body.page-parent-attendance td {
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 10px 8px;
    text-align: center;
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 13px;
}

body.page-parent-attendance th {
    background: var(--accent-100, #F5E6DF);
    color: var(--ink, #0F0F11);
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.05em;
}

body.page-parent-attendance td {
    color: var(--ink-soft, #3A3D42);
}


body.page-parent-attendance td.present {
    background-color: var(--success-bg, #DEF1E5);
    color: var(--success, #1E7A4D);
    font-weight: 600;
}

body.page-parent-attendance td.absent {
    background-color: var(--error-bg, #F8E5E2);
    color: var(--error, #B14538);
    font-weight: 600;
}

body.page-parent-attendance td.leave {
    background-color: var(--warn-bg, #FAF1DD);
    color: var(--warn, #C28B2C);
    font-weight: 600;
}

body.page-parent-attendance td.holiday {
    background: linear-gradient(135deg, var(--success-bg, #DEF1E5) 50%, var(--error-bg, #F8E5E2) 50%);
    color: var(--ink, #0F0F11);
    font-weight: 600;
}

body.page-parent-attendance .bg-blue {
    background-color: var(--accent-500, #D97757);
    color: white;
}

body.page-parent-attendance .day-header {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    color: var(--ink-soft, #3A3D42);
    margin-top: var(--s-4, 16px);
}


body.page-parent-attendance .test-card {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    padding: var(--s-5, 24px);
    margin-bottom: var(--s-5, 24px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-attendance #results-table-container {
    overflow-x: auto;
    width: 100%;
}

body.page-parent-attendance #results-table-container::-webkit-scrollbar {
    height: 4px;
}

body.page-parent-attendance #results-table-container::-webkit-scrollbar-track {
    background: var(--bg-tint, #F2EDE2);
    border-radius: 4px;
}

body.page-parent-attendance #results-table-container::-webkit-scrollbar-thumb {
    background: var(--accent-500, #D97757);
    border-radius: 4px;
}

@media (max-width: 768px) {
    body.page-parent-attendance .test-manager-page-title {
        font-size: 1.2rem;
    }
    
    body.page-parent-attendance .parcantage span {
        font-size: 18px;
    }
    
    body.page-parent-attendance .parcantage p {
        font-size: 10px;
    }
    
    body.page-parent-attendance th,
    body.page-parent-attendance td {
        padding: 6px 4px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    body.page-parent-attendance .back-btn {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }
    
    body.page-parent-attendance .test-manager-page-title {
        font-size: 1rem;
    }
    
    body.page-parent-attendance .legend-color {
        padding: 8px;
    }
    
    body.page-parent-attendance .parcantage {
        font-size: 14px;
    }
    
    body.page-parent-attendance .parcantage span {
        font-size: 14px;
    }
    
    body.page-parent-attendance th,
    body.page-parent-attendance td {
        padding: 4px;
        font-size: 9px;
    }
}

body.page-parent-attendance.dark-mode .test-card {
    background: var(--bg-deep, #0F0F11);
    border-color: var(--hairline-strong, #D6CFB9);
}

body.page-parent-attendance.dark-mode th,
body.page-parent-attendance.dark-mode td {
    border-color: var(--hairline-strong, #D6CFB9);
}

body.page-parent-attendance.dark-mode th {
    background: var(--bg-elev, #F8F5EE);
    color: var(--ink, #0F0F11);
}

body.page-parent-attendance.dark-mode td {
    color: var(--ink-soft, #3A3D42);
}


body.page-parent-assignments {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}

body.page-parent-assignments,
body.page-parent-assignments .container,
body.page-parent-assignments .main-content,
body.page-parent-assignments .sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-assignments::-webkit-scrollbar,
body.page-parent-assignments .container::-webkit-scrollbar,
body.page-parent-assignments .main-content::-webkit-scrollbar,
body.page-parent-assignments .sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-assignments .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-assignments .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}


body.page-parent-assignments .container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 22px;
    display: flex;
    min-height: 100vh;
}

body.page-parent-assignments .sidebar {
    width: 220px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--r-lg, 12px);
    padding: 30px 0;
    margin-right: 22px;
    height: fit-content;
    position: sticky;
    top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.page-parent-assignments .sidebar-header {
    padding: 0 30px 30px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    margin-bottom: 30px;
}

body.page-parent-assignments .sidebar-title {
    color: var(--accent-500, #D97757);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assignments .nav-section h3 {
    color: var(--ink-muted, #797E85);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 30px 15px;
    margin-bottom: 15px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assignments .nav-item {
    display: block;
    padding: 10px 10px;
    color: var(--ink-soft, #3A3D42);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
    border-left: 3px solid transparent;
    cursor: pointer;
    border-radius: var(--r-md, 6px);
    margin: 0 10px;
}

body.page-parent-assignments .nav-item:hover,
body.page-parent-assignments .nav-item.active {
    color: var(--accent-500, #D97757);
    background: var(--accent-100, #F5E6DF);
    border-left-color: var(--accent-500, #D97757);
}

body.page-parent-assignments .nav-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

body.page-parent-assignments .main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
}

body.page-parent-assignments .header {
    margin-bottom: 32px;
}

body.page-parent-assignments .page-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 8px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assignments .page-subtitle {
    font-size: 0.9rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-assignments .homework-card,
body.page-parent-assignments .project-card,
body.page-parent-assignments .quiz-card {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    overflow: hidden;
    position: relative;
    transition: all var(--t-base, 220ms) var(--ease-out);
    margin-bottom: var(--s-3, 12px);
}

body.page-parent-assignments .homework-card:hover,
body.page-parent-assignments .project-card:hover,
body.page-parent-assignments .quiz-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-200, #ECCBBA);
}

body.page-parent-assignments .homework-card-header,
body.page-parent-assignments .project-card-header,
body.page-parent-assignments .quiz-card-header {
    background: var(--accent-100, #F5E6DF);
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-parent-assignments .homework-title,
body.page-parent-assignments .project-title,
body.page-parent-assignments .quiz-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-assignments .homework-due-date,
body.page-parent-assignments .project-due-date,
body.page-parent-assignments .quiz-due-date {
    background: var(--error, #B14538);
    color: white;
    padding: 4px 8px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assignments .homework-card-body,
body.page-parent-assignments .project-card-body,
body.page-parent-assignments .quiz-card-body {
    padding: 20px;
}


body.page-parent-assignments .submit-btn {
    background: var(--accent-500, #D97757);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-assignments .submit-btn:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-1px);
}

body.page-parent-assignments .past-assignments-section {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    overflow: hidden;
    margin-top: var(--s-5, 24px);
}

body.page-parent-assignments .section-header {
    background: var(--accent-100, #F5E6DF);
    padding: 20px 24px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-parent-assignments .section-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assignments .section-title i {
    color: var(--accent-500, #D97757);
}


body.page-parent-assignments .assignment-tabs {
    display: flex;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    background: rgba(248, 250, 252, 0.6);
}

body.page-parent-assignments .tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted, #797E85);
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    border-bottom: 2px solid transparent;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assignments .tab-btn.active {
    color: var(--accent-500, #D97757);
    border-bottom-color: var(--accent-500, #D97757);
    background: rgba(217, 119, 87, 0.05);
}

body.page-parent-assignments .tab-btn:hover:not(.active) {
    color: var(--ink, #0F0F11);
    background: rgba(217, 119, 87, 0.03);
}

body.page-parent-assignments .tab-content {
    overflow-x: auto;
}

body.page-parent-assignments .assignments-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

body.page-parent-assignments .assignments-table th {
    background: var(--accent-100, #F5E6DF);
    color: var(--ink-muted, #797E85);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assignments .assignments-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    font-family: var(--sans, 'Inter', sans-serif);
}




body.page-parent-assignments .status-badge {
    padding: 4px 12px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assignments .status-not-submitted {
    background: var(--error-bg, #F8E5E2);
    color: var(--error, #B14538);
}

body.page-parent-assignments .status-submitted {
    background: var(--success-bg, #DEF1E5);
    color: var(--success, #1E7A4D);
}

body.page-parent-assignments .combined-alert-content {
    background: var(--warn-bg, #FAF1DD);
    border: 1px solid var(--warn, #C28B2C);
    border-radius: var(--r-lg, 12px);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--s-4, 16px);
}

body.page-parent-assignments .combined-alert-icon {
    color: var(--warn, #C28B2C);
    font-size: 1.2rem;
}

body.page-parent-assignments .combined-alert-text {
    font-size: 0.85rem;
    color: #8B6420;
    font-weight: 500;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-assignments .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-assignments .popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

body.page-parent-assignments .popup-card {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    border: 1px solid var(--hairline, #EDEEF0);
    position: relative;
    transform: scale(0.9);
    transition: transform var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-assignments .popup-overlay.show .popup-card {
    transform: scale(1);
}

body.page-parent-assignments .popup-header {
    background: var(--accent-500, #D97757);
    padding: 20px 30px;
    position: relative;
    color: white;
}

body.page-parent-assignments .popup-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assignments .close-btn {
    position: absolute;
    top: 18px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-assignments .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

body.page-parent-assignments .popup-body {
    padding: 30px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

body.page-parent-assignments .info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

body.page-parent-assignments .info-item {
    padding: 12px 0;
}

body.page-parent-assignments .info-item label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-muted, #797E85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assignments .info-item .value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    line-height: 1.4;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-assignments .feedback-box {
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    background: var(--bg-tint, #F2EDE2);
    padding: 12px 16px;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-assignments .question-card {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    padding: 16px;
    margin-bottom: 12px;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-assignments .question-card:hover {
    border-color: var(--accent-200, #ECCBBA);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-assignments .questions-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assignments .skeleton-card {
    background: linear-gradient(90deg, var(--bg-tint, #F2EDE2) 25%, var(--hairline, #EDEEF0) 37%, var(--bg-tint, #F2EDE2) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--r-lg, 12px);
    height: 200px;
    margin: 10px;
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

body.page-parent-assignments .type-tag-homework {
    background: var(--info-bg, #E5EBFB);
    color: var(--info, #3057E1);
    border: 1px solid var(--math-tint, #C7D4F7);
}

body.page-parent-assignments .type-tag-project {
    background: var(--success-bg, #DEF1E5);
    color: var(--success, #1E7A4D);
    border: 1px solid var(--biology-tint, #A8D7BB);
}

body.page-parent-assignments .type-tag-quiz {
    background: var(--warn-bg, #FAF1DD);
    color: var(--warn, #C28B2C);
    border: 1px solid var(--chemistry-tint, #EDD789);
}


@media (max-width: 1024px) {
    body.page-parent-assignments .container {
        flex-direction: row;
    }
    
    body.page-parent-assignments .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 22px;
        position: static;
    }
    
    body.page-parent-assignments .sidebar .nav-section {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 15px;
    }
    
    body.page-parent-assignments .nav-section h3 {
        width: 100%;
    }
    
    body.page-parent-assignments .nav-item {
        display: inline-block;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    body.page-parent-assignments .container {
        padding: 16px;
    }
    
    body.page-parent-assignments .page-title {
        font-size: 1.2rem;
    }
    
    body.page-parent-assignments .homework-card-header,
    body.page-parent-assignments .project-card-header,
    body.page-parent-assignments .quiz-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    body.page-parent-assignments .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    body.page-parent-assignments .back-btn {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }
    
    body.page-parent-assignments .info-grid {
        grid-template-columns: 1fr;
    }
    
    body.page-parent-assignments .assignments-table th,
    body.page-parent-assignments .assignments-table td {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
}

body.page-parent-assessments {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-assessments,
body.page-parent-assessments .container,
body.page-parent-assessments .main-content,
body.page-parent-assessments .sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-assessments::-webkit-scrollbar,
body.page-parent-assessments .container::-webkit-scrollbar,
body.page-parent-assessments .main-content::-webkit-scrollbar,
body.page-parent-assessments .sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-assessments .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-assessments .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}


body.page-parent-assessments .container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 22px;
    display: flex;
    min-height: 100vh;
}
@media (min-width: 768px) {
    body.page-parent-assessments .sidebar {
        flex-shrink: 0 !important;
        position: sticky !important;
        top: 50px !important;
    }
}
@media (max-width: 767px) {
    body.page-parent-assessments .container {
        flex-direction: row !important;
    }
}
body.page-parent-assessments .sidebar {
    width: 240px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--r-lg, 12px);
    padding: 24px 0;
    margin-right: 22px;
    height: fit-content;
    position: sticky;
    top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.page-parent-assessments .sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    margin-bottom: 20px;
}

body.page-parent-assessments .sidebar-title {
    color: var(--accent-500, #D97757);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments .nav-section h3 {
    color: var(--ink-muted, #797E85);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 12px;
    margin-bottom: 12px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    margin: 4px 12px;
    color: var(--ink-soft, #3A3D42);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
    border-radius: var(--r-lg, 12px);
    cursor: pointer;
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.85rem;
}

body.page-parent-assessments .nav-item:hover,
body.page-parent-assessments .nav-item.active {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
}

body.page-parent-assessments .nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}


body.page-parent-assessments .main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
}

body.page-parent-assessments .header {
    margin-bottom: 32px;
}

body.page-parent-assessments .page-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 8px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments .page-subtitle {
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    font-family: var(--sans, 'Inter', sans-serif);
}


body.page-parent-assessments .upcoming-exam-alert {
    background: var(--warn-bg, #FAF1DD);
    border: 1px solid var(--warn, #C28B2C);
    border-radius: var(--r-lg, 12px);
    margin-bottom: 32px;
    overflow: hidden;
}

body.page-parent-assessments .exam-alert-content {
    padding: 20px 24px;
}

body.page-parent-assessments .exam-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

body.page-parent-assessments .exam-title-section {
    flex: 1;
}

body.page-parent-assessments .alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-500, #D97757);
    color: white;
    padding: 4px 10px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .exam-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 8px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments .exam-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--ink-muted, #797E85);
    flex-wrap: wrap;
}

body.page-parent-assessments .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.page-parent-assessments .meta-item i {
    color: var(--accent-500, #D97757);
    font-size: 0.75rem;
}

body.page-parent-assessments .countdown-display {
    color: var(--error, #B14538);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--error, #B14538);
    padding: 6px 12px;
    border-radius: var(--r-full, 9999px);
    white-space: nowrap;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .chapters-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-assessments .section-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-muted, #797E85);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .chapters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-parent-assessments .chapter-tag {
    background: var(--accent-100, #F5E6DF);
    border: 1px solid var(--accent-200, #ECCBBA);
    border-radius: var(--r-full, 9999px);
    padding: 4px 12px;
    font-size: 0.7rem;
    color: var(--accent-700, #B85C3A);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--t-fast, 120ms) var(--ease-out);
    font-weight: 500;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-assessments .chapter-tag:hover {
    background: var(--accent-200, #ECCBBA);
    border-color: var(--accent-500, #D97757);
}

body.page-parent-assessments .ended-tests-section {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    overflow: hidden;
}

body.page-parent-assessments .section-header {
    background: var(--accent-100, #F5E6DF);
    padding: 16px 24px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.page-parent-assessments .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments .section-title i {
    color: var(--success, #1E7A4D);
}

body.page-parent-assessments .test-count-badge {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
    padding: 4px 12px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .tests-table {
    width: 100%;
    border-collapse: collapse;
}

body.page-parent-assessments .tests-table th {
    background: rgba(248, 250, 252, 0.6);
    color: var(--ink-muted, #797E85);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .tests-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    font-family: var(--sans, 'Inter', sans-serif);
}


body.page-parent-assessments .test-name-link {
    color: var(--accent-500, #D97757);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-assessments .test-name-link:hover {
    color: var(--accent-700, #B85C3A);
    text-decoration: underline;
}


body.page-parent-assessments .mode-badge {
    padding: 4px 10px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .mode-online {
    background: var(--info-bg, #E5EBFB);
    color: var(--info, #3057E1);
}

body.page-parent-assessments .mode-offline {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
}

body.page-parent-assessments .marks-high {
    color: var(--success, #1E7A4D);
    font-weight: 600;
}

body.page-parent-assessments .marks-medium {
    color: var(--warn, #C28B2C);
    font-weight: 600;
}

body.page-parent-assessments .marks-low {
    color: var(--error, #B14538);
    font-weight: 600;
}


body.page-parent-assessments .preview-btn {
    background: var(--accent-500, #D97757);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-assessments .preview-btn:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-1px);
}

body.page-parent-assessments .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--ink-muted, #797E85);
}

body.page-parent-assessments .empty-state i {
    font-size: 2.5rem;
    color: var(--ink-faint, #B5B9BF);
    margin-bottom: 16px;
}

body.page-parent-assessments .empty-state h3 {
    font-size: 1rem;
    color: var(--ink-soft, #3A3D42);
    margin-bottom: 8px;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments .empty-state p {
    font-size: 0.8rem;
    line-height: 1.5;
}


body.page-parent-assessments .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.page-parent-assessments .modal-container {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-assessments .modal-header {
    padding: 20px 24px;
    background: var(--accent-500, #D97757);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-parent-assessments .modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out);
    color: white;
    font-size: 1rem;
}

body.page-parent-assessments .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

body.page-parent-assessments .modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}


body.page-parent-assessments .score-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

body.page-parent-assessments .score-circle.small {
    width: 180px;
    height: 180px;
}

body.page-parent-assessments .score-circle svg {
    width: 100%;
    height: 100%;
}

body.page-parent-assessments .score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

body.page-parent-assessments #scorePercentage {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-assessments #scoreMarks {
    font-size: 0.75rem;
    color: var(--ink-muted, #797E85);
}


body.page-parent-assessments .result-card {
    background: var(--bg-elev, #F8F5EE);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    padding: 20px;
}

body.page-parent-assessments .result-card h4 {
    margin: 0 0 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted, #797E85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

body.page-parent-assessments .taxonomy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.page-parent-assessments .taxonomy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-md, 6px);
    border-left: 3px solid var(--accent-500, #D97757);
}

body.page-parent-assessments .taxonomy-name {
    font-weight: 500;
    color: var(--ink, #0F0F11);
    font-size: 0.85rem;
}

body.page-parent-assessments .taxonomy-score {
    font-weight: 700;
    color: var(--accent-500, #D97757);
    font-size: 0.9rem;
}


body.page-parent-assessments .question-sections {
    margin-bottom: 24px;
}

body.page-parent-assessments .section-card {
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    margin-bottom: 16px;
    overflow: hidden;
}

body.page-parent-assessments .section-header {
    background: var(--accent-100, #F5E6DF);
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body.page-parent-assessments .section-title {
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.page-parent-assessments .question-numbers {
    display: flex;
    gap: 8px;
    padding: 16px;
    flex-wrap: wrap;
}

body.page-parent-assessments .question-number {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--t-fast, 120ms) var(--ease-out);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-assessments .question-number.correct {
    background: var(--success-bg, #DEF1E5);
    color: var(--success, #1E7A4D);
    border: 1px solid var(--success, #1E7A4D);
}

body.page-parent-assessments .question-number.partial {
    background: var(--warn-bg, #FAF1DD);
    color: var(--warn, #C28B2C);
    border: 1px solid var(--warn, #C28B2C);
}

body.page-parent-assessments .question-number.incorrect {
    background: var(--error-bg, #F8E5E2);
    color: var(--error, #B14538);
    border: 1px solid var(--error, #B14538);
}

body.page-parent-assessments .question-number:hover {
    transform: scale(1.05);
}


@media (max-width: 1024px) {
    body.page-parent-assessments .container {
        flex-direction: column;
    }
    
    body.page-parent-assessments .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        position: static;
    }
    
    body.page-parent-assessments .sidebar .nav-section {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    
    body.page-parent-assessments .nav-section h3 {
        width: 100%;
    }
    
    body.page-parent-assessments .nav-item {
        display: inline-block;
       
    }
    
    body.page-parent-assessments .ended-tests-section {
        overflow-x: auto;
    }
    
    body.page-parent-assessments .tests-table {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    body.page-parent-assessments .container {
        padding: 16px;
    }
    
    body.page-parent-assessments .back-btn {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }
    
    body.page-parent-assessments .page-title {
        font-size: 1.2rem;
    }
    
    body.page-parent-assessments .exam-header-row {
        flex-direction: column;
    }
    
    body.page-parent-assessments .countdown-section {
        text-align: left;
        margin-left: 0;
    }
    
    body.page-parent-assessments .results-grid {
        grid-template-columns: 1fr;
    }
    
    body.page-parent-assessments .modal-container {
        width: 95%;
    }
    
    body.page-parent-assessments .modal-header h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    body.page-parent-assessments .page-title {
        font-size: 1rem;
    }
    
    body.page-parent-assessments .page-subtitle {
        font-size: 0.7rem;
    }
    
    body.page-parent-assessments .exam-title {
        font-size: 0.9rem;
    }
    
    body.page-parent-assessments .exam-meta {
        flex-direction: column;
        gap: 6px;
    }
    
    body.page-parent-assessments .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    body.page-parent-assessments .tests-table th,
    body.page-parent-assessments .tests-table td {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
}


body.page-parent-assessments .skeleton-line {
    background: linear-gradient(90deg, var(--bg-tint, #F2EDE2) 25%, var(--hairline, #EDEEF0) 50%, var(--bg-tint, #F2EDE2) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--r-md, 6px);
    height: 12px;
    margin-bottom: 10px;
}

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

body.page-parent-assessments #scoreProgress{
	
	    stroke: var(--accent-500, #D97757) !important;
 
}

body.page-parent-timetable {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-timetable,
body.page-parent-timetable .main-container,
body.page-parent-timetable .content-area,
body.page-parent-timetable .sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-timetable::-webkit-scrollbar,
body.page-parent-timetable .main-container::-webkit-scrollbar,
body.page-parent-timetable .content-area::-webkit-scrollbar,
body.page-parent-timetable .sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}


body.page-parent-timetable .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-timetable .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-timetable .main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

body.page-parent-timetable .main-container.timetable-view {
    display: block;
}

body.page-parent-timetable .main-container.calendar-view {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}


body.page-parent-timetable .content-area {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    overflow: hidden;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .content-header {
    padding: 16px 20px;
    background: var(--bg-surface, #FCFAF3);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}


body.page-parent-timetable .view-toggle {
    display: flex;
    background: var(--bg-tint, #F2EDE2);
    border-radius: var(--r-full, 9999px);
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .toggle-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft, #3A3D42);
    border-radius: var(--r-full, 9999px);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-timetable .toggle-btn.active {
    background: var(--accent-500, #D97757);
    color: white;
}

body.page-parent-timetable .toggle-btn:hover:not(.active) {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
}

body.page-parent-timetable .toggle-btn i {
    margin-right: 6px;
}

body.page-parent-timetable .header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-parent-timetable .week-navigation-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-parent-timetable .current-week-header {
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-size: 0.9rem;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-timetable .week-nav-btn,
body.page-parent-timetable .calendar-icon-btn {
    background: var(--bg-surface, #FCFAF3);
    color: var(--ink-soft, #3A3D42);
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-parent-timetable .week-nav-btn:hover,
body.page-parent-timetable .calendar-icon-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    border-color: var(--accent-300, #E2AE93);
    transform: translateY(-2px);
}

body.page-parent-timetable .timetable-container {
    padding: 20px;
    display: none;
}

body.page-parent-timetable .timetable-container.active {
    display: block;
}

body.page-parent-timetable .timetable-grid {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .timetable-header {
    display: grid;
    grid-template-columns: 120px repeat(6, 1fr);
    background: var(--accent-100, #F5E6DF);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .header-cell {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--ink, #0F0F11);
    border-right: 1px solid var(--hairline, #EDEEF0);
    font-family: var(--mono, 'JetBrains Mono', monospace);
    letter-spacing: 0.05em;
}

body.page-parent-timetable .date-info {
    font-size: 0.65rem;
    color: var(--ink-muted, #797E85);
    margin-top: 2px;
    font-weight: 400;
}

body.page-parent-timetable .timetable-row {
    display: grid;
    grid-template-columns: 120px repeat(6, 1fr);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .time-cell {
    padding: 12px 8px;
    background: var(--bg-tint, #F2EDE2);
    border-right: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.page-parent-timetable .period-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
}

body.page-parent-timetable .time-range {
    font-size: 0.65rem;
    color: var(--ink-muted, #797E85);
}

body.page-parent-timetable .subject-cell {
    padding: 8px;
    border-right: 1px solid var(--hairline, #EDEEF0);
    text-align: center;
    transition: all var(--t-fast, 120ms) var(--ease-out);
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.page-parent-timetable .subject-cell.has-class {
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.08), rgba(217, 119, 87, 0.04));
}


body.page-parent-timetable .class-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-500, #D97757);
}

body.page-parent-timetable .subject-name {
    font-size: 0.65rem;
    color: var(--ink-soft, #3A3D42);
    margin-top: 2px;
}

body.page-parent-timetable .empty-cell {
    color: var(--ink-muted, #797E85);
    font-style: italic;
    font-size: 0.7rem;
}

body.page-parent-timetable .calendar-container {
    padding: 20px;
    display: none;
}

body.page-parent-timetable .calendar-container.active {
    display: block;
}

body.page-parent-timetable .calendar-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

body.page-parent-timetable .filter-select {
    padding: 8px 16px;
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-full, 9999px);
    background: var(--bg-surface, #FCFAF3);
    font-size: 0.8rem;
    color: var(--ink, #0F0F11);
    font-family: var(--sans, 'Inter', sans-serif);
    cursor: pointer;
}

body.page-parent-timetable .filter-select:focus {
    outline: none;
    border-color: var(--accent-500, #D97757);
}

body.page-parent-timetable .event-legends {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

body.page-parent-timetable .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-timetable .legend-color {
    width: 12px;
    height: 12px;
    border-radius: var(--r-sm, 4px);
}

body.page-parent-timetable .legend-color.deadline { background: #FEF3C7; }
body.page-parent-timetable .legend-color.lecture { background: #DBEAFE; }
body.page-parent-timetable .legend-color.lab { background: #D1FAE5; }
body.page-parent-timetable .legend-color.exam { background: #FEE2E2; }
body.page-parent-timetable .legend-color.meeting { background: #E0E7FF; }
body.page-parent-timetable .legend-color.session { background: #E0E7FF; }

body.page-parent-timetable .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--hairline, #EDEEF0);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    overflow: hidden;
}

body.page-parent-timetable .calendar-day-header {
    background: var(--accent-100, #F5E6DF);
    color: var(--ink, #0F0F11);
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.7rem;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    letter-spacing: 0.05em;
}

body.page-parent-timetable .calendar-day {
    background: var(--bg-surface, #FCFAF3);
    min-height: 120px;
    padding: 8px;
    transition: background-color var(--t-fast, 120ms) var(--ease-out);
}


body.page-parent-timetable .calendar-day.other-month {
    background: var(--bg-tint, #F2EDE2);
}

body.page-parent-timetable .calendar-day.today {
    background: rgba(217, 119, 87, 0.08);
    border: 2px solid var(--accent-500, #D97757);
}

body.page-parent-timetable .day-number {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.8rem;
    color: var(--ink, #0F0F11);
}

body.page-parent-timetable .calendar-event {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
    padding: 2px 6px;
    margin-bottom: 2px;
    border-radius: var(--r-sm, 4px);
    font-size: 0.65rem;
    cursor: pointer;
    transition: all var(--t-fast, 120ms) var(--ease-out);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

body.page-parent-timetable .calendar-event.deadline { background: #FEF3C7; color: #92400E; }
body.page-parent-timetable .calendar-event.lecture { background: #DBEAFE; color: #1E40AF; }
body.page-parent-timetable .calendar-event.lab { background: #D1FAE5; color: #065F46; }
body.page-parent-timetable .calendar-event.exam { background: #FEE2E2; color: #991B1B; }

body.page-parent-timetable .calendar-event:hover {
    transform: translateX(2px);
    filter: brightness(0.95);
}


body.page-parent-timetable .sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.page-parent-timetable .sidebar-card {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    overflow: hidden;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .sidebar-card-header {
    padding: 16px;
    background: var(--accent-100, #F5E6DF);
    border-bottom: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .sidebar-card-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-timetable .sidebar-card-body {
    padding: 16px;
}

body.page-parent-timetable .upcoming-event {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .upcoming-event:last-child {
    border-bottom: none;
}

body.page-parent-timetable .event-date {
    width: 40px;
    height: 40px;
    background: var(--bg-tint, #F2EDE2);
    border-radius: var(--r-lg, 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .event-date.exam {
    background: #FEE2E2;
    border-color: #FECACA;
}

body.page-parent-timetable .event-date .day {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink, #0F0F11);
}

body.page-parent-timetable .event-date .month {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--ink-muted, #797E85);
}

body.page-parent-timetable .event-details h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 2px;
}

body.page-parent-timetable .event-details p {
    font-size: 0.7rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-timetable .event-time {
    color: var(--accent-500, #D97757);
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 2px;
}


body.page-parent-timetable .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

body.page-parent-timetable .modal-content {
    background: var(--bg-surface, #FCFAF3);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--r-xl, 16px);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .modal-header {
    background: var(--accent-500, #D97757);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
}

body.page-parent-timetable .modal-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-timetable .close {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-timetable .close:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

body.page-parent-timetable .modal-body {
    padding: 24px;
}

body.page-parent-timetable .event-detail {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    border-left: 4px solid var(--accent-500, #D97757);
}

body.page-parent-timetable .event-detail h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 8px;
}

body.page-parent-timetable .event-detail p {
    font-size: 0.8rem;
    color: var(--ink-soft, #3A3D42);
    margin-bottom: 4px;
}

body.page-parent-timetable .month-picker-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

body.page-parent-timetable .month-picker-content {
    background: var(--bg-surface, #FCFAF3);
    margin: 10% auto;
    padding: 0;
    border-radius: var(--r-xl, 16px);
    width: 400px;
    max-width: 90vw;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    overflow: hidden;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-timetable .month-picker-header {
    background: var(--accent-500, #D97757);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-parent-timetable .month-picker-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-timetable .year-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-parent-timetable .year-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-timetable .year-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

body.page-parent-timetable .current-year {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

body.page-parent-timetable .months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hairline, #EDEEF0);
    padding: 20px;
}

body.page-parent-timetable .month-item {
    background: var(--bg-surface, #FCFAF3);
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
}

body.page-parent-timetable .month-item:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
}

body.page-parent-timetable .month-item.current {
    background: var(--accent-500, #D97757);
    color: white;
}

body.page-parent-timetable .close-month-picker {
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-timetable .close-month-picker:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    body.page-parent-timetable .main-container.calendar-view {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.page-parent-timetable .sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    body.page-parent-timetable .timetable-header,
    body.page-parent-timetable .timetable-row {
        grid-template-columns: 100px repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    body.page-parent-timetable .main-container {
        padding: 16px;
    }
    
    body.page-parent-timetable .back-btn {
        top: 10px;
        left: 10px;
        width: 34px;
        height: 34px;
    }
    
    body.page-parent-timetable .content-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    body.page-parent-timetable .view-toggle {
        justify-content: center;
    }
    
    body.page-parent-timetable .timetable-container {
        overflow-x: auto;
    }
    
    body.page-parent-timetable .timetable-grid {
        min-width: 700px;
    }
    
    body.page-parent-timetable .calendar-container {
        overflow-x: auto;
    }
    
    body.page-parent-timetable .calendar-grid {
        min-width: 650px;
    }
    
    body.page-parent-timetable .calendar-day {
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    body.page-parent-timetable .back-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    body.page-parent-timetable .toggle-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    body.page-parent-timetable .current-week-header {
        font-size: 0.75rem;
    }
    
    body.page-parent-timetable .week-nav-btn,
    body.page-parent-timetable .calendar-icon-btn {
        width: 28px;
        height: 28px;
    }
    
    body.page-parent-timetable .calendar-day {
        min-height: 80px;
        padding: 6px;
    }
    
    body.page-parent-timetable .calendar-event {
        font-size: 0.55rem;
        padding: 1px 4px;
    }
    
    body.page-parent-timetable .day-number {
        font-size: 0.7rem;
    }
}

body.page-parent-timetable .export-dropdown {
    position: relative;
}

body.page-parent-timetable .export-btn {
    background: var(--accent-500, #D97757);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--r-full, 9999px);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
    display: flex;
    align-items: center;
    gap: 6px;
}

body.page-parent-timetable .export-btn:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-1px);
}

body.page-parent-timetable .export-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-surface, #FCFAF3);
    min-width: 180px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-radius: var(--r-lg, 12px);
    border: 1px solid var(--hairline, #EDEEF0);
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
}

body.page-parent-timetable .export-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--ink, #0F0F11);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-timetable .export-menu a:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
}

body.page-parent-timetable .export-menu a i {
    margin-right: 8px;
    width: 16px;
}

body.page-parent-insights {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-insights,
body.page-parent-insights .main-content,
body.page-parent-insights .container,
body.page-parent-insights .drawer-root {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-insights::-webkit-scrollbar,
body.page-parent-insights .main-content::-webkit-scrollbar,
body.page-parent-insights .container::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-insights .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-insights .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-insights .main-content {
    flex: 1;
    padding: 10px;
    margin-top: 10px;
}

body.page-parent-insights .container {
    max-width: 1300px;
    margin: 0 auto;
}

body.page-parent-insights .glass-nav {
    margin-bottom: 5px;
    padding: 3px;
    border-radius: var(--r-lg, 12px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

body.page-parent-insights .glass-nav h1 {
    color: var(--ink, #0F0F11);
    font-size: 2rem;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-insights .glass-nav p {
    color: var(--ink-soft, #3A3D42);
    font-size: 0.9rem;
    margin-top: 2px;
}

body.page-parent-insights .insight-card {
    border-radius: var(--r-xl, 16px);
    padding: 25px;
    transition: all var(--t-slow, 380ms) var(--ease-out);
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    margin-bottom: 10px;
}

body.page-parent-insights .insight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-200, #ECCBBA);
}

body.page-parent-insights .insight-card h2 {
    color: var(--ink, #0F0F11);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-insights .insight-card > p {
    color: var(--ink-soft, #3A3D42);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

body.page-parent-insights .progress-card {
    background: var(--bg-elev, #F8F5EE);
    border-radius: var(--r-lg, 12px);
    padding: 20px;
    text-align: center;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-insights .progress-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-insights .circular-progress {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-parent-insights .progress-value {
    color: var(--accent-500, #D97757);
    position: absolute;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-insights .progress-detail {
    margin-top: 12px;
    color: var(--ink-soft, #3A3D42);
    font-size: 0.75rem;
    text-align: center;
}

body.page-parent-insights .progress-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
}

body.page-parent-insights .charts-medium {
    background: var(--bg-elev, #F8F5EE);
    border-radius: var(--r-lg, 12px);
    padding: 20px;
    margin-top: 10px;
}

body.page-parent-insights .subject-score {
    color: var(--ink-soft, #3A3D42);
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

body.page-parent-insights .subject-score span {
    color: var(--accent-500, #D97757);
    font-weight: 600;
}

body.page-parent-insights .chart-container {
    height: 300px;
    margin-top: 5px;
    border-radius: var(--r-lg, 12px);
    padding: 10px;
    background: var(--bg-elev, #F8F5EE);
}


body.page-parent-insights .prediction-card {
    background: var(--bg-elev, #F8F5EE);
    border-radius: var(--r-lg, 12px);
    padding: 20px;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-insights .prediction-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-insights .prediction-card h2 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--ink-muted, #797E85);
    font-family: var(--mono, 'JetBrains Mono', monospace);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-parent-insights .prediction-value {
    font-size: 1.3rem;
    color: var(--accent-500, #D97757);
    font-weight: 600;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-insights .trend-positive {
    color: var(--success, #1E7A4D);
    margin: 8px 0;
    font-size: 0.75rem;
}

body.page-parent-insights .assignment-heatmap {
    padding: 20px;
    background: var(--bg-elev, #F8F5EE);
    border-radius: var(--r-lg, 12px);
}

body.page-parent-insights .heatmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 15px;
}

body.page-parent-insights .heatmap-summary {
    font-size: 0.8rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-insights .day-cell {
    width: 12px;
    height: 12px;
    border-radius: var(--r-sm, 4px);
    border: 1px solid rgba(217, 119, 87, 0.2);
    cursor: pointer;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-insights .day-cell.level-0 {
    background-color: var(--bg-tint, #F2EDE2);
}

body.page-parent-insights .day-cell.level-1 {
    background-color: #FFCC80;
}

body.page-parent-insights .day-cell.level-2 {
    background-color: #FF8A65;
}

body.page-parent-insights .day-cell.level-3 {
    background-color: var(--accent-500, #D97757);
}

body.page-parent-insights .day-cell:hover:not(.empty) {
    border-color: var(--accent-500, #D97757);
    transform: scale(1.2);
}


body.page-parent-insights .legend-color {
    width: 14px;
    height: 14px;
    border-radius: var(--r-sm, 4px);
    margin-right: 5px;
}

body.page-parent-insights .legend-color.level-0 { background-color: var(--bg-tint, #F2EDE2); }
body.page-parent-insights .legend-color.level-1 { background-color: #FFCC80; }
body.page-parent-insights .legend-color.level-2 { background-color: #FF8A65; }
body.page-parent-insights .legend-color.level-3 { background-color: var(--accent-500, #D97757); }

body.page-parent-insights .legend-text {
    font-size: 0.7rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-insights .subjects-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 10px;
}

body.page-parent-insights .subject-tag {
    background: rgba(217, 119, 87, 0.05);
    color: var(--ink, #0F0F11);
    padding: 8px 18px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-insights .subject-tag:hover,
body.page-parent-insights .subject-tag.active {
    background: var(--accent-500, #D97757);
    color: white;
    border-color: var(--accent-500, #D97757);
    transform: translateY(-2px);
}

body.page-parent-insights .projects-container {
    background: var(--bg-elev, #F8F5EE);
    border-radius: var(--r-lg, 12px);
    padding: 15px;
}

body.page-parent-insights .projects-container h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 12px;
}

body.page-parent-insights .project-item {
    background: var(--bg-surface, #FCFAF3);
    padding: 12px;
    border-radius: var(--r-md, 6px);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--hairline, #EDEEF0);
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-insights .project-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-insights .project-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    cursor: pointer;
}

body.page-parent-insights .project-score {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-500, #D97757);
}


body.page-parent-insights .blooms-card {
    margin-top: 20px;
    position: relative;
    padding: 25px 30px;
  
    border-radius: var(--r-xl, 16px);
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-insights .blooms-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 5px;
}

body.page-parent-insights .bloom-grid-item {
    position: relative;
    overflow: hidden;
    border-left: 3px solid var(--accent-500, #D97757);
    padding: 12px;
    border-radius: var(--r-lg, 12px);
    background: var(--bg-surface, #FCFAF3);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-insights .bloom-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}


body.page-parent-insights button {
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--r-full, 9999px);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-insights button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-insights .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

body.page-parent-insights .modal-content {
    background: var(--bg-surface, #FCFAF3);
    margin: 2% auto;
    padding: 0;
    border-radius: var(--r-xl, 16px);
    width: 94%;
    max-width: 1100px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-insights .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent-100, #F5E6DF);
    border-radius: var(--r-xl, 16px) var(--r-xl, 16px) 0 0;
}

body.page-parent-insights .modal-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-insights .close-modal {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink-muted, #797E85);
    cursor: pointer;
    transition: color var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-insights .close-modal:hover {
    color: var(--accent-500, #D97757);
}

body.page-parent-insights .vertical-bars-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 15px;
    padding: 20px;
    min-height: 270px;
    background: var(--bg-elev, #F8F5EE);
    border-radius: var(--r-lg, 12px);
}

body.page-parent-insights .vertical-bar-track {
    width: 100%;
    height: 270px;
    background: var(--bg-tint, #F2EDE2);
    border-radius: var(--r-md, 6px);
    position: relative;
    overflow: hidden;
}

body.page-parent-insights .vertical-bar-fill {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--accent-500, #D97757);
    transition: height var(--t-slow, 380ms) var(--ease-out);
}

body.page-parent-insights .topic-name-vertical {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.7rem;
    color: var(--ink, #0F0F11);
    font-weight: 500;
}

body.page-parent-insights .topic-score-vertical {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-500, #D97757);
}


@media (max-width: 1024px) {
    body.page-parent-insights .insights-main-grid {
     
        gap: 20px;
    }
    
    body.page-parent-insights .insights-secondary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.page-parent-insights .blooms-card > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    body.page-parent-insights .glass-nav h1 {
        font-size: 1.3rem;
    }
    
    body.page-parent-insights .glass-nav p {
        font-size: 0.75rem;
        display: none;
    }
    
    body.page-parent-insights .heading-flex {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    body.page-parent-insights .progress-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    body.page-parent-insights .prediction-grid {
        grid-template-columns: 1fr;
    }
    
    body.page-parent-insights .heatmap-container {
        overflow-x: auto;
    }
    
    body.page-parent-insights .calendar-container {
        min-width: 550px;
    }
}

@media (max-width: 480px) {
    body.page-parent-insights .back-btn {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }
    
    body.page-parent-insights .glass-nav h1 {
        font-size: 1rem;
    }
    
    body.page-parent-insights .insight-card {
        padding: 15px;
    }
    
    body.page-parent-insights .insight-card h2 {
        font-size: 0.9rem;
    }
    
    body.page-parent-insights .circular-progress {
        width: 90px;
        height: 90px;
    }
    
    body.page-parent-insights .progress-value {
        font-size: 1rem;
    }
    
    body.page-parent-insights .subject-tag {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    body.page-parent-insights .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    body.page-parent-insights .bloom-grid-item span:first-child {
        font-size: 0.7rem;
    }
}

body.page-parent-meetings {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-meetings,
body.page-parent-meetings .container,
body.page-parent-meetings .meeting-card {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-meetings::-webkit-scrollbar,
body.page-parent-meetings .container::-webkit-scrollbar,
body.page-parent-meetings .meeting-card::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-meetings .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-meetings .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-meetings .container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 22px;
    min-height: 100vh;
}

body.page-parent-meetings .header {
    margin-bottom: 32px;
}

body.page-parent-meetings .page-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 8px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-meetings .page-subtitle {
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-meetings .meeting-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    overflow: hidden;
    margin-bottom: 32px;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-meetings .meeting-card:hover {
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-meetings .section-header {
    background: var(--accent-100, #F5E6DF);
    padding: 16px 24px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.page-parent-meetings .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-meetings .section-title i {
    color: var(--accent-500, #D97757);
}

body.page-parent-meetings .badge-count {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
    padding: 4px 12px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}


body.page-parent-meetings .meeting-table {
    width: 100%;
    border-collapse: collapse;
}

body.page-parent-meetings .meeting-table th {
    background: rgba(248, 250, 252, 0.8);
    color: var(--ink-muted, #797E85);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-meetings .meeting-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    font-family: var(--sans, 'Inter', sans-serif);
    vertical-align: middle;
}


body.page-parent-meetings .mode-badge {
    padding: 4px 12px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-meetings .mode-online {
    background: var(--info-bg, #E5EBFB);
    color: var(--info, #3057E1);
}

body.page-parent-meetings .mode-offline {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
}

body.page-parent-meetings .type-badge {
    padding: 4px 12px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--bg-tint, #F2EDE2);
    color: var(--ink, #0F0F11);
    text-transform: uppercase;
    display: inline-block;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-meetings .slot-btn {
    background: var(--accent-500, #D97757);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-meetings .slot-btn:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-meetings .teacher-name {
    font-weight: 600;
    color: var(--ink, #0F0F11);
}

body.page-parent-meetings .teacher-remark {
    font-size: 0.75rem;
    color: var(--ink-soft, #3A3D42);
    max-width: 250px;
    line-height: 1.4;
}

body.page-parent-meetings .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--ink-muted, #797E85);
}

body.page-parent-meetings .empty-state i {
    font-size: 2.5rem;
    color: var(--ink-faint, #B5B9BF);
    margin-bottom: 16px;
}

body.page-parent-meetings .empty-state h3 {
    font-size: 1rem;
    color: var(--ink-soft, #3A3D42);
    margin-bottom: 8px;
    font-weight: 500;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-meetings .empty-state p {
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    body.page-parent-meetings .meeting-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    body.page-parent-meetings .meeting-table {
        min-width: 800px;
    }
    
    body.page-parent-meetings .meeting-table th,
    body.page-parent-meetings .meeting-table td {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    body.page-parent-meetings .container {
        padding: 16px;
    }
    
    body.page-parent-meetings .page-title {
        font-size: 1.2rem;
    }
    
    body.page-parent-meetings .page-subtitle {
        font-size: 0.75rem;
    }
    
    body.page-parent-meetings .section-header {
        padding: 12px 16px;
    }
    
    body.page-parent-meetings .section-title {
        font-size: 0.9rem;
    }
    
    body.page-parent-meetings .meeting-table th,
    body.page-parent-meetings .meeting-table td {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    
    body.page-parent-meetings .slot-btn {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    body.page-parent-meetings .container {
        padding: 12px;
    }
    
    body.page-parent-meetings .page-title {
        font-size: 1rem;
    }
    
    body.page-parent-meetings .page-subtitle {
        font-size: 0.65rem;
    }
    
    body.page-parent-meetings .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    body.page-parent-meetings .meeting-table th,
    body.page-parent-meetings .meeting-table td {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
    
    body.page-parent-meetings .slot-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    body.page-parent-meetings .meeting-table th:nth-child(5),
    body.page-parent-meetings .meeting-table td:nth-child(5) {
        display: none;
    }
}

@media (max-width: 1024px) {
    body.page-parent-meetings .meeting-card::-webkit-scrollbar {
        height: 4px;
    }
    
    body.page-parent-meetings .meeting-card::-webkit-scrollbar-track {
        background: var(--bg-tint, #F2EDE2);
        border-radius: 4px;
    }
    
    body.page-parent-meetings .meeting-card::-webkit-scrollbar-thumb {
        background: var(--accent-500, #D97757);
        border-radius: 4px;
    }
}


@media (max-height: 550px) and (orientation: landscape) {
    body.page-parent-meetings .container {
        padding: 10px;
    }
    
    body.page-parent-meetings .header {
        margin-bottom: 15px;
    }
    
    body.page-parent-meetings .page-title {
        font-size: 1rem;
    }
    
    body.page-parent-meetings .meeting-table {
        min-width: 650px;
    }
    
    body.page-parent-meetings .meeting-table th,
    body.page-parent-meetings .meeting-table td {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

body.page-parent-help {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}


body.page-parent-help,
body.page-parent-help .page,
body.page-parent-help .feature-container,
body.page-parent-help .pills-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-help::-webkit-scrollbar,
body.page-parent-help .page::-webkit-scrollbar,
body.page-parent-help .feature-container::-webkit-scrollbar,
body.page-parent-help .pills-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}


body.page-parent-help .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-help .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-help .page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem 1.2rem 2rem;
}

body.page-parent-help .hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 1.5rem;
}

body.page-parent-help .hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

body.page-parent-help .hero-title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink, #0F0F11);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-help .hero-subtitle {
    font-size: 0.9rem;
    color: var(--ink-soft, #3A3D42);
    margin-bottom: 0.5rem;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-help .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 1rem;
}

body.page-parent-help .search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-full, 9999px);
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 0.1rem 1rem;
    transition: all var(--t-base, 220ms) var(--ease-out);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-help .search-wrapper:focus-within {
    border-color: var(--accent-500, #D97757);
    box-shadow: var(--shadow-glow, 0 0 0 4px rgba(217,119,87,.18));
}

body.page-parent-help .search-icon {
    color: var(--ink-muted, #797E85);
    font-size: 0.9rem;
}

body.page-parent-help .search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    color: var(--ink, #0F0F11);
    outline: none;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-help .search-input::placeholder {
    color: var(--ink-muted, #797E85);
}

body.page-parent-help .mic-btn {
    background: var(--accent-500, #D97757);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    flex-shrink: 0;
}

body.page-parent-help .mic-btn:hover {
    background: var(--accent-700, #B85C3A);
    transform: scale(1.05);
}

body.page-parent-help .mic-btn.listening {
    background: var(--error, #B14538);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(177, 69, 56, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(177, 69, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(177, 69, 56, 0); }
}


body.page-parent-help .thinking-indicator {
    display: none;
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-help .thinking-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

body.page-parent-help .thinking-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-500, #D97757);
    animation: bounce 1.4s infinite ease-in-out;
}

body.page-parent-help .thinking-dot:nth-child(1) { animation-delay: -0.32s; }
body.page-parent-help .thinking-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}


body.page-parent-help .ai-response {
    display: none;
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-help .ai-response-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

body.page-parent-help .ai-response-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-500, #D97757);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

body.page-parent-help .ai-response-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-help .ai-response-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-help .ai-feature-suggestion {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--accent-100, #F5E6DF);
    border-radius: var(--r-lg, 12px);
    border: 1px solid var(--accent-200, #ECCBBA);
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-help .ai-feature-suggestion:hover {
    background: var(--accent-200, #ECCBBA);
    transform: translateX(4px);
}

body.page-parent-help .ai-feature-title {
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.page-parent-help .ai-feature-desc {
    font-size: 0.8rem;
    color: var(--ink-soft, #3A3D42);
}


body.page-parent-help .feature-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    margin: 1rem 0;
    align-items: start;
}

/* @media (max-width: 900px) {
    body.page-parent-help .feature-container {
        grid-template-columns: 1fr;
    }
} */


body.page-parent-help .pills-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--r-lg, 12px);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.page-parent-help .pills-sidebar .pills-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(217, 119, 87, 0.2);
    color: var(--ink, #0F0F11);
    font-family: var(--mono, 'JetBrains Mono', monospace);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-parent-help .hero-pills {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

body.page-parent-help .pill {
    padding: 0.6rem 1rem;
    border-radius: var(--r-lg, 12px);
    border: 1px solid var(--hairline, #EDEEF0);
    background: var(--bg-surface, #FCFAF3);
    color: var(--ink-soft, #3A3D42);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    justify-content: flex-start;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-help .pill:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-help .pill.active {
    border-color: var(--accent-500, #D97757);
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
}

body.page-parent-help .pill-icon {
    font-size: 1rem;
    width: 24px;
}


body.page-parent-help .section {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 2rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

body.page-parent-help .section-inner {
    position: relative;
    z-index: 1;
}

body.page-parent-help .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

body.page-parent-help .section-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-lg, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

body.page-parent-help .section-title-container {
    flex: 1;
}

body.page-parent-help .section-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-500, #D97757);
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-help .section-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-help .section-subtitle {
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    max-width: 720px;
    line-height: 1.6;
}

body.page-parent-help .section-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
}

/* @media (max-width: 900px) {
    body.page-parent-help .section-grid {
        grid-template-columns: 1fr;
    }
} */

body.page-parent-help .points-list {
    display: grid;
    gap: 1rem;
}

body.page-parent-help .point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--accent-100, #F5E6DF);
    border-radius: var(--r-lg, 12px);
    border: 1px solid var(--accent-200, #ECCBBA);
    transition: all var(--t-base, 220ms) var(--ease-out);
}


body.page-parent-help .point-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-500, #D97757);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-help .point-content {
    flex: 1;
}

body.page-parent-help .point-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--ink, #0F0F11);
    font-size: 0.9rem;
}

body.page-parent-help .point-sub {
    color: var(--ink-soft, #3A3D42);
    font-size: 0.8rem;
    line-height: 1.5;
}

body.page-parent-help .video-block {
    font-size: 0.9rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-help .video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

body.page-parent-help .video-label {
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-size: 0.9rem;
}

body.page-parent-help .video-tag {
    padding: 0.3rem 1rem;
    border-radius: var(--r-full, 9999px);
    border: 1px solid var(--hairline, #EDEEF0);
    background: var(--bg-tint, #F2EDE2);
    font-size: 0.7rem;
    font-weight: 500;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-help .video-player-container {
    position: relative;
    border-radius: var(--r-lg, 12px);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    margin-bottom: 1rem;
}

body.page-parent-help .video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--r-lg, 12px);
    max-height: 500px;
    object-fit: contain;
}

body.page-parent-help .video-note {
    font-size: 0.75rem;
    color: var(--ink-muted, #797E85);
    line-height: 1.5;
}

body.page-parent-help .contact-prompt {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--accent-100, #F5E6DF);
    border-radius: var(--r-lg, 12px);
    border: 1px solid var(--accent-200, #ECCBBA);
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink, #0F0F11);
}

body.page-parent-help .contact-toggle-btn {
    background: none;
    border: none;
    color: var(--accent-500, #D97757);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    margin: 0 0.25rem;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-help .contact-toggle-btn:hover {
    color: var(--accent-700, #B85C3A);
}

body.page-parent-help .contact-section {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    border-radius: var(--r-xl, 16px);
    color: white;
    position: relative;
    overflow: hidden;
    display: none;
}

body.page-parent-help .contact-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-help .contact-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

body.page-parent-help .contact-form {
    position: relative;
    z-index: 1;
}

body.page-parent-help .form-group {
    margin-bottom: 1.5rem;
}

body.page-parent-help .form-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 500;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    letter-spacing: 0.05em;
}

body.page-parent-help .form-group input,
body.page-parent-help .form-group textarea,
body.page-parent-help .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-lg, 12px);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-help .form-group input:focus,
body.page-parent-help .form-group textarea:focus,
body.page-parent-help .form-group select:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

body.page-parent-help .form-group input::placeholder,
body.page-parent-help .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

body.page-parent-help .form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

body.page-parent-help .form-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--r-full, 9999px);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-help .submit-btn {
    background: white;
    color: var(--accent-500, #D97757);
}

body.page-parent-help .submit-btn:hover {
    background: var(--bg-tint, #F2EDE2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-help .cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.page-parent-help .cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}


body.page-parent-help .feature-icon-dashboard { background: #8B5CF6; }
body.page-parent-help .feature-icon-attendance { background: #10B981; }
body.page-parent-help .feature-icon-assignments { background: #EF4444; }
body.page-parent-help .feature-icon-exams { background: #EC4899; }
body.page-parent-help .feature-icon-reports { background: #06B6D4; }
body.page-parent-help .feature-icon-timetable { background: #14B8A6; }
body.page-parent-help .feature-icon-insights { background: #F59E0B; }
body.page-parent-help .feature-icon-chat { background: #3B82F6; }


@media (max-width: 768px) {
    body.page-parent-help .page {
        padding: 1rem;
    }
    
    body.page-parent-help .back-btn {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 15px;
    }
    
    body.page-parent-help .hero-title {
        font-size: 1.3rem;
    }
    
    body.page-parent-help .hero-subtitle {
        font-size: 0.8rem;
    }
    
    body.page-parent-help .section {
        padding: 1.5rem;
    }
    
    body.page-parent-help .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    body.page-parent-help .section-title {
        font-size: 1.1rem;
    }
    
    body.page-parent-help .pills-sidebar {
        position: static;
        margin-bottom: 1rem;
    }
    
    body.page-parent-help .hero-pills {
        flex-direction: column;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    body.page-parent-help .pill {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    body.page-parent-help .video-player {
        max-height: 250px;
    }
    
    body.page-parent-help .form-buttons {
        flex-direction: column;
    }
    
    body.page-parent-help .form-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body.page-parent-help .hero-title {
        font-size: 1.1rem;
    }
    
    body.page-parent-help .hero-subtitle {
        font-size: 0.75rem;
    }
    
    body.page-parent-help .section {
        padding: 1rem;
    }
    
    body.page-parent-help .section-title {
        font-size: 1rem;
    }
    
    body.page-parent-help .point {
        padding: 0.75rem;
    }
    
    body.page-parent-help .point-label {
        font-size: 0.8rem;
    }
    
    body.page-parent-help .point-sub {
        font-size: 0.7rem;
    }
    
    body.page-parent-help .video-player {
        max-height: 180px;
    }
    
    body.page-parent-help .contact-title {
        font-size: 1.1rem;
    }
}

body.page-parent-reports {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}

body.page-parent-reports,
body.page-parent-reports .container,
body.page-parent-reports .sidebar,
body.page-parent-reports .main-content,
body.page-parent-reports .content-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-reports::-webkit-scrollbar,
body.page-parent-reports .container::-webkit-scrollbar,
body.page-parent-reports .sidebar::-webkit-scrollbar,
body.page-parent-reports .main-content::-webkit-scrollbar,
body.page-parent-reports .content-container::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}


body.page-parent-reports .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-reports .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}


body.page-parent-reports .container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 22px;
    display: flex;
    min-height: 100vh;
}


body.page-parent-reports .sidebar {
    width: 300px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--r-lg, 12px);
    padding: 20px 0;
    margin-right: 22px;
    height: fit-content;
    position: sticky;
    top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.page-parent-reports .sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

body.page-parent-reports .sidebar-title {
    color: var(--accent-500, #D97757);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-reports .sidebar-description {
    font-size: 0.75rem;
    color: var(--ink-soft, #3A3D42);
    line-height: 1.4;
    font-family: var(--sans, 'Inter', sans-serif);
}


body.page-parent-reports .view-selector {
    padding: 0 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

body.page-parent-reports .view-selector-label {
    font-size: 0.65rem;
    color: var(--ink-muted, #797E85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-weight: 600;
}

body.page-parent-reports .view-buttons {
    display: flex;
    gap: 8px;
}

body.page-parent-reports .view-btn {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-md, 6px);
    color: var(--ink-soft, #3A3D42);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-family: var(--sans, 'Inter', sans-serif);
    font-weight: 500;
}

body.page-parent-reports .view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.page-parent-reports .view-btn.active {
    background: var(--accent-500, #D97757);
    color: white;
    border-color: transparent;
}

body.page-parent-reports .nav-section {
    margin-bottom: 24px;
}

body.page-parent-reports .nav-section.hidden {
    display: none;
}

body.page-parent-reports .term-section {
    margin-bottom: 16px;
}

body.page-parent-reports .term-header {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--r-md, 6px);
    margin: 0 8px;
    background: var(--accent-100, #F5E6DF);
}

body.page-parent-reports .term-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-reports .term-content {
    padding-top: 8px;
}

body.page-parent-reports .report-item,
body.page-parent-reports .subject-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    color: var(--ink-soft, #3A3D42);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
    cursor: pointer;
    font-size: 0.8rem;
    margin: 2px 8px;
    border-radius: var(--r-md, 6px);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-reports .report-item:hover,
body.page-parent-reports .report-item.active,
body.page-parent-reports .subject-item:hover,
body.page-parent-reports .subject-item.active {
    color: var(--accent-500, #D97757);
    background: var(--accent-100, #F5E6DF);
    border: 1px solid var(--accent-200, #ECCBBA);
}

body.page-parent-reports .percentage-badge {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-700, #B85C3A);
    padding: 2px 8px;
    border-radius: var(--r-full, 9999px);
    font-size: 0.65rem;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-reports .percentage-badge.good {
    background: var(--success-bg, #DEF1E5);
    color: var(--success, #1E7A4D);
}

body.page-parent-reports .percentage-badge.average {
    background: var(--warn-bg, #FAF1DD);
    color: var(--warn, #C28B2C);
}


body.page-parent-reports .main-content {
    flex: 1;
}

body.page-parent-reports .page-header {
    margin-bottom: 16px;
}

body.page-parent-reports .page-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    letter-spacing: 0.5px;
    padding: 10px 16px;
    background: var(--bg-surface, #FCFAF3);
    backdrop-filter: blur(10px);
    border-radius: var(--r-lg, 12px);
    display: inline-block;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-reports .content-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-xl, 16px);
    padding: 24px;
    min-height: 800px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-reports .report-card-container {
    display: none;
}

body.page-parent-reports .report-card-container.active {
    display: block;
}

body.page-parent-reports .subject-progress-container {
    display: none;
}

body.page-parent-reports .subject-progress-container.active {
    display: block;
}

body.page-parent-reports #reportIframe {
    min-height: 600px;
    width: 100%;
    border: none;
    border-radius: var(--r-lg, 12px);
}

body.page-parent-reports .assessment-group {
    margin-bottom: 20px;
}

body.page-parent-reports .assessment-group-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    padding: 12px 16px;
    background: var(--accent-100, #F5E6DF);
    border: 1px solid var(--accent-200, #ECCBBA);
    border-radius: var(--r-lg, 12px);
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-reports .assessment-group-header:hover {
    background: var(--accent-200, #ECCBBA);
}

body.page-parent-reports .assessment-group-header i {
    transition: transform var(--t-base, 220ms) var(--ease-out);
    color: var(--accent-500, #D97757);
}

body.page-parent-reports .assessment-group-header.active i {
    transform: rotate(180deg);
}

body.page-parent-reports .assessment-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow, 380ms) var(--ease-out);
}

body.page-parent-reports .assessment-content.expanded {
    max-height: 1000px;
}

body.page-parent-reports .performance-table,
body.page-parent-reports .progress-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--hairline, #EDEEF0);
    margin-top: 12px;
}

body.page-parent-reports .performance-table th,
body.page-parent-reports .performance-table td,
body.page-parent-reports .progress-table th,
body.page-parent-reports .progress-table td {
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 12px;
    text-align: left;
    font-size: 0.8rem;
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-reports .performance-table th,
body.page-parent-reports .progress-table th {
    background: var(--accent-100, #F5E6DF);
    font-weight: 600;
    color: var(--ink, #0F0F11);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-reports .performance-table td,
body.page-parent-reports .progress-table td {
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-reports .performance-table td:nth-child(2),
body.page-parent-reports .performance-table td:nth-child(3),
body.page-parent-reports .performance-table td:nth-child(4),
body.page-parent-reports .performance-table td:nth-child(5),
body.page-parent-reports .progress-table td:nth-child(2),
body.page-parent-reports .progress-table td:nth-child(3),
body.page-parent-reports .progress-table td:nth-child(4),
body.page-parent-reports .progress-table td:nth-child(5) {
    text-align: center;
}


body.page-parent-reports .grade-a { color: var(--success, #1E7A4D); font-weight: 600; }
body.page-parent-reports .grade-b { color: var(--info, #3057E1); font-weight: 600; }
body.page-parent-reports .grade-c { color: var(--warn, #C28B2C); font-weight: 600; }
body.page-parent-reports .grade-d { color: var(--error, #B14538); font-weight: 600; }
body.page-parent-reports .grade-e { color: var(--ink-muted, #797E85); font-weight: 600; }

body.page-parent-reports .view-link {
    color: var(--accent-500, #D97757);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-reports .view-link:hover {
    color: var(--accent-700, #B85C3A);
    text-decoration: underline;
}

body.page-parent-reports .material-symbols-sharp.toggleDisplayIcon {
    font-size: 1.2rem;
    color: var(--accent-500, #D97757);
    cursor: pointer;
    transition: transform var(--t-base, 220ms) var(--ease-out);
    margin-left: 10px;
}

body.page-parent-reports .material-symbols-sharp.toggleDisplayIcon.expanded {
    transform: rotate(180deg);
    color: var(--accent-700, #B85C3A);
}

body.page-parent-reports .innerinnerTable {
    display: none;
    background-color: var(--bg-tint, #F2EDE2);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-reports .innerinnerTable.active {
    display: table-row;
}

body.page-parent-reports .skeleton {
    background: linear-gradient(90deg, var(--bg-tint, #F2EDE2) 25%, var(--hairline, #EDEEF0) 50%, var(--bg-tint, #F2EDE2) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--r-md, 6px);
}

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

body.page-parent-reports .skeleton-line {
    height: 12px;
    margin: 8px 0;
}

body.page-parent-reports .skeleton-line.short { width: 40%; }
body.page-parent-reports .skeleton-line.medium { width: 70%; }
body.page-parent-reports .skeleton-line.long { width: 90%; }

body.page-parent-reports .skeleton-box {
    height: 40px;
    width: 100%;
    margin: 8px 0;
    border-radius: var(--r-lg, 12px);
}

body.page-parent-reports .skeleton-cell {
    height: 16px;
    margin: 6px 0;
    border-radius: var(--r-sm, 4px);
}

body.page-parent-reports .loading-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-muted, #797E85);
}

body.page-parent-reports .loading-state i {
    font-size: 2.5rem;
    color: var(--ink-faint, #B5B9BF);
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    body.page-parent-reports .container {
        flex-direction: row;
    }
    
    body.page-parent-reports .sidebar {
/*         width: 100%;
 */        margin-right: 0;
        margin-bottom: 22px;
        position: static;
        margin-top:20px;
    }
}
@media (max-width: 1024px) {
    body.page-parent-meetings .header {
        margin-bottom: 32px;
        margin-left: 50px;
    }
}
@media (max-width: 768px) {
    body.page-parent-reports .container {
        padding: 16px;
    }
    
    body.page-parent-reports .back-btn {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 15px;
    }
    
    body.page-parent-reports .content-container {
        padding: 16px;
    }
    
    body.page-parent-reports .performance-table,
    body.page-parent-reports .progress-table {
        font-size: 0.7rem;
    }
    
    body.page-parent-reports .performance-table th,
    body.page-parent-reports .performance-table td,
    body.page-parent-reports .progress-table th,
    body.page-parent-reports .progress-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    body.page-parent-reports .performance-table th:nth-child(n+5),
    body.page-parent-reports .performance-table td:nth-child(n+5) {
        display: none;
    }
    
    body.page-parent-reports .view-buttons {
        flex-wrap: wrap;
    }
    
    body.page-parent-reports .view-btn {
        font-size: 0.65rem;
        padding: 6px 10px;
    }
    
    body.page-parent-reports .page-title {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

@media print {
    body.page-parent-reports {
        background: white !important;
    }
    
    body.page-parent-reports .sidebar,
    body.page-parent-reports .page-header,
    body.page-parent-reports .back-btn {
        display: none !important;
    }
    
    body.page-parent-reports .main-content {
        width: 100% !important;
    }
    
    body.page-parent-reports .container {
        padding: 0;
        display: block;
    }
    
    body.page-parent-reports .content-container {
        background: white;
        box-shadow: none;
        border: 1px solid var(--ink, #0F0F11);
        margin: 0;
        max-width: none;
    }
}

body.page-parent-reports.dark-mode .sidebar {
    background: rgba(15, 15, 17, 0.8);
}

body.page-parent-reports.dark-mode .content-container {
    background: rgba(15, 15, 17, 0.9);
}

body.page-parent-reports.dark-mode .assessment-group-header {
    background: rgba(30, 30, 35, 0.9);
}

body.page-parent-reports.dark-mode .performance-table th,
body.page-parent-reports.dark-mode .progress-table th {
    background: rgba(30, 30, 35, 0.9);
}


body.page-parent-profile {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    padding: 10px 16px 20px 10px;
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-profile,
body.page-parent-profile .container,
body.page-parent-profile .sidebar,
body.page-parent-profile .main-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-profile::-webkit-scrollbar,
body.page-parent-profile .container::-webkit-scrollbar,
body.page-parent-profile .sidebar::-webkit-scrollbar,
body.page-parent-profile .main-content::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-profile.dark-mode {
    background: var(--bg-deep, #0F0F11) !important;
    color: var(--ink-invert, #FFFFFF);
}

body.page-parent-profile.accessibility-mode {
    font-size: 18px;
}

body.page-parent-profile.accessibility-mode h1 {
    font-size: 2rem;
}

body.page-parent-profile.accessibility-mode h2 {
    font-size: 1.5rem;
}

body.page-parent-profile.accessibility-mode .sidebar-item {
    font-size: 1.1rem;
    padding: 20px 24px;
}

body.page-parent-profile.accessibility-mode .info-item .label {
    font-size: 0.9rem;
}

body.page-parent-profile.accessibility-mode .info-item .value {
    font-size: 1rem;
}

body.page-parent-profile.accessibility-mode .form-group label {
    font-size: 0.9rem;
}

body.page-parent-profile.accessibility-mode .form-group input,
body.page-parent-profile.accessibility-mode .form-group textarea,
body.page-parent-profile.accessibility-mode .form-group select {
    font-size: 1rem;
    padding: 20px;
}

body.page-parent-profile.accessibility-mode .edit-btn,
body.page-parent-profile.accessibility-mode .toggle-btn,
body.page-parent-profile.accessibility-mode .form-btn {
    font-size: 1.1rem;
    padding: 16px 28px;
}

body.page-parent-profile .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-profile .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-profile .container {
    width: 90%;
    max-width: 1200px;
    height: 95vh;
    margin: 0 auto;
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--r-xl, 16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    backdrop-filter: blur(20px);
    transition: all var(--t-base, 220ms) var(--ease-out);
    overflow: hidden;
}

body.page-parent-profile.dark-mode .container {
    background: rgba(31, 41, 55, 0.98);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

body.page-parent-profile .sidebar {
    width: 280px;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.05) 0%, rgba(217, 119, 87, 0.05) 100%);
    border-right: 1px solid rgba(217, 119, 87, 0.1);
    display: flex;
    flex-direction: column;
}

body.page-parent-profile.dark-mode .sidebar {
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.1) 0%, rgba(217, 119, 87, 0.1) 100%);
    border-right: 1px solid rgba(217, 119, 87, 0.2);
}

body.page-parent-profile .profile-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(217, 119, 87, 0.1);
}

body.page-parent-profile .profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 auto 16px;
    border: 3px solid rgba(217, 119, 87, 0.2);
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-profile .profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(217, 119, 87, 0.3);
}

body.page-parent-profile .profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 4px;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-profile .profile-role {
    font-size: 0.8rem;
    color: var(--ink-muted, #797E85);
    font-weight: 500;
}

body.page-parent-profile .sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.page-parent-profile .sidebar-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    margin: 0;
    border-radius: var(--r-lg, 12px);
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink-soft, #3A3D42);
    position: relative;
    overflow: hidden;
    gap: 12px;
}

body.page-parent-profile .sidebar-item i {
    width: 24px;
    font-size: 1rem;
    transition: transform var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-profile .sidebar-item:hover i {
    transform: scale(1.1);
}

body.page-parent-profile .sidebar-item:hover,
body.page-parent-profile .sidebar-item.active {
    background: var(--accent-500, #D97757);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-profile .sidebar-item.hidden-item {
    display: none !important;
}

body.page-parent-profile .main-content {
    flex: 1;
    padding: 24px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
    overflow-y: auto;
}

body.page-parent-profile.dark-mode .main-content {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body.page-parent-profile .content-wrapper {
    position: relative;
    z-index: 1;
}

body.page-parent-profile .section {
    display: none;
    animation: fadeInUp var(--t-slow, 380ms) var(--ease-out);
}

body.page-parent-profile .section.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-parent-profile h1 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 24px;
    position: relative;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-profile h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    border-radius: var(--r-sm, 4px);
}

body.page-parent-profile h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 16px;
}


body.page-parent-profile .profile-card {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border: 1px solid var(--hairline, #EDEEF0);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-profile .profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-profile.dark-mode .profile-card {
    background: var(--bg-elev, #F8F5EE);
    border: 1px solid rgba(217, 119, 87, 0.2);
}

body.page-parent-profile .profiledata {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

body.page-parent-profile .profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(217, 119, 87, 0.2);
    transition: all var(--t-base, 220ms) var(--ease-out);
    background: linear-gradient(135deg, var(--accent-100, #F5E6DF), var(--accent-200, #ECCBBA));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-700, #B85C3A);
    font-size: 1.5rem;
    font-weight: 500;
}

body.page-parent-profile .profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(217, 119, 87, 0.3);
}

body.page-parent-profile .user-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.page-parent-profile .user-details .name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
}

body.page-parent-profile .user-details .email,
body.page-parent-profile .user-details .phone {
    font-size: 0.8rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-profile .info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

body.page-parent-profile .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    transition: all var(--t-base, 220ms) var(--ease-out);
    position: relative;
    overflow: hidden;
}

body.page-parent-profile.dark-mode .info-item {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(217, 119, 87, 0.2);
}

body.page-parent-profile .info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border-color: var(--accent-200, #ECCBBA);
}

body.page-parent-profile .info-item .label {
    font-size: 0.7rem;
    color: var(--ink-muted, #797E85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-profile .info-item .value {
    font-size: 0.85rem;
    color: var(--ink, #0F0F11);
    font-weight: 500;
}


body.page-parent-profile .edit-btn,
body.page-parent-profile .toggle-btn,
body.page-parent-profile .form-btn {
    background: var(--accent-500, #D97757);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: var(--r-full, 9999px);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--t-base, 220ms) var(--ease-out);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.page-parent-profile .edit-btn:hover,
body.page-parent-profile .toggle-btn:hover,
body.page-parent-profile .form-btn:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-profile .children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

body.page-parent-profile .child-card {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    padding: 20px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border: 1px solid var(--hairline, #EDEEF0);
    transition: all var(--t-base, 220ms) var(--ease-out);
    cursor: pointer;
}

body.page-parent-profile .child-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-profile .child-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

body.page-parent-profile .child-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500, #D97757), var(--accent-700, #B85C3A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    border: 3px solid rgba(217, 119, 87, 0.2);
}

body.page-parent-profile .child-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
    margin-bottom: 4px;
}

body.page-parent-profile .child-grade {
    font-size: 0.8rem;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-profile .child-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.page-parent-profile .child-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-profile .child-detail-item:last-child {
    border-bottom: none;
}

body.page-parent-profile .child-detail-label {
    color: var(--ink-muted, #797E85);
}

body.page-parent-profile .child-detail-value {
    color: var(--ink, #0F0F11);
    font-weight: 500;
}

body.page-parent-profile .mode-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 12px;
}

body.page-parent-profile .mode-row {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-elev, #F8F5EE);
    border: 1.5px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-lg, 12px);
    cursor: pointer;
    text-align: left;
    transition: all var(--t-base, 220ms) var(--ease-out);
    position: relative;
}

body.page-parent-profile .mode-row:hover {
    border-color: var(--accent-500, #D97757);
    background: rgba(217, 119, 87, 0.03);
}

body.page-parent-profile .mode-row.active {
    border-color: var(--accent-500, #D97757);
    background: rgba(217, 119, 87, 0.05);
}

body.page-parent-profile .row-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

body.page-parent-profile .light-icon { background: #FEF3C7; color: #D97706; }
body.page-parent-profile .dark-icon { background: #E0E7FF; color: #4F46E5; }
body.page-parent-profile .reset-icon { background: #F0FDF4; color: #10B981; font-size: 1.2rem; }

body.page-parent-profile .row-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

body.page-parent-profile .row-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink, #0F0F11);
}

body.page-parent-profile .mode-row.active .row-title {
    color: var(--accent-500, #D97757);
}

body.page-parent-profile .row-sub {
    font-size: 0.7rem;
    color: var(--ink-muted, #797E85);
}

body.page-parent-profile .inline-swatch {
    width: 64px;
    height: 64px;
    border-radius: var(--r-lg, 12px);
    cursor: pointer;
    position: relative;
    background: var(--bg-elev, #F8F5EE);
    transition: all var(--t-base, 220ms) var(--ease-out);
    overflow: visible;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-parent-profile .inline-swatch:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-profile .inline-swatch.selected {
    background: var(--bg-tint, #F2EDE2);
}

body.page-parent-profile .inline-swatch .swatch-circle-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

body.page-parent-profile .inline-swatch .swatch-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}

body.page-parent-profile .inline-swatch .swatch-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

body.page-parent-profile .inline-swatch .check-icon {
    position: absolute;
    top: 3px;
    right: 5px;
    color: white;
    font-size: 9px;
    display: none;
    z-index: 10;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border: 2px solid white;
}

body.page-parent-profile .inline-swatch.selected .check-icon {
    display: block;
}

body.page-parent-profile .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

body.page-parent-profile .modal.show {
    display: flex;
}

body.page-parent-profile .modal-content {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    box-shadow: var(--shadow-lg, 0 20px 48px rgba(15,15,17,.10));
    animation: modalSlideIn var(--t-slow, 380ms) var(--ease-out);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hairline, #EDEEF0);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-80px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

body.page-parent-profile .modal-header {
    background: var(--accent-500, #D97757);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

body.page-parent-profile .modal-title {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    font-family: var(--serif, 'Fraunces', Georgia, serif);
}

body.page-parent-profile .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base, 220ms) var(--ease-out);
    position: relative;
    z-index: 1;
}

body.page-parent-profile .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

body.page-parent-profile .modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

body.page-parent-profile .form-group {
    margin-bottom: 20px;
}

body.page-parent-profile .form-group label {
    display: block;
    font-size: 0.7rem;
    color: var(--ink-muted, #797E85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
}

body.page-parent-profile .form-group input,
body.page-parent-profile .form-group textarea,
body.page-parent-profile .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: var(--r-md, 6px);
    font-size: 0.85rem;
    transition: all var(--t-base, 220ms) var(--ease-out);
    background: var(--bg-page, #FFFFFF);
    color: var(--ink, #0F0F11);
    font-family: var(--sans, 'Inter', sans-serif);
}

body.page-parent-profile .form-group input:focus,
body.page-parent-profile .form-group textarea:focus,
body.page-parent-profile .form-group select:focus {
    outline: none;
    border-color: var(--accent-500, #D97757);
    box-shadow: var(--shadow-glow, 0 0 0 4px rgba(217,119,87,.18));
}

body.page-parent-profile .password-wrapper {
    position: relative;
}

body.page-parent-profile .password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--ink-muted, #797E85);
}

body.page-parent-profile .form-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

body.page-parent-profile .form-buttons .form-btn {
    flex: 1;
    justify-content: center;
}

body.page-parent-profile .cancel-btn {
    background: var(--ink-muted, #797E85);
}

body.page-parent-profile .cancel-btn:hover {
    background: var(--ink-soft, #3A3D42);
}

body.page-parent-profile .account-dropdown {
    display: none;
    padding-left: 30px;
    font-size: 0.9rem;
}

body.page-parent-profile .account-item {
    cursor: pointer;
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-md, 6px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    padding: 10px;
    margin-top: 8px;
    margin-left: 36px;
    border: 1px solid var(--hairline, #EDEEF0);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-profile .account-item:hover {
    background: var(--accent-100, #F5E6DF);
    transform: translateX(4px);
}

body.page-parent-profile .dropdown-icon {
    float: right;
    transition: transform var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-profile .sidebar-item.switch-account.active .dropdown-icon {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    body.page-parent-profile .container {
        width: 95%;
        height: auto;
        flex-direction: row;
    }
    
    body.page-parent-profile .sidebar {
      
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(217, 119, 87, 0.1);
    }
    
    body.page-parent-profile .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }
    
    body.page-parent-profile .sidebar-item {
        white-space: nowrap;
        padding: 10px 16px;
    }
    
    body.page-parent-profile .main-content {
        padding: 20px;
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    body.page-parent-profile .back-btn {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 15px;
    }
    
    body.page-parent-profile .container {
        width: 100%;
        border-radius: var(--r-xl, 16px);
    }
    
    body.page-parent-profile .profiledata {
        flex-direction: column;
        text-align: center;
    }
    
    body.page-parent-profile .user-details {
        text-align: center;
    }
    
    body.page-parent-profile .info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 6px;
    }
    
    body.page-parent-profile .children-grid {
        grid-template-columns: 1fr;
    }
    
    body.page-parent-profile .mode-list {
        flex-direction: column;
    }
    
    body.page-parent-profile .form-buttons {
        flex-direction: column;
    }
    
    body.page-parent-profile .form-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body.page-parent-profile {
        padding: 50px 8px 20px 8px;
    }
    
    body.page-parent-profile .back-btn {
        width: 32px;
        height: 32px;
        top: 10px;
        left: 10px;
    }
    
    body.page-parent-profile h1 {
        font-size: 1rem;
    }
    
    body.page-parent-profile .profile-card {
        padding: 16px;
    }
    
    body.page-parent-profile .info-item {
        padding: 12px;
    }
    
    body.page-parent-profile .child-card {
        padding: 16px;
    }
    
    body.page-parent-profile .modal-content {
        width: 95%;
        max-height: 90vh;
    }
}


@media (max-height: 550px) and (orientation: landscape) {
    body.page-parent-profile .container {
        height: 85vh;
        flex-direction: row;
    }
    
    body.page-parent-profile .sidebar {
        width: 220px;
        height: 100%;
        overflow-y: auto;
    }
    
    body.page-parent-profile .main-content {
        max-height: 85vh;
        overflow-y: auto;
    }
    
    body.page-parent-profile .profiledata {
        flex-direction: row;
        text-align: left;
    }
    
    body.page-parent-profile .user-details {
        text-align: left;
    }
}

.page-parent-assignments .stack-container {
    position: relative;

}

.page-parent-assignments .stack-container .stack-wrapper {
    position: relative;
   
}

.page-parent-assignments .stack-container:not(.expanded) .homework-card,
.page-parent-assignments .stack-container:not(.expanded) .project-card,
.page-parent-assignments .stack-container:not(.expanded) .quiz-card {
    position: relative;
    width: 100%;
}


.page-parent-assignments .stack-container:not(.expanded) .homework-card:nth-child(2),
.page-parent-assignments .stack-container:not(.expanded) .project-card:nth-child(2),
.page-parent-assignments .stack-container:not(.expanded) .quiz-card:nth-child(2) {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 9;
    opacity: 0.85;
    pointer-events: none; 
}


.page-parent-assignments .stack-container:not(.expanded) .homework-card:nth-child(3),
.page-parent-assignments .stack-container:not(.expanded) .project-card:nth-child(3),
.page-parent-assignments .stack-container:not(.expanded) .quiz-card:nth-child(3) {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 8;
    opacity: 0.7;
    pointer-events: none;
}

.page-parent-assignments .stack-container:not(.expanded) .homework-card:nth-child(n+4),
.page-parent-assignments .stack-container:not(.expanded) .project-card:nth-child(n+4),
.page-parent-assignments .stack-container:not(.expanded) .quiz-card:nth-child(n+4) {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 7;
    opacity: 0.55;
    pointer-events: none;
}

.page-parent-assignments .stack-container.expanded .homework-card,
.page-parent-assignments .stack-container.expanded .project-card,
.page-parent-assignments .stack-container.expanded .quiz-card {
    position: relative !important;
    top: auto !important;
    opacity: 1 !important;
    margin-bottom: 16px;
    pointer-events: auto !important;
}

body.page-parent-quiz-results {
    font-family: var(--sans, 'Inter', -apple-system, sans-serif);
    background: var(--bg-page, #FFFFFF) !important;
    color: var(--ink, #0F0F11);
    min-height: 100vh;
    overflow-x: hidden;
}

body.page-parent-quiz-results,
body.page-parent-quiz-results .app-wrapper,
body.page-parent-quiz-results .drawer-root,
body.page-parent-quiz-results .test-management-container,
body.page-parent-quiz-results .question-nav,
body.page-parent-quiz-results .quiz-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.page-parent-quiz-results::-webkit-scrollbar,
body.page-parent-quiz-results .app-wrapper::-webkit-scrollbar,
body.page-parent-quiz-results .drawer-root::-webkit-scrollbar,
body.page-parent-quiz-results .test-management-container::-webkit-scrollbar,
body.page-parent-quiz-results .question-nav::-webkit-scrollbar,
body.page-parent-quiz-results .quiz-container::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body.page-parent-quiz-results .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface, #FCFAF3);
    border: 1px solid var(--hairline, #EDEEF0);
    border-radius: 50%;
    color: var(--ink-soft, #3A3D42);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-quiz-results .back-btn:hover {
    background: var(--accent-100, #F5E6DF);
    color: var(--accent-500, #D97757);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-300, #E2AE93);
}

body.page-parent-quiz-results .question-nav {
    position: fixed;

    left: 1535px;
    height: fit-content;
    width: 60px;
    background: var(--bg-surface, #FCFAF3);
    backdrop-filter: blur(20px);
    border-radius: var(--r-xl, 16px);
    padding: 15px 10px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    overflow-y: auto;
    z-index: 100;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-quiz-results .question-nav h5 {
    text-align: center;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-muted, #797E85);
    margin-bottom: 10px;
}

body.page-parent-quiz-results .nav-item {
    width: 36px;
    height: 36px;
    margin: 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    border: 2px solid var(--hairline, #EDEEF0);
    transition: all var(--t-fast, 120ms) var(--ease-out);
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-weight: 600;
    background: var(--bg-surface, #FCFAF3);
    color: var(--ink, #0F0F11);
}

body.page-parent-quiz-results .nav-item.correct {
    background-color: var(--success-bg, #DEF1E5);
    border-color: var(--success, #1E7A4D);
    color: var(--success, #1E7A4D);
}

body.page-parent-quiz-results .nav-item.incorrect {
    background-color: var(--error-bg, #F8E5E2);
    border-color: var(--error, #B14538);
    color: var(--error, #B14538);
}

body.page-parent-quiz-results .nav-item:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
}

body.page-parent-quiz-results .result-header {
    text-align: center;
    margin-bottom: 20px;
}

body.page-parent-quiz-results .result-header h1 {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 8px;
}

body.page-parent-quiz-results .result-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    background: var(--bg-surface, #FCFAF3);
    padding: 24px;
    border-radius: var(--r-xl, 16px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-quiz-results .stat-item {
    text-align: center;
}

body.page-parent-quiz-results .stat-item h2 {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-muted, #797E85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

body.page-parent-quiz-results .stat-item p {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-500, #D97757);
}

body.page-parent-quiz-results .question-list {
    list-style-type: none;
    padding: 0;
}

body.page-parent-quiz-results .question-item {
    margin-bottom: 20px;
    background: var(--bg-surface, #FCFAF3);
    padding: 20px;
    border-radius: var(--r-xl, 16px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,15,17,.06));
    border: 1px solid var(--hairline, #EDEEF0);
    transition: all var(--t-base, 220ms) var(--ease-out);
}

body.page-parent-quiz-results .question-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
    border-color: var(--accent-200, #ECCBBA);
}

body.page-parent-quiz-results .question-item p {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    margin-bottom: 15px;
    line-height: 1.5;
}

body.page-parent-quiz-results .option {
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: var(--r-lg, 12px);
    display: flex;
    align-items: center;
    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-quiz-results .option label {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.85rem;
    color: var(--ink-soft, #3A3D42);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.page-parent-quiz-results .option input[type="radio"] {
    accent-color: var(--accent-500, #D97757);
}

body.page-parent-quiz-results .correct-answer {
    background-color: var(--success-bg, #DEF1E5);
    border-left: 4px solid var(--success, #1E7A4D);
}

body.page-parent-quiz-results .incorrect-answer {
    background-color: var(--error-bg, #F8E5E2);
    border-left: 4px solid var(--error, #B14538);
}

body.page-parent-quiz-results #leaderboard1 {
    margin-top: 20px;
}



body.page-parent-quiz-results .scoreboard .item {
    display: flex;
    align-items: center;
    padding: 10px 16px;

    transition: all var(--t-fast, 120ms) var(--ease-out);
}

body.page-parent-quiz-results .scoreboard .item:last-child {
    border-bottom: none;
}

body.page-parent-quiz-results .items {
    font-weight: 600;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    color: var(--accent-500, #D97757);
    width: 30px;
}

body.page-parent-quiz-results .viewtipe {
    display: flex;
    background: var(--bg-tint, #F2EDE2);
    border: 1px solid var(--hairline, #EDEEF0);
    padding: 6px 12px;
    border-radius: var(--r-full, 9999px);
    align-items: center;
    flex: 1;
    gap: 10px;
}

body.page-parent-quiz-results .stdname {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink, #0F0F11);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-parent-quiz-results progress {
    height: 6px;
    border: none;
    border-radius: var(--r-full, 9999px);
    width: 100%;
    background: var(--bg-tint, #F2EDE2);
}

body.page-parent-quiz-results progress::-webkit-progress-bar {
    background-color: var(--bg-tint, #F2EDE2);
    border-radius: var(--r-full, 9999px);
}

body.page-parent-quiz-results progress::-webkit-progress-value {
    background-color: var(--accent-500, #D97757);
    border-radius: var(--r-full, 9999px);
}

body.page-parent-quiz-results .Quizetile {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    padding: 20px;
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-quiz-results .question_essence p b {
    font-family: var(--serif, 'Fraunces', Georgia, serif);
    font-weight: 600;
    color: var(--accent-500, #D97757);
    margin-right: 10px;
}

body.page-parent-quiz-results .mdc-form-field {
    font-family: var(--sans, 'Inter', sans-serif);
    border: 1px solid var(--hairline, #EDEEF0);
    width: 100%;
    border-radius: var(--r-full, 9999px);
    margin-bottom: 8px;
    transition: all var(--t-fast, 120ms) var(--ease-out);
    background: var(--bg-surface, #FCFAF3);
}

body.page-parent-quiz-results .mdc-form-field:hover {
    border-color: var(--accent-300, #E2AE93);
    background: var(--accent-100, #F5E6DF);
}

body.page-parent-quiz-results .mdc-form-field.active {
    background: var(--success-bg, #DEF1E5);
    border-color: var(--success, #1E7A4D);
}

body.page-parent-quiz-results .question_answer_wrap {
    flex: 1;
    padding: 10px 0;
}

body.page-parent-quiz-results .answer_body p {
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 0.85rem;
    color: var(--ink, #0F0F11);
    margin: 0;
}

body.page-parent-quiz-results .question-header-container {
    margin-bottom: 20px;
}

body.page-parent-quiz-results .question-header-property {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

body.page-parent-quiz-results .question-header-property__label {
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-soft, #3A3D42);
}

body.page-parent-quiz-results .timer {
    background: var(--accent-500, #D97757);
    color: white;
    padding: 6px 12px;
    border-radius: var(--r-full, 9999px);
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 0.9rem;
    font-weight: 600;
}

body.page-parent-quiz-results .mdc-button {
    background: var(--accent-500, #D97757);
    color: white;
    border-radius: var(--r-full, 9999px);
    padding: 10px 24px;
    font-family: var(--sans, 'Inter', sans-serif);
    font-weight: 500;
    transition: all var(--t-base, 220ms) var(--ease-out);
    text-decoration: none;
    display: inline-block;
}

body.page-parent-quiz-results .mdc-button:hover {
    background: var(--accent-700, #B85C3A);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(15,15,17,.08));
}

body.page-parent-quiz-results .mdc-dialog {
    position: fixed;
    z-index: 1000;
}

body.page-parent-quiz-results .mdc-dialog__surface {
    background: var(--bg-surface, #FCFAF3);
    border-radius: var(--r-xl, 16px);
    border: 1px solid var(--hairline, #EDEEF0);
}

body.page-parent-quiz-results .mdc-dialog__actions {
    padding: 16px 24px;
    border-top: 1px solid var(--hairline, #EDEEF0);
}

@media (max-width: 1024px) {
    body.page-parent-quiz-results .quiz-container {
        padding-right: 20px;
    }
    
    body.page-parent-quiz-results .question-nav {
        position: static;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    body.page-parent-quiz-results .nav-item {
        margin: 0;
    }
}

@media (max-width: 768px) {
    body.page-parent-quiz-results .back-btn {
        top: 10px;
        left: 10px;
        width: 34px;
        height: 34px;
    }
    
    body.page-parent-quiz-results .result-stats {
        flex-direction: column;
        gap: 15px;
        padding: 16px;
    }
    
    body.page-parent-quiz-results .stat-item p {
        font-size: 1.2rem;
    }
    
    body.page-parent-quiz-results .question-item {
        padding: 15px;
    }
    
    body.page-parent-quiz-results .quiz-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body.page-parent-quiz-results .back-btn {
        width: 30px;
        height: 30px;
    }
    
    body.page-parent-quiz-results .result-header h1 {
        font-size: 1rem;
    }
    
    body.page-parent-quiz-results .question-header-property {
        gap: 8px;
    }
    
    body.page-parent-quiz-results .timer {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    body.page-parent-quiz-results .Quizetile {
        padding: 12px;
    }
    
    body.page-parent-quiz-results .viewtipe {
        flex-wrap: wrap;
    }
    
    body.page-parent-quiz-results .stdname {
        font-size: 0.7rem;
    }
}

body.page-parent-quiz-results.dark-mode .question-nav,
body.page-parent-quiz-results.dark-mode .Quizetile,
body.page-parent-quiz-results.dark-mode .scoreboard,
body.page-parent-quiz-results.dark-mode .result-stats,
body.page-parent-quiz-results.dark-mode .question-item {
    background: var(--bg-surface-dark, #1F1F23);
}

body.page-parent-quiz-results.dark-mode .viewtipe {
    background: var(--bg-tint, #F2EDE2);
}

body.page-parent-quiz-results.dark-mode .stdname {
    color: var(--ink, #0F0F11);
}
 body.page-parent-quiz-results .test-management-container{
 
 max-width: 1400px !important;
 
 }