:root{--brand-primary: #2f3a4b;--brand-primary-dark: #242d3a;--brand-primary-soft: rgba(47, 58, 75, .22);--brand-muted: #e9eef7;--grey-900: #0f172a;--grey-800: #1f2937;--grey-700: #374151;--grey-600: #475569;--grey-500: #6b7280;--grey-400: #94a3b8;--grey-300: #cbd5f5;--grey-200: #e5e7eb;--grey-100: #f3f4f6;--grey-50: #f8fafc;--bg: #f5f6fa;--bg-panel: #ffffff;--bg-sidebar: #111316;--surface-base: #f3f4f6;--surface-subtle: #f9fafb;--surface-elevated: #ffffff;--sidebar-border: rgba(107, 114, 128, .25);--sidebar-header-border: rgba(255, 255, 255, .04);--sidebar-toggle-border: rgba(255, 255, 255, .18);--sidebar-toggle-border-hover: rgba(255, 255, 255, .35);--sidebar-toggle-bg: rgba(255, 255, 255, .04);--sidebar-toggle-bg-hover: rgba(255, 255, 255, .08);--sidebar-scrollbar: rgba(255, 255, 255, .08);--sidebar-user-border: rgba(255, 255, 255, .06);--sidebar-avatar-bg: rgba(255, 255, 255, .08);--sidebar-logout-border: rgba(255, 255, 255, .08);--sidebar-logout-border-hover: rgba(255, 255, 255, .35);--sidebar-logout-bg: rgba(255, 255, 255, .02);--sidebar-logout-bg-hover: rgba(255, 255, 255, .08);--sidebar-nav-label: rgba(255, 255, 255, .45);--sidebar-nav-text: rgba(255, 255, 255, .82);--sidebar-nav-hover-bg: rgba(255, 255, 255, .08);--sidebar-nav-active-bg: rgba(255, 255, 255, .14);--sidebar-nav-active-border: rgba(148, 163, 184, .35);--sidebar-nav-icon-bg: rgba(255, 255, 255, .08);--sidebar-overlay-bg: rgba(0, 0, 0, .4);--text: var(--grey-900);--text-secondary: var(--grey-600);--text-muted: var(--grey-500);--text-primary: var(--grey-900);--text-sidebar: #f1f5f9;--text-sidebar-muted: #a0aec0;--border: #e5e7eb;--border-strong: #d1d5db;--border-soft: rgba(0, 0, 0, .05);--border-subtle: #e2e8f0;--border-strong-alt: #cbd5e1;--control-border: #d7ddea;--control-border-strong: #bcc8d8;--control-ring: rgba(79, 90, 123, .16);--shadow-sm: 0 4px 12px rgba(0, 0, 0, .06);--shadow-md: 0 6px 18px rgba(0, 0, 0, .08);--shadow-lg: 0 12px 32px rgba(0, 0, 0, .1);--input-height: 36px;--status-success: #10b981;--status-warning: #f59e0b;--status-danger: #dc2626;--status-info: #0ea5e9;--status-muted: #94a3b8;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--radius-xl: 18px;--radius-2xl: 22px;--radius-3xl: 28px;--radius-full: 999px}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);line-height:1.45;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{color:var(--grey-900);font-weight:600;margin:0}p{color:var(--text-secondary);margin:0}button{font-family:inherit}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.u-tight{padding:0!important;margin:0!important}.u-gap-0{gap:0}.u-gap-2{gap:2px}.u-gap-4{gap:4px}.u-gap-6{gap:6px}.u-gap-8{gap:8px}.u-gap-10{gap:10px}.u-gap-12{gap:12px}.u-gap-16{gap:16px}.u-py-0{padding-top:0;padding-bottom:0}.u-py-4{padding-top:4px;padding-bottom:4px}.u-py-6{padding-top:6px;padding-bottom:6px}.u-py-8{padding-top:8px;padding-bottom:8px}.u-py-10{padding-top:10px;padding-bottom:10px}.u-py-12{padding-top:12px;padding-bottom:12px}.u-py-16{padding-top:16px;padding-bottom:16px}.u-px-0{padding-left:0;padding-right:0}.u-px-4{padding-left:4px;padding-right:4px}.u-px-8{padding-left:8px;padding-right:8px}.u-px-12{padding-left:12px;padding-right:12px}.u-px-16{padding-left:16px;padding-right:16px}.u-px-20{padding-left:20px;padding-right:20px}.u-p-0{padding:0}.u-p-4{padding:4px}.u-p-8{padding:8px}.u-p-12{padding:12px}.u-p-16{padding:16px}.u-p-20{padding:20px}.u-my-0{margin-top:0;margin-bottom:0}.u-my-4{margin-top:4px;margin-bottom:4px}.u-my-8{margin-top:8px;margin-bottom:8px}.u-my-12{margin-top:12px;margin-bottom:12px}.u-my-16{margin-top:16px;margin-bottom:16px}.u-mt-0{margin-top:0}.u-mt-4{margin-top:4px}.u-mt-8{margin-top:8px}.u-mt-12{margin-top:12px}.u-mt-16{margin-top:16px}.u-mb-0{margin-bottom:0}.u-mb-4{margin-bottom:4px}.u-mb-8{margin-bottom:8px}.u-mb-12{margin-bottom:12px}.u-mb-16{margin-bottom:16px}.u-flex{display:flex}.u-inline-flex{display:inline-flex}.u-grid{display:grid}.u-block{display:block}.u-inline-block{display:inline-block}.u-hidden{display:none}.u-flex-col{flex-direction:column}.u-flex-row{flex-direction:row}.u-items-start{align-items:flex-start}.u-items-center{align-items:center}.u-items-end{align-items:flex-end}.u-justify-start{justify-content:flex-start}.u-justify-center{justify-content:center}.u-justify-end{justify-content:flex-end}.u-justify-between{justify-content:space-between}.u-flex-1{flex:1}.u-flex-2{flex:2}.u-flex-3{flex:3}.u-flex-wrap{flex-wrap:wrap}.u-text-left{text-align:left}.u-text-center{text-align:center}.u-text-right{text-align:right}.text-small{font-size:12px}.text-content{color:var(--grey-900);font-size:13px;line-height:1.5}.muted-text{color:var(--grey-500)}.link-text{color:var(--brand-primary);cursor:pointer;text-decoration:underline}.link-text:hover{color:var(--grey-900)}.clickable-row{cursor:pointer;transition:background-color .15s ease}.empty-state{text-align:center;padding:48px 16px;color:var(--grey-600);font-size:14px}.u-w-full{width:100%}.u-w-auto{width:auto}.u-h-full{height:100%}.u-h-auto{height:auto}.u-border-0{border:none}.u-border-t{border-top:1px solid var(--border-subtle)}.u-border-b{border-bottom:1px solid var(--border-subtle)}.u-overflow-auto{overflow:auto}.u-overflow-hidden{overflow:hidden}.u-overflow-x-auto{overflow-x:auto}.u-overflow-y-auto{overflow-y:auto}.u-relative{position:relative}.u-absolute{position:absolute}.u-sticky{position:sticky}.u-fixed{position:fixed}.u-mb-tight{margin-bottom:4px}.u-mb-24{margin-bottom:24px}.u-mt-tight{margin-top:4px}.u-p-compact{padding:8px 12px}.u-p-tight{padding:6px 10px}.u-gap-compact{gap:12px}.u-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.u-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.u-grid-auto{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.u-gap-tight{gap:4px}.u-gap-compact{gap:6px}.u-font-semibold{font-weight:600}.u-font-bold{font-weight:700}.u-font-light{font-weight:400}.u-text-xs{font-size:11px}.u-text-sm{font-size:12px}.u-text-base{font-size:13px}.u-text-lg{font-size:14px}.u-text-muted{color:var(--grey-600)}.u-text-subtle{color:var(--grey-500)}.u-text-primary{color:var(--brand-primary)}.u-text-error{color:var(--status-danger)}.u-text-warning{color:var(--status-warning)}.u-text-success{color:var(--status-success)}.u-text-info{color:#3b82f6}.u-bg-white{background:#fff}.u-bg-subtle{background:#f9fafb}.u-bg-muted{background:#f3f4f6}.u-border-subtle{border:1px solid var(--border-subtle)}.u-border-strong{border:1px solid var(--border-strong)}.u-shadow-none{box-shadow:none}.u-shadow-sm{box-shadow:0 1px 2px #0f172a0a}.u-shadow-md{box-shadow:0 2px 4px #0f172a14}.u-rounded-sm{border-radius:4px}.u-rounded-md{border-radius:6px}.u-rounded-lg{border-radius:8px}.u-rounded-full{border-radius:9999px}.u-transition-fast{transition:all .15s ease}.u-transition-smooth{transition:all .3s ease}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--grey-200);color:var(--grey-700);font-size:11px;font-weight:600}.badge.primary{background:var(--brand-primary);color:#fff}.badge.success{background:var(--status-success);color:#fff}.badge.warning{background:var(--status-warning);color:#fff}.badge.danger{background:var(--status-danger);color:#fff}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:11px;background:var(--grey-200);color:var(--grey-700);font-size:12px;font-weight:600}.stage-no-action{color:#6b7280}.stage-assigned{color:#2563eb}.stage-in-progress{color:#059669}.stage-pending-admin{color:#dc2626}.stage-pending-invoicing{color:#f59e0b}.stage-completed{color:#10b981}.priority-critical{color:#991b1b;background:#fee2e2}.priority-high{color:#ea580c;background:#fef3c7}.priority-medium{color:#1e40af;background:#dbeafe}.priority-low{color:#6b7280;background:#f3f4f6}.app{display:flex;height:100vh;overflow:hidden}.content-shell,.main .content{flex:1;overflow-y:auto;background:var(--bg);padding:8px 12px 32px}.content-shell.full-width{padding:0;background:linear-gradient(135deg,#f5f6fa,#eef2f7)}.content-shell::-webkit-scrollbar,.main .content::-webkit-scrollbar{width:8px}.content-shell::-webkit-scrollbar-thumb,.main .content::-webkit-scrollbar-thumb{background:#94a3b880;border-radius:999px}.container{max-width:1440px;margin:0 auto}.main{min-height:100vh;background:#f6f7f9;padding:12px 16px 16px}.content{max-width:1440px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:10px;gap:16px;border-bottom:1px solid #e8ecf1}.page-left{flex:1 1 auto}.page-header h1,.page-title h1,.page-header .page-title{font-size:24px;font-weight:700;margin:0;color:#111827;line-height:1.2}.page-subtitle{font-size:12px;color:#6b7280;margin:2px 0 0;font-weight:500;line-height:1.3}.page-actions,.header-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}.header-metrics{display:flex;gap:20px;margin-bottom:0}.header-metrics .metric{text-align:right}.header-metrics .metric-label{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#94a3b8}.header-metrics .metric-value{font-size:22px;font-weight:600;color:#111827}.stats-block{display:flex;gap:16px;padding-left:16px;border-left:1px solid var(--grey-200);flex-shrink:0}.stats-block .metric{text-align:center}.stats-block .metric-label{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:var(--grey-500);margin-bottom:2px}.stats-block .metric-value{font-size:20px;font-weight:600;color:var(--grey-900);line-height:1}.stats-block .stat-item{text-align:center}.stats-block .stat-label{font-size:9px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--grey-500);margin-bottom:2px}.stats-block .stat-value{font-size:20px;font-weight:700;color:var(--brand-primary);line-height:1}.stats-grid.dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px;margin-bottom:8px}.stat-card.dashboard{background:linear-gradient(135deg,#fff,#f8f9fb);border:1px solid var(--border-subtle);border-radius:3px;padding:8px 10px;text-align:center;transition:all .15s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60px}.stat-card.dashboard:hover{border-color:var(--brand-primary);box-shadow:0 1px 2px #3b82f626;transform:translateY(-1px)}.stat-card.dashboard .stat-value{font-size:20px;font-weight:700;color:var(--brand-primary);line-height:1;margin-bottom:2px}.stat-card.dashboard .stat-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--grey-500);line-height:1.2}.metrics-inline{display:flex;align-items:center;gap:20px}.metrics-inline .metric{text-align:center}.toolbar,.toolbar-row{--toolbar-height: 36px}.toolbar,.toolbar-row{display:flex;align-items:center;gap:8px;margin:4px 0}.toolbar-actions{margin-left:auto;display:flex;gap:8px}.status-filter-group{display:flex;align-items:center;gap:12px}.status-filter-group .toolbar-utility,.status-filter-group .erp-utility-control,.status-filter-group .column-selector,.toggle-search-row .toolbar-utility,.toggle-search-row .erp-utility-control,.toggle-search-row .column-selector{align-self:center;height:auto;min-height:0}.compact-control,.toolbar .filter-control,.toolbar .pill,.toolbar .btn,.toolbar-row .filter-control,.toolbar-row .btn,.toolbar-actions .btn{height:var(--toolbar-height);padding:0 12px;border-radius:6px;font-size:13px}.toolbar .search-input,.toolbar-row .search-input{height:var(--toolbar-height);padding:0 12px 0 38px;border-radius:22px;font-size:13px}.toolbar .btn,.toolbar-row .btn,.toolbar .filter-button,.toolbar-row .filter-button,.toolbar .filter-btn,.toolbar-row .filter-btn,.toolbar .filter-control-button,.toolbar-row .filter-control-button,.toolbar .btn-icon,.toolbar-row .btn-icon{display:inline-flex;align-items:center;gap:8px;height:var(--toolbar-height)}.toolbar .btn-icon,.toolbar-row .btn-icon{width:var(--toolbar-height);min-width:var(--toolbar-height);padding:0}.toolbar .filter-button,.toolbar-row .filter-button,.toolbar .filter-btn,.toolbar-row .filter-btn,.toolbar .filter-control-button,.toolbar-row .filter-control-button{border-width:1px;box-shadow:none}.tabs-row{margin-top:0;margin-bottom:16px;padding:4px 8px;display:inline-flex;gap:8px;background:transparent;border-bottom:none;align-items:center;width:auto;max-width:fit-content}.tabs-row .tab,.tabs-row .tab-btn{height:auto;padding:8px 14px;border-radius:6px;font-size:14px;font-weight:500;line-height:1.4;background:transparent;border:none;color:var(--grey-700);cursor:pointer;transition:all .15s ease;position:relative;white-space:nowrap}.tabs-row .tab:first-child,.tabs-row .tab-btn:first-child{margin-left:0}.tabs-row .tab:last-child,.tabs-row .tab-btn:last-child{margin-right:0}.tabs-row .tab.active:after,.tabs-row .tab-btn.active:after{content:"";position:absolute;bottom:4px;left:14px;right:14px;height:2px;background:var(--brand-primary, #3b82f6)}.tabs-row .tab.active,.tabs-row .tab-btn.active{background:var(--grey-50);color:var(--brand-primary, #3b82f6);font-weight:600}.tabs-row .tab:hover:not(.active),.tabs-row .tab-btn:hover:not(.active){background:var(--grey-100);color:var(--grey-900)}.actions-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.header-actions.compact{gap:10px}.metrics-inline .metric-label{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#94a3af;font-weight:600}.metrics-inline .metric-value{font-size:20px;font-weight:700;color:#111827;line-height:1.2;margin-top:2px}.page-body{flex:1 1 auto}.page-body--narrow{max-width:640px;margin:0 auto}.page-container{padding:8px 12px;max-width:1440px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.page-header-left{display:flex;align-items:center;gap:12px}.page-header-right{display:flex;align-items:center;gap:8px}.page-actions{display:flex;gap:8px}.page-title{font-size:18px;font-weight:600;color:var(--grey-900);margin:0}.section-header{margin-bottom:24px}.section-header-main{display:flex;justify-content:space-between;align-items:flex-start}.section-header-left{flex:1}.section-header-right{display:flex;align-items:flex-start;gap:12px}.section-title{font-size:22px;font-weight:600;color:#1f2937;margin:0 0 8px}.section-description{font-size:14px;color:#6b7280;margin:0 0 12px;line-height:1.5}.section-summary{font-size:13px;color:#9ca3af;font-weight:400}.section-divider{height:1px;background:#e5e7eb;margin:0 0 28px}.link-action{background:none;border:none;color:#6b7280;font-size:13px;font-weight:500;padding:6px 12px;cursor:pointer;border-radius:6px;transition:all .12s ease}.link-action:hover{color:#1f2937;background:#f3f4f6}.filters-row{margin-bottom:4px}.content-area{display:block}.actions-row{display:flex;justify-content:flex-start;align-items:center;margin-bottom:8px;padding:4px 8px}.grid-view{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.detail-grid{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:flex-start;margin-top:8px}@media(max-width:968px){.detail-grid{grid-template-columns:1fr;gap:12px}}.header-top{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:4px 12px 0}.summary-pill{padding:6px 12px;background:#fff;border:1px solid var(--border-subtle);border-radius:12px;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:var(--shadow-sm)}.header-controls{display:flex;justify-content:space-between;align-items:center;padding:4px 12px}.header-search{width:340px;height:42px}.header-filter{height:42px;display:flex;align-items:center}.header-toggle{display:flex;gap:12px;padding:0 12px 4px;margin:0}.client-site-management .header-metrics{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:4px 12px 0;margin-bottom:4px}.client-site-management .header-metrics .metric{padding:0;background:transparent;border:none;border-radius:0;box-shadow:none;text-align:right}.client-site-management .filters-row{padding:0 12px;margin:2px 0}.toggle-search-row{display:flex;flex-direction:row;align-items:center;gap:10px;flex:1}.toggle-search-row .search-input-wrapper{flex:1;max-width:400px;min-width:280px}.toggle-search-row .status-filter-group{display:flex;align-items:center;gap:12px}.toggle-search-row .form-select{min-width:120px}.btn-clear-filters{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;font-size:13px;font-weight:500;color:#475569;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-clear-filters:hover{background:#e2e8f0;border-color:#cbd5e1;color:#334155}.btn-clear-filters svg{width:14px;height:14px}.client-site-management .toggle-search-row{gap:10px}.client-site-management .toggle-search-row>.status-filter-group,.client-site-management .toggle-search-row>.search-wrapper{margin:0}.client-site-management .toggle-search-row .search-wrapper.narrow{width:400px;max-width:400px}.client-site-management .toggle{margin-top:6px;margin-bottom:8px}.client-site-management .toggle .toggle-option{height:34px;padding:0 14px;border-radius:6px;font-size:13px;line-height:34px}.client-site-management .header-controls{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.client-site-management .header-controls-left{display:flex;align-items:center;gap:12px}.client-site-management .header-controls-right{display:flex;justify-content:flex-end}.auth-page{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:60px 20px;background:linear-gradient(135deg,#f5f6fa,#eef2f7);position:relative;overflow:hidden}.auth-page:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(135deg,transparent 0%,rgba(47,58,75,.06) 30%,transparent 100%),linear-gradient(45deg,transparent 0%,rgba(99,102,241,.05) 40%,transparent 100%),linear-gradient(-25deg,transparent 0%,rgba(59,130,246,.04) 35%,transparent 100%);background-size:600px 600px,700px 700px,800px 800px;background-position:0 0,50% 50%,-20% 80%;pointer-events:none;z-index:0}.auth-page>*{position:relative;z-index:1}.login-header{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:24px;width:100%}.login-header__logo{max-height:44px;width:auto;flex-shrink:0}.login-header__divider{width:1px;height:44px;background-color:var(--border-strong);opacity:.5;flex-shrink:0}.login-header__tagline{font-size:16px;font-weight:600;color:var(--grey-900);margin:0;line-height:1.3;letter-spacing:-.2px;text-align:center}.auth-header,.auth-logo-wrapper,.auth-logo,.auth-title,.auth-subtitle{display:none}.auth-form-card{width:100%;max-width:380px;background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:32px;box-shadow:0 2px 8px #0000000f}.auth-form-card .form-field{display:flex;flex-direction:column;margin-bottom:20px}.auth-form-card .form-label{font-size:11px;font-weight:600;color:var(--grey-700);margin-bottom:6px;text-transform:uppercase;letter-spacing:.4px}.auth-form-card .form-input{height:40px;font-size:12px;padding:9px 12px;border:1px solid var(--border-subtle);border-radius:6px;background:#fff;color:var(--grey-900);transition:border-color .2s ease,box-shadow .2s ease}.auth-form-card .form-input:focus{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 2px rgba(var(--brand-primary-rgb),.08)}.auth-form-card .form-input::placeholder{color:var(--grey-400)}.auth-checkbox-row{display:flex;align-items:center;gap:8px;margin:12px 0 24px}.form-checkbox{width:16px;height:16px;cursor:pointer;accent-color:var(--brand-primary)}.form-checkbox-label{font-size:12px;color:var(--grey-600);cursor:pointer;-webkit-user-select:none;user-select:none;margin:0;font-weight:400}.auth-login-btn{width:100%;height:40px;font-size:13px;font-weight:600;letter-spacing:.3px;margin:0}.auth-footer-links{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--border-subtle)}.auth-forgot-link{font-size:12px;color:var(--brand-primary);text-decoration:none;font-weight:500;transition:opacity .2s ease;cursor:pointer}.auth-forgot-link:hover{opacity:.75}.auth-version-text{font-size:11px;color:var(--grey-500);font-weight:500}@media(max-width:768px){.auth-page{padding:40px 16px}.login-header{margin-bottom:20px;gap:10px}.login-header__logo{max-height:40px}.login-header__divider{height:40px}.login-header__tagline{font-size:15px;letter-spacing:-.15px}.auth-form-card{max-width:100%;padding:24px}.auth-form-card .form-field{margin-bottom:16px}.auth-checkbox-row{margin:10px 0 20px}.auth-footer-links{flex-direction:column;gap:12px;align-items:flex-start}.auth-version-text{margin-top:4px}}.dashboard-container{display:flex;flex-direction:column;gap:20px;padding:16px;background:var(--surface-base)}.kpi-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:12px;margin-bottom:16px}.kpi-block{min-width:110px;padding:10px 12px;background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:6px;cursor:pointer;text-align:center;transition:all .2s ease;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:inherit;font-weight:500}.kpi-block:hover{border-color:var(--brand-primary);background:linear-gradient(135deg,var(--surface-elevated) 0%,rgba(47,58,75,.04) 100%);box-shadow:0 2px 4px #00000014}.kpi-block.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.kpi-value{font-size:20px;font-weight:700;color:var(--brand-primary);line-height:1;margin-bottom:4px}.kpi-block.active .kpi-value{color:#fff}.kpi-label{font-size:10px;font-weight:600;color:var(--grey-600);text-transform:uppercase;letter-spacing:.4px;line-height:1.2;white-space:normal}.kpi-block.active .kpi-label{color:#ffffffd9}.alerts-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px;margin-bottom:16px}.alerts-section-title{font-size:13px;font-weight:700;color:var(--grey-900);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.alerts-list{display:flex;flex-direction:column;gap:0}.alert-item{display:grid;grid-template-columns:80px 1fr 80px 60px 90px;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border-subtle);font-size:12px}.alert-item:last-child{border-bottom:none}.alert-machine{font-weight:600;color:var(--brand-primary)}.alert-summary{color:var(--grey-900);font-weight:500}.alert-stage{color:var(--grey-600);font-size:11px;text-transform:uppercase;letter-spacing:.3px}.alert-sla{text-align:center;font-weight:600}.alert-sla.critical{color:#dc2626}.alert-sla.warning{color:#ea580c}.alert-sla.normal{color:var(--grey-600)}.alert-tech{color:var(--grey-700);font-size:11px}.alert-item.critical .alert-summary{color:#dc2626;font-weight:600}.kanban-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px;margin-bottom:16px}.kanban-section-title{font-size:13px;font-weight:700;color:var(--grey-900);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.kanban-board{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}.kanban-column{flex-shrink:0;width:200px;background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:6px;overflow:hidden}.kanban-header{padding:10px 8px;background:var(--surface-base);border-bottom:1px solid var(--border-subtle);font-weight:600;font-size:11px;color:var(--grey-700);text-transform:uppercase;letter-spacing:.3px}.kanban-cards{padding:8px;display:flex;flex-direction:column;gap:6px}.kanban-card{padding:8px;background:#fff;border:1px solid var(--border-subtle);border-radius:4px;font-size:11px;transition:all .2s ease;cursor:pointer}.kanban-card:hover{box-shadow:0 2px 4px #00000014;border-color:var(--brand-primary)}.card-machine{font-weight:600;color:var(--brand-primary);margin-bottom:4px;font-size:12px}.card-priority{display:inline-block;padding:2px 6px;border-radius:3px;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.2px;margin-bottom:4px}.card-priority.critical{background:#fca5a5;color:#991b1b}.card-priority.high,.card-priority.medium{background:#fed7aa;color:#92400e}.card-priority.low{background:#d1fae5;color:#065f46}.card-date{color:var(--grey-500);font-size:10px;margin-bottom:4px}.card-tech{color:var(--grey-600);font-size:10px;margin-top:2px}.pipeline-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px;margin-bottom:16px}.pipeline-section-title{font-size:13px;font-weight:700;color:var(--grey-900);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.pipeline-board{display:flex;gap:16px;align-items:center;overflow-x:auto;padding-bottom:8px}.pipeline-stage{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:120px;padding:12px;background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:6px;text-align:center}.pipeline-stage.active{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.stage-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;color:var(--grey-700);margin-bottom:4px}.pipeline-stage.active .stage-label{color:#ffffffd9}.stage-count{font-size:20px;font-weight:700;color:var(--brand-primary);line-height:1}.pipeline-stage.active .stage-count{color:#fff}.pipeline-arrow{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:var(--grey-400);font-size:14px}.performance-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px;margin-bottom:16px}.performance-section-title{font-size:13px;font-weight:700;color:var(--grey-900);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.performance-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.perf-card{padding:12px 16px;background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:6px;text-align:center;transition:all .2s ease;cursor:pointer}.perf-card:hover{border-color:var(--brand-primary);box-shadow:0 2px 4px #00000014}.perf-card.warning{border-color:#ea580c;background:#fef3c7}.perf-label{font-size:10px;font-weight:600;color:var(--grey-600);text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px}.perf-value{font-size:18px;font-weight:700;color:var(--brand-primary);line-height:1}.perf-card.warning .perf-value{color:#dc2626}.analytics-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px;margin-bottom:16px}.analytics-section-title{font-size:13px;font-weight:700;color:var(--grey-900);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.analytics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.chart-placeholder{min-height:200px;border:1px dashed var(--border-subtle);border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--surface-elevated);padding:20px;text-align:center}.chart-title{font-size:12px;font-weight:600;color:var(--grey-900);margin-bottom:8px}.chart-dummy{font-size:11px;color:var(--grey-500)}.notifications-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px;margin-bottom:16px}.notifications-section-title{font-size:13px;font-weight:700;color:var(--grey-900);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.notifications-list{display:flex;flex-direction:column;gap:0}.notification-item{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-subtle);transition:background .2s ease}.notification-item:hover{background:var(--surface-elevated);padding:8px;margin:0 -8px;border-radius:4px}.notification-item:last-child{border-bottom:none}.notification-badge{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;background:#dc2626;color:#fff;border-radius:50%;font-weight:700;font-size:11px;flex-shrink:0}.notification-badge.warning{background:#ea580c}.notification-badge.success{background:#16a34a}.notification-text{font-size:12px;color:var(--grey-900);font-weight:500;flex:1;line-height:1.4}.notification-time{font-size:10px;color:var(--grey-500);white-space:nowrap;flex-shrink:0}.quick-actions-section{display:flex;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border-subtle)}.quick-actions-group{display:flex;gap:8px;margin-left:auto}.quick-action-btn{padding:8px 16px;height:36px;font-size:12px;font-weight:600;border-radius:6px;border:1px solid var(--border-subtle);background:#fff;color:var(--grey-900);cursor:pointer;transition:all .2s ease;white-space:nowrap}.quick-action-btn:hover{border-color:var(--brand-primary);background:#2f3a4b0a}.quick-action-btn.primary{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.quick-action-btn.primary:hover{opacity:.9}@media(max-width:1024px){.kpi-bar{overflow-x:auto}.performance-grid{grid-template-columns:repeat(3,1fr)}.analytics-grid{grid-template-columns:repeat(2,1fr)}.alert-item{grid-template-columns:70px 1fr 70px 60px;gap:10px}.alert-tech{display:none}}@media(max-width:768px){.dashboard-container{padding:12px;gap:12px}.kpi-bar{padding:10px;gap:6px}.kpi-block{min-width:95px;padding:8px 10px;font-size:11px}.kpi-value{font-size:16px;margin-bottom:2px}.kpi-label{font-size:9px}.alerts-section,.kanban-section,.pipeline-section,.performance-section,.analytics-section,.notifications-section{padding:12px;margin-bottom:12px}.alerts-section-title,.kanban-section-title,.pipeline-section-title,.performance-section-title,.analytics-section-title,.notifications-section-title{font-size:12px;margin-bottom:10px}.alert-item{grid-template-columns:60px 1fr;gap:8px;font-size:11px}.alert-stage,.alert-sla,.alert-tech{display:none}.kanban-board{gap:10px}.kanban-column{width:180px}.kanban-header{padding:8px 6px;font-size:10px}.kanban-cards{padding:6px;gap:4px}.kanban-card{padding:6px;font-size:10px}.pipeline-board{gap:12px}.pipeline-stage{min-width:100px;padding:10px}.stage-label{font-size:9px}.stage-count{font-size:16px}.pipeline-arrow{width:16px;font-size:12px}.performance-grid{grid-template-columns:repeat(2,1fr);gap:10px}.perf-card{padding:10px 12px}.perf-label{font-size:9px}.perf-value{font-size:16px}.analytics-grid{grid-template-columns:1fr;gap:10px}.chart-placeholder{min-height:150px;padding:16px}.notification-item{gap:10px;padding:6px 0}.notification-badge{min-width:24px;height:24px;font-size:10px}.notification-text{font-size:11px}.notification-time{font-size:9px}.quick-actions-section{flex-direction:column;padding-top:12px;margin-top:12px}.quick-actions-group{width:100%;margin-left:0}.quick-action-btn{flex:1;padding:6px 12px;height:32px;font-size:11px}}.dashboard-section{margin-bottom:10px;background:#fff;border:1px solid #e8ecf1;border-radius:6px;overflow:hidden;transition:box-shadow .2s ease}.dashboard-section__header{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:#fafbfc;border-bottom:1px solid #e8ecf1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s ease,border-color .15s ease}.dashboard-section__header:hover{background:#f5f7fa;border-bottom-color:#dfe5ed}.dashboard-section__title-group{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.dashboard-section__title{display:flex;align-items:center;gap:5px;margin:0;font-size:12px;font-weight:600;color:#1a202c;line-height:1.3;letter-spacing:-.2px}.dashboard-section__icon{width:16px;height:16px;color:var(--brand-primary);flex-shrink:0}.dashboard-section__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;background:var(--brand-primary);color:#fff;border-radius:11px;font-size:10px;font-weight:700;flex-shrink:0}.dashboard-section__controls{display:flex;align-items:center;gap:6px;flex-shrink:0}.dashboard-section__loading{font-size:10px;color:var(--grey-500);font-weight:500}.dashboard-section__chevron{width:18px;height:18px;color:#6b7280;transition:transform .2s cubic-bezier(.4,0,.2,1);flex-shrink:0}.dashboard-section__chevron--expanded{transform:rotate(180deg)}.dashboard-section__content{padding:10px 12px;background:#fafbfc;border-top:1px solid #e8ecf1;animation:slideDown .2s ease-out}.section-expand-enter-active,.section-expand-leave-active{transition:all .2s ease;max-height:1000px;overflow:hidden}.section-expand-enter-from,.section-expand-leave-to{max-height:0;opacity:0}.kpi-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 12px;background:#fff;border:1px solid #e8ecf1;border-radius:6px;text-align:center;transition:all .2s cubic-bezier(.4,0,.2,1);cursor:pointer;min-width:85px;flex:1}.kpi-tile:hover{transform:translateY(-1px);border-color:var(--brand-primary);background:#fafbfc;box-shadow:0 4px 12px #2f3a4b14}.kpi-tile__value{font-size:18px;font-weight:700;color:var(--brand-primary);line-height:1.2;margin-bottom:2px}.kpi-tile__label{font-size:9px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.4px;line-height:1.1}.kpi-strip{display:flex;gap:10px;margin-bottom:12px;overflow-x:auto;padding-bottom:4px;scroll-behavior:smooth}.kpi-strip::-webkit-scrollbar{height:3px}.kpi-strip::-webkit-scrollbar-track{background:transparent}.kpi-strip::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.kpi-strip::-webkit-scrollbar-thumb:hover{background:#9ca3af}.dashboard-section__table{width:100%;border-collapse:collapse;font-size:11px}.dashboard-section__table thead{background:#f5f7fa;border-bottom:1px solid #e8ecf1}.dashboard-section__table th{padding:6px 10px;text-align:left;font-weight:600;color:#374151;font-size:10px;text-transform:uppercase;letter-spacing:.4px}.dashboard-section__table td{padding:6px 10px;border-bottom:1px solid #f0f3f7;color:#1a202c}.dashboard-section__table tbody tr:hover{background:#f9fafb}.dashboard-section__table tbody tr:last-child td{border-bottom:none}.dashboard-section__list{display:flex;flex-direction:column;gap:0;list-style:none;padding:0;margin:0}.dashboard-section__list-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #f0f3f7;font-size:11px}.dashboard-section__list-item:last-child{border-bottom:none}.dashboard-section__list-item-label{color:#1a202c;font-weight:500;flex:1;font-size:11px}.dashboard-section__list-item-value{color:#6b7280;font-size:10px;white-space:nowrap;margin-left:8px}.dashboard-section__list-item-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;background:var(--brand-primary);color:#fff;border-radius:10px;font-size:9px;font-weight:700;margin-left:8px;flex-shrink:0}.dashboard-section__status{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:600;padding:2px 6px;border-radius:3px}.dashboard-section__status--danger{background:#dc26261f;color:#7f1d1d}.dashboard-section__status--warning{background:#d977061f;color:#7c2d12}.dashboard-section__status--success{background:#16a34a1f;color:#166534}.dashboard-section__status--info{background:#3b82f61f;color:#1e40af}.dashboard-section__bar-item{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:11px}.dashboard-section__bar-label{min-width:70px;color:#374151;font-weight:500;font-size:11px}.dashboard-section__bar{flex:1;height:4px;background:#e8ecf1;border-radius:2px;overflow:hidden}.dashboard-section__bar-fill{height:100%;background:linear-gradient(90deg,var(--brand-primary),rgba(59,130,246,.6));border-radius:2px;transition:width .3s cubic-bezier(.4,0,.2,1)}.dashboard-section__bar-value{min-width:28px;text-align:right;color:#6b7280;font-size:10px;font-weight:600;white-space:nowrap}@media(max-width:768px){.dashboard-section{margin-bottom:8px}.dashboard-section__header{padding:8px 10px}.dashboard-section__title{font-size:11px}.dashboard-section__content{padding:8px 10px}.kpi-strip{margin-bottom:10px;gap:8px}.kpi-tile{min-width:70px;padding:8px 10px}.kpi-tile__value{font-size:16px}.kpi-tile__label{font-size:8px;letter-spacing:.3px}.dashboard-section__table{font-size:10px}.dashboard-section__table th,.dashboard-section__table td{padding:5px 8px}.dashboard-section__list-item{padding:5px 0;font-size:10px}}.dashboard--dense .dashboard-section{margin-bottom:8px}.dashboard--dense .dashboard-section__header,.dashboard--dense .dashboard-section__content{padding:8px 10px}.dashboard--dense .kpi-strip{margin-bottom:10px;gap:8px}.dashboard--dense .page-header{margin-bottom:8px;padding-bottom:6px}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}@keyframes chevronRotate{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.dashboard-section__list-item{transition:background-color .15s ease}.dashboard-section__list-item:hover{background-color:#f9fafb}.dashboard-section__table tbody tr{transition:background-color .15s ease}.kpi-tile{transition:all .2s cubic-bezier(.4,0,.2,1)}.dashboard-section__chevron{transition:transform .2s cubic-bezier(.4,0,.2,1)}.dashboard-section__title strong{font-weight:700;color:#1a202c}.dashboard-section__list-item-value,.dashboard-section__list-item-label span{color:#6b7280}.section-label{font-size:10px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px;display:block}.dashboard--command-center{background:linear-gradient(to bottom,#fafbfc,#f6f7f9)}.kpi-hero-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:10px}.kpi-hero-tile{background:#fff;border:1px solid #e0e5f0;border-radius:8px;padding:12px;text-align:center;transition:all .2s cubic-bezier(.4,0,.2,1);position:relative}.kpi-hero-tile:hover{border-color:var(--brand-primary);box-shadow:0 4px 12px #2f3a4b1a}.kpi-hero-icon{width:20px;height:20px;margin-bottom:4px;color:var(--brand-primary);stroke:var(--brand-primary)}.kpi-hero__label{font-size:10px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px}.kpi-hero__value{font-size:24px;font-weight:700;color:var(--brand-primary);line-height:1}.kpi-hero__trend{font-size:9px;font-weight:600;margin-top:4px;padding:2px 4px;display:inline-block;border-radius:3px}.kpi-hero__trend.up{color:#10b981;background:#10b9811a}.kpi-hero__trend.down{color:#dc2626;background:#dc26261a}.kpi-hero__trend.neutral{color:#6b7280;background:#6b72801a}.kpi-secondary-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-bottom:10px;padding:8px;background:#fff;border-radius:6px;border:1px solid #e8ecf1}.kpi-secondary-tile{text-align:center}.kpi-secondary__label{font-size:9px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;margin-bottom:3px;display:block}.kpi-secondary__value{font-size:16px;font-weight:700;color:#1a202c}.action-toolbar{display:flex;gap:8px;margin-bottom:12px;padding:8px;background:#fff;border-radius:6px;border:1px solid #e8ecf1;justify-content:flex-start}.operational-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin-bottom:12px}.operational-panel{background:#fff;border:1px solid #e0e5f0;border-radius:8px;padding:12px;transition:all .2s ease}.operational-panel:hover{border-color:var(--brand-primary);box-shadow:0 4px 16px #2f3a4b14}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:8px;border-bottom:2px solid #f0f3f7}.panel-title{font-size:13px;font-weight:700;color:#1a202c;margin:0}.btn-view-more{background:none;border:none;font-size:11px;color:var(--brand-primary);cursor:pointer;font-weight:600;padding:0;transition:opacity .2s}.btn-view-more:hover{opacity:.7}.panel-section{margin-bottom:10px}.panel-section:last-child{margin-bottom:0}.chart-bar-simple{display:flex;flex-direction:column;gap:6px}.chart-bar-item{display:flex;align-items:center;gap:8px;font-size:11px}.chart-label{min-width:70px;color:#374151;font-weight:500;font-size:10px}.chart-bar{flex:1;height:5px;background:#e5e7eb;border-radius:2px;overflow:hidden}.chart-fill{height:100%;border-radius:2px;transition:width .3s ease}.chart-value{min-width:32px;text-align:right;color:#6b7280;font-weight:600;font-size:10px}.compact-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:5px;font-size:11px}.compact-list li{display:flex;justify-content:space-between;align-items:center;padding:4px 0;border-bottom:1px solid #f0f3f7}.compact-list li:last-child{border-bottom:none}.compact-list strong{color:#1a202c;font-weight:600}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;background:var(--brand-primary);color:#fff;border-radius:10px;font-size:9px;font-weight:700}.status--danger{background:#dc262626;color:#991b1b;padding:2px 6px;border-radius:3px;font-size:9px;font-weight:600;white-space:nowrap}.status--warning{background:#d9770626;color:#78350f;padding:2px 6px;border-radius:3px;font-size:9px;font-weight:600;white-space:nowrap}.status--info{background:#3b82f626;color:#1e40af;padding:2px 6px;border-radius:3px;font-size:9px;font-weight:600;white-space:nowrap}.alert-box{padding:8px 10px;border-radius:6px;font-size:11px;margin-bottom:8px}.alert-box strong{display:block;margin-bottom:2px;font-weight:700;font-size:12px}.alert-warning{background:#d977061a;border:1px solid rgba(217,119,6,.2);color:#78350f}.btn-full{width:100%;margin-top:8px}.activity-timeline{background:#fff;border:1px solid #e0e5f0;border-radius:8px;padding:12px;margin-bottom:8px}.timeline-title{font-size:13px;font-weight:700;color:#1a202c;margin:0 0 10px}.timeline-items{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.timeline-item{display:flex;align-items:center;gap:8px;padding:8px;background:#f9fafb;border-radius:6px;border-left:3px solid transparent;font-size:11px;transition:all .2s ease}.timeline-item:hover{background:#f3f4f6}.timeline-icon{min-width:12px;font-size:10px;flex-shrink:0;color:#fff}.timeline-icon.critical{color:#dc2626}.timeline-icon.success{color:#10b981}.timeline-icon.warning{color:#f59e0b}.timeline-icon.info{color:#06b6d4}.timeline-icon.muted{color:#6b7280}.timeline-time{min-width:60px;color:#6b7280;font-size:9px;font-weight:600;flex-shrink:0}.timeline-event{flex:1;color:#374151}.timeline-event strong{color:#1a202c;font-weight:600}.timeline-severity{display:inline-flex;align-items:center;padding:2px 6px;border-radius:3px;font-size:9px;font-weight:600;flex-shrink:0;white-space:nowrap}.timeline-severity.critical{background:#dc262626;color:#991b1b}.timeline-severity.warning{background:#d9770626;color:#78350f}.timeline-severity.success{background:#10b98126;color:#065f46}.timeline-severity.info{background:#3b82f626;color:#1e40af}@media(max-width:1024px){.operational-panels{grid-template-columns:1fr}}@media(max-width:768px){.kpi-hero-row{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:8px}.kpi-secondary-row{grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:8px}.action-toolbar{flex-direction:column;margin-bottom:8px}.action-toolbar .btn{width:100%}.operational-panels{gap:10px;margin-bottom:10px}.operational-panel{padding:10px}.panel-title{font-size:12px}.timeline-item{font-size:10px;padding:6px}.chart-bar-item{font-size:10px}}.dashboard-kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.dashboard-kpi-card{background:#fff;border:1px solid #e8ecf1;border-radius:6px;padding:10px;text-align:center;transition:all .2s ease;cursor:pointer}.dashboard-kpi-card:hover{border-color:var(--brand-primary);box-shadow:0 2px 6px #0000000f}.dashboard-kpi-value{font-size:24px;font-weight:700;color:var(--brand-primary);line-height:1;margin-bottom:4px}.dashboard-kpi-label{font-size:10px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px}.dashboard-action-bar{display:flex;gap:6px;margin-bottom:12px;justify-content:flex-end}.dashboard-action-bar .btn{height:36px;padding:0 12px;font-size:12px;font-weight:600}.dashboard-section{margin-bottom:8px;background:#fff;border:1px solid #e8ecf1;border-radius:6px;overflow:hidden;transition:all .2s ease}.dashboard-section:hover{box-shadow:0 2px 6px #0000000a}.dashboard-section-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#fafbfc;border-bottom:1px solid #e8ecf1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .15s ease;font-size:12px;font-weight:600;color:#1a202c;width:100%;text-align:left;border:none;font-family:inherit}.dashboard-section-header:hover{background:#f5f7fa}.dashboard-section-header:after{content:"▼";font-size:10px;color:#6b7280;transition:transform .2s ease;margin-left:8px}.dashboard-section[open] .dashboard-section-header:after{transform:rotate(180deg)}.dashboard-section-content{padding:10px 12px;background:#fafbfc;border-top:1px solid #e8ecf1}.dashboard-section-stat{display:flex;gap:16px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #e8ecf1;font-size:12px;font-weight:600;color:#374151}.dashboard-section-stat span{flex:1;text-align:center}.status-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:3px;font-size:9px;font-weight:600;white-space:nowrap}.status-badge.status-danger{background:#dc262626;color:#991b1b}.status-badge.status-warning{background:#d9770626;color:#78350f}.status-badge.status-success{background:#16a34a26;color:#166534}.status-badge.status-info{background:#3b82f626;color:#1e40af}.dashboard-activity-feed{background:#fff;border:1px solid #e8ecf1;border-radius:6px;padding:12px;margin-bottom:8px}.activity-feed-title{font-size:12px;font-weight:600;color:#1a202c;margin:0 0 8px;text-transform:uppercase;letter-spacing:.3px}.activity-feed-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0}.activity-feed-item{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid #f0f3f7;font-size:11px}.activity-feed-item:last-child{border-bottom:none}.activity-feed-time{min-width:55px;color:#6b7280;font-size:10px;font-weight:600;flex-shrink:0}.activity-feed-icon{color:#d1d5db;font-size:8px;margin-top:3px;flex-shrink:0}.activity-feed-desc{flex:1;color:#374151;line-height:1.4}.activity-feed-desc strong{color:#1a202c;font-weight:600}@media(max-width:1024px){.dashboard-kpi-row{grid-template-columns:repeat(4,1fr)}}@media(max-width:768px){.dashboard-kpi-row{grid-template-columns:repeat(2,1fr);gap:6px}.dashboard-action-bar{flex-wrap:wrap;justify-content:flex-start}.dashboard-action-bar .btn{flex:1;min-width:100px}.dashboard-section-header{padding:8px 10px;font-size:11px}.dashboard-section-content{padding:8px 10px}.dashboard-section-stat{gap:8px;margin-bottom:8px;padding-bottom:6px;font-size:11px}.activity-feed-item{gap:6px;padding:6px 0;font-size:10px}.activity-feed-time{min-width:45px;font-size:9px}.activity-feed-desc{font-size:10px}}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:20px}.metric-card{background:#fff;border:1px solid #e8ecf1;border-radius:8px;padding:16px;text-align:center;transition:all .2s ease;box-shadow:0 1px 3px #0000000a}.metric-card:hover{border-color:var(--brand-primary);box-shadow:0 4px 12px #2f3a4b14}.metric-label{font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.metric-value{font-size:28px;font-weight:700;color:var(--brand-primary);line-height:1.1;margin-bottom:6px}.metric-context{font-size:11px;color:#9ca3af;line-height:1.3}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-bottom:20px}.analytics-card{background:#fff;border:1px solid #e8ecf1;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000a;transition:all .2s ease}.analytics-card:hover{border-color:#dfe5ed;box-shadow:0 4px 12px #0000000f}.analytics-header{padding:16px;background:#fafbfc;border-bottom:1px solid #e8ecf1}.analytics-title{font-size:13px;font-weight:700;color:#1a202c;margin:0 0 4px;line-height:1.3}.analytics-subtitle{font-size:10px;color:#9ca3af;text-transform:uppercase;letter-spacing:.3px}.analytics-body{padding:16px}.chart-container{margin-bottom:16px}.pie-chart-container{display:flex;justify-content:center;margin-bottom:16px}.pie-chart{position:relative;width:180px;height:180px;margin:0 auto}.pie-svg{width:100%;height:100%;transform:rotate(-90deg)}.pie-segment{transition:stroke-width .3s ease,filter .3s ease}.pie-segment:hover{filter:brightness(1.1);stroke-width:28}.pie-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:10}.pie-value{font-size:24px;font-weight:700;color:var(--brand-primary);line-height:1}.pie-label{font-size:10px;color:#6b7280;margin-top:4px;text-transform:uppercase;letter-spacing:.2px;font-weight:600}.chart-legend{display:flex;flex-direction:column;gap:8px}.legend-item{display:flex;align-items:center;gap:8px;font-size:11px}.legend-label{flex:1;color:#374151;font-weight:500}.legend-value{color:#9ca3af;font-weight:600;min-width:35px;text-align:right}.bar-chart{display:flex;flex-direction:column;gap:12px}.bar-item{display:flex;align-items:center;gap:10px}.bar-label{min-width:110px;font-size:11px;font-weight:600;color:#374151;text-align:right}.bar-wrapper{flex:1;height:20px;background:#f0f3f7;border-radius:10px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#0ea5e9);border-radius:10px;transition:width .4s ease}.bar-value{min-width:40px;text-align:right;font-size:11px;font-weight:600;color:#6b7280}.calendar-heatmap{margin-bottom:12px}.heatmap-row{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;align-items:center}.heatmap-label{font-size:9px;font-weight:600;color:#6b7280;text-transform:uppercase;text-align:center;height:24px;display:flex;align-items:center;justify-content:center}.heatmap-cell{aspect-ratio:1;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;color:#374151;transition:all .2s ease;cursor:pointer}.heatmap-cell:hover{transform:scale(1.1);box-shadow:0 2px 8px #0000001f}.heatmap-legend{display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid #f0f3f7;font-size:11px}.legend-text{color:#6b7280;font-weight:500}.overdue-count{font-weight:700;color:#dc2626;margin-right:12px}.downtime-link{color:var(--brand-primary);font-weight:600;cursor:pointer;transition:opacity .2s ease}.downtime-link:hover{opacity:.7}.activity-section{background:#fff;border:1px solid #e8ecf1;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.section-header{padding:16px;background:#fafbfc;border-bottom:1px solid #e8ecf1}.section-title{font-size:13px;font-weight:700;color:#1a202c;margin:0 0 2px;line-height:1.3}.section-subtitle{font-size:10px;color:#9ca3af;text-transform:uppercase;letter-spacing:.3px;margin:0}.activity-timeline-grid{display:flex;flex-direction:column;gap:0}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f3f7;transition:background-color .2s ease}.activity-row:last-child{border-bottom:none}.activity-row:hover{background:#fafbfc}.activity-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;margin-top:2px}.breakdown-icon{background:#dc26261a;color:#991b1b}.assignment-icon{background:#3b82f61a;color:#1e40af}.approval-icon{background:#16a34a1a;color:#166534}.status-icon{background:#3b82f61a;color:#1e40af}.alert-icon{background:#d977061a;color:#92400e}.activity-event{font-size:12px;color:#374151;line-height:1.4;margin-bottom:2px}.activity-event strong{color:#1a202c;font-weight:600}.activity-time{font-size:10px;color:#9ca3af}.activity-side{font-size:11px;color:#6b7280;font-weight:500;white-space:nowrap;text-align:right}@media(max-width:1024px){.analytics-grid{grid-template-columns:repeat(2,1fr)}.metrics-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.metrics-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-card{padding:12px}.metric-value{font-size:22px}.analytics-grid{grid-template-columns:1fr;gap:12px}.analytics-header,.analytics-body{padding:12px}.pie-chart{width:140px;height:140px}.pie-value{font-size:20px}.bar-label{min-width:80px;font-size:10px}.bar-value{min-width:35px;font-size:10px}.activity-row{padding:10px 12px;gap:10px}.activity-icon{width:28px;height:28px;font-size:14px}.activity-event{font-size:11px}.activity-side{font-size:9px}.section-header{padding:12px}}.dashboard-panel{background:#fff;border:1px solid var(--border-color, #e5e7eb);border-radius:3px;overflow:hidden;margin-bottom:8px}.dashboard-panel--compact{margin-bottom:4px;border-radius:2px}.dashboard-kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:4px;padding:0;margin-bottom:4px;background:linear-gradient(180deg,#fafbfc,#f5f7fa);border:1px solid var(--border-subtle, #e5e7eb);border-radius:3px}.dashboard-kpi-item{padding:6px 8px;text-align:center;border-right:1px solid var(--border-subtle, #e5e7eb);display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50px}.dashboard-kpi-item:last-child{border-right:none}.dashboard-kpi-item__value{font-size:18px;font-weight:700;color:var(--brand-primary, #3b82f6);line-height:1;margin-bottom:1px}.dashboard-kpi-item__label{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--grey-500, #6b7280);line-height:1;margin-bottom:0}.panel-header--compact{padding:6px 8px;background:linear-gradient(90deg,#f9fafb,#f3f4f6);border-bottom:1px solid var(--border-color, #e5e7eb);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--grey-600, #4b5563)}.card-tight{background:#fff;border:1px solid var(--border-color, #e5e7eb);border-radius:3px;padding:6px 8px;margin-bottom:4px}.card-tight__section{margin-bottom:2px}.card-tight__section:last-child{margin-bottom:0}.card-tight__item{padding:2px 0;font-size:10px;line-height:1.3;color:var(--text-primary, #1f2937);display:flex;align-items:center;gap:4px}.card-tight__item strong{font-weight:700;color:var(--grey-900, #0f172a)}.mini-stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:1px;background:linear-gradient(180deg,#f5f7fa,#f0f2f5);border:1px solid var(--border-color, #e5e7eb);border-radius:2px;padding:0;margin-bottom:4px;min-height:42px}.mini-stats-item{padding:4px 6px;text-align:center;border-right:1px solid var(--border-color, #e5e7eb);display:flex;flex-direction:column;align-items:center;justify-content:center}.mini-stats-item:last-child{border-right:none}.mini-stats-item__value{font-size:16px;font-weight:700;color:var(--text-primary, #1f2937);line-height:1;margin-bottom:1px}.mini-stats-item__label{font-size:8px;font-weight:600;text-transform:uppercase;color:var(--grey-500, #6b7280);letter-spacing:.2px;line-height:1}.status-badge--small{display:inline-flex;align-items:center;justify-content:center;padding:2px 5px;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.2px;border-radius:2px;white-space:nowrap;border:1px solid;line-height:1}.status-badge--small.success{background:#10b98114;color:#065f46;border-color:#10b98126}.status-badge--small.warning{background:#f59e0b14;color:#92400e;border-color:#f59e0b26}.status-badge--small.danger{background:#dc262614;color:#7f1d1d;border-color:#dc262626}.status-badge--small.info{background:#0ea5e914;color:#0c4a6e;border-color:#0ea5e926}.dashboard-grid{display:flex;flex-direction:column;gap:14px;padding:0}.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:4px}.kpi-card{background:linear-gradient(135deg,#fff,#f8f9fb);border:1px solid var(--border-color, #e5e7eb);border-radius:3px;padding:10px;text-align:center;transition:all .15s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:58px}.kpi-card:hover{border-color:var(--brand-primary, #2f3a4b);box-shadow:0 1px 2px #0000000d;transform:translateY(-1px)}.kpi-card__value{font-size:22px;font-weight:700;color:var(--brand-primary, #2f3a4b);line-height:1;margin-bottom:2px}.kpi-card__label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--text-secondary, #6b7280);line-height:1.2}.dashboard-actions{display:flex;gap:6px;justify-content:flex-end;margin-bottom:6px}.dashboard-actions button{padding:6px 10px;font-size:11px;font-weight:600;height:32px}.section-collapsible{border-radius:8px;background:var(--surface-base);border:1px solid var(--border-color, #e5e7eb);overflow:hidden;transition:all .2s ease}.section-collapsible__header{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--surface-base);border-bottom:1px solid var(--border-color, #e5e7eb);transition:background-color .2s ease}.section-collapsible__header:hover{background:var(--surface-subtle, #f9fafb)}.section-collapsible__title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--text-primary, #1f2937)}.section-collapsible__indicator{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:var(--text-secondary, #6b7280)}.section-collapsible__icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.section-collapsible[data-open=true] .section-collapsible__icon{transform:rotate(180deg)}.section-collapsible__body{padding:16px;background:var(--surface-base);display:none;max-height:0;overflow:hidden;transition:all .3s ease}.section-collapsible[data-open=true] .section-collapsible__body{display:block;max-height:2000px}.dashboard-table{width:100%;font-size:11px;border-collapse:collapse;border:1px solid var(--border-color, #e5e7eb);border-radius:3px;overflow:hidden;background:#fff}.dashboard-table thead{background:linear-gradient(135deg,#f8f9fb,#f3f4f6);border-bottom:1px solid var(--border-color, #e5e7eb)}.dashboard-table th{padding:6px 8px;text-align:left;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--grey-600);font-size:9px;white-space:nowrap;height:32px}.dashboard-table td{padding:6px 8px;border-bottom:1px solid var(--border-color, #e5e7eb);color:var(--text-primary, #1f2937);height:32px;vertical-align:middle}.dashboard-table tbody tr:hover{background:linear-gradient(90deg,#3b82f605,#3b82f603);transition:background-color .1s ease}.dashboard-table tbody tr:last-child td{border-bottom:none}.sla-panel{background:#fff;border:1px solid var(--border-color);border-left:3px solid #f97316;padding:10px 12px;border-radius:3px;margin-bottom:8px;font-size:11px}.sla-panel__header{font-size:10px;font-weight:700;text-transform:uppercase;color:#f97316;margin-bottom:4px;letter-spacing:.3px}.sla-panel__list{color:var(--text-primary);line-height:1.4}.sla-panel__item{font-size:10px;margin-bottom:3px}.sla-panel__item:last-child{margin-bottom:0}.tech-workload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;margin-bottom:6px}.tech-workload-card{background:linear-gradient(135deg,#fff,#f8f9fb);border:1px solid var(--border-color);border-radius:3px;padding:8px;font-size:11px;transition:all .15s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80px;text-align:center}.tech-workload-card:hover{border-color:var(--brand-primary);box-shadow:0 1px 2px #3b82f61a;transform:translateY(-1px)}.tech-workload-card__name{font-weight:700;margin-bottom:3px;color:var(--text-primary);font-size:10px}.tech-workload-card__count{color:var(--brand-primary);font-size:18px;font-weight:700;line-height:1;margin-bottom:2px}.tech-workload-card__label{font-size:9px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.2px}.parts-waiting-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;margin-bottom:6px}.parts-waiting-card{background:linear-gradient(135deg,#fff,#f8f9fb);border:1px solid var(--border-color);border-left:3px solid #f97316;border-radius:3px;padding:8px;font-size:10px;transition:all .15s ease}.parts-waiting-card:hover{border-color:#f97316;box-shadow:0 1px 2px #f973161a;transform:translateY(-1px)}.parts-waiting-card__machine{font-weight:700;color:var(--brand-primary);margin-bottom:2px;font-size:11px}.parts-waiting-card__breakdown{font-size:10px;color:var(--text-primary);margin-bottom:2px;line-height:1.2}.parts-waiting-card__req{font-size:9px;color:var(--text-secondary);margin-bottom:3px}.parts-waiting-card__status{display:inline-block}.alert-panel{border-left:3px solid;padding:10px 12px;border-radius:3px;margin-bottom:8px;font-size:11px;background:#fff;border:1px solid var(--border-color);border-left-width:3px}.alert-panel--warning{border-left-color:#f97316;background:linear-gradient(90deg,#f9731608,#fff)}.alert-panel--danger{border-left-color:var(--status-danger);background:linear-gradient(90deg,#dc262608,#fff)}.alert-panel__header{font-size:10px;font-weight:700;text-transform:uppercase;color:#f97316;margin-bottom:4px;letter-spacing:.3px}.alert-panel--danger .alert-panel__header{color:var(--status-danger)}.alert-panel__list{color:var(--text-primary);line-height:1.4}.alert-panel__item{font-size:10px;margin-bottom:3px;color:var(--text-primary)}.alert-panel__item:last-child{margin-bottom:0}.shift-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-bottom:12px}.shift-card{background:var(--surface-base);border:1px solid var(--border-color);border-left:3px solid var(--brand-primary);padding:10px;border-radius:4px;font-size:11px;transition:border-color .15s ease}.shift-card:hover{border-color:var(--grey-300)}.shift-card__time{font-weight:600;color:var(--brand-primary);margin-bottom:3px;font-size:11px}.shift-card__machine{font-size:12px;color:var(--text-primary);font-weight:500;margin-bottom:2px}.shift-card__operator{font-size:10px;color:var(--text-secondary);margin-bottom:6px}.shift-card__progress{display:flex;align-items:center;gap:4px}.progress-bar{flex:1;height:4px;background:var(--surface-subtle);border-radius:2px;overflow:hidden}.progress-bar__fill{height:100%;background:var(--brand-primary);border-radius:2px}.progress-label{font-size:9px;color:var(--text-secondary);font-weight:600}.fleet-health-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:8px;margin-bottom:6px}.fleet-health-panel__section{background:#fff;border:1px solid var(--border-color);border-left:3px solid var(--brand-primary);border-radius:3px;padding:10px 12px}.fleet-health-panel__header{font-size:10px;font-weight:700;text-transform:uppercase;color:var(--brand-primary);margin-bottom:6px;letter-spacing:.3px}.fleet-health-panel__content{display:flex;flex-direction:column;gap:4px}.health-item{display:flex;flex-direction:column;font-size:10px}.health-item__label{color:var(--text-primary);font-weight:600;margin-bottom:1px}.health-item__detail{color:var(--text-secondary);font-size:9px;line-height:1.2}.shift-summary-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:6px;padding:10px 12px;background:linear-gradient(135deg,#fff,#f8f9fb);border:1px solid var(--border-color);border-top:3px solid var(--brand-primary);border-radius:3px}.shift-summary-stat{text-align:center}.shift-summary-stat__label{font-size:9px;text-transform:uppercase;color:var(--text-secondary);font-weight:700;margin-bottom:2px;letter-spacing:.3px}.shift-summary-stat__value{font-size:20px;font-weight:700;color:var(--brand-primary);margin-bottom:3px}.shift-summary-stat__detail{font-size:10px;color:var(--text-tertiary)}.efficiency-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:6px;padding:10px 12px;background:linear-gradient(135deg,#fff,#f8f9fb);border:1px solid var(--border-color);border-left:3px solid var(--brand-primary);border-radius:3px}.efficiency-stat{text-align:center}.efficiency-stat__label{font-size:9px;text-transform:uppercase;color:var(--text-secondary);font-weight:700;margin-bottom:2px;letter-spacing:.3px}.efficiency-stat__value{font-size:20px;font-weight:700;color:var(--brand-primary);line-height:1;margin-bottom:1px}.efficiency-stat__value--alert{color:var(--status-danger)}.efficiency-stat__detail{font-size:9px;color:var(--text-tertiary)}.progress-inline{display:inline-block;height:4px;background:var(--surface-subtle);border-radius:2px;min-width:60px}.progress-inline{background:linear-gradient(to right,var(--brand-primary),var(--brand-primary)) no-repeat;background-size:100% 100%}.status-pill{display:inline-flex;align-items:center;padding:3px 7px;border-radius:3px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;line-height:1}.status-pill--success{background:#10b9811f;color:#065f46;border:1px solid rgba(16,185,129,.2)}.status-pill--warning{background:#f59e0b1f;color:#92400e;border:1px solid rgba(245,158,11,.2)}.status-pill--danger{background:#dc26261f;color:#7f1d1d;border:1px solid rgba(220,38,38,.2)}.status-pill--info{background:#0ea5e91f;color:#0c4a6e;border:1px solid rgba(14,165,233,.2)}.progress-bar{width:100%;height:6px;background:var(--surface-subtle, #f9fafb);border-radius:3px;overflow:hidden;margin-top:4px}.progress-bar__fill{height:100%;background:var(--brand-primary, #2f3a4b);border-radius:3px;transition:width .3s ease}.section-footer{margin-top:12px;padding-top:12px;border-top:1px solid var(--border-color, #e5e7eb);display:flex;justify-content:flex-end}.section-footer a{font-size:11px;font-weight:600;color:var(--brand-primary, #2f3a4b);text-decoration:none;transition:opacity .2s ease}.section-footer a:hover{opacity:.7}@media(max-width:1024px){.kpi-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.kpi-card{padding:10px}.kpi-card__value{font-size:20px}.dashboard-actions{flex-wrap:wrap}.section-collapsible__body{max-height:1500px}}@media(max-width:768px){.dashboard-grid{gap:16px}.kpi-row{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.kpi-card{padding:8px}.kpi-card__value{font-size:18px}.kpi-card__label{font-size:9px}.dashboard-actions{gap:6px}.dashboard-actions button{padding:6px 10px;font-size:11px}.dashboard-table{font-size:11px}.dashboard-table th,.dashboard-table td{padding:6px 8px}.section-collapsible__body{padding:12px;max-height:1200px}}.breakdown-dashboard{display:grid;grid-template-columns:1fr 340px;gap:12px;padding-right:340px}.breakdown-dashboard-main,.breakdown-stages-section{display:flex;flex-direction:column;gap:8px}.breakdown-stages-header{font-size:12px;font-weight:600;color:var(--grey-700);margin:0;padding:8px 0;text-transform:uppercase;letter-spacing:.03em}.breakdowns-cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.breakdowns-card{background:#fff;border:1px solid var(--border-subtle);border-radius:6px;padding:12px;box-shadow:0 1px 2px #0f172a0a;display:flex;flex-direction:column;gap:8px}.breakdowns-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.breakdowns-card-title{font-size:13px;font-weight:600;color:var(--grey-900);margin:0}.breakdowns-card-count{font-size:18px;font-weight:700;color:var(--brand-primary)}.dashboard-panel{background:#fff;border:1px solid var(--border-subtle);border-radius:6px;padding:12px;box-shadow:0 1px 2px #0f172a0a;display:flex;flex-direction:column;gap:8px}.dashboard-panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 8px;border-bottom:1px solid var(--border-subtle)}.dashboard-panel-title{font-size:13px;font-weight:600;color:var(--grey-900);margin:0}.dashboard-panel-body{display:flex;flex-direction:column;gap:6px}.breakdown-dashboard .section-block,.breakdown-dashboard .card-shell,.breakdown-dashboard .section{margin-top:8px;margin-bottom:0;padding:10px 12px}.breakdown-dashboard .section-header,.breakdown-dashboard .dashboard-panel-header{margin-bottom:8px;padding:8px 0;gap:6px}.breakdown-dashboard .section-item,.breakdown-dashboard .dashboard-panel .section-item{padding:6px 0;gap:4px}.breakdown-dashboard>*+*{margin-top:8px}.content.with-activity-panel{margin-right:340px}@media(max-width:1400px){.breakdown-dashboard{grid-template-columns:1fr;padding-right:0}.content.with-activity-panel{margin-right:0}.activity-panel{position:absolute;top:auto;right:-340px;transition:right .3s ease}.activity-panel.open{right:0}}.breakdown-two-col-layout{display:grid;grid-template-columns:70% 30%;gap:20px;align-items:start}.breakdown-main-column{display:flex;flex-direction:column}@media(max-width:1200px){.breakdown-two-col-layout{grid-template-columns:1fr}}.section-title{font-size:16px;font-weight:600;color:var(--grey-900);margin:0 0 12px;letter-spacing:-.01em}.card-shell{background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:22px;box-shadow:0 14px 32px #0f172a1a;overflow:hidden}.section-body{padding:0}.toolbar{padding:10px 16px 8px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.tabs-row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}.tabs{display:inline-flex;padding:3px;background:#e5e7eb;border-radius:14px;gap:4px}.tab-btn{border:none;background:transparent;padding:8px 12px;border-radius:12px;font-weight:700;font-size:12px;color:#6b7280;cursor:pointer;transition:all .2s ease}.tab-btn.active{background:#fff;color:#0f172a;box-shadow:0 4px 12px #0f172a1a;border:1px solid #dbe5f3}.controls{display:flex;align-items:center;gap:10px;flex:1 1 320px;justify-content:flex-end;flex-wrap:wrap}.badge{background:#111827;color:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.active-filters{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.filter-chip{display:inline-flex;align-items:center;gap:6px;background:#eef2ff;color:#312e81;border-radius:999px;padding:6px 10px;font-weight:600;font-size:11px;border:1px solid #c7d2fe}.filter-chip button{border:none;background:transparent;cursor:pointer;color:#312e81;font-size:13px}.link-btn{border:none;background:transparent;color:#1d4ed8;font-weight:700;font-size:12px;cursor:pointer}.link-btn.subtle{color:#475467;font-weight:600;font-size:12px;margin-top:4px}.table-area{padding:14px 16px 16px}.cell-title{font-weight:700;color:#0f172a}.table-actions{display:flex;gap:8px}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #d1d5db;background:#fff;border-radius:8px;color:#374151;cursor:pointer;transition:all .2s ease;padding:0}.btn-icon:hover{background:#f3f4f6;border-color:#9ca3af;color:#111827}.status-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px}.status-pill.open{background:#ecfdf3;color:#065f46}.status-pill.closed{background:#fef2f2;color:#b91c1c}.empty-state{padding:24px;text-align:center;color:#6b7280;font-weight:600}.filters-panel{position:fixed;right:-400px;top:0;width:400px;height:100vh;background:#fff;border-left:1px solid #e5e7eb;box-shadow:-8px 0 20px #0f172a1a;transition:right .3s ease;z-index:1000;display:flex;flex-direction:column}.filters-panel.open{right:0}.filters-panel-header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.filters-panel-title{font-size:15px;font-weight:700;color:#111827;margin:0}.filters-subtitle{margin:3px 0 0;color:#6b7280;font-size:12px}.filters-panel-close{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #e5e7eb;background:#fff;border-radius:8px;color:#6b7280;cursor:pointer;transition:all .2s ease}.filters-panel-close:hover{background:#f3f4f6;border-color:#d1d5db;color:#111827}.filters-panel-content{flex:1;overflow-y:auto;padding:12px 0}.filter-section{padding:12px 16px;border-bottom:1px solid #f3f4f6}.filter-section-title{font-size:11px;font-weight:700;text-transform:uppercase;color:#6b7280;letter-spacing:.5px;margin-bottom:10px}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filter-label{font-size:11px;font-weight:600;color:#6b7280;display:block;margin-bottom:3px}.filter-select,.filter-input-date{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;font-size:12px;background:#fff;color:#1f2937;font-family:inherit}.filter-select:focus,.filter-input-date:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.status-group{flex-direction:row;flex-wrap:wrap}.status-chip{border:1px solid #d1d5db;background:#fff;border-radius:999px;padding:6px 10px;font-weight:700;font-size:11px;cursor:pointer;color:#4b5563}.status-chip.active{background:#111827;color:#fff;border-color:#111827}.filters-panel-footer{padding:14px 16px;border-top:1px solid #e5e7eb;flex-shrink:0;display:flex;justify-content:space-between;gap:10px}.btn{border:none;border-radius:18px;background:linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-primary-dark) 100%);color:#f8fafc;font-weight:700;padding:12px 22px;cursor:pointer;box-shadow:0 12px 28px var(--brand-primary-soft);transition:transform .2s,box-shadow .2s,background .18s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 16px 34px #2f3a4b47;background:linear-gradient(135deg,#38465a,#2b3442)}.modal{position:fixed;inset:0;background:#0f172a47;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:1200;padding:16px}.modal.active{opacity:1;pointer-events:all}.modal-content{background:#fff;border-radius:20px;width:min(720px,100%);max-height:90vh;overflow:hidden;box-shadow:0 24px 60px #0f172a33}.modal-header{padding:18px 20px;border-bottom:1px solid #e5e7eb}.modal-title{font-size:18px;font-weight:700;margin:0}.modal-body{padding:18px 20px 24px;max-height:70vh;overflow-y:auto}.modal-form{display:flex;flex-direction:column;gap:14px}.form-section{border:1px solid #e5e7eb;border-radius:14px;padding:14px 14px 4px;background:#f9fafb}.section-label{font-weight:700;color:#0f172a;margin-bottom:12px}.drawer{position:fixed;top:0;right:0;height:100vh;width:420px;background:#fff;border-left:1px solid #e5e7eb;box-shadow:-12px 0 30px #0f172a1f;transform:translate(100%);transition:transform .2s ease;z-index:1100}.drawer.open{transform:translate(0)}.drawer-content{height:100%;display:flex;flex-direction:column}.drawer-header{padding:16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7eb}.drawer-title{font-size:18px;font-weight:600;color:#0f172a}.drawer-body{padding:16px;overflow-y:auto}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.detail-card{padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.detail-label{font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:#94a3b8}.detail-value{margin-top:4px;font-weight:700;color:#111827}.alert{margin:12px 16px 0;padding:12px 14px;border-radius:10px;font-size:13px;border:1px solid #fca5a5;background:#fef2f2;color:#b91c1c}@media(max-width:900px){.tabs-row{flex-direction:column;align-items:flex-start}.controls{width:100%}.filters-panel{width:100%;right:-100%}}@media(max-width:640px){.tabs{width:100%}.tab-btn{flex:1 1 auto;text-align:center}.controls{flex-direction:column}.filter-toggle-btn{width:100%;justify-content:center}}.card-shell,.section{background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:12px 16px;box-shadow:0 1px 2px #0f172a0a}.section.card-shell{border-radius:var(--radius-md)}.section+.section{margin-top:12px}.section-block{background:var(--surface-elevated);border-radius:var(--radius-lg);border:1px solid var(--border-subtle);padding:16px;box-shadow:0 1px 3px #0f172a0f}.section-block+.section-block{margin-top:12px}.section-item{padding:10px 0;border-bottom:1px solid var(--border-subtle)}.section-item:last-child{border-bottom:none;padding-bottom:0}.section-item:first-child{padding-top:0}.section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;padding:12px 0;border-bottom:1px solid var(--border)}.section-header.no-border{border-bottom:none;padding:0 0 12px}.section-title{font-size:16px;font-weight:600;color:var(--grey-900)}.section-subtitle{font-size:12px;color:var(--grey-500)}.section-body.no-padding,.section-body.p-0{padding:0!important}.card-shell:has(table),.section:has(table),.card-shell:has(.table-wrapper),.section:has(.table-wrapper){background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important}.grid-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.detail-grid{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:flex-start}@media(max-width:968px){.detail-grid{grid-template-columns:1fr}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:16px}.stats-grid.compact{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.stat-card{border:1px solid var(--border);border-radius:var(--radius-md);padding:12px;background:var(--bg-panel);box-shadow:0 1px 2px #0f172a0a;display:flex;align-items:flex-start;gap:10px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.stat-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a14;border-color:var(--grey-300)}.stat-card.centered{text-align:center;flex-direction:column;align-items:center}.stat-info{flex:1}.stat-label{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:var(--grey-500);margin-bottom:3px}.stat-value{font-size:22px;font-weight:600;color:var(--grey-900);line-height:1;margin-bottom:2px}.stat-card.centered .stat-value{font-size:28px;font-weight:700;color:var(--brand-primary-dark);margin-bottom:6px}.stat-caption,.stat-change{font-size:11px;color:var(--grey-500)}.entity-card{background:var(--surface-elevated);border-radius:var(--radius-md);padding:14px 16px;box-shadow:0 1px 2px #0f172a0a;border:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:12px}.entity-card-header{display:flex;align-items:center;justify-content:space-between}.entity-card-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:#0f172a}.status-dot{width:10px;height:10px;border-radius:999px;background:var(--status-success, #4ade80);flex-shrink:0}.entity-card-meta{padding:4px 10px;background:#f8fafc;border-radius:12px;border:1px solid rgba(148,163,184,.2);font-size:13px;font-weight:600;color:#334155}.entity-card-body{display:flex;flex-direction:column;gap:8px}.assigned-sites-label{font-size:14px;font-weight:600;color:#475569;margin-bottom:4px}.assigned-sites{display:flex;flex-wrap:wrap;gap:10px}.entity-card .tag,.entity-card .chip{background:var(--surface-subtle);border:1px solid var(--border-subtle);font-size:13px;font-weight:500;padding:6px 12px;border-radius:14px}.add-to-site-row{margin-top:8px;padding:14px 18px;border-radius:var(--radius-lg);border:1px dashed var(--border-subtle);background:var(--surface-subtle);display:inline-flex;align-items:center;gap:10px;cursor:pointer;transition:.15s ease}.add-to-site-row:hover{background:var(--surface-base);border-color:var(--brand-primary)}.client-card{background:var(--surface-elevated);border-radius:var(--radius-xl);padding:20px 24px;box-shadow:var(--shadow-sm);border:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:18px}.client-header{display:flex;align-items:center;justify-content:space-between}.client-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;color:#0f172a}.client-meta{padding:6px 14px;background:#f8fafc;border-radius:14px;border:1px solid rgba(148,163,184,.2);font-size:14px;font-weight:600;color:#334155}.assigned-clients{display:flex;flex-wrap:wrap;gap:10px}.assigned-clients .tag,.assigned-clients .chip{background:var(--surface-subtle);border:1px solid var(--border-subtle);font-size:13px;font-weight:500;padding:6px 12px;border-radius:14px}.assign-button-row{margin-top:8px;padding:14px 18px;border-radius:var(--radius-lg);border:1px dashed var(--border-subtle);background:var(--surface-subtle);display:inline-flex;align-items:center;gap:10px;cursor:pointer;transition:.15s ease}.assign-button-row:hover{background:var(--surface-base);border-color:var(--brand-primary)}.card{background:var(--surface-elevated);border-radius:var(--radius-lg);padding:20px 24px;box-shadow:var(--shadow-sm);border:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:16px;cursor:pointer;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}.card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong-alt);transform:translateY(-2px)}.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;color:#0f172a}.card-subtitle{font-size:14px;color:#64748b;margin-top:4px}.card-header .status-chip{width:10px;height:10px;border-radius:50%;padding:0;border:none;display:inline-flex;align-items:center;justify-content:center;line-height:1;overflow:hidden;flex-shrink:0;background:var(--status-success);box-shadow:0 0 0 2px #10b98133;margin-right:8px}.card-header .status-chip.inactive{background:var(--status-danger);box-shadow:0 0 0 2px #dc26262e}.card-header .status-chip.offline{background:var(--status-muted);box-shadow:0 0 0 2px #94a3b833}.count-badge{background:var(--grey-100);border-radius:12px;padding:6px 14px;border:1px solid var(--border-soft);font-size:14px;font-weight:600;color:var(--grey-900);line-height:1;min-height:32px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.card-actions{display:flex;gap:8px;align-items:center;opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity .2s ease,transform .2s ease}.card:hover .card-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.card-icon{width:28px;height:28px;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;color:#4b5563;transition:background .15s ease,border-color .15s ease,color .15s ease}.card-icon:hover{background:var(--grey-100);border-color:var(--border-subtle);color:#111827}.card-icon.success{color:#16a34a}.card-icon.danger{color:#dc2626}.card-body{display:flex;flex-direction:column;gap:12px}.info-label{font-size:14px;font-weight:600;color:#475569}.tag-list{display:flex;flex-wrap:wrap;gap:10px}.tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:14px;font-size:13px;font-weight:500;color:#334155}.empty-state{font-size:14px;color:#94a3b8}.card-add{margin-top:8px;padding:14px 18px;border-radius:14px;border:2px dashed #cbd5e1;background:#f8fafc;display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-weight:600;color:#334155;transition:.15s ease}.card-add:hover{background:#f1f5f9;border-color:var(--brand-primary)}.card-add-icon{font-size:18px;line-height:1}.card-count{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.profile-card{text-align:center;padding:32px 24px;background:#fff;border:1px solid var(--border-subtle);border-radius:4px;position:sticky;top:8px}.profile-card-section{padding:8px 0;border-bottom:1px solid var(--border-subtle);text-align:left}.profile-card-section:last-child{border-bottom:none;padding-bottom:0}.profile-card-section:first-child{padding-top:0}.profile-avatar{width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,var(--brand-primary),var(--brand-primary-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:600;margin:0 auto 16px;box-shadow:var(--shadow-lg)}.profile-name{font-size:22px;font-weight:600;color:var(--grey-900);margin-bottom:4px}.profile-role{font-size:13px;color:var(--grey-500);text-transform:uppercase;letter-spacing:.5px;margin-bottom:24px}.profile-divider{height:1px;background:var(--border);margin:24px 0}.profile-info-group{margin-bottom:16px}.profile-info-group:last-child{margin-bottom:0}.profile-info-label{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-500);margin-bottom:4px;font-weight:600}.profile-info-value{font-size:14px;color:var(--grey-900);font-weight:500}.stats-grid.profile{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}.stat-card.profile{text-align:center;padding:20px 16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--bg-panel);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease}.stat-card.profile:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-card.profile .stat-value{font-size:32px;font-weight:700;color:var(--brand-primary-dark);line-height:1;margin-bottom:8px}.stat-card.profile .stat-label{font-size:12px;color:var(--grey-500);text-transform:uppercase;letter-spacing:.3px}.activity-list{display:flex;flex-direction:column}.activity-item{padding:16px 0;border-bottom:1px solid var(--border)}.activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.activity-title{font-size:14px;font-weight:600;color:var(--grey-900)}.activity-time{font-size:12px;color:var(--grey-500)}.activity-details{font-size:13px;color:var(--grey-600);line-height:1.5}.section{background:#fff;border:1px solid var(--border-subtle);border-radius:4px;margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--border-subtle)}.section-header h3{font-size:14px;font-weight:600;color:var(--grey-900);margin:0}.section-actions{display:flex;gap:8px}.section-body{padding:12px}.section-body.u-p-0{padding:0}.timeline{position:relative;padding-left:32px}.timeline:before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:2px;background:var(--border)}.timeline-item{position:relative;padding-bottom:16px;margin-bottom:4px}.timeline-item:last-child{padding-bottom:0;margin-bottom:0}.timeline-item:before{content:"";position:absolute;left:-27px;top:4px;width:10px;height:10px;border-radius:50%;background:var(--brand-primary);border:2px solid white;box-shadow:0 0 0 1px var(--border-subtle)}.timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.timeline-header strong{font-size:13px;font-weight:600;color:var(--grey-900)}.timeline-time{font-size:12px;color:var(--grey-500)}.timeline-meta{font-size:12px;color:var(--grey-600);margin-bottom:4px}.timeline-notes{font-size:13px;color:var(--grey-700);margin-top:4px;padding:8px;background:var(--grey-50);border-radius:4px}.timeline-content{position:relative}.timeline-date{font-size:12px;color:var(--grey-500);text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-weight:600}.timeline-title{font-size:15px;font-weight:600;color:var(--grey-900);margin-bottom:4px}.timeline-description{font-size:13px;color:var(--grey-600);line-height:1.5}.profile-icon{width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,var(--brand-primary),var(--brand-primary-dark));color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;box-shadow:var(--shadow-lg)}.sticky-card{position:sticky;top:24px}.action-buttons{display:flex;flex-direction:column;gap:8px}.btn-full{width:100%}.activity-item{padding:10px 0;border-bottom:1px solid var(--border)}.activity-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:4px}.activity-title{font-size:13px;font-weight:600;color:var(--grey-900)}.activity-time{font-size:11px;color:var(--grey-500);white-space:nowrap}.activity-details{font-size:12px;color:var(--grey-600);line-height:1.4}.info-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-panel);margin-bottom:12px;box-shadow:0 1px 2px #0f172a0a;padding:12px}.info-card-header{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600);margin-bottom:8px}.info-card-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:13px;border-bottom:1px solid var(--border-subtle)}.info-card-row:last-child{border-bottom:none}.info-card-label{color:var(--grey-600);font-weight:500}.info-card-value{color:var(--grey-900);font-weight:600;text-align:right}.info-card-body{padding:12px 14px}.work-entry{padding-bottom:12px}.work-entry:last-child{padding-bottom:0}.work-entry .divider:last-child{display:none}.attachments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.attachment-card{border:1px solid var(--border);border-radius:var(--radius-md);padding:14px;background:var(--bg-panel);text-align:center;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.attachment-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a14;border-color:var(--grey-300)}.attachment-icon{margin-bottom:8px;color:var(--grey-400);display:flex;justify-content:center}.attachment-name{font-size:12px;font-weight:500;color:var(--grey-900);margin-bottom:3px;word-break:break-word}.attachment-meta{font-size:10px;color:var(--grey-500);margin-bottom:8px}.text-danger{color:var(--status-danger)!important}.text-warning{color:var(--status-warning)!important}.text-success{color:var(--status-success)!important}.metrics-row{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap}.metrics-row .stat-card{flex:1;min-width:140px}.info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-subtle)}.info-row:last-child{border-bottom:none}.info-row .info-label{font-size:12px;font-weight:500;color:var(--grey-600);min-width:140px}.info-row .info-value{font-size:13px;color:var(--grey-900);text-align:right;flex:1}.work-session{padding:12px 0}.work-session+.work-session{border-top:1px solid var(--border-subtle)}.audit-entry{padding:10px 0}.audit-entry+.audit-entry{border-top:1px solid var(--border-subtle)}.field-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:13px}.field-label{color:var(--grey-600);font-weight:500}.field-value{color:var(--grey-900);font-weight:600}.field-value.link{color:var(--brand-primary);cursor:pointer;text-decoration:none;transition:color .15s ease}.field-value.link:hover{color:#1a252f;text-decoration:underline}.field-value.muted{color:var(--grey-500);font-weight:400}.parts-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}.parts-status-badge{padding:4px 10px;border-radius:999px;font-size:11px;font-weight:600;text-transform:uppercase;display:inline-block}.parts-status-badge.pending{background:#fef3c7;color:#854d0e}.parts-status-badge.approved{background:#dbeafe;color:#1e40af}.parts-status-badge.partially-supplied{background:#fef3c7;color:#ea580c}.parts-status-badge.completed,.parts-status-badge.supplied{background:#dcfce7;color:#166534}.requisition-info-card{background:#fff;border:1px solid var(--border-subtle);border-radius:4px;padding:12px;display:flex;flex-direction:column;gap:8px;position:sticky;top:8px}.requisition-info-section{padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.requisition-info-section:last-child{border-bottom:none;padding-bottom:0}.requisition-info-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px;line-height:1.4}.requisition-info-row .field-label{color:var(--grey-600);font-size:12px;font-weight:500}.requisition-info-row .field-value{color:var(--grey-900);font-size:13px;font-weight:400;text-align:right}.requisition-info-row .field-value.link{color:var(--brand-primary);cursor:pointer;text-decoration:underline}.requisition-info-row .field-value.muted{color:var(--grey-500)}.info-label-header{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600);margin-bottom:4px}.info-value-large{font-size:18px;font-weight:700;color:var(--grey-900);margin-bottom:4px}.info-value-medium{font-size:12px;color:var(--grey-600)}.parts-status-badge.requested{background:#f3f4f6;color:#374151}.parts-status-badge.ordered{background:#dbeafe;color:#1e40af}.parts-status-badge.in-stock{background:#e0e7ff;color:#4338ca}.parts-status-badge.unavailable{background:#fee2e2;color:#991b1b}.status-badge.draft{background:#f3f4f6;color:#6b7280}.status-badge.submitted{background:#dbeafe;color:#1e40af}.status-badge.approved{background:#dcfce7;color:#166534}.status-badge.awaiting-quotation{background:#fef3c7;color:#854d0e}.status-badge.quotation-received{background:#e0e7ff;color:#4338ca}.status-badge.ordered{background:#dbeafe;color:#1e40af}.status-badge.partially-delivered{background:#fef3c7;color:#ea580c}.status-badge.fully-delivered{background:#dcfce7;color:#166534}.status-badge.issued-to-technician{background:#e0e7ff;color:#4338ca}.status-badge.completed{background:#dcfce7;color:#166534}.priority-badge{display:inline-block;padding:4px 10px;border-radius:22px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.priority-badge.priority-low{background:#f3f4f6;color:#6b7280}.priority-badge.priority-normal{background:#dbeafe;color:#1e40af}.priority-badge.priority-high{background:#fef3c7;color:#ea580c}.priority-badge.priority-critical{background:#fee2e2;color:#991b1b}.breakdowns-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin-bottom:12px}.highlight-card{background:#fff;border:1px solid var(--border-subtle);border-radius:6px;padding:10px 12px;box-shadow:0 1px 2px #0f172a0a;display:flex;flex-direction:column;gap:8px}.highlight-card-header{display:flex;align-items:center;gap:8px}.highlight-card-icon{font-size:16px;flex-shrink:0}.highlight-card-title{font-size:11px;font-weight:600;color:var(--grey-700);text-transform:uppercase;letter-spacing:.02em;margin:0}.highlight-card-items{display:flex;flex-direction:column;gap:6px}.highlight-card-item{display:flex;justify-content:space-between;align-items:center;font-size:12px}.highlight-card-label{color:var(--grey-600);font-weight:400}.highlight-card-value{font-weight:600;color:var(--grey-900);font-size:13px}.external-client-card{background:linear-gradient(135deg,#fff,#f9fafb)}.external-client-card .highlight-card-value.at-risk{color:var(--status-warning)}.external-client-card .highlight-card-value.high-priority{color:var(--status-danger)}.services-card{background:linear-gradient(135deg,#fff,#fafbfc)}.services-card .highlight-card-value.overdue{color:var(--status-danger)}.services-card .highlight-card-value.due-today{color:var(--status-warning)}.tier1-stage-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}.tier1-card{background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:8px;padding:14px 16px;display:flex;align-items:center;gap:12px;transition:border-color .2s ease}.tier1-card:hover{border-color:var(--brand-primary)}.tier1-card-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--grey-600)}.tier1-card-content{flex:1;display:flex;flex-direction:column;gap:2px}.tier1-card-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600)}.tier1-card-count{font-size:28px;font-weight:700;color:var(--grey-900);line-height:1}.tier1-card-trend{font-size:11px;color:var(--grey-500)}.tier1-card-trend.positive{color:var(--status-success)}.tier1-card-trend.negative{color:var(--status-danger)}.tier1-card.no-action .tier1-card-icon{color:var(--grey-600)}.tier1-card.assigned .tier1-card-icon{color:#3b82f6}.tier1-card.in-progress .tier1-card-icon{color:#f59e0b}.tier1-card.completed .tier1-card-icon{color:var(--status-success)}@media(max-width:1200px){.tier1-stage-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.tier1-stage-cards{grid-template-columns:1fr}}.activity-panel-pill{background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:16px;box-shadow:0 2px 8px #0f172a0f;max-height:600px;overflow-y:auto}.activity-panel-pill .activity-panel-header{padding-bottom:12px;border-bottom:1px solid var(--border-subtle);margin-bottom:12px}.activity-panel-pill .activity-panel-title{font-size:14px;font-weight:600;color:var(--grey-900);margin:0}.activity-panel-pill .activity-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-subtle)}.activity-panel-pill .activity-item:last-child{border-bottom:none}.activity-panel-pill .activity-dot{width:10px;height:10px;border-radius:50%;margin-top:4px;flex-shrink:0}.activity-panel-pill .activity-dot.success{background:var(--status-success)}.activity-panel-pill .activity-dot.warning{background:var(--status-warning)}.activity-panel-pill .activity-dot.danger{background:var(--status-danger)}.activity-panel-pill .activity-dot.info{background:#3b82f6}.activity-panel-pill .activity-content{flex:1}.activity-panel-pill .activity-text{font-size:13px;color:var(--grey-900);margin:0 0 4px;line-height:1.4}.activity-panel-pill .activity-time{font-size:11px;color:var(--grey-500);margin:0}.tier2-cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:24px}.tier2-card{background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:8px;padding:12px;box-shadow:0 1px 2px #0f172a0a;display:flex;flex-direction:column;gap:6px;transition:border-color .2s ease}.tier2-card:hover{border-color:var(--brand-primary)}.tier2-card-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.tier2-card-header svg{width:14px;height:14px;flex-shrink:0;color:var(--grey-600)}.tier2-card-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600);flex:1}.tier2-card-count{font-size:22px;font-weight:700;color:var(--grey-900);line-height:1;margin-bottom:2px}.tier2-card-description{font-size:11px;color:var(--grey-600);line-height:1.3}@media(max-width:768px){.tier2-cards-grid{grid-template-columns:1fr}}.btn{border:1px solid var(--brand-primary-dark);border-radius:var(--radius-md);background:var(--brand-primary);color:#fff;font-weight:600;padding:0 14px;cursor:pointer;font-size:13px;line-height:1.4;height:36px}.btn:hover:not(:disabled){background:var(--brand-primary-dark)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:transparent;color:var(--text-secondary);border:1px solid var(--border-subtle);box-shadow:none}.btn-secondary:hover:not(:disabled){background:var(--surface-subtle)}.btn-ghost{background:transparent;border:1px solid var(--border-subtle);color:var(--grey-600);box-shadow:none}.btn-outline{border:1px solid var(--border-strong-alt);color:var(--brand-primary-dark);background:transparent;box-shadow:none}.btn-icon{width:30px;height:30px;min-width:30px;min-height:30px;border-radius:var(--radius-md);border:1px solid var(--border-subtle);background:var(--surface-elevated);display:inline-flex;align-items:center;justify-content:center;color:var(--grey-600);cursor:pointer;padding:0}.btn-icon:hover{background:var(--grey-100);border-color:var(--grey-400);color:#111827}.btn-icon.status-active{color:var(--status-success);border-color:#d1fae5;background:#ecfdf5}.btn-icon.status-active:hover{background:#d1fae5;border-color:var(--status-success)}.btn-icon.status-inactive{color:var(--status-danger);border-color:#fee2e2;background:#fef2f2}.btn-icon.status-inactive:hover{background:#fee2e2;border-color:var(--status-danger)}.inline-buttons{display:flex;gap:8px}.icon-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border-subtle);background:var(--surface-elevated);border-radius:var(--radius-md);padding:0 14px;height:40px;font-size:14px;line-height:1.4;color:var(--grey-700);cursor:pointer;box-shadow:0 2px 6px #0f172a14}.icon-btn:hover{background:var(--grey-50);border-color:var(--grey-400)}.back-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border-subtle);background:var(--surface-elevated);color:var(--grey-700);padding:8px 16px;border-radius:var(--radius-lg);font-size:14px;line-height:1.4;font-weight:500;cursor:pointer;height:36px}.back-btn:hover{background:var(--grey-50);border-color:var(--grey-400)}.btn-danger{background:transparent;border:1px solid var(--border-subtle);color:var(--status-danger);box-shadow:none}.btn-danger:hover:not(:disabled){background:var(--surface-subtle)}.form-row{display:flex;gap:12px;flex-wrap:wrap}.form-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}.form-grid.two-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-grid.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:960px){.form-grid.two-cols,.form-grid.three-cols{grid-template-columns:minmax(0,1fr)}}.form-group{flex:1 1 0;min-width:220px;display:flex;flex-direction:column;gap:4px}.form-group.full-span{grid-column:1 / -1}.form-group label{font-size:12px;font-weight:500;color:var(--grey-700)}.form-input,.form-select,.form-textarea,.form-group input:not([type=checkbox]):not([type=radio]),.form-group select,.form-group textarea{width:100%;height:var(--input-height);padding:0 12px;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;background:var(--surface-elevated);color:var(--text-primary);transition:border-color .15s ease,background-color .15s ease}.form-textarea,.form-group textarea{min-height:96px;padding-top:10px;padding-bottom:10px;line-height:1.5;resize:vertical}.form-input::placeholder,.form-select::placeholder,.form-textarea::placeholder,.form-group input::placeholder,.form-group textarea::placeholder{color:var(--grey-500)}.form-input:focus,.form-select:focus,.form-textarea:focus,.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--border-strong-alt);background:var(--surface-elevated)}.form-section{padding:12px 0;border-bottom:1px solid var(--border-subtle)}.form-section:last-child{border-bottom:none;padding-bottom:0}.form-section:first-child{padding-top:0}.section-label{font-size:13px;color:var(--text-secondary);margin-bottom:12px;font-weight:600}.form-section-plain{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:transparent;border:none;box-shadow:none;border-radius:0;padding:0}@media(max-width:768px){.form-section-plain{grid-template-columns:1fr}}.form-hint{margin-top:6px;font-size:12px;color:#94a3b8;font-weight:400;line-height:1.5}.form-field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}nn.form-field:last-child{margin-bottom:0}.form-label{font-size:13px;font-weight:500;color:var(--grey-700)}.form-input.input-error,.form-select.input-error,.form-textarea.input-error,.input-error{border-color:var(--status-danger)}.form-error-box{background:var(--error-soft-bg);border:1px solid var(--status-danger);color:var(--status-danger);padding:12px;margin-bottom:16px;font-size:13px}.form-error-text,.error-text{font-size:12px;color:var(--status-danger);margin-top:4px}.modal .form-card,.modal-overlay .form-card{background:transparent;border:none;border-radius:0;padding:0;box-shadow:none}.modal .form-field,.modal-overlay .form-field{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.modal .form-field:last-child,.modal-overlay .form-field:last-child{margin-bottom:0}.modal .form-label,.modal-overlay .form-label{font-size:12px;font-weight:500;color:var(--grey-700)}.modal .form-label .required,.modal-overlay .form-label .required{color:var(--status-danger)}.modal .form-input,.modal .form-select,.modal .form-textarea,.modal-overlay .form-input,.modal-overlay .form-select,.modal-overlay .form-textarea{width:100%;height:var(--input-height);padding:0 12px}.modal .form-input,.modal .form-select,.modal-overlay .form-input,.modal-overlay .form-select{height:var(--input-height)}.modal .form-textarea,.modal-overlay .form-textarea{min-height:96px;padding-top:10px;padding-bottom:10px;resize:vertical;line-height:1.5}.modal .form-input::placeholder,.modal .form-select::placeholder,.modal .form-textarea::placeholder,.modal-overlay .form-input::placeholder,.modal-overlay .form-select::placeholder,.modal-overlay .form-textarea::placeholder{color:var(--grey-500)}.modal .form-input:focus,.modal .form-select:focus,.modal .form-textarea:focus,.modal-overlay .form-input:focus,.modal-overlay .form-select:focus,.modal-overlay .form-textarea:focus{outline:none;border-color:var(--border-strong-alt)}.modal .form-input.input-error,.modal .form-select.input-error,.modal .form-textarea.input-error,.modal-overlay .form-input.input-error,.modal-overlay .form-select.input-error,.modal-overlay .form-textarea.input-error,.modal .input-error,.modal-overlay .input-error{border-color:var(--status-danger)}.modal .form-actions,.modal-overlay .form-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--border-subtle);margin-top:12px}.modal-footer .form-actions{border-top:0;margin-top:0;padding-top:0}.modal.form--compact .form-textarea,.modal.form--compact textarea{min-height:64px;max-height:220px}.section-title{font-size:14px;font-weight:600;color:var(--grey-900)}.form-container{max-width:1200px;margin:0 auto}.form-card{background:transparent;border:none;border-radius:0;padding:0;margin-bottom:16px;box-shadow:none}.form-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.form-section-title{font-size:14px;font-weight:600;color:var(--grey-900);margin:0 0 12px;letter-spacing:.2px}.form-section-header .form-section-title{margin-bottom:0}.form-inline-row{display:flex;align-items:center;gap:8px}.form-inline-grow{flex:1}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin-bottom:0}.input-with-button{display:flex;gap:8px;align-items:stretch}.inline-actions{display:flex;justify-content:flex-end;gap:8px}.form-row.form-row--2col{grid-template-columns:repeat(2,1fr)}.form-row.form-row--3col{grid-template-columns:repeat(3,1fr)}.form-label{font-size:12px;font-weight:500;color:var(--grey-700);margin-bottom:4px}.form-label .required{color:var(--status-danger)}@media(max-width:640px){.form-card{padding:16px 18px}.form-actions{flex-direction:column-reverse}}.custom-select{position:relative;width:100%}.select-trigger{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;color:var(--text-primary);font-size:14px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.select-trigger:hover:not(:disabled){border-color:var(--border-strong)}.select-trigger:focus{outline:none;border-color:var(--border-strong)}.select-trigger:disabled{opacity:.5;cursor:not-allowed}.select-trigger.open{border-color:var(--border-strong)}.select-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-chevron{flex-shrink:0;color:var(--grey-500);margin-left:8px;transition:transform .15s ease}.select-chevron.rotated{transform:rotate(180deg)}.select-dropdown{position:absolute;top:100%;left:0;right:0;margin-top:2px;background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);z-index:1000}.select-options{max-height:300px;overflow-y:auto;padding:4px}.select-options::-webkit-scrollbar{width:6px}.select-options::-webkit-scrollbar-track{background:transparent}.select-options::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:3px}.select-option{display:flex;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;color:var(--text-primary);font-size:14px}.select-option:hover{background:var(--grey-50)}.select-option.selected{background:var(--brand-primary-soft);color:var(--brand-primary-dark)}.option-radio{width:14px;height:14px;border:1px solid var(--border);border-radius:50%;flex-shrink:0}.option-radio.checked{border-color:var(--brand-primary);background:var(--brand-primary);box-shadow:inset 0 0 0 2px #fff}.status-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid rgba(15,23,42,.08);border-radius:var(--radius-lg);background:var(--grey-50)}.status-toggle p{margin:2px 0 0;font-size:12px;color:var(--grey-600);text-transform:none}.status-title{font-size:13px;font-weight:600;color:#0f172a;text-transform:none}.switch{position:relative;width:40px;height:22px;display:inline-block}.switch input{opacity:0;width:0;height:0}.switch .slider{position:absolute;inset:0;background:var(--border-strong);border-radius:var(--radius-full);transition:background .2s ease;cursor:pointer}.switch .slider:before{content:"";position:absolute;height:18px;width:18px;left:2px;top:2px;background:#fff;border-radius:50%;transition:transform .2s ease;box-shadow:var(--shadow-sm)}.switch input:checked+.slider{background:var(--brand-primary-dark)}.switch input:checked+.slider:before{transform:translate(18px)}.checkbox-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-primary);cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--brand-primary)}.page-form-container{max-width:720px;margin:0 auto}.form-page-header{margin-bottom:16px}.form-page-title{margin:0;font-size:18px;font-weight:600;color:var(--text-primary);line-height:1.3}.form-page-subtitle{margin:4px 0 0;font-size:13px;color:var(--text-secondary)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%}@media(max-width:900px){.form-grid{grid-template-columns:1fr;gap:12px}}.form-group{display:flex;flex-direction:column;gap:4px}.form-group.full-width{grid-column:1 / -1}.form-label{font-size:12px;font-weight:500;color:var(--grey-700);margin-bottom:4px;display:block}.form-label .required{color:var(--status-danger);margin-left:2px}.form-control-wrapper{width:100%}.form-control-wrapper input,.form-control-wrapper select,.form-control-wrapper textarea{width:100%;padding:0 12px;height:var(--input-height);border-radius:var(--radius-sm);border:1px solid var(--border-subtle);background:var(--surface-elevated);font-size:14px;font-family:inherit;color:var(--text-primary);transition:border-color .15s ease,background-color .15s ease}.form-control-wrapper textarea{height:auto;min-height:96px;resize:vertical;line-height:1.5;padding-top:10px;padding-bottom:10px}.form-control-wrapper select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}.form-control-wrapper input:focus,.form-control-wrapper select:focus,.form-control-wrapper textarea:focus{outline:none;border-color:var(--border-strong-alt)}.form-control-wrapper input::placeholder,.form-control-wrapper textarea::placeholder{color:var(--text-muted)}.form-control-wrapper input:disabled,.form-control-wrapper select:disabled,.form-control-wrapper textarea:disabled{background:var(--surface-subtle);color:var(--text-muted);cursor:not-allowed}.form-hint{font-size:12px;color:var(--grey-500);line-height:1.4}.form-hint.error{color:var(--status-danger)}.form-hint.success{color:var(--status-success)}.form-section{margin-top:16px}.form-section:first-child{margin-top:0}.form-section-title{font-size:14px;font-weight:600;margin:0 0 12px;color:var(--text-primary);letter-spacing:.2px;text-transform:none;padding-bottom:6px;border-bottom:1px solid var(--border-subtle)}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-subtle)}.form-actions .btn,.form-actions button{min-width:120px;padding:12px 24px;font-size:14px;font-weight:600;border-radius:8px;cursor:pointer;transition:all .2s ease}.form-actions .btn-primary,.form-actions button[type=submit]{background:var(--brand-primary, #3b82f6);color:#fff;border:none}.form-actions .btn-primary:hover,.form-actions button[type=submit]:hover{background:#2563eb;box-shadow:0 4px 12px #3b82f640}.form-actions .btn-secondary,.form-actions button[type=button]{background:#fff;color:var(--grey-700);border:1px solid #d1d5db}.form-actions .btn-secondary:hover,.form-actions button[type=button]:hover{background:#f9fafb;border-color:#9ca3af}.form-actions .btn-danger{background:#dc2626;color:#fff;border:none}.form-actions .btn-danger:hover{background:#b91c1c;box-shadow:0 4px 12px #dc262640}@media(max-width:768px){.page-form-container{padding:16px 20px;gap:20px}.form-page-title{font-size:22px}.form-actions{flex-direction:column-reverse}.form-actions .btn,.form-actions button{width:100%}}.filters-section{display:flex;gap:10px;align-items:flex-end;margin-bottom:12px;padding:0;background:transparent;border:none}.filter-controls{display:flex;gap:10px;align-items:center;flex:1}.search-bar,.search-wrapper{position:relative;display:flex;align-items:center;flex:0 0 auto;max-width:420px}.search-bar input,.search-wrapper input{width:100%;height:38px;border:1px solid var(--grey-300);border-radius:22px;padding:0 14px 0 38px;font-size:14px;color:var(--grey-700);background:#fff;box-shadow:inset 0 1px 2px #0000000d}.search-bar input::placeholder,.search-wrapper input::placeholder,.search-input::placeholder{color:#9ca3af}.search-bar input:focus,.search-wrapper input:focus,.search-input:focus{outline:none;border-color:var(--status-info);box-shadow:0 0 0 2px #0ea5e926}.search-wrapper .search-icon,.search-input-wrapper .search-icon,.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--grey-500);pointer-events:none;z-index:1}.search-wrapper .search-clear,.search-input-wrapper .search-clear,.search-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:none;background:transparent;color:var(--grey-500);width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease;z-index:1}.search-wrapper .search-clear:hover,.search-input-wrapper .search-clear:hover,.search-clear:hover{background:var(--grey-200)}.filter-bar{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.filter-button,.filters-button,.filter-btn,.filter-trigger,.filters-trigger,.filters-btn,.filters,.filter-toggle-btn,.filter-control-button{display:inline-flex;align-items:center;gap:6px;padding:0 16px;height:38px;background:#fff;border:1px solid var(--grey-300);border-radius:18px;font-size:14px;font-weight:500;color:var(--grey-700);box-shadow:none;cursor:pointer;transition:background .15s ease,border-color .15s ease}.filter-button svg,.filters-button svg,.filter-btn svg,.filter-trigger svg,.filters-trigger svg,.filters-btn svg,.filters svg,.filter-toggle-btn svg,.filter-control-button svg{width:16px;height:16px;color:var(--grey-600);fill:currentColor;stroke:none}.filter-button svg path,.filters-button svg path,.filter-btn svg path,.filter-trigger svg path,.filters-trigger svg path,.filters-btn svg path,.filters svg path,.filter-toggle-btn svg path,.filter-control-button svg path,.btn[data-filter-anchor] svg,.btn[data-filter-anchor] svg path{fill:currentColor;stroke:none}.filter-button:hover,.filters-button:hover,.filter-btn:hover,.filter-trigger:hover,.filters-trigger:hover,.filters-btn:hover,.filters:hover,.filter-toggle-btn:hover,.filter-control-button:hover{background:var(--grey-100);border-color:var(--grey-400)}.filter-button:focus-visible,.filters-button:focus-visible,.filter-btn:focus-visible,.filter-trigger:focus-visible,.filters-trigger:focus-visible,.filters-btn:focus-visible,.filters:focus-visible,.filter-toggle-btn:focus-visible,.filter-control-button:focus-visible{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 3px #2f3a4b1a}.filter-button.active,.filters-button.active,.filter-btn.active,.filter-trigger.active,.filters-trigger.active,.filters-btn.active,.filters.active,.filter-toggle-btn.active,.filter-control-button.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.filter-button.active svg,.filters-button.active svg,.filter-btn.active svg,.filter-trigger.active svg,.filters-trigger.active svg,.filters-btn.active svg,.filters.active svg,.filter-toggle-btn.active svg,.filter-control-button.active svg{color:#fff}.filter-select-group{display:flex;flex-direction:column;gap:6px;min-width:140px}.filter-select-group label{font-size:11px;color:var(--grey-600);text-transform:uppercase;letter-spacing:.5px;font-weight:600}.filter-select-group select{height:38px;border:1px solid var(--grey-300);border-radius:22px;padding:0 12px;font-size:14px;background:#fff;color:var(--grey-700);cursor:pointer;font-weight:500}.filter-select-group select:focus{outline:none;border-color:var(--status-info);box-shadow:0 0 0 3px #0ea5e91a}.filter-toggle{display:flex;align-items:center;justify-content:flex-end}.filter-toggle-inner{position:relative;display:inline-flex;align-items:center;background:transparent;border:1px solid var(--border-subtle);border-radius:6px;padding:2px;box-shadow:none}.filter-toggle .toggle-btn{position:relative;z-index:1;border:none;background:transparent;height:32px;padding:0 8px;font-weight:500;color:var(--grey-600);border-radius:5px;cursor:pointer;font-size:13px}.filter-toggle .toggle-btn.active{color:var(--grey-900);background:var(--grey-50)}.filter-toggle .toggle-btn:not(.active):hover{color:var(--grey-700);background:transparent}.filter-toggle .toggle-btn:focus,.filter-toggle .toggle-btn:focus-visible{outline:none;box-shadow:none}.filter-toggle .toggle-slider{display:none}.filter-toggle .toggle-slider[data-active=TECHNICIAN],.filter-toggle .toggle-slider[data-active="1"]{transform:translate(100%)}.status-filter{position:relative;display:inline-flex;align-items:center;gap:8px;padding:0 16px;height:var(--input-height);border-radius:var(--radius-md);background:#fff;border:1px solid var(--border-strong);box-shadow:var(--shadow-sm);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.status-filter select{border:none;background:transparent;font-size:14px;color:var(--grey-800);font-weight:600;appearance:none;padding:0 24px 0 0;outline:none;cursor:pointer;width:auto}.status-filter:after{content:"";position:absolute;right:14px;top:50%;width:10px;height:10px;border-bottom:2px solid #9ca3af;border-right:2px solid #9ca3af;transform:translateY(-50%) rotate(45deg);pointer-events:none;opacity:.85;transition:border-color .18s ease,transform .18s ease}.status-filter:focus-within{border-color:var(--status-info);box-shadow:0 0 0 2px #0ea5e933}.status-filter:focus-within:after{border-bottom-color:var(--status-info);border-right-color:var(--status-info);transform:translateY(-50%) rotate(45deg)}.status-reset,.filter-reset-btn{width:40px;height:40px;min-width:40px;border-radius:var(--radius-full);border:1px solid var(--control-border);background:#fff;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--grey-500);font-size:13px;font-weight:500;box-shadow:0 6px 18px #1118270a;transition:transform .16s ease,box-shadow .16s ease,background .12s ease}.status-reset:hover,.filter-reset-btn:hover{transform:translateY(-1px);box-shadow:0 12px 30px #11182714;background:var(--grey-50)}.status-pill{position:relative;display:inline-flex;align-items:center;gap:10px;padding:0 20px;height:var(--input-height);border-radius:var(--radius-md);background:#fff;border:1px solid var(--border-strong);box-shadow:var(--shadow-sm)}.status-icon{color:var(--grey-500);flex-shrink:0}.status-trigger{border:none;background:transparent;display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:14px;color:#111827;cursor:pointer;padding:0}.status-trigger:focus{outline:none}.status-trigger-value{min-width:48px;text-align:left}.status-caret{width:10px;height:10px;border-right:2px solid #9ca3af;border-bottom:2px solid #9ca3af;transform:rotate(45deg);transition:transform .16s ease;flex-shrink:0}.status-caret.open{transform:rotate(-135deg)}.status-menu{position:absolute;top:calc(100% + 8px);left:0;background:#fff;border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:0 20px 45px #0f172a2e;padding:10px;min-width:200px;display:grid;gap:8px;z-index:10}.status-option{width:100%;border:1px solid transparent;background:#fff;border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:14px;font-weight:600;color:#111827;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.status-option[aria-selected=true]{border-color:#d2d8e6;background:#f7f9fd;box-shadow:inset 0 0 0 1px #2f3a4b1a}.status-option:hover{background:var(--grey-50)}.status-option:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #2f3a4b47}.option-label{text-align:left;flex:1}.option-check{width:18px;height:18px;border-radius:50%;border:2px solid #9ca3af;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.status-option[aria-selected=true] .option-check{border-color:var(--brand-primary-dark);box-shadow:inset 0 0 0 4px #fff;background:radial-gradient(circle,var(--brand-primary-dark) 50%,transparent 51%)}.dropdown-scale-enter-active,.dropdown-scale-leave-active{transition:opacity .16s ease,transform .16s ease;transform-origin:top center}.dropdown-scale-enter-from,.dropdown-scale-leave-to{opacity:0;transform:scale(.96) translateY(-4px)}.erp-filter-panel{position:fixed;width:420px;max-height:380px;background:#fff;border:1px solid var(--grey-200);border-radius:var(--radius-sm);box-shadow:0 2px 8px #0000000f,0 1px 2px #0000000a;display:flex;flex-direction:column;z-index:900;animation:erpFilterFadeIn 80ms ease-out;overflow:hidden}@keyframes erpFilterFadeIn{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@media(max-width:480px){.erp-filter-panel{width:calc(100vw - 48px);left:24px!important;right:24px}}.erp-filter-status{padding:10px 20px;font-size:12px;color:var(--grey-400);border-bottom:1px solid var(--grey-100);background:#fff}.erp-filter-status-count{font-weight:500;color:var(--grey-500)}.erp-filter-columns{display:flex;flex:1;min-height:0;overflow:hidden}.erp-filter-categories{width:140px;flex-shrink:0;background:#fafbfc;border-right:1px solid var(--grey-100);display:flex;flex-direction:column;overflow-y:auto}.erp-filter-section-header{padding:16px 20px 8px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-400)}.erp-filter-section-header:first-child{padding-top:14px}.erp-filter-categories-header{display:none}.erp-filter-category-list{flex:1;overflow-y:auto;padding:8px 0}.erp-filter-category-group{padding:12px 20px 6px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-400)}.erp-filter-category{display:flex;align-items:center;width:100%;padding:9px 16px;background:transparent;border:none;font-size:13px;font-weight:400;color:var(--grey-600);text-align:left;cursor:pointer;transition:background .1s ease,color .1s ease}.erp-filter-category:hover{background:#00000005;color:var(--grey-700)}.erp-filter-category.active{background:#3b82f60d;color:var(--grey-800);font-weight:500}.erp-filter-category-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.erp-filter-category-count{display:none}.erp-filter-category-chevron{flex-shrink:0;color:var(--grey-300);opacity:.6;transition:color .1s ease,opacity .1s ease}.erp-filter-category.active .erp-filter-category-chevron{color:var(--grey-400);opacity:.8}.erp-filter-options{flex:1;min-width:0;display:flex;flex-direction:column;background:#fff}.erp-filter-search-wrapper{position:relative;padding:8px 16px 6px}.erp-filter-search-icon{position:absolute;left:25px;top:50%;transform:translateY(-50%);color:var(--grey-400);pointer-events:none;z-index:1;width:13px;height:13px}.erp-filter-search-input{width:100%;height:24px;padding:0 8px 0 28px;border:1px solid var(--grey-300);border-radius:4px;font-size:12px;color:var(--grey-700);background:#fff;transition:all .15s ease}.erp-filter-search-input::placeholder{color:var(--grey-400);font-size:12px}.erp-filter-search-input:focus{outline:none;border-color:var(--status-info);box-shadow:0 0 0 2px #0ea5e90f}.erp-filter-options-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--grey-100)}.erp-filter-options-title{font-size:11px;font-weight:500;color:var(--grey-500);text-transform:none}.erp-filter-options-actions{display:flex;align-items:center;gap:16px}.erp-filter-link-btn{padding:0;background:transparent;border:none;font-size:12px;font-weight:500;color:var(--grey-500);cursor:pointer;transition:color .1s ease}.erp-filter-link-btn:hover:not(:disabled){color:var(--grey-700)}.erp-filter-link-btn:disabled{color:var(--grey-300);cursor:not-allowed}.erp-filter-link-btn.secondary{color:var(--grey-400)}.erp-filter-link-btn.secondary:hover:not(:disabled){color:var(--grey-600)}.erp-filter-divider{color:var(--grey-200);font-size:11px;-webkit-user-select:none;user-select:none}.erp-filter-search{position:relative;padding:14px 20px}.erp-filter-search-icon{position:absolute;left:32px;top:50%;transform:translateY(-50%);color:var(--grey-400);pointer-events:none}.erp-filter-search-input{width:100%;height:38px;padding:0 14px 0 36px;border:1px solid #3b82f6;border-radius:var(--radius-sm);font-size:14px;color:var(--grey-900);background:#fff;transition:border-color .1s ease,box-shadow .1s ease}.erp-filter-search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.erp-filter-search-input::placeholder{color:var(--grey-400)}.erp-filter-options-list{flex:1;overflow-y:auto;padding:8px 12px 12px}.erp-filter-option{display:flex;align-items:center;gap:10px;padding:11px 8px;border-radius:var(--radius-sm);cursor:pointer;transition:background .08s ease;-webkit-user-select:none;user-select:none;line-height:1.4}.erp-filter-option:hover{background:var(--grey-50)}.erp-filter-checkbox,.erp-filter-radio{width:16px;height:16px;margin:0;flex-shrink:0;cursor:pointer;accent-color:var(--grey-700)}.erp-filter-option-label{flex:1;min-width:0;font-size:13px;font-weight:400;color:var(--grey-700);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.erp-filter-option-count{flex-shrink:0;font-size:11px;font-weight:400;color:var(--grey-350, #b0b8c4);background:transparent;padding:0;min-width:16px;text-align:right}.erp-filter-empty{padding:20px 14px;text-align:center;font-size:13px;color:var(--grey-400)}.erp-filter-placeholder{flex:1;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--grey-400);padding:24px}.erp-filter-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-top:1px solid var(--grey-150, #e8ebef);background:#fff}.erp-filter-reset-btn{padding:6px 10px;background:transparent;border:none;font-size:12px;font-weight:500;color:var(--grey-500);cursor:pointer;transition:color .1s ease}.erp-filter-reset-btn:hover:not(:disabled){color:var(--grey-700)}.erp-filter-reset-btn:disabled{color:var(--grey-300);cursor:not-allowed}.erp-filter-apply-btn{padding:7px 16px;background:var(--grey-800);border:none;border-radius:6px;font-size:12px;font-weight:500;color:#fff;cursor:pointer;transition:background .1s ease}.erp-filter-apply-btn:hover{background:var(--grey-900)}.filter-option-all{font-weight:500;background:var(--grey-50);margin-bottom:6px}.filter-option-all:hover{background:var(--grey-100)}.filter-option input[type=checkbox],.filter-option input[type=radio]{width:16px;height:16px;margin:0;cursor:pointer;flex-shrink:0}.filter-option-label{flex:1;font-size:13px;color:var(--grey-800);min-width:0}.filter-option-count{font-size:12px;font-weight:500;color:var(--grey-500);background:var(--grey-100);padding:2px 7px;border-radius:10px;flex-shrink:0}.filter-group-empty{padding:12px;text-align:center;font-size:13px;color:var(--grey-500);font-style:italic}.filter-panel-footer{display:flex;gap:10px;padding:14px 20px;border-top:1px solid var(--border);background:var(--grey-50)}.filter-panel-footer .btn{flex:1}.filter-btn-badge{position:absolute;top:-4px;right:-4px;width:8px;height:8px;background:var(--brand-primary);border:2px solid #fff;border-radius:50%}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.toggle-group{display:inline-flex;align-items:center;gap:2px;margin:6px 0;background:var(--grey-100);border:none;border-radius:20px;padding:3px;position:relative}.toggle-group:before{content:"";position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/2);background:var(--brand-primary);border-radius:18px;transition:transform .18s cubic-bezier(.4,0,.2,1);z-index:0;pointer-events:none}.toggle-group[data-active="0"]:before{transform:translate(0)}.toggle-group[data-active="1"]:before{transform:translate(100%)}.toggle-group:has(.toggle-item:nth-child(3)):before{width:calc((100% - 6px) / 3)}.toggle-group[data-active="2"]:before{transform:translate(200%)}.toggle-group:has(.toggle-item:nth-child(4)):before{width:calc((100% - 6px)/4)}.toggle-group[data-active="3"]:before{transform:translate(300%)}.toolbar-row+.toggle-group,.toolbar+.toggle-group{margin-top:6px}.toggle-item{height:28px;padding:0 14px;border-radius:18px;background:transparent;color:var(--grey-600);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;border:none;min-width:72px;position:relative;z-index:1;transition:color .12s ease}.toggle-item.active{color:#fff;background:transparent}.toggle-item:not(.active):hover{color:var(--grey-800);background:#0000000a}.toggle-item:focus,.toggle-item:focus-visible{outline:none;box-shadow:none}.toggle-item.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}@media(max-width:600px){.toggle-item{padding:0 12px;height:28px;font-size:13px;min-width:64px}}@media(max-width:400px){.toggle-item{padding:0 10px;height:26px;font-size:12px;min-width:58px}.toggle-group{padding:2px;border-radius:16px}.toggle-group:before{top:2px;bottom:2px;left:2px;width:calc((100% - 4px)/2);border-radius:14px}.toggle-group:has(.toggle-item:nth-child(3)):before{width:calc((100% - 4px) / 3)}.toggle-group:has(.toggle-item:nth-child(4)):before{width:calc((100% - 4px)/4)}}.button-toggle-group{display:inline-flex;align-items:center;gap:2px;background:var(--grey-100);border:none;border-radius:20px;padding:3px;position:relative}.button-toggle-group:before{content:"";position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/2);background:var(--brand-primary);border-radius:18px;transition:transform .18s cubic-bezier(.4,0,.2,1);z-index:0;pointer-events:none}.button-toggle-group[data-active="0"]:before{transform:translate(0)}.button-toggle-group[data-active="1"]:before{transform:translate(100%)}.button-toggle-group>button{height:28px;padding:0 14px;border-radius:18px;border:none;background:transparent;color:var(--grey-600);font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap;position:relative;z-index:1;transition:color .12s ease}.button-toggle-group>button.active{background:transparent;color:#fff}.button-toggle-group>button:not(.active):hover{background:#0000000a;color:var(--grey-800)}.button-toggle-group>button:focus,.button-toggle-group>button:focus-visible{outline:none;box-shadow:none}.toggle-btn{height:28px;padding:0 14px;border-radius:18px;border:none;background:var(--grey-100);color:var(--grey-600);font-size:13px;font-weight:500;cursor:pointer;transition:background .18s ease,color .12s ease}.toggle-btn.active{background:var(--brand-primary);color:#fff}.toggle-btn:not(.active):hover{background:var(--grey-200);color:var(--grey-800)}.toggle-btn:focus,.toggle-btn:focus-visible{outline:none;box-shadow:none}.toggle-btn.small{height:24px;padding:0 10px;font-size:12px;border-radius:14px}.search-input,input[type=search].search-input,.form-search,.global-search{height:38px;padding:0 14px 0 38px;border:1px solid var(--grey-300);border-radius:22px;background:#fff;font-size:14px;color:var(--grey-700);outline:none;width:100%;box-shadow:inset 0 1px 2px #0000000d;transition:border-color .15s ease}.search-input:focus,input[type=search].search-input:focus,.form-search:focus,.global-search:focus{border-color:var(--brand-primary);box-shadow:inset 0 1px 2px #0000000d,0 0 0 3px #2f3a4b1a}.search-input::placeholder,.form-search::placeholder,.global-search::placeholder{color:var(--grey-500)}.search-input-wrapper{position:relative;width:100%}.search-input-wrapper .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--grey-500);font-size:18px;pointer-events:none}select,.form-select,.filter-select{height:38px;padding:0 32px 0 12px;border:1px solid var(--grey-300);border-radius:22px;background:#fff;font-size:14px;color:var(--grey-700);outline:none;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:calc(100% - 12px) center;background-size:10px 6px;transition:border-color .15s ease}select:focus,.form-select:focus,.filter-select:focus{border-color:var(--brand-primary);box-shadow:0 0 0 3px #2f3a4b1a}select:hover,.form-select:hover,.filter-select:hover{border-color:var(--grey-400)}.filter-pill,.btn-filter,.filter-button{height:38px;padding:0 16px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--grey-300);border-radius:22px;background:#fff;font-size:14px;font-weight:500;color:var(--grey-700);cursor:pointer;transition:background .15s ease,border-color .15s ease;white-space:nowrap}.filter-pill:hover,.btn-filter:hover,.filter-button:hover{background:var(--grey-100);border-color:var(--grey-400)}.filter-pill:active,.btn-filter:active,.filter-button:active{background:var(--grey-200)}.filter-pill svg,.btn-filter svg,.filter-button svg{font-size:16px;color:var(--grey-600)}.filter-pill.active,.btn-filter.active,.filter-button.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.filter-pill.active svg,.btn-filter.active svg,.filter-button.active svg{color:#fff}.pill,.btn-pill,.chip,.badge-pill{height:38px!important;padding:0 16px!important;border-radius:22px!important;font-size:14px!important;display:inline-flex!important;align-items:center!important;gap:6px!important}.control-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.control-group-tight{display:flex;align-items:center;gap:6px;flex-wrap:wrap}@media(max-width:640px){.control-group{flex-direction:column;align-items:stretch;width:100%}.control-group>*{width:100%}}.filter-bar{display:flex;align-items:center;gap:8px;padding:8px 0;flex-wrap:wrap}.filter-select-compact{height:36px;padding:0 32px 0 12px;border:1px solid var(--grey-300);border-radius:22px;background:#fff;font-size:13px;color:var(--grey-700);outline:none;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:calc(100% - 12px) center;background-size:10px 6px;transition:border-color .15s ease;min-width:140px}.filter-select-compact:focus{border-color:var(--brand-primary)}.filter-select-compact:hover{border-color:var(--grey-400)}.filter-clear-btn{height:36px;padding:0 16px;border:1px solid var(--grey-300);border-radius:22px;background:#fff;color:var(--grey-600);font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease}.filter-clear-btn:hover{background:var(--grey-50);border-color:var(--grey-400);color:var(--grey-900)}.filter-bar-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.filter-bar-right{display:flex;align-items:center;gap:10px}.search-filter-row{display:flex;align-items:center;gap:12px;margin-bottom:16px}.search-filter-row .search-input-wrapper{flex:1;min-width:200px;max-width:400px}.search-filter-row .filter-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap}@media(max-width:768px){.search-filter-row{flex-direction:column;align-items:stretch}.search-filter-row .search-input-wrapper{max-width:100%}}.status-pill{height:28px;padding:0 12px;border-radius:14px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:4px}.status-pill.active{background:#dcfce7;color:#166534}.status-pill.inactive{background:#fee2e2;color:#991b1b}.status-pill.pending{background:#fef3c7;color:#854d0e}.status-pill.completed{background:#dbeafe;color:#1e40af}.btn-secondary-pill,.btn-outline-pill{height:38px;padding:0 18px;border-radius:22px;border:1px solid var(--grey-300);background:#fff;color:var(--grey-700);font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:6px}.btn-secondary-pill:hover,.btn-outline-pill:hover{background:var(--grey-100);border-color:var(--grey-400)}.btn-secondary-pill:active,.btn-outline-pill:active{background:var(--grey-200)}.btn-primary-pill{height:38px;padding:0 18px;border-radius:22px;border:none;background:var(--brand-primary);color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s ease;display:inline-flex;align-items:center;gap:6px}.btn-primary-pill:hover{background:#253242}.btn-primary-pill:active{background:#1a252f}.compact-controls .search-input,.compact-controls .filter-pill,.compact-controls .toggle-item{height:32px!important;font-size:13px!important;padding-top:0!important;padding-bottom:0!important}.compact-controls .search-input{padding-left:34px!important}.compact-controls .search-input-wrapper .search-icon{font-size:16px!important}.table-card,.table-container,.card-table-wrapper,.card-shell .table-wrapper{background:none!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.table-wrapper{background:transparent;border:none;border-radius:0;overflow-x:auto;overflow-y:hidden;box-shadow:none;padding:0}.data-table,table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--grey-200);border-radius:8px;overflow:hidden}.data-table thead,table thead{background:#fff;border-bottom:none}.data-table th,.data-table thead th,table thead th{font-size:12px;line-height:1.4;font-weight:600;text-align:left;padding:12px 16px;color:var(--grey-600);border-bottom:1px solid var(--grey-200);vertical-align:middle;background:#fff;white-space:nowrap;height:44px}.data-table td,.data-table tbody td,table tbody td{padding:12px 16px;border-bottom:1px solid var(--grey-200);font-size:13px;line-height:1.4;color:var(--grey-900);text-align:left;vertical-align:middle;background:#fff;height:64px}.data-table tbody tr:last-child td,table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover,table tbody tr:hover,.data-table tbody tr:hover td,table tbody tr:hover td{background:var(--grey-50)}.data-table tbody tr.selected,table tbody tr.selected,.data-table tbody tr.selected td,table tbody tr.selected td{background:#2f3a4b0d}.data-table tbody tr.selected:hover,table tbody tr.selected:hover,.data-table tbody tr.selected:hover td,table tbody tr.selected:hover td{background:#2f3a4b14}table thead,table tbody{border-radius:0!important}.data-table th.numeric,.data-table td.numeric{text-align:right}.data-table th.status-col,.data-table td.status-col,.data-table th.actions-col,.data-table td.actions-col{text-align:center}.data-table td .status,.data-table td .status-badge,.data-table td .status-badge--small,.data-table td .status-chip,.data-table td .status-pill,.data-table--erp td .status-badge--small,table td .status,table td .status-badge,table td .status-badge--small,table td .status-chip,table td .status-pill{display:inline-flex;align-items:center;gap:8px;padding:0!important;border:none!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;font-size:inherit;font-weight:500;text-transform:none!important;letter-spacing:0!important;color:var(--grey-600);cursor:default;-webkit-user-select:none;user-select:none}.data-table td .status:before,.data-table td .status-badge:before,.data-table td .status-badge--small:before,.data-table td .status-chip:before,.data-table td .status-pill:before,.data-table--erp td .status-badge--small:before,table td .status:before,table td .status-badge:before,table td .status-badge--small:before,table td .status-chip:before,table td .status-pill:before{content:"";width:10px;height:10px;border-radius:999px;background:var(--status-muted);box-shadow:0 0 0 2px #94a3b833;flex-shrink:0}.data-table td .status.active:before,.data-table td .status.operational:before,.data-table td .status.online:before,.data-table td .status.true:before,.data-table td .status-badge.active:before,.data-table td .status-badge--small.success:before,.data-table td .status-badge--small.active:before,.data-table td .status-chip.active:before,.data-table td .status-pill.active:before,.data-table td .status-pill.completed:before,.data-table td .status-pill.resolved:before,.data-table td .status-pill.synced:before,.data-table td .status-pill--success:before,.data-table--erp td .status-badge--small.success:before,.data-table--erp td .status-badge--small.active:before,table td .status.active:before,table td .status.operational:before,table td .status.online:before,table td .status.true:before,table td .status-badge.active:before,table td .status-badge--small.success:before,table td .status-badge--small.active:before,table td .status-chip.active:before,table td .status-pill.active:before,table td .status-pill.completed:before,table td .status-pill.resolved:before,table td .status-pill.synced:before,table td .status-pill--success:before{background:var(--status-success)!important;box-shadow:0 0 0 2px #10b98133!important}.data-table td .status.inactive:before,.data-table td .status.offline:before,.data-table td .status.false:before,.data-table td .status-badge.inactive:before,.data-table td .status-badge--small.danger:before,.data-table td .status-badge--small.inactive:before,.data-table td .status-chip.inactive:before,.data-table td .status-pill.inactive:before,.data-table td .status-pill.rejected:before,.data-table td .status-pill.not-synced:before,.data-table td .status-pill.offline:before,.data-table td .status-pill--danger:before,.data-table--erp td .status-badge--small.danger:before,.data-table--erp td .status-badge--small.inactive:before,table td .status.inactive:before,table td .status.offline:before,table td .status.false:before,table td .status-badge.inactive:before,table td .status-badge--small.danger:before,table td .status-badge--small.inactive:before,table td .status-chip.inactive:before,table td .status-pill.inactive:before,table td .status-pill.rejected:before,table td .status-pill.not-synced:before,table td .status-pill.offline:before,table td .status-pill--danger:before{background:var(--status-danger)!important;box-shadow:0 0 0 2px #dc26262e!important}.data-table td .status-pill.pending:before,.data-table td .status-pill.hold:before,.data-table td .status-pill.awaiting-parts:before,.data-table td .status-pill.pending-docs:before,.data-table td .status-pill.pending-invoice:before,.data-table td .status-pill--warning:before,.data-table td .status-badge--small.warning:before,.data-table td .status-badge--small.high:before,.data-table td .status-badge--small.critical:before,.data-table--erp td .status-badge--small.warning:before,.data-table--erp td .status-badge--small.high:before,.data-table--erp td .status-badge--small.critical:before,table td .status-pill.pending:before,table td .status-pill.hold:before,table td .status-pill.awaiting-parts:before,table td .status-pill.pending-docs:before,table td .status-pill.pending-invoice:before,table td .status-pill--warning:before,table td .status-badge--small.warning:before{background:var(--status-warning)}.data-table td .status-pill.assigned:before,.data-table td .status-pill.in-progress:before,.data-table td .status-pill.inprogress:before,.data-table td .status-pill.reported:before,.data-table td .status-pill.new:before,.data-table td .status-pill--info:before,.data-table td .status-badge--small.info:before,.data-table td .status-badge--small.medium:before,.data-table--erp td .status-badge--small.info:before,.data-table--erp td .status-badge--small.medium:before,table td .status-pill.assigned:before,table td .status-pill.in-progress:before,table td .status-pill.inprogress:before,table td .status-pill.reported:before,table td .status-pill.new:before,table td .status-pill--info:before,table td .status-badge--small.info:before{background:var(--status-info)}.data-table td .status:hover,.data-table td .status-badge:hover,.data-table td .status-badge--small:hover,.data-table td .status-chip:hover,.data-table td .status-pill:hover,.data-table--erp td .status-badge--small:hover,table td .status:hover,table td .status-badge:hover,table td .status-badge--small:hover,table td .status-chip:hover,table td .status-pill:hover{background:transparent!important}.data-table td .status.is-actionable,table td .status.is-actionable{cursor:pointer}.data-table td .status.is-actionable:hover,table td .status.is-actionable:hover{color:var(--grey-700)}.data-table td .status.is-actionable:focus,.data-table td .status.is-actionable:focus-visible,table td .status.is-actionable:focus,table td .status.is-actionable:focus-visible{outline:none;box-shadow:none}.data-table--compact{border-radius:4px;border:1px solid var(--grey-200)}.data-table--compact th{padding:8px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600);background:var(--grey-50);border-bottom:1px solid var(--border-subtle);white-space:nowrap}.data-table--compact td{padding:6px 12px;font-size:13px;color:var(--grey-900);line-height:1.4;border-bottom:1px solid var(--grey-100)}.data-table--compact tbody tr{height:32px}.data-table--compact tbody tr:last-child td{border-bottom:none}.data-table--compact td>div+div{margin-top:2px}.contact-cell{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.4}.contact-cell small{color:var(--grey-400);font-size:12px;line-height:1.4}.data-table td .contact-cell .asset-link{font-weight:600;text-decoration:underline;color:var(--grey-900);display:block;white-space:normal}.data-table td .contact-cell .asset-meta{color:var(--grey-500);font-size:12px;line-height:1.2;margin-top:2px;display:block;white-space:normal}.table-actions .btn-icon{color:var(--grey-500);background:transparent;border:none;padding:6px;margin-left:6px}.table-actions .btn-icon:hover{color:var(--grey-800)}.data-table td .status{font-weight:600;color:var(--grey-700)}.data-table td .asset-link,.data-table td .btn-icon{cursor:pointer}.client-site-select{display:flex;align-items:center;gap:10px}.client-site-select select{width:180px;border:1px solid var(--border-strong);border-radius:10px;padding:6px 8px;font-size:12px;background:#fff;color:var(--grey-800)}.assignment-label{flex:1;min-width:100px}.assignment-label span{font-weight:600;color:#0f172a;font-size:13px;line-height:1.4;display:block}.assignment-label .muted{font-weight:500;color:#94a3b8;font-size:13px;line-height:1.4}.assign-link{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 10px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-weight:600;font-size:12px;line-height:1.4;cursor:pointer;border-radius:6px;white-space:nowrap;min-width:70px;height:28px}.assign-link:hover{background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.assign-link:disabled{opacity:.5;cursor:not-allowed;background:#f8fafc}.table-actions{display:flex;gap:6px;align-items:center;flex-wrap:nowrap;min-height:30px}.action-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:36px;padding:0 14px;border:1.5px solid var(--grey-400);border-radius:50px;background:#fff;color:var(--grey-700);font-size:13px;line-height:1.4;font-weight:500;cursor:pointer;white-space:nowrap}.action-btn:hover{background:var(--grey-100);border-color:var(--grey-600);color:var(--grey-900)}.action-btn.ghost{border-color:var(--grey-300);color:var(--grey-600)}.action-btn.ghost:hover{background:var(--grey-50);border-color:var(--grey-400);color:var(--grey-800)}.action-btn.toggle{position:relative;min-width:110px;padding:0 16px 0 42px;border-radius:50px;border:1.5px solid var(--grey-300);background:var(--grey-50);color:var(--grey-600);font-size:12px;line-height:1.4;font-weight:500;text-align:left}.action-btn.toggle:before{content:"";position:absolute;left:6px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;background:var(--grey-400)}.action-btn.toggle:hover{background:var(--grey-100);border-color:var(--grey-400)}.action-btn.toggle.is-active{background:#ecfdf5;border-color:var(--status-success);color:var(--status-success)}.action-btn.toggle.is-active:before{background:var(--status-success);box-shadow:0 2px 4px #10b9814d}.action-btn.toggle.is-inactive{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.action-btn.toggle.is-inactive:before{background:#ef4444;box-shadow:0 2px 4px #ef44444d}.table-footer{padding:8px 0;font-size:13px;color:var(--grey-600);background:none!important;border-top:1px solid var(--grey-200)}.table-footer .table-summary{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--grey-50);border-radius:4px;font-size:12px;font-weight:500}.table-footer .table-summary strong{color:var(--brand-primary);font-weight:700}.tabs{display:flex;border-bottom:1px solid var(--grey-200);background:transparent;gap:4px}.tab{padding:10px 16px;border:none;background:none;color:var(--grey-600);font-size:14px;line-height:1.4;font-weight:500;cursor:pointer;border-bottom:2px solid transparent}.tab:hover{color:var(--grey-900);background:var(--grey-100)}.tab.active{color:var(--brand-primary);border-bottom-color:var(--brand-primary);background:transparent}.data-table--scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.item-table-editor{border:1px solid var(--border-subtle);border-radius:4px;overflow:hidden}.item-table-editor table{margin:0;border:none}.item-table-editor th{background:var(--grey-50);padding:8px 10px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;color:var(--grey-600)}.item-table-editor td{padding:6px 10px;vertical-align:middle}.item-table-editor .form-input,.item-table-editor .form-select{height:32px;padding:0 8px;font-size:13px;border-radius:4px}.item-table-editor .form-textarea{min-height:32px;padding:6px 8px;font-size:12px;border-radius:4px}.item-table-editor tbody tr{border-bottom:1px solid var(--border-subtle)}.item-table-editor tbody tr:last-child{border-bottom:none}.item-table-editor tbody tr:hover{background:var(--grey-50)}.data-table.grouped thead tr:first-child th{background:var(--grey-100);font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--grey-600);border-bottom:2px solid var(--border-subtle);padding:6px 10px;text-align:center}.data-table.grouped thead tr:nth-child(2) th{background:#fff;font-weight:600;font-size:11px;color:var(--grey-900);border-bottom:1px solid var(--border-subtle);padding:8px 10px}.data-table.grouped td[data-group]:first-child,.data-table.grouped th[data-group]:first-child{border-left:2px solid var(--border-subtle)}.clickable-row{cursor:pointer}.clickable-row:hover{background-color:var(--grey-50)}.clickable-row:active{background-color:var(--grey-100)}.data-table tbody tr.row-selected{background:#2f3a4b0d;border-left:3px solid var(--brand-primary)}.data-table tbody tr.row-selected:hover{background:#2f3a4b14}.data-table--erp{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--border-color, #e5e7eb);border-radius:3px;overflow:hidden;font-size:10px}.data-table--erp thead{background:linear-gradient(90deg,#f3f4f6,#e5e7eb);border-bottom:1px solid var(--border-color, #e5e7eb);box-shadow:0 2px 4px -1px #00000008}.data-table--erp thead th{padding:5px 8px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--grey-700, #374151);text-align:left;border-right:1px solid var(--border-color, #e5e7eb);white-space:nowrap;background:transparent}.data-table--erp thead th:last-child{border-right:none}.data-table--erp tbody{display:table-row-group}.data-table--erp tbody tr{height:28px;border-bottom:1px solid var(--border-subtle, #f3f4f6)}.data-table--erp tbody tr:nth-child(2n){background:linear-gradient(90deg,#fafbfc,#fff)}.data-table--erp tbody tr:nth-child(odd){background:#fff}.data-table--erp tbody tr:hover{background:linear-gradient(90deg,#f0f4ff,#f8faff)}.data-table--erp tbody td,.data-table--erp thead th{padding:4px 8px;vertical-align:middle;border-right:1px solid var(--border-subtle, #f3f4f6)}.data-table--erp tbody td:last-child,.data-table--erp thead th:last-child{border-right:none}.data-table--erp td:first-child{padding-left:4px;width:2px;background:linear-gradient(90deg,rgba(59,130,246,.1) 0%,transparent 100%)}.data-table--erp td[data-type=number],.data-table--erp td.align-right{text-align:right;padding-right:12px;font-variant-numeric:tabular-nums}.data-table--erp td .status-badge--small{display:inline-flex}.data-table--erp tbody tr.row-selected{background:linear-gradient(90deg,#e0e7ff,#f0f4ff)!important;border-left:3px solid var(--brand-primary, #3b82f6)}.data-table--erp tbody tr.row-selected:hover{background:linear-gradient(90deg,#c7d2fe,#e0e7ff)!important}.data-table--erp tbody tr.clickable-row{cursor:pointer}.data-table--erp tbody tr.clickable-row:hover{background:linear-gradient(90deg,#f0f4ff,#f8faff)!important}.data-table--compact{font-size:12px}.data-table--compact thead th{padding:8px 12px;font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;background:#f9fafb;color:var(--grey-700)}.data-table--compact tbody td{padding:10px 12px;font-size:12px;height:auto}.data-table--compact tbody tr:nth-child(2n){background:#fafbfc}.data-table--compact tbody tr:hover{background:var(--grey-50)}.data-table--compact tbody tr:nth-child(2n):hover{background:#f0f4f8}.data-table--compact td.numeric,.data-table--compact th.numeric{text-align:right;padding-right:16px}.data-table--compact td.hours,.data-table--compact td.duration,.data-table--compact td.numeric-mono{font-family:Monaco,Courier New,monospace;font-size:11px;font-weight:500;color:#374151}.data-table--compact .status-badge--small{display:inline-flex}.data-table--compact .cell-title{font-weight:500;color:var(--grey-900)}.data-table--compact .cell-subtitle{font-size:11px;color:var(--grey-600);margin-top:2px}.breakdown-stage-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--grey-200);border-radius:6px;overflow:hidden}.breakdown-stage-table thead{background:#f9fafb}.breakdown-stage-table thead th{padding:8px 12px;font-size:11px;font-weight:600;color:var(--grey-700);border-bottom:1px solid var(--grey-200);text-align:left;text-transform:uppercase;letter-spacing:.02em}.breakdown-stage-table thead th.numeric{text-align:right}.breakdown-stage-table tbody td{padding:10px 12px;font-size:12px;border-bottom:1px solid var(--grey-100);color:var(--grey-900)}.breakdown-stage-table tbody tr:nth-child(2n){background:#fafbfc}.breakdown-stage-table tbody tr:hover{background:var(--grey-50)}.breakdown-stage-table tbody tr:last-child td{border-bottom:none}.breakdown-stage-table td.numeric{text-align:right;padding-right:16px}.data-table--erp{font-size:12px}.data-table--erp thead th{padding:8px 12px;font-size:11px;font-weight:700;letter-spacing:.03em;background:linear-gradient(180deg,#f9fafb,#f5f6f8);color:var(--grey-700);border-bottom:2px solid var(--border-strong);text-transform:uppercase}.data-table--erp tbody td{padding:9px 12px;font-size:12px;border-bottom:1px solid var(--border-subtle);color:var(--grey-900);background:#fff}.data-table--erp tbody tr:nth-child(2n) td{background:#fafbfc}.data-table--erp tbody tr:hover td{background:var(--grey-50)}.data-table--erp tbody tr:nth-child(2n):hover td{background:#f3f7fc}.data-table--erp tbody tr:last-child td{border-bottom:none}.data-table--erp td.icon-col{width:32px;padding:9px 8px;text-align:center;font-size:14px}.data-table--erp td.action-col{width:40px;padding:9px 4px;text-align:center}.data-table--erp td.action-col button{padding:4px 6px;font-size:11px;border-radius:3px}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;font-size:11px;color:var(--grey-600);background:#f9fafb;border-top:1px solid var(--border-subtle);border-radius:0 0 6px 6px}.table-footer.compact{padding:6px 12px;font-size:10px}.table-summary-bar{display:flex;align-items:baseline;flex-wrap:wrap;gap:16px 24px;padding:10px 16px 8px;background:transparent;border-bottom:1px solid var(--border-subtle)}.table-summary-bar__item{display:inline-flex;align-items:baseline;gap:8px;min-width:0}.table-summary-bar__label{font-size:12px;font-weight:500;color:var(--grey-600);letter-spacing:.1px}.table-summary-bar__value{font-size:12px;font-weight:500;color:var(--grey-900)}.table-summary-bar__item--unassigned.table-summary-bar__item--emphasis .table-summary-bar__value{font-weight:600}.employee-name{font-weight:600;color:#0f172a;font-size:13px;line-height:1.4}.employee-id{font-weight:700;color:#0f172a;font-size:13px;line-height:1.4;letter-spacing:.3px}.employee-id-link{cursor:pointer;text-decoration:underline;text-decoration-color:#0f172a33;text-underline-offset:2px;transition:color .15s ease,text-decoration-color .15s ease}.employee-id-link:hover{color:var(--brand-primary-dark);text-decoration-color:var(--brand-primary-dark)}.secondary-text{color:#64748b;font-size:12px;line-height:1.4;font-weight:500}.data-table thead{position:sticky;top:0;z-index:10}.assignment-chip{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;cursor:pointer;padding:4px 0}.assignment-chip:hover{background:#f9fafb}.assignment-chip__label{flex:1;font-size:13px;line-height:1.4;font-weight:500;color:#0f172a}.assignment-chip__label.unassigned{color:#94a3b8;font-weight:500}.assignment-chip__chevron{flex-shrink:0;color:#d4dbe5;width:16px;height:16px}.assignment-chip:hover .assignment-chip__chevron{color:#94a3b8}.assignment-chip__btn:disabled{opacity:.5;cursor:not-allowed;background:#f8fafc}.contact-cell a{color:#475569;text-decoration:none;font-size:13px;line-height:1.4}.contact-cell a:hover{color:#2563eb;text-decoration:underline}.contact-cell small a{font-size:12px;line-height:1.4}.row-block{display:flex;flex-direction:column;gap:4px;font-size:13px}.row-block-item{padding:6px 0;border-bottom:1px solid var(--border-subtle)}.row-block-item:last-child{border-bottom:none;padding-bottom:0}.row-block-item:first-child{padding-top:0}.timeline-item{padding:10px 0 10px 20px;border-left:2px solid var(--border-strong);margin-left:14px;position:relative}.timeline-item:before{content:"";width:8px;height:8px;background:var(--brand-primary);border-radius:50%;position:absolute;left:-5px;top:12px}.timeline-item:last-child{padding-bottom:0;border-left-color:transparent}.timeline-item.success:before{background:var(--status-success)}.timeline-item.warning:before{background:var(--status-warning)}.timeline-item.danger:before{background:var(--status-danger)}.tag,.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;background:var(--grey-100);border:1px solid var(--border);font-size:12px;font-weight:500;color:var(--grey-700);box-shadow:0 1px 2px #0000000a}.link,.link-primary{color:var(--status-info);text-decoration:none;transition:.2s ease color,.2s ease background-color}.link:hover,.link-primary:hover{color:var(--status-info)}.tag-remove{border:none;background:#0f172a1a;width:16px;height:16px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:10px;line-height:1;cursor:pointer}.status-chip,.status{display:inline-flex;align-items:center;justify-content:center;padding:3px 10px;border-radius:var(--radius-md);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border:1px solid transparent}.status-chip.active,.status.active{background:#10b98126;border-color:#10b9814d;color:#059669}.status-chip.inactive,.status.offline{background:#f8717126;border-color:#f871714d;color:#dc2626}.status.offline{background:var(--grey-100);color:var(--grey-600)}.status-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:10px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;border:1px solid transparent}.status-badge.active{background:#10b9811f;color:#059669;border-color:#10b98140}.status-badge.inactive{background:#6b72801a;color:var(--grey-600);border-color:#6b728033}.status-badge.pending,.status-badge.pending-approval{background:#fef3c7;color:#92400e;border-color:#fde68a}.status-badge.issued{background:#e0e7ff;color:#3730a3;border-color:#c7d2fe}.status-badge.rejected,.status-badge.returned{background:#fee2e2;color:#991b1b;border-color:#fecaca}.status-badge.cancelled{background:#f3f4f6;color:#6b7280;border-color:#d1d5db}.status-badge.yes{background:#dcfce7;color:#166534;border-color:#bbf7d0}.status-badge.no{background:#f3f4f6;color:#6b7280;border-color:#d1d5db}.empty-state{text-align:center;padding:40px 20px;background:var(--bg-panel);border-radius:var(--radius-lg);border:1px solid var(--border);color:var(--grey-600)}.empty-title{font-size:16px;font-weight:600;margin-bottom:6px}.empty-text{font-size:13px;color:var(--grey-500)}.badge{padding:3px 7px;border-radius:var(--radius-sm);font-size:10px;font-weight:600;text-transform:uppercase;display:inline-block}.badge.success{background:#10b9812e;color:#059669}.badge.danger{background:#dc262626;color:#dc2626}.badge.muted{background:var(--grey-100);color:var(--grey-600)}.status-pill.active{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-weight:600;font-size:11px;background:#ecfdf3;color:#065f46;border:1px solid #10b981}.status-pill.blocked{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-weight:600;font-size:11px;background:#fef2f2;color:#b91c1c;border:1px solid #dc2626}.status-pill.pending{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-weight:600;font-size:11px;background:#fef3c7;color:#92400e;border:1px solid #f59e0b}.status-pill.rejected{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-weight:600;font-size:11px;background:#f3f4f6;color:#4b5563;border:1px solid #9ca3af}.status-pill.new,.status-pill.reported{background:#eff6ff;color:#1e40af;border:1px solid #93c5fd}.status-pill.assigned{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.status-pill.in-progress,.status-pill.inprogress{background:#dbeafe;color:#1e3a8a;border:1px solid #60a5fa}.status-pill.hold,.status-pill.awaiting-parts{background:#fef2f2;color:#991b1b;border:1px solid #fca5a5}.status-pill.pending-docs,.status-pill.pending-invoice{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.status-pill.closed,.status-pill.resolved{background:#f0fdf4;color:#166534;border:1px solid #86efac}.status-pill.critical{background:#fef2f2;color:#991b1b;border:1px solid #fca5a5}.status-pill.high{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}.status-pill.medium{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.status-pill.low,.status-pill.synced{background:#f0fdf4;color:#166534;border:1px solid #86efac}.status-pill.not-synced,.status-pill.offline{background:#f3f4f6;color:#4b5563;border:1px solid #9ca3af}.parts-list{display:flex;flex-direction:column;gap:12px;margin-top:12px}.part-item{background:var(--grey-50);border:1px solid var(--border-subtle);border-radius:4px;padding:12px}.part-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.part-item-number{font-size:12px;font-weight:600;color:var(--grey-700);text-transform:uppercase;letter-spacing:.3px}.part-item .form-row{gap:8px;margin-bottom:8px}.part-item .form-row:last-child{margin-bottom:0}.part-item .form-field{margin-bottom:0}.drag-drop-zone{border:2px dashed var(--border-subtle);border-radius:4px;padding:24px;text-align:center;background:var(--grey-50);cursor:pointer;transition:all .15s ease}.drag-drop-zone:hover{border-color:var(--brand-primary);background:#2f3a4b08}.drag-drop-zone.active{border-color:var(--brand-primary);background:#2f3a4b0d}.drag-drop-zone-icon{font-size:32px;margin-bottom:8px;color:var(--grey-400)}.drag-drop-zone-text{font-size:13px;color:var(--grey-600);margin-bottom:4px}.drag-drop-zone-hint{font-size:12px;color:var(--grey-500)}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:12px 0;border-top:1px solid var(--border-subtle)}.pagination-info{font-size:12px;color:var(--grey-600);margin-right:12px}.pagination-btn{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--border-subtle);border-radius:4px;background:#fff;color:var(--grey-700);font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease}.pagination-btn:hover:not(:disabled){background:var(--grey-50);border-color:var(--grey-300);color:var(--grey-900)}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-btn.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.pagination-btn.active:hover{background:var(--brand-primary-dark);border-color:var(--brand-primary-dark)}.tabs{display:flex;border-bottom:1px solid var(--border-subtle);background:transparent;gap:4px;margin-bottom:0}.tab{padding:10px 16px;border:none;background:none;color:var(--grey-600);font-size:13px;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;transition:all .15s ease;white-space:nowrap}.tab:hover{color:var(--grey-900);background:var(--grey-50)}.tab.active,.tab--active{color:var(--brand-primary);border-bottom-color:var(--brand-primary);background:transparent;font-weight:600}.tab-content{padding:0;margin-top:0;background:transparent}.type-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.3px}.type-badge.site{background:#3b82f61a;color:#1e40af;border:1px solid rgba(59,130,246,.3)}.type-badge.individual{background:#10b9811a;color:#047857;border:1px solid rgba(16,185,129,.3)}.breadcrumbs{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--grey-500)}.breadcrumbs a{color:var(--brand-primary);text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.breadcrumbs__sep{color:var(--grey-500)}.breadcrumbs__current{color:var(--grey-700)}.link{color:var(--brand-primary);text-decoration:none}.link:hover{text-decoration:underline}.u-code{font-family:Monaco,Menlo,monospace}.text-muted{color:var(--grey-600)}.toggle{display:inline-flex;position:relative;align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:var(--radius-md);padding:4px;gap:0;height:40px;width:fit-content;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a}.toggle:before{content:"";position:absolute;top:4px;left:4px;height:calc(100% - 8px);width:calc(50% - 4px);background:linear-gradient(135deg,#2d3748,#1a202c);border-radius:var(--radius-md);transition:left .32s cubic-bezier(.34,1.56,.64,1);z-index:1;box-shadow:0 2px 8px #00000026,0 1px 3px #0000001a}.toggle.active-second:before{left:calc(50% + 4px)}.toggle-option{position:relative;z-index:2;padding:10px 28px;border-radius:var(--radius-md);border:none;font-size:14px;font-weight:700;letter-spacing:.3px;color:#4b5563;background:transparent;cursor:pointer;transition:color .32s cubic-bezier(.34,1.56,.64,1);outline:none;flex:1;min-width:110px;text-align:center;-webkit-user-select:none;user-select:none}.toggle-option.active{color:#fff;font-weight:700}.toggle-option:hover:not(.active){color:#1f2937}.toggle-option:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.toggle.active-third:before{left:calc((100% / 3) * 2 - 2px);width:calc((100% / 3) - 6px)}.toggle.active-fourth:before{left:calc(75% - 2px);width:calc(25% - 6px)}.info-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--radius-lg);padding:20px;margin-bottom:20px}.info-card h3{font-size:14px;font-weight:700;color:#111827;margin:0 0 16px;text-transform:uppercase;letter-spacing:.5px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.info-item{display:flex;flex-direction:column;gap:6px}.info-label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px}.info-value{font-size:14px;font-weight:500;color:#111827}.timeline{position:relative;padding-left:20px}.timeline:before{content:"";position:absolute;left:5px;top:0;bottom:0;width:1px;background:#e5e7eb}.timeline-entry{position:relative;margin-bottom:24px;padding-bottom:0}.timeline-entry:last-child{margin-bottom:0}.timeline-marker{position:absolute;left:-18px;top:2px;width:12px;height:12px;border-radius:50%;background:var(--brand-primary);border:2px solid #fff;box-shadow:0 0 0 1px #e5e7eb}.timeline-content{flex:1}.timeline-date{font-size:12px;font-weight:600;color:#6b7280}.timeline-description{font-size:14px;color:#374151;margin-top:4px}.timeline-actor{font-weight:600;color:#111827}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.action-buttons{display:flex;gap:8px}.btn-sm{padding:8px 16px;font-size:13px;height:auto}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;cursor:pointer;color:#6b7280;border-radius:var(--radius-md);transition:background .2s ease,color .2s ease}.btn-icon:hover{background:#f3f4f6;color:#111827}.btn-neutral{background:var(--surface-elevated);color:var(--grey-900);border-color:var(--border-subtle)}.btn-neutral:hover:not(:disabled){background:var(--grey-50)}.drawer{position:fixed;inset:0;background:#0f172a80;display:flex;justify-content:flex-end;z-index:1040}.drawer-content{background:#fff;width:420px;height:100%;box-shadow:-10px 0 40px #0f172a26;display:flex;flex-direction:column;overflow-y:auto}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e5e7eb}.drawer-header h2{margin:0;font-size:18px;font-weight:700}.drawer-body{flex:1;padding:24px;overflow-y:auto}.drawer-footer{padding:24px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:12px;justify-content:flex-end}.form-card{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#111827}.form-input,.form-input input,.form-input select,.form-input textarea{padding:10px 14px;border:1px solid #d1d5db;border-radius:var(--radius-md);font-size:14px;font-family:inherit;color:#111827;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.form-input:focus,.form-input input:focus,.form-input select:focus,.form-input textarea:focus{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 3px #3b82f61a}.badge-pill{display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.badge-pill--high{background:#ef44441f;color:#991b1b}.badge-pill--normal{background:#3b82f61f;color:#1e40af}.badge-pill--low{background:#22c55e1f;color:#15803d}.status-badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:var(--radius-md);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.status-badge--open{background:#ef44441f;color:#991b1b}.status-badge--in-progress{background:#3b82f61f;color:#1e40af}.status-badge--resolved{background:#22c55e1f;color:#15803d}.empty-state{padding:48px 24px;text-align:center;color:#6b7280}.empty-state p{margin:0;font-size:15px}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.font-weight-600{font-weight:600}.column-selector{position:relative;display:inline-block}.toolbar-utility,.erp-utility-control{display:inline-flex;align-items:baseline;gap:5px;padding:0;margin:0;background:none;border:none;box-shadow:none;border-radius:0;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;color:var(--grey-500);cursor:pointer;transition:color .12s ease;height:auto;min-height:0;max-height:20px}.toolbar-utility:hover,.erp-utility-control:hover{color:var(--grey-700);text-decoration:underline;text-decoration-color:var(--grey-400);text-underline-offset:3px}.toolbar-utility:hover .toolbar-utility-icon,.erp-utility-control:hover .erp-utility-icon{color:var(--grey-600)}.toolbar-utility:focus,.erp-utility-control:focus{outline:none}.toolbar-utility:focus-visible,.erp-utility-control:focus-visible{text-decoration:underline;text-decoration-color:var(--brand-primary);text-underline-offset:3px}.toolbar-utility-icon,.erp-utility-icon{width:12px;height:12px;color:var(--grey-400);flex-shrink:0;transition:color .12s ease;position:relative;top:1px}.toolbar-utility-label,.erp-utility-label{color:inherit;font-weight:500}.toolbar-utility-meta,.erp-utility-meta{font-size:11px;font-weight:400;color:var(--grey-400)}.toolbar-utility-meta:before,.erp-utility-meta:before{content:"·";margin:0 4px;color:var(--grey-350, var(--grey-400))}.column-selector-trigger{display:inline-flex;align-items:baseline;gap:4px;padding:0;font-size:12px;font-weight:500;color:var(--grey-500);background:none;border:none;cursor:pointer;transition:color .12s ease}.column-selector-trigger:hover{color:var(--grey-600)}.column-selector-trigger svg{color:var(--grey-400);width:13px;height:13px}.column-selector-trigger:hover svg{color:var(--grey-500)}.column-selector-trigger .badge{font-size:11px;color:var(--grey-400);font-weight:400;padding:0;background:none;border-radius:0}.column-popover{position:absolute;top:calc(100% + 6px);right:0;width:320px;background:#fff;border:1px solid #d1d5db;border-radius:10px;box-shadow:0 10px 30px #0000001f,0 4px 10px #0000000f;z-index:100;overflow:hidden}.column-popover-header{padding:14px;border-bottom:1px solid #e5e7eb;background:#fff}.column-popover-header .search-wrapper{margin:0;max-width:none;position:relative}.column-popover-header .search-input{font-size:13px;padding:9px 12px 9px 36px;border:2px solid #3b82f6;border-radius:8px;background:#fff;width:100%;transition:all .15s ease}.column-popover-header .search-input:focus{outline:none;box-shadow:0 0 0 3px #3b82f61a}.column-popover-header .search-input::placeholder{color:#9ca3af}.column-popover-header .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#6b7280}.column-list{max-height:380px;overflow-y:auto;padding:6px 8px}.column-list::-webkit-scrollbar{width:6px}.column-list::-webkit-scrollbar-thumb{background:#94a3b880;border-radius:999px}.column-item{padding:2px 6px;transition:all .12s ease}.column-item.dragging{opacity:.5}.column-item.drag-over{border-top:2px solid #3b82f6}.column-label{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:6px;font-size:14px;font-weight:400;color:#1f2937;cursor:pointer;transition:background .15s ease}.column-label:hover{background:#f3f4f6}.column-label-left{display:flex;align-items:center;gap:10px}.drag-handle{cursor:grab;color:#d1d5db;flex-shrink:0;transition:color .15s ease;width:16px;height:16px}.drag-handle:active{cursor:grabbing}.column-item:hover .drag-handle{color:#9ca3af}.column-popover-footer{padding:12px 14px;border-top:1px solid #e5e7eb;background:#fff;text-align:center}.column-popover-footer .link-btn{font-size:13px;font-weight:500;color:#6b7280;text-decoration:none;cursor:pointer;padding:6px 12px;border-radius:6px;transition:all .15s ease;border:none;background:transparent}.column-popover-footer .link-btn:hover{background:#f3f4f6;color:#374151}.column-label .switch{position:relative;display:inline-block;width:42px;height:24px;flex-shrink:0}.column-label .switch input{opacity:0;width:0;height:0}.column-label .switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#e5e7eb;transition:all .2s ease;border-radius:24px}.column-label .switch .slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:all .2s ease;border-radius:50%}.column-label .switch input:checked+.slider{background-color:#3b82f6}.column-label .switch input:checked+.slider:before{transform:translate(18px)}.breakdown-info-card{background:#fff;border:1px solid var(--grey-200);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:12px}.breakdown-info-section{padding-bottom:12px;border-bottom:1px solid var(--grey-100)}.breakdown-info-section:last-child{padding-bottom:0;border-bottom:none}.info-label-header{font-size:11px;font-weight:600;text-transform:uppercase;color:var(--grey-500);letter-spacing:.5px;margin-bottom:6px}.info-value-large{font-size:16px;font-weight:600;color:var(--grey-900);line-height:1.3}.info-value-medium{font-size:14px;font-weight:500;color:var(--grey-800);line-height:1.4}.info-meta{font-size:12px;color:var(--grey-600);margin-top:2px}.breakdown-info-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:6px 0}.info-label-sm{color:var(--grey-600);font-weight:500}.sla-countdown{font-weight:600;color:var(--status-warning)}.stage-control-panel{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border:1px solid var(--grey-200);border-radius:8px;margin-bottom:16px}.stage-control-label{font-size:13px;font-weight:600;color:var(--grey-700);white-space:nowrap}.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px}.kpi-item{text-align:center;padding:12px;background:var(--grey-50);border-radius:6px}.kpi-label{font-size:11px;font-weight:600;text-transform:uppercase;color:var(--grey-600);letter-spacing:.5px;margin-bottom:6px}.kpi-value{font-size:20px;font-weight:700;color:var(--brand-primary)}.attachments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.attachment-card{padding:16px;background:var(--grey-50);border:1px solid var(--grey-200);border-radius:6px;text-align:center;cursor:pointer;transition:all .15s ease}.attachment-card:hover{background:#fff;border-color:var(--brand-primary);box-shadow:0 2px 4px #0000000d}.attachment-icon{font-size:32px;margin-bottom:8px}.attachment-name{font-size:13px;font-weight:500;color:var(--grey-900);margin-bottom:4px;word-break:break-word}.attachment-meta{font-size:11px;color:var(--grey-500)}.part-item{padding:12px;background:var(--grey-50);border:1px solid var(--border-subtle);border-radius:4px;margin-bottom:12px}.part-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.part-item-number{font-size:12px;font-weight:600;color:var(--grey-700);text-transform:uppercase;letter-spacing:.025em}.parts-list{display:flex;flex-direction:column;gap:0}.column-selector-panel{background:#fff;border:1px solid var(--border-subtle);border-radius:4px;padding:12px;margin-bottom:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.column-option{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.column-option input[type=checkbox]{cursor:pointer}.filters-panel{background:#fff;border:1px solid var(--border-subtle);border-radius:4px;padding:12px;margin-bottom:16px;display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column;gap:6px;min-width:180px}.filter-label{font-size:12px;font-weight:500;color:var(--grey-700)}.filter-select{height:38px;padding:0 12px;border:1px solid var(--border-subtle);border-radius:22px;font-size:13px;background:#fff}.summary-counters{display:flex;gap:24px;align-items:center}.counter{display:flex;flex-direction:column;align-items:center;gap:2px}.counter-value{font-size:24px;font-weight:700;color:var(--brand-primary);line-height:1}.counter-label{font-size:11px;font-weight:500;color:var(--grey-600);text-transform:uppercase;letter-spacing:.025em}.tabs{display:flex;gap:0;align-items:center;border-bottom:2px solid var(--border-subtle);background:#fff;padding:0;margin:0;overflow-x:auto;overflow-y:hidden}.tabs::-webkit-scrollbar{height:4px}.tabs::-webkit-scrollbar-thumb{background:#6b72804d;border-radius:2px}.tab{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border:none;background:transparent;color:var(--grey-600);font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap;transition:color .2s ease,border-color .2s ease;border-bottom:2px solid transparent;margin-bottom:-2px;position:relative}.tab:hover{color:var(--grey-900)}.tab--active,.tab.active{color:var(--brand-primary);border-bottom-color:var(--brand-primary);background:rgba(var(--brand-primary-rgb),.02)}.tab .badge,.tab .count-pill,.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:var(--grey-200);color:var(--grey-700);border-radius:10px;font-size:11px;font-weight:600}.tab--active .badge,.tab--active .count-pill,.tab--active .tab-count{background:var(--brand-primary);color:#fff}.activity-panel{position:fixed;right:0;top:0;width:340px;height:100vh;background:#fff;border-left:1px solid var(--border-subtle);overflow-y:auto;overflow-x:hidden;z-index:98;display:flex;flex-direction:column;box-shadow:-2px 0 8px #0f172a14}.activity-panel::-webkit-scrollbar{width:6px}.activity-panel::-webkit-scrollbar-thumb{background:#6b728066;border-radius:3px}.activity-panel-header{padding:12px 16px;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.activity-panel-title{font-size:14px;font-weight:600;color:var(--grey-900);margin:0}.activity-panel-body{flex:1;overflow-y:auto;padding:8px 0}.activity-item{display:flex;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border-subtle);align-items:flex-start;transition:background-color .2s ease}.activity-item:hover{background:var(--grey-50)}.activity-item:last-child{border-bottom:none}.activity-dot{flex-shrink:0;width:8px;height:8px;border-radius:50%;margin-top:5px;background:var(--brand-primary)}.activity-dot.success{background:var(--status-success)}.activity-dot.warning{background:var(--status-warning)}.activity-dot.danger{background:var(--status-danger)}.activity-dot.info{background:var(--status-info)}.activity-text{font-size:12px;line-height:1.4;color:var(--grey-900);margin:0 0 4px}.activity-time{font-size:11px;color:var(--grey-500);margin:0;font-weight:500}.card-tight{background:#fff;border:1px solid var(--border-subtle);border-radius:6px;padding:10px 12px;box-shadow:0 1px 2px #0f172a0a;display:flex;align-items:center;gap:12px}.card-tight-icon{flex-shrink:0;font-size:18px}.card-tight-content{flex:1}.card-tight-title{font-size:12px;font-weight:500;color:var(--grey-700);margin:0;text-transform:uppercase;letter-spacing:.02em}.card-tight-value{font-size:16px;font-weight:700;color:var(--grey-900);margin:2px 0 0}.card-tight-meta{font-size:11px;color:var(--grey-500);margin:3px 0 0}.card-tight-duo{display:flex;gap:8px}.card-tight-duo .card-tight{flex:1}.card-external-breakdowns{background:#fff;border:1px solid var(--border-subtle);border-radius:6px;padding:12px;box-shadow:0 1px 2px #0f172a0a}.external-breakdowns-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-subtle)}.external-breakdowns-row:last-child{border-bottom:none}.external-breakdowns-icon{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--grey-100);border-radius:4px;font-size:14px}.external-breakdowns-label{flex:1;font-size:12px;font-weight:500;color:var(--grey-700)}.external-breakdowns-count{font-size:14px;font-weight:600;color:var(--grey-900);min-width:30px;text-align:right}.card-services{background:#fff;border:1px solid var(--border-subtle);border-radius:6px;padding:12px;box-shadow:0 1px 2px #0f172a0a}.services-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-subtle)}.services-row:last-child{border-bottom:none}.services-label{flex:1;font-size:12px;font-weight:500;color:var(--grey-700)}.services-count{font-size:14px;font-weight:600;color:var(--grey-900);min-width:30px;text-align:right}.mini-tech-row{display:flex;gap:8px;align-items:center;padding:8px 12px;background:#fff;border:1px solid var(--border-subtle);border-radius:6px;overflow-x:auto;overflow-y:hidden}.mini-tech-row::-webkit-scrollbar{height:3px}.mini-tech-row::-webkit-scrollbar-thumb{background:#6b728033}.mini-tech-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 8px;flex-shrink:0;white-space:nowrap}.mini-tech-avatar{width:24px;height:24px;border-radius:50%;background:var(--brand-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600}.mini-tech-name{font-size:11px;font-weight:500;color:var(--grey-900)}.mini-tech-status{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:var(--grey-600)}.mini-tech-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--status-success)}.mini-tech-status.busy:before{background:var(--status-warning)}.mini-tech-status.offline:before{background:var(--status-danger)}.insight-panels-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.insight-panel{background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:8px;padding:16px;box-shadow:0 1px 3px #0000000d}.insight-panel-header{margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border-subtle)}.insight-panel-title{font-size:14px;font-weight:600;color:var(--grey-900);margin:0}.insight-panel-subtitle{font-size:11px;color:var(--grey-600);margin:4px 0 0}.insight-panel-body{display:flex;flex-direction:column;gap:8px}.status-distribution-bars{display:flex;flex-direction:column;gap:10px}.status-bar-item{display:grid;grid-template-columns:90px 1fr 40px;align-items:center;gap:10px}.status-bar-label{font-size:12px;font-weight:500;color:var(--grey-700)}.status-bar-track{height:20px;background:var(--grey-100);border-radius:4px;overflow:hidden}.status-bar-fill{height:100%;transition:width .3s ease}.status-bar-fill.no-action{background:var(--grey-500)}.status-bar-fill.assigned{background:#3b82f6}.status-bar-fill.in-progress{background:#f59e0b}.status-bar-fill.pending{background:#8b5cf6}.status-bar-fill.completed{background:var(--status-success)}.status-bar-count{font-size:14px;font-weight:700;color:var(--grey-900);text-align:right}.technician-workload-list{display:flex;flex-direction:column;gap:12px}.technician-item{display:flex;align-items:center;gap:10px}.technician-info{flex:0 0 120px;display:flex;flex-direction:column;gap:2px}.technician-name{font-size:12px;font-weight:600;color:var(--grey-900)}.technician-status{font-size:10px;font-weight:500;color:var(--grey-600)}.technician-status.available{color:var(--status-success)}.technician-status.busy{color:var(--status-warning)}.technician-workload-bar{flex:1;height:18px;background:var(--grey-100);border-radius:4px;overflow:hidden}.workload-fill{height:100%;background:#3b82f6;transition:width .3s ease}.technician-count{flex:0 0 50px;font-size:12px;font-weight:600;color:var(--grey-900);text-align:right}.trend-chart{display:flex;flex-direction:column;gap:12px}.trend-sparkline{width:100%;height:80px}.trend-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:8px;border-top:1px solid var(--border-subtle)}.trend-stat{text-align:center}.trend-stat-label{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600);margin-bottom:4px}.trend-stat-value{font-size:20px;font-weight:700;color:var(--grey-900);line-height:1}@media(max-width:1200px){.insight-panels-grid{grid-template-columns:1fr}}@media(min-width:768px)and (max-width:1200px){.insight-panels-grid{grid-template-columns:repeat(2,1fr)}}.pipeline-board{display:flex;gap:16px;overflow-x:auto;padding:4px;margin:0}.pipeline-board::-webkit-scrollbar{height:8px}.pipeline-board::-webkit-scrollbar-track{background:var(--surface-base);border-radius:4px}.pipeline-board::-webkit-scrollbar-thumb{background:var(--grey-300);border-radius:4px}.pipeline-board::-webkit-scrollbar-thumb:hover{background:var(--grey-400)}.pipeline-column{flex:0 0 290px;min-width:290px;background:#f9fafb;border-radius:10px;padding:16px;display:flex;flex-direction:column;box-shadow:0 1px 3px #0000000f;border:1px solid #f3f4f6}.pipeline-column-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #e5e7eb}.pipeline-column-title{font-size:14px;font-weight:700;color:#111827;letter-spacing:.3px}.pipeline-column-count{font-size:12px;font-weight:700;color:#6b7280;background:#fff;padding:4px 10px;border-radius:12px;min-width:28px;text-align:center;border:1px solid #e5e7eb;line-height:1}.pipeline-column-content{display:flex;flex-direction:column;gap:10px;overflow-y:auto;max-height:600px;padding-right:4px}.pipeline-column-content::-webkit-scrollbar{width:6px}.pipeline-column-content::-webkit-scrollbar-track{background:transparent}.pipeline-column-content::-webkit-scrollbar-thumb{background:var(--grey-300);border-radius:3px}.pipeline-column-content::-webkit-scrollbar-thumb:hover{background:var(--grey-400)}.pipeline-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px;box-shadow:0 1px 2px #0000000d;transition:all .2s ease;cursor:pointer}.pipeline-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#d1d5db;transform:translateY(-2px)}.pipeline-card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px;gap:8px}.pipeline-card-header strong{font-size:14px;font-weight:700;color:#111827;letter-spacing:.2px}.pipeline-card-detail{margin-bottom:10px;line-height:1.5}.pipeline-card-detail>div:first-child{font-size:12px;font-weight:600;color:#6b7280;margin-bottom:4px}.pipeline-card-detail>div:last-child{font-size:13px;font-weight:500;color:#374151}.pipeline-card-footer{display:flex;align-items:center;justify-content:flex-start;padding-top:10px;border-top:1px solid #f3f4f6}.pipeline-sla{font-size:11px;font-weight:700;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;line-height:1}.pipeline-sla--danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.pipeline-sla--warning{background:#fffbeb;color:#d97706;border:1px solid #fde68a}.pipeline-sla--success{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.badge{font-size:10px;font-weight:700;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;line-height:1;flex-shrink:0}.badge--critical{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.badge--high{background:#fff7ed;color:#ea580c;border:1px solid #fed7aa}.badge--medium{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.badge--low{background:#f9fafb;color:#6b7280;border:1px solid #e5e7eb}@media(max-width:1200px){.pipeline-column{flex:0 0 260px;min-width:260px}}@media(max-width:768px){.pipeline-column{flex:0 0 240px;min-width:240px}.pipeline-column-content{max-height:400px}}.status-badge{display:inline-block;padding:6px 12px;border-radius:16px;font-size:11px;line-height:1.4;font-weight:600;letter-spacing:.3px;cursor:pointer;border:1px solid;background:transparent;height:28px}.status-badge--active{color:#4b5563;background-color:#f3f4f6;border-color:#d1d5db}.status-badge--active:hover{background-color:#e5e7eb}.status-badge--inactive{color:#6b7280;background-color:#f9fafb;border-color:#e5e7eb}.status-badge--inactive:hover{background-color:#f3f4f6}.confirm-dialog-overlay{position:fixed;inset:0;background:#0f172a52;display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px}body:has(.modal-overlay) .confirm-dialog-overlay{background:transparent}.confirm-dialog{background:var(--surface-elevated);border-radius:var(--radius-md);width:min(400px,100%);box-shadow:var(--shadow-md);border:1px solid var(--border-subtle)}.confirm-dialog__header{padding:20px 20px 0}.confirm-dialog__header h3{margin:0;font-size:16px;font-weight:600;color:var(--text-primary);line-height:1.3}.confirm-dialog__body{padding:12px 20px 20px}.confirm-dialog__body p{margin:0;color:var(--text-secondary);font-size:14px;line-height:1.6}.confirm-dialog__actions{padding:12px 20px 16px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--border-subtle)}.btn-destructive{background:transparent;color:var(--status-danger);border:1px solid var(--border-subtle);font-weight:500}.btn-destructive:hover{background:var(--surface-subtle);border-color:var(--border-strong-alt)}.btn-destructive:focus{outline:none}.alert-dialog-overlay{position:fixed;inset:0;background:#0f172a52;display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px}body:has(.modal-overlay) .alert-dialog-overlay{background:transparent}.alert-dialog{background:var(--surface-elevated);border-radius:var(--radius-lg);width:min(420px,100%);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);overflow:hidden;animation:dialogIn .2s ease;text-align:center}.alert-dialog__icon{padding:28px 24px 0;display:flex;justify-content:center}.alert-dialog__header{padding:14px 24px 0}.alert-dialog__header h3{margin:0;font-size:16px;color:var(--text-primary);font-weight:600}.alert-dialog__body{padding:10px 24px 20px;color:var(--text-secondary);font-size:14px;line-height:1.5}.alert-dialog__actions{padding:0 24px 20px;display:flex;justify-content:center}.alert-dialog__actions .btn{min-width:120px}@keyframes dialogIn{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.toast-host{position:fixed;top:14px;right:14px;z-index:2500;display:flex;flex-direction:column;gap:10px;pointer-events:none}.toast{pointer-events:auto;width:min(360px,calc(100vw - 28px));background:#fff;border:1px solid var(--border-subtle);border-left:3px solid rgba(16,185,129,.6);border-radius:10px;box-shadow:none;padding:10px 10px 10px 12px;display:grid;grid-template-columns:1fr auto;gap:10px;animation:toastIn .12s ease-out}.toast__title{font-size:12px;font-weight:600;color:var(--grey-800);line-height:1.2;margin-bottom:2px}.toast__message{font-size:13px;font-weight:500;color:var(--grey-700);line-height:1.35}.toast__close{border:none;background:transparent;color:var(--grey-400);font-size:18px;line-height:1;padding:0 4px;cursor:pointer;align-self:start}.toast__close:hover{color:var(--grey-700)}.toast__close:focus,.toast__close:focus-visible{outline:none;box-shadow:none}.toast--leaving{animation:toastOut .14s ease-in forwards}@keyframes toastIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes toastOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.worker-details-grid{display:grid;grid-template-columns:320px 1fr;gap:24px;align-items:flex-start}.owners-subtabs{display:flex;gap:8px;margin-bottom:12px}.assignment-actions{display:flex;gap:8px}.assign-link--danger{color:var(--status-danger)}.fleet-link{border:none;background:transparent;padding:0;color:var(--brand-primary);font-weight:600;text-decoration:underline;cursor:pointer}.fleet-link:hover{color:var(--brand-primary-dark)}.metadata-link-row{display:flex;justify-content:flex-end;margin-bottom:12px}@media(max-width:968px){.worker-details-grid{grid-template-columns:1fr}}.worker-detail-layout{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:flex-start}@media(max-width:1024px){.worker-detail-layout{grid-template-columns:1fr}}.worker-sidebar{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);position:sticky;top:16px;overflow:hidden}.worker-profile-header{padding:24px 20px;text-align:center;background:linear-gradient(180deg,var(--grey-50) 0%,#fff 100%);border-bottom:1px solid var(--border-subtle)}.worker-avatar{width:72px;height:72px;border-radius:50%;background:var(--brand-primary-dark);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600;margin:0 auto 12px;letter-spacing:-.5px}.worker-name{margin:0 0 4px;font-size:16px;font-weight:600;color:var(--grey-900);line-height:1.3}.worker-role-badge{display:inline-block;padding:3px 10px;background:var(--brand-primary);color:#fff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;border-radius:10px;margin-bottom:8px}.worker-status-indicator{display:block;font-size:12px;color:var(--grey-500)}.worker-status-indicator.active:before{content:"";display:inline-block;width:6px;height:6px;background:var(--status-success);border-radius:50%;margin-right:6px;vertical-align:middle}.worker-info-section{padding:16px 20px;border-bottom:1px solid var(--border-subtle)}.worker-info-section:last-child{border-bottom:none}.worker-info-heading{margin:0 0 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-500)}.worker-info-list{margin:0}.worker-info-row{display:flex;justify-content:space-between;align-items:flex-start;padding:6px 0;gap:12px}.worker-info-row dt{font-size:13px;color:var(--grey-500);flex-shrink:0}.worker-info-row dd{margin:0;font-size:13px;font-weight:500;color:var(--grey-900);text-align:right;word-break:break-word}.worker-main{display:flex;flex-direction:column;gap:20px}.worker-stats-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:20px}.worker-section-title{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--grey-900)}.worker-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}@media(max-width:640px){.worker-stats-row{grid-template-columns:1fr}}.worker-stat-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 16px;background:var(--grey-50);border:1px solid var(--border-subtle);border-radius:var(--radius-sm)}.worker-stat-value{font-size:28px;font-weight:700;color:var(--grey-900);line-height:1;margin-bottom:6px}.worker-stat-label{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--grey-500)}.worker-tabs-section{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);overflow:hidden}.worker-tabs-nav{display:flex;border-bottom:1px solid var(--border-subtle);background:var(--grey-50)}.worker-tab-btn{flex:1;padding:14px 16px;background:transparent;border:none;font-size:13px;font-weight:500;color:var(--grey-600);cursor:pointer;position:relative;transition:color .15s ease,background .15s ease}.worker-tab-btn:hover{color:var(--grey-900);background:#00000005}.worker-tab-btn.active{color:var(--brand-primary-dark);background:#fff;font-weight:600}.worker-tab-btn.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--brand-primary)}.worker-tab-panel{padding:20px}.worker-activity-list{display:flex;flex-direction:column;gap:0}.worker-activity-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--border-subtle)}.worker-activity-item:last-child{border-bottom:none;padding-bottom:0}.worker-activity-item:first-child{padding-top:0}.worker-activity-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--grey-100);border-radius:50%;color:var(--grey-500)}.worker-activity-content{flex:1;min-width:0}.worker-activity-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px}.worker-activity-title{font-size:14px;font-weight:600;color:var(--grey-900)}.worker-activity-time{font-size:12px;color:var(--grey-500);flex-shrink:0}.worker-activity-desc{margin:0;font-size:13px;color:var(--grey-600);line-height:1.5}.worker-timeline{position:relative;padding-left:24px}.worker-timeline:before{content:"";position:absolute;left:5px;top:8px;bottom:8px;width:2px;background:var(--border-subtle)}.worker-timeline-item{position:relative;padding-bottom:20px}.worker-timeline-item:last-child{padding-bottom:0}.worker-timeline-marker{position:absolute;left:-24px;top:6px;width:12px;height:12px;background:var(--brand-primary);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px var(--brand-primary)}.worker-timeline-content{background:var(--grey-50);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding:12px 16px}.worker-timeline-date{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:var(--grey-500);margin-bottom:4px}.worker-timeline-title{margin:0 0 4px;font-size:14px;font-weight:600;color:var(--grey-900)}.worker-timeline-desc{margin:0;font-size:13px;color:var(--grey-600);line-height:1.5}.worker-form-layout{display:grid;grid-template-columns:1fr 300px;gap:24px;padding:0 24px 32px;max-width:1200px;margin:0 auto}@media(max-width:1024px){.worker-form-layout{grid-template-columns:1fr}.worker-form-sidebar{order:-1}}.worker-form-main{min-width:0}.worker-form-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm)}.worker-form-header{padding:20px 24px;border-bottom:1px solid var(--border)}.worker-form-title{margin:0 0 4px;font-size:18px;font-weight:600;color:var(--grey-900);letter-spacing:-.2px}.worker-form-subtitle{margin:0;font-size:13px;color:var(--grey-500)}.worker-form-section{padding:20px 24px;border-bottom:1px solid var(--border-subtle)}.worker-form-section:last-of-type{border-bottom:none}.worker-section-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.worker-section-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--grey-50);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--grey-500);flex-shrink:0}.worker-section-icon svg{width:16px;height:16px}.worker-section-title{margin:0 0 2px;font-size:14px;font-weight:600;color:var(--grey-800)}.worker-section-desc{margin:0;font-size:12px;color:var(--grey-500)}.worker-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.worker-form-grid .form-group-full{grid-column:1 / -1}@media(max-width:640px){.worker-form-grid{grid-template-columns:1fr}}.worker-form-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;background:var(--grey-50);border-top:1px solid var(--border)}.worker-form-sidebar{display:flex;flex-direction:column;gap:12px}.worker-preview-card{background:var(--grey-50);border:1px solid var(--border);border-radius:var(--radius-sm)}.worker-preview-header{padding:20px 16px;background:var(--grey-100);border-bottom:1px solid var(--border);text-align:center}.worker-preview-avatar{width:48px;height:48px;margin:0 auto 10px;background:var(--grey-200);border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:var(--grey-600);text-transform:uppercase}.worker-preview-name{font-size:14px;font-weight:600;color:var(--grey-800);margin-bottom:4px}.worker-preview-role{display:inline-block;padding:3px 10px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.3px;border-radius:var(--radius-sm);background:var(--grey-200);color:var(--grey-600)}.worker-preview-role.operator{background:#10b98126;color:#059669}.worker-preview-role.technician{background:#f59e0b26;color:#b45309}.worker-preview-details{padding:12px 16px}.worker-preview-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--border-subtle)}.worker-preview-row:last-child{border-bottom:none;padding-bottom:0}.worker-preview-row:first-child{padding-top:0}.worker-preview-label{font-size:11px;font-weight:500;color:var(--grey-500);text-transform:uppercase;letter-spacing:.2px}.worker-preview-value{font-size:12px;font-weight:500;color:var(--grey-700);text-align:right;max-width:55%;word-break:break-word}.worker-preview-value.highlight{color:var(--brand-primary)}.worker-preview-status{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;background:#fff;border-top:1px solid var(--border);font-size:12px;color:var(--grey-600)}.worker-preview-status-dot{width:6px;height:6px;border-radius:50%;background:var(--grey-400)}.worker-preview-status-dot.active{background:var(--status-success)}.worker-form-tips{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 16px}.worker-form-tips h4{margin:0 0 10px;font-size:11px;font-weight:600;color:var(--grey-600);text-transform:uppercase;letter-spacing:.3px}.worker-form-tips ul{margin:0;padding:0;list-style:none}.worker-form-tips li{position:relative;padding-left:12px;margin-bottom:6px;font-size:12px;color:var(--grey-600);line-height:1.5}.worker-form-tips li:last-child{margin-bottom:0}.worker-form-tips li:before{content:"•";position:absolute;left:0;color:var(--grey-400)}.worker-form-tips strong{font-weight:500;color:var(--grey-700)}.worker-audit-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 16px}.worker-audit-title{margin:0 0 12px;font-size:11px;font-weight:600;color:var(--grey-600);text-transform:uppercase;letter-spacing:.3px}.worker-audit-timeline{display:flex;flex-direction:column;gap:10px}.worker-audit-item{display:flex;align-items:flex-start;gap:10px}.worker-audit-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--grey-50);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--grey-500);flex-shrink:0}.worker-audit-icon svg{width:12px;height:12px}.worker-audit-content{flex:1;min-width:0}.worker-audit-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;color:var(--grey-500);margin-bottom:2px}.worker-audit-value{font-size:12px;font-weight:500;color:var(--grey-800);margin-bottom:1px}.worker-audit-user{font-size:11px;color:var(--grey-500)}.form-error-box{margin:0 28px 20px;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:var(--radius-sm);color:#dc2626;font-size:13px;font-weight:500}.btn-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.modal-overlay,.modal.modal-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0f172a66;z-index:1050;padding:20px;opacity:1;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:opacity .18s ease;pointer-events:auto}.modal-overlay.modal-hidden,.modal.modal-overlay:not(.active),.modal.modal-overlay.modal-hidden{display:none}.modal-hidden{opacity:0;visibility:hidden;pointer-events:none}.modal-content,.modal.modal--panel{position:relative;inset:auto;background:transparent;border-radius:14px;width:min(720px,95%);max-height:calc(100vh - 80px);overflow:visible;box-shadow:none;border:none;overflow:hidden;display:flex;flex-direction:column;opacity:1;pointer-events:auto}.modal-content.modal--elevated,.modal.modal--panel.modal--elevated{border-radius:14px;box-shadow:0 12px 40px #0206171f;border:1px solid rgba(15,23,42,.04);background:linear-gradient(180deg,#fffffffa,#f9fafbfa)}.modal-content.small,.modal.modal--panel.small{width:min(520px,100%)}.modal-content.enhanced{background:#fff;border-radius:var(--radius-lg);width:min(720px,95vw);border:1px solid var(--border-subtle);box-shadow:none}.modal-overlay>.modal.modal--panel,.modal.modal-overlay>.modal.modal--panel{margin:0;padding:0;width:min(560px,95%);max-height:90vh}.modal-header{padding:22px 28px;display:flex;flex-direction:column;gap:6px;border-bottom:1px solid rgba(15,23,42,.04);background:transparent}.modal-content.enhanced .modal-header{padding:24px 28px}.modal-title{font-size:20px;font-weight:700;color:var(--text-primary);line-height:1.2;letter-spacing:-.01em}.modal-subtitle{font-size:13px;color:var(--text-secondary);font-weight:500;line-height:1.4}.modal-subtitle .muted{color:var(--text-muted);font-weight:400}.modal-content.enhanced .modal-title{font-size:18px;color:#0f172a}.modal-body{padding:22px 28px 18px;background:transparent}.modal-body .form-card{background:transparent;border-radius:0;padding:0;box-shadow:none;border:none}.modal-body .form-section{padding:12px 0}.modal-body{padding:22px 28px}.modal-body .section-label.section-title{font-size:12px;font-weight:400;color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}.modal .form-section--flat{border:none;box-shadow:none;background:transparent;border-radius:0;padding:12px 0}.modal fieldset{border:none;margin:0;padding:0;min-inline-size:auto}.modal .section-label,.modal .section-label.section-title{font-size:12px;font-weight:600;color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}.modal-body .form-grid.two-cols{gap:18px}.modal.form--compact .form-input,.modal.form--compact .form-select,.modal.form--compact input:not([type=checkbox]):not([type=radio]),.modal.form--compact select,.modal.form--compact textarea{height:36px;padding:8px 12px;border-radius:8px}.modal.form--compact .form-field{margin-bottom:10px}.modal.form--compact .form-field .form-label{margin-bottom:6px}.modal.form--compact .form-textarea{min-height:64px;max-height:220px}.modal.form--compact .modal-footer{padding-top:14px}.modal.form--compact .form-card{padding:8px}.modal-content.enhanced .modal-body{padding:24px 28px}.modal-form{display:flex;flex-direction:column;gap:0}.modal-footer,.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:20px 28px;border-top:1px solid rgba(15,23,42,.04);background:transparent}.modal--flat{background:var(--surface-elevated);border-radius:var(--radius-md);width:min(480px,95vw);max-height:calc(100vh - 80px);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--border-subtle)}.modal-header--compact{padding:16px 20px 12px;border-bottom:1px solid var(--border-subtle);background:var(--surface-elevated)}.modal-header--compact .modal-title{font-size:15px;font-weight:600;color:var(--text-primary);line-height:1.3}.modal-header--compact .modal-subtitle{margin-top:2px;font-size:13px;color:var(--text-secondary);font-weight:400}.modal-header--compact .modal-subtitle .muted{color:var(--text-muted)}.modal-body--compact{padding:14px 20px;background:var(--surface-elevated)}.modal-footer--compact{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;border-top:1px solid var(--border-subtle);background:var(--surface-elevated)}.modal-footer__actions{display:flex;gap:8px;margin-left:auto}.form-row-inline{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row-inline .form-field{display:flex;flex-direction:column;gap:4px}.form-row-inline .form-label{font-size:12px;font-weight:500;color:var(--text-secondary)}.form-row-inline select{height:32px;padding:0 10px;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font-size:13px;color:var(--text-primary);background:var(--surface-elevated)}.form-row-inline select:focus{outline:none;border-color:var(--border-strong-alt)}.form-row-inline select:disabled{background:var(--surface-subtle);color:var(--text-muted);border-color:var(--border-subtle)}.form-row-inline .form-hint{font-size:11px;color:var(--text-muted);margin-top:2px}.btn-text-danger{background:transparent;border:none;color:#991b1b;font-size:13px;font-weight:600;padding:6px 8px;cursor:pointer}.btn-text-danger:hover{color:#7f1d1d;text-decoration:underline;text-underline-offset:2px}.btn-text-danger:disabled{color:var(--border-strong);cursor:not-allowed}.btn-text-danger:focus,.btn-text-danger:focus-visible{outline:none;box-shadow:none}.modal-footer .btn-text-danger,.modal-footer--compact .btn-text-danger{margin-right:auto}.modal-body .form-card+.form-actions,.modal-body .form-card+.modal-footer{margin-top:12px}.modal-close,.modal-close-btn{border:none;background:transparent;padding:4px;cursor:pointer;color:var(--grey-400);border-radius:999px;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.modal-close:hover,.modal-close-btn:hover{background:var(--grey-100);color:var(--grey-700)}.modal-close:active,.modal-close-btn:active{background:var(--grey-200)}.modal.active .modal-content,.modal-overlay .modal--panel{animation:modal-panel-in .18s ease-out}@keyframes modal-panel-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal .btn{transition:transform .14s ease,box-shadow .14s ease,opacity .12s ease}.modal .btn.btn-primary{height:44px;padding:0 18px;border-radius:999px;background:linear-gradient(180deg,#1f2937,#111827);color:#fff;font-weight:700;box-shadow:0 8px 28px #0206172e,inset 0 -2px 6px #0000001f;border:1px solid rgba(255,255,255,.04)}.modal .btn.btn-primary:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 14px 46px #02061733,inset 0 -2px 6px #00000024}.modal .btn.btn-primary:active{transform:translateY(-1px)}.modal .btn.btn-secondary{height:44px;padding:0 18px;border-radius:999px;background:#fff;color:var(--text-primary);border:1px solid rgba(15,23,42,.06);font-weight:600;box-shadow:0 8px 22px #0206170a}.modal .btn.btn-secondary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 32px #0206170f}.modal .modal-close{width:38px;height:38px;border-radius:10px;background:#0f172a05;color:var(--grey-500)}.modal .modal-close:hover{background:#0f172a0a;color:var(--grey-700)}.modal-content.modal--elevated:after{content:"";position:absolute;left:18px;right:18px;top:12px;height:6px;border-radius:6px;background:linear-gradient(90deg,#6366f10f,#10b98108);pointer-events:none;filter:blur(6px);opacity:.9}.modal-body .form-card{animation:form-card-pop .26s cubic-bezier(.2,.9,.2,1)}@keyframes form-card-pop{0%{transform:translateY(6px) scale(.995);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.warning-content{text-align:center;padding:20px 0}.warning-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:#dc26261a;color:var(--status-danger);margin:0 auto 20px}.warning-text{font-size:14px;line-height:1.6;color:var(--grey-700);max-width:400px;margin:0 auto}.warning-text strong{color:var(--grey-900);font-weight:600}body.sidebar-collapsed .sidebar{width:80px}.sidebar{width:224px;background:var(--bg-sidebar);display:flex;flex-direction:column;border-right:1px solid var(--sidebar-border);transition:width .28s ease,transform .28s ease;min-height:100vh;position:relative;z-index:999;overflow:hidden;box-shadow:10px 0 24px #00000059}.sidebar.open{width:224px;transform:translate(0)}.sidebar.closed{width:0;transform:translate(-100%)}.sidebar.collapsed{width:64px}.sidebar-overlay{position:fixed;inset:0;background:var(--sidebar-overlay-bg);z-index:998;display:none}.sidebar-overlay.active{display:block}.sidebar-header{padding:14px 16px 10px;border-bottom:1px solid var(--sidebar-header-border);display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-brand{display:flex;align-items:center;gap:12px}.sidebar-brand img,.sidebar-title img{max-width:150px;height:auto}body.sidebar-collapsed .sidebar-title img,body.sidebar-collapsed .sidebar-brand img{max-width:36px}.brand-meta{display:none}.collapse-toggle{width:34px;height:34px;border-radius:12px;border:1px solid var(--sidebar-toggle-border);background:var(--sidebar-toggle-bg);color:#e2e8f0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .2s ease,background .2s ease}.collapse-toggle:hover{border-color:var(--sidebar-toggle-border-hover);background:var(--sidebar-toggle-bg-hover)}.sidebar-toggle{position:sticky;top:12px;left:0;z-index:20;align-self:flex-start;margin-bottom:12px;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:12px;border:1px solid #dfe3eb;background:#fff;color:#111827;cursor:pointer;box-shadow:0 10px 24px #0f172a14;transition:all .2s ease}.sidebar-toggle:hover{border-color:#cbd5f5;transform:translateY(-1px)}.sidebar-nav{flex:1;overflow-y:auto;padding:8px 0 16px}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-thumb{background:var(--sidebar-scrollbar);border-radius:999px}.user-section{padding:12px 14px;border-top:1px solid var(--sidebar-user-border);display:flex;align-items:center;gap:10px;margin-top:auto}.user-section.collapsed{flex-direction:column;gap:8px}.user-avatar{width:32px;height:32px;border-radius:50%;background:var(--sidebar-avatar-bg);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600}.user-info{flex:1;transition:opacity .2s ease}.user-name{font-size:13px;color:var(--text-sidebar)}.user-role{font-size:11px;color:var(--text-sidebar-muted)}.logout-btn{border:1px solid var(--sidebar-logout-border);background:var(--sidebar-logout-bg);color:#ffffffb3;cursor:pointer;font-size:13px;border-radius:999px;padding:6px 14px;display:inline-flex;align-items:center;gap:6px;transition:border-color .2s ease,color .2s ease,background .2s ease}.logout-btn:hover{border-color:var(--sidebar-logout-border-hover);color:#fff;background:var(--sidebar-logout-bg-hover)}.nav-section{padding:4px 0}.nav-section+.nav-section{margin-top:4px;padding-top:8px;border-top:1px solid var(--sidebar-header-border)}.nav-label{padding:8px 16px 6px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:var(--sidebar-nav-label);transition:opacity .2s ease}.nav-item{border:none;width:calc(100% - 16px);margin:1px 8px;text-align:left;padding:10px 14px;color:var(--sidebar-nav-text);border-radius:8px;background:transparent;cursor:pointer;font-size:14px;font-weight:400;display:flex;align-items:center;gap:14px;min-height:40px;transition:background .15s ease,color .15s ease;position:relative}.nav-item:hover{background:var(--sidebar-nav-hover-bg);color:#fff}.nav-item.active{background:var(--sidebar-nav-active-bg);color:#fff;font-weight:500}.nav-item.disabled{opacity:.5;cursor:default}.nav-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.85;color:inherit}.nav-item.active .nav-icon{opacity:1}.nav-badge{margin-left:auto;min-width:24px;padding:2px 8px;border-radius:999px;background:#94a3b83d;color:#e2e8f0;font-size:11px;line-height:1.2}.nav-item.collapsed{width:46px;justify-content:center;padding:6px}.nav-item.collapsed .nav-label-text,.nav-item.collapsed .nav-badge,.sidebar.collapsed .nav-label,.user-section.collapsed .user-info,.user-section.collapsed .logout-btn span,.sidebar.collapsed .brand-meta{opacity:0;pointer-events:none;width:0;height:0;overflow:hidden}.sidebar.collapsed .user-section{align-items:center}.sidebar.collapsed .logout-btn{width:38px;height:38px;padding:0;border-radius:50%;justify-content:center}.rounded-control{height:38px;border-radius:22px;border:1px solid var(--grey-300);background:#fff;display:inline-flex;align-items:center;padding:0 14px;font-size:14px;color:var(--grey-700);transition:border-color .15s ease,background .15s ease}.rounded-control:focus-within,.rounded-control:focus{border-color:var(--brand-primary);background:#fff;outline:none}.rounded-control:hover{background:var(--grey-100)}.rounded-control .search-icon,.rounded-control svg,.rounded-control [class*=icon]{margin-right:8px;font-size:16px;color:var(--grey-600);flex-shrink:0}.rounded-control .search-input,.rounded-control input{border:none;outline:none;background:transparent;flex:1;padding-left:6px;height:100%;font-size:14px;color:var(--grey-700)}.rounded-control .search-input::placeholder,.rounded-control input::placeholder{color:var(--grey-500)}input:not([type=checkbox]):not([type=radio]),select,button:not(.btn-icon),.pill,.filter-pill,.toggle-item,.search-input,.form-input,.form-select,.filter-button,.filter-btn{border-radius:22px!important}.worker-details-layout{display:grid;grid-template-columns:350px 1fr;gap:24px;padding:0 24px 24px;max-width:100%;margin:0;background:#f5f7fa}.worker-details-sidebar{display:flex;flex-direction:column;gap:20px}.worker-profile-card{background:#fff;border:none;border-radius:12px;padding:32px 24px;text-align:center;box-shadow:0 1px 3px #0000000d}.worker-avatar{width:88px;height:88px;border-radius:50%;background:#2c3e50;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:600;margin:0 auto 16px;letter-spacing:.5px}.worker-avatar--machine{background:#2c3e50}.worker-name{font-size:20px;font-weight:600;color:var(--grey-900);margin:0 0 8px}.worker-badge{display:inline-block;padding:4px 12px;background:var(--grey-900);color:#fff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border-radius:12px;margin-bottom:12px}.worker-status{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;color:var(--grey-600)}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--grey-400)}.status-dot.active{background:#10b981}.status-dot.inactive{background:var(--grey-400)}.worker-info-section{background:#fff;border:none;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000000d}.worker-info-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:#6b7280;margin:0 0 20px}.worker-info-item{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 0;border-bottom:none}.worker-info-item:last-child{border-bottom:none}.worker-info-label{font-size:14px;color:#6b7280;font-weight:400}.worker-info-value{font-size:14px;color:#1f2937;font-weight:400;text-align:right;max-width:60%;word-break:break-word}.worker-details-main{display:flex;flex-direction:column;gap:24px}.performance-overview{background:#fff;border:none;border-radius:12px;padding:28px 24px 24px;box-shadow:0 1px 3px #0000000d}.section-title{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 24px}.performance-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.performance-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px 20px;text-align:center}.performance-value{font-size:36px;font-weight:700;color:#1f2937;margin-bottom:8px;line-height:1}.performance-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:#6b7280}.detail-tabs{display:flex;gap:0;border-bottom:2px solid #e5e7eb;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 1px 3px #0000000d}.detail-tab{padding:16px 28px;background:transparent;border:none;border-bottom:3px solid transparent;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .15s ease;position:relative;top:2px}.detail-tab:hover{color:#1f2937}.detail-tab.active{color:#1f2937;border-bottom-color:var(--brand-primary);font-weight:600}.detail-tab-content{background:#fff;border:none;border-radius:0 0 12px 12px;padding:28px 24px;min-height:400px;box-shadow:0 1px 3px #0000000d}.activity-feed{display:flex;flex-direction:column;gap:0}.activity-item{display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-bottom:1px solid #f3f4f6}.activity-item:first-child{padding-top:0}.activity-item:last-child{border-bottom:none;padding-bottom:0}.activity-icon{width:40px;height:40px;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#6b7280}.activity-content{flex:1;min-width:0}.activity-title{font-size:15px;font-weight:600;color:#1f2937;margin-bottom:4px}.activity-description{font-size:14px;color:#6b7280;line-height:1.5}.activity-timestamp{font-size:13px;color:#9ca3af;flex-shrink:0}.detail-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:0}.detail-info-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:18px}.detail-info-label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:#6b7280;margin-bottom:10px}.detail-info-value{display:block;font-size:15px;font-weight:500;color:#1f2937}.detail-notes{background:var(--grey-50);border:1px solid var(--grey-100);border-radius:6px;padding:20px}.detail-notes-title{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-600);margin:0 0 12px}.detail-notes-content{font-size:14px;color:var(--grey-700);line-height:1.6;margin:0}.page-header .page-actions{display:flex;gap:12px;align-items:center}.back-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px #0000000d}.back-btn:before{content:"←";font-size:18px}.back-btn:hover{background:#f9fafb;border-color:#d1d5db}@media(max-width:1024px){.worker-details-layout{grid-template-columns:280px 1fr;gap:20px}.performance-cards{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.worker-details-layout{grid-template-columns:1fr;padding:0 16px 16px}.performance-cards,.detail-info-grid{grid-template-columns:1fr}.detail-tab{padding:10px 16px;font-size:13px}}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:24px;margin-bottom:32px}.card--analytics{background:var(--surface-base);border:1px solid var(--border-color, #e5e7eb);border-radius:8px;padding:16px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .05));transition:all .2s ease}.card--analytics:hover{box-shadow:var(--shadow-md, 0 4px 6px rgba(0, 0, 0, .1));border-color:var(--border-color-hover, #d1d5db)}.chart-container{width:100%;height:280px;display:flex;align-items:center;justify-content:center;background:var(--surface-subtle, #f9fafb);border-radius:6px;margin-bottom:12px;overflow:hidden}.chart-container--tall{height:340px}.chart-container--short{height:220px}.kpi-small{display:flex;flex-direction:column;gap:4px;padding:12px;background:var(--surface-subtle, #f9fafb);border-radius:6px;text-align:left;border:1px solid var(--border-color, #e5e7eb)}.kpi-small--primary{background:linear-gradient(135deg,var(--brand-primary, #2f3a4b),rgba(47,58,75,.8));color:#fff;border:none}.kpi-small__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;color:var(--text-secondary, #6b7280)}.kpi-small--primary .kpi-small__label{color:#fffc}.kpi-small__value{font-size:22px;font-weight:700;color:var(--text-primary, #1f2937);line-height:1}.kpi-small--primary .kpi-small__value{color:#fff}.kpi-small__context{font-size:10px;color:var(--text-tertiary, #9ca3af)}.kpi-small--primary .kpi-small__context{color:#ffffffb3}.analytics-filter-row{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border-color, #e5e7eb);align-items:center}.analytics-filter-group{display:flex;flex-direction:column;gap:6px;flex:0 1 auto;min-width:180px}.analytics-filter-group label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;color:var(--text-secondary, #6b7280)}.analytics-filter-group select,.analytics-filter-group input{font-size:13px;padding:8px 10px;border:1px solid var(--border-color, #e5e7eb);border-radius:6px;background:var(--surface-base);color:var(--text-primary, #1f2937)}.analytics-filter-group select:focus,.analytics-filter-group input:focus{outline:none;border-color:var(--brand-primary, #2f3a4b);box-shadow:0 0 0 3px #2f3a4b1a}.card-section{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.card-section:last-child{margin-bottom:0}.card-section__title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--text-primary, #1f2937);padding-bottom:8px;border-bottom:1px solid var(--border-color, #e5e7eb)}.chart-legend{display:flex;flex-direction:column;gap:8px;margin-top:12px}.legend-item{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-secondary, #6b7280)}.legend-color{width:12px;height:12px;border-radius:2px;flex-shrink:0}.legend-label{flex:1}.legend-value{font-weight:600;color:var(--text-primary, #1f2937);min-width:40px;text-align:right}.heatmap-grid{display:flex;flex-direction:column;gap:8px;margin-top:12px;max-width:100%;overflow-x:auto}.heatmap-row{display:grid;grid-template-columns:repeat(7,minmax(24px,1fr));gap:4px;align-items:center}.heatmap-cell{aspect-ratio:1;border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:600;cursor:pointer;transition:transform .2s ease;color:#fff;min-width:24px}.heatmap-cell:hover{transform:scale(1.15)}.ranking-list{display:flex;flex-direction:column;gap:8px}.ranking-item{display:grid;grid-template-columns:24px 1fr auto;gap:12px;align-items:center;padding:8px 10px;background:var(--surface-subtle, #f9fafb);border-radius:4px;font-size:12px}.ranking-rank{font-weight:700;color:var(--text-secondary, #6b7280);text-align:center}.ranking-label{font-weight:500;color:var(--text-primary, #1f2937)}.ranking-value{font-weight:600;color:var(--text-secondary, #6b7280);text-align:right}.status-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.2px}.status-badge--success{background:#10b9811a;color:#065f46}.status-badge--warning{background:#f59e0b1a;color:#92400e}.status-badge--danger{background:#dc26261a;color:#7f1d1d}.status-badge--info{background:#0ea5e91a;color:#0c4a6e}.skeleton{background:linear-gradient(90deg,var(--surface-subtle, #f9fafb) 0%,var(--surface-base) 50%,var(--surface-subtle, #f9fafb) 100%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite;border-radius:4px}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-line{height:12px;margin-bottom:8px}.skeleton-chart{height:260px;margin-bottom:12px}.analytics-page-header{margin-bottom:32px}.analytics-page-header h1{font-size:28px;font-weight:700;color:var(--text-primary, #1f2937);margin-bottom:4px}.analytics-page-header p{font-size:14px;color:var(--text-secondary, #6b7280)}@media(max-width:1024px){.analytics-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.analytics-filter-row{flex-direction:column;gap:12px}.analytics-filter-group{min-width:100%}.chart-container{height:240px}.chart-container--tall{height:300px}}@media(max-width:768px){.analytics-grid{grid-template-columns:1fr}.analytics-page-header h1{font-size:24px}.chart-container{height:200px}.chart-container--tall{height:260px}.kpi-small{padding:10px}.kpi-small__value{font-size:18px}.card--analytics{padding:12px}}
