:root{--primary:#4f46e5;--primary-hover:#4338ca;--primary-gradient:linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);--success:#10b981;--success-hover:#059669;--success-gradient:linear-gradient(135deg, #059669 0%, #10b981 100%);--danger:#f43f5e;--danger-hover:#e11d48;--warning:#f59e0b;--warning-gradient:linear-gradient(135deg, #d97706 0%, #f59e0b 100%);--sidebar-bg:#0b0f19;--sidebar-surface:#111827;--sidebar-border:#ffffff14;--sidebar-text:#94a3b8;--sidebar-active:#fff;--bg-main:#f8fafc;--card-bg:#fff;--border-color:#e2e8f0;--text-main:#0f172a;--text-muted:#64748b;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--shadow-sm:0 1px 3px #0f172a0a, 0 1px 2px #0f172a05;--shadow-md:0 4px 6px -1px #0f172a12, 0 2px 4px -2px #0f172a0a;--shadow-lg:0 12px 24px -4px #0f172a1a, 0 4px 6px -2px #0f172a0d;--shadow-primary:0 4px 14px 0 #4f46e559;--shadow-success:0 4px 14px 0 #10b98159;--font-sans:"Inter", system-ui, -apple-system, sans-serif}*{box-sizing:border-box;margin:0;padding:0}html{height:100%}body{font-family:var(--font-sans);background-color:var(--bg-main);color:var(--text-main);-webkit-font-smoothing:antialiased;height:100%;margin:0;padding:0;line-height:1.5;overflow:hidden}.app-layout{background-color:var(--bg-main);flex-direction:column;width:100%;max-width:100%;height:100vh;max-height:100vh;display:flex;position:relative;overflow:hidden}.app-main{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow-y:auto}:is(.app-main:has(.ledger-view-container),.app-main:has(.invest-view-container)){overflow:hidden}.app-sidebar{background-color:var(--sidebar-bg);color:#fff;border-right:1px solid var(--sidebar-border);z-index:100;flex-direction:column;flex-shrink:0;width:260px;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex}.sidebar-brand{border-bottom:1px solid var(--sidebar-border);align-items:center;gap:12px;padding:22px 20px;display:flex}.brand-icon{border-radius:var(--radius-md);background:var(--primary-gradient);color:#fff;width:42px;height:42px;box-shadow:var(--shadow-primary);justify-content:center;align-items:center;display:flex}.brand-info h2{color:#fff;letter-spacing:-.4px;font-size:18px;font-weight:800}.sidebar-nav{flex-direction:column;flex:1;gap:4px;padding:16px 12px;display:flex}.nav-heading{text-transform:uppercase;letter-spacing:.8px;color:#64748b;padding:10px 12px 6px;font-size:11px;font-weight:700}.nav-item{border-radius:var(--radius-sm);color:var(--sidebar-text);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:12px;width:100%;padding:10px 14px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.nav-item:hover{color:#fff;background-color:#ffffff0f}.nav-item.active{color:#fff;background:var(--primary-gradient);font-weight:600;box-shadow:0 4px 12px #4f46e54d}.nav-item-badge{color:#fff;background-color:#ffffff26;border-radius:9999px;margin-left:auto;padding:2px 7px;font-size:11px}.sidebar-footer{border-top:1px solid var(--sidebar-border);padding:16px}.sidebar-balance-card{border-radius:var(--radius-md);background:linear-gradient(#ffffff0f 0%,#ffffff05 100%);border:1px solid #ffffff1a;padding:14px 16px}.sidebar-balance-card p{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:600}.sidebar-balance-card h4{color:#38bdf8;margin-top:4px;font-size:20px;font-weight:800}.app-main{flex-direction:column;flex:auto;width:100%;min-width:0;max-width:100%;min-height:calc(100vh - 60px);display:flex}.top-navbar{border-bottom:1px solid var(--border-color);z-index:50;box-sizing:border-box;background-color:#fff;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:12px 24px;display:flex;position:sticky;top:0}.navbar-title{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.navbar-title h1{color:var(--text-main);letter-spacing:-.4px;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:18px;font-weight:800;overflow:hidden}.mobile-menu-btn{color:var(--text-main);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;flex-shrink:0;padding:6px;transition:background .15s;display:none}.mobile-menu-btn:hover{background-color:#f1f5f9}.nav-btn-text-short{display:none}.desktop-user-profile{border-left:1px solid #e2e8f0;align-items:center;gap:10px;margin-left:8px;padding-left:12px;display:flex}.user-profile-badge{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;align-items:center;gap:8px;padding:4px 10px;display:flex}.user-avatar-circle{color:#fff;background:#4f46e5;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:flex}.btn-logout{color:#ef4444;border-color:#fca5a5;padding:6px 10px}.btn-logout:hover{background-color:#fef2f2;border-color:#ef4444}.btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:7px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex}.btn:active{transform:scale(.98)}.btn-primary{background:var(--primary-gradient);color:#fff;box-shadow:var(--shadow-primary)}.btn-primary:hover{filter:brightness(1.1)}.btn-success{background:var(--success-gradient);color:#fff;box-shadow:var(--shadow-success)}.btn-success:hover{filter:brightness(1.1)}.btn-warning{background:var(--warning-gradient);color:#fff}.btn-warning:hover{filter:brightness(1.1)}.btn-outline{border-color:var(--border-color);color:var(--text-main);box-shadow:var(--shadow-sm);background-color:#fff}.btn-outline:hover{background-color:#f8fafc;border-color:#cbd5e1}.btn-danger-outline{color:var(--danger);background-color:#fff;border-color:#fecaca}.btn-danger-outline:hover{background-color:#fef2f2}.btn-sm{padding:5px 10px;font-size:12px}.btn-lg{padding:11px 20px;font-size:14px}.page-container{flex:1;padding:24px 28px}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-bottom:24px;display:grid}.stat-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);flex-direction:column;gap:10px;padding:20px;transition:transform .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden}.stat-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.stat-header{justify-content:space-between;align-items:center;display:flex}.stat-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:700}.stat-icon-wrapper{border-radius:var(--radius-sm);justify-content:center;align-items:center;width:38px;height:38px;display:flex}.stat-value{color:var(--text-main);letter-spacing:-.6px;font-size:26px;font-weight:800}.panel-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);margin-bottom:24px;overflow:hidden}.panel-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.panel-header h3{color:var(--text-main);align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.panel-body{padding:20px}.banks-grid{grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:18px;margin-bottom:26px;display:grid}.bank-card{border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);background:#fff;flex-direction:column;transition:all .2s;display:flex;overflow:hidden}.bank-card:hover{box-shadow:var(--shadow-md);border-color:#cbd5e1}.bank-card-top{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;padding:18px 20px 12px;display:flex}.bank-info h4{color:var(--text-main);font-size:16px;font-weight:700}.bank-info p{color:var(--text-muted);font-size:12px}.bank-account-badge{text-transform:uppercase;color:#475569;background:#f1f5f9;border-radius:4px;padding:3px 8px;font-size:10px;font-weight:700}.bank-card-mid{background:#f8fafc;padding:14px 20px}.balance-label{text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);font-size:10px;font-weight:700}.balance-amount{color:#0f172a;font-size:24px;font-weight:800}.bank-card-details{border-top:1px solid #f1f5f9;grid-template-columns:1fr 1fr;gap:8px;padding:12px 20px;font-size:12px;display:grid}.bank-detail-item span{text-transform:uppercase;color:#94a3b8;font-size:10px;font-weight:600;display:block}.bank-detail-item strong{color:var(--text-main);font-weight:600}.bank-card-actions{gap:8px;margin-top:auto;padding:12px 20px 16px;display:flex}.table-responsive{-webkit-overflow-scrolling:touch;border-radius:var(--radius-sm);width:100%;position:relative;overflow-x:auto}.data-table{border-collapse:collapse;text-align:left;width:100%;min-width:840px;font-size:13px}.table-mobile-hint{color:#4f46e5;border-radius:var(--radius-sm);text-align:center;background:#eef2ff;border:1px solid #c7d2fe;margin-bottom:10px;padding:6px 12px;font-size:11px;font-weight:600;display:none}.data-table th{color:#475569;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border-color);white-space:nowrap;background-color:#f8fafc;padding:12px 16px;font-size:11px;font-weight:700}.data-table td{vertical-align:middle;color:var(--text-main);border-bottom:1px solid #f1f5f9;padding:13px 16px}.data-table tbody tr:hover{background-color:#f8fafc}.amount-debit{color:var(--danger);font-weight:700}.amount-credit{color:var(--success);font-weight:700}.running-balance-cell{color:#0f172a;font-weight:800}.badge{border-radius:9999px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.badge-credit{color:#059669;background-color:#ecfdf5;border:1px solid #a7f3d0}.badge-debit{color:#e11d48;background-color:#fff1f2;border:1px solid #fecdd3}.badge-category{color:#fff;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.badge-status-unpaid{color:#991b1b;background-color:#fee2e2}.badge-status-partial{color:#92400e;background-color:#fef3c7}.badge-status-paid{color:#065f46;background-color:#d1fae5}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background-color:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-content{border-radius:var(--radius-lg);width:100%;max-width:540px;box-shadow:var(--shadow-lg);background-color:#fff;flex-direction:column;max-height:90vh;animation:.2s cubic-bezier(.4,0,.2,1) modalFadeIn;display:flex;overflow:hidden}.modal-content-lg{max-width:800px}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.modal-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.modal-header h3{color:var(--text-main);align-items:center;gap:10px;font-size:17px;font-weight:800;display:flex}.btn-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px}.btn-close:hover{color:var(--text-main);background-color:#f1f5f9}.modal-body{flex-direction:column;gap:16px;padding:22px;display:flex;overflow-y:auto}.modal-footer{border-top:1px solid var(--border-color);border-bottom-left-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg);background-color:#f8fafc;flex-shrink:0;justify-content:flex-end;gap:10px;padding:16px 22px;display:flex}.form-group{flex-direction:column;gap:5px;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.form-label{color:#334155;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.form-control{border:1px solid var(--border-color);border-radius:var(--radius-sm);width:100%;color:var(--text-main);background-color:#fff;padding:9px 12px;font-family:inherit;font-size:13.5px;transition:all .15s}.form-control:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #4f46e526}.input-currency-wrapper{align-items:center;display:flex;position:relative}.currency-symbol{color:var(--text-muted);pointer-events:none;font-size:15px;font-weight:700;position:absolute;left:12px}.input-with-currency{padding-left:28px;font-size:15px;font-weight:700}.info-banner{border-radius:var(--radius-sm);align-items:center;gap:8px;padding:12px 14px;font-size:13px;display:flex}.info-banner-amber{color:#92400e;background-color:#fffbeb;border:1px solid #fde68a}.info-banner-green{color:#065f46;background-color:#ecfdf5;border:1px solid #a7f3d0}.ledger-filter-bar{border:1px solid var(--border-color);border-radius:var(--radius-md);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:12px 16px;display:flex}.filter-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.split-row{border-radius:var(--radius-sm);background:#f8fafc;border:1px solid #e2e8f0;grid-template-columns:2fr 1.5fr 1fr 36px;align-items:center;gap:10px;padding:10px;display:grid}.view-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.view-header-actions{flex-wrap:wrap;gap:10px;display:flex}.filter-card-responsive{margin-bottom:20px;padding:16px 20px}.filter-controls-wrap{flex-wrap:wrap;flex:1;align-items:center;gap:10px;display:flex}.filter-search-box{flex:1;min-width:220px;position:relative}.filter-select-item{align-items:center;gap:6px;display:flex}.filter-date-range{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ledger-header-actions{flex-wrap:wrap;gap:8px;display:flex}.dashboard-accounts-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;display:grid}.dashboard-two-col{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px;display:grid}.dashboard-quick-actions{flex-wrap:wrap;gap:10px;margin-bottom:26px;display:flex}.bank-ledger-table{min-width:900px}.all-transactions-table{min-width:820px}.dashboard-recent-table{min-width:480px}@media (width<=900px){.mobile-menu-btn{display:flex}.app-sidebar{box-shadow:var(--shadow-lg);z-index:1001;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.app-sidebar.open{transform:translate(0)}.mobile-sidebar-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;background:#0f172a99;position:fixed;inset:0}.page-container{box-sizing:border-box;width:100%;max-width:100%;padding:14px}.top-navbar{height:56px;min-height:56px;padding:10px 14px}.desktop-user-profile,.nav-btn-invest,.nav-btn-text-full{display:none!important}.nav-btn-text-short{display:inline!important}.navbar-actions .btn{gap:4px;padding:6px 10px;font-size:12px}.table-mobile-hint{display:block}.form-row,.split-row,.dashboard-two-col{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;margin-bottom:18px}.stat-card{padding:14px 16px}.stat-value{font-size:20px}}@media (width<=640px){.view-header-row{flex-direction:column;align-items:flex-start;gap:12px}.view-header-actions{gap:8px;width:100%;display:flex}.view-header-actions .btn{flex:1;padding:7px 10px;font-size:12px}.filter-card-responsive{padding:12px 14px}.filter-controls-wrap{flex-direction:column;align-items:stretch;gap:10px;width:100%}.filter-search-box{width:100%;min-width:100%}.filter-select-item{justify-content:space-between;width:100%}.filter-select-item select{flex:1;margin-left:6px}.filter-date-range{justify-content:space-between;width:100%}.filter-date-range input[type=date]{flex:1}.ledger-header-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.ledger-header-actions .btn{justify-content:center;width:100%;padding:8px 10px;font-size:12px}.ledger-header-actions .btn-primary{grid-column:span 2}.dashboard-quick-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.dashboard-quick-actions .btn{text-align:center;white-space:normal;width:100%;padding:9px 8px;font-size:12px}.dashboard-quick-actions .btn-primary{grid-column:span 2}.modal-overlay{align-items:flex-end;padding:0}.modal-content{border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%;max-height:92vh}.modal-header{padding:14px 18px}.modal-body{padding:16px}.modal-footer{flex-direction:column-reverse;padding:12px 16px}.modal-footer .btn{justify-content:center;width:100%}}@media (width<=480px){.top-navbar{padding:8px 12px}.navbar-title h1{max-width:130px;font-size:14px}.nav-btn-text-short{display:none!important}.navbar-actions .btn{min-width:32px;padding:6px 8px}.bank-card-details{grid-template-columns:1fr}.bank-card-actions{flex-direction:column}.bank-card-actions .btn{width:100%}}@media print{.app-sidebar,.top-navbar,.ledger-filter-bar,.navbar-actions,.no-print{display:none!important}.app-main,.page-container{height:auto!important;padding:0!important;overflow:visible!important}.bank-statement-print-header{border-bottom:2px solid #000;margin-bottom:20px;padding-bottom:12px;display:block!important}}.bank-statement-print-header{display:none}.app-main{background-color:var(--bg-main);flex-direction:column;flex:1;min-width:0;height:100vh;display:flex;overflow-y:auto}.login-page-container{width:100%;min-height:100vh;font-family:var(--font-sans);background:#0b0f19;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:relative;overflow:hidden}.login-bg-glow{filter:blur(120px);pointer-events:none;z-index:1;border-radius:50%;position:absolute}.login-bg-glow.glow-1{background:#4f46e538;width:480px;height:480px;top:-120px;right:-80px}.login-bg-glow.glow-2{background:#10b98126;width:500px;height:500px;bottom:-150px;left:-100px}.login-card-wrapper{z-index:2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#f8fafc;background:#111827;border:1px solid #ffffff17;border-radius:20px;width:100%;max-width:440px;padding:36px 30px;position:relative;box-shadow:0 25px 50px -12px #000c,0 0 0 1px #ffffff0d}.login-header{text-align:center;margin-bottom:24px}.login-brand-icon{color:#fff;background:linear-gradient(135deg,#ea580c 0%,#f97316 100%);border-radius:16px;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 16px;display:flex;box-shadow:0 8px 20px #ea580c66}.login-title{color:#fff;letter-spacing:-.5px;margin-bottom:6px;font-size:22px;font-weight:800}.login-subtitle{color:#94a3b8;font-size:13px;line-height:1.4}.login-demo-banner{background:#f59e0b14;border:1px solid #f59e0b40;border-radius:12px;flex-direction:column;gap:8px;margin-bottom:22px;padding:14px 16px;display:flex}.login-demo-header{align-items:center;gap:6px;display:flex}.login-demo-tag{color:#f59e0b;text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:700}.login-demo-body{color:#cbd5e1;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:12px;display:flex}.login-demo-body strong{color:#fff}.login-demo-btn{color:#fbbf24;cursor:pointer;background:#f59e0b2e;border:1px solid #f59e0b66;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:100%;margin-top:2px;padding:7px 12px;font-size:12px;font-weight:700;transition:all .2s;display:flex}.login-demo-btn:hover{color:#fef08a;background:#f59e0b47;border-color:#f59e0b99}.login-alert-error{color:#fda4af;background:#f43f5e1f;border:1px solid #f43f5e4d;border-radius:10px;align-items:center;gap:10px;margin-bottom:20px;padding:12px 14px;font-size:13px;display:flex}.login-form{flex-direction:column;gap:16px;display:flex}.login-field-group{flex-direction:column;gap:6px;display:flex}.login-field-group label{color:#cbd5e1;font-size:13px;font-weight:600}.login-label-row{justify-content:space-between;align-items:center;display:flex}.login-forgot-link{color:#818cf8;cursor:pointer;background:0 0;border:none;font-size:12px;font-weight:600}.login-forgot-link:hover{text-decoration:underline}.login-input-wrapper{background:#0b0f19;border:1px solid #ffffff1f;border-radius:10px;align-items:center;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.login-input-wrapper:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f140}.login-input-icon{color:#64748b;pointer-events:none;position:absolute;left:14px}.login-input-wrapper input{color:#fff;background:0 0;border:none;outline:none;width:100%;padding:12px 14px 12px 42px;font-family:inherit;font-size:14px}.login-input-wrapper input::placeholder{color:#475569}.login-eye-btn{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:8px 12px;display:flex}.login-eye-btn:hover{color:#cbd5e1}.login-options-row{justify-content:space-between;align-items:center;margin-top:2px;font-size:12px;display:flex}.login-checkbox-label{color:#94a3b8;cursor:pointer;align-items:center;gap:8px;display:flex}.login-checkbox-label input{accent-color:#4f46e5;cursor:pointer;width:15px;height:15px}.login-role-badge{color:#94a3b8;background:#ffffff12;border-radius:6px;padding:3px 8px;font-size:11px}.login-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:6px;padding:12px;font-size:14px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 14px #4f46e566}.login-submit-btn:hover:not(:disabled){opacity:.95;transform:translateY(-1px);box-shadow:0 6px 20px #4f46e580}.login-submit-btn:disabled{opacity:.7;cursor:not-allowed}.login-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:20px;height:20px;animation:.6s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.login-footer{color:#64748b;text-align:center;border-top:1px solid #ffffff14;justify-content:center;align-items:center;gap:8px;margin-top:24px;padding-top:18px;font-size:11px;display:flex}.login-footer svg{color:#10b981}.sidebar-user-card{background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.sidebar-user-avatar{background:var(--primary-gradient);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.sidebar-user-info{flex:1;min-width:0}.sidebar-user-name{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.sidebar-user-role{color:#94a3b8;font-size:11px}.sidebar-logout-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.sidebar-logout-btn:hover{color:#f43f5e;background:#f43f5e26}.dashboard-container{flex-direction:column;gap:22px;width:100%;max-width:1600px;margin:0 auto;padding:24px 28px;display:flex}.dash-welcome-banner{color:#fff;box-shadow:var(--shadow-md);background:linear-gradient(135deg,#0b0f19 0%,#1e1b4b 100%);border:1px solid #ffffff14;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;display:flex}.dash-welcome-text h2{color:#fff;letter-spacing:-.4px;margin:8px 0 4px;font-size:22px;font-weight:800}.dash-welcome-text p{color:#94a3b8;font-size:13px}.dash-badge-pill{color:#34d399;background:#10b9812e;border:1px solid #10b9814d;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.dash-quick-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.dash-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;display:grid}.dash-kpi-card{border:1px solid var(--border-color);box-shadow:var(--shadow-sm);background:#fff;border-radius:14px;flex-direction:column;gap:12px;padding:20px;transition:transform .2s,box-shadow .2s;display:flex}.dash-kpi-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.dash-kpi-card.highlight-card{border-left:4px solid #4f46e5}.dash-kpi-header{justify-content:space-between;align-items:center;display:flex}.dash-kpi-title{color:var(--text-muted);font-size:13px;font-weight:600}.dash-kpi-icon-wrap{border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.dash-kpi-value-row{margin:2px 0}.dash-kpi-val{letter-spacing:-.5px;font-size:24px;font-weight:800}.dash-kpi-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-top:10px;display:flex}.dash-pill-tag{border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700}.tag-primary{color:#4338ca;background:#e0e7ff}.tag-success{color:#065f46;background:#d1fae5}.tag-danger{color:#9f1239;background:#ffe4e6}.dash-content-grid{grid-template-columns:3fr 2fr;gap:20px;display:grid}.dash-card{border:1px solid var(--border-color);box-shadow:var(--shadow-sm);background:#fff;border-radius:14px;flex-direction:column;padding:22px;display:flex}.dash-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.dash-card-title{color:var(--text-main);margin-bottom:3px;font-size:16px;font-weight:700}.dash-card-subtitle{color:var(--text-muted);font-size:12px}.dash-chart-legend{color:var(--text-muted);align-items:center;gap:14px;font-size:12px;font-weight:600;display:flex}.legend-item{align-items:center;gap:6px;display:flex}.legend-dot{border-radius:3px;width:10px;height:10px}.bg-emerald{background-color:#10b981}.bg-rose{background-color:#f43f5e}.dash-link-btn{color:var(--primary);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:13px;font-weight:600;transition:background-color .2s;display:inline-flex}.dash-link-btn:hover{background-color:#eef2ff}.dash-chart-wrapper{align-items:flex-end;min-height:220px;padding-top:10px;display:flex;position:relative}.dash-svg-chart-container{width:100%;position:relative}.dash-bars-area{border-bottom:2px solid #e2e8f0;justify-content:space-around;align-items:flex-end;height:190px;padding-bottom:4px;display:flex}.dash-bar-group{cursor:pointer;flex-direction:column;align-items:center;padding:0 8px;display:flex;position:relative}.dash-bars-pair{align-items:flex-end;gap:6px;min-height:160px;display:flex}.dash-bar{border-radius:4px 4px 0 0;width:22px;transition:opacity .2s,transform .2s}.dash-bar:hover{opacity:.85;transform:scaleY(1.03)}.bar-deposit{background:linear-gradient(#34d399 0%,#10b981 100%)}.bar-payment{background:linear-gradient(#fb7185 0%,#f43f5e 100%)}.dash-bar-label{color:var(--text-muted);margin-top:8px;font-size:11px;font-weight:600}.dash-chart-tooltip{color:#fff;pointer-events:none;z-index:10;background:#0f172a;border-radius:8px;padding:8px 12px;font-size:12px;position:absolute;top:0;right:10px;box-shadow:0 10px 15px -3px #0000004d}.dash-categories-list{flex-direction:column;gap:16px;margin-top:4px;display:flex}.dash-category-row{flex-direction:column;gap:6px;display:flex}.dash-cat-info{justify-content:space-between;align-items:center;font-size:13px;display:flex}.dash-cat-name{color:var(--text-main);align-items:center;gap:8px;font-weight:600;display:flex}.dash-cat-indicator{border-radius:50%;width:8px;height:8px}.dash-cat-amount{color:var(--text-main);font-weight:700}.dash-cat-pct{color:var(--text-muted);font-size:12px;font-weight:500}.dash-cat-progress-bg{background-color:#f1f5f9;border-radius:4px;width:100%;height:8px;overflow:hidden}.dash-cat-progress-fill{border-radius:4px;height:100%;transition:width .4s cubic-bezier(.4,0,.2,1)}.dash-table-wrapper{overflow-x:auto}.dash-table{border-collapse:collapse;width:100%;font-size:13px}.dash-table th{color:var(--text-muted);border-bottom:1px solid var(--border-color);text-align:left;background:#f8fafc;padding:10px 12px;font-weight:600}.dash-table td{border-bottom:1px solid #f1f5f9;padding:12px}.dash-table tr:hover td{background-color:#f8fafc}.dash-table-badge{border-radius:4px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.badge-head{color:#4338ca;background:#eef2ff}.badge-ac{color:#047857;background:#ecfdf5}.dash-empty-state{text-align:center;color:var(--text-muted);padding:36px 12px;font-size:13px}.dash-footer-stats{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.dash-footer-stat-item{border:1px solid var(--border-color);cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:14px;padding:16px 20px;transition:all .2s;display:flex}.dash-footer-stat-item:hover{box-shadow:var(--shadow-sm);border-color:#cbd5e1;transform:translateY(-2px)}.stat-icon-circle{border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.stat-num{color:var(--text-main);font-size:18px;font-weight:800;line-height:1.2}.stat-desc{color:var(--text-muted);font-size:12px;font-weight:500}.responsive-page-container{box-sizing:border-box;width:100%;max-width:1360px;margin:0 auto}.ledger-mobile-scroll-hint{color:#4338ca;text-align:center;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin-bottom:10px;padding:8px 12px;font-size:12px;font-weight:700;display:none}.ledger-table-container::-webkit-scrollbar{height:8px}.accounts-table-wrapper::-webkit-scrollbar{height:7px}.accounts-table-wrapper::-webkit-scrollbar-track{background:#f1f5f9}.accounts-table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.account-row-item:hover{background-color:#f8fafc!important}.account-row-name-link:hover{color:#4f46e5!important;text-decoration:underline!important}.home-bank-module-card{box-sizing:border-box;flex-direction:column;justify-content:space-between;width:100%;transition:all .25s cubic-bezier(.4,0,.2,1);display:flex}.home-bank-module-card:hover{transform:translateY(-4px);border-color:#cbd5e1!important;box-shadow:0 12px 28px #0f172a1f!important}.investment-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:20px;display:grid}.investments-filter-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (width>=1025px){.ledger-mobile-scroll-hint{display:none!important}}@media (width<=1024px){.ledger-mobile-scroll-hint{display:flex}.ledger-quick-actions-grid{grid-template-columns:repeat(2,1fr)!important}.ledger-quick-actions-grid>div:last-child{grid-column:span 2}.accounts-cards-grid{grid-template-columns:repeat(2,1fr)!important}}@media (width<=768px){.top-navbar{min-height:56px!important;padding:0 12px!important}.navbar-brand-name{font-size:14px!important}.breadcrumb-desktop-link,.navbar-user-name{display:none!important}.navbar-user-chip{background:0 0!important;border:none!important;padding:3px!important}.logout-btn-text{display:none!important}.btn-logout-nav{padding:6px 8px!important}.home-dashboard-container{gap:18px!important;padding:18px 12px!important}.dashboard-modules-grid{grid-template-columns:1fr!important;gap:16px!important}.investment-kpi-grid{grid-template-columns:1fr!important;gap:12px!important}.investments-filter-bar{flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important}.investments-filter-bar select,.investments-filter-bar .accounts-search-wrap,.investments-filter-bar .accounts-search-wrap input{width:100%!important}.home-welcome-row{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.home-welcome-row h1{font-size:20px!important}.home-bank-module-card{border-radius:16px!important;max-width:100%!important;padding:18px 16px!important}.home-bank-balance-box{flex-direction:column!important;align-items:flex-start!important;gap:10px!important;padding:12px!important}.responsive-page-container{padding:16px 12px!important}.accounts-header-row{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.accounts-header-actions{width:100%!important}.btn-toggle-add{justify-content:center!important;width:100%!important}.accounts-form-card{padding:16px 12px!important}.responsive-form-grid{grid-template-columns:1fr!important;gap:12px!important}.responsive-form-grid input,.responsive-form-grid select{min-height:44px!important;font-size:15px!important}.form-submit-row{flex-direction:column-reverse!important;gap:8px!important}.form-submit-row .btn{justify-content:center!important;width:100%!important;min-height:44px!important}.accounts-list-header{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.accounts-search-wrap{width:100%!important}.accounts-cards-grid{grid-template-columns:1fr!important;gap:14px!important}.ledger-header-box{flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:12px 14px!important}.ledger-header-box>div{justify-content:space-between!important;width:100%!important}.ledger-quick-actions-grid{grid-template-columns:1fr!important;gap:12px!important}.ledger-quick-actions-grid>div:last-child{grid-column:span 1!important}.ledger-filters-grid{grid-template-columns:repeat(2,1fr)!important;gap:6px!important}.ledger-inline-entry-form{flex-direction:column!important;align-items:stretch!important;gap:8px!important;display:flex!important}.ledger-inline-entry-form input{width:100%!important;min-height:38px!important;font-size:13px!important}.ledger-inline-entry-form button{justify-content:center!important;width:100%!important;min-height:42px!important}.ledger-mobile-scroll-hint{display:flex!important}.modal-overlay{align-items:flex-end!important;padding:8px!important}.modal-content{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important;width:100%!important;max-width:100%!important;max-height:94vh!important;animation:.25s cubic-bezier(.16,1,.3,1) modalSlideUp!important}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.modal-form-row{grid-template-columns:1fr!important;gap:10px!important}.modal-body input,.modal-body select{min-height:42px!important;font-size:15px!important}}@media (width<=480px){.ledger-filters-grid{grid-template-columns:1fr!important}.navbar-brand-name{text-overflow:ellipsis;max-width:135px;overflow:hidden;font-size:13px!important}.page-main-heading{font-size:18px!important}.page-subheading{font-size:12px!important}.home-bank-module-card{gap:12px!important;padding:16px 14px!important}.home-bank-module-card h2{font-size:17px!important}}@media print{.no-print,.top-navbar,.btn,.ledger-filters-box,.ledger-inline-entry-form,.ledger-mobile-scroll-hint{display:none!important}body,.app-layout,.app-main,.ledger-view-container,.invest-view-container,.responsive-page-container{background:#fff!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important}.ledger-table-container{box-shadow:none!important;border:none!important;overflow:visible!important}table{border-collapse:collapse!important;width:100%!important;min-width:100%!important;font-size:10pt!important}th,td{border:1px solid #cbd5e1!important;padding:4px 6px!important}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html,body,#root{width:100%;min-height:100%;margin:0;padding:0;overflow:hidden auto}.app-error-boundary-wrap{color:#fff;text-align:center;background-color:#0f172a;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:24px;font-family:Inter,system-ui,-apple-system,sans-serif;display:flex}.app-error-boundary-card{background:#1e293b;border:1px solid #ffffff1a;border-radius:16px;max-width:520px;padding:32px;box-shadow:0 20px 40px #00000080}.app-error-boundary-title{color:#f43f5e;margin-bottom:12px;font-size:20px;font-weight:800}.app-error-boundary-desc{color:#94a3b8;margin-bottom:18px;font-size:13px;line-height:1.6}.app-error-boundary-code{color:#fca5a5;text-align:left;word-break:break-all;background:#0b0f19;border-radius:8px;margin-bottom:20px;padding:12px;font-family:monospace;font-size:12px}.app-error-boundary-btn{color:#fff;cursor:pointer;background-color:#4f46e5;border:none;border-radius:8px;padding:10px 24px;font-size:14px;font-weight:700;transition:background-color .15s}.app-error-boundary-btn:hover{background-color:#4338ca}.top-navbar{z-index:50;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;min-height:60px;padding:0 20px;display:flex;position:sticky;top:0;box-shadow:0 1px 3px #0000000a}.navbar-brand-section{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.navbar-brand-link{cursor:pointer;flex-shrink:0;align-items:center;gap:8px;display:flex}.navbar-brand-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex;box-shadow:0 2px 6px #4f46e540}.navbar-brand-name{color:#0f172a;letter-spacing:-.3px;white-space:nowrap;font-size:16px;font-weight:800}.navbar-breadcrumb-trail{color:#64748b;align-items:center;gap:6px;min-width:0;margin-left:6px;font-size:13px;display:flex;overflow:hidden}.breadcrumb-separator{color:#94a3b8;flex-shrink:0}.breadcrumb-active-tag{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.breadcrumb-active-tag.is-banks,.breadcrumb-active-tag.is-ledger{color:#4f46e5}.breadcrumb-active-tag.is-investments{color:#059669}.breadcrumb-active-tag.is-masters{color:#7c3aed}.breadcrumb-link{cursor:pointer;color:#64748b;white-space:nowrap;font-weight:500;transition:color .15s}.breadcrumb-link:hover{color:#1e293b}.navbar-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.navbar-shortcuts-group{align-items:center;gap:6px;display:flex}.navbar-shortcut-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:5px;padding:6px 11px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.navbar-shortcut-btn:hover{background:#f8fafc;border-color:#94a3b8}.navbar-shortcut-kbd{color:#64748b;background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:600}.navbar-user-dropdown-container{position:relative}.navbar-user-chip{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8fafc;border:1px solid #cbd5e1;border-radius:20px;align-items:center;gap:7px;padding:5px 12px 5px 6px;font-size:13px;transition:all .15s;display:flex}.navbar-user-chip:hover,.navbar-user-chip.active{background:#f1f5f9;border-color:#94a3b8;box-shadow:0 1px 3px #0000000f}.navbar-user-avatar{color:#fff;background:#4f46e5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:flex}.user-menu-chevron{color:#64748b;margin-left:2px;transition:transform .2s}.user-menu-chevron.rotate{transform:rotate(180deg)}.navbar-user-menu-dropdown{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:250px;padding:6px;animation:.15s cubic-bezier(.16,1,.3,1) dropdownPop;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 28px -4px #0f172a26,0 6px 12px -4px #0f172a14}.user-menu-header{align-items:center;gap:10px;padding:8px 10px 10px;display:flex}.user-menu-avatar-large{color:#fff;background:#4f46e5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:800;display:flex}.user-menu-info{flex-direction:column;min-width:0;display:flex}.user-menu-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.user-menu-role{color:#64748b;font-size:11px;font-weight:500}.user-menu-divider{background:#f1f5f9;height:1px;margin:4px 6px}.user-menu-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;padding:8px 10px;transition:all .15s;display:flex}.user-menu-item:hover{background-color:#f8fafc}.user-menu-item-icon{flex-shrink:0}.icon-add-user{color:#059669}.icon-manage-users,.icon-password{color:#4f46e5}.icon-logout{color:#dc2626}.user-menu-item-text{flex-direction:column;display:flex}.user-menu-item-text .item-title{color:#1e293b;font-size:12px;font-weight:700}.user-menu-item-text .item-sub{color:#64748b;font-size:10px}.user-menu-item-text .text-danger{color:#dc2626}.user-menu-logout:hover{background-color:#fef2f2}.navbar-user-name{color:#1e293b;font-weight:600}.navbar-logout-btn{align-items:center;gap:6px;padding:6px 12px;font-size:12px;display:flex}.navbar-dropdown-container{position:relative}.navbar-master-lists-trigger{color:#4338ca;background-color:#f5f3ff;border-color:#cbd5e1}.navbar-master-lists-trigger:hover,.navbar-master-lists-trigger.active{color:#3730a3;background-color:#ede9fe;border-color:#a5b4fc}.navbar-chevron{color:#6366f1;transition:transform .2s}.navbar-chevron.rotate{transform:rotate(180deg)}.navbar-custom-dropdown-menu{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:250px;padding:6px;animation:.15s cubic-bezier(.16,1,.3,1) dropdownPop;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 25px -5px #0f172a26,0 8px 10px -6px #0f172a1a}@keyframes dropdownPop{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.navbar-dropdown-header{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;padding:6px 10px 4px;font-size:11px;font-weight:700}.navbar-dropdown-option{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;padding:8px 10px;transition:background-color .15s;display:flex}.navbar-dropdown-option:hover{background-color:#f8fafc}.option-texts{flex-direction:column;display:flex}.option-title{color:#1e293b;font-size:13px;font-weight:700}.option-desc{color:#64748b;font-size:11px}.navbar-dropdown-divider{background:#f1f5f9;height:1px;margin:4px 6px}.option-view-all{background:#f8fafc}.option-view-all:hover{background:#eff6ff}.menu-icon-ac{color:#2563eb;flex-shrink:0}.menu-icon-debit{color:#059669;flex-shrink:0}.menu-icon-party{color:#7c3aed;flex-shrink:0}@media (width<=900px){.navbar-shortcut-kbd{display:none}}@media (width<=768px){.navbar-custom-dropdown-menu{left:auto;right:0}}.cp-modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.cp-modal-content{background:#fff;border:1px solid #e2e8f0e6;border-radius:16px;width:100%;max-width:440px;animation:.2s cubic-bezier(.16,1,.3,1) cpModalFade;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a40}@keyframes cpModalFade{0%{opacity:0;transform:scale(.97)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}.cp-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.cp-modal-header-left{align-items:center;gap:12px;display:flex}.cp-modal-icon{color:#6366f1;background:#ede9fe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.cp-modal-title{color:#0f172a;margin:0;font-size:16px;font-weight:700}.cp-modal-subtitle{color:#64748b;margin:2px 0 0;font-size:12px}.cp-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:6px;transition:all .15s;display:flex}.cp-modal-close-btn:hover{color:#334155;background:#f1f5f9}.cp-modal-body{flex-direction:column;gap:16px;padding:20px;display:flex}.cp-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:flex-start;gap:10px;padding:10px 14px;font-size:13px;line-height:1.4;display:flex}.cp-alert-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;align-items:flex-start;gap:10px;padding:10px 14px;font-size:13px;line-height:1.4;display:flex}.cp-field-group{flex-direction:column;gap:6px;display:flex}.cp-field-group label{color:#334155;font-size:13px;font-weight:600}.cp-input-wrapper{align-items:center;display:flex;position:relative}.cp-input-icon{color:#94a3b8;pointer-events:none;position:absolute;left:12px}.cp-input-wrapper input,.cp-input-wrapper select{color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;height:42px;padding:0 14px 0 38px;font-size:14px;transition:all .15s}.cp-input-wrapper input.has-eye{padding-right:40px}.cp-input-wrapper input:focus,.cp-input-wrapper select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.cp-eye-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;display:flex;position:absolute;right:8px}.cp-eye-btn:hover{color:#475569}.cp-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:10px;padding:14px 20px;display:flex}.cp-btn-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .15s}.cp-btn-cancel:hover{background:#f1f5f9;border-color:#94a3b8}.cp-btn-submit{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;align-items:center;gap:8px;padding:8px 18px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 2px #4f46e533}.cp-btn-submit:hover:not(:disabled){background:#4338ca}.cp-btn-submit:disabled{opacity:.65;cursor:not-allowed}.cp-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite cpSpin}@keyframes cpSpin{to{transform:rotate(360deg)}}.home-dashboard-container{box-sizing:border-box;flex-direction:column;gap:24px;max-width:1320px;margin:0 auto;padding:32px 24px 80px;display:flex}.home-welcome-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.home-welcome-title{color:#0f172a;letter-spacing:-.3px;margin:0;font-size:24px;font-weight:800}.home-welcome-subtitle{color:#64748b;margin:4px 0 0;font-size:13px}.dashboard-modules-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px;width:100%;display:grid}.home-bank-module-card{cursor:pointer;box-sizing:border-box;background:#fff;border:2px solid #e2e8f0;border-radius:18px;flex-direction:column;justify-content:space-between;gap:16px;height:100%;padding:22px;transition:all .25s cubic-bezier(.4,0,.2,1);display:flex;position:relative;overflow:hidden;box-shadow:0 4px 18px #0f172a0d}.home-bank-module-card:hover{border-color:#cbd5e1;transform:translateY(-4px);box-shadow:0 12px 28px #0f172a1a}.dashboard-card-accent{height:6px;position:absolute;top:0;left:0;right:0}.dashboard-card-accent.accent-bank{background:linear-gradient(90deg,#4f46e5 0%,#7c3aed 100%)}.dashboard-card-accent.accent-invest{background:linear-gradient(90deg,#059669 0%,#10b981 100%)}.dashboard-card-accent.accent-material{background:linear-gradient(90deg,#d97706 0%,#f59e0b 100%)}.dashboard-card-accent.accent-machineries{background:linear-gradient(90deg,#2563eb 0%,#4f46e5 100%)}.dashboard-card-accent.accent-fdr{background:linear-gradient(90deg,#059669 0%,#10b981 100%)}.dashboard-card-accent.accent-ledger{background:linear-gradient(90deg,#7c3aed 0%,#a855f7 100%)}.dashboard-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.dashboard-card-header-left{align-items:center;gap:12px;display:flex}.dashboard-card-icon{color:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.dashboard-card-icon.icon-bank{background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);box-shadow:0 6px 16px #4f46e54d}.dashboard-card-icon.icon-invest{background:linear-gradient(135deg,#059669 0%,#10b981 100%);box-shadow:0 6px 16px #10b9814d}.dashboard-card-icon.icon-material{background:linear-gradient(135deg,#d97706 0%,#f59e0b 100%);box-shadow:0 6px 16px #d977064d}.dashboard-card-icon.icon-machineries{background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);box-shadow:0 6px 16px #2563eb4d}.dashboard-card-icon.icon-fdr{background:linear-gradient(135deg,#059669 0%,#10b981 100%);box-shadow:0 6px 16px #10b9814d}.dashboard-card-icon.icon-ledger{background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);box-shadow:0 6px 16px #7c3aed4d}.dashboard-card-title{color:#0f172a;margin:0;font-size:18px;font-weight:800}.dashboard-card-subtitle{color:#64748b;font-size:12px}.dashboard-card-count-badge{white-space:nowrap;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700}.dashboard-card-count-badge.badge-bank{color:#4f46e5;background:#ede9fe}.dashboard-card-count-badge.badge-invest{color:#059669;background:#dcfce7}.dashboard-card-count-badge.badge-material{color:#b45309;background:#fef3c7}.dashboard-card-count-badge.badge-machineries{color:#1d4ed8;background:#eff6ff}.dashboard-card-count-badge.badge-fdr{color:#047857;background:#dcfce7}.dashboard-card-count-badge.badge-ledger{color:#7e22ce;background:#f3e8ff}.dashboard-card-btn{cursor:pointer;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:40px;margin-top:auto;padding:10px;font-size:13px;font-weight:700;transition:opacity .15s;display:flex}.dashboard-card-btn:hover{opacity:.95}.dashboard-card-btn.btn-bank-action{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);box-shadow:0 4px 14px #4f46e540}.dashboard-card-btn.btn-invest-action{color:#fff;background:linear-gradient(135deg,#059669 0%,#10b981 100%);box-shadow:0 4px 14px #10b98140}.dashboard-card-btn.btn-material-action{color:#fff;background:linear-gradient(135deg,#d97706 0%,#f59e0b 100%);box-shadow:0 4px 14px #d9770640}.dashboard-card-btn.btn-mach-action{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);box-shadow:0 4px 14px #2563eb40}.dashboard-card-btn.btn-fdr-action{color:#fff;background:linear-gradient(135deg,#059669 0%,#10b981 100%);box-shadow:0 4px 14px #10b98140}.dashboard-card-btn.btn-ledger-action{color:#fff;background:linear-gradient(135deg,#7c3aed 0%,#a855f7 100%);box-shadow:0 4px 14px #7c3aed40}@media (width<=1080px){.dashboard-modules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.dashboard-modules-grid{grid-template-columns:1fr;gap:16px}}.confirm-modal-overlay{z-index:11000;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#0f172ab3;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.confirm-modal-box{background:#fff;border-radius:16px;width:100%;max-width:460px;animation:.2s cubic-bezier(.16,1,.3,1) confirmModalFadeIn;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a47,0 0 0 1px #e2e8f0e6}@keyframes confirmModalFadeIn{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.confirm-modal-header{justify-content:space-between;align-items:flex-start;gap:14px;padding:20px 24px 12px;display:flex}.confirm-modal-header-left{align-items:center;gap:14px;display:flex}.confirm-modal-icon-badge{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.confirm-modal-icon-badge.is-danger{color:#dc2626;background:#fee2e2;box-shadow:0 4px 12px #ef444426}.confirm-modal-icon-badge.is-warning{color:#d97706;background:#fef3c7;box-shadow:0 4px 12px #f59e0b26}.confirm-modal-icon-badge.is-primary{color:#4f46e5;background:#e0e7ff;box-shadow:0 4px 12px #4f46e526}.confirm-modal-title{color:#0f172a;margin:0;font-size:17px;font-weight:800;line-height:1.3}.confirm-modal-subtitle{color:#64748b;margin:2px 0 0;font-size:12px;font-weight:500}.confirm-modal-close-btn{cursor:pointer;color:#64748b;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;transition:all .15s;display:flex}.confirm-modal-close-btn:hover{color:#0f172a;background:#e2e8f0}.confirm-modal-body{padding:8px 24px 20px}.confirm-modal-message{color:#1e293b;font-size:14px;font-weight:600;line-height:1.5}.confirm-modal-message.has-extra{margin-bottom:12px}.confirm-modal-details{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:10px 14px;font-size:12.5px;line-height:1.6}.confirm-modal-warning{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:12px;font-weight:500;display:flex}.confirm-modal-warning-icon{color:#e11d48;flex-shrink:0}.confirm-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:10px;padding:14px 24px;display:flex}.confirm-modal-cancel-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:9px 18px;font-size:13px;font-weight:600;transition:all .15s}.confirm-modal-cancel-btn:hover{color:#1e293b;background:#f1f5f9}.confirm-modal-submit-btn{cursor:pointer;color:#fff;border:none;border-radius:8px;outline:none;align-items:center;gap:6px;padding:9px 20px;font-size:13px;font-weight:700;transition:all .15s;display:flex}.confirm-modal-submit-btn.is-danger{background:#e11d48;box-shadow:0 4px 14px #e11d484d}.confirm-modal-submit-btn.is-danger:hover{background:#be123c;transform:translateY(-1px)}.confirm-modal-submit-btn.is-warning{background:#d97706;box-shadow:0 4px 14px #d977064d}.confirm-modal-submit-btn.is-warning:hover{background:#b45309;transform:translateY(-1px)}.confirm-modal-submit-btn.is-primary{background:#4f46e5;box-shadow:0 4px 14px #4f46e54d}.confirm-modal-submit-btn.is-primary:hover{background:#4338ca;transform:translateY(-1px)}.searchable-select-container{box-sizing:border-box;text-align:left;width:100%;min-width:0;max-width:100%;display:block;position:relative}.searchable-select-container.size-sm{font-size:12px}.searchable-select-container.size-md{font-size:13px}.searchable-select-container.size-lg{font-size:14px}.searchable-select-trigger{box-sizing:border-box;cursor:pointer;color:#0f172a;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;max-width:100%;transition:all .15s ease-in-out;display:flex}.searchable-select-trigger.size-sm{border-radius:6px;min-height:32px;padding:5px 9px;font-size:12px}.searchable-select-trigger.size-md{border-radius:8px;min-height:40px;padding:8px 12px;font-size:13px}.searchable-select-trigger.size-lg{border-radius:8px;min-height:44px;padding:10px 14px;font-size:14px}.searchable-select-trigger:hover:not(.is-disabled){border-color:#94a3b8}.searchable-select-trigger.is-open{background:#fff;border-color:#4f46e5!important;box-shadow:0 0 0 3px #4f46e526!important}.searchable-select-trigger.is-disabled{cursor:not-allowed;color:#94a3b8;opacity:.75;background:#f1f5f9;border-color:#e2e8f0}.searchable-select-value{white-space:nowrap;text-overflow:ellipsis;color:#94a3b8;flex:1;min-width:0;max-width:100%;font-weight:500;line-height:1.3;overflow:hidden}.searchable-select-value.has-value{color:#0f172a;font-weight:600}.searchable-select-icons{flex-shrink:0;align-items:center;gap:5px;display:flex}.searchable-select-clear-btn{color:#94a3b8;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;transition:all .15s;display:flex}.searchable-select-clear-btn:hover{color:#ef4444;background:#fee2e2}.searchable-select-chevron{color:#64748b;transition:transform .2s cubic-bezier(.4,0,.2,1)}.searchable-select-chevron.is-open{color:#4f46e5;transform:rotate(180deg)}.searchable-select-hidden-input{opacity:0;pointer-events:none;width:0;height:0;position:absolute;bottom:0;left:0}.searchable-select-dropdown{z-index:99999;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;min-width:180px;max-width:420px;animation:.15s ease-out searchableSelectFadeIn;position:absolute;top:calc(100% + 5px);left:0;overflow:hidden;box-shadow:0 10px 25px -5px #0000001f,0 8px 10px -6px #00000014}.searchable-select-dropdown.open-upwards{top:auto;bottom:calc(100% + 5px);box-shadow:0 -10px 25px -5px #0000001f,0 -8px 10px -6px #00000014}.searchable-select-dropdown.align-right{left:auto;right:0}@keyframes searchableSelectFadeIn{0%{opacity:0;transform:translateY(-4px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.searchable-select-search-bar{background:#f8fafc;border-bottom:1px solid #f1f5f9;align-items:center;gap:8px;padding:8px 10px;display:flex}.searchable-select-search-input{color:#0f172a;background:0 0;border:none;outline:none;width:100%;padding:0;font-family:inherit;font-size:12px}.searchable-select-search-input::placeholder{color:#94a3b8}.searchable-select-search-clear{cursor:pointer;color:#94a3b8;justify-content:center;align-items:center;transition:color .15s;display:flex}.searchable-select-search-clear:hover{color:#ef4444}.searchable-select-list{max-height:220px;padding:4px;overflow-y:auto}.searchable-select-list::-webkit-scrollbar{width:5px}.searchable-select-list::-webkit-scrollbar-track{background:#f8fafc}.searchable-select-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.searchable-select-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.searchable-select-custom-match{cursor:pointer;color:#15803d;background:#ecfdf5;border:1px dashed #86efac;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:4px;padding:7px 10px;font-size:12px;font-weight:600;transition:background .15s;display:flex}.searchable-select-custom-match:hover{background:#d1fae5}.searchable-select-custom-label{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;display:flex;overflow:hidden}.searchable-select-custom-badge{color:#166534;background:#dcfce7;border-radius:4px;flex-shrink:0;padding:2px 6px;font-size:10px;font-weight:700}.searchable-select-empty-msg{text-align:center;color:#94a3b8;padding:14px 10px;font-size:12px;font-weight:500}.searchable-select-group-header{text-transform:uppercase;letter-spacing:.05em;color:#64748b;background:#f8fafc;border-bottom:1px solid #f1f5f9;align-items:center;gap:4px;margin-bottom:2px;padding:6px 8px 3px;font-size:10px;font-weight:800;display:flex}.searchable-select-group-header.has-divider{border-top:1px solid #f1f5f9;margin-top:4px}.searchable-select-item{cursor:pointer;color:#1e293b;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;font-size:12px;font-weight:500;transition:all .1s;display:flex}.searchable-select-item:hover,.searchable-select-item.is-highlighted{color:#0f172a;background:#f1f5f9}.searchable-select-item.is-selected{color:#4f46e5;background:#eef2ff;font-weight:600}.searchable-select-item-text{text-overflow:ellipsis;flex-direction:column;gap:2px;display:flex;overflow:hidden}.searchable-select-item-sublabel{color:#64748b;font-size:11px;font-weight:400}.searchable-select-item.is-selected .searchable-select-item-sublabel{color:#6366f1}.searchable-select-filter .searchable-select-trigger{background:#fff;border-color:#cbd5e1}.searchable-select-bank-switcher .searchable-select-trigger{color:#1e293b;background:#f8fafc;border-color:#cbd5e1;font-weight:600}.searchable-select-bank-switcher .searchable-select-trigger:hover{background:#fff;border-color:#6366f1}.searchable-select-modal-field{width:100%}.searchable-select-multi-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:5px 10px;display:flex}.searchable-select-toolbar-btn{color:#4f46e5;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 5px;font-size:11px;font-weight:600;transition:background .12s}.searchable-select-toolbar-btn:hover{background:#ede9fe}.searchable-select-toolbar-btn.clear{color:#ef4444}.searchable-select-toolbar-btn.clear:hover{background:#fee2e2}.searchable-select-item-content{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.searchable-select-checkbox{background:#fff;border:1.5px solid #cbd5e1;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:14px;height:14px;transition:all .12s;display:flex}.searchable-select-checkbox.is-checked{background:#4f46e5;border-color:#4f46e5}.searchable-select-multi-badge{color:#4f46e5;background:#ede9fe;border-radius:10px;align-items:center;padding:1px 6px;font-size:10.5px;font-weight:700;line-height:1.2;display:inline-flex}.accounts-view-container{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:24px 20px 80px}.accounts-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.accounts-header-left{align-items:center;gap:12px;min-width:0;display:flex}.accounts-back-btn{flex-shrink:0;align-items:center;gap:6px;padding:7px 12px;font-weight:700;display:flex}.accounts-header-icon-wrap{color:#4f46e5;background:#ede9fe;border-radius:8px;flex-shrink:0;padding:5px;display:inline-flex}.accounts-page-title{color:var(--text-main);align-items:center;gap:8px;margin:0;font-size:22px;font-weight:800;display:flex}.accounts-header-actions{align-items:center;gap:8px;display:flex}.accounts-toggle-add-btn{justify-content:center;align-items:center;gap:6px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:700;display:flex}.accounts-success-banner{color:#065f46;background:#ecfdf5;border:1px solid #10b981;border-radius:10px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 16px;font-size:13px;font-weight:600;display:flex}.accounts-success-icon{flex-shrink:0}.accounts-form-card{background:#fff;border:2px solid #4f46e5;border-radius:16px;margin-bottom:24px;padding:20px;box-shadow:0 6px 24px #4f46e514}.accounts-form-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.accounts-form-header-left{align-items:center;gap:10px;display:flex}.accounts-form-icon-wrap{color:#fff;background:#4f46e5;border-radius:8px;padding:6px;display:flex}.accounts-form-title{color:#0f172a;margin:0;font-size:17px;font-weight:800}.accounts-form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:18px;display:grid}.accounts-form-label{color:#334155;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.accounts-form-label-between{color:#334155;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:12px;font-weight:700;display:flex}.accounts-form-hint{color:#64748b;font-size:11px;font-weight:400}.accounts-form-required{color:#ef4444}.accounts-form-input,.accounts-form-select{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-height:42px;padding:9px 12px;font-size:14px}.accounts-form-input:focus,.accounts-form-select:focus{border-color:#4f46e5}.accounts-form-select.type-cash{color:#059669;font-weight:700}.accounts-form-select.type-bank{color:#4f46e5;font-weight:700}.accounts-form-input.is-number{font-weight:600}.accounts-form-submit-row{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.accounts-form-cancel-btn{min-height:42px;font-size:13px}.accounts-form-save-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 20px;font-size:13px;font-weight:700;display:flex}.accounts-controls-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.accounts-controls-left{align-items:center;gap:8px;display:flex}.accounts-section-heading{color:var(--text-main);margin:0;font-size:18px;font-weight:800}.accounts-count-badge{color:#4f46e5;background:#ede9fe;border-radius:12px;padding:2px 8px;font-size:12px;font-weight:700}.accounts-controls-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.accounts-search-wrap{width:240px;position:relative}.accounts-search-icon{color:#94a3b8;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.accounts-search-input{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:20px;outline:none;width:100%;padding:8px 12px 8px 34px;font-size:13px}.accounts-search-input:focus{border-color:#4f46e5}.accounts-empty-state{text-align:center;background:#fff;border:2px dashed #cbd5e1;border-radius:16px;padding:44px 20px}.accounts-empty-icon-box{color:#4f46e5;background:#ede9fe;border-radius:14px;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:14px;display:inline-flex}.accounts-empty-title{color:#0f172a;margin-bottom:6px;font-size:18px;font-weight:800}.accounts-empty-desc{color:#64748b;max-width:440px;margin:0 auto 18px;font-size:13px;line-height:1.5}.accounts-empty-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.accounts-table-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow-x:auto;box-shadow:0 2px 8px #0f172a0a}.accounts-table{border-collapse:collapse;text-align:left;width:100%;min-width:920px;font-size:13px}.accounts-table-head-row{color:#475569;background:#f8fafc;border-bottom:1.5px solid #e2e8f0}.accounts-th{text-transform:uppercase;letter-spacing:.5px;padding:14px 16px;font-size:11px;font-weight:700}.accounts-th.align-right{text-align:right}.accounts-tr{border-bottom:1px solid #f1f5f9;transition:background-color .15s}.accounts-tr:hover{background-color:#f8fafc}.accounts-td{vertical-align:middle;padding:16px}.accounts-td.details-col{color:#475569;font-size:12px}.accounts-td.align-right{text-align:right}.accounts-row-bank-wrap{align-items:center;gap:12px;display:flex}.accounts-row-avatar{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex;box-shadow:0 2px 5px #0000000a}.accounts-row-avatar.is-cash{color:#059669;background:#ecfdf5}.accounts-row-avatar.is-bank{color:#2563eb;background:#eff6ff}.accounts-row-name-link{color:#0f172a;cursor:pointer;font-size:15px;font-weight:800;text-decoration:none}.accounts-row-name-link:hover{color:#4f46e5}.accounts-row-subline{align-items:center;gap:6px;margin-top:3px;display:flex}.accounts-row-bankname{color:#64748b;font-size:12px}.accounts-type-chip{border-radius:12px;padding:1px 7px;font-size:10px;font-weight:700}.accounts-type-chip.is-cash{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.accounts-type-chip.is-bank{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.accounts-detail-label{color:#334155;font-weight:700}.accounts-detail-mono{font-family:monospace;font-size:12.5px;font-weight:600}.accounts-od-chip{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.accounts-header-title-box{min-width:0}.accounts-empty-add-btn{align-items:center;gap:8px;min-height:40px;display:inline-flex}.accounts-detail-ifsc{color:#64748b;margin-top:2px}.accounts-detail-branch{color:#64748b;margin-top:1px}.accounts-detail-od-wrap{margin-top:4px}.accounts-detail-cash-hint{color:#059669;font-style:italic}.accounts-detail-od-val{color:#1d4ed8;font-weight:700}.accounts-balance-display{font-size:15px;font-weight:800}.accounts-balance-display.positive{color:#4f46e5}.accounts-balance-display.negative{color:#ea580c}.accounts-balance-subtext{color:#64748b;text-transform:uppercase;font-size:10.5px;font-weight:600}.accounts-table-actions{align-items:center;gap:6px;display:inline-flex}.accounts-table-open-btn{align-items:center;gap:5px;padding:7px 12px;font-size:12px;font-weight:700;display:inline-flex}.accounts-table-del-btn{color:#94a3b8;padding:7px 9px}.accounts-table-del-btn:hover{color:#ef4444}.accounts-table-edit-btn{color:#334155;background:#fff;border-color:#cbd5e1;align-items:center;gap:5px;padding:7px 12px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.accounts-table-edit-btn:hover{color:#4f46e5;background-color:#eff6ff;border-color:#a5b4fc}.edit-account-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;box-sizing:border-box;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;animation:.2s ease-out accountsFadeIn;display:flex;position:fixed;inset:0}.edit-account-modal-box{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:640px;max-height:90vh;animation:.2s cubic-bezier(.16,1,.3,1) accountsScaleUp;display:flex;overflow:hidden;box-shadow:0 20px 40px -15px #00000040}@keyframes accountsFadeIn{0%{opacity:0}to{opacity:1}}@keyframes accountsScaleUp{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.edit-account-modal-header{background:#fff;border-bottom:1px solid #f1f5f9;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.edit-account-modal-header-left{align-items:center;gap:12px;display:flex}.edit-account-modal-icon-wrap{color:#4f46e5;background:#ede9fe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.edit-account-modal-title{color:#0f172a;margin:0;font-size:17px;font-weight:800}.edit-account-modal-subtitle{color:#64748b;margin:2px 0 0;font-size:12px}.edit-account-modal-close-btn{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:background .15s,color .15s;display:flex}.edit-account-modal-close-btn:hover{color:#0f172a;background:#e2e8f0}.edit-account-modal-form{flex-direction:column;flex:1;gap:16px;padding:22px;display:flex;overflow-y:auto}.edit-account-form-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.edit-account-modal-footer{border-top:1px solid #f1f5f9;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;margin-top:8px;padding-top:14px;display:flex}.edit-account-save-btn{align-items:center;gap:6px;padding:9px 18px;font-weight:700;display:inline-flex}.ledger-view-container{box-sizing:border-box;flex-direction:column;flex:1;max-width:100%;height:100%;min-height:0;max-height:100%;padding:10px 18px 12px;display:flex;overflow:hidden}.ledger-empty-box{text-align:center;background:#fff;border:2px dashed #cbd5e1;border-radius:16px;max-width:500px;margin:60px auto;padding:60px 20px}.ledger-empty-icon{color:#4f46e5;background:#ede9fe;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:16px;display:inline-flex}.ledger-empty-title{color:#0f172a;margin-bottom:8px;font-size:20px;font-weight:800}.ledger-empty-desc{color:#64748b;margin-bottom:24px;font-size:14px}.ledger-header-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:8px 16px;display:flex;box-shadow:0 1px 3px #0000000d}.ledger-header-left{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.ledger-header-title-row{align-items:center;gap:8px;display:flex}.ledger-header-title{color:#0f172a;margin:0;font-size:18px;font-weight:800}.ledger-type-chip{border-radius:12px;padding:2px 8px;font-size:11px;font-weight:700}.ledger-type-chip.is-cash{color:#059669;background:#ecfdf5}.ledger-type-chip.is-bank{color:#2563eb;background:#eff6ff}.ledger-type-chip.is-all{color:#6366f1;background:#ede9fe;border:1px solid #ddd6fe}.ledger-header-subtext{color:#64748b;margin-top:2px;font-size:12px}.ledger-header-limits-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.ledger-od-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:700}.ledger-drawing-pill{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:700}.ledger-drawing-pill.over-limit{color:#dc2626;background:#fef2f2;border-color:#fecaca}.ledger-header-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ledger-switch-bank-wrap{align-items:center;gap:6px;display:flex}.ledger-switch-bank-label{color:#64748b;font-size:12px;font-weight:600}.ledger-switch-bank-select{color:#1e293b;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:6px 12px;font-size:13px;font-weight:600}.ledger-report-toggle-btn{color:#6d28d9;cursor:pointer;background:#f5f3ff;border:1px solid #c4b5fd;border-radius:6px;align-items:center;gap:6px;padding:5px 12px;font-weight:700;transition:all .15s;display:inline-flex}.ledger-report-toggle-btn:hover{color:#fff;background:#6d28d9;border-color:#6d28d9}.ledger-filters-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;margin-bottom:8px;padding:8px 12px;box-shadow:0 1px 3px #0000000a}.ledger-filters-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));align-items:center;gap:8px;display:grid}.ledger-search-box{position:relative}.ledger-search-icon{color:#94a3b8;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.ledger-search-input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:6px 8px 6px 28px;font-size:12px}.ledger-filter-input,.ledger-filter-select{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:6px 8px;font-size:12px}.ledger-reset-filters-btn{justify-content:center;width:100%;padding:6px;font-size:11px}.ledger-inline-entry-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;margin-bottom:8px;padding:7px 12px;display:flex}.ledger-inline-tag{color:#4f46e5;text-transform:uppercase;margin-right:4px;font-size:11px;font-weight:800}.ledger-inline-input{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;outline:none;padding:5px 6px;font-size:11px}.ledger-inline-input.date-col{width:110px}.ledger-inline-input.desc-col{flex:120px;min-width:100px;padding:5px 8px}.ledger-inline-input.cheque-col{width:80px}.ledger-inline-contra-wrap{align-items:center;gap:2px;display:inline-flex}.ledger-inline-contra-select{color:#6366f1;cursor:pointer;background:#ede9fe;border:1px solid #c7d2fe;border-radius:4px;outline:none;height:27px;padding:4px 2px;font-size:11px;font-weight:700}.ledger-inline-input.contra-col{color:#6366f1;background:#faf5ff;border-color:#c7d2fe;width:80px;font-weight:600}.ledger-inline-input.contra-col:focus{background:#fff;border-color:#6366f1}.ledger-inline-input.ac-col{width:120px}.ledger-inline-swap-btn{color:#6366f1;cursor:pointer;background:#f5f3ff;border:1px solid #c7d2fe;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;height:27px;padding:4px 6px;transition:all .15s;display:inline-flex}.ledger-inline-swap-btn:hover{color:#fff;background:#6366f1;border-color:#6366f1}.ledger-inline-select.ac-col,.ledger-inline-select.party-col{flex-shrink:0;width:140px;min-width:130px}.ledger-inline-input.pay-col{color:#dc2626;width:90px;font-weight:600}.ledger-inline-input.dep-col{color:#16a34a;width:90px;font-weight:600}.ledger-inline-input.head-col{width:95px}.ledger-inline-input.debit-col{width:90px}.ledger-inline-input.party-col{width:110px}.ledger-inline-submit-btn{flex-shrink:0;padding:5px 12px;font-size:11px;font-weight:700}.ledger-inline-submit-btn.is-contra{color:#fff;background:#6366f1;border-color:#4f46e5;align-items:center;gap:5px;display:inline-flex}.ledger-inline-submit-btn.is-contra:hover{background:#4f46e5}.ledger-table-container{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex:1;min-height:0;position:relative;overflow:auto;box-shadow:0 1px 4px #0000000f}.ledger-table-container::-webkit-scrollbar{width:8px;height:8px}.ledger-table-container::-webkit-scrollbar-track{background:#f8fafc;border-radius:4px}.ledger-table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.ledger-table-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.ledger-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;min-width:980px;font-size:12px}.ledger-table thead{z-index:25;position:sticky;top:0}.ledger-th-row{color:#334155;background:#f1f5f9}.ledger-th{z-index:25;background:#f1f5f9;border-bottom:2px solid #cbd5e1;border-right:1px solid #cbd5e1;padding:8px 10px;font-size:12px;font-weight:700;position:sticky;top:0}.ledger-th:last-child{border-right:none}.ledger-th{vertical-align:top;padding:6px 8px}.ledger-th-col-bank{width:150px;min-width:150px}.ledger-th-col-desc{min-width:170px}.ledger-th-col-deposit,.ledger-th-col-payment{width:95px;min-width:95px}.ledger-th-col-head,.ledger-th-col-ac,.ledger-th-col-party,.ledger-th-col-debit{width:135px;min-width:135px}.ledger-th-direct-cell{flex-direction:column;gap:5px;min-height:52px;display:flex}.ledger-th.align-right .ledger-th-direct-cell{align-items:flex-end}.ledger-th-title{color:#334155;white-space:nowrap;font-size:11.5px;font-weight:700;line-height:1.2}.ledger-th-filter-control{flex-direction:column;gap:3px;width:100%;display:flex}.ledger-th-filter-placeholder{flex:1;min-height:26px}.th-direct-input,.th-direct-select{color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;outline:none;width:100%;height:26px;padding:2px 6px;font-size:11px;font-weight:500;transition:border-color .15s,box-shadow .15s}.th-direct-input:focus,.th-direct-select:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.th-direct-input-wrap{align-items:center;width:100%;display:flex;position:relative}.th-direct-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:6px}.th-direct-input.with-search{padding-left:20px}.th-direct-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0 3px;font-size:14px;line-height:1;position:absolute;right:4px}.th-direct-clear-btn:hover{color:#ef4444}.th-direct-ym-row{gap:3px;width:100%;display:flex}.th-direct-ym-row .th-direct-select{flex:1;min-width:0;padding:2px;font-size:10.5px}.th-direct-searchable .searchable-select-trigger.size-sm{border-color:#cbd5e1!important;border-radius:4px!important;height:26px!important;min-height:26px!important;padding:2px 6px!important;font-size:11px!important;font-weight:500!important}.th-direct-searchable .searchable-select-text{font-size:11px!important}.th-action-cell{align-items:center}.th-direct-reset-btn{color:#94a3b8;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;justify-content:center;align-items:center;width:26px;height:26px;margin:0 auto;transition:all .15s;display:flex}.th-direct-reset-btn:hover:not(:disabled){color:#ef4444;background:#fee2e2;border-color:#fca5a5}.th-direct-reset-btn.is-active{color:#ef4444;background:#fef2f2;border-color:#f87171;box-shadow:0 0 0 2px #ef444426}.th-direct-reset-btn:disabled{opacity:.35;cursor:default}.ledger-th.align-right{text-align:right}.ledger-tr{background:#fff}.ledger-tr.is-odd{background:#f8fafc}.ledger-tr.is-even{background:#fff}.ledger-td{border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;padding:6px 10px}.ledger-td:last-child{border-right:none}.ledger-td.mono{font-family:monospace}.ledger-td.desc{color:#1e293b;font-family:monospace;font-size:11.5px}.ledger-td.align-right{text-align:right}.ledger-td.bal1{text-align:right;font-family:monospace;font-weight:600}.ledger-td.bal1.positive{color:#10b981}.ledger-td.bal1.negative{color:#ea580c}.ledger-td.bal2{text-align:right;font-family:monospace;font-weight:700}.ledger-td.bal2.positive{color:#0f172a}.ledger-td.bal2.negative{color:#dc2626}.ledger-td.single-bal.positive{color:#10b981}.ledger-td.single-bal.negative{color:#dc2626}.ledger-del-icon-btn{cursor:pointer;color:#cbd5e1;background:0 0;border:none;padding:4px;transition:color .15s}.ledger-del-icon-btn:hover{color:#ef4444}.ledger-table tfoot{z-index:15;position:sticky;bottom:0}.ledger-tfoot-tr{background:#f8fafc;font-weight:800}.ledger-tfoot-td{z-index:15;background:#f8fafc;border-top:2px solid #cbd5e1;border-right:1px solid #cbd5e1;padding:8px 10px;position:sticky;bottom:0;box-shadow:0 -1px 3px #0000000d}.ledger-tfoot-td:last-child{border-right:none}.ledger-tfoot-td.align-right{text-align:right;font-family:monospace}.ledger-tfoot-td.pay-total{color:#dc2626}.ledger-tfoot-td.dep-total{color:#16a34a}.ledger-back-btn{align-items:center;gap:6px;font-weight:700;display:flex}.ledger-empty-back-btn{align-items:center;gap:8px;padding:10px 24px;display:inline-flex}.ledger-export-btn,.ledger-print-btn{align-items:center;gap:6px;font-size:12px;display:flex}.ledger-quick-actions-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-bottom:18px;display:grid}.ledger-th-col-date{width:120px;min-width:110px}.ledger-th-col-cheque{width:110px;min-width:95px}.ledger-th-col-payment,.ledger-th-col-deposit{width:105px;min-width:95px}.ledger-th-col-contra{width:100px;min-width:90px}.ledger-th-col-bal{width:120px;min-width:110px}.ledger-th-col-head,.ledger-th-col-ac{width:125px;min-width:115px}.ledger-th-col-party,.ledger-th-col-debit{width:135px;min-width:120px}.ledger-th-col-action{text-align:center;width:44px;min-width:44px}.ledger-td-empty{text-align:center;color:#94a3b8;padding:36px}.ledger-td-nowrap{white-space:nowrap}.ledger-td.align-center{text-align:center}.ledger-val-positive{color:#10b981}.ledger-val-negative{color:#dc2626}.ledger-val-warning{color:#ea580c}.ledger-val-dark{color:#0f172a}.ledger-audit-sub-del{color:#dc2626;margin-top:2px;font-weight:700}.ledger-audit-sub-add{color:#16a34a;margin-top:2px;font-weight:700}.ledger-debit-chips-wrap{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.ledger-debit-chip{color:#1e293b;white-space:nowrap;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;align-items:center;padding:2px 7px;font-size:11px;font-weight:700;display:inline-flex}.ledger-row-actions{justify-content:center;align-items:center;gap:4px;display:flex}.ledger-edit-icon-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:all .15s;display:inline-flex}.ledger-edit-icon-btn:hover{color:#2563eb;background:#eff6ff}.ledger-tr.is-editing{box-shadow:inset 0 0 0 2px #22c55e;background:#f0fdf4!important}.ledger-inline-cell-input{color:#0f172a;box-sizing:border-box;background:#fff;border:1px solid #94a3b8;border-radius:4px;width:100%;padding:4px 6px;font-family:inherit;font-size:11.5px}.ledger-inline-cell-input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb33}.ledger-inline-cell-input.date-input{font-family:monospace;font-size:11px}.ledger-inline-cell-input.pay-input{text-align:right;color:#dc2626;font-weight:600}.ledger-inline-cell-input.dep-input{text-align:right;color:#16a34a;font-weight:600}.ledger-edit-static-bal{font-family:monospace;font-weight:700}.ledger-save-icon-btn{cursor:pointer;color:#fff;background:#16a34a;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px 6px;transition:all .15s;display:inline-flex}.ledger-save-icon-btn:hover{background:#15803d}.ledger-cancel-icon-btn{cursor:pointer;color:#fff;background:#ef4444;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px 6px;transition:all .15s;display:inline-flex}.ledger-cancel-icon-btn:hover{background:#dc2626}.ledger-contra-btn{align-items:center;gap:6px;font-weight:700;transition:all .15s;display:inline-flex;box-shadow:0 1px 3px #6366f14d;color:#fff!important;background:#6366f1!important;border-color:#6366f1!important}.ledger-contra-btn:hover{transform:translateY(-1px);box-shadow:0 3px 8px #6366f166;background:#4f46e5!important;border-color:#4f46e5!important}.ledger-contra-badge{color:#6366f1;letter-spacing:.02em;background:#ede9fe;border:1px solid #ddd6fe;border-radius:6px;align-items:center;gap:4px;padding:2px 7px;font-size:11px;font-weight:700;display:inline-flex}.ledger-td-contra{font-family:monospace}.ledger-contra-val{font-weight:700;display:inline-block}.ledger-contra-val.inflow{color:#16a34a}.ledger-contra-val.outflow{color:#6366f1}.ledger-tfoot-td.contra-total{color:#6366f1;font-weight:700}.ledger-tfoot-contra-breakdown{white-space:nowrap;align-items:center;gap:3px;font-size:11px;display:inline-flex}.contra-in-text{color:#16a34a;font-weight:700}.contra-out-text{color:#dc2626;font-weight:700}.contra-sep-text{color:#94a3b8;font-weight:600}.ledger-edit-contra-wrap{align-items:center;gap:2px;width:100%;display:inline-flex}.ledger-edit-contra-select{color:#6366f1;cursor:pointer;background:#ede9fe;border:1px solid #c7d2fe;border-radius:3px;outline:none;height:24px;padding:2px;font-size:10px;font-weight:700}.ledger-inline-cell-input.contra-input{color:#6366f1;background:#faf5ff;border-color:#c7d2fe;width:100%;font-weight:600}.ledger-inline-cell-input.contra-input:focus{background:#fff;border-color:#6366f1}.ledger-th-col-select{text-align:center;width:38px;min-width:38px;max-width:38px;padding:8px 4px}.th-select-cell{justify-content:center;align-items:center;min-height:52px;display:flex}.ledger-td-select{text-align:center;width:38px;min-width:38px;padding:6px 4px}.ledger-row-checkbox{cursor:pointer;accent-color:#2563eb;vertical-align:middle;width:16px;height:16px;margin:0}.ledger-opp-dash{color:#94a3b8;font-weight:700}.ledger-tr.is-row-selected{background-color:#eff6ff!important}.ledger-tr.is-row-selected:hover{background-color:#dbeafe!important}.ledger-bulk-toolbar{color:#f8fafc;background:#1e293b;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 16px;animation:.2s ease-out slideDownBulk;display:flex;box-shadow:0 4px 12px #0f172a26}@keyframes slideDownBulk{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ledger-bulk-toolbar-left{align-items:center;gap:10px;display:flex}.ledger-bulk-badge{color:#fff;background:#3b82f6;border-radius:12px;padding:2px 9px;font-size:12px;font-weight:800}.ledger-bulk-text{color:#e2e8f0;font-size:13px;font-weight:600}.ledger-bulk-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ledger-bulk-btn-edit{border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex;color:#fff!important;background:#2563eb!important;border:1px solid #1d4ed8!important}.ledger-bulk-btn-edit:hover{background:#1d4ed8!important}.ledger-bulk-btn-del{border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex;color:#fff!important;background:#dc2626!important;border:1px solid #b91c1c!important}.ledger-bulk-btn-del:hover{background:#b91c1c!important}.ledger-bulk-btn-clear{align-items:center;gap:5px;padding:6px 10px;font-size:12px;display:inline-flex;color:#cbd5e1!important}.ledger-bulk-btn-clear:hover{color:#fff!important;background:#ffffff1a!important}.ledger-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background-color:#0f172a99;justify-content:center;align-items:center;padding:16px;animation:.2s ease-out fadeInModal;display:flex;position:fixed;inset:0}@keyframes fadeInModal{0%{opacity:0}to{opacity:1}}.ledger-modal-card{background:#fff;border-radius:12px;max-height:90vh;overflow:hidden auto;box-shadow:0 20px 25px -5px #0003,0 10px 10px -5px #0000001a}.bulk-edit-modal-card{width:100%;max-width:540px;padding:24px}.ledger-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding-bottom:14px;display:flex}.ledger-modal-title{color:#0f172a;align-items:center;gap:8px;font-size:16px;font-weight:700;display:flex}.ledger-modal-close-btn{cursor:pointer;color:#64748b;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:all .15s;display:flex}.ledger-modal-close-btn:hover{color:#0f172a;background:#f1f5f9}.bulk-edit-instruction{color:#64748b;background:#f8fafc;border-left:3px solid #3b82f6;border-radius:6px;margin:12px 0 16px;padding:10px 12px;font-size:12.5px;line-height:1.4}.bulk-edit-form{flex-direction:column;gap:12px;display:flex}.bulk-edit-field-row{grid-template-columns:140px 1fr;align-items:center;gap:12px;display:grid}.bulk-edit-field-label{color:#1e293b;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:12.5px;font-weight:600;display:flex}.bulk-edit-field-label input[type=checkbox]{cursor:pointer;accent-color:#2563eb;width:16px;height:16px}.bulk-edit-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:7px 10px;font-size:12.5px;transition:all .15s}.bulk-edit-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.bulk-edit-input:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9;border-color:#e2e8f0}.bulk-edit-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:8px;margin-top:18px;padding-top:14px;display:flex}.ledger-td.bank-col{white-space:nowrap}.ledger-bank-pill{color:#1e40af;white-space:nowrap;text-overflow:ellipsis;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:5px;max-width:100%;padding:3px 8px;font-size:11.5px;font-weight:600;display:inline-flex;overflow:hidden;box-shadow:0 1px 2px #1e40af0a}.ledger-bank-pill.is-opp{color:#64748b;background:#f8fafc;border-color:#e2e8f0;font-style:italic}.ledger-bank-icon{color:#3b82f6;flex-shrink:0}.ledger-bank-pill.is-opp .ledger-bank-icon{color:#94a3b8}.ledger-inline-cell-input.bank-select{color:#1e40af;background:#eff6ff;border:1px solid #93c5fd;border-radius:4px;width:100%;padding:3px 6px;font-size:11.5px;font-weight:500}.invest-view-container{box-sizing:border-box;flex-direction:column;flex:1;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%;margin:0 auto;padding:12px 20px;display:flex;overflow:hidden}.invest-header-row{flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.invest-header-left{align-items:center;gap:12px;min-width:0;display:flex}.invest-back-btn{flex-shrink:0;align-items:center;gap:6px;padding:7px 12px;font-weight:700;display:flex}.invest-header-icon-box{color:#059669;background:#dcfce7;border-radius:8px;flex-shrink:0;padding:6px;display:inline-flex}.invest-title{color:#0f172a;align-items:center;gap:8px;margin:0;font-size:20px;font-weight:800;display:flex}.invest-subtitle{color:#64748b;margin-top:2px;margin-bottom:0;font-size:13px}.invest-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.invest-action-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex}.invest-action-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8}.invest-toggle-form-btn{cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:700;display:inline-flex}.invest-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:20px;display:grid}.invest-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;padding:14px 16px;display:flex;box-shadow:0 1px 3px #0000000a}.invest-kpi-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:700}.invest-kpi-val{margin-top:4px;font-size:20px;font-weight:800;line-height:1.2}.invest-kpi-val.color-dark{color:#0f172a}.invest-kpi-val.color-blue{color:#2563eb}.invest-kpi-val.color-purple{color:#7c3aed}.invest-kpi-val.color-green{color:#059669}.invest-kpi-val.color-emerald{color:#047857}.invest-kpi-sub{color:#64748b;margin-top:4px;font-size:11px}.invest-success-banner{color:#065f46;background:#ecfdf5;border:1px solid #10b981;border-radius:8px;align-items:center;gap:8px;margin-bottom:16px;padding:10px 14px;font-size:13px;font-weight:600;display:flex}.invest-flex-shrink-0{flex-shrink:0}.invest-form-card{background:#fff;border:2px solid #059669;border-radius:14px;margin-bottom:20px;padding:18px 20px;box-shadow:0 4px 16px #05966914}.invest-form-header{align-items:center;gap:10px;margin-bottom:16px;display:flex}.invest-form-icon{color:#fff;background:#059669;border-radius:8px;justify-content:center;align-items:center;padding:6px;display:flex}.invest-form-title{color:#0f172a;margin:0;font-size:16px;font-weight:800}.invest-form-sub{color:#64748b;margin:2px 0 0;font-size:12px}.invest-form-grid-dense{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:16px;display:grid}.invest-form-group{flex-direction:column;display:flex}.invest-form-group.col-span-2{grid-column:span 2}@media (width<=768px){.invest-form-group.col-span-2{grid-column:span 1}}.invest-form-label{color:#475569;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:11px;font-weight:700}.invest-form-required{color:#ef4444}.invest-form-input{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;height:38px;padding:8px 10px;font-size:13px}.invest-form-input:focus{border-color:#059669;box-shadow:0 0 0 2px #05966926}.invest-form-input.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.invest-form-input.font-bold{font-weight:700}.invest-form-actions{justify-content:flex-end;gap:10px;margin-top:10px;display:flex}.invest-form-cancel-btn{border-radius:6px;padding:8px 16px;font-size:13px}.invest-form-save-btn{border-radius:6px;align-items:center;gap:6px;padding:8px 18px;font-size:13px;font-weight:700;display:inline-flex}.invest-controls-bar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;display:flex}.invest-filters-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.invest-filter-item{align-items:center;gap:6px;display:flex}.invest-filter-tag{color:#64748b;text-transform:uppercase;font-size:11.5px;font-weight:700}.invest-filter-select{color:#1e293b;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:6px 10px;font-size:12px}.invest-filter-select:focus{background:#fff;border-color:#059669}.invest-search-wrap{width:220px;position:relative}.invest-search-icon{color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.invest-search-input{box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;outline:none;width:100%;padding:6px 26px 6px 30px;font-size:12.5px}.invest-search-input:focus{background:#fff;border-color:#059669}.invest-search-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:2px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.invest-search-clear-btn:hover{color:#475569}.invest-reset-btn{color:#64748b;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:11.5px;font-weight:600;display:inline-flex}.invest-record-count-tag{color:#64748b;font-size:12px}.invest-record-count-tag strong{color:#0f172a}.invest-table-container{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex:1;min-height:0;overflow:auto;box-shadow:0 1px 4px #0000000a}.invest-table-container::-webkit-scrollbar{width:8px;height:8px}.invest-table-container::-webkit-scrollbar-track{background:#f8fafc;border-radius:4px}.invest-table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.invest-table-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.invest-fdr-table{border-collapse:separate;border-spacing:0;white-space:nowrap;table-layout:auto;width:100%;font-size:12px}.invest-fdr-table thead{z-index:10;position:sticky;top:0}.invest-fdr-head-row{background:#f1f5f9}.invest-fdr-th{z-index:10;color:#334155;text-transform:uppercase;letter-spacing:.4px;-webkit-user-select:none;user-select:none;white-space:nowrap;background:#f1f5f9;border-bottom:2px solid #cbd5e1;border-right:1px solid #e2e8f0;padding:10px;font-size:11px;font-weight:800;position:sticky;top:0}.invest-fdr-th:last-child{border-right:none}.invest-fdr-th.align-right{text-align:right}.invest-fdr-th.align-center{text-align:center}.th-year{min-width:75px}.th-dept-code{min-width:70px}.th-date{min-width:90px}.th-fdr-no{min-width:130px}.th-amt-mfg{min-width:115px}.th-ac,.th-chq{min-width:85px}.th-dept-full{min-width:160px;max-width:240px}.th-work{min-width:220px;max-width:320px}.th-tds{min-width:75px}.th-purpose{min-width:120px;max-width:180px}.th-rel-date{min-width:95px}.th-rel-amt{min-width:115px}.th-interest{min-width:100px}.th-status,.th-actions{min-width:75px}.invest-fdr-tr{border-bottom:1px solid #e2e8f0;transition:background-color .12s}.invest-fdr-tr:hover{background-color:#f8fafc}.invest-fdr-tr.is-released-row{background-color:#fbfdfc}.invest-fdr-tr.is-released-row:hover{background-color:#f0fdf4}.invest-fdr-td{vertical-align:middle;color:#1e293b;border-right:1px solid #f1f5f9;padding:8px 10px;font-size:12.5px}.invest-fdr-td:last-child{border-right:none}.invest-fdr-td.align-right{text-align:right}.invest-fdr-td.align-center{text-align:center}.invest-fdr-td.nowrap{white-space:nowrap}.invest-fdr-td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.invest-fdr-td.font-bold{font-weight:700}.invest-fdr-td.font-semibold{font-weight:600}.fdr-amount-cell{color:#0f172a}.dept-short-cell{text-transform:uppercase;color:#475569;font-weight:700}.dept-full-cell,.work-name-cell{white-space:normal;word-break:break-word;line-height:1.35}.dept-full-cell{color:#334155;text-transform:capitalize}.work-name-cell{color:#0f172a}.tds-cell{color:#64748b}.source-ac-cell,.credit-ac-cell{color:#334155;font-weight:600}.rel-amt-cell{color:#059669}.interest-cell{color:#047857}.invest-muted-dash{color:#cbd5e1}.invest-status-badge{text-transform:uppercase;letter-spacing:.3px;border-radius:12px;padding:3px 8px;font-size:10.5px;font-weight:700;display:inline-block}.invest-status-badge.status-active{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.invest-status-badge.status-released{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.invest-row-actions{align-items:center;gap:4px;display:inline-flex}.invest-icon-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:5px;justify-content:center;align-items:center;width:26px;height:26px;transition:all .12s;display:inline-flex}.invest-icon-btn.is-edit:hover{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.invest-icon-btn.is-del:hover{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.invest-icon-btn.is-save{color:#fff;background:#10b981;border-color:#059669}.invest-icon-btn.is-save:hover{background:#059669}.invest-icon-btn.is-cancel:hover{color:#334155;background:#f1f5f9}.invest-inline-actions{align-items:center;gap:4px;display:inline-flex}.invest-editing-tr{background-color:#fffbeb!important}.invest-inline-input{box-sizing:border-box;background:#fff;border:1px solid #f59e0b;border-radius:4px;outline:none;width:100%;padding:4px 6px;font-size:11.5px}.invest-inline-input:focus{border-color:#d97706;box-shadow:0 0 0 2px #f59e0b33}.invest-inline-input.align-right{text-align:right}.invest-fdr-footer-row{background:#f8fafc;border-top:2px solid #cbd5e1}.invest-fdr-tf{vertical-align:middle;border-right:1px solid #e2e8f0;padding:10px;font-size:12px}.invest-fdr-tf:last-child{border-right:none}.invest-fdr-tf.align-right{text-align:right}.invest-fdr-tf.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.invest-table-empty-cell{text-align:center;background:#fff;padding:40px 20px}.invest-empty-box{color:#64748b;flex-direction:column;align-items:center;gap:10px;font-size:13px;display:flex}.invest-confirm-details{background:#f8fafc;border-radius:6px;flex-direction:column;gap:4px;margin-top:8px;padding:10px 14px;font-size:12.5px;display:flex}@media print{.no-print{display:none!important}.print-only{display:block!important}.invest-view-container{max-width:100%!important;padding:0!important}.invest-print-header{text-align:center;margin-bottom:15px}.invest-print-header h2{text-transform:uppercase;margin:0;font-size:16pt}.invest-print-header p{color:#555;margin:4px 0 0;font-size:10pt}.invest-table-container{box-shadow:none!important;border:1px solid #000!important;overflow:visible!important}.invest-fdr-table{font-size:9pt!important}.invest-fdr-th{color:#000!important;background:#e5e5e5!important;border:1px solid #999!important;padding:6px 4px!important}.invest-fdr-td{color:#000!important;border:1px solid #ccc!important;padding:4px 5px!important}.invest-fdr-tf{color:#000!important;background:#eee!important;border:1px solid #999!important}}.head-report-container{box-sizing:border-box;flex-direction:column;gap:20px;width:100%;max-width:1400px;margin:0 auto;padding:24px 24px 60px;display:flex}.head-report-header{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex;box-shadow:0 2px 8px #0f172a0a}.head-report-header-left{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.head-report-header-icon-box{color:#fff;vertical-align:middle;background:linear-gradient(135deg,#059669 0%,#10b981 100%);border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;margin-right:12px;display:inline-flex;box-shadow:0 4px 12px #10b9814d}.head-report-title{color:#0f172a;align-items:center;margin:0;font-size:22px;font-weight:800;display:flex}.head-report-subtitle{color:#64748b;margin:4px 0 0;font-size:13px}.head-report-header-actions{align-items:center;gap:10px;display:flex}.head-report-action-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .15s;display:flex}.head-report-action-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8}.head-report-back-btn{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-weight:600;display:inline-flex}.head-report-back-btn:hover{color:#0f172a;background:#f1f5f9}.head-report-kpi-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}@media (width<=1024px){.head-report-kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.head-report-kpi-grid{grid-template-columns:1fr}}.head-report-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:flex-start;gap:14px;padding:18px 20px;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 6px #0f172a08}.head-kpi-icon-box{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.icon-kpi-heads{background:linear-gradient(135deg,#4f46e5 0%,#6366f1 100%);box-shadow:0 4px 10px #4f46e540}.icon-kpi-deposits{background:linear-gradient(135deg,#059669 0%,#10b981 100%);box-shadow:0 4px 10px #10b98140}.icon-kpi-payments{background:linear-gradient(135deg,#dc2626 0%,#ef4444 100%);box-shadow:0 4px 10px #dc262640}.icon-flip-down{transform:rotate(90deg)}.icon-kpi-net{background:linear-gradient(135deg,#0284c7 0%,#38bdf8 100%);box-shadow:0 4px 10px #0284c740}.head-kpi-info{flex-direction:column;flex:1;gap:2px;display:flex}.head-kpi-label{text-transform:uppercase;letter-spacing:.4px;color:#64748b;font-size:12px;font-weight:600}.head-kpi-val{color:#0f172a;font-size:20px;font-weight:800}.head-kpi-hint{color:#94a3b8;margin-top:2px;font-size:11px}.head-report-filter-bar{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:14px;padding:16px 20px;display:flex;box-shadow:0 2px 6px #0f172a08}.head-filter-search-box{width:100%;position:relative}.head-filter-search-box .search-icon{color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.head-search-input{color:#0f172a;box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;height:40px;padding:0 36px 0 38px;font-size:14px;transition:all .15s}.head-search-input:focus{background:#fff;border-color:#10b981;box-shadow:0 0 0 3px #10b98126}.head-clear-search-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:4px;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.head-clear-search-btn:hover{color:#475569}.head-filter-selects-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.head-select-group{align-items:center;gap:8px;display:flex}.head-select-group label{color:#475569;white-space:nowrap;font-size:12px;font-weight:600}.head-select{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;height:36px;padding:0 10px;font-size:13px;font-weight:500}.head-select:focus{border-color:#10b981}.head-checkbox-label{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}.head-checkbox-label input[type=checkbox]{accent-color:#10b981;cursor:pointer;width:16px;height:16px}.head-reset-btn{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:5px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex}.head-reset-btn:hover{color:#0f172a;background:#f1f5f9}.head-report-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow-x:auto;box-shadow:0 2px 8px #0f172a0a}.head-report-table{border-collapse:collapse;width:100%;font-size:13px}.head-report-table thead th{color:#475569;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:12px 16px;font-size:12px;font-weight:700}.head-report-table tbody tr{cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .15s}.head-report-table tbody tr:hover{background:#f8fafc}.head-report-table tbody td{color:#1e293b;vertical-align:middle;padding:12px 16px}.head-empty-state{text-align:center;color:#94a3b8;padding:36px 20px;font-size:14px}.head-grand-total-row .total-label{letter-spacing:.5px}@keyframes headModalFadeIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.head-modal-summary-grid{grid-template-columns:repeat(2,1fr)}}.head-modal-table-wrapper{flex:1;padding:16px 24px;overflow-y:auto}.head-modal-table{border-collapse:collapse;width:100%;font-size:12px}.head-modal-table thead th{color:#475569;text-transform:uppercase;background:#f1f5f9;border-bottom:1px solid #cbd5e1;padding:10px 12px;font-size:11px;font-weight:700}@media print{.no-print{display:none!important}.print-only{display:block!important}.head-report-container{max-width:100%;padding:0}.head-report-table-wrapper{box-shadow:none;border:none}.head-report-table{border:1px solid #cbd5e1}.head-report-table thead th{color:#000!important;background:#f1f5f9!important}.head-grand-total-row td{color:#000!important;background:#e2e8f0!important}}.material-boxes-view-container{box-sizing:border-box;width:100%;max-width:1380px;margin:0 auto;padding:18px 24px 80px}.material-boxes-hero-header{border-bottom:1.5px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding-bottom:18px;display:flex}.material-boxes-header-left{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.material-boxes-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.material-boxes-icon-badge{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.material-boxes-main-title{color:#0f172a;letter-spacing:-.3px;margin:0;font-size:22px;font-weight:800}.material-boxes-count-chip{border-radius:9999px;align-items:center;padding:2.5px 9px;font-size:11.5px;font-weight:800;display:inline-flex}.material-boxes-subtitle{color:#64748b;margin:4px 0 0;font-size:13px}.material-boxes-header-right{align-items:center;gap:10px;display:flex}.material-search-wrap{align-items:center;display:flex;position:relative}.material-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:11px}.material-search-input{background:#fff!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding-left:32px!important;padding-right:28px!important}.material-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;padding:2px;display:flex;position:absolute;right:8px}.material-search-clear:hover{color:#0f172a}.material-boxes-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px;display:grid}.material-box-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.material-box-card:hover{border-color:#10b981;transform:translateY(-2px);box-shadow:0 8px 24px #10b9811f,0 2px 6px #0f172a0a}.material-box-accent{width:100%;height:4.5px}.material-box-body{align-items:center;gap:14px;padding:16px 18px;display:flex}.material-box-icon-box{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.material-box-info{flex:1;min-width:0}.material-box-title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:15.5px;font-weight:800;overflow:hidden}.material-box-meta-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.material-box-unit-badge{border-radius:6px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block}.material-box-stock-chip{border-radius:6px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.material-box-arrow{opacity:.4;flex-shrink:0;justify-content:center;align-items:center;transition:all .18s;display:flex}.material-box-card:hover .material-box-arrow{opacity:1;transform:translate(4px)}.plant-ledger-view-container{box-sizing:border-box;flex-direction:column;flex:1;height:100%;min-height:0;max-height:100%;padding:10px 18px 16px;display:flex;overflow:hidden}.plant-ledger-header-box{flex-shrink:0;margin-bottom:12px}.plant-bank-badge{color:#334155;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:2px 7px;font-size:11px;font-weight:700;display:inline-block}.material-summary-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;flex:1;height:100%;min-height:0;margin-bottom:0;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000a}.material-box-panel-header{background:#f8fafc;border-bottom:1.5px solid #e2e8f0;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.material-box-panel-title{align-items:center;gap:10px;display:flex}.material-box-panel-icon{justify-content:center;align-items:center;font-size:18px;display:flex}.material-box-panel-heading{color:#0f172a;letter-spacing:-.2px;margin:0;font-size:15px;font-weight:800}.material-box-panel-sub{color:#64748b;margin-top:1px;font-size:12px;display:block}.material-box-panel-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.material-panel-badge{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9999px;padding:3px 10px;font-size:11.5px;font-weight:700}.material-panel-badge.total-badge{color:#065f46;background:#ecfdf5;border-color:#a7f3d0;font-weight:800}.material-ac-divisions-badge{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;align-items:center;gap:4px;margin-left:8px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.material-two-section-layout{flex:1;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:stretch;gap:20px;height:100%;min-height:0;display:grid;overflow:hidden}@media (width<=1250px){.plant-ledger-view-container{overflow-y:auto}.material-two-section-layout{grid-template-columns:1fr;height:auto;overflow:visible}}.material-section-whole-list,.material-section-expense-list,.material-section-add-entry-list{flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex}.material-section-whole-list .material-summary-table-container,.material-section-expense-list .material-summary-table-container,.material-section-add-entry-list .material-summary-table-container{flex-direction:column;flex:1;height:100%;min-height:0;margin-bottom:0;display:flex}.material-add-expense-btn{cursor:pointer;border-radius:6px;align-items:center;gap:5px;padding:4.5px 12px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex;color:#fff!important;background:#059669!important;border-color:#059669!important}.material-add-expense-btn:hover{background:#047857!important;border-color:#047857!important}.material-expense-form-card{z-index:20;background:#f8fafc;border-bottom:1.5px solid #e2e8f0;padding:12px 16px;position:relative;overflow:visible}.material-expense-form-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.material-expense-form-title{color:#0f172a;font-size:13px;font-weight:800}.material-expense-form-body{position:relative;overflow:visible}.material-expense-form-grid{grid-template-columns:1fr 1fr 140px;gap:10px;margin-bottom:10px;display:grid;position:relative;overflow:visible}@media (width<=640px){.material-expense-form-grid{grid-template-columns:1fr}}.expense-field-group{flex-direction:column;gap:3px;display:flex}.expense-field-label{color:#475569;text-transform:uppercase;letter-spacing:.3px;font-size:11px;font-weight:700}.expense-input{color:#0f172a!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:6px!important;height:33px!important;padding:4px 10px!important;font-size:12.5px!important}.expense-input:focus{border-color:#059669!important;outline:none!important;box-shadow:0 0 0 2px #05966926!important}.material-expense-form-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.material-save-expense-btn{align-items:center;gap:5px;font-weight:700;display:inline-flex;color:#fff!important;background:#059669!important;border-color:#059669!important}.material-save-expense-btn:hover{background:#047857!important;border-color:#047857!important}.material-table-scroll-wrap{flex:1;width:100%;min-height:0;position:relative;overflow:auto}@media (width<=1250px){.material-table-scroll-wrap{max-height:500px}}.material-table-scroll-wrap::-webkit-scrollbar{width:6px;height:6px}.material-table-scroll-wrap::-webkit-scrollbar-track{background:#f1f5f9}.material-table-scroll-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.material-table-scroll-wrap::-webkit-scrollbar-thumb:hover{background:#94a3b8}.material-added-entries-container{margin-top:0}.material-entries-empty-box{text-align:center;background:#fff;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:36px 20px;display:flex}.material-entries-empty-box .empty-title{color:#334155;margin:0 0 4px;font-size:15px;font-weight:700}.material-entries-empty-box .empty-subtitle{color:#64748b;max-width:480px;margin:0;font-size:13px}.btn-entry-action-edit,.btn-entry-action-del{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:all .15s;display:inline-flex}.btn-entry-action-edit{color:#0284c7;background:#f0f9ff;border-color:#bae6fd}.btn-entry-action-edit:hover{color:#fff;background:#0284c7}.btn-entry-action-del{color:#dc2626;background:#fef2f2;border-color:#fecaca}.btn-entry-action-del:hover{color:#fff;background:#dc2626}.entry-head-val,.entry-debit-val,.entry-party-val{color:#1e293b;font-weight:600}.material-summary-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;min-height:100%}.material-summary-table thead{z-index:25;position:sticky;top:0}.material-summary-th-row{background:#f8fafc}.material-summary-table th{color:#334155;letter-spacing:.2px;white-space:nowrap;background:#f8fafc;border-bottom:2px solid #cbd5e1;padding:11px 14px;font-size:13px;font-weight:700}.material-summary-table thead th{z-index:25;background:#f8fafc;border-bottom:2px solid #cbd5e1;position:sticky;top:0;box-shadow:0 1px 3px #0000000d}.material-summary-table td{color:#0f172a;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:11px 14px;font-size:13px}.material-th-head,.material-th-ac,.material-th-amount,.material-th-entry-side,.material-th-details{color:#334155;letter-spacing:.2px;padding:11px 14px;font-size:13px;font-weight:700}.material-summary-tr{border-bottom:1px solid #f1f5f9;height:1px;transition:background .15s}.material-summary-tr:hover{background:#f8fafc}.material-summary-spacer-tr{pointer-events:none;height:auto;background:0 0!important}.material-summary-spacer-tr td{height:auto;background:0 0!important;border:none!important;padding:0!important}.material-td-head,.material-td-ac,.material-td-amount,.material-td-entry-side,.material-td-details{color:#0f172a;vertical-align:middle;padding:11px 14px;font-size:13px}.material-head-chip{color:#0f172a;align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.material-ac-title{color:#1e293b;font-weight:600}.material-ac-count-tag{color:#64748b;background:#f1f5f9;border-radius:10px;margin-left:8px;padding:2px 7px;font-size:11px;font-weight:600;display:inline-block}.material-amount-text{color:#0f172a;font-family:inherit;font-size:14.5px;font-weight:700}.plant-details-btn{color:#059669;cursor:pointer;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;align-items:center;gap:6px;padding:6px 14px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex}.plant-details-btn:hover{color:#fff;background:#059669;border-color:#059669}.material-summary-table tfoot{z-index:20;position:sticky;bottom:0}.material-summary-tfoot-row{background:#f8fafc}.material-summary-table tfoot td,.material-summary-tfoot-row td{z-index:20;background:#f8fafc;border-top:2px solid #cbd5e1;border-bottom:none;position:sticky;bottom:0;box-shadow:0 -2px 5px #0000000d}.material-td-empty{text-align:center;color:#64748b;padding:36px 20px;font-size:14px}.material-modal-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:9999;background:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.material-modal-card{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:1100px;max-height:90vh;animation:.15s ease-out modalFadeIn;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.material-modal-backdrop.is-max .material-modal-card{border-radius:6px;max-width:98vw;height:96vh;max-height:96vh}.material-modal-header{background:#f8fafc;border-bottom:1.5px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.material-modal-header-left{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.material-modal-chip{color:#15803d;background:#dcfce7;border-radius:6px;padding:2px 8px;font-size:11.5px;font-weight:700}.material-modal-title{color:#0f172a;margin:0;font-size:17px;font-weight:800}.material-modal-count-badge{color:#475569;background:#f1f5f9;border-radius:12px;padding:2px 8px;font-size:11.5px;font-weight:700}.material-modal-header-actions{align-items:center;gap:6px;display:flex}.material-modal-icon-btn,.material-modal-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;display:inline-flex}.material-modal-icon-btn:hover,.material-modal-close-btn:hover{color:#0f172a;background:#e2e8f0}.material-modal-body{flex:1;padding:16px 20px;overflow-y:auto}.material-modal-kpi-bar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;gap:20px;margin-bottom:16px;padding:10px 16px;display:flex}.material-modal-kpi-bar .kpi-item{align-items:center;gap:6px;font-size:13px;display:flex}.material-modal-kpi-bar .kpi-label{color:#64748b;font-weight:500}.material-modal-kpi-bar .kpi-val{color:#0f172a;font-weight:700}.material-modal-table-scroll{border:1px solid #e2e8f0;border-radius:8px;max-height:520px;position:relative;overflow:auto}.material-modal-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12.5px}.material-modal-table thead{z-index:20;position:sticky;top:0}.material-modal-table th{z-index:20;color:#334155;white-space:nowrap;background:#f1f5f9;border-bottom:2px solid #cbd5e1;padding:10px 12px;font-weight:700;position:sticky;top:0;box-shadow:0 1px 3px #0000000d}.material-modal-table tfoot{z-index:15;position:sticky;bottom:0}.material-modal-table tfoot td{z-index:15;background:#f8fafc;border-top:2px solid #cbd5e1;position:sticky;bottom:0;box-shadow:0 -2px 4px #0000000d}.material-modal-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:10px 12px}.material-modal-table tr:hover{background:#f8fafc}.modal-cell-input{box-sizing:border-box;border:1px solid #3b82f6;border-radius:4px;width:100%;padding:4px 6px;font-size:12px}.modal-row-btn-group{justify-content:center;align-items:center;gap:4px;display:flex}.modal-action-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:4px;display:inline-flex}.modal-action-btn.edit{color:#2563eb}.modal-action-btn.edit:hover{background:#dbeafe}.modal-action-btn.del{color:#dc2626}.modal-action-btn.del:hover{background:#fee2e2}.btn-save-row{color:#fff;cursor:pointer;background:#10b981;border:none;border-radius:4px;padding:4px 6px}.btn-cancel-row{color:#fff;cursor:pointer;background:#64748b;border:none;border-radius:4px;padding:4px 6px}.material-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;padding:12px 20px;display:flex}.btn-entry-side-toggle{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.btn-entry-side-toggle:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.btn-entry-side-toggle.has-divisions{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.btn-entry-side-toggle.has-divisions:hover{background:#d1fae5;border-color:#6ee7b7}.material-summary-th-row .material-th-entry-side{text-align:center;font-weight:700}.material-summary-tr .material-td-entry-side{text-align:center;vertical-align:middle}.material-modal-tx-row.entry-row-active,.material-summary-tr.entry-row-active{background:#f0fdf4!important}.entry-side-multi-tx-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 16px;display:flex}.multi-tx-tab-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:600;transition:all .15s}.multi-tx-tab-btn:hover{color:#0f172a;background:#f1f5f9}.multi-tx-tab-btn.active{color:#fff;background:#059669;border-color:#059669}.entry-side-inline-preview{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.entry-side-part-tag{color:#059669;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:600;display:inline-block}.entry-side-expansion-tr{background:#f8fafc}.entry-side-expansion-td{padding:4px 14px 16px!important}.entry-side-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;margin-top:4px;overflow:hidden;box-shadow:0 4px 10px -1px #0000000f}.entry-side-header{background:#f1f5f9;border-bottom:1.5px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;display:flex}.entry-side-header-left{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.entry-side-badge{color:#fff;letter-spacing:.3px;text-transform:uppercase;background:#0f172a;border-radius:5px;padding:2.5px 8px;font-size:11px;font-weight:800}.entry-side-title{color:#0f172a;font-size:13.5px;font-weight:800}.entry-side-given-amount{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:5px;padding:2.5px 10px;font-size:12.5px}.entry-side-header-right{align-items:center;gap:10px;display:flex}.entry-side-balance-chip{border-radius:9999px;align-items:center;gap:6px;padding:3.5px 12px;font-size:12px;font-weight:700;display:inline-flex}.entry-side-balance-chip.is-balanced{color:#15803d;background:#dcfce7;border:1px solid #86efac}.entry-side-balance-chip.is-unbalanced{color:#b45309;background:#fef3c7;border:1px solid #fde68a}.material-expense-close-btn,.entry-side-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:4px;transition:all .15s;display:flex}.material-expense-close-btn:hover,.entry-side-close-btn:hover{color:#0f172a;background:#e2e8f0}.entry-side-table-wrap{padding:12px 16px;overflow-x:auto}.entry-side-table{border-collapse:collapse;width:100%;font-size:13px}.entry-side-table th{color:#334155;background:#f8fafc;border-bottom:1.5px solid #cbd5e1;padding:8px 10px;font-size:12px;font-weight:700}.entry-side-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:8px 10px}.entry-side-text-input{color:#0f172a;background-color:#fff;width:100%;transition:all .15s;border:1px solid #cbd5e1!important;border-radius:6px!important;height:34px!important;padding:4px 10px!important;font-size:13px!important}.entry-side-text-input:focus{border-color:#059669!important;outline:none!important;box-shadow:0 0 0 2px #05966926!important}.entry-side-amount-input{text-align:right;font-weight:700;border:1px solid #cbd5e1!important;border-radius:6px!important;height:34px!important;font-size:13px!important}.entry-side-row-del{color:#dc2626;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:5px;transition:all .15s;display:inline-flex}.entry-side-row-del:hover{background:#fee2e2}.entry-side-footer{background:#f8fafc;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;display:flex}.entry-side-add-row-btn{align-items:center;gap:6px;font-weight:700;display:inline-flex;color:#2563eb!important;background:#eff6ff!important;border-color:#93c5fd!important}.entry-side-add-row-btn:hover{background:#dbeafe!important;border-color:#60a5fa!important}.entry-side-footer-actions{align-items:center;gap:8px;display:flex}.entry-side-save-btn{align-items:center;gap:6px;padding:6px 14px;font-weight:700;display:inline-flex;background:#059669!important;border-color:#059669!important}.entry-side-save-btn:hover{background:#047857!important;border-color:#047857!important}@media (width<=640px){.material-boxes-grid{grid-template-columns:1fr}}.modal-th-clear-x{color:#94a3b8;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;font-size:14px;font-weight:700;display:flex;position:absolute;right:6px}.material-bottom-balance-bar{background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;padding:10px 18px;display:flex;box-shadow:0 2px 8px #0f172a0d}.material-bottom-balance-left{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.material-bottom-balance-pill{border-radius:8px;align-items:center;gap:8px;padding:6px 14px;font-size:13px;font-weight:700;display:inline-flex}.material-bottom-balance-pill.purchase-pill{color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0}.material-bottom-balance-pill.purchase-pill .balance-pill-label{color:#475569;font-weight:700}.material-bottom-balance-pill.purchase-pill .balance-pill-val{color:#0f172a;font-size:14.5px;font-weight:800}.material-bottom-balance-pill.expense-pill{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.material-bottom-balance-pill.expense-pill .balance-pill-label{color:#991b1b;font-weight:700}.material-bottom-balance-pill.expense-pill .balance-pill-val{color:#dc2626;font-size:14.5px;font-weight:800}.material-balance-math-sign{color:#94a3b8;-webkit-user-select:none;user-select:none;font-size:18px;font-weight:800}.material-bottom-balance-pill.net-pill{border-radius:8px;margin-left:auto;padding:7px 18px;font-size:13.5px}.material-bottom-balance-pill.net-pill .balance-pill-label{font-weight:800}.material-bottom-balance-pill.net-pill.is-positive{color:#065f46;background:#ecfdf5;border:1.5px solid #6ee7b7}.material-bottom-balance-pill.net-pill.is-positive .balance-pill-val{color:#047857;font-size:16px;font-weight:900}.material-bottom-balance-pill.net-pill.is-negative{color:#991b1b;background:#fef2f2;border:1.5px solid #fca5a5}.material-bottom-balance-pill.net-pill.is-negative .balance-pill-val{color:#b91c1c;font-size:16px;font-weight:900}@media (width<=900px){.material-bottom-balance-bar{flex-direction:column;align-items:stretch}.material-bottom-balance-left,.material-bottom-balance-pill.net-pill{justify-content:space-between}}@media print{.material-bottom-balance-bar{page-break-inside:avoid;margin-top:16px;border:1.5px solid #000!important;display:flex!important}}.amit-mach-container{box-sizing:border-box;flex-direction:column;gap:20px;max-width:1380px;margin:0 auto;padding:24px 20px 80px;display:flex}.amit-mach-header{background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex;box-shadow:0 2px 10px #0f172a0a}.amit-mach-header-left{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.amit-mach-back-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:10px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.amit-mach-back-btn:hover{color:#0f172a;background:#e2e8f0}.amit-mach-header-icon-box{color:#4338ca;background:#e0e7ff;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;margin-right:10px;display:inline-flex}.amit-mach-title{color:#0f172a;letter-spacing:-.3px;align-items:center;margin:0;font-size:22px;font-weight:800;display:flex}.amit-mach-subtitle{color:#64748b;margin:4px 0 0;font-size:13px}.amit-mach-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.amit-mach-btn-secondary{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.amit-mach-btn-secondary:hover{background:#e2e8f0}.amit-mach-btn-add{color:#fff;cursor:pointer;background:linear-gradient(135deg,#4f46e5 0%,#3730a3 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:13px;font-weight:700;transition:all .15s;display:inline-flex;box-shadow:0 4px 12px #4f46e540}.amit-mach-btn-add:hover{background:linear-gradient(135deg,#4338ca 0%,#312e81 100%);transform:translateY(-1px)}.amit-mach-alert-success{color:#065f46;background:#ecfdf5;border:1.5px solid #a7f3d0;border-radius:12px;align-items:center;gap:10px;padding:12px 18px;font-size:13.5px;font-weight:600;display:flex}.amit-mach-alert-close{cursor:pointer;color:#059669;background:0 0;border:none;margin-left:auto;display:flex}.amit-mach-stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.amit-mach-stat-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:14px;align-items:center;gap:16px;padding:18px 20px;display:flex;box-shadow:0 2px 8px #0f172a08}.amit-mach-stat-icon{border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.icon-total{color:#4338ca;background:#e0e7ff}.icon-operational{color:#15803d;background:#dcfce7}.icon-maint{color:#d97706;background:#fef3c7}.icon-invest{color:#6d28d9;background:#ede9fe}.amit-mach-stat-label{text-transform:uppercase;color:#64748b;letter-spacing:.5px;font-size:12px;font-weight:600}.amit-mach-stat-value{color:#0f172a;margin-top:2px;font-size:20px;font-weight:800}.amit-mach-filter-bar{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.amit-mach-search-wrap{flex:1;min-width:280px;position:relative}.amit-mach-search-icon{color:#94a3b8;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.amit-mach-search-input{border:1.5px solid #cbd5e1;border-radius:10px;height:40px;font-size:13.5px;padding-left:36px!important;padding-right:32px!important}.amit-mach-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.amit-mach-filter-select-wrap{align-items:center;gap:8px;display:flex}.amit-mach-filter-label{color:#64748b;white-space:nowrap;font-size:12.5px;font-weight:600}.amit-mach-filter-select{border:1.5px solid #cbd5e1;border-radius:10px;min-width:170px;height:40px;padding:0 12px;font-size:13px}.amit-mach-btn-reset{color:#475569;cursor:pointer;background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;align-items:center;gap:6px;height:40px;padding:0 14px;font-size:12.5px;font-weight:600;display:inline-flex}.amit-mach-table-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px #0f172a0a}.amit-mach-table-header-info{color:#64748b;background:#fafafa;border-bottom:1px solid #f1f5f9;padding:12px 18px;font-size:12.5px}.amit-mach-table-wrapper{overflow-x:auto}.amit-mach-data-table{border-collapse:collapse;width:100%;margin:0;font-size:13px}.amit-mach-data-table th{color:#475569;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;background:#f8fafc;border-bottom:1.5px solid #e2e8f0;padding:12px 14px;font-size:12px;font-weight:700}.amit-mach-table-row{border-bottom:1px solid #f1f5f9;transition:background .1s}.amit-mach-table-row:hover{background:#f8fafc}.amit-mach-data-table td{vertical-align:middle;color:#1e293b;padding:12px 14px}.amit-mach-status-badge{letter-spacing:.2px;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-block}.status-operational{color:#15803d;background:#dcfce7}.status-maint{color:#b45309;background:#fef3c7}.status-idle{color:#64748b;background:#f1f5f9}.amit-mach-action-btns{justify-content:center;align-items:center;gap:6px;display:flex}.amit-mach-row-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;transition:all .15s;display:flex}.amit-mach-empty-td{text-align:center;padding:50px 20px}.amit-mach-empty-icon{color:#cbd5e1;margin:0 auto 12px}.amit-mach-empty-title{color:#334155;margin:0 0 4px;font-size:16px;font-weight:700}.amit-mach-empty-desc{color:#64748b;margin:0;font-size:13px}.amit-mach-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.amit-mach-modal-box{background:#fff;border-radius:18px;flex-direction:column;width:100%;max-width:680px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 40px #0f172a33}.amit-mach-modal-header{border-bottom:1.5px solid #f1f5f9;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.amit-mach-modal-title-wrap{align-items:center;gap:10px;display:flex}.amit-mach-modal-form{flex-direction:column;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.amit-mach-form-grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.amit-mach-modal-footer{border-top:1.5px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:12px;padding-top:14px;display:flex}@media (width<=900px){.amit-mach-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.amit-mach-stats-grid,.amit-mach-form-grid{grid-template-columns:1fr}}.quick-modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.quick-modal-content{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;width:100%;animation:.2s cubic-bezier(.16,1,.3,1) quickModalFade;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a40}@keyframes quickModalFade{0%{opacity:0;transform:scale(.97)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}.quick-modal-content.bank-modal{max-width:520px}.quick-modal-content.head-modal{max-width:420px}.quick-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.quick-modal-header-left{align-items:center;gap:10px;display:flex}.quick-modal-icon{border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.quick-modal-icon.icon-bank{color:#4f46e5;background:#ede9fe}.quick-modal-icon.icon-head{color:#d97706;background:#fef3c7}.quick-modal-title{fontWeight:800;color:#0f172a;margin:0;font-size:16px}.quick-modal-shortcut{color:#64748b;font-size:12px}.quick-modal-close-btn{cursor:pointer;color:#64748b;background:#f1f5f9;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.quick-modal-close-btn:hover{color:#0f172a;background:#e2e8f0}.quick-modal-form{margin:0;padding:18px 20px}.quick-modal-field{margin-bottom:12px}.quick-modal-field.margin-lg{margin-bottom:14px}.quick-modal-label{color:#334155;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.quick-modal-required{color:#ef4444}.quick-modal-type-buttons{gap:8px;display:flex}.quick-modal-type-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:700;transition:all .15s;display:flex}.quick-modal-type-btn.active-bank{color:#4f46e5;background:#eef2ff;border:2px solid #4f46e5}.quick-modal-type-btn.active-cash{color:#047857;background:#ecfdf5;border:2px solid #10b981}.quick-modal-grid{gap:10px;margin-bottom:16px;display:grid}.quick-modal-grid.cols-3{grid-template-columns:1fr 1fr 1fr}.quick-modal-grid.cols-2{grid-template-columns:1fr 1fr}.quick-modal-input{padding:8px 12px!important;font-size:13px!important}.quick-modal-input.is-number{font-weight:600}.quick-modal-existing-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px;padding:10px 12px}.quick-modal-existing-title{color:#64748b;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:700}.quick-modal-chips-list{flex-wrap:wrap;gap:4px;max-height:72px;display:flex;overflow-y:auto}.quick-modal-chip{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:2px 8px;font-size:11px;font-weight:500}.quick-modal-error-text{color:#ef4444;margin-top:4px;font-size:11px;display:block}.quick-modal-actions{justify-content:flex-end;gap:8px;display:flex}.quick-modal-cancel-btn{padding:8px 14px!important;font-size:12px!important}.quick-modal-save-btn{align-items:center!important;gap:6px!important;padding:8px 18px!important;font-size:12px!important;font-weight:700!important;display:inline-flex!important}.quick-modal-redirect-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 14px;display:flex}.quick-modal-redirect-info{flex-direction:column;display:flex}.quick-modal-redirect-label{color:#334155;font-size:12px;font-weight:600}.quick-modal-redirect-sub{color:#64748b;margin-top:1px;font-size:11px}.quick-modal-redirect-btn{color:#4f46e5;cursor:pointer;white-space:nowrap;background:#fff;border-color:#cbd5e1;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:11.5px;font-weight:700;transition:all .15s;display:inline-flex}.quick-modal-redirect-btn:hover{color:#4338ca;background:#ede9fe;border-color:#818cf8}.quick-modal-content.heads-list-modal{max-width:540px}.heads-list-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:10px;padding:12px 20px;display:flex}.heads-search-wrap{flex:1;position:relative}.heads-search-icon{color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.heads-search-input{box-sizing:border-box;width:100%;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:7px 28px 7px 30px!important;font-size:12.5px!important}.heads-search-input:focus{outline:none;border-color:#4f46e5!important}.heads-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:2px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.heads-add-btn{white-space:nowrap;align-items:center;gap:6px;display:inline-flex;border-radius:8px!important;padding:7px 14px!important;font-size:12px!important;font-weight:700!important}.heads-table-container{-webkit-overflow-scrolling:touch;max-height:380px;overflow-y:auto}.heads-table{border-collapse:collapse;width:100%;font-size:12.5px}.heads-table th{text-transform:uppercase;color:#475569;letter-spacing:.4px;z-index:1;background:#f1f5f9;border-bottom:1px solid #e2e8f0;padding:9px 16px;font-size:11px;font-weight:700;position:sticky;top:0}.heads-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:10px 16px}.th-heads-num{text-align:center;width:45px}.heads-td-num{text-align:center;color:#94a3b8;width:45px;font-size:11.5px;font-weight:600}.th-heads-name{text-align:left}.heads-td-name{color:#1e293b;font-weight:600}.heads-name-badge{color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:2px 8px;display:inline-block}.th-heads-actions,.heads-td-actions{width:60px}.heads-row:hover{background:#f8fafc}.heads-del-btn{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:all .12s;display:inline-flex}.heads-del-btn:hover{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.heads-empty-cell{text-align:center;color:#64748b;padding:36px 16px;font-size:13px}.heads-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.heads-footer-count{color:#64748b;font-size:12px}.heads-footer-count strong{color:#0f172a}.transaction-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background-color:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.transaction-modal-content{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;flex-direction:column;width:100%;max-width:540px;max-height:90vh;animation:.2s cubic-bezier(.16,1,.3,1) transactionModalFade;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a40}@keyframes transactionModalFade{0%{opacity:0;transform:scale(.97)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.transaction-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.transaction-modal-header-left{align-items:center;gap:10px;display:flex}.transaction-modal-type-icon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.transaction-modal-type-icon.is-receive{color:#10b981;background:#ecfdf5}.transaction-modal-type-icon.is-payment{color:#f43f5e;background:#fff1f2}.transaction-modal-title{color:#0f172a;margin:0;font-size:17px;font-weight:800}.transaction-modal-subtitle{color:#64748b;font-size:12px}.transaction-modal-close-btn{cursor:pointer;color:#64748b;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;transition:all .15s;display:flex}.transaction-modal-close-btn:hover{color:#0f172a;background:#e2e8f0}.transaction-modal-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;display:flex}.transaction-modal-tab{cursor:pointer;color:#64748b;background:0 0;border:none;border-bottom:3px solid #0000;flex:1;justify-content:center;align-items:center;gap:6px;padding:12px;font-size:13px;font-weight:600;transition:all .15s;display:flex}.transaction-modal-tab.is-active.tab-receive{color:#059669;background:#fff;border-bottom-color:#10b981;font-weight:800}.transaction-modal-tab.is-active.tab-payment{color:#e11d48;background:#fff;border-bottom-color:#f43f5e;font-weight:800}.transaction-modal-form{flex-direction:column;flex:1;min-height:0;margin:0;display:flex;overflow:hidden}.transaction-modal-body{flex-direction:column;flex:1;gap:14px;padding:20px;display:flex;overflow-y:auto}.transaction-modal-field-header{justify-content:space-between;align-items:center;margin-bottom:5px;display:flex}.transaction-modal-label{color:#334155;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.transaction-modal-field-header .transaction-modal-label{margin-bottom:0}.transaction-modal-required{color:#ef4444}.transaction-modal-quick-btn{cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:700;transition:all .15s;display:inline-flex}.transaction-modal-quick-btn.quick-bank{color:#4f46e5;background:#ede9fe;border:1px solid #ddd6fe}.transaction-modal-quick-btn.quick-bank:hover{background:#ddd6fe}.transaction-modal-quick-btn.quick-head{color:#b45309;background:#fef3c7;border:1px solid #fde68a}.transaction-modal-quick-btn.quick-head:hover{background:#fde68a}.transaction-modal-no-bank{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px;font-size:13px}.transaction-modal-select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-height:42px;padding:9px 12px;font-size:13px;font-weight:600}.transaction-modal-bank-info{fontSize:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding:9px 12px;display:flex}.transaction-modal-bank-balance{align-items:center;gap:6px;display:flex}.transaction-modal-balance-num{font-family:monospace}.transaction-modal-balance-num.positive{color:#15803d}.transaction-modal-balance-num.negative{color:#ea580c}.transaction-modal-od-info{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.transaction-modal-label-muted{color:#64748b}.transaction-modal-od-num{color:#1e40af;font-family:monospace}.transaction-modal-divider{color:#cbd5e1}.transaction-modal-warning-icon{flex-shrink:0;margin-top:2px}.transaction-modal-warning-title{margin-bottom:2px;font-weight:800}.transaction-modal-warning-diff{color:#be123c}.transaction-modal-form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.transaction-modal-input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-height:42px;padding:9px 12px;font-size:13px}.transaction-modal-amount-input{box-sizing:border-box;border-radius:8px;outline:none;width:100%;min-height:42px;padding:9px 12px;font-size:14px;font-weight:800}.transaction-modal-amount-input.is-receive{color:#059669;background:#f0fdf4;border:1.5px solid #a7f3d0}.transaction-modal-amount-input.is-payment{color:#e11d48;background:#fff1f2;border:1.5px solid #fecdd3}.transaction-modal-amount-input.is-overlimit{color:#e11d48;background:#fff1f2;border:1.5px solid #f43f5e}.transaction-modal-warning-box{color:#9f1239;background:#fff1f2;border:1.5px solid #f43f5e;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 14px;font-size:12px;display:flex}.transaction-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:14px 20px;display:flex}.transaction-modal-cancel-btn{min-height:40px!important;padding:9px 16px!important;font-size:13px!important;font-weight:600!important}.transaction-modal-submit-btn{align-items:center!important;gap:6px!important;min-height:40px!important;padding:9px 20px!important;font-size:13px!important;font-weight:700!important;display:inline-flex!important}.transaction-modal-submit-btn.btn-success{box-shadow:0 3px 10px #10b98140!important}.transaction-modal-submit-btn.btn-danger{box-shadow:0 3px 10px #f43f5e40!important}.mu-modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.mu-modal-content{background:#fff;border:1px solid #e2e8f0e6;border-radius:16px;flex-direction:column;width:100%;max-width:820px;max-height:90vh;animation:.2s cubic-bezier(.16,1,.3,1) muModalFade;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a40}@keyframes muModalFade{0%{opacity:0;transform:scale(.97)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}.mu-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 22px;display:flex}.mu-modal-header-left{align-items:center;gap:12px;display:flex}.mu-modal-icon{color:#4f46e5;background:#ede9fe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.mu-modal-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.mu-modal-subtitle{color:#64748b;margin:2px 0 0;font-size:12px}.mu-modal-header-actions{align-items:center;gap:10px;display:flex}.mu-btn-add{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.mu-btn-add:hover{background:#4338ca;box-shadow:0 4px 12px #4f46e540}.mu-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:6px;transition:all .15s;display:flex}.mu-modal-close-btn:hover{color:#334155;background:#f1f5f9}.mu-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:14px;padding:12px 22px;display:flex}.mu-search-wrapper{flex:1;align-items:center;max-width:320px;display:flex;position:relative}.mu-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:10px}.mu-search-input{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:7px 10px 7px 32px;font-size:13px;transition:border-color .15s}.mu-search-input:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.mu-count-badge{color:#64748b;font-size:12px;font-weight:500}.mu-modal-body{flex:1;padding:0;overflow-y:auto}.mu-alert-box{border-radius:8px;align-items:center;gap:8px;margin:14px 22px;padding:10px 14px;font-size:13px;display:flex}.mu-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.mu-alert-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.mu-table{border-collapse:collapse;text-align:left;width:100%}.mu-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 18px;font-size:12px;font-weight:600}.mu-table td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 18px;font-size:13px}.mu-table tr:hover td{background:#fbfcfe}.mu-user-cell{align-items:center;gap:12px;display:flex}.mu-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#4f46e5);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:700;display:flex}.mu-user-meta{flex-direction:column;display:flex}.mu-user-name{color:#0f172a;align-items:center;gap:6px;font-weight:600;display:flex}.mu-you-tag{text-transform:uppercase;color:#4338ca;background:#e0e7ff;border-radius:4px;padding:1px 6px;font-size:10px;font-weight:700}.mu-user-email{color:#64748b;font-size:12px}.mu-role-badge{border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.mu-role-admin{color:#5b21b6;background:#ede9fe;border:1px solid #ddd6fe}.mu-role-accountant{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.mu-role-operator{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.mu-actions{align-items:center;gap:6px;display:flex}.mu-btn-icon{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:5px;padding:6px 10px;font-size:12px;font-weight:500;transition:all .15s;display:inline-flex}.mu-btn-icon:hover:not(:disabled){color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.mu-btn-edit:hover:not(:disabled){color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}.mu-btn-delete:hover:not(:disabled){color:#dc2626;background:#fef2f2;border-color:#fecaca}.mu-btn-icon:disabled{opacity:.4;cursor:not-allowed}.mu-form-container{background:#fff;flex-direction:column;gap:16px;padding:20px 24px;display:flex}.mu-form-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.mu-form-title{color:#0f172a;margin:0;font-size:15px;font-weight:700}.mu-form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.mu-field{flex-direction:column;gap:6px;display:flex}.mu-field.full-width{grid-column:span 2}.mu-field label{color:#334155;font-size:12px;font-weight:600}.mu-input-box{align-items:center;display:flex;position:relative}.mu-input-icon{color:#94a3b8;pointer-events:none;position:absolute;left:10px}.mu-input-box input,.mu-input-box select{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:8px 12px 8px 34px;font-size:13px;transition:all .15s}.mu-input-box input.has-eye{padding-right:36px}.mu-input-box input:focus,.mu-input-box select:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.mu-eye-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:2px;position:absolute;right:10px}.mu-eye-btn:hover{color:#475569}.mu-form-footer{border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:10px;margin-top:8px;padding-top:14px;display:flex}.mu-btn-cancel{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600}.mu-btn-cancel:hover{color:#1e293b;background:#e2e8f0}.mu-btn-save{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 18px;font-size:13px;font-weight:600;display:inline-flex}.mu-btn-save:hover{background:#4338ca;box-shadow:0 4px 12px #4f46e540}.mu-empty-state{text-align:center;color:#64748b;padding:40px 20px;font-size:14px}.mu-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite muSpin;display:inline-block}@keyframes muSpin{to{transform:rotate(360deg)}}.master-entries-view-container{flex-direction:column;gap:16px;max-width:1000px;margin:0 auto;padding:20px 24px;display:flex}.master-entries-header{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;padding:14px 20px;display:flex;box-shadow:0 1px 3px #00000008}.master-entries-header-left{align-items:center;gap:14px;display:flex}.master-back-btn{color:#334155;cursor:pointer;background:#f8fafc;border-color:#cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:700;display:inline-flex}.master-back-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.master-view-title{color:#0f172a;letter-spacing:-.3px;margin:0;font-size:18px;font-weight:800}.master-tabs-bar{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;padding:5px;display:flex}.master-tab-item{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-size:13px;font-weight:700;transition:all .15s;display:inline-flex}.master-tab-item:hover{color:#1e293b;background:#fff9}.master-tab-item.active{background:#fff;box-shadow:0 1px 3px #00000014}.master-tab-item.active.tab-is-ac{color:#2563eb}.master-tab-item.active.tab-is-debit{color:#059669}.master-tab-item.active.tab-is-head{color:#d97706}.master-tab-item.active.tab-is-party{color:#7c3aed}.master-tab-item.active.tab-is-metal{color:#b45309}.master-tab-badge{color:#334155;background:#e2e8f0;border-radius:10px;padding:1px 7px;font-size:11px;font-weight:700}.master-tab-item.active .master-tab-badge{color:#3730a3;background:#e0e7ff}.master-alert{border-radius:8px;align-items:center;gap:10px;padding:10px 14px;font-size:13px;font-weight:600;display:flex}.master-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.master-alert-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.alert-close-btn{cursor:pointer;color:inherit;background:0 0;border:none;margin-left:auto}.master-toolbar-row{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex}.master-toolbar-left{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.master-toolbar-right{align-items:center;gap:10px;margin-left:auto;display:flex}.master-plant-filters{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:4px;padding:3px;display:inline-flex}.btn-plant-filter{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;padding:5px 11px;font-size:12px;font-weight:700;transition:all .15s}.btn-plant-filter:hover{color:#1e293b;background:#ffffffb3}.btn-plant-filter.active{color:#0f172a;background:#fff;box-shadow:0 1px 2px #0000000f}.btn-plant-filter.filter-is-plant.active{color:#15803d;background:#fff}.master-btn-add-entry{color:#fff;cursor:pointer;white-space:nowrap;background:#0284c7;border:1px solid #0284c7;border-radius:7px;align-items:center;gap:6px;height:36px;padding:0 14px;font-size:13px;font-weight:700;transition:all .15s;display:inline-flex}.master-btn-add-entry:hover{background:#0369a1;border-color:#0369a1}.master-search-wrap{width:100%;max-width:320px;position:relative}.master-search-icon{color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.master-search-input{background:#f8fafc;border:1px solid #cbd5e1;border-radius:7px;height:36px;padding-left:30px;padding-right:26px;font-size:13px}.master-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.master-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.master-table-scroll{max-height:70vh;overflow-x:auto}.master-entries-table{border-collapse:collapse;width:100%;font-size:13px}.master-entries-table thead th{color:#334155;white-space:nowrap;z-index:2;text-align:left;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:10px 16px;font-weight:700;position:sticky;top:0}.master-entries-table tbody td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:10px 16px}.th-num,.td-num{text-align:center;color:#64748b;width:60px;font-weight:600}.th-actions,.td-actions{text-align:center;width:160px}.master-row:hover{background:#f8fafc}.master-row.row-is-editing{background:#f0fdf4!important}.master-name-text{color:#0f172a;font-size:14px;font-weight:700}.master-inline-edit-box{align-items:center;gap:6px;display:flex}.master-inline-edit-input{border-radius:6px;flex:1;max-width:320px;height:32px;padding:4px 8px;font-size:13px;font-weight:700}.btn-save-edit{color:#fff;cursor:pointer;background:#16a34a;border-color:#16a34a;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.btn-cancel-edit{cursor:pointer;border-radius:6px;padding:4px 8px;font-size:12px}.master-row-actions{align-items:center;gap:8px;display:inline-flex}.btn-action-edit{color:#0284c7;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:5px 11px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.btn-action-edit:hover{background:#f0f9ff;border-color:#7dd3fc}.btn-action-delete{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:6px;align-items:center;gap:4px;padding:5px 11px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.btn-action-delete:hover{color:#fff;background:#dc2626;border-color:#dc2626}.master-empty-cell{text-align:center;color:#94a3b8;padding:40px 20px;font-size:14px;font-style:italic}@media (width<=768px){.master-entries-view-container{padding:14px}.master-toolbar-row{flex-direction:column;align-items:stretch}.master-add-inline-form,.master-search-wrap{width:100%;max-width:none}}.master-blocked-modal{text-align:center;background:#fff;border-radius:14px;width:90%;max-width:460px;padding:24px;box-shadow:0 20px 25px -5px #00000026,0 10px 10px -5px #0000000a}.master-blocked-content{flex-direction:column;align-items:center;gap:14px;display:flex}.master-blocked-icon-wrap{color:#dc2626;background:#fef2f2;border:1px solid #fee2e2;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.master-blocked-title{color:#0f172a;margin:0;font-size:18px;font-weight:800}.master-blocked-desc{color:#334155;margin:0;font-size:14px;line-height:1.5}.master-blocked-count-badge{color:#b91c1c;background:#fee2e2;border-radius:6px;padding:2px 8px;font-size:13px;font-weight:800;display:inline-block}.master-blocked-notice{color:#475569;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;font-size:13px;line-height:1.5}.master-blocked-notice p{margin:0 0 6px}.master-blocked-notice p:last-child{margin:0}.master-blocked-hint{color:#64748b;font-size:12px}.master-blocked-actions{width:100%;margin-top:6px}.master-blocked-btn{border-radius:8px;width:100%;padding:10px;font-size:14px;font-weight:700}.th-plant,.td-plant{text-align:center;width:160px}.master-plant-pill{cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.master-plant-pill.pill-is-plant{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.master-plant-pill.pill-is-plant:hover{background:#d1fae5;border-color:#6ee7b7;transform:translateY(-1px)}.master-plant-pill.pill-is-general{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.master-plant-pill.pill-is-general:hover{color:#334155;background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px)}.plant-status-dot{background:#94a3b8;border-radius:50%;width:7px;height:7px;display:inline-block}.plant-status-dot.active{background:#10b981;box-shadow:0 0 0 2px #10b98133}.master-plant-toggle-box{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;display:inline-flex}.master-plant-edit-tag{border-radius:6px;padding:3px 8px;font-size:12px;font-weight:700;display:inline-block}.master-plant-edit-tag.is-plant{color:#15803d;background:#dcfce7}.master-plant-edit-tag.is-general{color:#64748b;background:#f1f5f9}.master-add-modal{background:#fff;border-radius:14px;width:92%;max-width:480px;padding:24px;box-shadow:0 20px 25px -5px #00000026,0 10px 10px -5px #0000000a}.master-add-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;display:flex}.master-add-modal-header-left{align-items:center;gap:10px;display:flex}.master-add-modal-icon{color:#0284c7;background:#e0f2fe;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.master-add-modal-title{color:#0f172a;margin:0;font-size:17px;font-weight:800}.master-add-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:all .15s;display:flex}.master-add-modal-close:hover{color:#334155;background:#f1f5f9}.master-add-modal-form{flex-direction:column;gap:16px;display:flex}.master-add-form-group{flex-direction:column;gap:6px;display:flex}.master-add-form-label{color:#334155;font-size:13px;font-weight:700}.master-add-form-input{border:1px solid #cbd5e1;border-radius:8px;height:40px;padding:8px 12px;font-size:14px;font-weight:600}.master-add-form-input:focus{border-color:#0284c7;box-shadow:0 0 0 3px #0284c726}.master-add-plant-card{cursor:pointer;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:12px;padding:12px 14px;transition:all .15s;display:flex}.master-add-plant-card:hover{background:#f0fdf4;border-color:#86efac}.master-add-plant-checkbox{accent-color:#16a34a;cursor:pointer;width:17px;height:17px;margin-top:4px}.master-add-plant-card-text{flex-direction:column;flex:1;gap:3px;display:flex}.master-add-plant-card-header{justify-content:space-between;align-items:center;display:flex}.master-add-plant-card-title{color:#1e293b;font-size:13.5px;font-weight:700}.master-plant-status-pill{border-radius:10px;padding:2px 7px;font-size:11px;font-weight:700}.master-plant-status-pill.is-yes{color:#15803d;background:#dcfce7}.master-plant-status-pill.is-no{color:#64748b;background:#f1f5f9}.master-add-plant-card-desc{color:#64748b;margin:0;font-size:12px;line-height:1.4}.master-add-modal-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px;padding-top:14px;display:flex}.master-add-modal-cancel{border-radius:8px;padding:8px 16px;font-size:13px;font-weight:700}.master-add-modal-submit{color:#fff;background:#16a34a;border-color:#16a34a;border-radius:8px;align-items:center;gap:6px;padding:8px 18px;font-size:13px;font-weight:700;display:inline-flex}.master-add-modal-submit:hover{background:#15803d;border-color:#15803d}.ledger-module-page-container{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%;padding:12px 18px 14px;display:flex;overflow:hidden}.ledger-module-header{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 1px 3px #0f172a0a}.ledger-module-header-left{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.ledger-module-back-btn{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.ledger-module-back-btn:hover{color:#0f172a;background:#f1f5f9}.ledger-module-icon-box{color:#fff;vertical-align:middle;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border-radius:9px;justify-content:center;align-items:center;width:36px;height:36px;margin-right:10px;display:inline-flex;box-shadow:0 2px 6px #6366f14d}.ledger-module-title{color:#0f172a;align-items:center;margin:0;font-size:19px;font-weight:800;display:flex}.ledger-module-subtitle{color:#64748b;margin:2px 0 0;font-size:12px}.ledger-module-header-actions{align-items:center;gap:8px;display:flex}.ledger-module-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:600;transition:all .15s;display:flex}.ledger-module-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8}.ledger-select-lists-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;flex-shrink:0;gap:10px;padding:12px 16px;display:flex;box-shadow:0 1px 3px #0f172a0a}.ledger-select-lists-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}@media (width<=1024px){.ledger-select-lists-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.ledger-select-lists-grid{grid-template-columns:1fr}}.ledger-select-field{flex-direction:column;gap:4px;display:flex}.ledger-select-label{color:#334155;align-items:center;gap:5px;font-size:12px;font-weight:700;display:flex}.ledger-select-label.head-label{color:#d97706}.ledger-select-label.ac-label{color:#059669}.ledger-select-label.party-label{color:#4f46e5}.ledger-select-label.debit-label{color:#2563eb}.ledger-tools-row{border-top:1px dashed #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;display:flex}.ledger-tools-left{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ledger-bank-select-wrap{min-width:180px}.ledger-ym-select{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 8px;font-size:12px;font-weight:600}.ledger-search-box{align-items:center;min-width:200px;display:inline-flex;position:relative}.ledger-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:8px}.ledger-search-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:5px 24px 5px 28px;font-size:12px}.ledger-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;position:absolute;right:6px}.ledger-reset-btn{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;align-items:center;gap:5px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.ledger-reset-btn:hover{background:#fee2e2}.ledger-stats-bar{flex-shrink:0;grid-template-columns:repeat(4,1fr);gap:10px;display:grid}@media (width<=768px){.ledger-stats-bar{grid-template-columns:repeat(2,1fr)}}.ledger-stat-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;display:flex}.ledger-stat-icon-wrap{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.ledger-stat-icon-wrap.dep{color:#059669;background:#ecfdf5}.ledger-stat-icon-wrap.pay{color:#dc2626;background:#fef2f2}.ledger-stat-icon-wrap.net{color:#2563eb;background:#eff6ff}.ledger-stat-icon-wrap.count{color:#7c3aed;background:#faf5ff}.ledger-stat-meta{flex-direction:column;display:flex}.ledger-stat-label{color:#64748b;text-transform:uppercase;letter-spacing:.3px;font-size:11px;font-weight:600}.ledger-stat-val{color:#0f172a;font-family:inherit;font-size:14px;font-weight:800}.ledger-stat-val.positive{color:#059669}.ledger-stat-val.negative{color:#dc2626}.ledger-active-chips-row{flex-wrap:wrap;align-items:center;gap:6px;padding:0 2px;display:flex}.ledger-active-chips-label{color:#64748b;margin-right:4px;font-size:11px;font-weight:700}.ledger-filter-chip{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:12px;align-items:center;gap:5px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.ledger-filter-chip.chip-head{color:#92400e;background:#fef3c7;border-color:#fde68a}.ledger-filter-chip.chip-ac{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.ledger-filter-chip.chip-party{color:#5b21b6;background:#ede9fe;border-color:#ddd6fe}.ledger-filter-chip.chip-debit{color:#1e40af;background:#eff6ff;border-color:#bfdbfe}.ledger-filter-chip-remove{color:currentColor;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:700;line-height:1}.ledger-module-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex:1;min-height:0;position:relative;overflow:auto;box-shadow:0 1px 3px #0f172a0a}.ledger-module-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.ledger-module-table thead th{color:#475569;text-align:left;white-space:nowrap;text-transform:uppercase;letter-spacing:.3px;z-index:20;background:#f8fafc;border-bottom:2px solid #cbd5e1;padding:9px 12px;font-size:11px;font-weight:700;position:sticky;top:0}.ledger-module-table tbody td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:8px 12px}.ledger-module-table tbody tr:hover{background:#f8fafc}.ledger-badge{border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600;display:inline-block}.ledger-badge.bank{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.ledger-badge.head{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.ledger-module-tfoot-row td{z-index:20;border-top:2px solid #334155;padding:10px 12px;font-size:12px;font-weight:800;position:sticky;bottom:0;color:#fff!important;background:#0f172a!important}.ledger-module-empty{text-align:center;color:#94a3b8;padding:40px 20px;font-size:13px}.ledger-module-prompt-box{text-align:center;background:#fff;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;margin:auto;padding:70px 20px;display:flex}.ledger-module-prompt-icon{color:#d97706;background:#fef3c7;border-radius:50%;justify-content:center;align-items:center;width:68px;height:68px;margin-bottom:16px;display:inline-flex;box-shadow:0 4px 14px #d9770626}.ledger-module-prompt-title{color:#0f172a;margin:0 0 6px;font-size:18px;font-weight:800}.ledger-module-prompt-desc{color:#64748b;max-width:440px;margin:0;font-size:13px;line-height:1.5}.ledger-groupby-bar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;align-items:center;gap:12px;padding:8px 14px;display:flex;box-shadow:0 1px 3px #0f172a08}.ledger-groupby-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;font-size:11px;font-weight:700}.ledger-groupby-tabs{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ledger-groupby-tab{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.ledger-groupby-tab:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.ledger-groupby-tab.active{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 2px 6px #0f172a33}.ledger-groupby-tab.active.head-tab{background:#d97706;border-color:#d97706}.ledger-groupby-tab.active.ac-tab{background:#059669;border-color:#059669}.ledger-groupby-tab.active.party-tab{background:#7c3aed;border-color:#7c3aed}.ledger-groupby-tab.active.debit-tab{background:#2563eb;border-color:#2563eb}.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s}.sortable-th:hover{background:#f1f5f9}.th-content{align-items:center;gap:6px;display:flex}.th-content.justify-center{justify-content:center}.th-content.justify-end{justify-content:flex-end}.active-sort{color:#10b981}.head-report-row{cursor:pointer;transition:background .15s}.head-report-row:hover{background:#f8fafc}.col-idx{color:#94a3b8;text-align:center;font-weight:600}.head-name-cell{align-items:center;gap:8px;display:flex}.head-name-text{color:#0f172a;font-size:13px;font-weight:700}.head-badge-master{color:#4338ca;text-transform:uppercase;letter-spacing:.3px;background:#e0e7ff;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700}.tx-count-pill{border-radius:12px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-block}.pill-active{color:#0369a1;background:#e0f2fe}.pill-zero{color:#94a3b8;background:#f1f5f9}.val-deposit{color:#059669;font-weight:700}.val-payment{color:#dc2626;font-weight:700}.val-net-pos{color:#059669}.val-net-neg{color:#dc2626}.text-deposit{color:#059669!important}.text-payment{color:#dc2626!important}.font-mono{font-family:monospace}.font-bold{font-weight:700}.btn-view-details{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:11px;font-weight:600;transition:all .15s;display:inline-flex}.btn-view-details:hover{color:#fff;background:#10b981;border-color:#10b981}.head-subtotal-row td{border-top:2px solid #334155;padding:11px 14px;font-size:13px;font-weight:700;color:#fff!important;background:#1e293b!important}.head-grand-total-row td{border-top:2px solid #334155;padding:12px 14px;font-size:13.5px;font-weight:800;color:#fff!important;background:#0f172a!important}.head-contra-footer-row{cursor:pointer;transition:background .15s}.head-contra-footer-row td{vertical-align:middle;border-top:2px solid #e2e8f0;border-bottom:2px solid #cbd5e1;padding:11px 14px;font-size:13px;font-weight:600;color:#1e293b!important;background:#f8fafc!important}.head-contra-footer-row:hover td{background:#f1f5f9!important}.contra-footer-bullet{color:#d97706;justify-content:center;align-items:center;font-size:16px;font-weight:800;line-height:1;display:inline-flex}.head-badge-contra-tag{color:#92400e;text-transform:uppercase;letter-spacing:.3px;background:#fef3c7;border:1px solid #fde68a;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700}.head-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:20px;transition:padding .2s;display:flex;position:fixed;inset:0}.head-modal-backdrop.is-max-screen{padding:8px}.head-modal-card{background:#fff;border-radius:18px;flex-direction:column;width:100%;max-width:1150px;max-height:90vh;transition:max-width .2s cubic-bezier(.16,1,.3,1),max-height .2s cubic-bezier(.16,1,.3,1),border-radius .2s;animation:.2s ease-out headModalFadeIn;display:flex;overflow:hidden;box-shadow:0 20px 40px #0003}.head-modal-card.is-max-screen{border-radius:12px;width:98vw;max-width:98vw;height:96vh;max-height:96vh}.head-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.head-modal-header-left{flex-direction:column;gap:4px;display:flex}.head-modal-badge{text-transform:uppercase;letter-spacing:.5px;color:#059669;font-size:11px;font-weight:700}.head-modal-title{color:#0f172a;margin:0;font-size:20px;font-weight:800}.head-modal-header-actions{align-items:center;gap:8px;display:flex}.head-modal-action-btn,.head-modal-close-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:7px;transition:all .15s;display:inline-flex}.head-modal-action-btn{border-color:#e2e8f0}.head-modal-action-btn:hover,.head-modal-close-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.head-modal-summary-grid{background:#f8fafc;border-bottom:1px solid #e2e8f0;grid-template-columns:repeat(4,1fr);gap:12px;padding:14px 24px;display:grid}@media (width<=640px){.head-modal-summary-grid{grid-template-columns:repeat(2,1fr)}}.modal-summary-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:10px 14px;display:flex}.modal-summary-label{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:600}.modal-summary-val{color:#0f172a;margin-top:2px;font-size:16px;font-weight:800}.head-modal-table-wrapper{flex:1;padding:16px 24px;overflow:auto}.head-modal-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.head-modal-direct-th-row th{color:#334155;z-index:12;vertical-align:middle;background:#f1f5f9;border-bottom:2px solid #cbd5e1;padding:6px 8px;position:sticky;top:0}.th-filter-input-wrap{align-items:center;width:100%;display:flex;position:relative}.modal-th-direct-input,.modal-th-direct-select{color:#334155;box-sizing:border-box;text-transform:uppercase;letter-spacing:.2px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;height:30px;padding:3px 8px;font-family:inherit;font-size:11px;font-weight:700;transition:all .15s}.modal-th-direct-input::placeholder{color:#475569;text-transform:uppercase;opacity:1;font-weight:700}.modal-th-direct-select option{text-transform:none;color:#0f172a;font-weight:500}.modal-th-direct-input:focus,.modal-th-direct-select:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.modal-th-direct-input.is-filtered,.modal-th-direct-select.is-filtered{color:#1d4ed8;background:#eff6ff;border-color:#3b82f6}.modal-th-direct-select.align-right{text-align:right;direction:ltr}.modal-th-searchable{width:100%}.modal-th-searchable .searchable-select-trigger.size-sm{text-transform:uppercase!important;letter-spacing:.2px!important;color:#334155!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:6px!important;height:30px!important;min-height:30px!important;padding:2px 7px!important;font-size:11px!important;font-weight:700!important}.modal-th-searchable .searchable-select-placeholder{color:#475569!important;text-transform:uppercase!important;font-size:11px!important;font-weight:700!important}.modal-th-searchable.is-filtered .searchable-select-trigger.size-sm{color:#1d4ed8!important;background:#eff6ff!important;border-color:#3b82f6!important}.modal-th-searchable .searchable-select-text{text-transform:uppercase!important;font-size:11px!important;font-weight:700!important}.modal-th-searchable .searchable-select-multi-badge{color:#1e40af!important;background:#dbeafe!important;border-radius:4px!important;padding:1px 6px!important;font-size:10px!important;font-weight:700!important}.modal-th-searchable .searchable-select-dropdown{z-index:1000!important;text-transform:none!important;font-weight:500!important}.modal-th-running-bal-label{text-transform:uppercase;color:#475569;white-space:nowrap;justify-content:flex-end;align-items:center;gap:6px;padding:4px 6px;font-size:11px;font-weight:700;display:flex}.modal-th-reset-btn{color:#c2410c;cursor:pointer;background:#fff7ed;border:1px solid #f97316;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;transition:all .15s;display:inline-flex}.modal-th-reset-btn:hover{color:#fff;background:#ea580c}.modal-th-clear-x{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:13px;line-height:1;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.modal-th-clear-x:hover{color:#0f172a}.btn-clear-modal-filters-pill{color:#2563eb;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:700;transition:all .15s}.btn-clear-modal-filters-pill:hover{color:#fff;background:#2563eb}.head-modal-table tbody td{color:#334155;border-bottom:1px solid #f1f5f9;padding:9px 12px}.head-modal-table tfoot td{z-index:10;background:#f8fafc;border-top:2px solid #cbd5e1;position:sticky;bottom:0}.head-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;padding:12px 24px;display:flex}.print-only{display:none!important}@media print{.no-print{display:none!important}.print-only{display:block!important}.ledger-module-page-container{padding:0!important}.ledger-module-table-wrapper{box-shadow:none!important;border:none!important}.ledger-module-table{border:1px solid #cbd5e1!important}.head-subtotal-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#1e293b!important}.head-grand-total-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#0f172a!important}.head-contra-footer-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#1e293b!important;background:#f8fafc!important}}
