:root{--brand-primary: #F26923;--brand-secondary: #F99C1C;--brand-tertiary: #8b5cf6;--status-success: #10b981;--status-success-light: #d1fae5;--status-info: #3b82f6;--status-info-light: #dbeafe;--status-open: #8b5cf6;--status-open-light: #ede9fe;--status-warning: #f59e0b;--status-warning-light: #fef3c7;--status-error: #ef4444;--status-error-light: #fee2e2}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#f8fafc;min-height:100vh;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow:hidden}html{height:100%;overflow:hidden}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.app-container{width:100vw;height:100vh;background:#fff;overflow:hidden;display:flex;flex-direction:column}.app-body{display:flex;flex:1;overflow:hidden}.sidebar{width:220px;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:visible;flex-shrink:0;transition:width .3s ease;position:relative}.sidebar.collapsed{width:70px}.sidebar-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#9ca3af}.sidebar-item{display:flex;align-items:center;gap:10px;padding:10px 14px;margin-bottom:4px;color:#6b7280;background:transparent;border:none;border-radius:8px;cursor:pointer;font-size:13px;font-weight:500;transition:all .15s ease;width:100%;text-align:left;position:relative;white-space:nowrap}.sidebar.collapsed .sidebar-item{justify-content:center;padding:12px 8px;gap:0}.sidebar-item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .2s ease;flex:1;min-width:0}.sidebar.collapsed .sidebar-item-text{display:none;width:0;overflow:hidden}.sidebar-item-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center}.sidebar-item:hover{background:#f3f4f6;color:#374151}.sidebar-item.active{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%);color:#fff;font-weight:600;box-shadow:0 1px 4px #0000001a}.sidebar-item.active:hover{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%);box-shadow:0 2px 6px #00000026}.sidebar.collapsed .sidebar-item:after{content:attr(data-tooltip);position:absolute;left:100%;top:50%;transform:translateY(-50%);background:#1f2937;color:#fff;padding:6px 12px;border-radius:6px;font-size:13px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease;margin-left:10px;z-index:1000;box-shadow:0 4px 6px #0000001a}.sidebar.collapsed .sidebar-item:hover:after{opacity:1}.sidebar-accordion{margin-bottom:4px}.sidebar-accordion-header{display:flex;align-items:center;gap:10px;padding:10px 14px;color:#6b7280;background:transparent;border:none;border-radius:8px;cursor:pointer;font-size:13px;font-weight:500;transition:all .15s ease;width:100%;text-align:left;position:relative}.sidebar-accordion-header .sidebar-item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.sidebar-accordion-header:hover{background:#f3f4f6;color:#374151}.sidebar-accordion-header.has-active{color:var(--brand-primary)}.sidebar-accordion-arrow{margin-left:auto;flex-shrink:0;transition:transform .2s ease}.sidebar-accordion-arrow.expanded{transform:rotate(180deg)}.sidebar-accordion-content{max-height:0;overflow:hidden;transition:max-height .25s ease-out}.sidebar-accordion-content.expanded{max-height:300px}.sidebar-subitem{display:flex;align-items:center;gap:12px;padding:10px 16px 10px 44px;color:#6b7280;background:transparent;border:none;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;transition:all .15s ease;width:100%;text-align:left;margin:2px 0;white-space:nowrap}.sidebar-subitem:hover{background:#f3f4f6;color:#374151}.sidebar-subitem.active{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%);color:#fff;font-weight:600}.sidebar-subitem-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:16px;height:16px}.sidebar.collapsed .sidebar-accordion-header{justify-content:center;padding:12px 8px;gap:0}.sidebar.collapsed .sidebar-accordion-arrow,.sidebar.collapsed .sidebar-accordion-header .sidebar-item-text{display:none;width:0;overflow:hidden}.sidebar.collapsed .sidebar-accordion-content{display:none}.sidebar.collapsed .sidebar-accordion-header:after{content:attr(data-tooltip);position:absolute;left:100%;top:50%;transform:translateY(-50%);background:#1f2937;color:#fff;padding:6px 12px;border-radius:6px;font-size:13px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease;margin-left:10px;z-index:1000;box-shadow:0 4px 6px #0000001a}.sidebar.collapsed .sidebar-accordion-header:hover:after{opacity:1}.sidebar-divider{display:none}.sidebar-toggle{position:absolute;right:-14px;top:50%;transform:translateY(-50%);width:28px;height:28px;background:#fff;border:1px solid #e5e7eb;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #00000026;transition:all .2s ease;z-index:50}.sidebar.collapsed .sidebar-toggle{right:-14px;top:50%;transform:translateY(-50%)}.sidebar-toggle:hover{background:#f9fafb;box-shadow:0 2px 8px #00000026}.sidebar-toggle svg{width:14px;height:14px;transition:transform .3s ease;color:#6b7280}.sidebar-toggle:hover svg{color:#374151}.sidebar.collapsed .sidebar-toggle svg{transform:rotate(180deg)}.content-wrapper{flex:1;overflow-y:auto;background:#f9fafb}.header{background:#fff;color:#212529;padding:20px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9ecef;box-shadow:0 1px 3px #0000000d}.header h1{font-size:24px;font-weight:600;color:#212529}.user-info{display:flex;align-items:center;gap:15px}.logout-btn{background:var(--brand-primary);color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:600;font-size:14px;transition:all .3s}.logout-btn:hover{background:var(--brand-secondary);transform:translateY(-2px)}.main-content{padding:24px;flex:1;max-width:1400px;margin:0 auto;width:100%}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:30px}.dashboard-card{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .3s;cursor:pointer;display:flex;flex-direction:column;height:100%;overflow:hidden}.dashboard-card:hover{border-color:var(--brand-primary);box-shadow:0 4px 12px #f2692326}.dashboard-card h3{color:#1e293b;font-size:18px;font-weight:700;margin-bottom:15px;display:flex;align-items:center;gap:10px;flex-shrink:0}.dashboard-card .card-list{flex:1;overflow-y:auto;min-height:0}.widget-section{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:24px;height:100%;display:flex;flex-direction:column;overflow:hidden;min-height:0}.widget-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #e2e8f0;flex-shrink:0}.widget-title{font-size:14px;font-weight:600;color:#374151;display:flex;align-items:center;gap:8px}.widget-title svg{color:#9ca3af;stroke:#9ca3af}.quick-actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.quick-action-btn{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%);color:#fff;border:none;padding:16px 20px;border-radius:10px;cursor:pointer;font-weight:600;font-size:14px;transition:all .3s;display:flex;align-items:center;gap:10px;text-align:left}.quick-action-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #f269234d}.quick-action-btn .icon{font-size:20px}.activity-list{list-style:none}.activity-item{display:flex;gap:16px;padding:16px 20px;border-bottom:1px solid #f1f5f9;align-items:start}.activity-item:last-child{border-bottom:none}.activity-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.activity-icon.payroll{background:#dbeafe}.activity-icon.employee{background:#d1fae5}.activity-icon.location{background:#fef3c7}.activity-content{flex:1}.activity-title{font-weight:600;color:#1e293b;margin-bottom:4px;font-size:14px}.activity-description{font-size:13px;color:#64748b;margin-bottom:4px}.activity-time{font-size:12px;color:#94a3b8}.empty-widget{text-align:center;padding:40px 20px;color:#94a3b8}.empty-widget-icon{font-size:48px;margin-bottom:12px;opacity:.5}.view-all-link{color:var(--brand-primary);font-size:14px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:4px;transition:all .3s}.view-all-link:hover{gap:8px}.badge{background:var(--brand-primary);color:#fff;padding:4px 10px;border-radius:12px;font-size:13px;font-weight:600}.card-list{list-style:none;max-height:300px;overflow-y:auto}.card-list li{padding:10px 0;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.card-list li:last-child{border-bottom:none}.btn{background:var(--brand-primary);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:600;font-size:14px;transition:all .3s}.btn:hover{background:var(--brand-secondary);transform:translateY(-2px)}.btn-small{padding:6px 12px;font-size:12px}.btn-secondary{background:#64748b}.btn-secondary:hover{background:#475569}.btn-success{background:#10b981}.btn-success:hover{background:#059669}.btn-danger{background:#ef4444}.btn-danger:hover{background:#dc2626}.btn-warning{background:#f59e0b}.btn-warning:hover{background:#d97706}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#1e293b;font-weight:600;font-size:14px}.form-control{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:6px;font-size:14px;transition:border-color .3s}.form-control:focus{outline:none;border-color:var(--brand-primary)}.form-control:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.form-grid-2col{display:grid;display:-webkit-grid;grid-template-columns:1fr 1fr;-webkit-grid-template-columns:1fr 1fr;gap:20px;word-break:break-word;overflow-wrap:break-word;-webkit-overflow-wrap:break-word}.form-grid-2col>div,.form-grid-3col>div{min-width:0;overflow:hidden;text-overflow:ellipsis}.form-grid-3col{display:grid;display:-webkit-grid;grid-template-columns:1fr 1fr 1fr;-webkit-grid-template-columns:1fr 1fr 1fr;gap:20px;word-break:break-word;overflow-wrap:break-word;-webkit-overflow-wrap:break-word}select.form-control{height:42px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s;padding:20px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow:auto}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:#fff;border-radius:12px;max-width:800px;width:90%;max-height:90vh;animation:slideUp .3s;display:flex;flex-direction:column;position:relative;overflow-x:hidden}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.modal-header{padding:30px 30px 20px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.modal-body{padding:30px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;overscroll-behavior:contain;word-break:break-word}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-footer{padding:20px 30px;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 12px 12px;flex-shrink:0;position:sticky;bottom:0;z-index:10}.modal h2{color:#1e293b;margin-bottom:20px;font-size:24px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:0}.modal:not(:has(.modal-body)){padding:30px;overflow-y:auto}.modal:not(:has(.modal-body)) .modal-actions{margin-top:20px}table{width:100%;border-collapse:collapse;margin-top:20px}th,td{padding:12px;text-align:left;border-bottom:1px solid #e2e8f0}th{background:#f8fafc;color:#1e293b;font-weight:600;font-size:14px}td{font-size:14px;color:#475569}tr:hover{background:#f8fafc}.status-badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;display:inline-block;width:fit-content;max-width:100px}.status-open{background:#ede9fe;color:#8b5cf6}.status-submitted{background:#dbeafe;color:#1e40af}.status-processed{background:#e0e7ff;color:#3730a3}.status-complete,.status-active{background:#d1fae5;color:#065f46}.status-inactive{background:#fee2e2;color:#991b1b}.employee-name{font-weight:600;color:#1e293b;margin-bottom:10px;font-size:15px}.login-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:40px 20px 120px;overflow-y:auto}@media (max-width: 600px){.login-container{justify-content:flex-start;padding:30px 15px;min-height:100vh}}.login-card{background:#fff;padding:40px;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:400px}.login-card h2{color:#1e293b;margin-bottom:30px;text-align:center;font-size:28px}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper .form-control{padding-right:45px}.password-toggle{position:absolute;right:12px;background:none;border:none;color:#64748b;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;transition:color .2s ease;border-radius:4px}.password-toggle:hover{color:var(--brand-primary);background:#f1f5f9}.password-toggle:focus{outline:2px solid var(--brand-primary);outline-offset:2px}.password-toggle svg{display:block}.empty-state{text-align:center;padding:40px;color:#94a3b8}.empty-state-icon{font-size:48px;margin-bottom:15px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{color:#1e293b;font-size:22px}.search-box{width:100%;max-width:400px;padding:10px 12px;border:2px solid #e2e8f0;border-radius:6px;font-size:14px;margin-bottom:20px}.search-box:focus{outline:none;border-color:var(--brand-primary)}.tabs-container{display:flex;gap:10px;margin-bottom:20px}.tab-button{padding:10px 20px;border:2px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s}.tab-button.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.document-card{border:2px solid #e2e8f0;border-radius:8px;padding:15px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}.document-card:hover{border-color:var(--brand-primary)}.weekly-overview-grid{display:grid;gap:15px}.overview-location-card{border:2px solid #e2e8f0;border-radius:8px;padding:20px;background:#fff}.overview-location-card h4{color:#1e293b;margin-bottom:15px;font-size:18px}.location-detail-tabs{display:flex;gap:10px;margin-top:20px;margin-bottom:20px;border-bottom:2px solid #e2e8f0}.location-detail-tab{padding:10px 20px;border:none;background:none;color:#64748b;font-weight:600;cursor:pointer;border-bottom:3px solid transparent;transition:all .3s}.location-detail-tab.active{color:var(--brand-primary);border-bottom-color:var(--brand-primary)}@media (max-width: 768px){.app-body{flex-direction:column}.sidebar,.sidebar.collapsed{width:100%!important;height:auto!important;min-height:0!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;border-right:none!important;border-bottom:1px solid #e5e7eb;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;flex-shrink:0!important}.sidebar::-webkit-scrollbar{display:none}.sidebar-toggle{display:none!important}.sidebar-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;padding:8px 10px!important;gap:8px!important;width:max-content!important;min-width:max-content!important;overflow:visible!important;flex:0 0 auto!important}.sidebar-item,.sidebar.collapsed .sidebar-item{width:auto!important;white-space:nowrap!important;padding:10px 16px!important;margin-bottom:0!important;border-radius:6px!important;flex-shrink:0!important;justify-content:flex-start!important;display:inline-flex!important;align-items:center!important;gap:8px!important}.sidebar-item-text,.sidebar.collapsed .sidebar-item-text{opacity:1!important;width:auto!important;display:inline!important;overflow:visible!important}.sidebar-item.active{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%);color:#fff}.sidebar-item:hover{background:#f3f4f6}.sidebar-item.active:hover{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%)}.sidebar-accordion{display:contents!important}.sidebar-accordion-header{display:none!important}.sidebar-accordion-content{display:contents!important;max-height:none!important;overflow:visible!important}.sidebar-subitem{width:auto!important;white-space:nowrap!important;padding:10px 16px!important;margin-bottom:0!important;border-radius:6px!important;flex-shrink:0!important;justify-content:flex-start!important;display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:14px!important}.sidebar-subitem.active{background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-secondary) 100%);color:#fff}.sidebar-subitem-icon{display:flex!important}.sidebar-divider{display:none!important}.header{padding:10px 15px!important;flex-wrap:wrap!important}.header h1{font-size:18px!important}.header img{max-height:40px!important;max-width:100px!important;margin-right:8px!important}.user-info{gap:8px!important}.user-info span{font-size:13px!important}.logout-btn{padding:6px 12px!important;font-size:12px!important}.quick-clock-btn{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}.pending-items-tabs{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.pending-items-tabs button{padding:10px 6px!important}.pending-items-tabs button>div:first-child{font-size:20px!important}.pending-items-tabs button>div:last-child{font-size:11px!important}.location-detail-tabs{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important}.location-detail-tab{white-space:nowrap!important;flex-shrink:0!important;font-size:13px!important;padding:10px 16px!important}.location-employees-header{display:none!important}.modal .payroll-summary-grid,div.payroll-summary-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.modal .payroll-summary-grid>div,div.payroll-summary-grid>div{padding:8px!important}.modal .payroll-summary-grid>div>div:first-child,div.payroll-summary-grid>div>div:first-child{font-size:10px!important}.modal .payroll-summary-grid>div>div:last-child,div.payroll-summary-grid>div>div:last-child{font-size:16px!important}.modal{width:95vw!important;max-width:95vw!important;max-height:90vh!important;margin:0!important;overflow-y:auto!important}.modal-actions{flex-wrap:wrap!important;gap:10px!important}.modal-actions button{width:auto!important;margin:0!important;flex-shrink:0!important}.widget{min-width:100%!important;max-width:100%!important}.dashboard-grid{grid-template-columns:1fr!important}table{min-width:600px!important}td>div[style*="display: 'flex'"],td>div[style*="display: flex"]{flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}td .btn,td .btn-small{padding:6px 8px!important;font-size:11px!important}.page-header h1{font-size:24px!important}.page-header p{font-size:13px!important}.btn{font-size:13px!important;padding:8px 12px!important;white-space:nowrap!important;width:auto!important;flex-shrink:0!important}.modal button,.modal .btn{width:auto!important;flex-shrink:0!important}.tabs-container{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important;padding-bottom:8px!important;margin-bottom:12px!important}.tabs-container::-webkit-scrollbar{height:4px}.tabs-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.tabs-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.tab-button{flex-shrink:0!important;white-space:nowrap!important;font-size:12px!important;padding:8px 14px!important}[style*="display: flex"][style*=gap]{overflow-x:auto;-webkit-overflow-scrolling:touch}.form-grid-2col,.form-grid-3col,div[style*="grid-template-columns: 1fr 1fr"],div[style*="grid-template-columns:1fr 1fr"],div[style*="grid-template-columns: 1fr 1fr 1fr"],div[style*="grid-template-columns:1fr 1fr 1fr"],.modal div[style*="display: grid"],.modal-body div[style*="display: grid"]{grid-template-columns:1fr!important;-webkit-grid-template-columns:1fr!important}.modal div[style*="grid-column: 1 / -1"]{grid-column:1 / -1!important}.account-settings-layout{flex-direction:column!important}.account-settings-sidebar{width:100%!important;flex-direction:row!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;padding:8px!important;gap:8px!important;flex-wrap:nowrap!important;height:auto!important}.account-settings-sidebar button{flex-shrink:0!important;white-space:nowrap!important;width:auto!important;padding:10px 16px!important;margin:0!important}.account-settings-sidebar>div:first-child{display:none!important}.account-settings-content{width:100%!important}.sidebar{-webkit-overflow-scrolling:touch!important;scroll-behavior:smooth}.sidebar-nav{scroll-snap-type:x mandatory}.sidebar-item{scroll-snap-align:start}.btn-group,div[style*="display: 'flex'"][style*=gap]>button,.modal-actions{flex-wrap:wrap!important}.tabs-container{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;gap:8px!important;padding-bottom:10px!important;margin-bottom:16px!important;scroll-snap-type:x mandatory}.tabs-container .tab-button,.tabs-container button{flex-shrink:0!important;scroll-snap-align:start}.table-responsive,div[style*=overflow][style*=auto] table,.modal-body table{display:block;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.modal-body div[style*="display: 'grid'"]{grid-template-columns:1fr!important}.modal-body div[style*="display: 'flex'"][style*=gap]{flex-wrap:wrap!important}.modal-body,.modal-header{padding:16px!important}.form-control,input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=date],select,textarea{max-width:100%!important;box-sizing:border-box!important}.page-container,.main-content{overflow-x:hidden!important;max-width:100vw!important}.sidebar-item,.tab-button,button{min-height:44px}.header{padding:8px 12px!important;gap:8px!important;flex-wrap:nowrap!important}.header h1{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100px!important}.header>div:first-child{flex-shrink:1!important;min-width:0!important;overflow:hidden!important}.header>div:first-child img{max-height:40px!important;max-width:80px!important}.user-info{gap:6px!important;flex-shrink:0!important}.quick-clock-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}.logout-btn{padding:6px 10px!important;font-size:11px!important}.team-status-header{flex-direction:column!important;gap:16px!important;align-items:flex-start!important}.team-status-header h1{font-size:20px!important}.team-status-header>div:last-child{width:100%!important}.team-status-header button{width:100%!important}.team-status-stats{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}.team-status-filters{flex-direction:column!important;gap:12px!important}.team-status-filters>div,.team-status-filters>select{width:100%!important;min-width:100%!important}.team-status-card{padding:14px!important}.team-status-card-header{flex-direction:column!important;gap:12px!important}.team-status-card-actions{width:100%!important;justify-content:flex-start!important}.timesheets-filters{flex-direction:column!important;gap:12px!important}.timesheets-filters>div{width:100%!important}.timesheets-week-nav{width:100%!important;justify-content:space-between!important}.timesheets-week-nav select{flex:1!important;min-width:0!important}.timesheet-table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.timesheet-card{padding:12px!important}.timesheet-card-header{flex-direction:column!important;gap:8px!important}.timesheet-card-actions{width:100%!important;flex-wrap:wrap!important}.timesheet-card-actions button{flex:1!important;min-width:80px!important}.my-timeclock-clock-display{padding:24px 16px!important}.my-timeclock-time{font-size:42px!important;letter-spacing:-1px!important}.my-timeclock-buttons{flex-direction:column!important;gap:10px!important}.my-timeclock-buttons button{width:100%!important;min-width:0!important}.my-timesheet-stats{grid-template-columns:1fr!important;gap:12px!important}.my-timesheet-stats>div{padding:16px!important}.my-timesheet-stats .stat-number{font-size:28px!important}.my-timesheet-week-selector{flex-direction:column!important;gap:12px!important;align-items:stretch!important}.my-timesheet-week-nav{width:100%!important;justify-content:space-between!important}.my-timesheet-week-nav select{flex:1!important;min-width:0!important;max-width:none!important}.my-timesheet-daily-row{grid-template-columns:80px 1fr 50px 24px!important;gap:8px!important;padding:12px!important}.my-timesheet-daily-row>div:first-child{min-width:80px!important}.my-timesheet-daily-times{flex:1!important;min-width:150px!important;gap:12px!important}.my-timesheet-daily-hours{min-width:60px!important}.my-timesheet-submit{flex-direction:column!important;gap:12px!important;text-align:center!important}.my-timesheet-submit button{width:100%!important}.team-status-stats{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.team-status-stats button{padding:14px!important}.team-status-stats button>div:first-child{font-size:24px!important}.team-status-stats button>div:last-child{font-size:12px!important}.team-status-table-container{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.team-status-table-header,.team-status-table-row{min-width:650px!important;gap:8px!important}.team-status-table-header>div,.team-status-table-row>div{padding:0 4px!important}.timesheets-page-filters{flex-direction:column!important;gap:12px!important}.timesheets-page-filters>div,.timesheets-page-filters>select{width:100%!important;min-width:0!important}.timesheets-page-stats{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.timesheets-page-stats>div{padding:12px!important}.timesheets-page-stats .stat-number{font-size:24px!important}.timesheets-page-stats .stat-label{font-size:11px!important}.timesheets-page-stats>div:nth-child(5){display:none!important}div[style*="gridTemplateColumns: 'repeat(3, 1fr)'"]{grid-template-columns:1fr!important}}@media (min-width: 769px) and (max-width: 1024px){.dashboard-grid{grid-template-columns:repeat(2,1fr)!important}.widget[data-width=quarter],.widget[data-width=half]{grid-column:span 1!important}}@media (min-width: 1200px){.dashboard-grid{gap:24px}.content-wrapper{padding:24px}}@media (min-width: 1400px){.main-content{max-width:1800px;margin:0 auto}}@media (min-width: 1600px){.dashboard-grid{gap:28px}.widget{padding:24px}}@media (max-width: 480px){.header{padding:6px 10px!important}.header h1{display:none!important}.header>div:first-child img{max-height:36px!important;max-width:60px!important}.user-info{gap:4px!important}.quick-clock-btn{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important}.quick-clock-btn svg{width:12px!important;height:12px!important}.logout-btn{padding:4px 8px!important;font-size:10px!important}.pending-items-tabs{grid-template-columns:repeat(2,1fr)!important}.widget-title{font-size:13px!important}.account-settings-content{padding:16px!important}.account-settings-sidebar button{padding:8px 12px!important;font-size:12px!important}.modal{width:100vw!important;max-width:100vw!important;border-radius:0!important;max-height:100vh!important}.modal-body,.modal-header{padding:12px!important}.view-mode-toggle span{display:none!important}.sidebar-item{padding:10px 12px!important}.my-timeclock-clock-display{padding:20px 12px!important}.my-timeclock-time{font-size:36px!important;letter-spacing:0!important}.my-timesheet-stats .stat-number{font-size:24px!important}.team-status-stats{grid-template-columns:repeat(2,1fr)!important}.team-status-stats button>div:first-child{font-size:20px!important}.team-status-stats button>div:last-child{font-size:11px!important}.timesheets-page-stats{grid-template-columns:repeat(2,1fr)!important}}@media (max-width: 320px){.sidebar-nav{gap:4px!important}.sidebar-item{padding:8px 10px!important;font-size:12px!important}.sidebar-item-text{display:none!important}.sidebar-item{justify-content:center!important}.header h1{display:none!important}.btn{padding:6px 10px!important;font-size:11px!important}}@media print{body{background:#fff;padding:0}.app-container{box-shadow:none;border-radius:0}.header,.sidebar,.modal-actions,.btn{display:none!important}.modal{max-width:100%;max-height:none;padding:20px}.modal-overlay{position:static;background:#fff}table{page-break-inside:auto}tr{page-break-inside:avoid;page-break-after:auto}.print-header{text-align:center;margin-bottom:30px}.print-invoice-total{margin-top:30px;padding-top:20px;border-top:3px solid #1e293b;text-align:right;font-size:18px;font-weight:700}}button .icon,.widget-title,.quick-action-btn .icon{font-weight:400}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;animation:modalFadeIn .2s ease-out}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.modal-container{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:500px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:24px 24px 16px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:12px}.modal-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:24px}.modal-icon.confirm{background:#fef3c7;color:#f59e0b}.modal-icon.alert{background:#fee2e2;color:#ef4444}.modal-icon.success{background:#d1fae5;color:#10b981}.modal-icon.info{background:#dbeafe;color:#3b82f6}.modal-title{font-size:18px;font-weight:600;color:#111827;flex:1}.modal-body{padding:24px;overflow-y:auto;flex:1}.modal-message{color:#374151;line-height:1.6;white-space:pre-wrap;word-wrap:break-word}.modal-message ul{margin:12px 0;padding-left:24px}.modal-message li{margin:4px 0}.modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end}.modal-btn{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s ease;border:none;outline:none}.modal-btn:focus{outline:2px solid var(--brand-tertiary);outline-offset:2px}.modal-btn-primary{background:var(--brand-tertiary);color:#fff}.modal-btn-primary:hover{background:#5568d3}.modal-btn-primary:active{transform:scale(.98)}.modal-btn-secondary{background:#f3f4f6;color:#374151}.modal-btn-secondary:hover{background:#e5e7eb}.modal-btn-secondary:active{transform:scale(.98)}.modal-btn-danger{background:#ef4444;color:#fff}.modal-btn-danger:hover{background:#dc2626}.modal-btn-danger:active{transform:scale(.98)}.modal-container.modal-small{max-width:400px}.modal-container.modal-medium{max-width:500px}.modal-container.modal-large{max-width:700px}.modal-container.modal-xlarge{max-width:900px}@media (max-width: 640px){.modal-container{max-width:100%;margin:0 16px}.modal-header{padding:20px 20px 12px}.modal-body{padding:20px}.modal-footer{padding:12px 20px;flex-direction:column-reverse}.modal-btn{width:100%}}.loading-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1100;animation:fadeIn .2s}.loading-modal-container{background:#fff;border-radius:12px;padding:40px;display:flex;flex-direction:column;align-items:center;gap:20px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:modalSlideIn .2s ease-out}.loading-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:var(--brand-tertiary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{font-size:16px;font-weight:600;color:#374151}.toast-container{position:fixed;top:20px;right:20px;z-index:1200;display:flex;flex-direction:column;gap:12px;pointer-events:none}.toast{background:#fff;border-radius:8px;padding:16px 20px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;align-items:center;gap:12px;min-width:300px;max-width:400px;animation:toastSlideIn .3s ease-out;pointer-events:auto;border-left:4px solid}.toast.toast-exit{animation:toastSlideOut .3s ease-in}@keyframes toastSlideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes toastSlideOut{0%{transform:translate(0);opacity:1}to{transform:translate(400px);opacity:0}}.toast-success{border-left-color:#10b981}.toast-error{border-left-color:#ef4444}.toast-warning{border-left-color:#f59e0b}.toast-info{border-left-color:#3b82f6}.toast-icon{font-size:20px;flex-shrink:0}.toast-content{flex:1}.toast-title{font-weight:600;font-size:14px;color:#111827;margin-bottom:2px}.toast-message{font-size:13px;color:#6b7280;line-height:1.4}.toast-close{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:18px;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .15s;flex-shrink:0}.toast-close:hover{background:#f3f4f6;color:#374151}@media (max-width: 640px){.toast-container{top:10px;right:10px;left:10px}.toast{min-width:auto;max-width:100%}.payroll-history-filters{grid-template-columns:1fr!important;gap:12px!important}.payroll-history-filters>div{width:100%!important}.payroll-history-filters button{width:100%!important}}@media (max-width: 768px){[style*=grid-column]{grid-column:span 12!important}}@media (min-width: 769px) and (max-width: 1024px){[style*="grid-column: span 3"]{grid-column:span 6!important}}@media (min-width: 768px) and (max-width: 1024px){.widget-section{padding:18px!important}.pending-items-tabs{grid-template-columns:repeat(2,1fr)!important;gap:8px!important;margin-left:auto!important;margin-right:auto!important}.pending-items-tabs button{padding:10px 8px!important}}.shift-view-day-selector{display:none!important}.shift-view-desktop{display:grid!important}.shift-view-mobile{display:none!important}@media (max-width: 900px){.shift-view-day-selector{display:block!important}.shift-view-desktop{display:none!important}.shift-view-mobile{display:block!important}}@media print{.no-print,.modal-overlay,.modal-actions,button,.sidebar,.topbar,.header,.btn,input,select,textarea{display:none!important}*{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;z-index:auto!important}.print-content{display:block!important;width:100%!important;margin:0!important;padding:0!important}@page{size:letter portrait;margin:.5in .75in}body{background:#fff!important;color:#000!important;margin:0!important;padding:0!important;overflow:visible!important}.app-container{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}.modal{box-shadow:none!important;border:none!important;max-width:100%!important;width:100%!important;padding:0!important;margin:0!important;overflow:visible!important}.modal-body{padding:0!important;margin:0!important;width:100%!important;overflow:visible!important}div{max-width:none!important;overflow:visible!important}.print-header{text-align:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #000}.print-header h2{margin:0 0 5px;font-size:20px;font-weight:700}.print-header h3{margin:0 0 5px;font-size:16px;font-weight:400}.print-header p{margin:3px 0;font-size:12px}table{width:100%!important;border-collapse:collapse!important;font-size:9px!important;page-break-inside:auto!important;margin:15px 0!important}thead{display:table-header-group!important}tbody{display:table-row-group!important}tr{page-break-inside:avoid!important;page-break-after:auto!important}th{background:#f3f4f6!important;border:1px solid #333!important;padding:4px 3px!important;font-weight:700!important;font-size:8px!important;text-align:center!important}td{border:1px solid #666!important;padding:4px 3px!important;font-size:8px!important;text-align:center!important}th:first-child,td:first-child{text-align:left!important;padding-left:6px!important}th:last-child,td:last-child,th:nth-last-child(2),td:nth-last-child(2){text-align:right!important;padding-right:6px!important}.print-compact table{font-size:7px!important}.print-compact th,.print-compact td{padding:2px 1px!important;font-size:6px!important}.print-table{width:100%;border-collapse:collapse;margin:15px 0;font-size:10px}.print-table th{background:#f3f4f6;border:1px solid #000;padding:6px 4px;text-align:left;font-weight:700;font-size:9px}.print-table td{border:1px solid #000;padding:6px 4px;font-size:10px}.print-table td.number,.print-table th.number{text-align:right}.print-table td.center,.print-table th.center{text-align:center}.print-summary{margin-top:20px;float:right;width:300px}.print-summary-row{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #ddd}.print-summary-row.total{font-weight:700;border-top:2px solid #000;border-bottom:2px solid #000;margin-top:5px;padding-top:8px}.print-summary-label{font-weight:600}.print-summary-value{text-align:right}.print-details{margin:20px 0}.print-detail-section{margin-bottom:15px;page-break-inside:avoid}.print-detail-label{font-weight:700;display:inline-block;width:150px}.print-detail-value{display:inline-block}.print-section-header{font-size:14px;font-weight:700;margin:15px 0 10px;padding-bottom:5px;border-bottom:1px solid #000}.print-page-break{page-break-before:always}.print-keep-together{page-break-inside:avoid}.print-footer{margin-top:30px;padding-top:10px;border-top:1px solid #ddd;font-size:9px;text-align:center;color:#666}.print-compact .print-table{font-size:8px}.print-compact .print-table th,.print-compact .print-table td{font-size:8px;padding:4px 2px}*{overflow:visible!important}}
