/* ============================================================
   Faculty Portal — بوابة الكادر الأكاديمي (مشرف / دكتور)
   ============================================================ */

.fp-portal {
    --fp-sidebar: #141c2e;
    --fp-sidebar-deep: #0c1220;
    --fp-accent-sup: #8b5cf6;
    --fp-accent-doc: #0ea5e9;
    --fp-accent: var(--fp-accent-sup);
    --fp-gold: #c9a227;
    --fp-surface: #f4f6fb;
    --fp-card: #ffffff;
    --fp-text: #1e293b;
    --fp-muted: #64748b;
    --fp-border: rgba(30, 41, 59, 0.08);
    --fp-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    min-height: 100vh;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.fp-portal--doctor {
    --fp-accent: var(--fp-accent-doc);
}

.fp-portal .admin-layout {
    display: flex !important;
    min-height: 100vh !important;
    background: var(--fp-surface) !important;
}

.fp-portal .fp-sidebar {
    width: 272px !important;
    min-height: 100vh !important;
    background: linear-gradient(175deg, var(--fp-sidebar) 0%, var(--fp-sidebar-deep) 100%) !important;
    border: none !important;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.18) !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 120 !important;
}

.fp-portal .fp-sidebar__brand {
    padding: 28px 22px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fp-portal .fp-sidebar__brand-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fp-portal .fp-sidebar__logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fp-accent), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.fp-portal--doctor .fp-sidebar__logo {
    background: linear-gradient(135deg, var(--fp-accent-doc), #0284c7);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.fp-portal .fp-sidebar__logo i,
.fp-portal .fp-sidebar__logo svg {
    color: #fff !important;
    stroke: #fff !important;
    width: 26px !important;
    height: 26px !important;
}

.fp-portal .fp-sidebar__title {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.35 !important;
}

.fp-portal .fp-sidebar__subtitle {
    margin: 4px 0 0 !important;
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.fp-portal .fp-nav {
    flex: 1;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fp-portal .fp-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    min-height: 48px;
    border-radius: 12px !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.fp-portal .fp-nav-item span {
    color: #ffffff !important;
}

.fp-portal .fp-nav-item i,
.fp-portal .fp-nav-item svg,
.fp-portal .fp-nav-item [data-lucide] {
    width: 20px !important;
    height: 20px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    stroke: rgba(255, 255, 255, 0.85) !important;
    flex-shrink: 0;
}

.fp-portal .fp-nav-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.fp-portal .fp-nav-item:hover span {
    color: #ffffff !important;
}

.fp-portal .fp-nav-item.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0.12)) !important;
    border-color: rgba(139, 92, 246, 0.45) !important;
    color: #ffffff !important;
}

.fp-portal .fp-nav-item.active span {
    color: #ffffff !important;
}

.fp-portal--doctor .fp-nav-item.active {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.25), rgba(14, 165, 233, 0.08)) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
}

.fp-portal .fp-nav-item.active i,
.fp-portal .fp-nav-item.active svg {
    color: var(--fp-accent) !important;
    stroke: var(--fp-accent) !important;
}

.fp-portal .fp-sidebar__footer {
    padding: 18px 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fp-portal .fp-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-portal .fp-user-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fp-accent), #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fp-portal .fp-user-card__avatar i,
.fp-portal .fp-user-card__avatar svg {
    color: #fff !important;
    stroke: #fff !important;
    width: 22px !important;
    height: 22px !important;
}

.fp-portal .fp-user-card__name {
    margin: 0 !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    color: #fff !important;
}

.fp-portal .fp-user-card__role {
    margin: 2px 0 0 !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.fp-portal .fp-pass-panel {
    margin-bottom: 12px;
    padding: 14px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 12px;
}

.fp-portal .fp-pass-panel label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 8px;
}

.fp-portal .fp-pass-panel input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: #fff !important;
    margin-bottom: 10px;
    font-family: inherit;
}

.fp-portal .fp-btn-outline {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    border: 1px solid rgba(201, 162, 39, 0.4);
    background: rgba(201, 162, 39, 0.12);
    color: #fbbf24 !important;
    transition: all 0.2s;
}

.fp-portal .fp-btn-outline:hover {
    background: rgba(201, 162, 39, 0.22);
}

.fp-portal .fp-btn-logout {
    width: 100%;
    margin-top: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #f87171 !important;
    transition: all 0.2s;
}

.fp-portal .fp-btn-logout:hover {
    background: rgba(239, 68, 68, 0.22);
}

.fp-portal .fp-main {
    flex: 1 !important;
    padding: 32px 36px 48px !important;
    background: var(--fp-surface) !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
}

.fp-portal .fp-page-header {
    margin-bottom: 28px;
}

.fp-portal .fp-page-header h2 {
    margin: 0 0 8px !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--fp-text) !important;
    letter-spacing: -0.02em;
}

