/* ============================================================
   农门24集 ERP V3.1 — 公共样式表（高级化整改版）
   色板：#e63740(品牌红) #2563eb(信息蓝) #10b981(成功绿) #f59e0b(警告橙) #ef4444(危险红)
   中性色：#f8fafc(背景) #ffffff(卡片) #1e293b(文字主色) #64748b(文字次色)
   图标：Bootstrap Icons（禁止渐变紫、禁止emoji）
   ============================================================ */

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
}
a { color: #e63740; text-decoration: none; }
a:hover { color: #c62828; }

/* ===== CSS Variables ===== */
:root {
    --primary: #e63740;
    --primary-dark: #c52d35;
    --primary-light: #fef2f2;
    --info: #2563eb;
    --info-dark: #1d4ed8;
    --info-light: #eff6ff;
    --success: #10b981;
    --success-dark: #059669;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-light: #fef2f2;
    --dark: #1e293b;
    --dark2: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --bg-card: #ffffff;
    --bg-page: #f8fafc;
    --sidebar-width: 240px;
    --sidebar-bg: #1e293b;
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-hover: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.2s ease;
}

/* ===== Sidebar ===== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: white;
    padding: 0;
    flex-shrink: 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.sidebar-header {
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-header h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}
.sidebar-header h2 i { color: #e63740; font-size: 20px; }
.sidebar-header .user-info { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 8px; }
.sidebar-header .logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}
.sidebar-header .logout-btn:hover { color: rgba(255,255,255,0.9); }
.sidebar-menu { list-style: none; padding: 8px 0; }
.sidebar-menu li { margin-bottom: 1px; }
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 14px;
}
.sidebar-menu a:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.95); }
.sidebar-menu a.active {
    background: rgba(230,55,64,0.15);
    color: #ffffff;
    border-left-color: var(--primary);
    font-weight: 500;
}
.sidebar-menu a i { font-size: 16px; width: 20px; text-align: center; }

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 24px 28px;
    min-height: 100vh;
    background: var(--bg-page);
}

/* ===== Page Header ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-title i { color: var(--primary); }
.page-title .subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 8px;
}

/* ===== KPI Cards ===== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.kpi-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.kpi-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.kpi-card.red::before { background: var(--primary); }
.kpi-card.blue::before { background: var(--info); }
.kpi-card.green::before { background: var(--success); }
.kpi-card.orange::before { background: var(--warning); }
.kpi-card.purple::before { background: #8b5cf6; }
.kpi-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; font-weight: 500; }
.kpi-value { font-size: 24px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.kpi-sub { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== Action Bar ===== */
.action-bar {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.action-bar .title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Card ===== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}
.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-body { padding: 20px 24px; }

/* ===== Section (legacy dashboard) ===== */
.section {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}
.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Tab Navigation ===== */
.nav-tabs-custom {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 20px;
}
.nav-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-tab:hover { color: var(--text-primary); }
.nav-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== Buttons ===== */
.btn {
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    line-height: 1.5;
    font-family: inherit;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--info); color: white; }
.btn-primary:hover { background: var(--info-dark); }
.btn-danger { background: var(--primary); color: white; }
.btn-danger:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: var(--success-dark); }
.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: var(--warning-dark); }
.btn-info { background: var(--info); color: white; }
.btn-info:hover { background: var(--info-dark); }
.btn-outline { background: white; border: 1px solid var(--border); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-gray { background: #f1f5f9; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-gray:hover { background: #e2e8f0; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 10px 24px; font-size: 14px; }

/* ===== Tables ===== */
table { width: 100%; border-collapse: collapse; }
th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-primary);
}
tr:hover { background: #f8fafc; }
tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border-light); }

