@charset "UTF-8";
/**
 * 佳誉 ERP 2.0 — 核心布局（顶栏、侧栏、主区、Tabs、变量）
 * 自 legacy admin_standard 拆分
 */
/**
 * 佳誉 ERP 2.0 — 管理后台布局（顶栏 / 侧栏 / 主区 / Tabs）
 * 侧边栏、表格、表单、紧凑布局统一规范，避免套娃与样式冲突
 */

/* ==================== 变量（与 design-system 紧凑规范一致） ==================== */
.admin-standard {
    --erp-container-padding-x: 20px;
    --erp-table-row-height: 40px;
    --erp-table-header-bg: #F8F9FA;
    --erp-table-header-color: #333;
    --erp-table-border: #E9ECEF;
    --erp-card-padding: 1.25rem;
    --erp-input-height-compact: 32px;
    --erp-list-font-size: 13px;
    --font-family-compact: Inter, "Microsoft YaHei", sans-serif;
}

/* ==================== 全局顶栏 ==================== */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: stretch;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.top-header-brand {
    width: var(--sidebar-expanded-width);
    flex-shrink: 0;
    background: linear-gradient(180deg, #042618 0%, #052E21 40%, #064E3B 80%, #065F46 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 8px;
    gap: 5px;
    line-height: 1.35;
    transition: width 0.25s ease;
}
.top-header-brand-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.top-header-brand-sub {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
body.sidebar-slim .top-header-brand {
    width: 64px;
    min-width: 64px;
    padding: 0 2px;
    justify-content: center;
    overflow: hidden;
}
body.sidebar-slim .main-content { margin-left: 64px; }
body.sidebar-slim .top-header-brand-text {
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}
body.sidebar-slim .top-header-brand-sub { display: none; }
.top-header-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.top-header-left {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.top-header-global-search-wrap {
    flex: 1;
    min-width: 0;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 6px 12px 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.top-header-global-search-wrap:hover {
    background: #fff;
    border-color: #d1d5db;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}
.top-header-global-search-wrap:focus-within {
    background: #fff;
    border-color: #93c5fd;
    box-shadow: 0 0 0 1px #bfdbfe;
}
.top-header-global-search__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #9ca3af;
}
.top-header-global-search-wrap:hover .top-header-global-search__icon {
    color: #6b7280;
}
.top-header-global-search__icon path {
    stroke-width: 2px;
}
.top-header-global-search__input {
    flex: 1;
    min-width: 0;
    width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-family-compact, Inter, "Microsoft YaHei", sans-serif);
    color: #111827;
    padding: 0;
    margin: 0;
}
.top-header-global-search__input::placeholder {
    color: #9ca3af;
}
.top-header-global-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}
.top-header-global-search__kbd {
    flex-shrink: 0;
    padding: 2px 6px;
    font-size: 11px;
    font-family: ui-monospace, monospace;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 1px 0 #f3f4f6;
}
.top-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.top-header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-header-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4b5563;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.top-header-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.top-header-btn svg path {
    stroke-width: 2px;
}
.top-header-btn:hover {
    background-color: #f3f4f6;
    color: #111827;
}
/* 顶栏告警（问题布报障）：宪法 Warning 色 */
.top-header-btn.btn-warning {
    color: #f59e0b;
}
.top-header-btn.btn-warning:hover {
    background-color: #fef3c7;
    color: #d97706;
}
@media (max-width: 767px) {
    .top-header-btn-calc { display: none !important; }
}
.top-header-user-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(32, 74, 60, 0.05);
    padding: 6px 14px;
    border-radius: 999px;
}
.top-header-user-capsule .top-header-username {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.top-header-user-capsule .top-header-role {
    font-size: 12px;
    color: #5a5a5a;
}
.top-header-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a4a4a;
    text-decoration: none;
    padding: 6px 0;
    margin-left: 4px;
    transition: color 0.2s;
}
.top-header-logout:hover { color: #dc2626; }
.top-header-logout i { flex-shrink: 0; }

/* ==================== 侧边栏 ==================== */
body.admin-layout {
    display: flex;
    overflow-x: hidden;
    /* 展开态侧栏宽度：与顶栏品牌区、主区 margin-left、滑动面板列宽一致（sidebar_slide_nav.js 会按 .sidebar 实测宽度同步轨道） */
    --sidebar-expanded-width: 160px;
}
.sidebar {
    width: var(--sidebar-expanded-width);
    height: calc(100vh - 64px);
    top: 64px;
    background: linear-gradient(180deg, #042618 0%, #052E21 40%, #064E3B 80%, #065F46 100%);
    color: #ecfdf5;
    position: fixed;
    left: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: width 0.25s ease;
}
.sidebar .sidebar-slide-panel::-webkit-scrollbar { width: 4px; }
.sidebar .sidebar-slide-panel::-webkit-scrollbar-track { background: transparent; }
.sidebar .sidebar-slide-panel::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.3); border-radius: 10px; }
.sidebar .sidebar-slide-panel::-webkit-scrollbar-thumb:hover { background: rgba(16, 185, 129, 0.6); }
.sidebar .sidebar-slide-panel { scrollbar-width: thin; scrollbar-color: rgba(16, 185, 129, 0.3) transparent; }
.sidebar-header-slim-only { display: none; padding: 0; }
.sidebar-nav {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.sidebar-nav-list { list-style: none; }
.sidebar-nav-list > li { margin: 0; }
.nav-item {
    display: block;
    padding: 10px 16px;
    margin: 2px 8px;
    color: #a7f3d0;
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    border-radius: 6px;
}
.nav-item:hover { background: rgba(16, 185, 129, 0.2); color: #fff; }
.nav-item.active {
    background: rgba(16, 185, 129, 0.3);
    color: #fff !important;
    font-weight: 700;
    border-left-color: #10B981;
}
.nav-item-icon { display: inline-block; width: 20px; margin-right: 10px; text-align: center; }
.nav-item-icon.fa-solid, .nav-item-icon.fa-regular { width: auto; min-width: 20px; font-size: 1.05em; }
.nav-group-label {
    cursor: pointer;
    color: #a7f3d0;
    font-weight: 600;
    padding: 10px 16px;
    margin: 2px 8px;
    display: block;
    border-radius: 6px;
    border-left: 3px solid transparent;
}
.nav-submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    background: rgba(0,0,0,0.2);
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
/* 基础设置等子菜单项较多：固定上限会裁切底部入口，展开后允许内部纵向滚动 */
.nav-li-has-sub.active .nav-submenu {
    display: block;
    max-height: min(78vh, 720px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.45) transparent;
}
.nav-li-has-sub.active .nav-submenu::-webkit-scrollbar { width: 4px; }
.nav-li-has-sub.active .nav-submenu::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.35);
    border-radius: 10px;
}
.nav-submenu li { margin: 0; }
.nav-submenu .nav-item {
    padding: 8px 16px 8px 44px;
    margin: 2px 8px 2px 16px;
    font-size: 13px;
    color: #d1fae5;
    border-radius: 6px;
    border-left: 3px solid transparent;
}
/* 基础设置等：一级子菜单内的分组标题 + 三级叶子链接缩进（与库存「库存/盘点」同级模式一致） */
.nav-submenu > .nav-li-has-sub > .nav-group-label {
    padding-left: 28px;
    font-size: 13px;
}
.nav-submenu .nav-submenu > li > .nav-item {
    padding-left: 52px;
}
.nav-submenu .nav-item:hover { background: rgba(16, 185, 129, 0.3); color: #fff; }
.nav-submenu .nav-item.active {
    font-weight: 700;
    color: #fff !important;
    border-left-color: #10B981;
    background: rgba(6, 78, 59, 0.95);
}
.nav-li-has-sub.active > .nav-group-label {
    background: rgba(16, 185, 129, 0.2);
    color: #fff;
    border-left-color: #10B981;
}
/* 使用 \\25BC 避免源码中非 ASCII 字符在错误 charset 下变成 â–¼ 等乱码 */
.nav-li-has-sub > .nav-group-label::after {
    content: '\25BC';
    float: right;
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.25s;
}
.nav-li-has-sub.active > .nav-group-label::after { transform: rotate(180deg); }
.sidebar-toggle {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin: 8px 0 0 0;
    background: rgba(0,0,0,0.2);
    border: none;
    color: #a7f3d0;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    border-radius: 6px;
    transition: background 0.2s;
}
.sidebar-toggle:hover { background: rgba(16, 185, 129, 0.3); color: #fff; }
.sidebar-toggle {
    flex-shrink: 0;
    margin-top: auto;
}
/* 窄栏：与顶栏品牌区同宽 64px；禁止横向溢出以免与主区重叠。品牌仅保留顶栏一处「方圆」，侧栏内不再重复 pseudo 文案 */
.sidebar.sidebar-slim {
    width: 64px;
    min-width: 64px;
    overflow-x: hidden;
    overflow-y: auto;
}
.sidebar.sidebar-slim .nav-submenu { display: none !important; }
.sidebar.sidebar-slim .sidebar-header-slim-only {
    display: none !important;
}
.sidebar.sidebar-slim .nav-group-label::after { display: none !important; }
/* 窄栏：整轨 64px 内水平居中图标，避免 max-width+margin:auto 右偏与 overflow 裁切 */
.sidebar.sidebar-slim .sidebar-nav-list > li {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
.sidebar.sidebar-slim .nav-item,
.sidebar.sidebar-slim .nav-group-label {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 2px 0;
    padding: 12px 0;
    text-align: center;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    overflow: visible;
    border-left: none !important;
}
.sidebar.sidebar-slim .nav-item.active,
.sidebar.sidebar-slim .nav-li-has-sub.active > .nav-group-label {
    box-shadow: inset 3px 0 0 #10B981;
}
.sidebar.sidebar-slim .nav-item .nav-item-icon,
.sidebar.sidebar-slim .nav-group-label .nav-item-icon {
    font-size: 18px;
    line-height: 1;
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
    vertical-align: middle;
}
.sidebar.sidebar-slim .nav-item-icon.fa-solid,
.sidebar.sidebar-slim .nav-item-icon.fa-regular {
    font-size: 16px;
    min-width: 1em;
}
.sidebar.sidebar-slim #sidebar-toggle {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    /* 保留 .sidebar-toggle 的 margin-top: auto，侧栏底栏贴底 */
    padding: 10px 0;
    font-size: 0;
    line-height: 0;
    overflow: visible;
}
.sidebar.sidebar-slim #sidebar-toggle::after { content: '\25B6'; font-size: 12px; line-height: 1.2; }
body.sidebar-slim .main-content { margin-left: 64px; }
.main-content {
    flex: 1;
    margin-left: var(--sidebar-expanded-width);
    padding-top: 64px;
    min-height: 100vh;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: #F0FDF4;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.25s ease;
}
.content-wrapper { padding: 0; }

/* ==================== Tabs Bar ==================== */
.tabs-bar {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 40px;
    max-height: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #d1fae5;
    flex-shrink: 0;
    overflow: hidden;
}
.tab-items {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(6, 78, 59, 0.35) transparent;
    -webkit-overflow-scrolling: touch;
}
.tab-items::-webkit-scrollbar {
    height: 4px;
}
.tab-items::-webkit-scrollbar-thumb {
    background: rgba(6, 78, 59, 0.35);
    border-radius: 4px;
}
.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 30px;
    margin-top: 2px;
    font-size: 13px;
    color: #374151;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 160px;
    min-width: 80px;
    flex-shrink: 0;
}
.tab-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-item-fixed { order: -1; flex-shrink: 0; }
.tab-item:hover { background: #d1fae5; color: #064E3B; }
.tab-item-fixed:hover { background: #e5e7eb; color: #374151; }
.tab-item-fixed.active:hover { background: #064E3B; color: #fff; }
.tab-item.active {
    background: #064E3B;
    color: #fff;
    border-color: #064E3B;
    font-weight: 600;
    z-index: 1;
    margin-bottom: -1px;
    padding-bottom: 1px;
}
.tab-close {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.1);
    color: inherit;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.tab-close:hover { background: rgba(0,0,0,0.2); }
.tab-item.active .tab-close:hover { background: rgba(255,255,255,0.3); }
.tabs-actions { margin-left: 8px; display: flex; gap: 6px; flex-shrink: 0; }
.tabs-actions button { padding: 4px 10px; font-size: 12px; height: 28px; border-radius: 6px; border: 1px solid #d1fae5; background: #f0fdf4; cursor: pointer; }
.tabs-actions button:hover { background: #dcfce7; }
.tab-frames { flex: 1; position: relative; min-height: 0; overflow: hidden; }
.tab-panel { display: none; position: absolute; inset: 0; overflow: auto; }
.tab-panel.active { display: block; z-index: 1; }
/* 仅对「整页即 iframe」的标签页（addTab 注入的直接子级）使用 height:100%；
   嵌套 iframe（如客户工作台内再嵌入价格页）若套用 height:100% 且外层无明确高度，会形成百分比环导致极矮。 */
.tab-panel iframe { width: 100%; min-height: 240px; border: none; }
.tab-panel > iframe { height: 100%; }
.tab-panel .tab-inner-content { min-height: 100%; padding: 0; }

/* ========== 左侧菜单：三级横向滑动（与 sidebar_slide_nav.js 配套） ========== */
body:not(.sidebar-slim) .sidebar-nav-list.sidebar-source {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.sidebar-slim .sidebar-nav-list.sidebar-source {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: normal;
}
body.sidebar-slim .sidebar-slide-shell {
    display: none !important;
}
/* 滑动菜单区内边距：略收窄，避免按钮条视觉上撑满整列；顶边距与顶栏品牌区收紧后对齐 */
.sidebar-slide-shell {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 6px 0 6px;
    --slide-gutter: 6px;
    --slide-btn-pad-y: 7px;
    --slide-btn-pad-x: 10px;
}
.sidebar-slide-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 6px;
    min-height: 32px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}
.sidebar-slide-back {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    color: #ecfdf5;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.sidebar-slide-back:hover {
    background: rgba(16, 185, 129, 0.35);
    color: #fff;
}
.sidebar-slide-back:active { transform: scale(0.96); }
.sidebar-slide-crumb {
    font-size: 12px;
    color: #a7f3d0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-slide-viewport {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}
.sidebar-slide-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: calc(2 * var(--sidebar-expanded-width));
    transform: translateX(0);
    transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}
.sidebar-slide-panel {
    flex: 0 0 var(--sidebar-expanded-width);
    width: var(--sidebar-expanded-width);
    max-width: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.45) transparent;
}
.sidebar-slide-tier {
    list-style: none;
    margin: 0;
    padding: 4px 0 12px;
}
.sidebar-slide-li { margin: 0; }
.sidebar-slide-folder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: calc(100% - 2 * var(--slide-gutter, 6px));
    margin: 3px var(--slide-gutter, 6px);
    padding: var(--slide-btn-pad-y, 7px) var(--slide-btn-pad-x, 10px);
    text-align: left;
    border: none;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
    color: #ecfdf5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.sidebar-slide-folder:hover {
    background: rgba(16, 185, 129, 0.28);
    color: #fff;
}
.sidebar-slide-folder:active { transform: scale(0.98); }
.sidebar-slide-folder-chev {
    opacity: 0.65;
    font-size: 15px;
    font-weight: 400;
    margin-left: 6px;
}
.sidebar-slide-tier > .sidebar-slide-li > a.nav-item {
    box-sizing: border-box;
    width: calc(100% - 2 * var(--slide-gutter, 6px));
    margin: 2px var(--slide-gutter, 6px) !important;
    padding: var(--slide-btn-pad-y, 7px) var(--slide-btn-pad-x, 10px) !important;
    font-size: 13px;
    border-radius: 6px;
}
.sidebar-slide-tier .nav-item.active {
    background: rgba(6, 78, 59, 0.95);
    border-left-color: #10B981;
}

/* 二级屏内：三级向下展开（手风琴），不横向滑走二级列表 */
.sidebar-slide-nested-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: calc(100% - 2 * var(--slide-gutter, 6px));
    margin: 3px var(--slide-gutter, 6px);
    padding: var(--slide-btn-pad-y, 7px) var(--slide-btn-pad-x, 10px);
    text-align: left;
    border: none;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
    color: #ecfdf5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.sidebar-slide-nested-toggle:hover {
    background: rgba(16, 185, 129, 0.28);
    color: #fff;
}
.sidebar-slide-nested-toggle:active { transform: scale(0.99); }
.sidebar-slide-nested-chev {
    flex-shrink: 0;
    margin-left: 6px;
    font-size: 9px;
    opacity: 0.75;
    transition: transform 0.25s ease;
}
.sidebar-slide-li--has-nested.is-open .sidebar-slide-nested-chev {
    transform: rotate(-180deg);
}
.sidebar-slide-nested-list {
    list-style: none;
    margin: 0 var(--slide-gutter, 6px) 4px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}
.sidebar-slide-li--has-nested.is-open .sidebar-slide-nested-list {
    max-height: 2000px;
}
.sidebar-slide-nested-subli .nav-item {
    box-sizing: border-box;
    width: calc(100% - 2 * var(--slide-gutter, 6px));
    padding: 6px 8px 6px 22px !important;
    margin-left: var(--slide-gutter, 6px) !important;
    margin-right: var(--slide-gutter, 6px) !important;
    font-size: 12px;
    border-radius: 6px;
}
.sidebar-slide-nested-subli .nav-item.active {
    background: rgba(6, 78, 59, 0.95);
    border-left-color: #10B981;
}