.fp-portal .fp-page-header p {
    margin: 0 !important;
    color: var(--fp-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.fp-portal .fp-card {
    background: var(--fp-card) !important;
    border: 1px solid var(--fp-border) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: var(--fp-shadow) !important;
    margin-bottom: 24px !important;
}

.fp-portal .fp-card h3 {
    margin: 0 0 16px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--fp-text) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-portal .fp-stat-pill {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fp-accent);
    margin: 4px 0;
}

.fp-portal .fp-table-wrap {
    background: var(--fp-card) !important;
    border: 1px solid var(--fp-border) !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: var(--fp-shadow) !important;
}

.fp-portal .fp-table-wrap .data-table {
    margin: 0 !important;
    width: 100% !important;
}

.fp-portal .fp-table-wrap .data-table thead th {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9) !important;
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid var(--fp-border) !important;
}

.fp-portal .fp-table-wrap .data-table tbody td {
    padding: 14px 16px !important;
    color: var(--fp-text) !important;
    border-bottom: 1px solid var(--fp-border) !important;
    vertical-align: middle !important;
}

.fp-portal .fp-table-wrap .data-table tbody tr:hover td {
    background: rgba(139, 92, 246, 0.04) !important;
}

.fp-portal--doctor .fp-table-wrap .data-table tbody tr:hover td {
    background: rgba(14, 165, 233, 0.04) !important;
}

.fp-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fp-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.15s, box-shadow 0.15s;
}

.fp-act-btn i,
.fp-act-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.fp-act-btn--view {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.fp-act-btn--view i,
.fp-act-btn--view svg {
    color: #fff !important;
    stroke: #fff !important;
}

.fp-act-btn--view:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}

.fp-act-btn--report {
    background: #fff;
    color: #059669 !important;
    border: 1.5px solid rgba(5, 150, 105, 0.35) !important;
}

.fp-act-btn--report i,
.fp-act-btn--report svg {
    color: #059669 !important;
    stroke: #059669 !important;
}

.fp-act-btn--report:hover {
    background: rgba(5, 150, 105, 0.08);
    transform: translateY(-1px);
}

/* Login modal */
#faculty-portal-login-modal .modal-content {
    border-radius: 20px !important;
    border: 1px solid rgba(108, 76, 241, 0.15) !important;
}

.btn-faculty-portal {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-faculty-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
}

.fp-login-combobox {
    position: relative;
}

.fp-login-suggestions {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    margin: 6px 0 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    max-height: 240px;
    overflow-y: auto;
}

.fp-login-suggestion {
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.fp-login-suggestion:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(14, 165, 233, 0.05));
}

.fp-sug-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.fp-sug-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fp-sug-avatar i,
.fp-sug-avatar svg {
    width: 18px;
    height: 18px;
}

.fp-sug-text {
    min-width: 0;
    text-align: right;
}

.fp-sug-name {
    display: block;
    font-weight: 800;
    color: #1e293b;
    font-size: 0.9rem;
    line-height: 1.35;
}

.fp-sug-role-line {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
}

.fp-sug-chevron {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}

.fp-login-suggestion.fp-login-empty {
    flex-direction: column;
    gap: 8px;
    cursor: default;
    color: #64748b;
    font-size: 0.85rem;
    text-align: center;
    padding: 16px;
}

.fp-login-search-tip {
    display: block;
    margin-top: 8px;
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.5;
}

