.user-page .portal-mobile-menu { display: none; }
.user-page .portal-link-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}
.user-page .portal-link-cards a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    background: #fff;
    color: #34465e;
    text-decoration: none;
    font-weight: 700;
}
.user-page .portal-link-cards a:hover { border-color: #88a3dd; background: #f8faff; }
.user-page .portal-link-cards .ui-icon { width: 22px; height: 22px; flex: none; }
@media (max-width: 760px) {
    .user-page .portal-header-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 58px;
        padding: 8px 14px;
    }
    .user-page .portal-brand { margin: 0; }
    .user-page .portal-nav { display: none; }
    .user-page .portal-mobile-menu { display: block; position: relative; }
    .user-page .portal-mobile-menu summary {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border: 1px solid #d6deeb;
        border-radius: 11px;
        background: #fff;
        color: #344d78;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }
    .user-page .portal-mobile-menu summary::-webkit-details-marker { display: none; }
    .user-page .portal-mobile-menu nav {
        position: fixed;
        z-index: 50;
        right: 0;
        top: 58px;
        bottom: 0;
        width: min(82vw, 310px);
        max-height: calc(100dvh - 58px);
        overflow-y: auto;
        display: grid;
        gap: 3px;
        padding: 10px;
        border: 1px solid #dce4ef;
        border-radius: 0 0 0 15px;
        background: #fff;
        box-shadow: 0 16px 40px #1939572a;
    }
    .user-page .portal-mobile-menu nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 9px;
        color: #364b68;
        text-decoration: none;
        font-weight: 700;
    }
    .user-page .portal-mobile-menu nav a.active,
    .user-page .portal-mobile-menu nav a:hover { background: #eaf0fb; color: #385e9d; }
    .user-page .portal-mobile-menu nav .ui-icon { width: 20px; height: 20px; }
    .user-page .portal-topbar-actions { display: none; }
    .user-page .portal-link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .user-page .portal-link-cards a { padding: 11px; font-size: 13px; }
}
