:root{--theme-color:#1862c4;--theme-color-dark:#0f4a8f;--theme-color-rgba-15:rgba(24,98,196,.15);--theme-color-rgba-20:rgba(24,98,196,.2);--theme-color-rgba-30:rgba(24,98,196,.3);--theme-yellow:#fbbf24;--theme-yellow-dark:#d97706;--theme-blue:#1662c5;--accent-color:#059669;--accent-color-dark:#047857;--bg-surface:#fff;--bg-muted:#f9fafb;--bg-hover:#f1f5f9;--text-strong:#111827;--text-muted:#64748b;--border-neutral:#d0d5dd;--border-neutral-strong:#98a2b3;--focus-shadow:0 0 0 2px rgba(16,24,40,.06);--radius-sm:6px;--radius-md:8px;--shadow-sm:0 1px 2px rgba(16,24,40,.06);--shadow-md:0 8px 16px rgba(16,24,40,.08);--mobile-nav-base-height:66px;--mobile-nav-height:var(--mobile-nav-base-height);--primary-blue:#1662c5;--accent-green:#059669;--text-primary:#000;--border-primary:#1662c5;--border-light:#1662c5;--backend-border:var(--border-neutral);--backend-border-light:#e5e7eb;--background-white:#fff;--background-light:#f8fafc}.maintenance-history-table .next-service-overdue{color:#d32f2f!important;font-weight:700!important}.maintenance-history-table .next-service-upcoming{color:#2e7d32!important}@keyframes pulse{0%{opacity:.6}to{opacity:1}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Arial,sans-serif;font-size:14px;color:var(--text-strong);background-color:var(--bg-muted);line-height:1.3}.app-layout{display:block;width:100%;height:100vh}.sidebar{position:fixed;left:0;top:0;width:200px;height:100vh;background-color:#fff;border-right:2px solid var(--backend-border);padding:8px;overflow-x:hidden;z-index:1001}.sidebar h2{font-family:Arial,sans-serif;font-size:14px;font-weight:700;margin-bottom:8px;padding:4px;background-color:var(--theme-color);color:#fff;border:1px solid var(--backend-border);text-align:center}.nav-item-container{display:flex;align-items:center;margin-bottom:1px;position:relative}.nav-link{display:block;font-family:Arial,sans-serif;font-size:14px;text-decoration:none;background-color:#fff;border:1px solid #fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1;padding:3px 25px 3px 6px}.nav-link,.nav-link:visited{color:#000}.nav-link:hover{color:#fff!important}.nav-link.active,.nav-link:hover{background-color:var(--theme-color);border:1px solid var(--backend-border)}.nav-link.active{color:#fff;font-weight:700}.nav-link.active:visited{color:#fff}.pin-btn{position:absolute;right:2px;top:50%;transform:translateY(-50%);background:transparent;border:1px solid transparent;border-radius:2px;font-size:12px;cursor:pointer;padding:1px;opacity:0;transition:all .2s ease;width:18px;height:18px;display:flex;align-items:center;justify-content:center;z-index:10;line-height:1}.nav-item-container:hover .pin-btn{opacity:.6;background-color:#f5f5f5;border:1px solid #ccc;color:var(--theme-color)}.nav-item-container .pin-btn:hover{opacity:1!important;background-color:#f0f0f0!important;border:1px solid var(--backend-border)!important;color:var(--theme-color)!important;box-shadow:1px 1px 2px rgba(0,0,0,.3)!important}.nav-item-container:hover .nav-link{background-color:var(--theme-color);color:#fff!important;border:1px solid var(--backend-border)}.section-header{font-family:Arial,sans-serif;font-size:12px;font-weight:700;color:#666;text-transform:uppercase;padding:4px 6px 2px;margin-bottom:2px;border-bottom:1px solid #ccc}.section-divider{height:1px;background-color:#ccc;margin:8px 6px}.pinned-section{margin-bottom:4px}.main-content{margin-left:200px}.main-content,.main-content-no-sidebar{padding:10px;background-color:#fff;min-height:100vh}.main-content-no-sidebar{margin-left:0}.window{background-color:var(--bg-surface);border:1px solid var(--backend-border-light);border-radius:var(--radius-sm);padding:8px;margin-bottom:10px;box-shadow:var(--shadow-sm)}h1{font-family:Arial,sans-serif;font-size:16px;font-weight:700;color:#000;margin-bottom:8px;padding:4px;background-color:var(--theme-color);color:#fff}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding:16px;background-color:var(--bg-surface);border:1px solid var(--backend-border-light);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.page-header-content{flex:1 1}.page-header-content h1{background:none;color:var(--text-strong);border:none;padding:0;margin-bottom:8px;font-size:20px;font-weight:600}.page-description{color:#666;font-size:14px;line-height:1.4;margin:0}.page-header-stats{display:flex;gap:16px;flex-shrink:0}.stat-item{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:100px}.stat-label{font-size:12px;color:#666;font-weight:500;margin-bottom:4px}.stat-value{font-size:16px;font-weight:600;font-family:Courier New,monospace}.stat-value.income{color:#2e7d32}.stat-value.expense{color:#d32f2f}@media (max-width:768px){.page-header{flex-direction:column;gap:16px;padding:12px}.page-header-stats{width:100%;justify-content:space-around}.stat-item{min-width:80px}.stat-value{font-size:14px}}h2{margin:8px 0 6px}h2,h3{font-family:Arial,sans-serif;font-size:14px;font-weight:700;color:#000}h3{margin:6px 0 4px}p{font-family:Arial,sans-serif;font-size:14px;margin-bottom:4px;color:#000}.form-table{border-collapse:separate;border-spacing:0;cellpadding:3;cellspacing:0}label{font-family:Arial,sans-serif;font-size:14px;font-weight:700;color:#000;display:block}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],select,textarea{font-family:Arial,sans-serif;font-size:14px;border:1px solid var(--backend-border);padding:4px;background-color:var(--bg-surface);color:var(--text-strong);width:100%;border-radius:4px;box-shadow:none;background-clip:padding-box;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}input[type=date]:hover,input[type=email]:hover,input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=tel]:hover,input[type=text]:hover,select:hover,textarea:hover{border-color:var(--border-neutral-strong)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill{-webkit-text-fill-color:#000!important;-webkit-transition:background-color 9999s ease-in-out 0s;transition:background-color 9999s ease-in-out 0s;box-shadow:inset 0 0 0 1000px #fff!important}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--theme-color);box-shadow:var(--focus-shadow)}input::placeholder,textarea::placeholder{color:#9ca3af}button:disabled,input:disabled,select:disabled,textarea:disabled{opacity:.6;cursor:not-allowed}textarea{font-family:Courier New,monospace;height:60px;resize:none}button,input[type=submit]{font-family:Arial,sans-serif;font-size:14px;background-color:var(--bg-muted);border:1px solid var(--backend-border);padding:4px 12px;cursor:pointer;margin:2px;color:var(--text-strong);white-space:nowrap;flex-shrink:0}button[style*="#cc0000"],button[style*="#ccccff"],button[style*="#ccffcc"],button[style*="#ffcccc"]{background-color:var(--bg-muted)!important;color:var(--text-strong)!important;border:1px solid var(--backend-border)!important}button[style*="#ffcccc"],button[style*="background-color: #cc0000"],button[style*="background-color:#cc0000"]{background-color:#ffe4e6!important;color:#b91c1c!important;border:1px solid #fca5a5!important}[style*="border: 1px solid black"],[style*="border: 2px solid black"],[style*="border:1px solid black"],[style*="border:2px solid black"]{border-color:var(--backend-border)!important}table[style*="border: 2px solid black"],table[style*="border:2px solid black"],td[style*="border: 1px solid black"],th[style*="border: 1px solid black"]{border-color:var(--backend-border-light)!important}.tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--backend-border-light);gap:6px}.tab-btn{background:transparent;padding:8px 12px;color:var(--text-strong);cursor:pointer;border:none;border-bottom:2px solid transparent;border-radius:var(--radius-sm) var(--radius-sm) 0 0}.tab-btn.active{border-bottom-color:var(--theme-color);background-color:var(--bg-muted);font-weight:700}button:hover,input[type=submit]:hover{background-color:#eef2f7;border-color:var(--border-neutral-strong)}button:active,input[type=submit]:active{background-color:#e6ebf1}.save-button{font-size:14px!important;padding:4px 8px!important;line-height:1!important;box-sizing:border-box!important}.icon-button{background-color:var(--bg-muted);border:1px solid var(--backend-border);padding:2px 4px;margin:0 2px;cursor:pointer;font-size:14px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;color:var(--text-strong);text-decoration:none}.icon-button:hover{background-color:#eef2f7;border-color:var(--border-neutral-strong)}.icon-button:active{background-color:#e6ebf1}.icon-button:visited{color:#000}.icon-view:before{content:"👁";font-size:10px}.icon-edit:before{content:"📝";font-size:10px}.icon-delete:before{content:"❌";font-size:10px}.btn-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px 16px!important;font-size:14px!important;font-weight:500!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;margin:2px!important;background-color:var(--theme-color)!important;color:#fff!important;border:1px solid var(--theme-color)!important;border-radius:6px!important;cursor:pointer!important;text-decoration:none!important;transition:all .15s ease-in-out!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;line-height:1.5!important;box-sizing:border-box!important}.btn-primary:hover{background-color:var(--theme-color-dark)!important;border-color:var(--theme-color-dark)!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(0,0,0,.1)!important}.btn-primary:active{transform:translateY(0)!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}.btn-primary:disabled{opacity:.65!important;cursor:not-allowed!important;transform:none!important}.btn-danger-solid{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px 16px!important;font-size:14px!important;font-weight:500!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;margin:2px!important;background-color:#dc3545!important;color:#fff!important;border:1px solid #dc3545!important;border-radius:6px!important;cursor:pointer!important;text-decoration:none!important;transition:all .15s ease-in-out!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;line-height:1.5!important;box-sizing:border-box!important}.btn-danger-solid:hover{background-color:#c82333!important;border-color:#c82333!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(0,0,0,.1)!important}.btn-danger-solid:active{transform:translateY(0)!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}.btn-danger-solid:disabled{opacity:.65!important;cursor:not-allowed!important;transform:none!important}.action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:2px!important;font-size:14px!important;font-weight:500!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;margin:2px!important;color:var(--text-strong)!important;background-color:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;cursor:pointer!important;text-decoration:none!important;white-space:nowrap!important;transition:all .15s ease-in-out!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:32px!important;max-height:32px!important;line-height:1!important;box-sizing:border-box!important}.action-btn:hover{background-color:#f8f9fa!important;border-color:var(--border-neutral-strong)!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(0,0,0,.1)!important}.action-btn:active{transform:translateY(0)!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}.action-btn:visited{color:#000!important}.btn-secondary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px 16px!important;font-size:14px!important;font-weight:500!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;margin:2px!important;color:var(--text-strong)!important;background-color:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;cursor:pointer!important;text-decoration:none!important;transition:all .15s ease-in-out!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;line-height:1.5!important;box-sizing:border-box!important}.btn-secondary:hover{background-color:#f8f9fa!important;border-color:var(--border-neutral-strong)!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(0,0,0,.1)!important}.btn-secondary:active{transform:translateY(0)!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}.btn-secondary:disabled{opacity:.65!important;cursor:not-allowed!important;transform:none!important}.btn-danger{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:4px!important;font-size:14px!important;font-family:Arial,sans-serif!important;margin:2px!important;color:var(--text-strong)!important;background-color:var(--bg-muted)!important;border:1px solid var(--backend-border)!important;cursor:pointer!important;text-decoration:none!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;line-height:1!important;box-sizing:border-box!important}.btn-danger:hover{background-color:#eef2f7!important;border-color:var(--border-neutral-strong)!important}.btn-danger:active{background-color:#e6ebf1!important}.action-btn svg,.btn-convert svg,.btn-danger svg,.btn-secondary svg,a.btn-secondary svg,button.btn-convert svg,button.btn-danger svg,button.btn-secondary svg{width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;max-width:12px!important;max-height:12px!important}table td .btn-danger,table td .btn-secondary{vertical-align:top!important;height:22px!important;min-height:22px!important;max-height:22px!important;width:22px!important;min-width:22px!important}.compact-search-btn{padding:6px 12px!important;font-size:14px!important;line-height:1.2!important;gap:6px!important}.btn-convert{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:4px 6px!important;font-size:14px!important;font-family:Arial,sans-serif!important;margin:2px!important;color:#fff!important;background-color:var(--theme-color)!important;border:1px solid var(--theme-color)!important;cursor:pointer!important;text-decoration:none!important;min-width:auto!important;max-width:none!important;width:auto!important;line-height:1!important;box-sizing:border-box!important;vertical-align:top!important}.btn-convert:hover{background-color:var(--theme-color-dark)!important;border-color:var(--theme-color-dark)!important}.btn-convert:active{filter:brightness(.98)!important}table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--backend-border-light);background-color:var(--bg-surface);margin-bottom:8px;font-size:14px}th{font-weight:700;background-color:#f9fafb;padding:3px 6px;text-align:left;color:var(--text-strong)}table:not(.form-table) td,th{font-family:Arial,sans-serif;font-size:14px;border:1px solid var(--backend-border-light)}table:not(.form-table) td{padding:1px 2px;background-color:#fff;color:#000}.form-table td{vertical-align:top}.form-table,.form-table tbody,.form-table td,.form-table tr{border:none!important}table[cellPadding="3"]:not(.form-table) tr:hover td{background-color:#f0f0f0}.status{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:11px;font-weight:600;padding:4px 8px;border:1px solid var(--border-neutral);border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.5px;display:inline-block;line-height:1}.status-draft{background-color:var(--bg-muted);color:var(--text-strong);border-color:var(--border-neutral)}.status-sent{background-color:#e3f2fd;color:#1976d2;border-color:#bbdefb}.status-approved{background-color:#e8f5e8;color:#2e7d32;border-color:#c8e6c9}.status-rejected{background-color:#ffebee;color:#d32f2f;border-color:#ffcdd2}.status-paid{background-color:#e8f5e8;color:#2e7d32;border-color:#c8e6c9}.status-overdue{background-color:#ffebee;color:#d32f2f;border-color:#ffcdd2}.status-canceled{background-color:var(--bg-muted);color:#666;border-color:var(--border-neutral)}.status-resent_via_billandnote,.status-sent_via_billandnote{background-color:#e3f2fd;color:#1976d2;border-color:#bbdefb}a{color:navy;text-decoration:underline;font-size:14px}a:hover{color:#00f}a:visited{color:purple}.text-center{text-align:center}.text-right{text-align:right}.mb-8{margin-bottom:8px}.mb-20{margin-bottom:20px}.mt-8{margin-top:8px}.float-right{float:right}.clear{clear:both}hr{border:none;border-top:1px solid var(--backend-border-light);margin:10px 0}.info-box{background-color:var(--bg-surface);border:1px solid var(--backend-border-light);padding:8px;margin:6px 0;font-size:14px;border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.quick-btn{font-family:Arial,sans-serif;font-size:14px;background-color:var(--bg-muted);border:1px solid var(--backend-border);padding:4px 8px;margin:1px;cursor:pointer;color:var(--text-strong)}.quick-btn:hover{background-color:#eef2f7;border-color:var(--border-neutral-strong)}.quick-btn.selected{background-color:var(--theme-color);color:#fff}.document-sections-content{display:flex;align-items:center}.document-sections-label{flex-shrink:0;margin-right:20px}.document-sections-checkboxes{display:flex;gap:32px;align-items:center;flex-wrap:wrap;flex:1 1}.document-section-checkbox-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;white-space:nowrap;width:auto;min-width:-moz-fit-content;min-width:fit-content;cursor:pointer;line-height:1.2;vertical-align:middle}.document-section-checkbox,input[type=checkbox].document-section-checkbox{width:16px;height:16px;cursor:pointer;-webkit-appearance:checkbox;-moz-appearance:checkbox;appearance:checkbox;margin:0;padding:0;background:#fff;border:2px solid #ccc;border-radius:2px;box-sizing:border-box;vertical-align:middle;align-self:center;flex-shrink:0}.document-section-checkbox:checked,input[type=checkbox].document-section-checkbox:checked{background-color:var(--theme-color);border-color:var(--theme-color)}@media screen and (min-width:769px){.desktop-layout{display:block!important}.mobile-layout{display:none!important}}@media screen and (max-width:768px){.expenses-controls{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}.expenses-filters,.expenses-search-add{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}.expenses-filter-select{width:48%!important;min-width:150px!important;flex:1 1 160px!important}.expenses-search-input{width:100%!important;max-width:none!important;min-width:0!important}.expenses-export{flex:1 1 100%!important;order:-1}.expenses-export-dropdown{position:fixed!important;left:8px!important;right:8px!important;top:120px!important;max-width:none!important}.expense-modal .category-control select,.expense-modal .vendor-control select,.expense-modal input[type=date],.expense-modal input[type=number],.expense-modal input[type=text],.expense-modal select,.expense-modal textarea{width:100%!important;max-width:100%!important}.expense-modal .amount-control,.expense-modal .amount-type-toggle,.expense-modal .category-control,.expense-modal .reimburse-toggle,.expense-modal .reimbursed-toggle,.expense-modal .vendor-control{flex-wrap:wrap!important}.modal-body [data-customer-search]>div[style*="position: absolute"]{max-height:200px!important;overflow-y:auto!important}.expense-modal .customer-dropdown{max-height:150px!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}.expense-modal .customer-option{min-height:44px!important;display:flex!important;align-items:center!important;padding:12px!important;font-size:16px!important;touch-action:manipulation!important;-webkit-tap-highlight-color:rgba(0,0,0,.1)!important}.app-layout{display:flex;flex-direction:column}.desktop-sidebar,.sidebar{display:none!important}.sidebar h2{margin:0 12px 0 0;flex-shrink:0}.nav-item-container{display:inline-flex;align-items:center;margin:0;position:relative;flex-shrink:0}.nav-link{display:inline-block;margin:0;padding:6px 12px;white-space:nowrap;flex-shrink:0}.nav-link:visited{color:#000}.nav-link:hover{color:#fff!important}.nav-link.active,.nav-link:hover{background-color:var(--theme-color);border:1px solid var(--backend-border)}.nav-link.active{color:#fff;font-weight:700}.nav-link.active:visited{color:#fff}.section-divider,.section-header{display:none}.main-content{margin-left:0!important;margin-top:0!important;padding:8px;padding-top:var(--mobile-nav-height,66px)!important;box-sizing:border-box}body{margin:0!important;padding:0!important}.mobile-top-nav-content{min-height:50px;padding:8px 12px;box-sizing:border-box}.search-container{display:flex;flex-direction:row;align-items:stretch;gap:6px}.search-input{flex:1 1;min-width:0;max-width:none;height:40px;box-sizing:border-box;padding:8px 10px}.search-container .btn-primary{height:40px;box-sizing:border-box;white-space:nowrap;flex-shrink:0;padding:6px 10px;font-size:11px}table{border:none;background:none;margin:0}table thead{display:none}table tbody,table tr{display:block}table tr{background-color:#fff;border:1px solid var(--backend-border-light);margin-bottom:8px;padding:8px 10px;border-radius:6px}table td{display:block;border:none;padding:8px 0;background:none;font-size:13px;position:relative}table td:before{content:attr(data-label);left:0;top:2px;font-weight:700;width:90px;white-space:nowrap;font-size:11px;color:#666;display:block;margin-bottom:4px}table td:last-child{padding-left:0;padding-top:8px;border-top:1px solid #ccc;margin-top:4px}table td:last-child:before{display:none}.window table{border:none;background:none;margin:0}.window table thead,.window table thead th,.window table thead tr{display:none!important}.window table tbody{display:block}.window table tr{display:block!important;background-color:#fff!important;border:2px solid var(--backend-border)!important;margin-bottom:12px!important;padding:12px!important;border-radius:4px!important}.window table td{display:block!important;border:none!important;padding:4px 0!important;background:none!important;font-size:14px!important;position:relative!important;line-height:1.4!important;text-align:right!important}.window table td:before{content:attr(data-label)!important;left:8px!important;top:4px!important;font-weight:700!important;width:110px!important;white-space:nowrap!important;font-size:12px!important;color:#666!important;text-align:left!important;display:block!important;margin-bottom:4px!important}.window table td:last-child:before{display:none!important}.window table td[data-label]{display:block!important;position:relative!important;padding-top:4px!important;padding-bottom:4px!important;text-align:right!important}.window table td:last-child{padding-left:0!important;padding-top:8px!important;border-top:1px solid #e0e0e0!important;margin-top:6px!important}.window table td:first-child[data-label]{display:block!important;position:relative!important;padding-top:4px!important;padding-bottom:4px!important;text-align:right!important}.window table td:first-child[data-label]:before{content:attr(data-label)!important;left:8px!important;top:4px!important;font-weight:700!important;width:110px!important;white-space:nowrap!important;font-size:12px!important;color:#666!important;text-align:left!important;display:block!important;margin-bottom:4px!important}.window table td:last-child{padding-left:0;padding-top:8px;border-top:1px solid #e0e0e0;margin-top:6px;text-align:center}.window table td:last-child:before{display:none}.window .mb-20{margin-bottom:16px}.window .mb-20 h3{font-size:16px;margin-bottom:8px;color:var(--theme-color)}.window .mb-20>div[style*="display: grid"]{display:grid!important;grid-template-columns:1fr!important;grid-gap:8px!important;gap:8px!important;margin-bottom:12px!important}.window .mb-20 .info-box{text-align:center!important;padding:12px!important;border:1px solid var(--backend-border-light)!important;background-color:#fff!important}.window .mb-20 .info-box h4{margin:0 0 6px!important;font-size:14px!important}.window .mb-20 .info-box>div{font-size:20px!important;font-weight:700!important}.window .mb-20>div[style*=gridTemplateColumns]{display:grid!important;grid-template-columns:1fr!important;grid-gap:8px!important;gap:8px!important;margin-bottom:12px!important}.window table .action-btn{background-color:#f0f0f0!important;border:2px outset silver!important;padding:4px!important;margin:2px!important;cursor:pointer!important;font-size:12px!important;font-family:Arial,sans-serif!important;color:#000!important;text-decoration:none!important;white-space:nowrap!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;line-height:1!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:top!important}.window table .action-btn:hover{background-color:#e8e8e8!important;border:2px outset #a0a0a0!important}.window table .action-btn:active{border:2px inset silver!important;background-color:#d0d0d0!important}.window table .action-btn svg{width:14px!important;height:14px!important}.window table td:last-child{text-align:center!important;padding:8px 0!important}.window table td:last-child .action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:2px!important;background-color:#f0f0f0!important;border:2px outset silver!important;padding:4px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;font-size:12px!important;font-family:Arial,sans-serif!important;color:#000!important;text-decoration:none!important;white-space:nowrap!important;line-height:1!important;box-sizing:border-box!important;vertical-align:top!important}.window table td:last-child .action-btn:hover{background-color:#e8e8e8!important;border:2px outset #a0a0a0!important}.window table td:last-child .action-btn:active{border:2px inset silver!important;background-color:#d0d0d0!important}.window table td:last-child .action-btn svg{width:14px!important;height:14px!important}.window table td:last-child:not([data-label]){padding-left:0!important;padding-top:8px!important;border-top:1px solid #e0e0e0!important;margin-top:6px!important;text-align:center!important}.window table td:last-child:not([data-label]):before{display:none!important}.window table .status{font-size:11px!important;padding:3px 6px!important;border-radius:2px!important}.window table a{color:var(--theme-color)!important;text-decoration:underline!important;word-break:break-word!important}.window table td[style*="text-align: right"]{text-align:right!important;font-weight:700!important}.window table td[data-label="Description:"]{word-break:break-word!important;line-height:1.3!important}.window table td[data-label*="Date:"]{font-weight:700!important;color:#333!important}.window table td[data-label="Team Member:"]{padding-bottom:8px!important}.window table td[data-label="Team Member:"]>div{font-size:10px!important;color:#666!important;margin-top:2px!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table){border:none!important;background:none!important;margin:0!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) thead{display:none!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) tbody{display:block!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) tr{display:block!important;background-color:#fff!important;border:1px solid #ccc!important;margin-bottom:12px!important;padding:12px!important;border-radius:4px!important;box-shadow:0 2px 4px rgba(0,0,0,.1)!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) td{display:block!important;border:none!important;padding:6px 0!important;background:none!important;font-size:14px!important;position:relative!important;line-height:1.4!important;text-align:right!important;min-height:20px!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) td[data-label]:before{content:attr(data-label)!important;left:0!important;top:6px!important;font-weight:700!important;width:110px!important;white-space:nowrap!important;font-size:12px!important;color:#666!important;text-align:left!important;display:block!important;margin-bottom:4px!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) td:last-child{padding-left:0!important;text-align:center!important;border-top:1px solid #e0e0e0!important;margin-top:8px!important;padding-top:12px!important}.window .mb-20 table[cellPadding="3"]:not(.job-info-table) td:last-child:before{display:none!important}.window .job-info-container{width:100%!important;margin-bottom:20px!important;padding:0!important}.window .job-info-table{width:100%!important;border-collapse:collapse!important;background:#fff!important;border:1px solid #ccc!important;margin:0!important;display:table!important}.window .job-info-table tbody{display:table-row-group!important}.window .job-info-table tr{border-bottom:1px solid #ccc!important;display:table-row!important;background:none!important;padding:0!important;margin:0!important}.window .job-info-table tr:last-child{border-bottom:none!important}.window .job-info-table td{padding:6px 12px!important;vertical-align:middle!important;border:none!important;line-height:1.3!important;display:table-cell!important;background:none!important;position:static!important}.window .job-info-table td:first-child{font-weight:700!important;color:#666!important;width:120px!important;white-space:nowrap!important;text-align:left!important}.window .job-info-table td:last-child{color:#333!important;width:auto!important;text-align:left!important}.window .job-info-table td:before{display:none!important}.window .mb-20 a[href="/jobs"]{display:inline-block!important;padding:4px 8px!important;background-color:#f0f0f0!important;color:#000!important;text-decoration:none!important;border:2px outset silver!important;margin-bottom:12px!important;font-weight:700!important;font-size:12px!important;font-family:Arial,sans-serif!important;cursor:pointer!important}.window .mb-20 a[href="/jobs"]:hover{background-color:#e8e8e8!important}.window .mb-20 a[href="/jobs"]:active{border:2px inset silver!important;background-color:#d0d0d0!important}.window .mb-20 div[style*="float: right"]{float:none!important;text-align:right!important;margin-bottom:12px!important}.window .mb-20 div[style*="display: flex"] .action-btn{background-color:#f0f0f0!important;border:2px outset silver!important;padding:4px!important;margin:2px!important;cursor:pointer!important;font-size:12px!important;font-family:Arial,sans-serif!important;color:#000!important;text-decoration:none!important;white-space:nowrap!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;line-height:1!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:top!important}.window .mb-20 div[style*="display: flex"] .action-btn:hover{background-color:#e8e8e8!important;border:2px outset #a0a0a0!important}.window .mb-20 div[style*="display: flex"] .action-btn:active{border:2px inset silver!important;background-color:#d0d0d0!important}.window .mb-20 div[style*="display: flex"] .action-btn svg{width:14px!important;height:14px!important}.window .mb-20 div[style*="display: flex"] .action-btn:first-child svg{stroke:red!important}.window .mb-20 .info-box p{text-align:center!important;padding:20px!important;color:#666!important;font-style:italic!important}.window .mb-20 .info-box p a{color:var(--theme-color)!important;text-decoration:underline!important;font-weight:700!important}.window table td[data-label="Attachment:"] span{font-size:12px!important;color:#666!important;display:inline-block!important;padding:2px 6px!important;background-color:#f0f0f0!important;border-radius:2px!important}.window table td[data-label="Category:"],.window table td[data-label="Type:"]{font-weight:700!important;color:#333!important}.window table td[data-label="Type:"]{text-transform:uppercase!important;font-size:12px!important}.window table td[data-label="Date:"]:before,.window table td[data-label="Document #:"]:before{left:0!important;top:4px!important;width:110px!important;text-align:left!important}.window table td[data-label]:before{left:8px!important;top:4px!important;font-weight:700!important;width:110px!important;white-space:nowrap!important;font-size:12px!important;color:#666!important;text-align:left!important;display:block!important;margin-bottom:4px!important}.window table tr{position:relative!important}.window{padding:12px!important;margin:8px!important}.window h1{font-size:18px!important;margin-bottom:12px!important;text-align:center!important}.window h3{font-size:16px!important;margin:16px 0 8px!important;color:var(--theme-color)!important;padding-bottom:4px!important}.window h4{font-size:14px!important;margin:12px 0 6px!important;color:#333!important;font-weight:700!important}.window div[style*="gridTemplateColumns: repeat(auto-fit, minmax(200px, 1fr))"]{display:grid!important;grid-template-columns:1fr!important;grid-gap:8px!important;gap:8px!important;margin-bottom:12px!important}.window .info-box{border:1px solid var(--backend-border-light)!important;border-radius:4px!important;padding:12px!important;margin-bottom:8px!important;background-color:#fff!important}.window .mb-20{margin-bottom:20px!important}.window .clear{clear:both!important;height:0!important;margin:0!important;padding:0!important}.window a[href^="mailto:"],.window a[href^="tel:"]{color:var(--theme-color)!important;text-decoration:underline!important;font-weight:700!important}.window td[style*="color: #2e7d32"],.window td[style*="color: #d32f2f"]{font-weight:700!important;font-size:14px!important}.window td[data-label="Cost:"],.window td[data-label="Hours:"],.window td[data-label="Rate:"]{font-family:Courier New,monospace!important;font-weight:700!important}.window td[data-label="Total Cost:"],.window td[data-label="Total Hours:"]{font-family:Courier New,monospace!important;font-weight:700!important;font-size:16px!important}.invoice-items-table tr{margin-bottom:6px;padding:6px 8px}.invoice-items-table td input{width:100%;margin:1px 0;padding:6px 8px;font-size:14px}.invoice-items-table td:last-child{text-align:center;padding-top:6px}input[type=date],input[type=email],input[type=number],input[type=tel],input[type=text],select,textarea{padding:8px;font-size:16px;min-height:36px}button,input[type=submit]{padding:8px 16px;font-size:14px}.icon-button{min-width:44px;padding:4px;margin:2px}.icon-button:before{font-size:14px}.form-table{display:block}@media screen and (max-width:768px){.form-table td,.form-table tr{display:block;width:100%}.form-table td{padding:4px 0}}label{width:100%;margin-bottom:4px}body,html{-webkit-text-size-adjust:100%}.main-content,body,html{overflow-x:hidden!important}.main-content{max-width:100%!important;padding-bottom:16px!important}canvas,iframe,img,video{max-width:100%!important;height:auto!important}.info-box,.page-header,.search-container,.window,table td{overflow-wrap:anywhere!important;word-break:break-word!important}code,kbd,pre,samp{white-space:pre-wrap!important;word-break:break-word!important}.desktop-layout{display:none!important}.mobile-layout{display:block!important}}@media screen and (min-width:769px){.jobs-modal-table{display:block!important}.jobs-modal-cards{display:none!important}.jobs-modal-container{width:90%!important;max-width:1000px!important;min-height:300px!important;max-height:80vh!important;height:auto!important;margin:10vh auto!important}.jobs-modal-content{padding:20px!important;flex:1 1!important;overflow-y:auto!important;min-height:0!important}.job-header-desktop-actions{display:flex!important}.job-header-mobile-menu{display:none!important}.budget-summary-desktop-actions{display:flex!important}.budget-summary-mobile-menu{display:none!important}}@media screen and (max-width:768px){.dashboard-card{background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;padding:10px!important;margin-bottom:8px!important;border-radius:6px!important;transition:all .2s ease!important}.dashboard-card:hover{box-shadow:0 2px 4px rgba(0,0,0,.1)!important;transform:translateY(-1px)!important}.customers-desktop-table{display:none!important}.customers-mobile-cards{display:block!important}.invoices-desktop-layout{display:none!important}.invoices-mobile-layout{display:block!important}.expenses-desktop-layout{display:none!important}.expenses-mobile-layout{display:block!important}.time-tracker-desktop{display:none!important}.time-tracker-mobile{display:block!important}.page-container{padding:12px!important;max-width:100%!important;overflow-x:hidden!important}.page-header{padding:12px 16px!important;font-size:20px!important;margin-bottom:16px!important}.expenses-page-container,.invoices-page-container,.job-detail-page-container,.jobs-page-container,.vehicles-tools-page-container{padding:4px!important}.expenses-page-container .window,.invoices-page-container .window,.job-detail-page-container .window,.jobs-page-container .window,.vehicles-tools-page-container .window{padding:12px!important;margin-bottom:12px!important}.jobs-page-container .customers-mobile-cards{margin:0!important}.jobs-page-container .customers-mobile-cards>div{margin-bottom:8px!important;padding:12px!important}.jobs-modal-container{width:95%!important;max-width:none!important;min-height:200px!important;max-height:85vh!important;height:auto!important;margin:7.5vh auto!important}.jobs-modal-header{padding:12px 16px!important;flex-wrap:wrap!important;gap:8px!important}.jobs-modal-header h3{font-size:16px!important;line-height:1.3!important}.jobs-modal-content{padding:12px!important;flex:1 1!important;overflow-y:auto!important;min-height:0!important}.jobs-modal-table{display:none!important}.jobs-modal-cards{display:block!important}.jobs-modal-card{background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-md)!important;padding:12px!important;margin-bottom:8px!important;box-shadow:var(--shadow-sm)!important}.jobs-modal-card-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:8px!important}.jobs-modal-card-title{font-size:16px!important;font-weight:600!important;color:var(--text-strong)!important;margin:0!important}.jobs-modal-card-actions{display:flex!important;gap:4px!important}.jobs-modal-card-details{display:grid!important;grid-template-columns:1fr!important;grid-gap:6px!important;gap:6px!important;font-size:13px!important}.jobs-modal-card-detail{display:flex!important;justify-content:space-between!important;align-items:center!important}.jobs-modal-card-label{color:var(--text-muted)!important;font-weight:500!important}.jobs-modal-card-value{color:var(--text-strong)!important;text-align:right!important;max-width:60%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.jobs-modal-container:has([style*="No jobs for this customer"]){min-height:250px!important}.modal-body .form-table,.modal-body .form-table tbody,.modal-body .form-table td,.modal-body .form-table tr{display:block!important;width:100%!important;padding:0!important;margin:0!important;border:none!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;white-space:normal!important}.modal-body .form-table tr{margin-bottom:20px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}.modal-body .form-table td{display:block!important;width:100%!important;float:none!important}.modal-body .form-table td:first-child{order:1!important;margin-bottom:8px!important;margin-right:0!important}.modal-body .form-table td:last-child{order:2!important;margin-top:0!important}.modal-body .form-table label{display:block!important;font-weight:600!important;font-size:15px!important;margin-bottom:6px!important}.modal-body .form-table input,.modal-body .form-table label,.modal-body .form-table select,.modal-body .form-table textarea{color:var(--text-strong)!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.modal-body .form-table input,.modal-body .form-table select,.modal-body .form-table textarea{width:100%!important;padding:14px 12px!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-sm)!important;font-size:16px!important;background:var(--bg-surface)!important;box-sizing:border-box!important;margin:0!important}.modal-body .form-table input:focus,.modal-body .form-table select:focus,.modal-body .form-table textarea:focus{border-color:var(--theme-color)!important;outline:none!important;box-shadow:0 0 0 2px rgba(22,98,197,.2)!important}.modal-body .form-table textarea{resize:vertical!important;min-height:90px!important}.modal-body .form-table tr:has(td[colspan="2"]){margin-bottom:12px!important;margin-top:24px!important}.modal-body .form-table td[colspan="2"]{background:var(--bg-muted)!important;border-radius:var(--radius-sm)!important;padding:14px 16px!important;margin:0!important;border:1px solid var(--border-neutral)!important;border-left:4px solid var(--theme-color)!important;font-weight:600!important;font-size:16px!important;color:var(--text-strong)!important;order:1!important;width:100%!important}.modal-body .form-table td[colspan="2"] div{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:flex-start!important}.modal-body .form-table td[colspan="2"] span{font-size:16px!important;font-weight:600!important;color:var(--text-strong)!important}.modal-body .form-table td[colspan="2"] label{font-size:13px!important;font-weight:400!important;margin:0!important;color:var(--text-muted)!important;display:flex!important;align-items:center!important;gap:6px!important}.modal-body .form-table td[colspan="2"] input[type=checkbox]{width:auto!important;margin:0!important;transform:scale(1.2)!important}.modal-body .form-table tr:last-child{margin-top:24px!important;padding-top:20px!important;border-top:1px solid var(--border-neutral)!important;flex-direction:row!important;justify-content:flex-end!important;gap:12px!important}.modal-body .form-table tr:last-child td[colspan]{display:flex!important;flex-direction:row!important;justify-content:flex-end!important;gap:12px!important;padding:0!important;margin:0!important;background:none!important;border:none!important;border-radius:0!important;text-align:left!important;order:1!important}.modal-body .form-table button{padding:14px 24px!important;font-size:16px!important;border-radius:var(--radius-sm)!important;font-weight:500!important;min-height:48px!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;flex:0 0 auto!important;margin:0!important}.modal-content{max-height:90vh!important;height:auto!important;margin:5vh auto!important}.modal-header{flex-wrap:wrap!important}.modal-header h2{line-height:1.3!important}.modal-body{flex:1 1!important;min-height:0!important}.modal-body button{min-height:44px!important;padding:12px 16px!important;font-size:16px!important;touch-action:manipulation!important}.job-header-desktop-actions{display:none!important}.job-header-mobile-menu{display:block!important;position:relative!important}.job-header-mobile-menu-button{display:flex!important;align-items:center!important;gap:6px!important;padding:10px 14px!important;border:1px solid hsla(0,0%,100%,.3)!important;border-radius:6px!important;background:hsla(0,0%,100%,.1)!important;color:#fff!important;font-size:14px!important;font-weight:500!important;cursor:pointer!important;transition:all .15s ease!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;min-height:44px!important}.job-header-mobile-menu-dropdown{position:absolute!important;top:100%!important;right:0!important;margin-top:8px!important;background:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-md)!important;box-shadow:0 4px 12px rgba(0,0,0,.15)!important;min-width:200px!important;z-index:1000!important;overflow:hidden!important}.job-header-mobile-menu-item{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;background:#fff!important;border:none!important;width:100%!important;text-align:left!important;font-size:15px!important;font-weight:500!important;color:var(--text-strong)!important;cursor:pointer!important;transition:background-color .15s ease!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;border-bottom:1px solid var(--border-neutral)!important}.job-header-mobile-menu-item:last-child{border-bottom:none!important}.job-header-mobile-menu-item:hover{background:var(--bg-hover)!important}.job-header-mobile-menu-item:active{background:var(--bg-muted)!important}.job-header-mobile-menu-item svg{flex-shrink:0!important;width:16px!important;height:16px!important;color:var(--text-muted)!important}.budget-summary-desktop-actions{display:none!important}.budget-summary-mobile-menu{display:block!important;position:relative!important}.budget-summary-mobile-menu-button{display:flex!important;align-items:center!important;gap:6px!important;padding:8px 12px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;background:var(--bg-surface)!important;color:var(--text-strong)!important;font-size:12px!important;font-weight:500!important;cursor:pointer!important;transition:all .15s ease!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;min-height:32px!important}.budget-summary-mobile-menu-dropdown{position:absolute!important;top:100%!important;right:0!important;margin-top:8px!important;background:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-md)!important;box-shadow:0 4px 12px rgba(0,0,0,.15)!important;min-width:240px!important;z-index:1000!important;overflow:hidden!important}.budget-summary-mobile-menu-item{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 16px!important;background:#fff!important;border:none!important;width:100%!important;text-align:left!important;font-size:13px!important;font-weight:500!important;color:var(--text-strong)!important;cursor:pointer!important;transition:background-color .15s ease!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;border-bottom:1px solid var(--border-neutral)!important}.budget-summary-mobile-menu-item:last-child{border-bottom:none!important}.budget-summary-mobile-menu-item:hover{background:var(--bg-hover)!important}.budget-summary-mobile-menu-item:active{background:var(--bg-muted)!important}.budget-summary-mobile-toggle{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 16px!important;background:#fff!important;border:none!important;width:100%!important;font-size:13px!important;font-weight:500!important;color:var(--text-strong)!important;border-bottom:1px solid var(--border-neutral)!important}.budget-summary-mobile-toggle-switch{position:relative!important;display:inline-block!important;width:36px!important;height:20px!important;margin-left:8px!important}.filters-container{flex-direction:column!important;margin-bottom:16px!important}.filters-container,.filters-row{display:flex!important;gap:8px!important}.filters-row{flex-wrap:wrap!important}.filter-input,.filter-select{flex:1 1!important;min-width:120px!important;padding:8px 10px!important;font-size:14px!important;border-radius:6px!important}.mobile-action-buttons{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:16px!important}.mobile-action-btn{padding:8px 12px!important;font-size:14px!important;border-radius:6px!important;flex:1 1!important;min-width:120px!important;text-align:center!important}.time-tracker-filters{display:flex!important;flex-direction:column!important;gap:8px!important;margin-bottom:16px!important}.time-tracker-filter-row{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.settings-desktop-layout{display:none!important}.settings-mobile-layout{display:block!important}.settings-section{margin-bottom:16px!important;padding:12px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;background:var(--bg-surface)!important}.settings-section h3{font-size:16px!important;margin-bottom:8px!important}.account-desktop-layout{display:none!important}.account-mobile-layout{display:block!important}.documents-desktop-layout{display:none!important}.documents-mobile-layout{display:block!important}.notes-desktop-layout{display:none!important}.notes-mobile-layout{display:block!important}.vehicles-tools-desktop{display:none!important}.vehicles-tools-mobile{display:block!important}.vehicles-tools-page-container>div[style*="backgroundColor: var(--theme-color)"]{padding:12px 16px!important;margin-bottom:12px!important}.vehicles-tools-page-container>div[style*="backgroundColor: var(--theme-color)"] h1{font-size:22px!important}.vehicles-tools-page-container .window>div[style*="display: flex"][style*="justifyContent: space-between"]{flex-direction:column!important;gap:12px!important;align-items:stretch!important}.vehicles-tools-page-container .window>div[style*="display: flex"][style*="justifyContent: space-between"]>div:first-child{min-width:0!important;width:100%!important}.vehicles-tools-page-container .window>div[style*="display: flex"][style*="justifyContent: space-between"]>div:last-child{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}.vehicles-tools-page-container .window>div[style*="display: flex"][style*="justifyContent: space-between"] button{width:100%!important;justify-content:center!important;padding:10px 16px!important;font-size:14px!important;min-height:44px!important}.vehicles-tools-page-container .window>div[style*="display: flex"][style*="gap: 8px"][style*="marginBottom: 24px"]{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;margin-bottom:16px!important;padding-bottom:12px!important;flex-wrap:nowrap!important;gap:6px!important}.vehicles-tools-page-container .window>div[style*="display: flex"][style*="gap: 8px"][style*="marginBottom: 24px"] button{padding:10px 16px!important;font-size:13px!important;white-space:nowrap!important;min-width:-moz-fit-content!important;min-width:fit-content!important;flex-shrink:0!important}.vehicles-tools-page-container .window table thead{display:none!important}.vehicles-tools-page-container .window>div[style*="overflowX: auto"]{overflow-x:visible!important}.vehicles-tools-page-container .window table,.vehicles-tools-page-container .window table tbody{display:block!important;width:100%!important}.vehicles-tools-page-container .window table tbody tr{display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-sm)!important;padding:12px!important;margin-bottom:12px!important;box-shadow:0 1px 3px rgba(0,0,0,.1)!important;width:100%!important;box-sizing:border-box!important}.vehicles-tools-page-container .window table tbody tr td{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;padding:8px 0!important;border:none!important;border-bottom:1px solid var(--border-neutral)!important;font-size:14px!important;width:100%!important;box-sizing:border-box!important}.vehicles-tools-page-container .window table tbody tr td:last-child{border-bottom:none!important}.vehicles-tools-page-container .window table tbody tr td:before{content:attr(data-label)!important;font-weight:600!important;color:var(--text-strong)!important;margin-right:12px!important;flex-shrink:0!important;font-size:12px!important;min-width:100px!important}.vehicles-tools-page-container .window table tbody tr td>:not(button):not(div){flex:1 1 auto!important;min-width:0!important;text-align:right!important}.vehicles-tools-page-container .window table tbody tr td>div[style*="display: flex"]{flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;margin-top:0!important;flex:1 1 100%!important;text-align:left!important}.vehicles-tools-page-container .window table tbody tr td button{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;cursor:pointer!important;transition:all .15s ease-in-out!important}.vehicles-tools-page-container .window table tbody tr td button[title="View maintenance records"]{flex:1 1 auto!important;min-width:120px!important;max-width:calc(100% - 52px)!important;padding:10px 14px!important;font-size:13px!important;font-weight:500!important;height:auto!important;min-height:44px!important;white-space:normal!important;word-wrap:break-word!important;margin:0!important;color:var(--text-strong)!important;background-color:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;line-height:1.4!important}.vehicles-tools-page-container .window table tbody tr td button[title="Add maintenance record"]{flex:0 0 auto!important;min-width:44px!important;width:44px!important;height:44px!important;padding:0!important;font-size:20px!important;font-weight:700!important;margin:0!important;background-color:var(--theme-color)!important;color:#fff!important;border:1px solid var(--theme-color)!important;border-radius:6px!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;line-height:1!important}.vehicles-tools-page-container .window table tbody tr td .action-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;background-color:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}.vehicles-tools-page-container .window table tbody tr td .action-btn svg{width:20px!important;height:20px!important}.vehicles-tools-page-container .window table tbody tr td[data-label=Actions]>div[style*="display: flex"]{justify-content:flex-start!important;width:100%!important}.vehicles-tools-page-container .window table tbody tr td button{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}.vehicles-tools-page-container .window table tbody tr td[data-label=Maintenance]>div[style*="display: flex"]{flex-wrap:wrap!important;gap:8px!important;width:100%!important}@media screen and (max-width:375px){.vehicles-tools-page-container .window table tbody tr td button[title="View maintenance records"]{min-width:100%!important;max-width:100%!important;margin-bottom:4px!important}}.vehicles-tools-page-container .window table tbody tr td>div[style*="position: relative"]{flex-direction:column!important;align-items:flex-start!important;width:100%!important;position:relative!important}.vehicles-tools-page-container .window table tbody tr td>div[style*="position: relative"]>div:first-child{width:100%!important;margin-bottom:4px!important}.vehicles-tools-page-container .window table tbody tr td>div[style*="position: relative"]>div[style*="position: absolute"]{position:static!important;transform:none!important;margin-top:4px!important;align-self:flex-start!important}.vehicles-tools-page-container .window table tbody tr td span[style*="padding: 4px 8px"]{font-size:11px!important;padding:4px 8px!important;display:inline-block!important;margin-left:auto!important}.vehicles-tools-page-container .window>div[style*="backgroundColor: #f8f9fa"]{padding:20px 16px!important;margin:12px 0!important}.vehicles-tools-page-container .window>div[style*="backgroundColor: #f8f9fa"] p{font-size:13px!important;line-height:1.5!important}.modal-content[style*="width: 1100px"]{width:95vw!important;max-width:95vw!important}.maintenance-history-table{display:block!important;width:100%!important}.maintenance-history-table thead{display:none!important}.maintenance-history-table tbody{display:block!important;width:100%!important}.maintenance-history-table tbody tr{flex-direction:column!important;background:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-sm)!important;padding:16px!important;margin-bottom:16px!important;box-shadow:0 1px 3px rgba(0,0,0,.1)!important;gap:0!important}.maintenance-history-table tbody tr,.maintenance-history-table tbody tr td{display:flex!important;width:100%!important;box-sizing:border-box!important}.maintenance-history-table tbody tr td{justify-content:space-between!important;align-items:flex-start!important;padding:12px 0!important;border:none!important;border-bottom:1px solid var(--border-neutral)!important;font-size:14px!important;min-width:0!important}.maintenance-history-table tbody tr td:last-child{border-bottom:none!important}.maintenance-history-table tbody tr td:before{content:attr(data-label)!important;font-weight:600!important;color:var(--text-strong)!important;margin-right:12px!important;flex-shrink:0!important;font-size:13px!important;min-width:90px!important;max-width:40%!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"]{padding:16px!important;margin-bottom:16px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"]>div[style*="display: flex"][style*="justifyContent: space-between"]{flex-direction:column!important;gap:12px!important;align-items:stretch!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"]>div[style*="display: flex"][style*="justifyContent: space-between"]>div:last-child{min-width:0!important;max-width:100%!important;flex:1 1 100%!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"] input[type=text]{width:100%!important;min-width:0!important;max-width:100%!important;padding:12px 16px!important;font-size:16px!important;box-sizing:border-box!important;overflow-x:hidden!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"] input[type=text]::placeholder{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"] button{padding:10px 14px!important;font-size:14px!important;min-height:44px!important;white-space:nowrap!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]{padding:16px!important;margin-bottom:16px!important;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]>div[style*="display: flex"][style*="flexDirection: column"]{gap:10px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]>div[style*="display: flex"][style*="flexDirection: column"]>div{font-size:13px!important;line-height:1.6!important;word-wrap:break-word!important;overflow-wrap:break-word!important;word-break:break-word!important;white-space:normal!important;padding:8px 0!important;max-width:100%!important;box-sizing:border-box!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]>div[style*="display: flex"][style*="flexDirection: column"]>div strong{display:block!important;margin-bottom:4px!important;font-size:14px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]>div[style*="display: flex"][style*="flexDirection: column"]>div span{display:block!important;margin-top:4px!important;padding-left:0!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="display: flex"][style*="justifyContent: space-between"][style*="marginTop: 16px"]{flex-direction:column!important;gap:12px!important;align-items:stretch!important;padding-top:12px!important;margin-top:12px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="display: flex"][style*="justifyContent: space-between"][style*="marginTop: 16px"]>div:last-child{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="display: flex"][style*="justifyContent: space-between"][style*="marginTop: 16px"] button{width:100%!important;padding:12px 16px!important;font-size:14px!important;min-height:44px!important;justify-content:center!important}.maintenance-history-table tbody tr td[data-label=Actions]{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;padding:12px 0!important;border-bottom:1px solid var(--border-neutral)!important;width:100%!important;box-sizing:border-box!important}.maintenance-history-table tbody tr td[data-label=Actions]:before{content:"Actions"!important;font-weight:600!important;font-size:13px!important;color:var(--text-strong)!important;display:block!important;width:100%!important;margin-bottom:8px!important;padding-bottom:8px!important;border-bottom:1px solid var(--border-neutral)!important}.maintenance-history-table tbody tr td[data-label=Actions]>div[style*="display: flex"]{display:flex!important;flex-direction:row!important;gap:12px!important;flex-wrap:wrap!important;width:100%!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:0!important}.maintenance-history-table tbody tr td .action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;margin:0!important;background-color:#fff!important;border:2px solid var(--border-neutral)!important;border-radius:8px!important;box-shadow:0 2px 4px rgba(0,0,0,.08)!important;cursor:pointer!important;transition:all .2s ease-in-out!important;box-sizing:border-box!important;-webkit-tap-highlight-color:rgba(0,0,0,.1)!important;touch-action:manipulation!important}.maintenance-history-table tbody tr td .action-btn.btn-danger{border-color:#dc3545!important;background-color:#fff!important}.maintenance-history-table tbody tr td .action-btn:active,.maintenance-history-table tbody tr td .action-btn:focus{background-color:#f8f9fa!important;border-color:var(--border-neutral-strong)!important;transform:scale(.95)!important;box-shadow:0 1px 2px rgba(0,0,0,.1)!important;outline:none!important}.maintenance-history-table tbody tr td .action-btn.btn-danger:active,.maintenance-history-table tbody tr td .action-btn.btn-danger:focus{background-color:#fff5f5!important;border-color:#c82333!important}.maintenance-history-table tbody tr td .action-btn svg{width:22px!important;height:22px!important;flex-shrink:0!important;pointer-events:none!important}.maintenance-history-table tbody tr td .action-btn.btn-danger svg{color:#dc3545!important}.maintenance-history-table tbody tr td .action-btn:not(.btn-danger) svg{color:var(--text-strong)!important}@media screen and (max-width:375px){.maintenance-history-table tbody tr td[data-label=Actions]>div[style*="display: flex"]{flex-direction:column!important;gap:10px!important;width:100%!important}.maintenance-history-table tbody tr td .action-btn{width:100%!important;min-width:100%!important;max-width:100%!important;height:48px!important;justify-content:center!important}}.maintenance-history-table tbody tr td[data-label=Actions]{overflow:visible!important;max-width:100%!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"][style*="height: 80vh"]{height:auto!important;max-height:calc(95vh - 120px)!important;min-height:300px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flex: 1"][style*="overflow: auto"]{flex:1 1 auto!important;min-height:200px!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}.maintenance-history-table tbody tr td{word-wrap:break-word!important;overflow-wrap:break-word!important;-webkit-hyphens:auto!important;hyphens:auto!important}.maintenance-history-table tbody tr td[data-label=Description],.maintenance-history-table tbody tr td[data-label=Description]>div{word-wrap:break-word!important;overflow-wrap:break-word!important;max-width:100%!important}.modal-content[style*="width: 1100px"] .modal-header{position:relative!important}.modal-content[style*="width: 1100px"] .modal-header button{position:absolute!important;right:16px!important;top:50%!important;transform:translateY(-50%)!important;min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;-webkit-tap-highlight-color:rgba(0,0,0,.1)!important;touch-action:manipulation!important;margin:0!important}.modal-content[style*="width: 1100px"] .modal-body{padding:16px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"] button[style*="padding: 12px 16px"]{min-height:44px!important;padding:12px 16px!important;font-size:16px!important;-webkit-tap-highlight-color:rgba(0,0,0,.1)!important;touch-action:manipulation!important}.maintenance-history-table tbody tr td[colspan]{font-size:14px!important;padding:20px 12px!important;text-align:center!important;word-wrap:break-word!important}.maintenance-history-table tbody tr td[data-label="Next Service"]{word-wrap:break-word!important;overflow-wrap:break-word!important}.maintenance-history-table tbody tr td[data-label="Next Service"]>div{word-wrap:break-word!important;overflow-wrap:break-word!important;max-width:100%!important}.modal-content[style*="width: 1100px"]{max-height:95vh!important;margin:2.5vh auto!important}.modal-content[style*="width: 1100px"] .modal-header{padding:12px 16px!important}.modal-content[style*="width: 1100px"] .modal-header h2{font-size:14px!important;line-height:1.4!important;word-wrap:break-word!important;overflow-wrap:break-word!important;padding-right:48px!important;margin:0!important}@media screen and (max-width:375px){.modal-content[style*="width: 1100px"]{width:98vw!important;max-width:98vw!important;max-height:98vh!important;margin:1vh auto!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"][style*="height: 80vh"]{max-height:calc(98vh - 100px)!important}.maintenance-history-table tbody tr{padding:12px!important;margin-bottom:12px!important}.maintenance-history-table tbody tr td{font-size:13px!important;padding:10px 0!important}.maintenance-history-table tbody tr td:before{font-size:12px!important;min-width:85px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]{padding:12px!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="backgroundColor: #fff3cd"]>div[style*="display: flex"][style*="flexDirection: column"]>div{font-size:12px!important;line-height:1.5!important;padding:6px 0!important}}@media screen and (max-height:600px){.modal-content[style*="width: 1100px"]{max-height:98vh!important;margin:1vh auto!important}.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"][style*="height: 80vh"]{max-height:calc(98vh - 80px)!important}.maintenance-history-table tbody tr,.modal-content[style*="width: 1100px"] .modal-body>div[style*="display: flex"][style*="flexDirection: column"]>div[style*="flexShrink: 0"][style*="marginBottom: 16px"]{padding:8px!important;margin-bottom:8px!important}}.project-calculator-desktop{display:none!important}.project-calculator-mobile{display:block!important}.modal-content{max-width:95vw!important;max-height:95vh!important;margin:2.5vh auto!important;border-radius:8px!important;width:95vw!important;min-height:auto!important;overflow:hidden!important}.desktop-disclaimer-section{display:none!important}.mobile-disclaimer-section{display:block!important}@media screen and (max-height:600px){.modal-content{max-height:98vh!important;margin:1vh auto!important}.modal-header{padding:8px 12px!important}.modal-header h2{font-size:14px!important}.modal-body{padding:12px!important}}@media screen and (max-width:375px){.modal-content{width:98vw!important;max-width:98vw!important}.modal-body{padding:12px!important}.modal-body input,.modal-body select,.modal-body textarea{padding:8px 10px!important;font-size:16px!important}.invoice-print-container .no-print button{padding:10px 12px!important;font-size:14px!important;min-height:44px!important}}.modal-header{padding:12px 16px!important}.modal-header h2{font-size:16px!important;line-height:1.2!important}.modal-body{padding:16px!important;max-height:75vh!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}.modal-footer{padding:12px 16px!important;gap:8px!important}.modal-footer button{padding:8px 12px!important;font-size:14px!important;min-height:36px!important}.invoice-print-container{padding:8px!important;overflow-x:hidden!important}.modal-body .window{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}.modal-body>*{margin-bottom:16px!important;clear:both!important}.modal-body h1,.modal-body h2,.modal-body h3{margin:20px 0 12px!important;line-height:1.3!important}.modal-body .form-section+.form-section{margin-top:20px!important}.modal-body h3:contains("Labor"),.modal-body h3:contains("Materials"){margin-top:24px!important;margin-bottom:16px!important;padding:12px!important;background:var(--theme-color)!important;color:#fff!important;border-radius:6px!important;font-size:16px!important;text-align:center!important}.modal-body .form-section{margin-bottom:20px!important;padding:16px!important;background:var(--bg-muted)!important;border:1px solid var(--border-neutral)!important;border-radius:8px!important}.modal-body .form-section h3{font-size:16px!important;margin-bottom:12px!important;color:var(--theme-color)!important;font-weight:600!important}.modal-body .form-grid{display:grid!important;grid-template-columns:1fr!important;grid-gap:12px!important;gap:12px!important}.modal-body .form-row{display:grid!important;grid-template-columns:1fr!important;grid-gap:8px!important}.modal-body input,.modal-body select,.modal-body textarea{width:100%!important;padding:10px 12px!important;font-size:16px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;background:var(--bg-surface)!important;min-height:44px!important;box-sizing:border-box!important}.modal-body textarea{font-family:inherit!important;line-height:1.4!important}.modal-body label{display:block!important;margin-bottom:6px!important}.modal-body .invoice-items-container{overflow-x:auto!important;margin:12px 0!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important}.invoice-print-container .no-print{padding:12px!important;margin-bottom:16px!important;flex-direction:column!important;background:var(--bg-muted)!important;border-radius:8px!important;border:1px solid var(--border-neutral)!important}.invoice-print-container .no-print button{width:100%!important;padding:12px 16px!important;font-size:16px!important;margin:0!important;border-radius:6px!important;min-height:48px!important;font-weight:500!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}.invoice-actions-grid{display:grid!important;grid-template-columns:1fr!important;grid-gap:8px!important;gap:8px!important}.invoice-actions-section{display:flex!important;flex-direction:column!important;gap:8px!important}.invoice-actions-section h4{font-size:14px!important;margin-bottom:8px!important;color:var(--text-strong)!important;font-weight:600!important}.invoice-print-container h1{font-size:16px!important;line-height:1.2!important}.invoice-print-container h2,.invoice-print-container h3{margin:6px 0!important;line-height:1.3!important}.invoice-print-container table{font-size:11px!important;margin:8px 0!important}.invoice-print-container table td,.invoice-print-container table th{padding:4px 6px!important;font-size:11px!important;line-height:1.2!important}.invoice-print-container .company-info,.invoice-print-container .customer-info{font-size:11px!important;line-height:1.3!important;margin-bottom:12px!important}.invoice-print-container .invoice-details{font-size:11px!important;margin-bottom:12px!important}.invoice-print-container .total-section{font-size:12px!important;margin-top:12px!important}.invoice-form-section{margin-bottom:16px!important}.invoice-form-section h3{font-size:14px!important;margin-bottom:8px!important}.invoice-items-table{margin:8px 0!important}.invoice-items-table table{min-width:300px!important;font-size:12px!important}.invoice-items-table td,.invoice-items-table th{padding:6px 4px!important;font-size:12px!important}.invoice-items-table input[type=number],.invoice-items-table input[type=text]{padding:8px 10px!important;border-radius:6px!important;min-height:44px!important;border:1px solid var(--border-neutral)!important;margin:2px 0!important}.invoice-items-table input[type=number],.invoice-items-table input[type=text],.invoice-items-table textarea{width:100%!important;font-size:16px!important;background:var(--bg-surface)!important;box-sizing:border-box!important}.invoice-items-table textarea{padding:12px!important;border-radius:8px!important;min-height:80px!important;border:2px solid var(--border-neutral)!important;resize:vertical!important;margin:4px 0!important;line-height:1.4!important;font-family:inherit!important}.invoice-items-table textarea:focus{outline:none!important;border-color:var(--theme-color)!important;box-shadow:0 0 0 3px rgba(22,98,197,.1)!important}.invoice-items-table .action-btn,.invoice-items-table button[title*=Delete]{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;padding:10px!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:8px auto!important;transition:all .2s ease!important}.invoice-items-table .action-btn:hover,.invoice-items-table button[title*=Delete]:hover{transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(220,53,69,.2)!important}.invoice-items-table .action-btn svg,.invoice-items-table button[title*=Delete] svg{width:18px!important;height:18px!important}.invoice-items-table input[type=number]{width:100%!important;padding:12px!important;font-size:18px!important;font-weight:600!important;border-radius:8px!important;min-height:48px!important;border:2px solid var(--border-neutral)!important;background:var(--bg-surface)!important;box-sizing:border-box!important;margin:4px 0!important;text-align:center!important}.invoice-items-table input[type=number]:focus{outline:none!important;border-color:var(--theme-color)!important;box-shadow:0 0 0 3px rgba(22,98,197,.1)!important}.invoice-items-table td[data-label="Amount:"]{font-weight:700!important;color:var(--theme-color)!important;text-align:center!important;background:var(--bg-muted)!important;padding:12px!important;border-radius:6px!important;margin:8px 0!important}.invoice-items-table button{padding:8px 12px!important;font-size:14px!important;min-height:40px!important;border-radius:6px!important;font-weight:500!important}.invoice-items-table{overflow-x:auto!important;margin:16px 0!important;border:1px solid var(--border-neutral)!important;border-radius:8px!important;background:var(--bg-surface)!important}.invoice-items-table table{width:100%!important;border-spacing:0 8px!important}.invoice-items-table tr{background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:8px!important;margin-bottom:16px!important;padding:16px!important}.invoice-items-table td{padding:8px 0!important;text-align:left!important}.invoice-items-table td[data-label]:before{content:attr(data-label)!important;display:block!important;font-weight:500!important;font-size:13px!important;color:#666!important;margin-bottom:4px!important}.invoice-items-table tr{display:block!important}.invoice-items-table td{display:block!important;width:100%!important;padding:12px 0!important;background:none!important;box-shadow:none!important}@media screen and (max-width:768px){.invoice-items-table td{border:none!important}}.invoice-items-table table,.invoice-items-table tbody,.invoice-items-table th,.invoice-items-table thead{border:none!important;border-collapse:collapse!important}.invoice-items-table td[data-label="Amount:"]{font-size:18px!important;font-weight:600!important;text-align:right!important;padding:8px 0!important;color:var(--text-strong)!important}.invoice-section-header{padding:12px 16px!important;margin:16px 0 8px!important;border:1px solid var(--border-neutral)!important;font-size:16px!important;font-weight:600!important;color:var(--text-strong)!important;text-align:center!important}.invoice-section-header,.item-controls{background:var(--bg-muted)!important;border-radius:6px!important}.item-controls{display:flex!important;flex-direction:column!important;gap:8px!important;padding:8px!important;margin:8px 0!important}.item-controls button{width:100%!important;padding:8px 12px!important;font-size:14px!important;border-radius:6px!important;min-height:40px!important}.invoice-items-table td[data-label="Move:"]{order:-1!important}.invoice-items-table td[data-label="Move:"] div{display:flex!important;gap:12px!important;justify-content:center!important;margin:8px 0!important}.invoice-items-table td[data-label="Move:"] button{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;padding:12px!important;font-size:16px!important;font-weight:700!important;border:2px solid var(--border-neutral)!important;border-radius:8px!important;background:var(--bg-surface)!important;color:var(--text-strong)!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .2s ease!important}.invoice-items-table td[data-label="Move:"] button:disabled{opacity:.4!important;cursor:not-allowed!important;background:var(--bg-muted)!important}.invoice-items-table td[data-label="Move:"] button:not(:disabled):hover{background:var(--theme-color)!important;color:#fff!important;border-color:var(--theme-color)!important;transform:translateY(-1px)!important}.invoice-items-table td[data-label="Move:"] button:not(:disabled):active{transform:translateY(0)!important}.invoice-items-table table{min-width:100%!important;font-size:14px!important;border-collapse:separate!important;border-spacing:0!important}.invoice-items-table th{padding:12px 8px!important;font-size:14px!important;background:var(--bg-muted)!important;font-weight:600!important;border-bottom:1px solid var(--border-neutral)!important}.invoice-items-table td{padding:8px!important;font-size:14px!important;vertical-align:middle!important;border:none!important}.invoice-form-divider{height:1px!important;background:var(--border-neutral)!important;margin:20px 0!important}.modal-body .toggle-switch{display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;background:var(--bg-muted)!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;margin:8px 0!important}.modal-body .toggle-switch input[type=checkbox]{width:20px!important;height:20px!important;min-height:auto!important}.modal-body .toggle-switch label{font-size:14px!important;margin:0!important;flex:1 1!important}.document-sections,.modal-body div[style*="backgroundColor: #f8f8f8"]:has(span:contains("Document Sections")){margin:16px 0!important;padding:16px!important;background:var(--bg-muted)!important;border:1px solid var(--border-neutral)!important;border-radius:8px!important}.modal-body div[style*="backgroundColor: #f8f8f8"]{background:var(--bg-muted)!important;padding:16px!important;margin:16px 0!important;border:1px solid var(--border-neutral)!important;border-radius:8px!important}.modal-body div[style*="backgroundColor: #f8f8f8"]>div{display:flex!important;flex-direction:column!important;gap:12px!important}.modal-body div[style*="backgroundColor: #f8f8f8"] span{font-size:16px!important;font-weight:600!important;color:var(--text-strong)!important;margin-bottom:8px!important}.modal-body div[style*="backgroundColor: #f8f8f8"] div[style*="display: flex"]{display:flex!important;flex-direction:column!important;gap:12px!important}.modal-body div[style*="backgroundColor: #f8f8f8"] label{display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;cursor:pointer!important;font-size:14px!important;font-weight:500!important;margin:0!important;width:auto!important;min-width:auto!important;transition:all .2s ease!important}.modal-body div[style*="backgroundColor: #f8f8f8"] label:hover{background:var(--bg-hover,#f5f5f5)!important;border-color:var(--theme-color)!important}.modal-body div[style*="backgroundColor: #f8f8f8"] input[type=checkbox]{width:20px!important;height:20px!important;min-height:auto!important;margin:0!important;cursor:pointer!important}.document-sections h3{font-size:16px!important;margin-bottom:12px!important;color:var(--text-strong)!important;font-weight:600!important}.document-section-toggle{display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;margin-bottom:8px!important;background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;cursor:pointer!important;transition:all .2s ease!important}.document-section-toggle:last-child{margin-bottom:0!important}.document-section-toggle:hover{background:var(--bg-hover,#f5f5f5)!important;border-color:var(--theme-color)!important}.document-section-toggle input[type=checkbox]{width:20px!important;height:20px!important;min-height:auto!important;margin:0!important;cursor:pointer!important}.document-section-toggle label{font-size:14px!important;font-weight:500!important;color:var(--text-strong)!important;cursor:pointer!important;flex:1 1!important;margin:0!important}.document-section-toggle input[type=checkbox]:checked+label{color:var(--theme-color)!important;font-weight:600!important}.input-group{display:flex!important;flex-direction:column!important;gap:8px!important;margin-bottom:12px!important}.input-group label{font-size:14px!important;font-weight:500!important}.input-group input,.input-group select,.input-group textarea{padding:8px 10px!important;font-size:14px!important;border-radius:6px!important}.mobile-card{background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;padding:12px!important;margin-bottom:8px!important;box-shadow:0 1px 3px rgba(0,0,0,.1)!important}.mobile-card-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:8px!important}.mobile-card-title{font-weight:600!important;font-size:14px!important;color:var(--theme-color)!important}.mobile-card-meta{font-size:12px!important;color:var(--text-muted)!important;margin-bottom:8px!important}.mobile-card-actions{display:flex!important;gap:8px!important;justify-content:flex-end!important;margin-top:8px!important}.mobile-card-actions button{padding:6px 10px!important;font-size:12px!important;border-radius:4px!important}.modal-body form{margin:0!important}.modal-body .form-row{gap:8px!important}.modal-body .form-group,.modal-body .form-row{display:flex!important;flex-direction:column!important;margin-bottom:12px!important}.modal-body .form-group{gap:4px!important}.modal-body label{font-size:14px!important;font-weight:500!important;color:var(--text-strong)!important;margin-bottom:4px!important}.modal-body input[type=date],.modal-body input[type=email],.modal-body input[type=number],.modal-body input[type=tel],.modal-body input[type=text],.modal-body select,.modal-body textarea{padding:8px 10px!important;font-size:16px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;min-height:36px!important;background:var(--bg-surface)!important}.modal-body textarea{min-height:80px!important;resize:vertical!important}.modal-body .checkbox-group,.modal-body .radio-group{display:flex!important;flex-direction:column!important;gap:8px!important;margin:8px 0!important}.modal-body .checkbox-item,.modal-body .radio-item{display:flex!important;align-items:center!important;gap:8px!important;padding:8px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;background:var(--bg-surface)!important}.modal-body .checkbox-item input[type=checkbox],.modal-body .radio-item input[type=radio]{width:18px!important;height:18px!important;min-height:auto!important;margin:0!important}.expense-form-section{margin-bottom:16px!important;padding:12px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;background:var(--bg-muted)!important}.expense-form-section h4{font-size:14px!important;margin-bottom:8px!important;color:var(--text-strong)!important}.file-upload-area{border:2px dashed var(--border-neutral)!important;border-radius:8px!important;padding:16px!important;text-align:center!important;background:var(--bg-muted)!important;margin:8px 0!important}.file-upload-button{padding:8px 16px!important;font-size:14px!important;border-radius:6px!important;min-height:36px!important;touch-action:manipulation!important}.email-recipients-section{margin-bottom:12px!important}.email-tag{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px 8px!important;background:var(--theme-color)!important;border-radius:4px!important;margin:2px!important}.email-tag,.email-tag button{color:#fff!important;font-size:12px!important}.email-tag button{background:transparent!important;border:none!important;padding:0!important;margin:0!important;width:16px!important;height:16px!important;min-height:auto!important}.time-tracker-form{gap:12px!important}.job-form-sections,.time-tracker-form{display:flex!important;flex-direction:column!important}.job-form-sections{gap:16px!important}.job-form-section{padding:12px!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;background:var(--bg-muted)!important}.job-form-section h3{font-size:14px!important;margin-bottom:8px!important;color:var(--text-strong)!important}.modal-button-group{display:flex!important;flex-direction:column!important;gap:8px!important;margin-top:16px!important}.modal-button-group button{width:100%!important;padding:12px 16px!important;font-size:16px!important;min-height:48px!important;border-radius:8px!important;font-weight:500!important;touch-action:manipulation!important}.modal-footer{padding:16px!important;gap:12px!important;flex-direction:column!important;border-top:1px solid var(--border-neutral)!important;background:var(--bg-muted)!important}.modal-footer button{width:100%!important;padding:12px 16px!important;font-size:16px!important;min-height:48px!important;border-radius:8px!important;font-weight:500!important}.modal-footer .btn-primary,.modal-footer button[type=submit]{order:-1!important;background:var(--theme-color)!important;color:#fff!important}.modal-footer .btn-secondary,.modal-footer button[type=button]:not(.btn-primary){background:var(--bg-surface)!important;color:var(--text-strong)!important;border:1px solid var(--border-neutral)!important}.invoice-modal-actions{display:flex!important;flex-direction:column!important;gap:12px!important;padding:16px!important;background:var(--bg-muted)!important;border-top:1px solid var(--border-neutral)!important;margin:16px -16px -16px!important}.invoice-modal-actions button{width:100%!important;padding:12px 16px!important;font-size:16px!important;min-height:48px!important;border-radius:8px!important;font-weight:500!important}.modal-body .disclaimer-section{margin-top:16px!important;padding:12px!important;background:var(--bg-muted)!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important}.modal-body .disclaimer-section label{font-size:14px!important;margin-bottom:8px!important}.modal-body .disclaimer-section textarea{min-height:100px!important;font-size:14px!important;line-height:1.4!important;word-wrap:break-word!important;overflow-wrap:anywhere!important}.invoice-print-container{max-width:100%!important;padding:12px!important;margin:0!important;border-radius:6px!important;box-sizing:border-box!important}.invoice-print-container .no-print{gap:8px!important;padding:8px 10px!important}.invoice-print-container h1{font-size:18px!important;margin-bottom:8px!important}.invoice-print-container h2,.invoice-print-container h3{font-size:14px!important;margin:8px 0!important}.invoice-print-container table{width:100%!important;font-size:12px!important}.invoice-print-container td,.invoice-print-container th{padding:6px!important}.invoice-print-container .status{font-size:10px!important;padding:2px 6px!important}.invoice-print-container .action-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}.mobile-pagination{display:block!important}.desktop-pagination{display:none!important}}@media screen and (min-width:769px) and (max-width:1024px){.sidebar{width:180px}.main-content{margin-left:184px}button,input[type=submit]{min-height:40px}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background-color:var(--bg-surface);border:1px solid var(--backend-border);max-width:600px;width:90%;max-height:80vh;overflow-y:auto;font-family:Arial,sans-serif;border-radius:var(--radius-md);box-shadow:var(--shadow-md)}.modal-header{background-color:var(--theme-color);color:#fff;padding:6px 8px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--backend-border)}.modal-header h2{color:#fff}.modal-close-btn,.modal-header h2{margin:0;font-size:14px;font-weight:700}.modal-close-btn{background-color:#f0f0f0;border:1px outset silver;width:20px;height:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#000;padding:0}.modal-close-btn:hover{background-color:#e8e8e8}.modal-close-btn:active{border:1px inset silver}.modal-body{padding:12px}.category-control{flex-wrap:nowrap;min-width:0}.modal-body .btn-secondary{width:auto!important;min-width:auto!important;max-width:none!important;line-height:1.5!important}@media screen and (max-width:768px){.modal-body .form-table{table-layout:fixed!important}.modal-body .form-table td:first-child{width:100px!important;padding-right:6px!important}.modal-body .form-table td{padding-top:2px!important;padding-bottom:2px!important}}@media screen and (min-width:769px){.modal-body .form-table{table-layout:auto!important;width:100%!important}}.expense-modal .form-table td:first-child{width:140px!important;padding-right:10px!important}.company-modal .form-table td:first-child{width:150px!important;min-width:150px!important;padding-right:12px!important;white-space:nowrap!important}.expense-modal .form-table input[type=date],.expense-modal .form-table input[type=number],.expense-modal .form-table input[type=text],.expense-modal .form-table select,.expense-modal .form-table textarea{width:200px!important}.expense-modal .form-table select{height:22px!important;line-height:22px!important;padding-top:2px!important;padding-bottom:2px!important}.search-container{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;border:1px solid var(--backend-border-light);border-radius:var(--radius-sm);padding:8px;box-shadow:var(--shadow-sm)}.search-container,.search-input{background-color:var(--bg-surface)}.search-input{font-family:Arial,sans-serif;font-size:14px;border:1px solid var(--backend-border);padding:4px;color:var(--text-strong);width:250px;max-width:250px;border-radius:4px}.search-input::placeholder{color:#666}@media screen and (max-width:480px){.btn,.button,.nav-link{min-height:44px;min-width:44px;padding:12px 16px}.modal-overlay{padding-top:60px}.modal-content{margin:4px;max-width:calc(100vw - 8px);max-height:calc(100vh - 68px)}.modal-body{max-height:calc(100vh - 180px)}.sidebar h2,body{font-size:16px}.window{margin:4px;padding:12px}input[type=date],input[type=email],input[type=number],input[type=password],input[type=text],select,textarea{font-size:16px;padding:12px;min-height:44px}.modal-overlay{z-index:1003;padding-top:66px;align-items:flex-start}.modal,.modal-content{max-width:calc(100vw - 16px);max-height:calc(100vh - 82px);margin:0 8px 8px}.sidebar{z-index:999}.mobile-top-nav{z-index:1002}.modal-content{position:relative;top:0;transform:none}.modal-body{max-height:calc(100vh - 200px);overflow-y:auto}.modal-header{position:-webkit-sticky;position:sticky;top:0;background-color:var(--theme-color);z-index:1}.modal-body [data-customer-search]{position:relative}.modal-body [data-customer-search]>div[style*="position: absolute"]{z-index:1004;max-height:150px}.document-sections-content{display:flex!important;flex-direction:column!important;align-items:flex-start!important}.document-sections-label{margin-bottom:12px!important;margin-right:0!important}.document-sections-checkboxes{display:flex!important;flex-direction:column!important;gap:16px!important;width:100%!important}.document-section-checkbox-label{display:flex!important;align-items:center!important;gap:16px!important;font-size:16px!important;font-weight:500!important;width:100%!important;padding:12px!important;background-color:#fff!important;border-radius:6px!important;border:1px solid #ddd!important;cursor:pointer!important;box-sizing:border-box!important;line-height:1.2!important;vertical-align:middle!important}.document-section-checkbox,input[type=checkbox].document-section-checkbox{width:18px!important;height:18px!important;cursor:pointer!important;flex-shrink:0!important;-webkit-appearance:checkbox!important;-moz-appearance:checkbox!important;appearance:checkbox!important;margin:0!important;padding:0!important;background:#fff!important;border:2px solid #ccc!important;border-radius:2px!important;transform:none!important;outline:none!important;box-sizing:border-box!important;vertical-align:middle!important;align-self:center!important}.document-section-checkbox:checked,input[type=checkbox].document-section-checkbox:checked{background-color:var(--theme-color)!important;border-color:var(--theme-color)!important}.modal-body table{border-collapse:separate!important;border-spacing:0!important}.modal-body table thead{display:none!important}.modal-body table tbody,.modal-body table tr{display:block!important}.modal-body table tr{background:#fff!important;border:1px solid #e5e5e5!important;border-radius:8px!important;margin-bottom:16px!important;padding:16px 16px 60px!important;box-shadow:0 2px 4px rgba(0,0,0,.05)!important;position:relative!important}.modal-body table td{display:block!important;border:none!important;padding:8px 0!important;width:100%!important}.modal-body table.form-table{margin-top:12px!important;position:relative!important;z-index:1!important;background:transparent!important;background-color:transparent!important;border:none!important;box-shadow:none!important;margin-bottom:0!important}@media screen and (min-width:769px){.modal-body .form-table td[colspan="2"]{display:table-cell!important;width:auto!important;background:transparent!important;border:none!important;padding:15px 0 12px!important;text-align:right!important;vertical-align:middle!important}.modal-body .form-table tr{display:table-row!important}.modal-body .form-table{display:table!important;width:100%!important}}.modal-body table.form-table tbody,.modal-body table.form-table tr{background:transparent!important;background-color:transparent!important;border:none!important;box-shadow:none!important}.modal-body table.form-table tr:after{display:none!important;content:none!important}@media screen and (max-width:768px){.modal-body .form-table td[colspan="2"]{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;width:100%!important;position:relative!important;z-index:2!important;background:transparent!important;overflow-x:visible!important;padding:15px 16px 0!important;clear:both!important;border:none!important;box-sizing:border-box!important;text-align:center!important}.modal-body .form-table td[colspan="2"] a,.modal-body .form-table td[colspan="2"] button{margin:0!important}}@media screen and (max-width:400px){.modal-body .form-table td[colspan="2"]{flex-wrap:wrap!important;justify-content:center!important;gap:6px!important}}.modal-body table tr:after{content:""!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important;height:52px!important;background:#f8f9fa!important;border-top:1px solid #e5e7eb!important;border-radius:0 0 8px 8px!important}.modal-body table td[data-label="Move:"]{position:absolute!important;bottom:10px!important;left:16px!important;width:auto!important;padding:0!important;background:none!important;border:none!important;margin:0!important;z-index:2!important}.modal-body table td[data-label="Move:"]>div{display:flex!important;gap:6px!important;align-items:center!important}.modal-body table td[data-label="Move:"] button{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;font-size:12px!important;padding:0!important;border-radius:4px!important;border:1px solid #6b7280!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;font-weight:700!important;color:#6b7280!important;box-shadow:0 1px 2px rgba(0,0,0,.1)!important;transition:all .2s ease!important}.modal-body table td[data-label="Move:"] button:disabled{opacity:.4!important;cursor:not-allowed!important;background:#f5f5f5!important}.modal-body table td[data-label="Move:"] button:not(:disabled):hover{background:#f0f0f0!important;border-color:var(--theme-color)!important;color:var(--theme-color)!important;transform:translateY(-1px)!important}.modal-body table td:last-child{position:absolute!important;bottom:10px!important;right:16px!important;width:auto!important;padding:0!important;margin:0!important;border:none!important;z-index:2!important}.modal-body table .btn-danger,.modal-body table button[onclick*=delete],.modal-body table button[style*="color: red"],.modal-body table button[title*=Delete]{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border-radius:4px!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #dc2626!important;background:#fff!important;color:#dc2626!important;cursor:pointer!important;box-shadow:0 1px 2px rgba(0,0,0,.1)!important;transition:all .2s ease!important}.modal-body table .btn-danger:hover,.modal-body table button[onclick*=delete]:hover,.modal-body table button[style*="color: red"]:hover,.modal-body table button[title*=Delete]:hover{background:#fef2f2!important;border-color:#b91c1c!important;color:#b91c1c!important;transform:translateY(-1px)!important}.modal-body table td[data-label]:not([data-label="Move:"]):not(:last-child):before{content:attr(data-label)!important;font-weight:600!important;font-size:14px!important;color:var(--text-strong)!important;margin-bottom:4px!important;display:block!important}.modal-body table input,.modal-body table textarea{width:100%!important;min-height:44px!important;padding:12px!important;font-size:16px!important;border:2px solid #ccc!important;border-radius:6px!important;box-sizing:border-box!important}.modal-body table textarea{min-height:80px!important;resize:vertical!important}}@media screen and (max-width:768px) and (orientation:landscape){.sidebar{display:none!important}.main-content{padding:4px}}@supports (padding:max(0px)){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.main-content,.sidebar{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.main-content{padding-bottom:max(8px,env(safe-area-inset-bottom))}}@media screen and (max-width:768px){.category-breakdown-layout{grid-template-columns:1fr!important}}@media screen and (max-width:768px){@supports (padding:max(0px)){:root{--mobile-nav-height:calc(var(--mobile-nav-base-height) + env(safe-area-inset-top))}.mobile-top-nav{padding-top:env(safe-area-inset-top)}}}@media screen and (-webkit-min-device-pixel-ratio:2){.window,table{border-width:.5px}}@media (max-width:768px){.post-photos-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:12px!important}.post-photos-grid img{height:150px!important}}@media (max-width:480px){.post-photos-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))!important;gap:10px!important}.post-photos-grid img{height:120px!important}}@media (max-width:768px){.modal-content-wrapper{padding:0!important}.modal-body:has(.modal-content-wrapper){padding:12px!important}.modal-body:has(.modal-content-wrapper.no-description){overflow-y:visible!important}}@media (max-width:480px){.modal-body:has(.modal-content-wrapper){padding:8px!important}.modal-body:has(.modal-content-wrapper.no-description){overflow-y:visible!important}}@media print{.sidebar{display:none}.main-content{margin-left:0}.no-print{display:none}body{font-size:10px;padding:0}.window,body{background-color:#fff}.window{border:1px solid var(--backend-border)}.invoice-print-container{max-width:none!important;margin:0!important;padding:20px!important}.invoice-print-container>div{page-break-inside:avoid}}.notes-container{display:flex;height:calc(100vh - 60px);font-family:Arial,sans-serif;font-size:14px}.notes-sidebar{width:300px;border-right:2px solid var(--backend-border);background-color:#fff;overflow-y:auto}.notes-content{flex:1 1;display:flex;flex-direction:column;background-color:#fff}@media screen and (max-width:768px){.notes-container{flex-direction:column}.notes-sidebar{width:100%;height:200px;border-right:none;border-bottom:2px solid var(--backend-border)}.notes-content{height:calc(100vh - 260px)}}.text-block-content ol,.text-block-content ul{margin:10px 0;padding-left:25px}.text-block-content ul{list-style-type:disc}.text-block-content ol{list-style-type:decimal}.text-block-content li{margin-bottom:4px;line-height:1.5}.invoice-highlight{background-color:#ff9!important;animation:highlightPulse 1s ease-in-out 3;transition:background-color .3s ease}.invoice-highlight:hover{background-color:#ff6!important}@keyframes highlightPulse{0%{background-color:#ff9}50%{background-color:#ff6}to{background-color:#ff9}}.mobile-menu-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:1000}.mobile-menu-overlay.open{display:block}.mobile-menu-content{position:fixed;top:0;right:0;width:280px;height:100%;background-color:#fff;border-left:2px solid var(--backend-border);overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;padding-top:calc(var(--mobile-nav-height, 66px) + 10px)}.mobile-company-header{padding:8px;border-bottom:1px solid var(--backend-border)}.mobile-company-name,.mobile-company-select{padding:4px;font-size:14px}.mobile-company-name{margin:0;text-align:center}.mobile-nav-item-container{display:flex;align-items:center;margin-bottom:1px;position:relative}.mobile-nav-link{display:block;font-family:Arial,sans-serif;font-size:14px;color:#000;text-decoration:none;background-color:#fff;border:1px solid #fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1;padding:8px 35px 8px 12px}.mobile-nav-link:visited{color:#000}.mobile-nav-link:hover{color:#fff!important}.mobile-nav-link.active,.mobile-nav-link:hover{background-color:var(--theme-color);border:1px solid var(--backend-border)}.mobile-nav-link.active{color:#fff;font-weight:700}.mobile-nav-link.active:visited{color:#fff}.mobile-pin-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:1px solid transparent;border-radius:2px;font-size:12px;cursor:pointer;padding:2px;opacity:.6;width:20px;height:20px;display:flex;align-items:center;justify-content:center;z-index:10;line-height:1}.mobile-nav-item-container:hover .mobile-pin-btn{opacity:1;background-color:#f5f5f5;border:1px solid #ccc;color:var(--theme-color)}.mobile-nav-item-container .mobile-pin-btn:hover{opacity:1!important;background-color:#f0f0f0!important;border:1px solid var(--backend-border)!important;color:var(--theme-color)!important;box-shadow:1px 1px 2px rgba(0,0,0,.3)!important}.mobile-nav-item-container:hover .mobile-nav-link{background-color:var(--theme-color);color:#fff!important;border:1px solid var(--backend-border)}.mobile-section-header{font-family:Arial,sans-serif;font-size:12px;font-weight:700;color:#666;text-transform:uppercase;padding:8px 12px 4px;margin-bottom:2px;border-bottom:1px solid #ccc}.mobile-section-divider{height:1px;background-color:#ccc;margin:8px 12px}.mobile-pinned-section{margin-bottom:4px}.mobile-all-items-section{flex:1 1}.mobile-signout-section{margin-top:auto;padding:10px;border-top:1px solid #ccc}.mobile-signout-link{display:block;padding:8px 12px;font-size:12px;color:#666;text-decoration:none;border-radius:2px}.mobile-signout-link:hover{background-color:#f5f5f5}.mobile-user-greeting{padding:8px 12px;font-size:11px;color:#666;font-weight:700}.mobile-account-switch{padding:8px 12px}.mobile-account-buttons{display:flex;gap:4px}.mobile-account-btn{flex:1 1;padding:4px 6px;font-size:14px;border:1px solid #ccc;cursor:pointer;border-radius:2px;font-family:Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-account-btn:disabled{cursor:not-allowed;opacity:.6}.mobile-account-btn.create{background-color:#f0f8ff;color:#06c}.mobile-loading-text{font-size:9px}.mobile-help-text,.mobile-loading-text{color:#666;margin-top:4px;text-align:center}.mobile-help-text{font-size:8px}.mobile-help-text.italic{font-style:italic;color:#999}.mobile-chart{display:none}.desktop-chart{display:block}@media screen and (max-width:768px){.mobile-menu-content{padding-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-menu-overlay{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.mobile-chart{display:block;width:100%!important}.desktop-chart{display:none}.mobile-chart table{min-width:auto!important}.mobile-chart table,.mobile-chart td{width:100%!important}.mobile-chart .info-box,.mobile-layout .info-box{width:100%!important;max-width:none!important}.mobile-layout .info-box{box-sizing:border-box!important}.mobile-layout .info-box>div{width:100%!important}.mobile-layout .info-box table{width:100%!important;min-width:auto!important}.mobile-layout .pl-overview-container{min-height:auto!important;padding:4px!important;margin:0 0 6px!important}.mobile-layout .pl-overview-container h3{font-size:14px!important;margin-bottom:6px!important}.mobile-layout .pl-overview-container h4{font-size:12px!important;margin:6px 0 3px!important}.mobile-layout .pl-overview-container table{font-size:11px!important}.mobile-layout .pl-overview-container td{padding:2px 3px!important}.mobile-layout .pl-overview-container td:first-child{width:140px!important}}.mobile-top-nav{display:none;position:fixed;top:0;left:0;right:0;z-index:1002;background-color:var(--theme-color);border-bottom:2px solid var(--backend-border)}.mobile-top-nav-content{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;min-height:50px;position:relative}.mobile-company-selector{flex:1 1;min-width:0;margin-right:12px;position:relative;z-index:1}.mobile-company-select{width:100%;max-width:calc(100vw - 80px);padding:6px 35px 6px 10px;border:none;font-size:16px;font-weight:700;font-family:Arial,sans-serif;cursor:pointer;outline:none;background:transparent;color:#fff;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 10,13 14,9'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-company-select:hover{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 10,13 14,9'/%3e%3c/svg%3e");transform:scale(1.02)}.mobile-company-select:focus{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='rgba(255,255,255,0.95)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 10,13 14,9'/%3e%3c/svg%3e");box-shadow:0 0 0 2px hsla(0,0%,100%,.2);border-radius:4px;filter:drop-shadow(0 0 4px rgba(255,255,255,.3))}.mobile-company-select[aria-expanded=true]{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,13 10,9 14,13'/%3e%3c/svg%3e");transform:scale(1.02)}.mobile-company-select[aria-expanded=true]:hover{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,13 10,9 14,13'/%3e%3c/svg%3e")}.mobile-company-select option{background-color:#fff;color:#000}.mobile-company-name{font-size:16px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 80px)}.mobile-nav-toggle{background:none;border:none;cursor:pointer;padding:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:32px;min-height:32px;width:32px;height:32px;border-radius:4px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;z-index:2;flex-shrink:0}.mobile-nav-toggle:hover{background-color:hsla(0,0%,100%,.1);transform:scale(1.02)}.mobile-nav-toggle:active{transform:scale(.98);background-color:hsla(0,0%,100%,.15)}.mobile-nav-toggle:focus{outline:none;box-shadow:0 0 0 1px hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.1)}.mobile-nav-toggle .hamburger-line{width:16px;height:2px;display:block;background-color:#fff;transition:all .3s cubic-bezier(.4,0,.2,1);border-radius:1px;position:relative;box-shadow:0 1px 2px rgba(0,0,0,.05);transform-origin:center}.mobile-nav-toggle.open .hamburger-line:first-child{transform:translateY(5px) rotate(45deg);background-color:hsla(0,0%,100%,.95)}.mobile-nav-toggle.open .hamburger-line:nth-child(2){opacity:0}.mobile-nav-toggle.open .hamburger-line:nth-child(3){transform:translateY(-5px) rotate(-45deg);background-color:hsla(0,0%,100%,.95)}.mobile-nav-toggle.open:hover .hamburger-line{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2)}.mobile-nav-toggle:focus .hamburger-line{box-shadow:0 1px 3px hsla(0,0%,100%,.4)}.sidebar-ad-container{margin-top:20px;padding:10px;border-top:1px solid #e9ecef;border-bottom:1px solid #e9ecef}@media screen and (max-width:768px){.mobile-top-nav{display:block}.mobile-menu-toggle{display:flex}.mobile-text-fix{font-size:12px!important;line-height:1.3!important;word-wrap:break-word!important;overflow-wrap:break-word!important}.mobile-card{margin-bottom:12px!important;padding:12px!important;border:1px solid var(--backend-border-light)!important;background-color:#fff!important}.mobile-card-label{font-weight:700!important;color:#666!important;margin-bottom:2px!important;font-size:11px!important}.mobile-card-value{margin-bottom:8px!important;font-size:12px!important;word-break:break-word!important}.mobile-button{padding:8px 12px!important;font-size:14px!important;margin:4px 0!important}.mobile-search{padding:12px!important}.mobile-form-input,.mobile-search{width:100%!important;font-size:14px!important;border:1px solid var(--backend-border-light)!important}.mobile-form-input{padding:10px!important;margin-bottom:8px!important}.mobile-table-cell{display:block!important;padding:8px 0!important;border-bottom:1px solid #eee!important}.mobile-table-cell:before{content:attr(data-label)!important;font-weight:700!important;display:block!important;margin-bottom:4px!important;color:#666!important;font-size:11px!important}.mobile-transaction-card{background:#fff!important;border:1px solid var(--backend-border-light)!important;margin-bottom:8px!important;padding:8px 10px!important;border-radius:6px!important}.mobile-transaction-row{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:4px!important;flex-wrap:wrap!important}.mobile-transaction-label{font-weight:700!important;color:#666!important;font-size:10px!important;min-width:72px!important;margin-right:6px!important}.mobile-transaction-value{flex:1 1!important;font-size:12px!important;word-break:break-word!important;text-align:right!important}.mobile-export-buttons{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:16px!important}.mobile-export-btn{flex:1 1!important;min-width:120px!important;padding:8px 12px!important;font-size:14px!important;border:1px solid var(--backend-border-light)!important;background:#fff!important;cursor:pointer!important}.mobile-action-buttons{gap:6px!important}.mobile-action-btn{padding:4px 8px!important;font-size:13px!important;border:1px solid var(--backend-border-light)!important;background:#fff!important;cursor:pointer!important;min-width:36px!important;min-height:32px!important}.mobile-transaction-card .action-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}.mobile-icon-btn{background-color:silver!important;border:2px outset silver!important;color:#000!important;text-decoration:none!important;min-width:32px!important}.mobile-convert-btn,.mobile-icon-btn{font-family:Arial,sans-serif!important;cursor:pointer!important;padding:3px 5px!important;margin:0 3px!important;font-size:14px!important;line-height:1!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:top!important}.mobile-convert-btn{background-color:var(--theme-color)!important;border:2px outset var(--theme-color)!important;color:#fff!important;min-width:50px!important}.desktop-table{display:none!important}.mobile-transactions{display:block!important}.mobile-layout .info-box table td{position:relative}.mobile-layout .info-box table td .status{position:absolute;right:0;top:0}.modal-body .form-table{border-spacing:8px!important;border-collapse:separate!important}.modal-body .form-table td{padding:8px 4px!important;vertical-align:top!important}.modal-body .form-table td:first-child{padding-right:12px!important;min-width:120px!important}.modal-body .form-table input,.modal-body .form-table textarea{padding:8px!important;font-size:14px!important;min-height:36px!important}.modal-body .form-table textarea{min-height:80px!important}.modal-body .form-table label{font-size:14px!important;font-weight:700!important;color:#333!important;line-height:1.4!important}.modal-body table[cellpadding="3"]{border-spacing:8px!important;border-collapse:separate!important}.modal-body table[cellpadding="3"] td,.modal-body table[cellpadding="3"] th{padding:12px 8px!important;vertical-align:middle!important;border-bottom:1px solid #e0e0e0!important}.modal-body table[cellpadding="3"] th{background-color:#f5f5f5!important;font-weight:700!important;font-size:14px!important;color:#333!important}.modal-body table[cellpadding="3"] td{font-size:14px!important;line-height:1.4!important}.modal-body table[cellpadding="3"] td[data-label]{position:relative!important}.modal-body table[cellpadding="3"] td[data-label]:before{content:attr(data-label)!important;left:8px!important;top:50%!important;font-weight:700!important;font-size:12px!important;color:#666!important;width:100px!important;text-align:left!important;display:block!important;margin-bottom:4px!important}.modal-body table[cellpadding="3"] .icon-button{margin:2px!important;padding:6px!important;min-width:32px!important;min-height:32px!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"]{display:block!important;border:none!important;background:none!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] thead{display:none!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] tbody{display:block!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] tr{display:block!important;background-color:#fff!important;border:1px solid var(--backend-border)!important;margin-bottom:6px!important;padding:8px!important;border-radius:2px!important;box-shadow:0 1px 2px rgba(0,0,0,.1)!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] td{display:block!important;border:none!important;padding:3px 0!important;background:none!important;font-size:13px!important;line-height:1.3!important;position:relative!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] td[data-label]:before{content:attr(data-label)!important;left:0!important;top:3px!important;font-weight:700!important;font-size:11px!important;color:#666!important;width:90px!important;text-align:left!important;display:block!important;margin-bottom:4px!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] td:last-child{padding-left:0!important;padding-top:6px!important;border-top:1px solid #e0e0e0!important;margin-top:4px!important;text-align:center!important}div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] td:last-child:before{display:none!important}.desktop-table .btn-danger,.desktop-table .btn-secondary,div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] .btn-danger,div[style*="position: fixed"][style*="z-index: 1000"] table[cellpadding="3"] .btn-secondary{margin:2px!important;padding:4px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;border-radius:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.mobile-action-buttons{justify-content:flex-end!important;margin-top:8px!important}.mobile-action-buttons,.search-container{display:flex!important;align-items:center!important}.search-container{gap:8px!important}.search-container .search-input{flex:1 1!important;min-width:0!important}.search-container .btn-primary{white-space:nowrap!important;flex-shrink:0!important}}@media screen and (min-width:769px){.mobile-menu-toggle{display:none}.mobile-menu-overlay,.mobile-transactions{display:none!important}.desktop-table{display:table!important}}@media screen and (max-width:768px){.mobile-documents-container{padding:8px}.mobile-documents-container h1{font-size:18px;margin-bottom:12px;text-align:center}.mobile-documents-search{margin-bottom:16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mobile-documents-search input{flex:1 1;min-width:200px;padding:12px;border:1px solid var(--backend-border);font-size:16px;border-radius:6px;background-color:var(--bg-surface);color:var(--text-strong)}.mobile-documents-search .search-buttons{display:flex;gap:8px;flex-shrink:0}.mobile-documents-search .search-buttons button{padding:12px 16px;font-size:14px;min-height:44px;white-space:nowrap}.mobile-documents-navigation{margin-bottom:16px;padding:12px;border:1px solid var(--backend-border);background-color:var(--bg-surface);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.mobile-documents-breadcrumbs{margin-bottom:12px;font-size:12px;word-wrap:break-word}.mobile-documents-breadcrumbs button{background-color:transparent;border:none;color:blue;text-decoration:underline;cursor:pointer;font-size:14px;padding:2px 4px}.mobile-documents-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.mobile-documents-actions button{padding:10px 8px;font-size:14px;white-space:nowrap}.mobile-documents-selection{margin-bottom:12px;padding:12px;border:1px solid var(--backend-border);background-color:#fffacd;display:flex;flex-direction:column;gap:8px;border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.mobile-documents-selection .selection-info{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:14px}.mobile-documents-selection .selection-controls{display:flex;gap:8px;flex-wrap:wrap}.mobile-documents-selection .selection-controls button{padding:8px 12px;font-size:14px}.mobile-documents-selection .delete-selected{background-color:#fcc;color:red;width:100%;margin-top:8px;font-size:14px}.mobile-documents-container>div>table{display:none}.mobile-documents-cards{display:flex;flex-direction:column;gap:8px}.mobile-document-card{border:1px solid var(--backend-border);background-color:var(--bg-surface);padding:12px;position:relative;cursor:pointer;border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.mobile-document-card.selected{background-color:#cce5ff;border-color:#007acc}.mobile-document-card .card-checkbox{position:absolute;top:8px;right:8px;transform:scale(1.2)}.mobile-document-card .card-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding-right:30px}.mobile-document-card .card-icon{font-size:20px;flex-shrink:0}.mobile-document-card .card-name{font-size:14px;font-weight:700;color:blue;text-decoration:underline;word-break:break-word}.mobile-document-card .card-name.folder{cursor:pointer}.mobile-document-card .card-name.file,.mobile-document-card .card-name.link{cursor:default}.mobile-document-card .card-details{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;font-size:12px;color:#666;margin-bottom:8px}.mobile-document-card .card-detail{display:flex;flex-direction:column}.mobile-document-card .card-detail-label{font-weight:700;margin-bottom:2px}.mobile-document-card .card-actions{display:flex;gap:6px;flex-wrap:wrap}.mobile-document-card .card-actions button{padding:6px 10px;font-size:14px;flex:1 1;min-width:60px}.mobile-document-card .card-actions .delete-btn{background-color:#fcc;color:red;font-size:14px}.mobile-document-card .rename-input{display:flex;gap:4px;align-items:center;margin-bottom:8px}.mobile-document-card .rename-input input{flex:1 1;padding:6px;border:1px solid var(--backend-border);font-size:14px;border-radius:6px}.mobile-document-card .rename-input button{padding:6px 8px;font-size:14px}.mobile-documents-empty{text-align:center;padding:40px 20px;border:1px solid var(--backend-border);background-color:var(--bg-surface);font-size:14px;color:#666;border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.mobile-documents-loading{text-align:center;padding:40px 20px;font-size:16px}.mobile-documents-container .modal-overlay{z-index:1005;padding-top:60px;align-items:flex-start}.mobile-documents-container .modal-content{margin:8px;max-width:calc(100vw - 16px);max-height:calc(100vh - 80px);width:95%;position:relative;top:0;transform:none}.mobile-documents-container .modal-body{max-height:calc(100vh - 200px);overflow-y:auto;padding:16px}.mobile-documents-container .modal-header{position:-webkit-sticky;position:sticky;top:0;background-color:var(--theme-color);z-index:1;padding:12px 16px}.mobile-documents-container .modal-header h2{font-size:16px}.mobile-documents-container .modal-close-btn{width:32px;height:32px;font-size:16px;min-height:44px;min-width:44px}.mobile-documents-container .form-table{width:100%}.mobile-documents-container .form-table td{display:block;padding:8px 0;border:none}.mobile-documents-container .form-table td:first-child{font-weight:700;padding-bottom:4px}.mobile-documents-container .form-table input,.mobile-documents-container .form-table textarea{width:100%;padding:12px;font-size:16px;min-height:44px;border:2px solid #000;border-radius:4px}.mobile-documents-container .form-table textarea{min-height:120px;resize:vertical}.mobile-documents-container .form-table label{display:block;margin-bottom:4px;font-weight:700;font-size:14px}.mobile-documents-container .form-table button{margin:8px 8px 8px 0;padding:12px 16px;font-size:14px}.search-container .search-input{min-width:250px!important;font-size:16px!important;padding:12px!important;min-height:44px!important}.mobile-transactions .mobile-transaction-card{background:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-sm)!important;padding:16px!important;margin-bottom:12px!important;transition:all .15s ease!important;box-shadow:0 2px 4px rgba(0,0,0,.1)!important}.mobile-transactions .mobile-transaction-card:hover{border-color:var(--theme-color)!important;background-color:var(--bg-muted)!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(0,0,0,.15)!important}.mobile-transaction-card .transaction-header{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:12px!important}.mobile-transaction-card .transaction-date{font-size:13px!important}.mobile-transaction-card .transaction-date,.mobile-transaction-card .transaction-type{font-weight:600!important;color:var(--text-muted)!important;fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'!important}.mobile-transaction-card .transaction-type{font-size:11px!important;padding:3px 8px!important;background-color:var(--bg-muted)!important;border-radius:var(--radius-sm)!important;text-transform:uppercase!important;letter-spacing:.5px!important}.mobile-transaction-card .transaction-description{font-size:16px!important;font-weight:600!important;color:var(--text-strong)!important;margin-bottom:12px!important;fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'!important;word-break:break-word!important}.mobile-transaction-card .transaction-amount-section{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:12px!important}.mobile-transaction-card .amount-label{font-size:12px!important;font-weight:600!important;color:var(--text-muted)!important;text-transform:uppercase!important;letter-spacing:.5px!important}.mobile-transaction-card .amount-label,.mobile-transaction-card .transaction-amount{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'!important}.mobile-transaction-card .transaction-amount{font-size:20px!important;font-weight:700!important}.mobile-transaction-card .transaction-amount.negative{color:#dc2626!important}.mobile-transaction-card .transaction-amount.positive{color:var(--accent-color)!important}.mobile-transaction-card .transaction-details{display:grid!important;grid-template-columns:1fr 1fr!important;grid-gap:12px 16px!important;gap:12px 16px!important;margin-bottom:12px!important}.mobile-transaction-card .transaction-detail{display:flex!important;flex-direction:column!important}.mobile-transaction-card .detail-label{font-size:11px!important;color:var(--text-muted)!important;text-transform:uppercase!important;letter-spacing:.5px!important;margin-bottom:2px!important}.mobile-transaction-card .detail-label,.mobile-transaction-card .detail-value{font-weight:600!important;fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'!important}.mobile-transaction-card .detail-value{font-size:13px!important;color:var(--text-strong)!important;word-break:break-word!important}.mobile-transaction-card .transaction-status{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:12px!important}.mobile-transaction-card .status-indicator{font-size:11px!important;padding:3px 8px!important;border-radius:var(--radius-sm)!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.5px!important;fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'!important}.mobile-transaction-card .status-reimbursed{background-color:#e8f5e8!important;color:#2e7d32!important}.mobile-transaction-card .status-pending{background-color:#ffebee!important;color:#d32f2f!important}.mobile-transaction-card .transaction-attachment{display:flex!important;align-items:center!important;gap:8px!important;padding-top:12px!important;border-top:1px solid var(--border-neutral)!important;margin-bottom:12px!important}.mobile-transaction-card .attachment-label{font-size:11px!important;color:var(--text-muted)!important;text-transform:uppercase!important;letter-spacing:.5px!important}.mobile-transaction-card .attachment-label,.mobile-transaction-card .attachment-link{font-weight:600!important;fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'!important}.mobile-transaction-card .attachment-link{background:var(--theme-color)!important;color:#fff!important;border:none!important;border-radius:var(--radius-sm)!important;padding:6px 12px!important;cursor:pointer!important;font-size:12px!important;text-decoration:none!important;display:flex!important;align-items:center!important;gap:4px!important;transition:all .15s ease!important}.mobile-transaction-card .attachment-link:hover{background-color:var(--theme-color-dark)!important}.mobile-transaction-card .mobile-action-buttons{display:flex!important;gap:8px!important;justify-content:flex-end!important;padding-top:8px!important;border-top:1px solid var(--border-neutral)!important}.mobile-action-buttons .mobile-action-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:var(--radius-sm)!important;border:1px solid var(--border-neutral)!important;background:var(--bg-surface)!important;cursor:pointer!important;transition:all .15s ease!important}.mobile-action-buttons .mobile-action-btn:hover{background-color:var(--bg-muted)!important;border-color:var(--theme-color)!important;transform:translateY(-1px)!important}.mobile-action-buttons .mobile-action-btn.btn-danger{border-color:#dc2626!important;color:#dc2626!important}.mobile-action-buttons .mobile-action-btn.btn-danger:hover{background-color:#fef2f2!important;border-color:#b91c1c!important;color:#b91c1c!important}.mobile-action-buttons .mobile-action-btn svg{width:16px!important;height:16px!important}.mobile-transaction-value[style*="text-align: right"]{text-align:right!important}.mobile-transaction-value[style*="text-align: right"]>div{justify-content:flex-end!important}}@media screen and (min-width:769px){.mobile-documents-cards{display:none}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.desktop-sidebar{display:none}@media screen and (min-width:768px){.desktop-sidebar{display:block}}.dashboard-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15);border-color:var(--theme-color)!important;background-color:var(--bg-surface)}.expenses-controls{margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.expenses-filters,.expenses-search-add{display:flex;gap:10px;align-items:center;flex-wrap:nowrap}.expenses-export{position:relative;display:inline-block}.expenses-export-dropdown{position:absolute;top:100%;left:0;background-color:var(--bg-surface);border:1px solid var(--border-neutral);border-radius:var(--radius-md);padding:12px;z-index:99999;min-width:200px;max-width:250px;box-shadow:var(--shadow-md);margin-top:4px}.export-dropdown-content{display:flex;flex-direction:column;gap:4px}.export-section{display:flex;flex-direction:column;gap:2px;margin-bottom:4px}.export-section-title{font-size:10px;font-weight:700;color:#666;margin-bottom:2px}.export-custom-dates{background-color:#e3f2fd!important;color:#1976d2!important}.export-custom-dates,.export-pl{font-size:11px!important;text-align:left!important;width:auto!important;min-width:120px!important}.export-pl{background-color:#f3e5f5!important;color:#7b1fa2!important}.export-loading{font-size:12px;color:#666;padding:4px;text-align:center}.expenses-filter-select{padding:6px 8px;border:1px solid var(--border-neutral);border-radius:var(--radius-sm);font-size:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--bg-surface);color:var(--text-strong);min-width:80px;max-width:120px;cursor:pointer;height:36px;box-sizing:border-box}.expenses-filter-select:focus{outline:none;border-color:var(--theme-color);box-shadow:var(--focus-shadow)}.expenses-search-input{width:450px!important;padding:6px 8px;border:1px solid var(--border-neutral);border-radius:var(--radius-sm);font-size:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--bg-surface);color:var(--text-strong);height:36px;box-sizing:border-box}.expenses-search-input:focus{outline:none;border-color:var(--theme-color);box-shadow:var(--focus-shadow)}.reimbursements-section{margin-bottom:20px}.reimbursements-btn{background-color:#ffa726!important;color:#fff!important;display:flex!important;align-items:center!important;gap:6px!important}.reimbursements-btn:hover{background-color:#f57c00!important;color:#fff!important}.loading-container{text-align:center;padding:20px}.loading-text{font-size:14px;color:#666}.amount-negative{text-align:right;color:#d32f2f;font-weight:700}.amount-positive{text-align:right;color:#2e7d32;font-weight:700}.reimbursement-cell{text-align:center}.reimbursed{font-size:11px;color:#2e7d32;font-weight:700}.pending-reimbursement{font-size:11px;color:#d32f2f;font-weight:700}.no-reimbursement{color:#ccc}.attachment-cell{text-align:center}.no-actions,.no-attachment{color:#ccc}.vendor-modal-layout{display:grid!important;grid-template-columns:1fr 1fr!important;grid-gap:16px!important;gap:16px!important}.vendor-list-section{margin:0!important;display:flex!important;flex-direction:column!important}.vendor-list-section h3{margin-top:0;margin-bottom:8px;font-size:14px;font-weight:700;color:var(--text-strong)}.vendor-table-container{flex:1 1}.vendor-table{width:100%!important;border-collapse:collapse!important;background-color:var(--bg-surface)!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-sm)!important}.vendor-table th{background-color:var(--bg-muted)!important;text-align:left!important;font-weight:700!important;color:var(--text-strong)!important;border-bottom:1px solid var(--border-neutral)!important}.vendor-table td,.vendor-table th{padding:6px 8px!important;font-size:12px!important}.vendor-table td{border-bottom:1px solid var(--border-neutral-light)!important;vertical-align:middle!important}.vendor-table tr:hover{background-color:var(--bg-muted)}.vendor-actions{text-align:center!important;white-space:nowrap!important}.vendor-actions .action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:2px!important;font-size:14px!important;font-weight:500!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;margin:2px!important;color:var(--text-strong)!important;background-color:#fff!important;border:1px solid var(--border-neutral)!important;border-radius:6px!important;cursor:pointer!important;text-decoration:none!important;white-space:nowrap!important;transition:all .15s ease-in-out!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;line-height:1!important;box-sizing:border-box!important}.vendor-actions .action-btn:hover{background-color:#f8f9fa!important;border-color:var(--border-neutral-strong)!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px rgba(0,0,0,.1)!important}.vendor-actions .action-btn:active{transform:translateY(0)!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}.vendor-form-section{margin:0!important;max-height:70vh!important;overflow:auto!important}.vendor-form-section h3{margin-top:0;margin-bottom:16px;font-size:16px;font-weight:700;color:var(--text-strong)}.vendor-form{width:100%}.form-table{width:100%;border-collapse:collapse}.vendor-form .form-table td:last-child{padding-right:0!important}.form-label{font-weight:700;white-space:nowrap;padding:8px 2px 8px 0;vertical-align:top;font-size:14px;color:var(--text-strong)}.form-input{width:100%!important;padding:8px!important;border:1px solid var(--border-neutral)!important;border-radius:var(--radius-sm)!important;font-size:14px!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;background-color:var(--bg-surface)!important;color:var(--text-strong)!important;box-sizing:border-box!important}.form-input:focus{outline:none;border-color:var(--theme-color);box-shadow:var(--focus-shadow)}.form-input-error{border-color:#dc3545}.form-error{color:#dc3545;font-size:12px;margin-top:4px}.form-actions{padding-top:16px!important;display:flex!important;gap:10px!important;align-items:center!important;justify-content:flex-end!important}.form-actions .btn-primary,.form-actions .btn-secondary{padding:8px 16px!important;font-size:14px!important;height:auto!important;min-height:36px!important;line-height:1.5!important}@media screen and (max-width:768px){.vendor-modal-layout{grid-template-columns:1fr!important;gap:12px!important}.vendor-form-section,.vendor-list-section{max-height:none}.form-input{max-width:100%;font-size:16px;padding:12px}.form-actions{flex-direction:column;align-items:stretch}.form-actions button{width:100%}}.expense-modal{width:100%}.expense-modal .form-table{width:100%;border-collapse:collapse}.expense-modal .form-label{font-weight:700;white-space:nowrap;padding:8px 12px 8px 0;vertical-align:top;font-size:14px;color:var(--text-strong);width:140px}.expense-modal .form-label-top{vertical-align:top;padding-top:12px}.expense-modal .form-input,.expense-modal select{width:100%;max-width:300px;padding:8px 12px;border:1px solid var(--border-neutral);border-radius:var(--radius-sm);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--bg-surface);color:var(--text-strong);box-sizing:border-box;height:36px;min-height:36px}.expense-modal .form-input:focus,.expense-modal select:focus{outline:none;border-color:var(--theme-color);box-shadow:var(--focus-shadow)}.expense-modal .vendor-control{display:flex;align-items:center;justify-content:flex-end;gap:8px}.expense-modal .action-buttons-left{display:flex;gap:6px;flex-shrink:0}.expense-modal .vendor-control .form-input,.expense-modal .vendor-control select{height:36px;min-height:36px;box-sizing:border-box;width:200px;flex-shrink:0}.expense-modal .form-table td:last-child{text-align:right}.expense-modal .customer-search .form-input{width:200px;flex-shrink:0;position:relative}.expense-modal .form-table td:last-child .form-input{width:200px;flex-shrink:0}.expense-modal .amount-control{display:flex;justify-content:flex-end;align-items:center;gap:8px;position:relative}.expense-modal .reimburse-toggle{display:flex;justify-content:flex-end;gap:6px}.expense-modal .customer-search{position:relative;display:flex;justify-content:flex-end;width:100%}.expense-modal .customer-dropdown{position:absolute;top:100%;left:0;right:0;background-color:var(--bg-surface);border:1px solid var(--border-neutral);border-radius:var(--radius-sm);max-height:120px;overflow-y:auto;z-index:1000;box-shadow:var(--shadow-md);-webkit-overflow-scrolling:touch}.expense-modal .customer-option{padding:8px 12px;cursor:pointer;border-bottom:1px solid var(--border-neutral-light);transition:background-color .15s ease}.expense-modal .customer-option:hover{background-color:var(--bg-muted)}.expense-modal .amount-prefix{position:absolute;left:8px;top:50%;transform:translateY(-50%);color:#666;pointer-events:none;z-index:1;font-size:14px}.expense-modal .amount-input{width:200px;padding-left:30px;padding-right:8px;text-align:right;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;MozAppearance:textfield}.expense-modal .expense-amount{color:#d32f2f}.expense-modal .income-amount{color:#2e7d32}.expense-modal .amount-type-toggle{display:flex;gap:6px;flex-shrink:0}.expense-modal .toggle-btn{padding:6px 12px;font-size:12px;background-color:var(--bg-muted);color:var(--text-strong);border:1px solid var(--border-neutral);border-radius:var(--radius-sm);cursor:pointer;transition:all .15s ease}.expense-modal .toggle-btn:hover{background-color:var(--border-neutral-light)}.expense-modal .toggle-btn.active{font-weight:600}.expense-modal .toggle-btn.active.expense{background-color:#d32f2f;color:#fff;border-color:#d32f2f}.expense-modal .toggle-btn.active.income,.expense-modal .toggle-btn.active.yes{background-color:#2e7d32;color:#fff;border-color:#2e7d32}.expense-modal .toggle-btn.active.no{background-color:#d32f2f;color:#fff;border-color:#d32f2f}.expense-modal .reimburse-toggle,.expense-modal .reimbursed-toggle{display:flex;gap:10px}.expense-modal .file-upload-section{width:100%}.expense-modal .file-upload-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;width:100%;max-width:420px;margin:8px auto 0}.expense-modal .file-upload-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px 16px;font-size:15px;font-weight:500;background-color:var(--bg-muted);color:var(--text-strong);border:1px solid var(--border-neutral);border-radius:var(--radius-md);cursor:pointer;transition:all .15s ease;touch-action:manipulation;min-height:48px}.expense-modal .file-upload-button:focus,.expense-modal .file-upload-button:hover{outline:none;border-color:var(--theme-color);box-shadow:0 0 0 1px rgba(22,98,197,.2)}.expense-modal .file-upload-button svg{width:18px;height:18px}.expense-modal .drag-drop-zone{border:2px dashed var(--border-neutral);border-radius:var(--radius-md);padding:24px 16px;text-align:center;cursor:pointer;transition:all .15s ease;background-color:var(--bg-muted);color:var(--text-strong)}.expense-modal .drag-drop-zone:hover{border-color:var(--theme-color);background-color:rgba(37,99,235,.05)}.expense-modal .drag-drop-zone.drag-over{border-color:var(--theme-color);background-color:rgba(37,99,235,.1);transform:scale(1.02)}.expense-modal .drag-drop-zone svg{color:var(--theme-color);margin-bottom:12px}.expense-modal .drag-drop-zone p{margin:8px 0;font-size:14px}.expense-modal .file-hint{font-size:12px;color:#666;margin-top:4px}.expense-modal .file-mobile-helper{font-size:13px;color:#666;text-align:center;margin:12px auto 0;max-width:420px}.expense-modal .file-preview{margin-top:16px;padding:16px;border:1px solid var(--border-neutral);border-radius:var(--radius-sm);background-color:var(--bg-muted)}.expense-modal .file-info{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.expense-modal .file-details strong{display:block;margin-bottom:4px;font-size:14px}.expense-modal .file-meta{font-size:12px;color:#666}.expense-modal .remove-file-btn{background-color:#dc3545;color:#fff;border:none;border-radius:var(--radius-sm);padding:6px;cursor:pointer;transition:background-color .15s ease;display:flex;align-items:center;justify-content:center}.expense-modal .remove-file-btn:hover{background-color:#c82333}.expense-modal .image-preview{margin-top:12px}.expense-modal .preview-image{max-width:200px;max-height:200px;object-fit:contain;border:1px solid var(--border-neutral);border-radius:var(--radius-sm)}.expense-modal .form-actions{padding-top:16px;display:flex;gap:10px;align-items:center;justify-content:flex-end}@media screen and (max-width:768px){.expense-modal .form-label{width:100px;font-size:13px}.expense-modal .form-input,.expense-modal select{max-width:100%;font-size:16px;padding:12px}.expense-modal .amount-control{flex-direction:column;align-items:stretch;gap:8px}.expense-modal .amount-input{width:100%}.expense-modal .amount-type-toggle{justify-content:center}.expense-modal .vendor-control{flex-wrap:wrap;gap:8px}.expense-modal .form-actions{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;grid-gap:10px;gap:10px}.expense-modal .form-actions button{width:100%;min-height:44px;touch-action:manipulation;position:relative;z-index:0}.expense-modal .form-table,.expense-modal .form-table tbody,.expense-modal .form-table td,.expense-modal .form-table tr{position:static!important}.expense-modal .amount-control>div,.expense-modal .amount-input{width:100%!important}.expense-modal .vendor-control{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;grid-gap:8px!important;gap:8px!important;justify-content:stretch!important}.expense-modal .customer-search .form-input,.expense-modal .form-table td:last-child .form-input,.expense-modal .vendor-control select,.expense-modal input[type=date],.expense-modal input[type=number],.expense-modal input[type=text],.expense-modal select,.expense-modal textarea{width:100%!important;max-width:100%!important;min-width:0!important}.expense-modal .customer-search{justify-content:stretch!important;width:100%!important}.expense-modal .form-table tr:after{display:none!important;content:none!important}.expense-modal .form-table td:last-child,.expense-modal .form-table td[data-label]{position:static!important;bottom:auto!important;right:auto!important}.expense-modal .form-table td:last-child{text-align:left!important}.expense-modal .form-table select,.expense-modal select{height:44px!important;min-height:44px!important;line-height:normal!important}.expenses-controls{flex-direction:column;align-items:stretch;gap:12px}.expenses-filters{overflow-x:auto}.expenses-filters,.expenses-search-add{justify-content:center;gap:8px;flex-wrap:nowrap}.expenses-search-input{width:100%!important;max-width:350px!important}.expenses-filter-select{min-width:60px;max-width:100px;font-size:14px;padding:8px;height:44px}.expenses-export-dropdown{left:50%;transform:translateX(-50%);min-width:250px}}