/* ===== Status Badges ===== */
.badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; display: inline-block; }
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-green { background: #ecfdf5; color: #059669; }
.badge-blue { background: #eff6ff; color: #2563eb; }
.badge-orange { background: #fffbeb; color: #d97706; }
.badge-gray { background: #f1f5f9; color: #64748b; }
.badge-purple { background: #f5f3ff; color: #7c3aed; }
.badge-info { background: #eff6ff; color: #2563eb; }
.badge-system { background: #fef2f2; color: #e63740; border: 1px dashed #e63740; }

/* ===== Form Controls ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-label .required { color: var(--primary); }
.form-control {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--text-primary);
    background: white;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,55,64,0.1);
}
.form-control:disabled, .form-control[readonly] {
    background: #f1f5f9;
    color: var(--text-muted);
    cursor: not-allowed;
}
.form-control.error { border-color: var(--danger); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
textarea.form-control { height: auto; padding: 10px 12px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }

/* ===== Filter Row ===== */
.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-input {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    min-width: 160px;
    background: white;
    transition: var(--transition);
    color: var(--text-primary);
    font-family: inherit;
}
.filter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,55,64,0.1);
}
.filter-select {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: white;
    color: var(--text-primary);
    font-family: inherit;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 20px;
    align-items: center;
}
.pagination button {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button.active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination-info { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ===== Modal / Dialog ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-header {
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 24px 32px; }
.modal-footer {
    padding: 16px 32px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Confirm Dialog ===== */
.confirm-dialog {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.confirm-dialog .confirm-icon { font-size: 40px; margin-bottom: 12px; color: var(--warning); }
.confirm-dialog .confirm-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.confirm-dialog .confirm-message { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.confirm-dialog .confirm-actions { display: flex; gap: 12px; justify-content: center; }
.confirm-dialog .confirm-actions .btn { min-width: 100px; justify-content: center; }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 12px 20px;
    border-radius: var(--radius);
    color: white;
    font-size: 14px;
    animation: toastSlideIn 0.3s ease;
    min-width: 200px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--info); }
.toast.warning { background: var(--warning); }
@keyframes toastSlideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastSlideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100px); opacity: 0; } }

/* ===== Detail Grid ===== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.detail-item { display: flex; gap: 8px; font-size: 14px; }
.detail-label { color: var(--text-muted); min-width: 80px; flex-shrink: 0; }
.detail-value { color: var(--text-primary); font-weight: 500; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i, .empty-state svg { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.3; }
.empty-state p { font-size: 14px; margin: 0; }
.empty-state .hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== Alert Items ===== */
.alert-item {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-info-box {
    background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius);
    padding: 12px 16px; margin-bottom: 16px; color: #1e40af; font-size: 13px;
    display: flex; align-items: center; gap: 8px;
}
.alert-success-box {
    background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--radius);
    padding: 12px 16px; margin-bottom: 16px; color: #065f46; font-size: 13px;
    display: flex; align-items: center; gap: 8px;
}

/* ===== SKU Grid ===== */
.sku-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sku-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}
.sku-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(230,55,64,0.08); }
.sku-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.sku-info .sku-code { font-size: 12px; color: var(--text-muted); font-family: 'SF Mono', Monaco, monospace; }
.sku-info .sku-name { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-top: 2px; }
.sku-info .sku-level { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== Expiry Colors ===== */
.expiry-critical { color: var(--primary); font-weight: 600; }
.expiry-warning { color: var(--warning); }
.expiry-normal { color: var(--success); }
.expiry-gray { color: var(--text-muted); }

/* ===== Flow Direction ===== */
.flow-in { color: var(--success); font-weight: 600; }
.flow-out { color: var(--primary); font-weight: 600; }
.flow-adjust { color: var(--warning); font-weight: 600; }

/* ===== Quick Action Buttons ===== */
.btn-action {
    padding: 14px 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-family: inherit;
}
.btn-action:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230,55,64,0.25);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.d-none { display: none !important; }
.divider { width: 1px; height: 32px; background: var(--border); margin: 0 4px; flex-shrink: 0; }

/* ===== SKU Manage Page Specific ===== */
.sku-manage-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.sku-category-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 16px;
}
.sku-category-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}
.sku-category-tab:hover { color: var(--text-primary); }
.sku-category-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #fef2f2;
    color: #e63740;
    border: 1px dashed #e63740;
}

/* ===== Loading Skeleton ===== */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-line { height: 16px; margin-bottom: 8px; }
.skeleton-text { height: 14px; width: 60%; }
.skeleton-table tr td { padding: 16px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .sidebar { width: 60px; }
    .sidebar-header h2 span, .sidebar-header .user-info, .sidebar-header .logout-btn, .sidebar-menu a span { display: none; }
    .sidebar-menu a { justify-content: center; padding: 14px; font-size: 18px; }
    .sidebar-menu a i { margin: 0; }
    .main-content { margin-left: 60px; padding: 16px; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .filter-row { flex-direction: column; }
    .filter-input, .filter-select { min-width: auto; width: 100%; }
}
