@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";
:root{--merpp-base-font:14px;--merpp-font-weight:600;--merpp-input-height:40px;--merpp-sidebar-left:244px;--merpp-sidebar-right:488px;--brightness-badges:white;--brightness-buttons:white;--brightness-totals:#1f2937;--brightness-values:#374151;--brightness-labels:#4b5563;--brightness-field-labels:#6b7280;--brightness-placeholder:#9ca3af}html,body{width:100vw;height:100vh;margin:0;padding:0;overflow:hidden;font-size:var(--merpp-base-font)!important}body{-webkit-font-smoothing:antialiased;background:#f9fafb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:var(--merpp-font-weight)!important}.merpp-layout-lock{grid-template-columns:var(--merpp-sidebar-left)1fr var(--merpp-sidebar-right);grid-template-rows:60px 1fr;width:100vw;height:100vh;display:grid;overflow:hidden}.merpp-sidebar-left{z-index:10;border-right:1px solid var(--gray-200);grid-area:1/1/3;overflow-y:auto;width:var(--merpp-sidebar-left)!important;min-width:var(--merpp-sidebar-left)!important;background:#fff!important}.merpp-sidebar-right{z-index:10;border-left:1px solid var(--gray-200);grid-area:2/3;overflow-y:auto;width:var(--merpp-sidebar-right)!important;min-width:var(--merpp-sidebar-right)!important;background:#fff!important}.merpp-header{border-bottom:1px solid var(--gray-200);z-index:5;background:#fff;grid-area:1/2/auto/4;align-items:center;height:60px;padding:0 24px;display:flex}.merpp-workspace{grid-area:2/2;position:relative;overflow:auto;background:#f9fafb!important}.merpp-workspace-scaler{transform-origin:0 0;width:117.6%;height:117.6%;transform:scale(.85)}.form-input,.form-select,.btn{height:var(--merpp-input-height)!important;font-size:var(--merpp-base-font)!important;font-weight:var(--merpp-font-weight)!important;padding-top:0!important;padding-bottom:0!important}:root{--purple-50:#f5f3ff;--purple-100:#ede5ff;--purple-200:#ddd6fe;--purple-300:#c4b5fd;--purple-400:#a78bfa;--purple-500:#8b5cf6;--purple-600:#7c3aed;--purple-700:#6d28d9;--purple-800:#5b21b6;--purple-900:#4c1d95;--purple-950:#1a0533;--gray-50:#fafafa;--gray-100:#f4f4f5;--gray-200:#e4e4e7;--gray-300:#d4d4d8;--gray-400:#a1a1aa;--gray-500:#71717a;--gray-600:#52525b;--gray-700:#3f3f46;--gray-800:#27272a;--gray-900:#18181b;--success:#22c55e;--success-light:#dcfce7;--warning:#f59e0b;--warning-light:#fef3c7;--danger:#ef4444;--danger-light:#fee2e2;--info:#3b82f6;--info-light:#dbeafe;--text-body:.875rem;--text-table:.75rem;--text-table-lg:.8125rem;--text-label:.6875rem;--text-heading:1rem;--text-heading-sm:.875rem;--sidebar-width:260px;--sidebar-collapsed:72px;--navbar-height:60px;--radius:12px;--radius-sm:8px;--radius-lg:16px;--radius-xl:24px;--shadow-sm:0 1px 2px #0000000d;--shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;--shadow-md:0 4px 6px #00000012,0 2px 4px #0000000f;--shadow-lg:0 10px 15px #0000001a,0 4px 6px #0000000d;--shadow-purple:0 4px 14px #7c3aed26;--transition:all .2s ease;--transition-slow:all .3s ease}*{box-sizing:border-box;margin:0;padding:0}html{font-size:var(--merpp-base-font)}:root{--fluid-font-lg:clamp(.9rem,calc(.6rem + .4vw),1.25rem);--fluid-font:clamp(.8rem,calc(.5rem + .35vw),1rem);--fluid-font-sm:clamp(.7rem,calc(.45rem + .25vw),.9rem);--fluid-font-xs:clamp(.6rem,calc(.4rem + .15vw),.75rem);--fluid-padding-y:clamp(.4rem,calc(.2rem + .4vw),1rem);--fluid-padding-x:clamp(.6rem,calc(.3rem + .5vw),1.2rem);--fluid-padding-y-th:clamp(.3rem,calc(.15rem + .35vw),.75rem);--color-primary:#4f46e5;--color-primary-hover:#4338ca;--color-primary-light:#eef2ff;--color-header:#f8fafc;--color-bg:#f8fafc;--color-accent:#10b981;--color-accent-light:#ecfdf5;--color-card-bg:#fff;--color-border:#f1f5f9;--color-border-dark:#e2e8f0;--color-text-main:#1e293b;--color-text-muted:#1e293b;--illustration-filter:none}.bg-theme-bg{background-color:var(--color-bg)!important}.bg-theme-header{background-color:#f8fafc!important}.bg-theme-primary{background-color:var(--color-primary)!important}.bg-theme-primary-hover:hover{background-color:var(--color-primary-hover)!important}.bg-theme-primary-light{background-color:var(--color-primary-light)!important}.bg-theme-accent{background-color:var(--color-accent)!important}.bg-theme-accent-light{background-color:var(--color-accent-light)!important}.bg-theme-card{background-color:var(--color-card-bg)!important}.text-theme-header{color:#f8fafc!important}.text-theme-primary{color:var(--color-primary)!important}.text-theme-primary-hover:hover{color:var(--color-primary-hover)!important}.text-theme-accent{color:var(--color-accent)!important}.text-theme-main{color:var(--color-text-main)!important}.text-theme-muted{color:var(--color-text-muted)!important}.border-theme-primary{border-color:var(--color-primary)!important}.border-theme-border{border-color:var(--color-border)!important}.border-theme-border-dark{border-color:var(--color-border-dark)!important}.border-theme-accent{border-color:var(--color-accent)!important}.fill-theme-primary{fill:var(--color-primary)!important}.fill-theme-header{fill:#f8fafc!important}.global-title{color:#f8fafc;line-height:1.2;font-size:1.5rem!important;font-weight:900!important}.global-th{text-transform:uppercase!important;letter-spacing:.05em!important;font-size:.75rem!important;font-weight:900!important}.global-td{line-height:1.4;padding:.75rem .85rem!important;font-size:.82rem!important;font-weight:500!important}.global-ref{color:var(--color-primary)!important;padding:.75rem .85rem!important;font-size:.82rem!important;font-weight:700!important}.global-currency{font-variant-numeric:tabular-nums;padding:.75rem .85rem!important;font-size:.82rem!important;font-weight:600!important}.global-row td{padding:.55rem .7rem!important}.global-row:hover td{background:#f8fafc}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:var(--merpp-base-font);color:var(--gray-900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f9fafb}.invoice-lines-table,.report-table,[data-dense-table],.invoice-lines-table th,.invoice-lines-table td,.report-table th,.report-table td{font-size:var(--text-table)}.log-notes-panel,.activity-feed{font-size:.6875rem;line-height:1.4}.log-notes-panel .log-note-header,.activity-feed .log-note-header{color:var(--gray-800);font-size:.75rem;font-weight:700}.log-notes-panel .log-note-bullets,.activity-feed .log-note-bullets{color:var(--gray-600);margin-top:.2rem;padding-left:1rem;font-size:.6875rem;list-style:outside}.log-notes-panel .log-note-bullets li,.activity-feed .log-note-bullets li{margin-bottom:.15rem}a{color:var(--purple-700);transition:var(--transition);text-decoration:none}a:hover{color:var(--purple-900)}.btn{border-radius:var(--radius-sm);cursor:pointer;transition:var(--transition);white-space:nowrap;border:none;justify-content:center;align-items:center;gap:.5rem;padding:.6rem 1.2rem;font-family:inherit;font-size:.875rem;font-weight:600;display:inline-flex}.btn-primary{background:linear-gradient(135deg,var(--purple-700),var(--purple-600));color:#fff;box-shadow:var(--shadow-purple)}.btn-primary:hover{background:linear-gradient(135deg,var(--purple-800),var(--purple-700));transform:translateY(-1px);box-shadow:0 6px 20px #7c3aed40}.btn-secondary{color:var(--gray-700);border:1px solid var(--gray-200);background:#fff}.btn-secondary:hover{background:var(--gray-50);border-color:var(--gray-300)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#dc2626}.btn-ghost{color:var(--gray-600);background:0 0}.btn-ghost:hover{background:var(--gray-100);color:var(--gray-900)}.btn-sm{padding:.4rem .8rem;font-size:.8rem}.btn-lg{padding:.8rem 1.6rem;font-size:1rem}.btn-icon{border-radius:var(--radius-sm);width:36px;height:36px;padding:0}.form-group{margin-bottom:1.25rem}.form-label{color:var(--gray-600);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.4rem;font-size:.8rem;font-weight:600;display:block}.form-input{width:100%;padding:var(--fluid-padding-y)var(--fluid-padding-x);border:2px solid var(--gray-200);border-radius:var(--radius-sm);font-family:inherit;font-size:var(--fluid-font);color:var(--gray-900);transition:var(--transition);background:#fff;outline:none}.form-input:focus{border-color:var(--purple-500);box-shadow:0 0 0 3px #7c3aed1a}.form-input::placeholder{color:var(--gray-400)}.form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");background-position:right .8rem center;background-repeat:no-repeat;padding-right:2.5rem}.card{border-radius:var(--radius);border:1px solid var(--gray-200);transition:var(--transition);background:#fff;padding:1.5rem}.card:hover{box-shadow:var(--shadow-md)}.card-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.card-title{color:var(--gray-500);text-transform:uppercase;letter-spacing:.5px;font-size:.85rem;font-weight:600}.card-value{color:var(--gray-900);align-items:center;min-height:2.4rem;line-height:1.2;display:flex;font-size:11px!important;font-weight:600!important}.card-icon{border-radius:var(--radius-sm);justify-content:center;align-items:center;width:44px;height:44px;font-size:1.3rem;display:flex}.card-icon-purple{background:var(--purple-100);color:var(--purple-700)}.card-icon-green{background:var(--success-light);color:var(--success)}.card-icon-blue{background:var(--info-light);color:var(--info)}.card-icon-orange{background:var(--warning-light);color:var(--warning)}.card-icon-red{background:var(--danger-light);color:var(--danger)}.badge{border-radius:50px;align-items:center;padding:.25rem .65rem;font-size:.75rem;font-weight:600;display:inline-flex}.badge-success{background:var(--success-light);color:#15803d}.badge-warning{background:var(--warning-light);color:#a16207}.badge-danger{background:var(--danger-light);color:#b91c1c}.badge-info{background:var(--info-light);color:#1d4ed8}.badge-purple{background:var(--purple-100);color:var(--purple-700)}.badge-gray{background:var(--gray-100);color:var(--gray-600)}.table-container{border-radius:var(--radius);border:1px solid var(--gray-200);background:#fff;overflow-x:auto}.table{border-collapse:collapse;width:100%}.table th{text-align:left;padding:var(--fluid-padding-y-th)var(--fluid-padding-x);font-size:var(--fluid-font-sm);color:var(--gray-500);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--gray-200);background:var(--gray-50);font-weight:600}.table td{padding:var(--fluid-padding-y)var(--fluid-padding-x);font-size:var(--fluid-font);color:var(--gray-700);border-bottom:1px solid var(--gray-100)}.table tr:last-child td{border-bottom:none}.table tr:hover td{background:var(--purple-50)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--gray-300);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--gray-400)}.text-purple{color:var(--purple-700)}.text-success{color:var(--success)}.text-danger{color:var(--danger)}.text-warning{color:var(--warning)}.text-muted{color:var(--gray-500)}.text-sm{font-size:.85rem}.text-xs{font-size:.75rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}.grid-2{grid-template-columns:repeat(2,1fr);gap:1.5rem;display:grid}.grid-3{grid-template-columns:repeat(3,1fr);gap:1.5rem;display:grid}.grid-4{grid-template-columns:repeat(4,1fr);gap:1.5rem;display:grid}@media (max-width:1024px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}@media (max-width:1024px){.merpp-sidebar{transform:translate(-100%);z-index:10000!important;width:280px!important;min-width:280px!important;max-width:280px!important;height:100dvh!important;box-shadow:none!important;border-radius:0!important;transition:transform .3s cubic-bezier(.4,0,.2,1)!important;position:fixed!important;top:0!important;left:0!important}.merpp-sidebar.drawer-open{transform:translate(0);box-shadow:8px 0 32px #0003!important}.merpp-backdrop{z-index:9999;opacity:0;background:#00000080;transition:opacity .3s;display:none;position:fixed;inset:0}.merpp-backdrop.backdrop-visible{opacity:1;display:block}.merpp-hamburger,.merpp-mobile-header{display:flex!important}.merpp-layout-grid{grid-template-columns:1fr!important}.merpp-main-content{padding-top:56px!important}}@media (min-width:1025px){.merpp-hamburger,.merpp-mobile-header,.merpp-backdrop{display:none!important}}@media (max-width:1024px){.dashboard-canvas{padding:1rem!important}.kpi-grid{grid-template-columns:repeat(2,1fr)!important;gap:1rem!important}.bottom-widgets{grid-template-columns:1fr!important}.dashboard-chart-container{height:220px!important}.dashboard-illustration{display:none!important}}@media (max-width:480px){.kpi-grid{grid-template-columns:1fr!important}.dashboard-chart-container{height:180px!important}}@media (max-width:1024px){.merpp-sidebar nav a,.merpp-sidebar nav>div>div{align-items:center;min-height:44px;display:flex}}@media (max-width:768px){.table-container{-webkit-overflow-scrolling:touch;overflow-x:auto}}@media print{.merpp-mobile-header,.merpp-hamburger,.merpp-backdrop{display:none!important}}.dark-bar-header,.institutional-header,.clean-header{background:#fff!important;border-bottom:2px solid #e5e7eb!important}.dark-bar-header th,.dark-bar-header td,.dark-bar-header>div,.dark-bar-header div.sortable-header,.institutional-header th,.institutional-header td,.institutional-header>div,.dark-bar-header .global-bar-label,.global-bar-label{color:#374151!important;letter-spacing:.06em!important;text-transform:uppercase!important;white-space:nowrap!important;padding:.55rem .7rem!important;font-size:.6875rem!important;font-weight:700!important}.dark-bar-header th svg,.dark-bar-header .global-bar-label svg,.institutional-header th svg,.global-bar-label svg{stroke:#64748b!important;color:#64748b!important}.dark-bar-header th.sortable-header:hover,.dark-bar-header div.sortable-header:hover,.institutional-header th:hover,.institutional-header>div:hover,.dark-bar-header .global-bar-label:hover,.global-bar-label:hover{text-shadow:none!important;color:#1e293b!important}.institutional-table tbody tr:hover,table.institutional tbody tr:hover{background:#f8fafc!important}.institutional-table tbody td,table.institutional tbody td{border-bottom:1px solid #f1f5f9;padding:.5rem .7rem;font-size:.78rem}.institutional-footer,.dark-bar-footer{background:#fff!important}.institutional-footer td,.dark-bar-footer td{color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;opacity:1!important;padding:.55rem .7rem!important;font-weight:800!important}[data-theme=dark] body,[data-theme=dark]{color:#e2e8f0!important;background:#0f1219!important}[data-theme=dark] div[style*="background: white"],[data-theme=dark] div[style*=background\:white],[data-theme=dark] div[style*="background: 'white'"],[data-theme=dark] div[style*="background: rgb(255"]{color:#e2e8f0!important;background:#1e2233!important}[data-theme=dark] main{background:#0f1219!important}[data-theme=dark] div[style*=\#f9fafb],[data-theme=dark] div[style*=\#fafafa],[data-theme=dark] div[style*=\#f3f4f6],[data-theme=dark] div[style*=\#f5f3ff],[data-theme=dark] div[style*=rgb\(249],[data-theme=dark] div[style*=rgb\(250]{background:#1a1e2e!important}[data-theme=dark] form{color:#e2e8f0!important;background:#1e2233!important}[data-theme=dark] div[style*=border],[data-theme=dark] form[style*=border]{border-color:#2d3348!important}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{color:#e2e8f0!important;background:#252836!important;border-color:#3a3f55!important}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#64748b!important}[data-theme=dark] input:focus,[data-theme=dark] select:focus,[data-theme=dark] textarea:focus{border-color:#7c3aed!important;box-shadow:0 0 0 3px #7c3aed33!important}[data-theme=dark] option{color:#e2e8f0!important;background:#252836!important}[data-theme=dark] table{background:#1e2233!important}[data-theme=dark] th{color:#94a3b8!important;background:#252836!important;border-color:#2d3348!important}[data-theme=dark] td{color:#cbd5e1!important;border-color:#252836!important}[data-theme=dark] tr:hover td{background:#252836!important}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4{color:#f1f5f9!important}[data-theme=dark] label{color:#94a3b8!important}[data-theme=dark] span{color:inherit}[data-theme=dark] a{color:#a78bfa}[data-theme=dark] a:hover{color:#c4b5fd}[data-theme=dark] .card{background:#1e2233!important;border-color:#2d3348!important}[data-theme=dark] .card-value{color:#f1f5f9!important}[data-theme=dark] .card-title{color:#94a3b8!important}[data-theme=dark] .table-container{background:#1e2233!important;border-color:#2d3348!important}[data-theme=dark] .table th{color:#94a3b8!important;background:#252836!important;border-color:#2d3348!important}[data-theme=dark] .table td{color:#cbd5e1!important;border-color:#252836!important}[data-theme=dark] .table tr:hover td{background:#252836!important}[data-theme=dark] .btn-secondary{color:#e2e8f0!important;background:#252836!important;border-color:#3a3f55!important}[data-theme=dark] .btn-ghost{color:#94a3b8!important}[data-theme=dark] .btn-ghost:hover{color:#e2e8f0!important;background:#252836!important}[data-theme=dark] .badge-gray{color:#94a3b8!important;background:#252836!important}[data-theme=dark] .form-input{color:#e2e8f0!important;background:#252836!important;border-color:#3a3f55!important}[data-theme=dark] .form-label{color:#94a3b8!important}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#3a3f55}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#4a4f65}[data-theme=dark] nav,[data-theme=dark] aside{background:#1a1e2e!important;border-color:#2d3348!important}[data-theme=dark] [style*="color: #374151"],[data-theme=dark] [style*="color: #1a0533"],[data-theme=dark] [style*="color:#374151"],[data-theme=dark] [style*="color:#1a0533"]{color:#e2e8f0!important}[data-theme=dark] [style*="color: #6b7280"],[data-theme=dark] [style*="color:#6b7280"]{color:#94a3b8!important}[data-theme=dark] [style*="color: #9ca3af"],[data-theme=dark] [style*="color:#9ca3af"]{color:#64748b!important}[data-theme=dark] [style*="background: white"],[data-theme=dark] [style*=background\:white],[data-theme=dark] [style*="background: #fff"],[data-theme=dark] [style*="background:#fff"]{background:#1e2233!important}[data-theme=dark] [style*="background: #f9fafb"],[data-theme=dark] [style*="background:#f9fafb"],[data-theme=dark] [style*="background: #fafafa"],[data-theme=dark] [style*="background:#fafafa"]{background:#1a1e2e!important}[data-theme=dark] [style*="background: #f3f4f6"],[data-theme=dark] [style*="background:#f3f4f6"]{background:#252836!important}[data-theme=dark] [style*="background: #f5f3ff"],[data-theme=dark] [style*="background:#f5f3ff"]{background:#1e1b3a!important}[data-theme=dark] [style*="border-color: #e5e7eb"],[data-theme=dark] [style*="border-color:#e5e7eb"],[data-theme=dark] [style*="border: 1px solid #e5e7eb"],[data-theme=dark] [style*="border:1px solid #e5e7eb"]{border-color:#2d3348!important}[data-theme=dark] [style*="border-bottom: 1px solid #f3f4f6"],[data-theme=dark] [style*="border-bottom:1px solid #f3f4f6"]{border-color:#252836!important}[data-theme=dark] p{color:#cbd5e1!important}[data-theme=dark] strong,[data-theme=dark] b{color:#f1f5f9!important}[data-theme=dark] em,[data-theme=dark] small{color:#94a3b8!important}[data-theme=dark] li{color:#cbd5e1!important}[data-theme=dark] button{color:#e2e8f0}[data-theme=dark] button[style*="background: white"],[data-theme=dark] button[style*="background:#fff"],[data-theme=dark] button[style*="background: #fff"]{color:#e2e8f0!important;background:#252836!important;border-color:#3a3f55!important}[data-theme=dark] button[style*="background: #f3f4f6"],[data-theme=dark] button[style*="background:#f3f4f6"]{color:#e2e8f0!important;background:#252836!important}[data-theme=dark] nav a,[data-theme=dark] aside a{color:#94a3b8!important}[data-theme=dark] nav a:hover,[data-theme=dark] aside a:hover{color:#e2e8f0!important;background:#7c3aed26!important}[data-theme=dark] nav a.active,[data-theme=dark] aside a.active{color:#c4b5fd!important;background:#7c3aed33!important}[data-theme=dark] nav svg,[data-theme=dark] aside svg{stroke:#94a3b8;color:#94a3b8!important}[data-theme=dark] nav a:hover svg,[data-theme=dark] aside a:hover svg{stroke:#c4b5fd;color:#c4b5fd!important}[data-theme=dark] .card-icon-purple{color:#a78bfa!important;background:#7c3aed33!important}[data-theme=dark] .card-icon-green{color:#4ade80!important;background:#22c55e26!important}[data-theme=dark] .card-icon-blue{color:#60a5fa!important;background:#3b82f626!important}[data-theme=dark] .card-icon-orange{color:#fbbf24!important;background:#f59e0b26!important}[data-theme=dark] .card-icon-red{color:#f87171!important;background:#ef444426!important}[data-theme=dark] .badge-success{color:#4ade80!important;background:#22c55e26!important}[data-theme=dark] .badge-warning{color:#fbbf24!important;background:#f59e0b26!important}[data-theme=dark] .badge-danger{color:#f87171!important;background:#ef444426!important}[data-theme=dark] .badge-info{color:#60a5fa!important;background:#3b82f626!important}[data-theme=dark] .badge-purple{color:#a78bfa!important;background:#7c3aed26!important}[data-theme=dark] [class*=dropdown],[data-theme=dark] [class*=menu],[data-theme=dark] [class*=popover],[data-theme=dark] [class*=modal],[data-theme=dark] [class*=dialog]{color:#e2e8f0!important;background:#1e2233!important;border-color:#2d3348!important}[data-theme=dark] [style*="fontSize: '2"],[data-theme=dark] [style*="fontSize: '1.5"],[data-theme=dark] [style*="font-size: 2"],[data-theme=dark] [style*="font-size: 1.5"]{color:#f1f5f9!important}[data-theme=dark] [style*="color: #111"],[data-theme=dark] [style*="color:#111"],[data-theme=dark] [style*="color: #1f"],[data-theme=dark] [style*="color:#1f"],[data-theme=dark] [style*="color: #27"],[data-theme=dark] [style*="color:#27"],[data-theme=dark] [style*="color: #334"],[data-theme=dark] [style*="color:#334"],[data-theme=dark] [style*="color: #4b5563"],[data-theme=dark] [style*="color:#4b5563"],[data-theme=dark] [style*="color: #1a1"],[data-theme=dark] [style*="color:#1a1"],[data-theme=dark] [style*="color: black"],[data-theme=dark] [style*=color\:black]{color:#e2e8f0!important}[data-theme=dark] [style*="color: #71717a"],[data-theme=dark] [style*="color:#71717a"],[data-theme=dark] [style*="color: #52525b"],[data-theme=dark] [style*="color:#52525b"],[data-theme=dark] [style*="color: #3f3f46"],[data-theme=dark] [style*="color:#3f3f46"]{color:#94a3b8!important}[data-theme=dark] [style*="backgroundColor: 'white'"],[data-theme=dark] [style*="backgroundColor: '#fff'"],[data-theme=dark] [style*="backgroundColor: '#FFF'"]{background-color:#1e2233!important}[data-theme=dark] [style*="backgroundColor: '#f9fafb'"],[data-theme=dark] [style*="backgroundColor: '#fafafa'"]{background-color:#1a1e2e!important}[data-theme=dark] [style*="backgroundColor: '#f3f4f6'"]{background-color:#252836!important}[data-theme=dark] hr{border-color:#2d3348!important}[data-theme=dark] [style*="background: linear-gradient"]{background:#1a1e2e!important}[data-theme=dark] .text-purple{color:#a78bfa!important}[data-theme=dark] ::-webkit-scrollbar-track{background:#1a1e2e!important}.base-ledger{border-collapse:collapse;width:100%}.base-ledger th{text-align:left;text-transform:uppercase!important;color:#94a3b8!important;letter-spacing:-.025em!important;padding:.375rem .75rem!important;font-size:9px!important;font-weight:700!important}.base-ledger td{color:#0f172a!important;letter-spacing:-.025em!important;height:36px!important;padding:.375rem .75rem!important;font-size:11px!important;font-weight:500!important}.base-ledger td.is-currency{font-variant-numeric:tabular-nums}.base-ledger td:has(.currency-val){font-variant-numeric:tabular-nums}@media print{@page{margin:10mm 8mm;size:A4}body>div>div:first-child,aside,[data-print-hide],.chat-panel,[style*="position: fixed"],[style*="z-index: 49"],[style*="z-index: 50"],[data-action-bar],[style*="background: #fef2f2"],[data-no-print]{display:none!important}main,main>div{width:100%!important;max-width:100%!important;height:auto!important;min-height:auto!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.merpp-layout-grid{height:auto!important;display:block!important;overflow:visible!important}.merpp-main-content,.merpp-main-content>div{height:auto!important;overflow:visible!important}.merpp-main-content>div{height:auto!important;min-height:auto!important;display:block!important}body,html,div{box-shadow:none!important;background:#fff!important}body>div{background:#fff!important}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.base-ledger,.table,table,.global-th,.global-td{width:100%!important;max-width:100%!important}tr{page-break-inside:avoid!important;break-inside:avoid!important}.base-ledger td,.global-td,td{color:#000!important;font-size:10pt!important}.base-ledger th,.global-th,th{color:#333!important;font-size:9pt!important}.global-title,h1,h2,h3{color:#000!important}span[style*="text-transform: uppercase"]{color:#333!important;background:0 0!important;border:1px solid #777!important}::-webkit-scrollbar{display:none!important}.merpp-report-toolbar,.no-print,.merpp-report-toolbar *{display:none!important}.merpp-report-toolbar+div,.merpp-report-toolbar~div{flex:unset!important;border:none!important;height:auto!important;max-height:none!important;overflow:visible!important}body,html,.merpp-layout-grid,.merpp-main-content,main,main>div,main>div>div{height:auto!important;max-height:none!important;overflow:visible!important}.print-only{display:block!important}.print-hide{display:none!important}.merpp-report-toolbar~div>div{padding:6pt 0!important}[style*="max-width: 64rem"],[style*=max-width\:64rem],[style*="max-width: 72rem"],[style*=max-width\:72rem],[style*="max-width: 80rem"],[style*=max-width\:80rem],[style*="max-width: 56rem"],[style*=max-width\:56rem],[style*="max-width: 48rem"],[style*=max-width\:48rem],[style*=maxWidth],[style*=max-width]{max-width:100%!important}.merpp-report-toolbar~div,.merpp-report-toolbar~div>div,.merpp-report-toolbar~div>div>div,[style*="margin: 0 auto"],[style*="margin: 0px auto"],[style*="margin:0 auto"],[style*="margin:0px auto"]{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}.merpp-report-toolbar~div table,.merpp-report-toolbar~div .base-ledger{width:100%!important;max-width:100%!important}[style*="justify-content: center"],[style*=justify-content\:center],[style*="min-height: 100vh"],[style*=min-height\:100vh],[style*="min-height: 100%"],[style*="min-height:100%"]{justify-content:flex-start!important;min-height:auto!important}[style*="height: 100%"],[style*="height:100%"]{height:auto!important;min-height:auto!important}[style*=overflow\:hidden],[style*="overflow: hidden"]{overflow:visible!important}table{page-break-inside:auto!important}tr{page-break-inside:avoid!important;page-break-after:auto!important}thead{display:table-header-group!important}tfoot{display:table-footer-group!important}h1,h2,h3{page-break-after:avoid!important}.recharts-wrapper,.recharts-responsive-container,#__next-dev-overlay-error-toast,#__next-build-watcher,#nextjs-portal,[data-nextjs-toast]{display:none!important}.merpp-report-toolbar~div table{table-layout:auto!important;white-space:normal!important;width:100%!important;max-width:100%!important}.merpp-report-toolbar~div table th,.merpp-report-toolbar~div table td{white-space:normal!important;word-break:keep-all!important}.merpp-report-toolbar~div[style*="flex: 1"],.merpp-report-toolbar~div[style*=flex\:1]{flex:unset!important;height:auto!important;margin-top:0!important;padding-top:0!important;display:block!important}.merpp-report-toolbar~div [style*=grid-template-columns]{page-break-inside:avoid!important;grid-template-columns:repeat(auto-fit,minmax(80px,1fr))!important;gap:.4rem!important;width:100%!important;display:grid!important}.merpp-report-toolbar~div [style*=grid-template-columns]>div{border-radius:6px!important;padding:.5rem!important}[style*="grid-template-columns: repeat(4"]{page-break-inside:avoid!important;grid-template-columns:repeat(4,1fr)!important;gap:.5rem!important;width:100%!important;display:grid!important}[style*="grid-template-columns: repeat(4"]>div{border-radius:6px!important;padding:.4rem .6rem!important}.merpp-report-toolbar~div table td{color:#000!important;padding:3pt 5pt!important;font-size:8.5pt!important}.merpp-report-toolbar~div table th{color:#333!important;padding:3pt 5pt!important;font-size:7.5pt!important}}.print-only{display:none}.merpp-list-row{cursor:pointer;transition:background-color .15s}.merpp-list-row td .merpp-row-link,.merpp-list-row td a.merpp-row-link{color:#6366f1;font-weight:700;text-decoration:none;transition:color .12s}.merpp-list-row:hover td .merpp-row-link,.merpp-list-row:hover td a.merpp-row-link{text-decoration:underline}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.status-badge{color:#fff;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;border:none;border-radius:9999px;justify-content:center;align-items:center;padding:3px 10px;font-size:11px;font-weight:700;line-height:1.4;display:inline-flex}.status-draft{color:#fff!important;background:#6b7280!important}.status-posted,.status-paid{color:#fff!important;background:#059669!important}.status-returned{color:#fff!important;background:#b45309!important}.status-overdue{color:#fff!important;background:#dc2626!important}.status-partial{color:#fff!important;background:#b45309!important}.status-cancelled{color:#fff!important;background:#374151!important}.status-applied{color:#fff!important;background:#059669!important}.status-completed{color:#fff!important;background:#111827!important}.status-received{color:#fff!important;background:#059669!important}.status-sent{color:#fff!important;background:#6b7280!important}.status-active,.status-approved{color:#fff!important;background:#059669!important}.status-pending{color:#fff!important;background:#d97706!important}.status-rejected{color:#fff!important;background:#dc2626!important}.status-on-hold{color:#fff!important;background:#d97706!important}.status-closed{color:#fff!important;background:#111827!important}.status-open{color:#fff!important;background:#0d9488!important}.status-void{color:#fff!important;background:#374151!important}input:disabled,input[readonly],select:disabled,select[readonly],textarea:disabled,textarea[readonly]{color:#374151!important;-webkit-text-fill-color:#374151!important;opacity:1!important}.status-badge,[class*=status-],[class*=badge-status],[class*=badge]{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}.action-bar button,.action-bar .btn,[class*=action-bar] button{opacity:1!important}.btn-primary,.btn-send,.btn-print,.btn-confirm,[class*=btn-primary]{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}.btn-secondary,.btn-outline,[class*=btn-secondary],[class*=btn-outline]{color:#374151!important;-webkit-text-fill-color:#374151!important;opacity:1!important}.info-bar,.lock-bar,.invoice-locked-bar,[class*=info-bar],[class*=lock-message],[class*=locked-bar],.info-bar *,.lock-bar *,.invoice-locked-bar *{color:#4b5563!important;-webkit-text-fill-color:#4b5563!important;opacity:1!important}.field-label,.form-label,label,.input-label,[class*=field-label],[class*=form-label],[class*=input-label]{color:#6b7280!important;-webkit-text-fill-color:#6b7280!important;opacity:1!important}.field-value,.form-value,[class*=field-value],.tab,.tab-item,.tab-button,[class*=tab-],[class*=tab-item],[class*=tab-button],[role=tab]{color:#374151!important;-webkit-text-fill-color:#374151!important;opacity:1!important}.tab-active,[class*=tab-active],.tab[aria-selected=true],[role=tab][aria-selected=true]{color:#374151!important;-webkit-text-fill-color:#374151!important;border-bottom:2px solid #4f46e5!important}table thead th,table thead td,.table-header th,.table-header td,.list-header th,[class*=column-header],[class*=col-header]{color:#4b5563!important;-webkit-text-fill-color:#4b5563!important;opacity:1!important;font-weight:600!important}.product-line td,.product-line input,.product-line select,.bill-line td,.bill-line input,.lines-table td,.lines-table input,.lines-table select,[class*=line-row] td,[class*=line-row] input,[class*=lineRow] td,[class*=lineRow] input,.ResizableTransactionTable td,.ResizableTransactionTable input{color:#374151!important;-webkit-text-fill-color:#374151!important;opacity:1!important}.totals-section,.totals-section *,.invoice-totals,.invoice-totals *,[class*=totals-section] *,[class*=totals] *,[class*=total-section] *{color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;opacity:1!important}.notes-section,.notes-section label,.notes-label,[class*=notes-section] label,[class*=notes] label{color:#6b7280!important;-webkit-text-fill-color:#6b7280!important;opacity:1!important}.notes-section textarea::placeholder,[class*=notes] textarea::placeholder{color:#9ca3af!important;-webkit-text-fill-color:#9ca3af!important}input::placeholder,textarea::placeholder,select::placeholder{color:#9ca3af!important;-webkit-text-fill-color:#9ca3af!important;opacity:1!important}.universal-list,.list-table,[data-list-table]{border-collapse:collapse!important;border:none!important;width:100%!important;font-size:11px!important}.universal-list tbody td,.list-table tbody td,[data-list-table] tbody td{color:#374151!important;-webkit-text-fill-color:#374151!important;vertical-align:middle!important;border-bottom:1px solid #f3f4f6!important;padding:.75rem .85rem!important;font-size:11px!important}.universal-list tbody tr:hover,.list-table tbody tr:hover,[data-list-table] tbody tr:hover{cursor:pointer!important;background:#f5f3ff!important}.universal-list thead th,.list-table thead th,[data-list-table] thead th{color:#374151!important;-webkit-text-fill-color:#374151!important;text-transform:uppercase!important;letter-spacing:.06em!important;white-space:nowrap!important;background:#fff!important;border-bottom:2px solid #e5e7eb!important;padding:.7rem .85rem!important;font-size:.6875rem!important;font-weight:700!important}.universal-list tbody td a,.list-table tbody td a,[data-list-table] tbody td a{color:#6366f1!important;font-weight:700!important;text-decoration:none!important}.universal-list tbody td a:hover,.list-table tbody td a:hover,[data-list-table] tbody td a:hover{color:#4f46e5!important;text-decoration:underline!important}.universal-list thead th:first-child,.universal-list tbody td:first-child:not(.group-header-td),.list-table thead th:first-child,.list-table tbody td:first-child:not(.group-header-td){text-align:center!important;width:40px!important}.universal-list td[data-amount],.list-table td[data-amount]{font-family:JetBrains Mono,SF Mono,Consolas,monospace!important;font-weight:600!important}.posted-totals td,.totals-row td,tr.posted-totals td,tfoot .posted-totals td,[class*=posted-totals] td,[class*=totals-bar] td,tfoot tr td[data-totals]{color:#374151!important;-webkit-text-fill-color:#374151!important;background:#f8fafc!important;border-top:1px solid #e5e7eb!important;border-bottom:1px solid #e5e7eb!important;padding:.7rem .85rem!important;font-size:.82rem!important;font-weight:700!important}.list-group-header td,[class*=group-header] td{color:#64748b!important;-webkit-text-fill-color:#64748b!important;text-transform:uppercase!important;letter-spacing:.5px!important;background:#f8fafc!important;border-top:1px solid #e2e8f0!important;padding:.5rem .85rem!important;font-size:10px!important;font-weight:800!important}.universal-list tbody tr[data-draft] td{color:#6b7280!important;-webkit-text-fill-color:#6b7280!important;background:#fff!important}.universal-list tbody tr[data-draft]:hover td{background:#f5f3ff!important}.universal-list,.list-table{box-shadow:none!important;border:none!important}.sidebar-user-avatar,[class*=sidebar-user],[class*=user-avatar-bottom]{justify-content:center!important;align-items:center!important;padding:8px!important;display:flex!important;position:absolute!important;bottom:16px!important;left:0!important;right:0!important}.merpp-list-row{transition:background-color .15s}.merpp-list-row:hover{background-color:#f5f3ff!important}.merpp-list-row td a,.merpp-list-row td .merpp-row-link{color:#6366f1;font-weight:700;text-decoration:none;transition:color .12s}.merpp-list-row:hover td a,.merpp-list-row:hover td .merpp-row-link{text-decoration:underline}
.institutional-box{box-sizing:border-box!important;color:#1e293b!important;height:36px!important;box-shadow:none!important;text-overflow:ellipsis!important;white-space:nowrap!important;background-color:#f8fafc!important;border:1.5px solid #0000!important;border-radius:10px!important;outline:none!important;width:100%!important;padding:.45rem .65rem!important;font-family:inherit!important;font-size:.8125rem!important;font-weight:500!important;line-height:normal!important;transition:border-color .2s,box-shadow .2s!important;display:block!important;overflow:hidden!important}textarea.institutional-box{resize:vertical!important;white-space:pre-wrap!important;height:auto!important;min-height:50px!important;padding:.5rem .75rem!important;line-height:1.5!important}.institutional-box:focus{background-color:#fff!important;border-color:#4f46e5!important;box-shadow:0 0 0 2px #4f46e533!important}select.institutional-box{appearance:none!important;cursor:pointer!important;background-image:url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 9l4 4 4-4' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right .6rem center!important;background-repeat:no-repeat!important;padding-top:0!important;padding-bottom:0!important;padding-right:1.8rem!important}.institutional-box:disabled,.institutional-box[readonly]{color:#4b5563!important;-webkit-text-fill-color:#4b5563!important;opacity:1!important;cursor:not-allowed!important;background-color:#f8fafc!important;border-color:#e2e8f0!important}.institutional-box::placeholder{color:#94a3b8!important;font-size:.8125rem!important;font-weight:500!important}
@media (max-width:1024px){html,body{min-height:100dvh;width:100%!important;max-width:100vw!important;height:auto!important;overflow:hidden auto!important}.merpp-layout-lock{grid-template-rows:none!important;grid-template-columns:none!important;width:100%!important;height:auto!important;display:block!important;overflow:visible!important}.merpp-layout-grid,div[style*=grid-template-columns][style*="195px"],div[style*=gridTemplateColumns]{flex-direction:column!important;grid-template-columns:1fr!important;width:100%!important;max-width:100vw!important;height:auto!important;min-height:100dvh!important;display:flex!important;overflow:hidden auto!important}.merpp-main-content{flex:1!important;width:100%!important;min-width:0!important;max-width:100vw!important;height:auto!important;padding:64px .75rem .75rem!important;overflow:hidden auto!important}.merpp-workspace-scaler{width:100%!important;height:auto!important;transform:none!important}*{max-width:100vw}[style*="position: fixed"],[style*="position: absolute"],.merpp-sidebar,.merpp-backdrop{max-width:none}.merpp-mobile-header{z-index:9998!important;background:#fff!important;justify-content:space-between!important;align-items:center!important;height:56px!important;padding:0 1rem!important;display:flex!important;position:fixed!important;top:0!important;left:0!important;right:0!important;box-shadow:0 2px 12px #00000026!important}.merpp-hamburger{justify-content:center!important;align-items:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;display:flex!important}.fixed.top-0.left-0.right-0.h-9{display:none!important}}@media (min-width:1025px){.merpp-mobile-header,.merpp-hamburger{display:none!important}}@media (max-width:1024px){.merpp-sidebar{z-index:10000!important;width:min(280px,80vw)!important;min-width:min(280px,80vw)!important;max-width:min(280px,80vw)!important;height:100dvh!important;box-shadow:none!important;background:#fff!important;border-radius:0!important;transition:transform .3s cubic-bezier(.4,0,.2,1)!important;position:fixed!important;top:0!important;left:0!important;overflow-y:auto!important;transform:translate(-100%)!important}.merpp-sidebar.drawer-open{transform:translate(0)!important;box-shadow:8px 0 32px #0003!important}.merpp-backdrop{opacity:0;display:none;z-index:9999!important;background:#00000080!important;transition:opacity .3s!important;position:fixed!important;inset:0!important}.merpp-backdrop.backdrop-visible{opacity:1!important;display:block!important}.merpp-sidebar nav a,.merpp-sidebar nav>div>div{align-items:center!important;min-height:48px!important;font-size:.9rem!important;display:flex!important}}@media (min-width:1025px){.merpp-backdrop{display:none!important}}@media (max-width:1024px){.merpp-utility-bar{display:none!important}main{padding-top:0!important}}.mobile-card-list{display:none}@media (max-width:768px){.mobile-card-list{flex-direction:column;gap:.6rem;padding:0;display:flex!important}.mobile-record-card{cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem 1rem;transition:box-shadow .2s,transform .15s;box-shadow:0 1px 4px #0000000a}.mobile-record-card:active{transform:scale(.98);box-shadow:0 2px 8px #00000014}.mobile-record-card .card-top{justify-content:space-between;align-items:center;margin-bottom:.3rem;display:flex}.mobile-record-card .card-id{color:#1e293b;font-size:.85rem;font-weight:700}.mobile-record-card .card-date{color:#94a3b8;font-size:.75rem;font-weight:500}.mobile-record-card .card-name{color:#64748b;margin-bottom:.35rem;font-size:.82rem;font-weight:500}.mobile-record-card .card-bottom{justify-content:space-between;align-items:center;display:flex}.mobile-record-card .card-amount{color:#1e293b;font-variant-numeric:tabular-nums;font-size:.9rem;font-weight:700}.mobile-record-card .card-status{text-transform:uppercase;letter-spacing:.03em;border-radius:50px;padding:.2rem .6rem;font-size:.7rem;font-weight:600}.ulv-toolbar{flex-wrap:wrap!important;gap:.5rem!important;padding:.5rem 0!important}.ulv-toolbar>div:first-child{flex:none!important;justify-content:space-between!important;align-items:center!important;width:100%!important;display:flex!important}.ulv-toolbar>div:nth-child(2){flex:none!important;order:2!important;width:100%!important}.ulv-toolbar>div:nth-child(2)>div{width:100%!important;max-width:100%!important}.ulv-toolbar>div:nth-child(3){flex:none!important;order:3!important;justify-content:space-between!important;width:100%!important}.record-header-mobile{padding-left:.5rem!important;padding-right:.5rem!important;overflow:hidden!important}.record-header-mobile>div{flex-wrap:wrap!important;gap:.35rem!important}.record-header-mobile h1{flex-wrap:wrap!important;font-size:11px!important}.record-header-mobile>div>div[style*="background: #eff6ff"]{width:100%!important;margin-top:.25rem!important}.action-ribbon-mobile{border-radius:12px!important;flex-wrap:wrap!important;gap:.4rem!important;padding:.65rem .75rem!important}.action-ribbon-mobile>button{border-radius:10px!important;flex:calc(50% - .2rem)!important;justify-content:center!important;min-height:48px!important;padding:.5rem .6rem!important;font-size:.82rem!important}.action-ribbon-mobile>div:first-child{gap:.4rem!important;width:100%!important;display:flex!important}.action-ribbon-mobile>div:first-child>button{border-radius:10px!important;flex:1!important;justify-content:center!important;min-height:48px!important;padding:.5rem .6rem!important;font-size:.82rem!important}.action-ribbon-mobile>div[style*=SAVED],.action-ribbon-mobile>div:nth-child(2){order:10!important;font-size:.65rem!important}.action-ribbon-mobile>div:last-child{position:absolute!important;top:.55rem!important;right:.75rem!important}.form-grid-mobile{flex-direction:column!important;gap:.75rem!important;display:flex!important}.form-grid-mobile>div{width:100%!important;min-width:0!important}div[style*="display: grid"][style*="1fr"]{flex-direction:column!important;gap:.75rem!important;display:flex!important}div[style*="display: flex"][style*=gap]>div[style*="flex: 1"]{flex:none!important;width:100%!important}input,select,textarea{width:100%!important;min-height:44px!important;font-size:14px!important}label{text-align:left!important;display:block!important}div[style*="display: grid"]>div{width:100%!important}.institutional-box{height:auto!important;min-height:44px!important;font-size:14px!important}.chatter-panel-mobile{width:100%!important;min-width:0!important;max-width:100%!important;margin-top:1rem!important}div[data-print-hide]{flex-shrink:1!important;width:100%!important;min-width:0!important;max-width:100%!important;max-height:none!important;position:static!important}.merpp-main-content>div>div>div{flex-wrap:wrap!important}.merpp-main-content div[style*="flex: 7"],.merpp-main-content div[style*=flex\:7]{flex:none!important;width:100%!important;min-width:0!important}.merpp-form-layout{flex-direction:column!important;gap:1rem!important}.merpp-form-main{flex:none!important;width:100%!important;min-width:0!important}div[style*="text-align: right"][style*=padding]{width:100%!important}textarea{width:100%!important;min-height:80px!important}}.mobile-line-item-cards{display:none}@media (max-width:768px){.mobile-line-item-cards{flex-direction:column;gap:.5rem;display:flex!important}.mobile-line-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.75rem;position:relative}.mobile-line-item-card .line-row{color:#1e293b;justify-content:space-between;align-items:center;margin-bottom:.25rem;font-size:.82rem;display:flex}.mobile-line-item-card .line-label{color:#94a3b8;font-size:.75rem;font-weight:600}.mobile-line-item-card .line-value{font-weight:600}.mobile-line-item-card .line-delete{color:#ef4444;cursor:pointer;background:#fef2f2;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;display:flex;position:absolute;top:.5rem;right:.5rem}div[style*="position: fixed"][style*=z-index],[class*=modal],[class*=dialog]{width:95vw!important;max-width:95vw!important;margin:0 auto!important}.modal-content-mobile{border-radius:16px!important;width:95vw!important;max-width:95vw!important;max-height:90vh!important;overflow-y:auto!important}.modal-content-mobile input,.modal-content-mobile select,.modal-content-mobile textarea{min-height:44px!important;font-size:14px!important}.modal-content-mobile button{min-height:44px!important}.dashboard-canvas{padding:.75rem!important;overflow-x:hidden!important}.fluid-grid{grid-template-columns:1fr!important;gap:1rem!important}.col-span-8,.col-span-4{grid-column:span 1/span 1!important}.kpi-grid{grid-template-columns:repeat(2,1fr)!important;gap:.75rem!important}.bottom-widgets{grid-template-columns:1fr!important}.dashboard-chart-container{height:200px!important;min-height:200px!important}.dashboard-illustration{display:none!important}div[style*="height: 460px"],div[style*=height\:460px],div[style*="minHeight: 460px"]{height:auto!important;min-height:auto!important;max-height:none!important}div[style*="borderRadius: 48"]{border-radius:18px!important}div[style*="padding: '1.5rem 3rem'"],div[style*="padding: '1.5rem 3rem 4rem'"]{padding:.75rem!important}}@media (max-width:375px){.kpi-grid{grid-template-columns:1fr!important}}@media (max-width:768px){.table-container{-webkit-overflow-scrolling:touch!important;border-radius:12px!important;overflow-x:auto!important}.table th,.table td{white-space:nowrap;min-width:100px}.report-table{min-width:600px}.pagination-mobile button{min-width:44px!important;min-height:44px!important;font-size:1rem!important}.tabs-mobile{scrollbar-width:none;-webkit-overflow-scrolling:touch!important;gap:0!important;display:flex!important;overflow-x:auto!important}.tabs-mobile::-webkit-scrollbar{display:none}.tabs-mobile button,.tabs-mobile a{white-space:nowrap!important;flex-shrink:0!important;min-height:44px!important;font-size:.82rem!important}}@media (max-width:1024px){button,.btn,[role=button]{min-height:44px}a{align-items:center;min-height:44px;display:inline-flex}p a,span a,.log-notes-panel a,.activity-feed a{min-height:auto;display:inline}input,select,textarea{min-height:44px}}@media (max-width:768px){body{font-size:14px!important}.text-xs,.badge,.card-title{font-size:.75rem!important}.form-label{font-size:.82rem!important}.global-title,h1{word-break:break-word;font-size:1.2rem!important}h2{font-size:1.05rem!important}h3{font-size:.95rem!important}.grid-2{grid-template-columns:1fr!important;gap:.75rem!important}.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)!important;gap:.75rem!important}.grid-4>a>.card,.grid-4>.card{text-align:center!important;flex-direction:column!important;align-items:center!important;min-height:auto!important;padding:1rem .5rem!important;display:flex!important}.grid-4>a>.card>div:nth-child(3){text-align:center!important;font-size:.85rem!important}.grid-4>a>.card>div:nth-child(4){display:none!important}.grid-4>a>.card>div:nth-child(2){width:40px!important;height:40px!important;margin-bottom:.5rem!important;font-size:1.25rem!important}}@media (max-width:1024px) and (min-width:769px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr)!important}}@media (max-width:768px){div[style*=grid-template-columns][style*="1fr"]:not(.invoice-lines-table *),div[style*="display: grid"][style*=grid-template-columns]:not(.invoice-lines-table *),div[style*=gridTemplateColumns]:not(.invoice-lines-table *){grid-template-columns:1fr!important}.invoice-lines-table>div:not(.invoice-lines-mobile-cards){display:none!important}.invoice-lines-mobile-cards{flex-direction:column!important;gap:.75rem!important;padding:0!important;display:flex!important}.invoice-line-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:.85rem!important;position:relative!important;box-shadow:0 1px 3px #0000000a!important}.invoice-line-card .ilc-field{flex-direction:column!important;gap:.2rem!important;margin-bottom:.6rem!important;display:flex!important}.invoice-line-card .ilc-field label{color:#64748b!important;text-transform:uppercase!important;letter-spacing:.04em!important;min-height:auto!important;font-size:.72rem!important;font-weight:700!important}.invoice-line-card .ilc-field input,.invoice-line-card .ilc-field select{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;width:100%!important;min-height:44px!important;padding:.4rem .6rem!important;font-size:14px!important}.invoice-line-card .ilc-row{grid-template-columns:1fr 1fr!important;gap:.6rem!important;display:grid!important}.invoice-line-card .ilc-footer{border-top:1px solid #f1f5f9!important;justify-content:space-between!important;align-items:center!important;margin-top:.3rem!important;padding-top:.5rem!important;display:flex!important}.invoice-line-card .ilc-total{color:#1e293b!important;font-size:.95rem!important;font-weight:700!important}.invoice-line-card .ilc-delete{color:#ef4444!important;cursor:pointer!important;background:#fef2f2!important;border:none!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;width:36px!important;height:36px!important;min-height:36px!important;font-size:1rem!important;display:flex!important}.accounting-kpi-grid{grid-template-columns:1fr!important;gap:.75rem!important}.chart-container{height:200px!important;min-height:200px!important}.accounting-widgets-grid{grid-template-columns:1fr!important;gap:.75rem!important}.global-search-mobile{width:100%!important;max-width:100%!important}.search-input-mobile{width:100%!important;min-height:44px!important;font-size:14px!important}.custom-dropdown-mobile{z-index:10001!important;border-radius:16px 16px 0 0!important;max-height:70vh!important;position:fixed!important;inset:auto 0 0!important;box-shadow:0 -4px 20px #00000026!important}.custom-dropdown-mobile .dropdown-option{min-height:44px!important;padding:.75rem 1rem!important;font-size:14px!important}.notification-toast{width:calc(100vw - 2rem)!important;max-width:none!important;left:1rem!important;right:1rem!important}.filter-bar-mobile{flex-wrap:wrap!important;gap:.5rem!important}.filter-bar-mobile>*{flex:calc(50% - .25rem)!important;min-width:0!important}.filter-bar-mobile button{min-height:44px!important}.report-filters-mobile{flex-direction:column!important;gap:.75rem!important;display:flex!important}.report-filters-mobile>div{width:100%!important}.report-summary-mobile{text-align:right!important;width:100%!important;padding:.75rem!important}.config-form-mobile{flex-direction:column!important;gap:.75rem!important;display:flex!important}.config-form-mobile input,.config-form-mobile select,.config-form-mobile textarea{width:100%!important;min-height:44px!important}.config-form-mobile button{width:100%!important;min-height:48px!important}}@media print{.merpp-mobile-header,.merpp-hamburger,.merpp-backdrop,.mobile-card-list,.mobile-line-item-cards{display:none!important}}@media (max-width:375px){.merpp-main-content{padding:56px .5rem .5rem!important}.mobile-record-card{padding:.65rem .75rem}.mobile-record-card .card-amount{font-size:.85rem}.global-title,h1{font-size:1.05rem!important}.card{padding:.85rem!important}}@supports (padding:env(safe-area-inset-top)){@media (max-width:1024px){.merpp-mobile-header{padding-top:env(safe-area-inset-top)!important;height:calc(56px + env(safe-area-inset-top))!important}.merpp-main-content{padding-top:calc(56px + env(safe-area-inset-top))!important;padding-bottom:env(safe-area-inset-bottom)!important}.merpp-sidebar.drawer-open{padding-top:env(safe-area-inset-top)!important}}}@keyframes slideDown{0%{opacity:0;max-height:0;transform:translateY(-8px)}to{opacity:1;max-height:500px;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
