/* 导航链接：前台导航补充样式（仅结构性样式，颜色/字体全部继承核心主题） */

/* PC 顶栏：长标题省略，避免把右侧工具组挤出导航栏 */
.nl-nav-link {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 180px;
    flex: 0 1 auto;
}

.nl-nav-link .nl-nav-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 图标固定宽高，禁止被长标题挤压 */
.nl-nav-icon {
    flex: 0 0 auto;
    line-height: 1;
}

/* 移动端抽屉：标题允许换行，不溢出、不挤压 */
.nl-drawer-link {
    min-width: 0;
}

.nl-drawer-link .nl-drawer-text {
    min-width: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}
