._expandedRow_1wpmn_1{background:#e0f2fe!important;transition:background .2s}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f8fafc;color:#0f172a}button{cursor:pointer}.tc-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.tc-form .field{display:flex;flex-direction:column;gap:6px}.tc-form .field.full{grid-column:1 / -1}.tc-form .field>label{font-size:13px;font-weight:600;color:#334155}.tc-form input,.tc-form select,.tc-form textarea{padding:9px 11px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;font-family:inherit;background:#fff;color:#0f172a;width:100%;transition:border-color .15s,box-shadow .15s}.tc-form input:focus,.tc-form select:focus,.tc-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb2e}.tc-form textarea{resize:vertical;min-height:64px}.tc-form .actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid #e2e8f0;margin-top:4px}.tc-form .btn-cancel,.tc-form .btn-save{padding:9px 18px;border:0;border-radius:6px;font-weight:600;font-size:14px;cursor:pointer;transition:filter .15s}.tc-form .btn-cancel{background:#e2e8f0;color:#334155}.tc-form .btn-save{color:#fff}.tc-form .btn-save.thu{background:#16a34a}.tc-form .btn-save.chi{background:#dc2626}.tc-form .btn-save:hover,.tc-form .btn-cancel:hover{filter:brightness(.95)}.tc-summary{display:flex;gap:12px;margin-bottom:14px;flex-wrap:wrap}.tc-summary .card{padding:12px 18px;border-radius:10px;font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px;min-width:200px;border:1px solid transparent}.tc-summary .card.thu{background:#dcfce7;color:#166534;border-color:#bbf7d0}.tc-summary .card.chi{background:#fee2e2;color:#991b1b;border-color:#fecaca}.tc-summary .card.balance{background:#dbeafe;color:#1e3a8a;border-color:#bfdbfe;font-weight:700}.tc-summary .card.balance.neg{background:#fef3c7;color:#92400e;border-color:#fde68a}.tc-badge{padding:3px 12px;border-radius:12px;font-size:12px;font-weight:700;letter-spacing:.3px}.tc-badge.thu{background:#dcfce7;color:#166534}.tc-badge.chi{background:#fee2e2;color:#991b1b}.tc-amount{text-align:right;font-weight:700;white-space:nowrap}.tc-amount.thu{color:#166534}.tc-amount.chi{color:#991b1b}.tc-note-cell{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tc-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.tc-filters .date-field{display:flex;align-items:center;gap:6px;font-size:13px;color:#475569}.tc-filters .btn-chi{background:#dc2626!important}body.dark-theme .tc-form .field>label{color:#cbd5e1}body.dark-theme .tc-form input,body.dark-theme .tc-form select,body.dark-theme .tc-form textarea{background:#1e293b;color:#e2e8f0;border-color:#475569}body.dark-theme .tc-form .actions{border-top-color:#334155}body.dark-theme .tc-form .btn-cancel{background:#334155;color:#e2e8f0}.tc-link-tag{display:inline-block;padding:2px 8px;border-radius:8px;font-size:11px;font-weight:700}.tc-link-tag.kh{background:#e0f2fe;color:#075985}.tc-link-tag.ncc{background:#fef3c7;color:#92400e}.tc-link-tag.none{background:transparent;color:#94a3b8}.tc-code{color:#64748b;font-size:11px}.tc-banner{padding:10px 12px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid transparent;line-height:1.5}.tc-banner.ok{background:#ecfdf5;color:#065f46;border-color:#a7f3d0}.tc-banner.warn{background:#fffbeb;color:#92400e;border-color:#fcd34d}.dropdown-item:focus,.dropdown-item:hover{background-color:#e0f2fe!important;color:#1d4ed8!important;font-weight:600;outline:none!important}.pos-input:focus{outline:none!important;border-color:#2563eb!important;box-shadow:0 0 0 3px #2563eb33!important}.layout{display:flex;min-height:100vh}.sidebar{width:260px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;padding:20px 12px;position:sticky;top:0;align-self:flex-start;height:100vh;overflow:visible;flex-shrink:0;transition:width .4s cubic-bezier(.4,0,.2,1)}.toggle-btn{position:absolute;right:-14px;top:36px;width:26px;height:26px;border-radius:50%;background:#fff;color:#0f172a;border:1px solid #e2e8f0;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:11px;z-index:30;transition:background-color .2s,right .4s}.toggle-btn:hover{background:#f8fafc}.toggle-btn i{transition:transform .3s}.sidebar-header{display:flex;align-items:center;gap:12px;padding:10px 10px 30px}.logo-box{background:#0f172a;color:#fff;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;flex-shrink:0}.logo-text{color:#0f172a;font-weight:800;font-size:16px;letter-spacing:.5px;white-space:nowrap;opacity:1;transition:opacity .15s ease .15s}.menu{display:flex;flex-direction:column;gap:6px;flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.menu-item{display:flex;align-items:center;padding:12px 16px;color:#64748b;text-decoration:none;border-radius:12px;font-weight:600;font-size:14.5px;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer}.menu-item i{width:24px;font-size:18px;margin-right:12px;display:flex;justify-content:center;color:#94a3b8;transition:transform .3s cubic-bezier(.175,.885,.32,1.275),color .3s ease}.menu-text{white-space:nowrap;opacity:1;transition:opacity .15s ease .15s}.menu-item:hover{background-color:#f8fafc;color:#0f172a;padding-left:20px}.menu-item:hover i{color:#0f172a;transform:scale(1.1)}.menu-item.active{background-color:#f1f5f9;color:#0f172a}.menu-item.active i{color:#0f172a}.sidebar.collapsed{width:86px}.sidebar.collapsed .logo-text,.sidebar.collapsed .menu-text,.sidebar.collapsed .user-info{opacity:0;pointer-events:none;width:0;overflow:hidden;transition:opacity .1s ease}.sidebar.collapsed .sidebar-header{justify-content:center;padding-left:0;padding-right:0}.sidebar.collapsed .menu-item{justify-content:center;padding:0;width:46px;height:46px;margin:0 auto}.sidebar.collapsed .menu-item i{margin-right:0;font-size:20px}.sidebar.collapsed .menu-item:hover{padding-left:0;transform:scale(1.1)}.sidebar.collapsed .toggle-btn i{transform:rotate(180deg)}.sidebar.collapsed .btn-logout{padding:10px 0}.sidebar-footer{padding:16px 10px;border-top:1px solid #e2e8f0}.user-info{font-size:12px;color:#64748b;margin-bottom:8px}.btn-logout{width:100%;padding:8px;background:#fee2e2;color:#dc2626;border:1px solid #fecaca;border-radius:6px;font-weight:600}.main-content{flex:1;padding:0 24px 24px;min-width:0}.page{max-width:1400px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid #e2e8f0;padding:12px 0;margin-bottom:16px;position:sticky;top:0;z-index:20;background:#f8fafc}.page-header h1{font-size:22px}.filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filters input,.filters button{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}.filters button{background:#0f172a;color:#fff;border-color:#0f172a;font-weight:600}.filters button:disabled{opacity:.6}.table-wrap{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000000d;overflow:auto;max-height:calc(100vh - 220px)}table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}th,td{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left;background-clip:padding-box}th{background:#f1f5f9;font-weight:700;color:#334155;position:sticky;top:0;z-index:2;box-shadow:inset 0 -1px #cbd5e1}tfoot td{background:#f8fafc;font-size:15px;position:sticky;bottom:0;z-index:2;box-shadow:inset 0 1px #cbd5e1}td.r,th.r{text-align:right;white-space:nowrap}td.b{font-weight:700}.empty{text-align:center;color:#94a3b8;padding:30px}.error{background:#fef2f2;color:#dc2626;padding:10px 14px;border:1px solid #fecaca;border-radius:6px;margin-bottom:12px;font-size:13px}.login-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b)}.login-card{background:#fff;padding:36px;border-radius:16px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:380px}.login-card .logo{width:60px;height:60px;background:#0f172a;color:#fff;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;margin:0 auto 20px}.login-card h1{text-align:center;font-size:22px}.login-card .subtitle{text-align:center;color:#64748b;font-size:13px;margin-bottom:24px}.login-card label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px;color:#334155}.login-card input{width:100%;padding:11px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;outline:none}.login-card input:focus{border-color:#0f172a}.login-card button{width:100%;margin-top:22px;padding:12px;background:#0f172a;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:700}.login-card button:disabled{background:#94a3b8}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.modal-box{background:#fff;border-radius:12px;max-width:95vw;max-height:92vh;overflow:auto;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column}.modal-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:1}.modal-header h2{font-size:17px}.modal-close{background:transparent;border:none;font-size:24px;color:#64748b;cursor:pointer;padding:0 8px}.modal-body{padding:20px}.form{display:flex;flex-direction:column;gap:12px}.form label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:#334155}.form input,.form select,.form textarea{padding:9px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;outline:none;font-family:inherit}.form input:focus,.form select:focus{border-color:#0f172a}.form input:disabled{background:#f1f5f9;color:#64748b}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.form-actions button{padding:9px 18px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-weight:600;font-size:14px}.form-actions button[type=submit]{background:#0f172a;color:#fff;border-color:#0f172a}fieldset{border:none}legend{font-size:13px;font-weight:600;color:#334155;padding:0 6px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}table button{padding:4px 10px;font-size:12px;background:#0f172a;color:#fff;border:1px solid #0f172a;border-radius:4px}.filters select{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}body.dark-theme{background:#18181b!important;color:#e5e7eb!important;color-scheme:dark}body.dark-theme .main-content{background:transparent!important;color:#e5e7eb!important}body.dark-theme .page-header{background:#18181b!important;border-bottom-color:#30323d!important}body.dark-theme h1,body.dark-theme h2,body.dark-theme h3,body.dark-theme h4,body.dark-theme h5,body.dark-theme h6{color:#f1f5f9!important;background-color:transparent!important}body.dark-theme .sidebar{background-color:#121316!important;border-right-color:#30323d!important}body.dark-theme .logo-box{background:#e5e7eb!important;color:#18181b!important}body.dark-theme .logo-text{color:#f1f5f9!important}body.dark-theme .menu-item,body.dark-theme .menu-item i{color:#9ca3af!important}body.dark-theme .menu-item:hover{background-color:#262833!important;color:#f1f5f9!important}body.dark-theme .menu-item:hover i{color:#f1f5f9!important}body.dark-theme .menu-item.active{background-color:#262833!important;color:#f1f5f9!important}body.dark-theme .menu-item.active i{color:#38bdf8!important}body.dark-theme .toggle-btn{background-color:#262833!important;color:#e5e7eb!important;border-color:#30323d!important}body.dark-theme .sidebar-footer{border-top-color:#30323d!important}body.dark-theme .user-info{color:#9ca3af!important}body.dark-theme .btn-logout{background:#3a1d1d!important;color:#f87171!important;border-color:#5a2a2a!important}body.dark-theme .theme-switch-wrapper{border-top-color:#30323d!important}body.dark-theme .table-wrap,body.dark-theme .modal-box,body.dark-theme .login-card,body.dark-theme .box{background-color:#1f2128!important;color:#e5e7eb!important;border-color:#30323d!important}body.dark-theme .login-bg{background:linear-gradient(135deg,#131417,#1f2128)!important}body.dark-theme th{background-color:#262833!important;color:#cbd5e1!important;border-color:#30323d!important;box-shadow:inset 0 -1px #30323d!important}body.dark-theme td{background-color:#1f2128!important;color:#e5e7eb!important;border-color:#2a2c35!important}body.dark-theme tfoot td{background-color:#262833!important;color:#f1f5f9!important;border-color:#30323d!important;box-shadow:inset 0 1px #30323d!important}body.dark-theme table button{background:#334155!important;color:#e5e7eb!important;border:1px solid #475569!important}body.dark-theme table button:hover{background:#38bdf8!important;color:#18181b!important;border-color:#38bdf8!important}body.dark-theme .empty{color:#6b7280!important}body.dark-theme input,body.dark-theme select,body.dark-theme textarea{background-color:#262833!important;color:#e5e7eb!important;border:1px solid #3a3d49!important}body.dark-theme input::placeholder,body.dark-theme select::placeholder,body.dark-theme textarea::placeholder{color:#6b7280!important}body.dark-theme input:disabled,body.dark-theme select:disabled,body.dark-theme textarea:disabled{background-color:#20222a!important;color:#6b7280!important}body.dark-theme label{color:#9ca3af!important}body.dark-theme .pos-input:focus{background-color:#3a2f14!important;color:#e5e7eb!important}body.dark-theme .modal-sp-item:hover,body.dark-theme .modal-sp-item:focus,body.dark-theme .import-dropdown-item:hover,body.dark-theme .import-dropdown-item:focus{background-color:#16303f!important;color:#7dd3fc!important}body.dark-theme .modal-header{background:#262833!important;border-bottom-color:#30323d!important}body.dark-theme .modal-header h2{color:#f1f5f9!important}body.dark-theme .modal-close{color:#9ca3af!important}body.dark-theme .modal-body{color:#e5e7eb!important}body.dark-theme .modal-box{box-shadow:0 8px 28px #0000008c!important}body.dark-theme .form-actions button,body.dark-theme .tc-form .btn-cancel{background:#262833!important;color:#e5e7eb!important;border-color:#3a3d49!important}body.dark-theme .form-actions button[type=submit],body.dark-theme .tc-form .btn-save,body.dark-theme button[type=submit]{background:#38bdf8!important;color:#18181b!important;border-color:#38bdf8!important}body.dark-theme .filters button{background:#262833!important;color:#e5e7eb!important;border-color:#3a3d49!important}body.dark-theme .filters button:hover{background:#38bdf8!important;color:#18181b!important}body.dark-theme .filters button:disabled{background:#33353f!important;color:#6b7280!important}body.dark-theme .tc-form .btn-save.thu{background:#16a34a!important;color:#fff!important}body.dark-theme .tc-form .btn-save.chi{background:#dc2626!important;color:#fff!important}body.dark-theme .tc-badge.thu{background:#14301f!important;color:#6ee7b7!important}body.dark-theme .tc-badge.chi{background:#3a1d1d!important;color:#f87171!important}body.dark-theme .tc-banner.ok{background:#14301f!important;color:#6ee7b7!important;border-color:#1f5136!important}body.dark-theme .tc-banner.warn{background:#3a2f14!important;color:#fbbf24!important;border-color:#5a4a1a!important}body.dark-theme .error{background:#3a1d1d!important;color:#fca5a5!important;border-color:#5a2a2a!important}body.dark-theme .tc-summary .card{background:#262833!important;border-color:#30323d!important}body.dark-theme .tc-summary .card.thu{background:#14301f!important;color:#6ee7b7!important;border-color:#1f5136!important}body.dark-theme .tc-summary .card.chi{background:#3a1d1d!important;color:#f87171!important;border-color:#5a2a2a!important}body.dark-theme .tc-summary .card.balance{background:#1a2740!important;color:#93c5fd!important;border-color:#24406b!important}body.dark-theme .tc-summary .card.balance.neg{background:#3a2f14!important;color:#fbbf24!important;border-color:#5a4a1a!important}body.dark-theme .tc-link-tag.kh{background:#16303f!important;color:#7dd3fc!important}body.dark-theme .tc-link-tag.ncc{background:#3a2f14!important;color:#fbbf24!important}body.dark-theme .tc-link-tag.none{color:#6b7280!important}body.dark-theme .tc-code{color:#9ca3af!important}body.dark-theme .dropdown-item:focus,body.dark-theme .dropdown-item:hover{background-color:#16303f!important;color:#7dd3fc!important}body.dark-theme th span[id^=icon-sort-],body.dark-theme th .sort-arrow{color:#38bdf8!important;fill:#38bdf8!important;opacity:1!important}body.dark-theme th span[id^=icon-sort-].active,body.dark-theme th .sort-arrow.active{color:#fbbf24!important;fill:#fbbf24!important}body.dark-theme .main-content button[title="Xem lịch sử"],body.dark-theme .main-content button.togwrap{background:transparent!important;color:#9ca3af!important;border:none!important;box-shadow:none!important}body.dark-theme .main-content button[title="Xem lịch sử"]:hover,body.dark-theme .main-content button.togwrap:hover{color:#38bdf8!important}body.dark-theme .main-content [style*="background: white"],body.dark-theme .main-content [style*="background: rgb(255, 255, 255)"],body.dark-theme .main-content [style*="background-color: rgb(255, 255, 255)"],body.dark-theme .main-content [style*="background: rgb(248, 250, 252)"],body.dark-theme .main-content [style*="background-color: rgb(248, 250, 252)"],body.dark-theme .main-content [style*="background: rgb(249, 250, 251)"],body.dark-theme .main-content [style*="background-color: rgb(249, 250, 251)"],body.dark-theme .main-content [style*="background: rgb(248, 249, 250)"],body.dark-theme .main-content [style*="background-color: rgb(248, 249, 250)"]{background-color:#1f2128!important}body.dark-theme .main-content [style*="background: rgb(241, 245, 249)"],body.dark-theme .main-content [style*="background-color: rgb(241, 245, 249)"],body.dark-theme .main-content [style*="background: rgb(243, 244, 246)"],body.dark-theme .main-content [style*="background-color: rgb(243, 244, 246)"],body.dark-theme .main-content [style*="background: rgb(240, 240, 240)"],body.dark-theme .main-content [style*="background-color: rgb(240, 240, 240)"]{background-color:#262833!important}body.dark-theme .main-content [style*="background: rgb(226, 232, 240)"],body.dark-theme .main-content [style*="background-color: rgb(226, 232, 240)"]{background-color:#2e303a!important}body.dark-theme .main-content [style*="background: rgb(254, 226, 226)"],body.dark-theme .main-content [style*="background-color: rgb(254, 226, 226)"],body.dark-theme .main-content [style*="background: rgb(254, 242, 242)"],body.dark-theme .main-content [style*="background-color: rgb(254, 242, 242)"]{background-color:#3a1d1d!important}body.dark-theme .main-content [style*="background: rgb(240, 253, 244)"],body.dark-theme .main-content [style*="background-color: rgb(240, 253, 244)"],body.dark-theme .main-content [style*="background: rgb(236, 253, 245)"],body.dark-theme .main-content [style*="background-color: rgb(236, 253, 245)"],body.dark-theme .main-content [style*="background: rgb(220, 252, 231)"],body.dark-theme .main-content [style*="background-color: rgb(220, 252, 231)"]{background-color:#14301f!important}body.dark-theme .main-content [style*="background: rgb(255, 247, 237)"],body.dark-theme .main-content [style*="background-color: rgb(255, 247, 237)"]{background-color:#3a2a1a!important}body.dark-theme .main-content [style*="background: rgb(254, 243, 199)"],body.dark-theme .main-content [style*="background-color: rgb(254, 243, 199)"],body.dark-theme .main-content [style*="background: rgb(254, 249, 195)"],body.dark-theme .main-content [style*="background-color: rgb(254, 249, 195)"]{background-color:#3a2f14!important}body.dark-theme .main-content [style*="background: rgb(239, 246, 255)"],body.dark-theme .main-content [style*="background-color: rgb(239, 246, 255)"]{background-color:#1a2740!important}body.dark-theme .main-content [style*="background: rgb(224, 242, 254)"],body.dark-theme .main-content [style*="background-color: rgb(224, 242, 254)"]{background-color:#16303f!important}body.dark-theme .main-content [style*="background: rgb(245, 243, 255)"],body.dark-theme .main-content [style*="background-color: rgb(245, 243, 255)"],body.dark-theme .main-content [style*="background: rgb(243, 232, 255)"],body.dark-theme .main-content [style*="background-color: rgb(243, 232, 255)"]{background-color:#241f3a!important}body.dark-theme .main-content [style*="background: rgb(253, 244, 255)"],body.dark-theme .main-content [style*="background-color: rgb(253, 244, 255)"]{background-color:#2f1a33!important}body.dark-theme legend{color:#9ca3af!important}body.dark-theme fieldset{border-color:#30323d!important}body.dark-theme .main-content [style^="color: rgb(15, 23, 42)"],body.dark-theme .main-content [style*="; color: rgb(15, 23, 42)"],body.dark-theme .main-content [style^="color: rgb(30, 41, 59)"],body.dark-theme .main-content [style*="; color: rgb(30, 41, 59)"],body.dark-theme .main-content [style^="color: rgb(0, 0, 0)"],body.dark-theme .main-content [style*="; color: rgb(0, 0, 0)"]{color:#e5e7eb!important}body.dark-theme .main-content [style^="color: rgb(51, 65, 85)"],body.dark-theme .main-content [style*="; color: rgb(51, 65, 85)"]{color:#d1d5db!important}body.dark-theme .main-content [style^="color: rgb(71, 85, 105)"],body.dark-theme .main-content [style*="; color: rgb(71, 85, 105)"],body.dark-theme .main-content [style^="color: rgb(100, 116, 139)"],body.dark-theme .main-content [style*="; color: rgb(100, 116, 139)"],body.dark-theme .main-content [style^="color: rgb(85, 85, 85)"],body.dark-theme .main-content [style*="; color: rgb(85, 85, 85)"]{color:#9ca3af!important}body.dark-theme .main-content [style^="color: rgb(37, 99, 235)"],body.dark-theme .main-content [style*="; color: rgb(37, 99, 235)"],body.dark-theme .main-content [style^="color: rgb(29, 78, 216)"],body.dark-theme .main-content [style*="; color: rgb(29, 78, 216)"],body.dark-theme .main-content [style^="color: rgb(2, 132, 199)"],body.dark-theme .main-content [style*="; color: rgb(2, 132, 199)"]{color:#60a5fa!important}body.dark-theme .main-content [style^="color: rgb(30, 64, 175)"],body.dark-theme .main-content [style*="; color: rgb(30, 64, 175)"]{color:#93c5fd!important}body.dark-theme .main-content [style^="color: rgb(220, 38, 38)"],body.dark-theme .main-content [style*="; color: rgb(220, 38, 38)"],body.dark-theme .main-content [style^="color: rgb(185, 28, 28)"],body.dark-theme .main-content [style*="; color: rgb(185, 28, 28)"],body.dark-theme .main-content [style^="color: rgb(239, 68, 68)"],body.dark-theme .main-content [style*="; color: rgb(239, 68, 68)"]{color:#f87171!important}body.dark-theme .main-content [style^="color: rgb(16, 185, 129)"],body.dark-theme .main-content [style*="; color: rgb(16, 185, 129)"],body.dark-theme .main-content [style^="color: rgb(5, 150, 105)"],body.dark-theme .main-content [style*="; color: rgb(5, 150, 105)"]{color:#34d399!important}body.dark-theme .main-content [style^="color: rgb(22, 163, 74)"],body.dark-theme .main-content [style*="; color: rgb(22, 163, 74)"],body.dark-theme .main-content [style^="color: rgb(21, 128, 61)"],body.dark-theme .main-content [style*="; color: rgb(21, 128, 61)"]{color:#4ade80!important}body.dark-theme .main-content [style^="color: rgb(6, 95, 70)"],body.dark-theme .main-content [style*="; color: rgb(6, 95, 70)"]{color:#6ee7b7!important}body.dark-theme .main-content [style^="color: rgb(15, 118, 110)"],body.dark-theme .main-content [style*="; color: rgb(15, 118, 110)"]{color:#2dd4bf!important}body.dark-theme .main-content [style^="color: rgb(217, 119, 6)"],body.dark-theme .main-content [style*="; color: rgb(217, 119, 6)"],body.dark-theme .main-content [style^="color: rgb(146, 64, 14)"],body.dark-theme .main-content [style*="; color: rgb(146, 64, 14)"]{color:#fbbf24!important}body.dark-theme .main-content [style^="color: rgb(124, 58, 237)"],body.dark-theme .main-content [style*="; color: rgb(124, 58, 237)"]{color:#a78bfa!important}body.dark-theme .main-content [style^="color: rgb(162, 28, 175)"],body.dark-theme .main-content [style*="; color: rgb(162, 28, 175)"]{color:#e879f9!important}.theme-switch-wrapper{margin:24px 0 0;padding:0 8px;border-top:1px solid #e2e8f0;display:flex;justify-content:center;align-items:center}.theme-switch{display:flex;background:#f1f5f9;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0001;margin:10px 0}.theme-option{display:flex;align-items:center;gap:6px;padding:8px 18px;font-size:15px;font-weight:600;color:#64748b;background:transparent;border:none;outline:none;cursor:pointer;transition:background .2s,color .2s;-webkit-user-select:none;user-select:none}.theme-option.active{background:#38bdf8;color:#fff;box-shadow:0 2px 8px #38bdf822}.theme-option:not(.active){color:#334155;background:#f1f5f9}.theme-option:not(.active):hover{background:#e2e8f0;color:#0ea5e9}.theme-option i{font-size:17px}body.dark-theme .theme-switch{background:#232336;box-shadow:0 2px 8px #0004}body.dark-theme .theme-option{color:#a1a1aa;background:transparent}body.dark-theme .theme-option:not(.active){color:#a1a1aa;background:#232336}body.dark-theme .theme-option:not(.active):hover{background:#334155;color:#38bdf8}body.dark-theme .theme-option.active{background:#38bdf8;color:#18181b;box-shadow:0 2px 8px #38bdf822}.theme-switch .theme-option.active{background:#334155!important;color:#fff!important;box-shadow:none!important;border:none!important}.theme-switch .theme-option:not(.active){background:#e2e8f0!important;color:#334155!important;font-weight:700!important;box-shadow:none!important;border:none!important}.theme-switch .theme-option:not(.active):hover{background:#cbd5e1!important;color:#0f172a!important}body.dark-theme .theme-switch .theme-option.active{background:#a1a1aa!important;color:#18181b!important;box-shadow:0 2px 8px #38bdf822!important}body.dark-theme .theme-switch .theme-option:not(.active){background:#232336!important;color:#a1a1aa!important}body.dark-theme .theme-switch .theme-option:not(.active):hover{background:#334155!important;color:#a1a1aa!important}.sidebar.collapsed .theme-switch-wrapper,.sidebar.collapsed .theme-switch{z-index:1000!important;pointer-events:auto!important}.sidebar.collapsed .theme-switch .theme-option{display:flex!important;min-width:44px!important;min-height:44px!important;justify-content:center!important;align-items:center!important;padding:0!important;font-size:18px!important;margin:0!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}.mobile-menu-btn,.sidebar-backdrop,.sidebar-close-btn{display:none}@media (max-width: 1024px){.main-content{padding:0 16px 20px}.page-header h1{font-size:20px}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}@media (max-width: 900px){.mobile-menu-btn{display:flex;align-items:center;justify-content:center;position:fixed;top:10px;left:10px;width:38px;height:38px;border-radius:10px;background:#0f172a;color:#fff;border:none;z-index:1000;cursor:pointer;font-size:16px;box-shadow:0 4px 10px #0000002e}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:1050}.sidebar{position:fixed!important;top:0;left:0;bottom:0;height:100vh;width:260px!important;z-index:1100;transform:translate(-100%);transition:transform .25s ease;box-shadow:4px 0 18px #0000002e;align-self:auto}.sidebar.mobile-open{transform:translate(0)}.sidebar .toggle-btn{display:none}.sidebar.collapsed{width:260px!important}.sidebar.collapsed .logo-text,.sidebar.collapsed .menu-text,.sidebar.collapsed .user-info{opacity:1;pointer-events:auto}.sidebar.collapsed .menu-item{justify-content:flex-start;padding-left:16px}.sidebar.collapsed .menu-item i{margin-right:12px;font-size:18px}.sidebar.collapsed .menu-item:hover{padding-left:20px;transform:none}.sidebar-close-btn{display:flex;align-items:center;justify-content:center;position:absolute;top:12px;right:10px;width:34px;height:34px;border-radius:8px;background:transparent;border:none;color:#64748b;font-size:20px;cursor:pointer;z-index:5}.main-content{padding:0 14px 20px}.page-header{padding-left:46px}.table-wrap{max-height:none;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:640px}}@media (max-width: 768px){.page-header{flex-wrap:wrap;gap:8px}.page-header h1{font-size:18px}.filters{width:100%}.filters input,.filters select{flex:1 1 140px;min-width:0}.filters button{flex:0 0 auto}.main-content [style*=grid-template-columns]{grid-template-columns:1fr!important}.main-content [style*="repeat(4, 1fr)"]{grid-template-columns:repeat(2,1fr)!important}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.tc-form{grid-template-columns:1fr}.tc-summary .card{flex:1 1 100%}.modal-box{width:100%!important;max-width:100vw!important;height:100%;max-height:100vh!important;border-radius:0!important}.modal-header{padding:12px 14px}.modal-body{padding:14px}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.login-bg{padding:16px}.login-card{padding:24px}th,td{padding:8px 10px;font-size:13px}td.r,th.r{white-space:nowrap}}@media (max-width: 480px){.main-content{padding:0 10px 16px}.page-header{padding-left:42px}.page-header h1{font-size:16px}.mobile-menu-btn{top:8px;left:8px;width:34px;height:34px}.table-wrap table{min-width:560px}th,td{padding:7px 8px;font-size:12.5px}.modal-body{padding:12px}}