.fp-sug-meta {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.fp-role-sup {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}

.fp-role-doc {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.fp-login-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.fp-portal .mobile-toggle-btn {
    display: none;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    color: #ffffff !important;
    align-items: center;
    justify-content: center;
}

.fp-portal .mobile-toggle-btn i,
.fp-portal .mobile-toggle-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* شبكة بطاقات الرئيسية — جوال / لابتوب */
.fp-portal .fp-stats-grid,
.fp-portal #fp-home-td-stats .td-stats-grid,
.fp-portal #fp-home-td-stats [class*="stats"] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.fp-portal #fp-home-td-stats h3,
.fp-portal #fp-home-students-preview h3 {
    color: var(--fp-text) !important;
}

/* PWA — مساحة آمنة وزر الشكاوى */
#admin-dashboard:has(.fp-portal) {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.fp-portal .fp-main {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ── تجاوز قواعد style.css (نص أسود / خلفية بيضاء على الشريط) ── */
.fp-portal .fp-sidebar.admin-sidebar {
    background-color: var(--fp-sidebar-deep) !important;
    background-image: linear-gradient(175deg, var(--fp-sidebar) 0%, var(--fp-sidebar-deep) 100%) !important;
    color: #ffffff !important;
}

.fp-portal .fp-sidebar.admin-sidebar h1,
.fp-portal .fp-sidebar.admin-sidebar h2,
.fp-portal .fp-sidebar.admin-sidebar h3,
.fp-portal .fp-sidebar.admin-sidebar h4,
.fp-portal .fp-sidebar.admin-sidebar p,
.fp-portal .fp-sidebar.admin-sidebar span,
.fp-portal .fp-sidebar.admin-sidebar div:not(.fp-user-card__avatar),
.fp-portal .fp-sidebar.admin-sidebar label,
.fp-portal .fp-sidebar.admin-sidebar strong,
.fp-portal .fp-sidebar.admin-sidebar small {
    color: rgba(255, 255, 255, 0.92) !important;
}

.fp-portal .fp-sidebar .fp-sidebar__title,
.fp-portal .fp-sidebar .fp-nav-item,
.fp-portal .fp-sidebar .fp-nav-item span,
.fp-portal .fp-sidebar .fp-user-card__name,
.fp-portal .fp-sidebar .fp-btn-outline,
.fp-portal .fp-sidebar .fp-btn-logout {
    color: #ffffff !important;
}

.fp-portal .fp-sidebar .fp-sidebar__subtitle,
.fp-portal .fp-sidebar .fp-user-card__role {
    color: rgba(255, 255, 255, 0.55) !important;
}

.fp-portal .fp-sidebar .fp-btn-outline {
    color: #fcd34d !important;
}

.fp-portal .fp-sidebar .fp-btn-logout {
    color: #fca5a5 !important;
}

.fp-portal .fp-sidebar i,
.fp-portal .fp-sidebar svg,
.fp-portal .fp-sidebar [data-lucide] {
    color: rgba(255, 255, 255, 0.9) !important;
    stroke: rgba(255, 255, 255, 0.9) !important;
}

.fp-portal .fp-sidebar .fp-nav-item.active i,
.fp-portal .fp-sidebar .fp-nav-item.active svg,
.fp-portal .fp-sidebar .fp-nav-item.active [data-lucide] {
    color: #e9d5ff !important;
    stroke: #e9d5ff !important;
}

.fp-portal--doctor .fp-sidebar .fp-nav-item.active i,
.fp-portal--doctor .fp-sidebar .fp-nav-item.active svg {
    color: #bae6fd !important;
    stroke: #bae6fd !important;
}

/* المحتوى الرئيسي يبقى داكن النص */
.fp-portal .fp-main.admin-sidebar,
.fp-portal .fp-main {
    background-color: var(--fp-surface) !important;
    background-image: none !important;
    color: var(--fp-text) !important;
}

.fp-portal .fp-main h1,
.fp-portal .fp-main h2,
.fp-portal .fp-main h3,
.fp-portal .fp-main h4,
.fp-portal .fp-main p,
.fp-portal .fp-main span:not(.fp-act-btn span),
.fp-portal .fp-main div,
.fp-portal .fp-main label,
.fp-portal .fp-main td,
.fp-portal .fp-main th {
    color: inherit;
}

.fp-portal .fp-main .fp-page-header h2 {
    color: var(--fp-text) !important;
}

.fp-portal .fp-main .fp-page-header p {
    color: var(--fp-muted) !important;
}

/* ── جوال: شريط علوي + قائمة منزلقة ── */
.fp-mobile-topbar {
    display: none;
}

.fp-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1090;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.fp-sidebar-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

body.fp-menu-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .fp-mobile-topbar {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1080;
        height: 56px;
        padding: 0 14px;
        padding-top: env(safe-area-inset-top, 0px);
        background: #ffffff;
        border-bottom: 1px solid var(--fp-border);
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }

    .fp-mobile-menu-btn,
    .fp-mobile-logout-btn {
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 12px;
        background: var(--fp-surface);
        color: var(--fp-text);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }

    .fp-mobile-topbar__info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .fp-mobile-topbar__name {
        font-weight: 700;
        font-size: 0.92rem;
        color: var(--fp-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fp-mobile-topbar__role {
        font-size: 0.72rem;
        color: var(--fp-muted);
    }

    .fp-portal .admin-layout {
        flex-direction: column !important;
        padding-top: calc(56px + env(safe-area-inset-top, 0px));
    }

    .fp-portal .fp-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: min(300px, 88vw) !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1100 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fp-portal .fp-sidebar.open {
        transform: translateX(0);
    }

    .fp-sidebar-overlay {
        display: block;
    }

    .fp-portal .fp-nav {
        display: flex !important;
        flex-direction: column;
        padding-bottom: 8px;
    }

    .fp-portal .fp-sidebar__brand {
        padding: 16px 14px;
    }

    .fp-portal .mobile-toggle-btn {
        display: inline-flex !important;
    }

    .fp-portal .fp-sidebar__footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .fp-portal .fp-main {
        padding: 16px 14px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: calc(100vh - 56px) !important;
        height: auto !important;
        width: 100% !important;
    }

    .fp-portal .fp-page-header h2 {
        font-size: 1.35rem !important;
    }

    .fp-portal .fp-card {
        padding: 18px !important;
        border-radius: 14px !important;
    }

    .fp-portal .fp-table-wrap {
        border-radius: 14px !important;
    }

    .fp-portal .fp-table-wrap .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .fp-row-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fp-act-btn {
        justify-content: center;
        min-height: 44px;
        padding: 12px 14px;
    }

    .fp-act-btn span {
        display: inline;
    }

    .fp-portal .fp-user-card,
    .fp-portal .fp-btn-outline,
    .fp-portal .fp-btn-logout {
        min-height: 44px;
    }
}

@media (min-width: 992px) {
    .fp-portal .fp-nav {
        display: flex !important;
    }

    .fp-portal .mobile-toggle-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .fp-portal .fp-stats-grid,
    .fp-portal #fp-home-td-stats .td-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fp-portal .fp-stat-pill {
        font-size: 1.6rem;
    }
}
