/* Shared Phillaw premium portal layer.
   Keep portal-specific behavior in each portal stylesheet; this file provides
   reusable polish, compact table density, and mobile drawer primitives. */

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) {
    --phillaw-premium-bg: #f7f1ff;
    --phillaw-premium-bg-strong: #efe4ff;
    --phillaw-premium-purple-950: #1c0f32;
    --phillaw-premium-purple-900: #2b124c;
    --phillaw-premium-purple-800: #3b1767;
    --phillaw-premium-purple-700: #5620a0;
    --phillaw-premium-purple-600: #6d28d9;
    --phillaw-premium-purple-500: #7c3aed;
    --phillaw-premium-gold: #f5c542;
    --phillaw-premium-gold-soft: #fff2bf;
    --phillaw-premium-card: rgba(255, 255, 255, 0.86);
    --phillaw-premium-border: rgba(109, 40, 217, 0.17);
    --phillaw-premium-shadow: 0 20px 54px rgba(62, 24, 102, 0.13);
    --phillaw-premium-radius-lg: 24px;
    --phillaw-premium-radius-md: 18px;
    --portal-table-compact-font: 0.825rem;
    --portal-table-compact-cell-y: 0.32rem;
    --portal-table-compact-cell-x: 0.5rem;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) {
    overflow-x: hidden;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .app-main,
:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .app-content {
    min-width: 0;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .app-content {
    animation: phillawPremiumPageIn 0.34s ease both;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) :is(.card, .page-hero, .table-wrap, .glass-card) {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: var(--phillaw-premium-shadow);
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) :is(.card, .page-hero, .glass-card) {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) :is(.btn-primary, .btn-secondary, .btn-outline, .btn-glass, .btn-logout, button, .admin-kpi-card__cta):not(:disabled) {
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) :is(.btn-primary, .btn-secondary, .btn-outline, .btn-glass, .btn-logout, button, .admin-kpi-card__cta):not(:disabled):hover {
    transform: translateY(-1px);
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(245, 197, 66, 0.72);
    outline-offset: 3px;
}

.portal-table-compact,
.data-table--compact,
.admin-density-compact .data-table,
.jelly-layout .data-table,
.dean-layout .data-table,
.admin-layout .data-table {
    font-size: var(--portal-table-compact-font);
}

.portal-table-compact th,
.portal-table-compact td,
.data-table--compact th,
.data-table--compact td,
.admin-density-compact .data-table th,
.admin-density-compact .data-table td,
.jelly-layout .data-table th,
.jelly-layout .data-table td,
.dean-layout .data-table th,
.dean-layout .data-table td,
.admin-layout .data-table th,
.admin-layout .data-table td {
    padding: var(--portal-table-compact-cell-y) var(--portal-table-compact-cell-x);
    line-height: 1.25;
    vertical-align: middle;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) table th,
:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) table td,
:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .data-table th,
:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .data-table td,
.portal-table-compact th,
.portal-table-compact td,
.data-table--compact th,
.data-table--compact td,
.admin-density-compact th,
.admin-density-compact td {
    vertical-align: middle;
}

:where(.admin-layout, .jelly-layout, .dean-layout) .data-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

:where(.admin-layout, .jelly-layout, .dean-layout) .data-table {
    min-width: 920px;
}

:where(.admin-layout, .jelly-layout, .dean-layout) .data-table :is(th, td):last-child {
    white-space: nowrap;
}

:where(.admin-layout, .jelly-layout, .dean-layout) :is(.admin-row-actions, .actions-right, .row-actions, .table-actions) {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    flex-wrap: nowrap;
}

:where(.admin-layout, .jelly-layout, .dean-layout) :is(.admin-row-actions, .actions-right, .row-actions, .table-actions) :is(a, button, .btn-primary, .btn-secondary, .btn-outline) {
    min-height: 28px;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    white-space: nowrap;
}

:where(.admin-layout, .jelly-layout, .dean-layout) :is(.admin-status-badge, .status-badge, .badge) {
    min-height: 23px;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 1.15;
}

.premium-sidebar-toggle {
    display: none;
}

.premium-sidebar-overlay {
    display: none;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .app-sidebar,
.dean-layout .dean-sidebar {
    padding: 12px;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar {
    gap: 0.16rem;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-brand {
    gap: 0.58rem;
    margin-bottom: 0.62rem;
    padding: 0.68rem;
    border-radius: 18px;
}

.admin-sidebar-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-logo {
    width: 32px;
    height: 32px;
    padding: 4px;
    border-radius: 12px;
}

.portal-topbar-logo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(124, 58, 237, 0.16);
    box-shadow: 0 8px 18px rgba(62, 24, 102, 0.1);
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-title strong {
    font-size: 0.9rem;
    line-height: 1.12;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-title small {
    font-size: 0.7rem;
    line-height: 1.15;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-section-label {
    margin: 0.66rem 0.38rem 0.22rem;
    font-size: 0.64rem;
    line-height: 1.15;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-menu {
    gap: 0.16rem;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-menu a {
    min-height: 36px;
    padding: 0.46rem 0.62rem;
    gap: 0.5rem;
    border-radius: 13px;
    font-size: 0.86rem;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-menu :is(.menu-icon, .student-nav-icon) {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.admin-layout .admin-students-page .students-data-table th,
.admin-layout .admin-students-page .students-data-table td {
    vertical-align: middle;
}

.admin-layout .admin-students-page .students-data-table th.admin-students-actions-col,
.admin-layout .admin-students-page .students-data-table td.admin-students-row-actions {
    min-width: 17.5rem;
    width: 18.5rem;
    position: sticky;
    right: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: -10px 0 18px -18px rgba(62, 24, 102, 0.34);
    white-space: normal;
}

.admin-layout .admin-students-page .students-data-table th.admin-students-actions-col {
    z-index: 5;
}

.admin-layout .admin-students-page .students-data-table td.admin-students-row-actions {
    display: table-cell !important;
    vertical-align: middle;
    text-align: left;
    overflow: visible;
}

.admin-layout .admin-students-page .student-actions-layout {
    display: flex;
    align-items: flex-start;
    gap: 0.38rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.admin-layout .admin-students-page .student-actions-primary {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 12rem;
    flex-wrap: wrap;
    min-width: 0;
}

.admin-layout .admin-students-page .student-action-preview,
.admin-layout .admin-students-page .student-action-setup,
.admin-layout .admin-students-page .student-action-tools > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.76rem;
    line-height: 1.1;
    white-space: nowrap;
}

.admin-layout .admin-students-page .student-action-preview {
    font-weight: 700;
}

.admin-layout .admin-students-page .student-action-setup {
    font-weight: 600;
}

.admin-layout .admin-students-page .student-action-tools {
    position: relative;
    flex: 1 1 100%;
    max-width: 100%;
}

.admin-layout .admin-students-page .student-action-tools > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    border: 1px solid rgba(107, 87, 145, 0.3);
    background: rgba(255, 255, 255, 0.78);
    color: #4b5563;
    font-weight: 500;
}

.admin-layout .admin-students-page .student-action-tools > summary::-webkit-details-marker {
    display: none;
}

.admin-layout .admin-students-page .student-action-tools[open] > summary {
    border-color: rgba(109, 40, 217, 0.38);
    color: #4c1d95;
    background: rgba(245, 240, 255, 0.92);
}

.admin-layout .admin-students-page .student-action-tools__menu {
    display: flex;
    align-items: stretch;
    gap: 0.3rem;
    flex-wrap: wrap;
    width: min(100%, 15rem);
    margin-top: 0.32rem;
    padding: 0.35rem;
    border: 1px solid rgba(107, 87, 145, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 18px rgba(62, 24, 102, 0.08);
}

.admin-layout .admin-students-page .student-action-tool-button,
.admin-layout .admin-students-page .student-action-tools__menu .student-action-diagnostic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0.25rem 0.48rem;
    border: 1px solid rgba(107, 87, 145, 0.38);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.admin-layout .admin-students-page .student-action-tool-button {
    background: rgba(255, 255, 255, 0.82);
    color: #4b5563;
    cursor: pointer;
}

.admin-layout .admin-students-page .student-action-tools__menu .student-action-diagnostic {
    background: rgba(124, 58, 237, 0.035);
    color: #6b5b7c;
}

.admin-layout .admin-students-page .student-action-reset {
    border-color: rgba(185, 28, 28, 0.24);
    color: #7f1d1d;
    background: rgba(254, 242, 242, 0.78);
}

.admin-layout .admin-students-page .student-action-tool-button:hover,
.admin-layout .admin-students-page .student-action-tool-button:focus-visible,
.admin-layout .admin-students-page .student-action-tools__menu .student-action-diagnostic:hover,
.admin-layout .admin-students-page .student-action-tools__menu .student-action-diagnostic:focus-visible {
    border-color: rgba(88, 28, 135, 0.7);
    background: rgba(124, 58, 237, 0.1);
    color: #4c1d95;
}

.admin-layout .admin-professors-table th,
.admin-layout .admin-professors-table td {
    vertical-align: middle;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .app-topbar {
    min-height: 60px;
    padding: 0.68rem 0.9rem;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .user-chip {
    min-height: 38px;
    padding: 0.28rem 0.58rem 0.28rem 0.32rem;
}

:where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .avatar {
    width: 32px;
    height: 32px;
}

.portal-presence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 28px;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(100, 116, 139, 0.18);
    background: rgba(248, 250, 252, 0.88);
    color: #475569;
    font-size: 0.78rem;
    line-height: 1.1;
    white-space: nowrap;
}

.portal-presence-badge > span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #94a3b8;
    flex: 0 0 auto;
}

.portal-presence-badge strong {
    font-size: 0.78rem;
}

.portal-presence-badge small {
    color: inherit;
    opacity: 0.82;
}

.portal-presence-badge--online {
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(240, 253, 244, 0.92);
    color: #166534;
}

.portal-presence-badge--online > span {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: portalPresencePulse 1.8s ease-out infinite;
}

@keyframes portalPresencePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
    70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.jelly-layout {
    background:
        radial-gradient(circle at 12% 6%, rgba(245, 197, 66, 0.18), transparent 28rem),
        radial-gradient(circle at 86% 0%, rgba(124, 58, 237, 0.2), transparent 30rem),
        linear-gradient(135deg, #f8f3ff, #ffffff 50%, #f7f0df);
}

.jelly-layout .app-shell {
    grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
}

.jelly-layout .app-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    height: 100vh;
    background:
        radial-gradient(circle at top, rgba(245, 197, 66, 0.2), transparent 18rem),
        linear-gradient(180deg, #1c0f32, #2b124c 48%, #24103f);
    border-right: 1px solid rgba(245, 197, 66, 0.18);
    box-shadow: 18px 0 44px rgba(31, 15, 55, 0.19);
    overflow-y: auto;
}

.jelly-layout .sidebar {
    padding: 0;
    background: transparent;
}

.jelly-layout .sidebar-brand {
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.jelly-layout .sidebar-menu a {
    border-radius: 15px;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.jelly-layout .sidebar-menu a:hover {
    transform: translateX(4px);
}

.jelly-layout .sidebar-menu a.active {
    border-color: rgba(245, 197, 66, 0.32);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.72), rgba(245, 197, 66, 0.18));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.jelly-layout .app-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: clamp(0.7rem, 1.4vw, 1.1rem) clamp(0.75rem, 1.5vw, 1.2rem) 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
    box-shadow: var(--phillaw-premium-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.jelly-layout .app-content {
    padding: clamp(0.85rem, 1.7vw, 1.5rem);
}

.jelly-layout :is(.card, .page-hero, .table-wrap) {
    border-radius: var(--phillaw-premium-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.jelly-layout .data-table tbody tr:hover,
.dean-layout .data-table tbody tr:hover,
.admin-layout .data-table tbody tr:hover {
    background: rgba(245, 197, 66, 0.11);
}

.student-portal .data-table {
    font-size: 0.86rem;
}

.student-portal .data-table th,
.student-portal .data-table td {
    padding: 0.44rem 0.62rem;
    line-height: 1.28;
    vertical-align: middle;
}

.professor-layout {
    overflow-x: hidden;
}

.professor-layout .professor-sidebar {
    padding: 12px;
}

.professor-layout .professor-brand {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.58rem;
    margin-bottom: 0.62rem;
    padding: 0.68rem;
    border-radius: 18px;
}

.professor-layout .professor-brand img {
    width: 40px;
    height: 40px;
    padding: 4px;
    border-radius: 12px;
}

.professor-layout .professor-brand strong {
    font-size: 0.9rem;
    line-height: 1.12;
}

.professor-layout .professor-brand small {
    font-size: 0.7rem;
    line-height: 1.15;
}

.professor-layout .professor-nav {
    gap: 0.16rem;
}

.professor-layout .professor-nav a {
    min-height: 36px;
    padding: 0.46rem 0.62rem;
    gap: 0.5rem;
    border-radius: 13px;
    font-size: 0.86rem;
}

.professor-layout .professor-nav a svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.professor-layout .professor-topbar {
    min-height: 60px;
    padding: 0.68rem 0.9rem;
}

.professor-layout .professor-table {
    font-size: var(--portal-table-compact-font);
}

.professor-layout .professor-table th,
.professor-layout .professor-table td {
    padding: var(--portal-table-compact-cell-y) var(--portal-table-compact-cell-x);
    line-height: 1.25;
    vertical-align: middle;
}

.professor-layout .professor-status {
    min-height: 23px;
    padding: 0.18rem 0.48rem;
    font-size: 0.7rem;
    line-height: 1.15;
}

@keyframes phillawPremiumPageIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    :where(.jelly-layout, .dean-layout, .student-portal) .app-shell,
    :where(.jelly-layout, .dean-layout, .student-portal).app-layout .app-shell {
        display: grid;
        grid-template-columns: 1fr;
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .app-sidebar,
    .dean-layout .dean-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(86vw, 340px);
        height: 100dvh;
        min-height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.24s ease;
        border-radius: 0 28px 28px 0;
        z-index: 100;
        overflow-y: auto;
    }

    :where(.jelly-layout, .dean-layout, .student-portal).premium-sidebar-open .app-sidebar,
    .dean-layout.premium-sidebar-open .dean-sidebar {
        transform: translateX(0);
    }

    .premium-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        background: rgba(20, 10, 38, 0.48);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        transition: opacity 0.2s ease;
    }

    :where(.jelly-layout, .dean-layout, .student-portal).premium-sidebar-open .premium-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .premium-sidebar-toggle {
        display: inline-flex;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 14px;
        border: 1px solid var(--phillaw-premium-border);
        background: rgba(255, 255, 255, 0.84);
        box-shadow: 0 10px 22px rgba(62, 24, 102, 0.1);
    }

    .premium-sidebar-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 99px;
        background: var(--phillaw-premium-purple-800);
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .topbar-left {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .app-topbar {
        margin: 0.75rem;
        border-radius: 20px;
    }

    :where(.admin-layout, .jelly-layout, .dean-layout) .data-table th,
    :where(.admin-layout, .jelly-layout, .dean-layout) .data-table td {
        padding: 0.56rem 0.68rem;
    }

    :where(.admin-layout, .jelly-layout, .dean-layout) :is(.admin-row-actions, .actions-right, .row-actions, .table-actions) {
        flex-wrap: wrap;
    }

    :where(.admin-layout, .jelly-layout, .dean-layout) :is(.admin-row-actions, .actions-right, .row-actions, .table-actions) :is(a, button, .btn-primary, .btn-secondary, .btn-outline),
    .admin-layout .admin-students-page .students-data-table td.admin-row-actions > a {
        min-height: 34px;
        padding: 0.42rem 0.68rem;
    }

    .admin-layout .admin-students-page .student-actions-layout,
    .admin-layout .admin-students-page .student-actions-primary,
    .admin-layout .admin-students-page .student-action-tools,
    .admin-layout .admin-students-page .student-action-tools > summary,
    .admin-layout .admin-students-page .student-action-tools__menu {
        width: 100%;
    }

    .admin-layout .admin-students-page .student-actions-layout {
        align-items: stretch;
    }

    .admin-layout .admin-students-page .student-actions-primary > *,
    .admin-layout .admin-students-page .student-action-tools__menu > * {
        flex: 1 1 auto;
    }
}

@media (max-width: 640px) {
    :where(.jelly-layout, .dean-layout, .student-portal) .app-content {
        padding: 0.75rem;
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .app-topbar {
        align-items: flex-start;
        padding: 0.72rem;
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .user-chip div {
        display: none;
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .btn-logout {
        min-height: 38px;
        padding-inline: 0.75rem;
        font-size: 0.82rem;
    }

    :where(.jelly-layout, .dean-layout, .student-portal) .app-sidebar,
    .dean-layout .dean-sidebar {
        width: min(92vw, 340px);
    }

    :where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .data-table {
        font-size: 0.84rem;
    }

    :where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) .sidebar-menu a {
        min-height: 42px;
        padding: 0.58rem 0.72rem;
    }

    .professor-layout .professor-nav a {
        min-height: 42px;
        padding: 0.58rem 0.72rem;
    }

    .professor-layout .professor-table {
        font-size: 0.84rem;
    }
}

@media print {
    .data-table,
    .data-table th,
    .data-table td {
        font-size: inherit;
        padding: inherit;
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) *,
    :where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) *::before,
    :where(.admin-layout, .jelly-layout, .dean-layout, .student-portal) *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .portal-presence-badge--online > span {
        animation: none !important;
    }
}
