@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";.learning-media-editor{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}.learning-media-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.learning-media-hint{font-size:12px;line-height:1.5;color:var(--muted)}.learning-media-list{display:grid;gap:12px;margin-top:14px}.learning-media-entry{padding:16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--white);min-width:0}.learning-media-identity{display:flex;gap:10px;align-items:center;min-width:0;flex:1 1 160px}.learning-media-glyph{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:var(--radius-sm);background:var(--royal-light);color:var(--royal);font-size:18px}.learning-media-name{min-width:0}.learning-media-title{font-size:13px;font-weight:700;color:var(--text);overflow-wrap:anywhere}.learning-media-url{overflow-wrap:anywhere}.learning-media-add{border:0;padding:0;margin:14px 0 0;min-width:0}.learning-media-add:disabled{opacity:.65}.learning-media-add-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.learning-media-video-form{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px;min-width:0}.learning-media-figure{margin:16px 0;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--white)}.learning-media-figure-header{padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--border)}.learning-media-actions{display:flex;gap:8px;flex-wrap:wrap}.learning-media-preview{padding:16px;text-align:center}.learning-media-image{display:block;max-width:100%;max-height:700px;object-fit:contain;margin:auto;border-radius:var(--radius-sm)}.learning-media-pdf{display:block;width:100%;height:min(70vh,560px);border:0}.learning-media-video{display:block;width:100%;aspect-ratio:16 / 9;border:0}.learning-media-caption{padding:12px 16px;border-top:1px solid var(--border);font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #F4F6FB;--white: #FFFFFF;--navy: #1A1D3B;--navy-light: #2D3163;--royal: #1E4FD8;--royal-dark: #1740B0;--royal-light: #EBF0FD;--royal-mid: #3D6AE8;--emerald: #059669;--emerald-dark: #047857;--emerald-light: #ECFDF5;--emerald-mid: #10B981;--indigo: #4F46E5;--indigo-light: #EEF2FF;--indigo-hover: #4338CA;--amber: #F59E0B;--amber-light: #FEF3C7;--amber-dark: #D97706;--muted: #6B7280;--muted-light: #9CA3AF;--border: #E5E7EB;--border-dark: #D1D5DB;--red: #EF4444;--red-light: #FEF2F2;--orange: #F97316;--orange-light: #FFF7ED;--green: #10B981;--green-light: #ECFDF5;--blue: #3B82F6;--blue-light: #EFF6FF;--purple: #8B5CF6;--purple-light: #F5F3FF;--text: #111827;--text-soft: #374151;--font: "Plus Jakarta Sans", sans-serif;--radius: 14px;--radius-sm: 8px;--radius-xs: 6px;--shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);--shadow: 0 4px 16px rgba(0,0,0,.08);--shadow-lg: 0 12px 40px rgba(0,0,0,.13)}body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}.app{display:flex;flex-direction:column;min-height:100vh}.login-screen{min-height:100vh;display:flex;background:var(--bg)}.login-left{flex:1;background:linear-gradient(145deg,#0f1535,#1a1d3b 30%,#1e4fd8 70%,#059669);display:flex;flex-direction:column;justify-content:center;padding:60px;position:relative;overflow:hidden}.login-left:before{content:"";position:absolute;top:-120px;right:-80px;width:420px;height:420px;border-radius:50%;background:#1e4fd833;pointer-events:none}.login-left:after{content:"";position:absolute;bottom:-80px;left:-60px;width:340px;height:340px;border-radius:50%;background:#0596692e;pointer-events:none}.login-left .orb{position:absolute;top:40%;right:-40px;width:200px;height:200px;border-radius:50%;background:#0596691f;pointer-events:none}.login-brand{font-size:30px;font-weight:800;color:#fff;margin-bottom:10px;letter-spacing:-.5px}.login-brand span{color:#6ee7b7}.login-tagline{font-size:15px;color:#ffffffa6;margin-bottom:52px}.login-features{display:flex;flex-direction:column;gap:18px}.login-feature{display:flex;align-items:center;gap:14px}.login-feature-icon{width:40px;height:40px;border-radius:10px;background:#ffffff1a;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.login-feature-text{font-size:14px;color:#ffffffd9;font-weight:500}.login-right{width:460px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:40px;background:var(--white)}.login-form-wrap{width:100%;max-width:360px}.login-welcome{font-size:26px;font-weight:800;color:var(--text);margin-bottom:6px;letter-spacing:-.4px}.login-welcome-sub{font-size:14px;color:var(--muted);margin-bottom:36px}.login-label{display:block;font-size:13px;font-weight:600;color:var(--text-soft);margin-bottom:6px}.login-input{width:100%;background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;color:var(--text);font-family:var(--font);font-size:14px;margin-bottom:18px;outline:none;transition:border-color .15s,box-shadow .15s}.login-input:focus{border-color:var(--royal);box-shadow:0 0 0 3px #1e4fd81f}.login-input:disabled{cursor:default;color:var(--text-soft);opacity:1}.login-password-field{position:relative}.login-password-field .login-input{padding-right:48px}.login-password-toggle{position:absolute;right:10px;top:8px;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font-size:20px;line-height:1}.login-password-toggle:hover{background:var(--royal-light);color:var(--royal)}.login-password-toggle svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.login-role-label{font-size:13px;font-weight:600;color:var(--text-soft);margin-bottom:10px;display:block}.login-roles{display:flex;gap:8px;margin-bottom:28px}.role-chip{flex:1;padding:11px 6px;border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--white);color:var(--muted);font-size:12px;font-weight:700;cursor:pointer;text-align:center;transition:all .15s;font-family:var(--font);line-height:1.4}.role-chip:hover,.role-chip.active{border-color:var(--royal);color:var(--royal);background:var(--royal-light)}.login-btn{width:100%;padding:13px;background:linear-gradient(135deg,var(--royal) 0%,var(--royal-mid) 50%,#1a8f6f 100%);color:#fff;border:none;border-radius:var(--radius-sm);font-family:var(--font);font-size:15px;font-weight:700;cursor:pointer;transition:all .15s;box-shadow:0 4px 16px #1e4fd84d}.login-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #1e4fd866}.login-btn:active{transform:translateY(0)}.login-mode-toggle{display:block;width:100%;border:0;background:transparent;color:var(--royal);font:inherit;font-size:13px;font-weight:600;text-align:center;cursor:pointer;margin-top:16px}.login-mode-toggle:hover{text-decoration:underline}.login-form-hint{color:var(--muted);font-size:12px;line-height:1.5;margin:-6px 0 18px}.login-footer-note{text-align:center;font-size:12px;color:var(--muted-light);margin-top:20px}.shell{display:flex;height:100vh;overflow:hidden}.sidebar{width:248px;min-width:248px;background:linear-gradient(180deg,#0f1535,#1a1d3b 60%,#1b3a2d);border-right:none;display:flex;flex-direction:column;padding:0;overflow-y:auto;box-shadow:3px 0 16px #00000026}.sidebar-top{padding:22px 20px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-logo{font-size:20px;font-weight:800;color:#fff;letter-spacing:-.3px}.sidebar-logo span{color:#6ee7b7}.sidebar-logo-sub{font-size:11px;color:#fff6;margin-top:2px;font-weight:500}.sidebar-section{padding:18px 12px 6px}.sidebar-section-label{font-size:10.5px;font-weight:700;color:#ffffff59;letter-spacing:.1em;text-transform:uppercase;padding:0 8px 8px}.nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);cursor:pointer;color:#ffffff8c;font-size:13.5px;font-weight:600;transition:all .15s;margin-bottom:1px}.nav-item:hover{background:#ffffff14;color:#fff}.nav-item.active{background:linear-gradient(135deg,#1e4fd880,#05966966);color:#fff;box-shadow:inset 0 0 0 1px #6ee7b733}.nav-icon{font-size:15px;width:20px;text-align:center}.nav-badge{margin-left:auto;flex-shrink:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#dc2626;color:#fff;font-size:10.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px #ffffff2e}.nav-item.active .nav-badge{background:#fff;color:#dc2626;box-shadow:none}.sidebar-footer{margin-top:auto;padding:16px;border-top:1px solid rgba(255,255,255,.08)}.user-pill{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#ffffff0f;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,.08)}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--royal) 0%,var(--emerald) 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}.user-info{flex:1;min-width:0}.user-name{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.user-role{font-size:11px;color:#ffffff73;text-transform:capitalize;margin-top:1px}.logout-btn{background:none;border:none;color:#fff6;cursor:pointer;font-size:16px;padding:2px;transition:color .15s}.logout-btn:hover{color:#fca5a5}.main{flex:1;overflow-y:auto;display:flex;flex-direction:column;background:var(--bg)}.topbar{display:flex;align-items:center;justify-content:flex-start;padding:18px 28px;border-bottom:1px solid var(--border);background:var(--white);flex-shrink:0;box-shadow:var(--shadow-sm)}.page-title{font-size:19px;font-weight:800;color:var(--text);letter-spacing:-.3px}.page-subtitle{font-size:13px;color:var(--muted);margin-top:2px}.topbar-actions{display:flex;gap:10px}.content{padding:28px;flex:1}.btn{padding:9px 18px;border-radius:var(--radius-sm);border:none;font-family:var(--font);font-size:13px;font-weight:700;cursor:pointer;transition:all .15s;display:inline-flex;align-items:center;gap:6px}.btn-primary{background:linear-gradient(135deg,var(--royal) 0%,var(--royal-mid) 100%);color:#fff;box-shadow:0 2px 8px #1e4fd847}.btn-primary:hover{background:linear-gradient(135deg,var(--royal-dark) 0%,var(--royal) 100%);transform:translateY(-1px);box-shadow:0 4px 14px #1e4fd859}.btn-primary:disabled{background:var(--muted-light);box-shadow:none;cursor:not-allowed;transform:none}.btn-success{background:var(--emerald);color:#fff;box-shadow:0 2px 8px #05966940}.btn-success:hover{background:var(--emerald-dark);transform:translateY(-1px);box-shadow:0 4px 14px #05966952}.btn-success:disabled{background:var(--muted-light);box-shadow:none;cursor:not-allowed;transform:none}.btn-ghost{background:var(--white);color:var(--text-soft);border:1.5px solid var(--border)}.btn-ghost:hover:not(:disabled){border-color:var(--royal);color:var(--royal);background:var(--royal-light)}.btn-ghost:disabled{color:var(--muted);background:var(--surface);border-color:var(--border);cursor:not-allowed;opacity:.55}.btn-danger{background:var(--red-light);color:var(--red);border:1.5px solid #FECACA}.btn-danger:hover:not(:disabled){background:#fee2e2}.btn-danger:disabled{cursor:not-allowed;opacity:.55}.btn-success{background:#dcfce7;color:#15803d;border:1.5px solid #86EFAC}.btn-success:hover{background:#bbf7d0;color:#166534;border-color:#4ade80}.btn-sm{padding:6px 12px;font-size:12px}.confirm-action-spinner{width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:confirm-action-spin .65s linear infinite}@keyframes confirm-action-spin{to{transform:rotate(360deg)}}.invitation-resend-button{width:112px;flex-shrink:0;justify-content:center;white-space:nowrap}.invitation-resend-button:active:not(:disabled){background:var(--royal-light);border-color:var(--royal);color:var(--royal);box-shadow:inset 0 2px 4px #1e4fd826}.invitation-resend-button:disabled:not([aria-busy=true]){cursor:not-allowed;opacity:.5}.invitation-manage-button{display:flex;white-space:nowrap}.invitation-manager-content{display:grid;gap:14px}.invitation-manager-copy{margin:0;color:var(--text-soft);line-height:1.55}.invitation-manager-recipient{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.invitation-manager-recipient span{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.invitation-manager-recipient strong{overflow-wrap:anywhere;font-size:13px}.invitation-manager-modal .modal-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:20px}.invitation-manager-modal .modal-footer>.btn{width:100%;min-width:0;justify-content:center;padding-inline:8px;white-space:normal}.invitation-manager-modal .modal-footer>.btn:only-child{grid-column:1 / -1}.invoice-approve-button,.invoice-submit-button,.invoice-view-button,.invoice-edit-button{min-width:82px;justify-content:center;white-space:nowrap}.invoice-action-icon{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.invoice-approve-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1}.icon-action{position:relative}.icon-action:after{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 6px);z-index:2;padding:5px 7px;border-radius:4px;background:var(--royal-light);color:var(--royal-dark);border:1px solid #BFDBFE;font-size:11px;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transform:translate(-50%) translateY(2px);transition:opacity .15s,transform .15s}.icon-action:hover:after,.icon-action:focus-visible:after{opacity:1;transform:translate(-50%) translateY(0)}.icon-action[data-tooltip=Duplicate]:hover,.icon-action[data-tooltip=Duplicate]:focus-visible{background:var(--emerald-light);color:var(--emerald-dark);border-color:#a7f3d0}.library-download-action:hover:not(:disabled),.library-download-action:focus-visible{background:var(--emerald-light);color:var(--emerald-dark);border-color:#a7f3d0}.library-download-action:after{background:var(--emerald-light);color:var(--emerald-dark);border-color:#a7f3d0}.icon-action[data-tooltip=Duplicate]:after{background:var(--emerald-light);color:var(--emerald-dark);border-color:#a7f3d0}.icon-action[data-tooltip=Delete]:after{background:var(--red-light);color:#991b1b;border-color:#fecaca}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin-bottom:24px}.kpi-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:20px 22px;position:relative;overflow:hidden;box-shadow:var(--shadow-sm);min-width:0}.kpi-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--royal) 0%,var(--emerald) 100%);border-radius:var(--radius) var(--radius) 0 0}.kpi-card.red:before{background:var(--red)}.kpi-card.green:before{background:linear-gradient(90deg,var(--emerald) 0%,#34D399 100%)}.kpi-card.blue:before{background:linear-gradient(90deg,var(--royal) 0%,#60A5FA 100%)}.kpi-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:10px}.kpi-value{min-width:0;font-size:clamp(22px,2.4vw,30px);font-weight:800;line-height:1.1;color:var(--text);letter-spacing:-.5px;white-space:nowrap;overflow:visible;font-variant-numeric:tabular-nums}.kpi-value-medium{font-size:clamp(18px,2vw,24px);letter-spacing:-.7px}.kpi-value-long{font-size:clamp(15px,1.7vw,20px);letter-spacing:-.8px}.kpi-sub{font-size:12px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:20px;box-shadow:var(--shadow-sm)}.card-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border);background:var(--white)}.card-title{font-size:14px;font-weight:800;color:var(--text);letter-spacing:-.2px}.table-wrap{overflow-x:auto}.client-company,.client-primary-contact{max-width:260px;overflow-wrap:anywhere}.client-company>div{min-width:0}.client-actions{width:152px;min-width:0!important;padding-inline:10px!important}.client-actions>div{justify-content:center!important}.invitation-resend-button,.invitation-cancel-button{width:72px;justify-content:center}table{width:100%;border-collapse:collapse;font-size:13.5px}.contractors-table th,.contractors-table td{padding-inline:10px}.contractors-table .contractor-email-cell{min-width:240px;white-space:nowrap}.contractors-table .contractor-actions-cell{min-width:140px}.contractor-mobile-only,.contractor-mobile-actions{display:none}.contractor-mobile-actions{position:relative}.mobile-action-menu,.mobile-row-caption,.operations-mobile-only{display:none}.mobile-more-actions{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--white);color:var(--text);cursor:pointer;font-size:22px;line-height:1}.mobile-action-menu-items{position:fixed;z-index:1201;display:flex;flex-direction:column;min-width:170px;max-width:calc(100vw - 16px);box-sizing:border-box;overflow-y:auto;padding:6px;border:1px solid var(--border);border-radius:10px;background:var(--white);box-shadow:var(--shadow-lg);text-align:left}.mobile-action-menu-items>button,.mobile-action-menu-items .invitation-manage-button{display:flex;align-items:center;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--text-soft);cursor:pointer;font:inherit;font-size:13px;text-align:left;white-space:nowrap}.mobile-action-menu-items>button:hover,.mobile-action-menu-items .invitation-manage-button:hover{background:var(--surface)}.directory-desktop-actions{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.client-mobile-only{display:none}.project-date-range{display:grid;gap:3px;min-width:128px}.project-date-range>div{display:grid;grid-template-columns:34px 1fr;gap:6px;align-items:baseline}.project-date-range span{color:var(--text);font-size:12px;font-weight:600;text-transform:none}.project-date-range time{color:var(--text-soft);white-space:nowrap}.project-budget-visibility-note{display:inline-flex;align-items:center;gap:4px;margin-top:3px;font-size:10px;font-weight:700;white-space:nowrap}.project-budget-visibility-note.can-view{color:var(--emerald)}.project-budget-visibility-note.cannot-view{color:var(--red)}.controlled-document-name{width:280px;max-width:280px}.controlled-document-name>span{display:block;overflow-wrap:anywhere}.controlled-document-date{white-space:nowrap}.audit-overview-grid{align-items:stretch}.audit-overview-scores,.audit-overview-actions{max-height:480px;overflow-y:auto;overscroll-behavior:contain}.audit-overview-scores .pill{font-size:13.5px}.learning-module-card-description{max-height:90px;margin-bottom:12px;overflow-x:hidden;overflow-y:auto;color:var(--muted);font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.learning-module-builder-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.learning-module-builder-heading{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}.learning-module-builder-title{min-width:0;overflow-wrap:anywhere}.learning-module-builder-top-actions{display:flex;align-items:center;gap:8px}.learning-module-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:28px}.learning-module-builder-section-actions,.learning-module-builder-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.learning-module-grid-actions{display:flex;justify-content:center;margin-top:12px}th{padding:11px 16px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;background:var(--bg)}td{padding:13px 16px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text-soft)}.capa-table .capa-date-column{width:118px;min-width:118px;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:none}tr:hover td{background:#f8faff}.active-projects-table tbody tr:hover td{background:transparent}.competency-matrix-wrap{max-width:100%;overscroll-behavior-inline:contain}.competency-matrix-table{width:max-content;min-width:100%;table-layout:fixed}.competency-contractor-column{width:200px}.competency-trade-column{width:160px}.competency-qualification-column{width:120px}.competency-matrix-table th,.competency-matrix-table td{white-space:normal}.competency-matrix-table .competency-sticky-contractor,.competency-matrix-table .competency-sticky-trade{position:sticky;z-index:1}.competency-matrix-table .competency-sticky-contractor{left:0;min-width:200px}.competency-matrix-table .competency-sticky-trade{left:200px;min-width:160px;box-shadow:2px 0 3px -2px var(--border-dark)}.competency-matrix-table thead .competency-sticky-contractor,.competency-matrix-table thead .competency-sticky-trade{z-index:2;background:var(--bg)}.competency-matrix-table tbody .competency-sticky-contractor,.competency-matrix-table tbody .competency-sticky-trade{background:var(--white)}.competency-matrix-table tbody tr:hover .competency-sticky-contractor,.competency-matrix-table tbody tr:hover .competency-sticky-trade{background:#f8faff}.competency-matrix-table .competency-qualification-heading{min-width:120px;text-align:center;overflow-wrap:anywhere;word-break:normal}.competency-matrix-table .competency-status-cell{text-align:center}.competency-status-valid,.competency-status-missing{display:inline-flex;width:24px;height:20px;align-items:center;justify-content:center;vertical-align:middle;line-height:1;font-weight:700}.competency-status-valid{color:var(--emerald)}.competency-status-missing{color:var(--red)}.competency-not-required{color:var(--border-dark)}.competency-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 20px;color:var(--text-soft);font-size:12px;border-bottom:1px solid var(--border)}.competency-legend span{display:inline-flex;align-items:center;gap:4px}.competency-requirements-table{table-layout:fixed}.competency-requirements-table th:first-child,.competency-requirements-table td:first-child{width:24%}.competency-requirements-table th:nth-child(2),.competency-requirements-table td:nth-child(2){width:50%}.competency-requirements-table th:last-child,.competency-requirements-table td:last-child{width:26%}.competency-requirements-table .competency-requirement-name{white-space:normal;overflow-wrap:anywhere;word-break:normal}.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;letter-spacing:.02em;white-space:nowrap}.pill:before{content:"";width:6px;height:6px;border-radius:50%;flex-shrink:0}.pill-green{background:var(--emerald-light);color:var(--emerald-dark)}.pill-green:before{background:var(--emerald)}.pill-red{background:var(--red-light);color:#dc2626}.pill-red:before{background:#dc2626}.pill-orange{background:var(--orange-light);color:#ea580c}.pill-orange:before{background:#ea580c}.pill-blue{background:var(--royal-light);color:var(--royal)}.pill-blue:before{background:var(--royal)}.pill-amber{background:var(--amber-light);color:#b45309}.pill-amber:before{background:#b45309}.pill-muted{background:#f3f4f6;color:var(--muted)}.pill-muted:before{background:var(--muted)}.progress-bar{height:6px;background:var(--border);border-radius:3px;overflow:hidden}.progress-fill{height:100%;border-radius:3px;transition:width .5s}.alert{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:var(--radius-sm);margin-bottom:16px;font-size:13px;line-height:1.5}.alert-red{background:var(--red-light);border:1px solid #FECACA;color:#991b1b}.alert-orange{background:var(--orange-light);border:1px solid #FED7AA;color:#9a3412}.alert-green{background:#10b9811a;border:1px solid rgba(16,185,129,.25);color:#047857}.alert-icon{display:inline-flex;align-items:center;justify-content:center;height:19.5px;font-size:16px;line-height:1;flex-shrink:0}.dashboard-alerts>.alert{width:fit-content;max-width:100%;padding-block:8px}.dashboard-panel-scroll{max-height:400px;overflow-y:auto;overscroll-behavior-y:contain}.dashboard-activity-scroll{max-height:480px}.dashboard-panel-scroll:focus-visible{outline:2px solid var(--royal);outline-offset:-2px}.dashboard-audit-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.dashboard-audit-metrics span{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.dashboard-audit-metrics strong{display:block;font-size:20px}.objective-row{padding:14px 20px;border-bottom:1px solid var(--border)}.objective-label{color:var(--text-soft);font-size:13px;font-weight:700}.objective-jobs{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:12px 20px;border-bottom:1px solid var(--border);color:var(--text-soft);font-size:13px}.objective-row:last-child{border-bottom:0}.objective-row-heading,.objective-row-name,.objective-row-result,.objective-target-form{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.objective-row-heading{justify-content:space-between;gap:10px 16px;margin-bottom:8px}.objective-row-name{font-size:13.5px}.objective-row-result{flex:1;justify-content:flex-end;font-size:12px}.objective-row-result>.btn{margin-left:auto}.objective-row-status{font-weight:700}.objective-edit-target-mobile{display:none}.objective-target-form{display:grid;grid-template-columns:minmax(0,1fr);margin-top:12px}.objective-target-form .form-input{width:100%;height:36px;padding:6px 8px}.objective-target-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:4px}.tracker-scroll-hint{padding:10px 20px 0;color:var(--text-soft);font-size:12px;font-weight:600}.completion-tracker-wrap{max-width:100%}.completion-tracker-table{width:max-content;min-width:100%}.completion-tracker-table th:first-child,.completion-tracker-table td:first-child{position:sticky;left:0;width:180px;min-width:180px;max-width:180px;z-index:2}.completion-tracker-table th:nth-child(2),.completion-tracker-table td:nth-child(2){position:sticky;left:180px;width:120px;min-width:120px;max-width:120px;z-index:2;box-shadow:2px 0 3px -2px var(--border-dark)}.completion-tracker-table th:first-child,.completion-tracker-table th:nth-child(2){background:var(--bg);z-index:3}.completion-tracker-table td:first-child,.completion-tracker-table td:nth-child(2){background:var(--white);overflow-wrap:anywhere}.completion-tracker-wrap:focus-visible{outline:2px solid var(--royal);outline-offset:-2px}.completion-tracker-mobile{display:none}.completion-tracker-details-table{width:100%;margin-top:4px}.completion-tracker-details-table th,.completion-tracker-details-table td{padding:9px 10px}.completion-tracker-details-table th:last-child,.completion-tracker-details-table td:last-child{width:120px}.management-review-date{white-space:nowrap}.management-review-attendees{max-width:280px;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.management-review-actions{display:flex;justify-content:flex-start;gap:6px}.supplier-rating-guide{margin:16px 20px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-size:13px;line-height:1.6;color:var(--text-soft)}.library-controls .form-input,.library-controls>.btn{height:40px}.objective-legacy{margin-top:8px;color:var(--muted);font-size:12px}.objective-warning{padding:12px 20px;color:#9a3412;background:var(--orange-light)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.financial-summary-grid{align-items:start;margin-bottom:20px}.financial-summary-grid>.card{display:block;height:auto;min-height:414px;margin-bottom:0}.financial-summary-grid>.card:last-child{display:flex;flex-direction:column;height:414px}.financial-summary-grid>.card:last-child .invoice-breakdown-body{flex:1}.revenue-client-list{height:300px;overflow:hidden;padding:8px 0;box-sizing:border-box}.revenue-client-list-expanded{height:auto;overflow:visible;padding-right:4px}.revenue-client-actions{display:flex;justify-content:flex-start;padding:14px 20px 16px;border-top:1px solid var(--border)}.revenue-client-actions .btn{min-width:104px;min-height:34px;justify-content:center;padding:7px 12px}.invoice-breakdown-body{display:flex;flex-direction:column;justify-content:space-between}.three-col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.form-group{margin-bottom:16px}.form-label{display:block;font-size:12px;font-weight:700;color:var(--text-soft);letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px}.project-budget-visibility{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:var(--text-soft);font-family:var(--font);font-size:13px;font-weight:600;line-height:1.4}.project-budget-visibility input{width:16px;height:16px;accent-color:var(--royal)}.project-contractor-selector{display:flex;flex-direction:column;gap:7px;max-height:172px;overflow-y:auto;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.project-contractor-option{display:flex;align-items:center;gap:8px;color:var(--text);font-family:var(--font);font-size:13px;line-height:1.4;cursor:pointer}.project-contractor-option input{width:16px;height:16px;flex:0 0 auto;accent-color:var(--royal)}.review-note-preview{display:-webkit-box;max-width:240px;min-width:0;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.4}.review-note-detail{display:block;max-height:144px;overflow-y:auto;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;line-height:1.5;padding-right:4px}.complaint-resolution-detail{margin-bottom:22px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg)}.complaint-resolution-label{margin-bottom:8px;color:var(--text-soft);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.complaint-resolution-detail p{margin:0;color:var(--text);font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.complaint-detail-cell{max-width:220px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.complaint-detail-preview,.improvement-title-preview,.improvement-benefit-preview{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.complaint-detail-input{min-height:120px;max-height:40vh}.improvement-title-cell{width:24%;min-width:180px;max-width:280px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.improvement-benefit-cell{width:32%;min-width:260px;max-width:380px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.improvement-date-cell,.operations-job-date{white-space:nowrap}.operations-date-filter{flex:0 1 176px;width:176px;max-width:100%;min-width:0;height:40px}.operations-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}.operations-filters .operations-filter{width:176px;max-width:100%;height:40px;min-width:0;text-overflow:ellipsis}.operations-view-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0}.operations-import-button{height:40px;padding-block:0;white-space:nowrap}.operations-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px;padding:14px 4px 8px;border-top:1px solid var(--border);color:var(--muted);font-size:12px;font-weight:600}.operations-pagination .btn:disabled{cursor:not-allowed;opacity:.45}.operations-contractor-row{padding:14px 20px;border-bottom:1px solid var(--border)}.operations-contractor-list{max-height:400px;overflow-y:auto;overscroll-behavior-y:contain}.operations-contractor-list:focus-visible{outline:2px solid var(--royal);outline-offset:-2px}.operations-contractor-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:8px}.operations-import-modal{display:flex;flex-direction:column;overflow:hidden}.operations-import-modal>:not(.modal-body){flex-shrink:0}.operations-import-modal>.modal-body{flex:1 1 auto;min-height:0;overflow-y:auto}.operations-import-sample{margin-top:20px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px}.operations-import-sample-title{color:var(--royal);font-size:13px;font-weight:700;margin-bottom:10px}.operations-import-sample-scroll{overflow-x:auto}.operations-import-sample-table{width:100%;min-width:720px;border:1px solid var(--border);border-collapse:collapse;background:var(--surface);font-size:12px;line-height:1.5}.operations-import-sample-table th,.operations-import-sample-table td{padding:8px;text-align:left;white-space:normal;vertical-align:top}.operations-import-sample-table th:first-child,.operations-import-sample-table td:first-child{white-space:nowrap}.operations-import-sample-table th{color:var(--muted);background:var(--surface);font-size:11px}.operations-import-sample-table td{color:var(--text);border-top:1px solid var(--border)}.operations-import-sample-hint{margin-top:10px;color:var(--muted);font-size:12px}.compliance-contractor-filter{width:190px;height:40px}.compliance-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.compliance-add-document{height:40px;padding-block:0;font-size:13px;white-space:nowrap}.compliance-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px;padding:14px 4px 8px;border-top:1px solid var(--border);color:var(--muted);font-size:12px;font-weight:600}.compliance-pagination .btn:disabled{cursor:not-allowed;opacity:.45}.pagination-controls{display:contents}.quality-pagination{justify-content:space-between;gap:12px;padding:14px 16px}.quality-pagination .pagination-controls{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.quality-pagination .pagination-controls .btn{flex-shrink:0}.modal .modal-footer .quality-pdf-button{flex:0 0 auto;width:auto;margin-left:auto;justify-content:center}.supplier-approval{text-align:left}.supplier-approval-label{display:inline-block;white-space:nowrap;font-size:11px;font-weight:700}.doc-request-notes-cell{width:220px;max-width:220px;font-size:12px}.doc-request-notes-preview{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.4}.doc-request-notes-detail{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.5}.doc-request-date{white-space:nowrap}.doc-request-detail-content{display:flex;flex-direction:column;gap:18px}.doc-request-detail-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.doc-request-detail-summary-main{min-width:0}.doc-request-detail-document{color:var(--text);font-size:14px;font-weight:700;overflow-wrap:anywhere}.doc-request-detail-contractor{margin-top:5px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.doc-request-detail-meta{gap:12px;padding-top:0}.doc-request-detail-note{margin-top:0}.incident-form-builder-header{min-width:0}.incident-form-builder-header>.btn{flex:0 0 auto;white-space:nowrap}.incident-form-builder-title{min-width:0;overflow-wrap:anywhere;word-break:break-word}.incident-form-field-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:8px;margin-bottom:8px}.incident-status-dropdown{position:relative;width:100%}.incident-status-dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.incident-status-dropdown-options{position:absolute;z-index:20;top:calc(100% + 4px);left:0;display:flex;flex-direction:column;width:100%;max-width:100%;max-height:min(160px,calc(100dvh - 24px));overflow-y:auto;padding:4px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--white);box-shadow:var(--shadow-lg)}.incident-status-dropdown-options>button{width:100%;min-width:0;padding:9px 10px;border:0;border-radius:5px;background:transparent;color:var(--text);cursor:pointer;font:inherit;text-align:left}.incident-status-dropdown-options>button:hover,.incident-status-dropdown-options>button[aria-selected=true]{background:var(--royal-light);color:var(--royal)}.incident-form-field-options{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0;color:var(--muted);font-size:12px;white-space:nowrap}.incident-form-field-options>input{flex:0 0 auto}.incident-form-photo-hint{margin-left:8px;color:var(--royal);font-weight:600}.incident-field-label-input{min-width:0}.incident-form-card-title{min-width:0;overflow-wrap:anywhere;word-break:break-word}.incident-form-card-description{min-height:34px;overflow-wrap:anywhere;word-break:break-word}.incident-form-card-description+.btn,.incident-form-card-description+div{margin-top:auto!important}.incident-form-character-count{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.2;text-align:right}.incident-form-description-input{min-height:74px;resize:vertical;overflow-wrap:anywhere}.incident-form-save-bar{margin-top:4px;padding:14px 14px 24px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.incident-form-save-actions{display:flex;gap:10px;justify-content:flex-end}.incident-form-save-actions .btn-primary{min-width:142px;min-height:42px;justify-content:center}.learning-action-spinner{width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:learning-action-spin .65s linear infinite}@keyframes learning-action-spin{to{transform:rotate(360deg)}}.incident-report-form-name{max-width:220px;overflow-wrap:anywhere;word-break:break-word}.form-input{width:100%;background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius-sm);padding:10px 13px;color:var(--text);font-family:var(--font);font-size:13.5px;outline:none;transition:border-color .15s,box-shadow .15s}.form-input:focus{border-color:var(--royal);box-shadow:0 0 0 3px #1e4fd81a}.form-input[aria-invalid=true]{border-color:var(--red);box-shadow:0 0 0 3px #ef44441f}.form-field-error{margin-top:5px;color:var(--red);font-size:12px;font-weight:400;line-height:1.35}.text-red[role=alert]{font-size:13px;font-weight:400;line-height:1.4}select.form-input{cursor:pointer;appearance:none;padding-right:38px;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='m1.4 1.1 4.6 4.6 4.6-4.6L12 2.5 6 8 0 2.5z'/%3E%3C/svg%3E") no-repeat right 13px center}.announcement-recipient-select{padding-right:38px;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='m1.4 1.1 4.6 4.6 4.6-4.6L12 2.5 6 8 0 2.5z'/%3E%3C/svg%3E") no-repeat right 13px center}.announcement-recipient-field{position:relative}.announcement-recipient-menu{position:absolute;bottom:calc(100% + 4px);right:0;z-index:20;width:min(320px,calc(100vw - 96px));max-height:280px;overflow-y:auto;padding:10px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);font-family:var(--font);font-size:13.5px}textarea.form-input{resize:vertical}.document-expiry-date{min-width:104px;white-space:nowrap}.audit-template-description-input{height:96px;overflow-x:hidden;overflow-y:auto;resize:none;overflow-wrap:anywhere}.invoice-form{display:flex;flex-direction:column;gap:2px}.invoice-form .form-group{margin-bottom:14px}.invoice-form-error{display:flex;align-items:flex-start;gap:9px;margin:0 0 18px;padding:11px 13px;border:1px solid #FECACA;border-radius:var(--radius-sm);background:var(--red-light);color:#991b1b;font-size:13px;line-height:1.4}.invoice-form-error>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:#dc2626;color:#fff;font-size:12px;font-weight:800}.invoice-line-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:12px;align-items:start;margin:4px 0 16px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.invoice-line-item .form-group:first-child{grid-column:1 / 3}.invoice-line-item .form-group{min-width:0;margin-bottom:0}.invoice-line-item-gst{display:inline-flex;grid-column:1 / 3;align-items:center;gap:7px;width:fit-content;color:var(--text-soft);font-size:12px;font-weight:600}.invoice-line-item-gst input{width:16px;height:16px;accent-color:var(--royal)}.invoice-line-item-remove{display:flex;grid-column:3;grid-row:1;width:28px;height:28px;margin:0 0 0 auto;padding:0 0 3px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--muted);cursor:pointer;font-family:var(--font);font-size:18px;line-height:1;transition:all .15s}.invoice-line-item-remove:hover{background:var(--red-light);border-color:#fecaca;color:var(--red)}.invoice-form>label{display:inline-flex;align-items:center;gap:8px;width:fit-content;margin:2px 0 12px;color:var(--text-soft);font-size:13px;font-weight:600}.invoice-form>label input{width:16px;height:16px;accent-color:var(--royal)}.invoice-form-hint{margin:14px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.invoice-modal-actions{display:flex;justify-content:flex-end;gap:10px;width:100%}.invoice-success-toast{position:fixed;top:84px;right:24px;z-index:1100;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100vw - 32px));padding:13px 14px;border:1px solid var(--emerald-dark);border-radius:var(--radius-sm);background:var(--emerald);color:#fff;box-shadow:var(--shadow-lg);font-size:13px;font-weight:600}.invoice-success-toast>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fff3;color:#fff}.invoice-success-toast button{margin-left:auto;border:0;background:transparent;color:#fff;cursor:pointer;font-size:18px;line-height:1;padding:0 2px}.announcement-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:18px;padding:14px 4px 26px;border-top:1px solid var(--border)}.announcement-pagination>.btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;width:34px;height:34px;padding:0;border-radius:50%;text-align:center}.announcement-pagination>.btn svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.announcement-pagination-pages{display:flex;align-items:center;justify-content:center;gap:5px}.announcement-pagination-page{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 9px;border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--white);color:var(--text-soft);cursor:pointer;font-family:var(--font);font-size:12px;font-weight:700;transition:all .15s}.announcement-pagination-page:hover,.announcement-pagination-page.active{border-color:var(--royal);background:var(--royal);color:#fff}.announcement-message-body{max-height:180px;overflow-y:auto;overflow-wrap:anywhere;white-space:pre-wrap}.announcement-manage-preview{display:-webkit-box;max-height:none;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.contractor-announcement-preview{display:-webkit-box;max-height:none;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:3}.contractor-announcement-actions{width:168px}.contractor-announcement-action{width:100%;height:36px;min-height:36px;justify-content:center;padding:6px 8px;text-align:center;white-space:normal}.contractor-announcement-ack{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.4}.announcement-detail-message{max-height:min(50vh,420px);overflow-y:auto}.announcement-detail-modal .modal-header>:first-child{flex:1 1 0}.announcement-detail-modal .modal-title{display:block;min-width:0;overflow-wrap:anywhere}.announcement-pagination .btn:disabled{cursor:not-allowed;opacity:.45}.success-toast{position:fixed;top:84px;right:24px;z-index:1100;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100vw - 32px));padding:13px 14px;border:1px solid rgba(16,185,129,.35);border-radius:var(--radius-sm);background:var(--emerald-light);color:var(--emerald-dark);box-shadow:var(--shadow-lg);font-size:13px;font-weight:700}.success-toast>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--emerald-light);color:var(--emerald-dark)}.success-toast button{margin-left:auto;border:0;background:transparent;color:var(--emerald-dark);cursor:pointer;font-size:18px;line-height:1;padding:0 2px}.announcement-delete-button{justify-content:center;min-width:82px}.announcement-delete-icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ui-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.audit-template-actions{display:flex;gap:6px}.audit-template-actions .btn:hover:not(:disabled){transform:translateY(-1px)}.audit-template-actions .btn-ghost:hover:not(:disabled){box-shadow:0 4px 14px #1e4fd82e}.audit-template-actions .btn-danger:hover:not(:disabled){box-shadow:0 4px 14px #ef444433}.audit-template-actions .btn:disabled{transform:none}.audit-template-builder-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.audit-template-builder-heading{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}.audit-template-builder-title{min-width:0;overflow-wrap:anywhere}.audit-template-builder-top-actions{display:flex;align-items:center;gap:8px}.audit-template-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:24px}.audit-template-builder-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.announcement-mark-read{border:1px solid var(--royal);background:var(--royal);color:var(--white);font-weight:700;cursor:pointer;box-shadow:0 2px 8px #1e4fd838;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.announcement-mark-read:hover{background:var(--royal-dark);border-color:var(--royal-dark);color:var(--white);box-shadow:0 4px 12px #1e4fd847;transform:translateY(-1px)}.announcement-mark-read:active{transform:translateY(0);box-shadow:0 1px 4px #1e4fd833}.announcement-mark-read:focus-visible{outline:3px solid rgba(30,79,216,.28);outline-offset:2px}.modal-overlay{position:fixed;inset:0;background:#11182773;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:500px;max-height:90vh;overflow-x:hidden;overflow-y:auto;box-shadow:var(--shadow-lg);white-space:normal}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#f8faff,#f0fdf4)}.modal-header>:first-child{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.modal-title{font-size:16px;font-weight:800;color:var(--text);letter-spacing:-.2px;overflow-wrap:anywhere}.modal-close{flex:0 0 28px;background:var(--bg);border:1px solid var(--border);color:var(--muted);font-size:16px;cursor:pointer;line-height:1;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .15s}.modal-close:hover{background:var(--red-light);color:var(--red);border-color:#fecaca}.modal-close:disabled{cursor:not-allowed;opacity:.5}.modal-body{min-width:0;padding:24px;overflow-wrap:anywhere}.modal-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;min-width:0;padding:16px 24px;border-top:1px solid var(--border);background:var(--bg);border-radius:0 0 var(--radius) var(--radius)}.modal-footer .btn{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.audit-detail-summary{display:flex;align-items:center;gap:24px;margin-bottom:20px;padding:16px;border-radius:var(--radius);background:var(--surface)}.audit-detail-summary-main{flex:1;min-width:0}.audit-detail-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;overflow-wrap:anywhere}.audit-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.audit-detail-client-sharing{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;padding:12px 14px;border-radius:var(--radius-sm);background:var(--surface)}.invoice-detail-content{display:flex;flex-direction:column;gap:18px}.invoice-detail-number{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--border);color:var(--muted);font-size:12px}.invoice-detail-number strong{color:var(--text);font-size:14px}.invoice-detail-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.invoice-detail-parties{font-size:14px;font-weight:700;color:var(--text)}.invoice-detail-due{margin-top:5px;font-size:12px;color:var(--muted)}.invoice-detail-table{margin:0;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.invoice-detail-table table{min-width:0;table-layout:fixed}.invoice-detail-table th,.invoice-detail-table td{padding:11px 12px}.invoice-detail-table th:nth-child(1),.invoice-detail-table td:nth-child(1){width:43%}.invoice-detail-table th:nth-child(2),.invoice-detail-table td:nth-child(2){width:17%;text-align:center}.invoice-detail-table th:nth-child(3),.invoice-detail-table td:nth-child(3),.invoice-detail-table th:nth-child(4),.invoice-detail-table td:nth-child(4){width:20%;text-align:right}.invoice-detail-table td{overflow-wrap:anywhere}.invoice-detail-meta{display:flex;flex-direction:column;gap:12px;padding-top:2px}.invoice-detail-meta-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--border);color:var(--muted);font-size:12px}.invoice-detail-meta-row strong{color:var(--text);font-size:13px}.invoice-detail-totals{display:flex;justify-content:flex-end;gap:20px;color:var(--muted);font-size:12px}.invoice-detail-totals span{display:inline-flex;gap:6px}.invoice-detail-totals strong{color:var(--text)}.invoice-detail-note{padding:12px 14px;border-radius:var(--radius-sm);background:var(--surface);color:var(--text-soft);font-size:13px}.invoice-detail-note span{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.invoice-detail-note p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.invoices-table-wrap{overflow-x:hidden;width:100%}.invoices-table{width:100%;border-collapse:collapse;table-layout:fixed}.invoices-table th,.invoices-table td{padding:10px;white-space:normal;vertical-align:middle;font-size:13px}.invoices-table th{padding:10px;color:var(--muted);font-family:var(--font);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.invoices-table td.invoices-cell-truncate{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoices-table td.invoice-number-cell,.invoices-table td.invoice-amount-cell{overflow-wrap:anywhere;word-break:break-word}.invoices-table th:nth-child(4),.invoices-table td.invoice-amount-cell{text-align:right}.invoices-table td.invoice-amount-cell{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}.invoices-table th.invoice-actions-header,.invoices-table td.invoice-actions-cell{white-space:nowrap;width:1%}.invoices-table .invoice-actions{display:inline-flex;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap}.invoices-table .invoice-actions .btn{padding:4px 8px;font-size:12px;height:28px;line-height:1;min-width:unset;flex-shrink:0;white-space:nowrap}.invoices-table .invoice-actions .invoice-action-icon{width:13px;height:13px;margin-right:3px;display:inline-block;vertical-align:middle}.invoice-pay-button,.invoice-reject-button,.invoice-chase-button{min-width:82px;justify-content:center;white-space:nowrap}.invoices-table .invoice-pay-button,.invoices-table .invoice-reject-button,.invoices-table .invoice-chase-button,.invoices-table .invoice-approve-button,.invoices-table .invoice-view-button,.invoices-table .invoice-submit-button,.invoices-table .invoice-edit-button{min-width:unset}.invoice-detail-decision-section{padding-top:4px}.invoice-detail-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.02em;list-style:none;text-transform:none}.invoice-detail-section-title::-webkit-details-marker{display:none}.invoice-detail-section-title:before{content:"▸";color:var(--royal);font-size:14px;transition:transform .15s ease}.invoice-detail-decision-section[open] .invoice-detail-section-title:before{transform:rotate(90deg)}.invoice-detail-section-title>span:first-of-type{margin-right:auto}.invoice-detail-decision-count{font-size:10px;font-weight:600;letter-spacing:.02em;text-transform:none}.invoice-detail-decision-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.invoice-decision-item{padding:10px 0;font-size:12px}.invoice-decision-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}.invoice-decision-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;text-transform:capitalize}.badge-approved{background:#dcfce7;color:#166534}.badge-rejected{background:#fee2e2;color:#991b1b}.badge-paid{background:#e0f2fe;color:#075985}.invoice-decision-meta{color:var(--muted);font-size:11px}.invoice-decision-meta strong{color:var(--text)}.invoice-decision-note{margin-top:4px;color:var(--text);font-size:12px;line-height:1.4;white-space:pre-wrap}.contractor-invoice-table{border:1px solid var(--border);border-radius:var(--radius-sm);overflow-x:auto}.contractor-invoice-table{overflow-x:auto}.contractor-invoice-empty{padding:28px 16px;border:1px dashed var(--border);border-radius:var(--radius-sm);color:var(--muted);font-size:13px;text-align:center}.contractor-invoice-overview .contractor-invoice-counts{flex-wrap:wrap;white-space:normal}.contractor-invoices-page-table{overflow-x:hidden}.contractor-invoices-page-table .invoices-table{min-width:0}.contractor-invoices-page-table .invoices-table th,.contractor-invoices-page-table .invoices-table td{padding:10px 8px;font-size:11px;overflow-wrap:anywhere;word-break:break-word}.contractor-invoices-page-table .invoices-table th:nth-child(1),.contractor-invoices-page-table .invoices-table td:nth-child(1){width:13%}.contractor-invoices-page-table .invoices-table th:nth-child(2),.contractor-invoices-page-table .invoices-table td:nth-child(2){width:16%}.contractor-invoices-page-table .invoices-table th:nth-child(3),.contractor-invoices-page-table .invoices-table td:nth-child(3){width:20%}.contractor-invoices-page-table .invoices-table th:nth-child(4),.contractor-invoices-page-table .invoices-table td:nth-child(4){width:14%;text-align:right}.contractor-invoices-page-table .invoices-table th:nth-child(4),.contractor-invoices-page-table .invoices-table td:nth-child(4){padding-right:20px}.contractor-invoices-page-table .invoices-table th:nth-child(5),.contractor-invoices-page-table .invoices-table td:nth-child(5){width:13%}.contractor-invoices-page-table .invoices-table th:nth-child(5),.contractor-invoices-page-table .invoices-table td:nth-child(5){padding-left:20px}.contractor-invoices-page-table .invoices-table th:nth-child(6),.contractor-invoices-page-table .invoices-table td:nth-child(6){width:10%}.contractor-invoices-page-table .invoices-table th:nth-child(7),.contractor-invoices-page-table .invoices-table td:nth-child(7){width:14%}.contractor-invoices-page-table .invoice-actions{min-width:0;gap:3px;flex-wrap:wrap}.contractor-invoices-page-table .invoice-actions .btn{padding:4px 5px;font-size:10px}.contractor-invoice-counts{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;white-space:nowrap;color:#000;font-size:11px;font-weight:700;line-height:1.35}.contractor-invoice-count{display:inline;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;white-space:nowrap}.contractor-view-invoices-button{border-radius:var(--radius-sm);white-space:nowrap}.contractor-invoice-details-button{white-space:nowrap;min-width:max-content}.contractor-invoice-table table{width:100%;min-width:0;table-layout:fixed}.contractor-invoice-table th,.contractor-invoice-table td{width:auto;padding:9px 7px;vertical-align:middle;overflow-wrap:anywhere;font-size:12px}.contractor-invoice-table th:nth-child(1),.contractor-invoice-table td:nth-child(1){width:15%}.contractor-invoice-table th:nth-child(2),.contractor-invoice-table td:nth-child(2){width:14%}.contractor-invoice-table th:nth-child(3),.contractor-invoice-table td:nth-child(3){width:18%}.contractor-invoice-table th:nth-child(4),.contractor-invoice-table td:nth-child(4){width:12%;text-align:left}.contractor-invoice-table th:nth-child(5),.contractor-invoice-table td:nth-child(5){width:14%}.contractor-invoice-table th:nth-child(6),.contractor-invoice-table td:nth-child(6){width:11%}.contractor-invoice-table th:nth-child(7),.contractor-invoice-table td:nth-child(7){width:16%;text-align:center}.invoice-import-wizard{display:flex;flex-direction:column;gap:18px}.invoice-import-wizard>.invoice-form-error{margin:0 0 2px}.invoice-import-wizard .form-group{margin-bottom:14px}.invoice-import-footer{display:flex;align-items:center;gap:10px;width:100%}.invoice-admin-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:0 14px;border-bottom:1px solid var(--border)}.invoice-tabs{display:flex;align-items:stretch;gap:26px;min-width:0}.invoice-tab{position:relative;display:inline-flex;align-items:center;gap:7px;height:52px;padding:0 0 1px;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:12px;font-weight:700;white-space:nowrap}.invoice-tab:hover,.invoice-tab.active{color:var(--royal)}.invoice-tab:focus:not(:focus-visible){outline:none}.invoice-tab:focus-visible{outline:none;color:var(--royal);box-shadow:inset 0 -2px 0 var(--royal)}.invoice-tab.active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--royal);content:""}.invoice-search-wrap{display:flex;align-items:center;width:258px;height:38px;margin-bottom:7px;border:1px solid var(--border);border-radius:9px;background:var(--white);color:var(--muted)}.invoice-search-wrap>svg{width:14px;height:14px;margin:0 9px 0 12px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.5}.invoice-search-wrap input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:12px}.invoice-search-wrap input::placeholder{color:#a3aec2}.invoice-filter-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:100%;margin-left:5px;border:0;border-left:1px solid var(--border);background:transparent;color:var(--muted);cursor:pointer}.invoice-filter-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.4}.invoice-admin-table-wrap{min-height:250px}.invoice-admin-table{min-width:0;table-layout:auto}.invoice-admin-table th{padding:11px 16px}.invoice-admin-table td{padding:13px 16px}.invoice-admin-table th,.invoice-admin-table td{text-align:left}.invoice-admin-table th:nth-child(4),.invoice-admin-table td.invoice-amount-cell{text-align:right}.invoice-admin-table th{color:var(--muted);font-family:var(--font);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.invoice-admin-table td{color:var(--text-soft);font-size:13.5px;overflow-wrap:anywhere;word-break:break-word}.invoice-admin-table tbody tr{border-bottom:1px solid var(--border)}.invoice-admin-table tbody tr:last-child{border-bottom:0}.invoices-table td.invoice-number-cell{color:var(--text-soft);font-family:var(--font);font-size:13.5px;font-weight:600;letter-spacing:normal}.invoice-client{display:inline-flex;align-items:center;gap:9px}.invoice-admin-table .invoice-client{justify-content:flex-start}.invoice-admin-table .invoice-client strong{color:var(--text-soft);font-weight:600}.invoice-client-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--blue-light);color:var(--royal);font-size:9px;font-weight:800}.invoice-admin-actions{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0}.invoice-admin-table td.invoice-actions-cell .invoice-admin-actions{justify-content:flex-start;margin:0}.invoice-admin-primary-action{display:inline-flex;align-items:center;justify-content:center;min-width:0;flex:1 1 auto;color:var(--muted)}.invoice-no-action{width:100%;font-weight:700;text-align:center}.invoice-admin-icon-actions{display:inline-flex;align-items:center;gap:2px}.invoice-admin-primary-action>.btn{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;height:30px;padding:5px 6px;border-radius:8px;font-size:10px;text-align:center;white-space:nowrap}.invoice-icon-button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:30px;padding:0;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:16px;letter-spacing:1px}.invoice-more-actions-button{font-size:20px;line-height:1;letter-spacing:0}.invoice-icon-button:hover{color:var(--royal)}.invoice-icon-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.invoice-action-menu-wrap{position:relative}.invoice-action-menu{position:absolute;z-index:30;top:calc(100% + 5px);right:0;display:flex;flex-direction:column;min-width:165px;padding:7px 0;border:1px solid var(--border);border-radius:10px;background:var(--white);box-shadow:var(--shadow-lg)}.invoice-action-menu-wrap.menu-opens-up .invoice-action-menu{top:auto;bottom:calc(100% + 5px)}.invoice-action-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 13px;border:0;background:transparent;color:var(--text-soft);cursor:pointer;text-align:left;font:inherit;font-size:12px}.invoice-action-menu button:hover{background:var(--surface)}.invoice-action-menu button span{width:14px;color:var(--muted);text-align:center}.invoice-action-menu .invoice-menu-icon{display:inline-flex;align-items:center;justify-content:center}.invoice-action-menu .invoice-menu-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.4}.invoice-drawer-overlay{position:fixed;z-index:1200;inset:0;display:flex;justify-content:flex-end;background:#1a274447}.invoice-drawer{width:min(390px,100vw);height:100%;padding:30px 26px;overflow-y:auto;background:var(--white);box-shadow:-12px 0 34px #1c2d5426}.invoice-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.invoice-drawer-eyebrow{margin-bottom:7px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.invoice-drawer h2{margin:0;color:var(--text);font-size:20px}.invoice-drawer-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--border);border-radius:9px;background:var(--white);color:var(--text-soft);cursor:pointer;font-size:22px;line-height:1}.invoice-drawer-status{margin-top:18px}.invoice-drawer-amount{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;box-sizing:border-box;margin-top:22px;padding:20px 20px 20px 0;border-radius:12px;background:var(--surface);text-align:left}.invoice-drawer-amount span{color:var(--muted);font-size:11px}.invoice-drawer-amount strong{max-width:100%;color:var(--text);font-size:26px;overflow-wrap:anywhere;word-break:break-word}.invoice-drawer-meta{margin:22px 0 0}.invoice-drawer-meta>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--border);font-size:12px}.invoice-drawer-meta dt{color:var(--muted)}.invoice-drawer-meta dd{margin:0;color:var(--text);font-weight:700;text-align:right}.invoice-drawer-section{margin-top:24px}.invoice-drawer-section-title{margin-bottom:10px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.invoice-drawer-items{display:flex;flex-direction:column;gap:9px}.invoice-drawer-items>div{display:flex;justify-content:space-between;gap:14px;color:var(--text-soft);font-size:12px}.invoice-drawer-items strong{color:var(--text)}.invoice-drawer-gst{display:flex;justify-content:space-between;gap:14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border);color:var(--text-soft);font-size:12px}.invoice-drawer-gst strong{color:var(--text)}.invoice-drawer-notes{margin:0;color:var(--text-soft);font-size:12px;line-height:1.5;white-space:pre-wrap}.invoice-drawer-decision{padding:10px 0;border-top:1px solid var(--border);font-size:12px}.invoice-drawer-decision strong{display:block;color:var(--text);text-transform:capitalize}.invoice-drawer-decision span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.invoice-drawer-decision p{margin:6px 0 0;color:var(--text-soft);line-height:1.4}@media(max-width:760px){.invoice-admin-toolbar{align-items:stretch;flex-direction:column;padding:0 10px 10px}.invoice-tabs{align-self:stretch;flex-wrap:nowrap;gap:18px;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x}.invoice-tab{flex:0 0 auto}.invoice-search-wrap{width:100%;margin:0}.invoice-admin-primary-action>.btn{padding:4px 3px;font-size:9px}.invoice-admin-table .invoice-icon-button{width:20px}}.invoice-import-footer-spacer{flex:1}.invoice-import-sample{padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px}.invoice-import-sample table{min-width:0}.invoice-import-sample td{color:var(--text-soft)!important}.invoice-import-example-table tr:hover td{background:transparent}.invoice-import-example-table th,.invoice-import-example-table td{padding:8px 10px!important}.invoice-import-example-table th:nth-child(2),.invoice-import-example-table td:nth-child(2){width:18%;text-align:center}.invoice-import-example-table th:nth-child(3),.invoice-import-example-table td:nth-child(3){width:24%;text-align:right}.invoice-import-loaded{padding:12px;border:1px solid rgba(16,185,129,.2);border-radius:var(--radius-sm);background:#10b98114;font-size:13px}.invoice-mapping-labels{display:grid;gap:10px}.invoice-mapping-label{display:grid;grid-template-columns:minmax(130px,.45fr) minmax(0,1fr);align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-soft);font-size:12px;font-weight:700}.invoice-import-auto-mapping{padding:12px 14px;border-radius:var(--radius-sm);background:var(--surface);color:var(--text-soft);font-size:12px;line-height:1.4}.invoice-import-tip{margin-top:2px;padding:10px 12px;border:0;border-radius:var(--radius-sm);background:var(--surface);color:#000;font-size:12px;font-weight:700;line-height:1.4}.invoice-import-details{margin-top:2px;padding:20px 0 2px;border-top:1px solid var(--border)}.invoice-import-section-title{margin-bottom:14px;color:var(--text);font-size:13px;font-weight:800}.invoice-import-checkbox{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;color:var(--text-soft);font-size:13px;font-weight:600}.invoice-import-checkbox input{width:16px;height:16px;accent-color:var(--amber)}.invoice-import-grid{gap:16px}.invoice-import-preview-header{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.invoice-import-parties{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:4px;font-size:13px}.invoice-import-party{min-width:0}.invoice-import-party-label{margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em}.invoice-import-party-value{overflow-wrap:anywhere;color:var(--text);font-weight:600}.invoice-import-preview-table{margin-bottom:0;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.invoice-import-preview-table table{min-width:0;table-layout:fixed}.invoice-import-preview-table th,.invoice-import-preview-table td{padding:10px 12px}.invoice-import-preview-table th:first-child,.invoice-import-preview-table td:first-child{width:18%}.invoice-import-preview-table th:nth-child(2),.invoice-import-preview-table td:nth-child(2){width:34%}.invoice-import-preview-table th:nth-child(n+3),.invoice-import-preview-table td:nth-child(n+3){width:16%;text-align:right}.invoice-import-preview-table th,.invoice-import-preview-table td{text-align:left!important}.invoice-import-item-gst{display:inline-flex;align-items:center;gap:6px;color:var(--text-soft);font-size:11px;font-weight:600;white-space:nowrap}.invoice-import-item-gst input{width:15px;height:15px;accent-color:var(--royal)}.invoice-import-estimate{margin:0;color:#000;font-size:12px;font-weight:400}.invoice-import-totals{width:min(280px,100%);margin-left:auto;font-size:13px}.invoice-import-notes{margin-top:0;padding:12px;border-radius:var(--radius-sm);background:var(--surface);color:var(--muted);font-size:12px}.invoice-import-notes-label{color:#000;font-weight:800}.invoice-import-done{padding:40px 20px}.invoice-import-done-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:16px;border-radius:50%;background:var(--emerald-light);color:var(--emerald);font-size:36px;font-weight:800;line-height:1}.invoice-import-created-amount{color:#000;font-weight:800}@media(max-width:600px){.invoice-mapping-label{grid-template-columns:1fr}.invoice-line-item{grid-template-columns:1fr 1fr;gap:10px}.invoice-line-item .form-group:first-child{grid-column:1}.invoice-line-item-remove{grid-column:2;grid-row:1;margin-top:0}.invoice-modal-actions{flex-wrap:wrap}.invoice-modal-actions .btn{flex:1 1 auto}.invoice-detail-totals{justify-content:space-between;gap:8px}.invoice-detail-totals span{flex-direction:column;gap:2px}.invoice-import-grid{grid-template-columns:1fr}.invoice-import-preview-header>div:first-child{flex-direction:column;gap:14px!important}.invoice-import-preview-header>div:first-child>div:last-child{text-align:left!important}.invoice-import-parties{grid-template-columns:1fr;gap:14px}.invoice-import-preview-table{overflow-x:auto}.invoice-import-preview-table table{min-width:520px}.invoice-import-footer{flex-wrap:wrap}.invoice-import-footer-spacer{display:none}.invoice-import-footer .btn{flex:1 1 auto}}@media(max-width:700px){.incident-form-field-editor-row{grid-template-columns:minmax(0,1fr)}.quality-pagination{flex-direction:column;align-items:center}.quality-pagination>span{text-align:center}.quality-summary .kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr))!important}.quality-summary .kpi-card{padding:16px 12px}.quality-summary .kpi-label{white-space:nowrap}.contractor-invoice-overview{width:100%;max-height:calc(100dvh - 24px)}.contractor-invoice-overview>.modal-body{max-height:calc(100dvh - 128px);padding:16px;overflow-y:auto}.contractor-invoice-overview .contractor-invoice-table{max-height:calc(100dvh - 220px);overflow-y:auto;overscroll-behavior:contain}.contractor-invoice-overview .contractor-invoice-table td{box-sizing:border-box;min-width:0;overflow-wrap:break-word;word-break:normal}.contractor-invoice-overview .contractor-invoice-table td[data-label=Action]{justify-content:flex-end}.contractor-invoice-overview .contractor-invoice-details-button{min-width:0;white-space:normal}.contractor-invoice-table thead{display:none}.contractor-invoice-table table,.contractor-invoice-table tbody,.contractor-invoice-table tr,.contractor-invoice-table td{display:block;width:100%}.contractor-invoice-overview .contractor-invoice-table tbody{display:flex;flex-direction:column;gap:10px;padding:10px}.contractor-invoice-overview .contractor-invoice-table tr{box-sizing:border-box;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--white)}.contractor-invoice-overview .contractor-invoice-table tr:last-child{border-bottom:1px solid var(--border)}.contractor-invoice-overview .contractor-invoice-table td{display:flex;flex:none;flex-direction:column;align-items:stretch;width:100%!important;min-width:0;padding:7px 0;border:0;color:var(--text-soft);text-align:left!important;overflow-wrap:break-word;word-break:normal}.contractor-invoice-overview .contractor-invoice-table td:before{display:block;content:attr(data-label);color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-align:left;text-transform:uppercase}.contractor-invoice-overview .contractor-invoice-table td[data-label=Status] .pill{align-self:flex-start;width:fit-content;white-space:nowrap}.contractor-invoice-overview .contractor-invoice-table td[data-label=Action]{display:flex;flex:none;flex-direction:row;justify-content:flex-end;width:100%!important;padding-top:10px}.contractor-invoice-overview .contractor-invoice-table td[data-label=Action]:before{display:none}}@media(min-width:701px)and (max-width:900px){.contractor-invoices-page-table .invoices-table th,.contractor-invoices-page-table .invoices-table td{padding:8px 5px;font-size:10px}.contractor-invoices-page-table .invoice-actions .btn{padding:4px 3px;font-size:9px}}.tabs{display:flex;gap:2px;background:var(--bg);border-radius:var(--radius-sm);padding:4px;margin-bottom:24px;width:fit-content;border:1px solid var(--border)}.tab{padding:8px 20px;border-radius:var(--radius-xs);font-size:13px;font-weight:700;cursor:pointer;color:var(--muted);transition:all .15s;border:none;background:none;font-family:var(--font)}.tab.active{background:linear-gradient(135deg,var(--royal) 0%,var(--emerald) 100%);color:#fff;box-shadow:0 2px 8px #1e4fd840}.tab:hover:not(.active){color:var(--text);background:var(--white)}.timeline{list-style:none}.tl-item{display:flex;gap:12px;padding-bottom:18px;position:relative}.tl-item:not(:last-child):before{content:"";position:absolute;left:14px;top:28px;bottom:0;width:1.5px;background:var(--border)}.tl-dot{width:28px;height:28px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;margin-top:2px}.tl-content{flex:1}.tl-title{font-size:13.5px;font-weight:600;color:var(--text)}.tl-meta{font-size:12px;color:var(--muted);margin-top:2px}.empty-state{text-align:center;padding:48px 20px;color:var(--muted)}.empty-state-icon{font-size:40px;margin-bottom:12px}.empty-state-text{font-size:14px}.text-muted{color:var(--muted);font-size:13px}.text-red{color:#dc2626}.text-green{color:var(--emerald)}.text-amber{color:#b45309}.fw-600{font-weight:600}.gap-8{display:flex;align-items:center;gap:8px}.search-bar{position:relative}.search-bar input{padding-left:36px}.search-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:14px;pointer-events:none}.chart-placeholder{display:flex;align-items:center;justify-content:center;height:160px;color:var(--muted);font-size:13px}.chat-layout{display:flex;gap:16px;height:calc(100vh - 180px);min-height:480px}.chat-sidebar{width:300px;min-width:300px;margin-bottom:0;display:flex;flex-direction:column;overflow:hidden}.chat-main{flex:1;min-width:0;margin-bottom:0;display:flex;overflow:hidden;position:relative;container-type:inline-size}.chat-conversation{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;position:relative}.chat-conversation>.card-header{flex-shrink:0;gap:10px}.chat-sidebar>.card-header{flex-shrink:0}.chat-search{padding:12px 16px;border-bottom:1px solid var(--border);flex-shrink:0}.chat-thread-filters{padding:10px 16px;border-bottom:1px solid var(--border);flex-shrink:0}.chat-thread-filters .tabs{width:100%;margin-bottom:0}.chat-thread-filters .tab{flex:1;padding:8px 10px}.chat-thread-list{flex:1;min-height:0;overflow-y:auto}.chat-list-note{padding:16px;font-size:12.5px;color:var(--muted)}.chat-thread-row{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;cursor:pointer;text-align:left;font:inherit;background:transparent;border:none;border-bottom:1px solid var(--border);border-left:3px solid transparent;transition:background .12s}.chat-thread-row:hover{background:var(--bg)}.chat-thread-row.active{background:var(--royal-light);border-left-color:var(--royal)}.chat-thread-row.has-unread{background:#f0fdf4}.chat-thread-row.has-unread.active{background:var(--royal-light)}.chat-thread-row.has-unread .chat-thread-time{color:#15803d;font-weight:700}.chat-thread-row:focus-visible{outline:2px solid var(--royal);outline-offset:-2px}.chat-thread-body{flex:1;min-width:0}.chat-thread-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.chat-thread-name{font-weight:700;font-size:13px;color:var(--text)}.chat-thread-name.unread{font-weight:800}.chat-thread-time{font-size:10px;color:var(--muted-light);flex-shrink:0}.chat-thread-bottom{display:flex;align-items:center;gap:8px;margin-top:2px}.chat-thread-preview{flex:1;min-width:0;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-preview.unread{color:var(--text-soft);font-weight:600}.chat-unread{flex-shrink:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--royal);color:#fff;font-size:10.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.chat-peer{display:flex;align-items:center;gap:10px;min-width:0}.chat-peer>div{min-width:0}.chat-peer-name{font-weight:700;font-size:14px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-peer-sub{font-size:11px;color:var(--muted)}.chat-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.chat-back{display:none;flex-shrink:0;width:34px;height:34px;padding:0;justify-content:center;font-size:18px}.chat-scroll{flex:1;overflow-y:auto;padding:16px 20px;background:var(--bg);position:relative}.chat-scroll.preview-open{display:flex;overflow:hidden;padding:0}.chat-end{height:1px}.chat-older{display:flex;justify-content:center;padding:4px 0 12px}.chat-day+.chat-day{margin-top:4px}.chat-day-divider{display:flex;align-items:center;justify-content:center;margin:12px 0 14px}.chat-day-divider span{padding:4px 12px;border-radius:999px;background:var(--white);border:1px solid var(--border);font-size:10.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}.chat-group{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-bottom:10px;max-width:72%}.chat-group.mine{align-items:flex-end;margin-left:auto}.chat-sender{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10.5px;font-weight:700;color:var(--muted);margin:0 0 3px 2px}.chat-sender .pill{font-size:9px;padding:2px 7px}.chat-unread-divider{align-self:stretch;text-align:center;padding:6px 12px;margin:8px 0 12px;border-radius:8px;background:#dcfce7;color:#166534;font-size:11px;font-weight:800;border:1px solid #86EFAC}.chat-bubble{padding:9px 13px;border-radius:14px 14px 14px 4px;background:var(--white);color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow-sm);font-size:13.5px;line-height:1.5;max-width:100%}.chat-group>.chat-bubble:not(:first-of-type){border-radius:14px}.chat-bubble.mine{border:none;color:#fff;background:linear-gradient(135deg,var(--royal),var(--royal-mid));border-radius:14px 14px 4px}.chat-group.mine>.chat-bubble:not(:first-of-type){border-radius:14px}.chat-bubble.sending{opacity:.7}.chat-bubble.unread{border-left:3px solid #16A34A;background:#f0fdf4}.chat-bubble.failed{background:var(--red)}.chat-bubble-content{display:flex;flex-wrap:wrap;align-items:flex-end;column-gap:8px;row-gap:2px}.chat-bubble-body{flex:0 1 auto;min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble-content.stacked .chat-bubble-body{flex-basis:100%}.chat-bubble-time{display:flex;flex:0 0 auto;justify-content:flex-end;align-items:center;gap:3px;font-size:10px;color:var(--muted-light);margin-left:auto;white-space:nowrap;text-align:right}.chat-bubble.mine .chat-bubble-time{color:#ffffffbf}.chat-message-info{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:18px;padding:2px;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer;font:inherit}.chat-message-info:focus-visible{outline:2px solid currentColor;outline-offset:2px}.chat-message-info:disabled{cursor:default}.chat-ticks{display:block;flex-shrink:0;width:14px;height:10px;color:#ffffffd9}.chat-ticks.read{color:#7dd3fc}.chat-details-panel{position:relative;flex:0 0 38%;width:38%;min-width:280px;max-width:360px;display:flex;flex-direction:column;min-height:0;background:var(--white);border-left:1px solid var(--border)}@container (max-width: 640px){.chat-main.details-open .chat-conversation{display:none}.chat-details-panel{flex-basis:100%;width:100%;min-width:0;max-width:none;border-left:0}}.chat-details-panel-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid var(--border);flex-shrink:0}.chat-details-panel-header>div{min-width:0}.chat-details-panel-header h2{margin:0;font-size:16px;font-weight:800}.chat-details-panel-header .chat-detail-note{overflow-wrap:anywhere}.chat-details-panel-header .modal-close{flex-shrink:0}.chat-details-panel-tabs{padding:12px 20px;border-bottom:1px solid var(--border);flex-shrink:0}.chat-details-panel-tabs .tabs{width:100%;margin-bottom:0}.chat-details-panel-tabs .tab{flex:1;padding:8px 10px}.chat-details-panel-body{flex:1;min-height:0;overflow-y:auto;padding:20px}.chat-file-preview{position:relative;display:flex;flex:1;flex-direction:column;width:100%;min-width:0;min-height:0;overflow:hidden;background:var(--white)}.chat-file-preview-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 16px;border-bottom:1px solid var(--border)}.chat-file-preview-name{min-width:0;overflow:hidden;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.chat-file-preview-actions{display:flex;flex-shrink:0;align-items:center;gap:10px}.chat-file-zoom{display:flex;align-items:center;gap:6px;color:var(--text-soft);font-size:12px;font-weight:700}.chat-file-zoom .btn{min-width:32px;padding:5px 8px}.chat-file-preview-content{display:flex;flex:1;min-height:0;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain;touch-action:none;padding:16px;background:#111827}.chat-file-preview-content img{display:block;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center}.chat-file-preview-content iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:var(--white)}.chat-details-heading{font-size:13px;margin:0 0 12px;color:var(--text)}.chat-details-heading:not(:first-child){margin-top:24px}.chat-member{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.chat-member>.avatar{flex-shrink:0}.chat-member-name{flex:1;min-width:0;font-size:13px;overflow-wrap:anywhere}.chat-member .pill{flex-shrink:0}.chat-member-receipt{display:inline-flex;flex-shrink:0;align-items:center}.chat-member-receipt .chat-ticks{color:var(--muted)}.chat-member-receipt .chat-ticks.read{color:var(--blue)}.chat-detail-note{font-size:11px;color:var(--muted);margin:4px 0}.chat-shared-file{margin-bottom:14px}.chat-retry{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px;font-size:11.5px;color:var(--red)}.chat-attachments{display:flex;flex-direction:column;gap:6px;margin-bottom:6px}.chat-bubble>.chat-attachments:last-child{margin-bottom:0}.chat-attachment{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border-radius:10px;background:var(--bg);border:1px solid var(--border);cursor:pointer;text-align:left;font:inherit;color:var(--text);transition:border-color .12s}.chat-attachment:hover:not(:disabled){border-color:var(--royal)}.chat-attachment:focus-visible{outline:2px solid var(--royal);outline-offset:1px}.chat-attachment.mine{background:#ffffff29;border-color:#ffffff47;color:#fff}.chat-attachment.mine:hover:not(:disabled){border-color:#fff9}.chat-attachment.placeholder{cursor:default;opacity:.75;font-style:italic}.chat-attachment-glyph{font-size:17px;flex-shrink:0}.chat-attachment-text{display:flex;flex-direction:column;min-width:0}.chat-attachment-name{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-attachment-meta{font-size:10.5px;opacity:.72}.chat-jump{position:absolute;left:50%;bottom:82px;transform:translate(-50%);z-index:2;padding:7px 14px;border-radius:999px;border:1px solid var(--border);background:var(--white);color:var(--royal);font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px #0f153524}.chat-jump:hover{background:var(--royal-light)}.chat-composer{border-top:1px solid var(--border);padding:10px 16px 8px;background:var(--white);transition:background .12s}.chat-composer.dragging{background:var(--royal-light)}.chat-composer .alert{margin-bottom:8px}.chat-composer-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:0 8px;align-items:end}.chat-length-error{grid-column:2}.chat-input{flex:1;resize:none;min-height:40px;max-height:132px;overflow-y:auto}.chat-attach{flex-shrink:0;padding:9px 12px;font-size:16px;line-height:1}.chat-send{flex-shrink:0}.chat-hint{font-size:10px;color:var(--muted-light);margin-top:6px}.chat-staged{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.chat-staged-file{display:inline-flex;align-items:center;gap:6px;max-width:220px;padding:5px 8px;border-radius:8px;background:var(--bg);border:1px solid var(--border);font-size:11.5px;color:var(--text-soft)}.chat-staged-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.chat-staged-size{color:var(--muted-light);flex-shrink:0}.chat-staged-remove{flex-shrink:0;border:none;background:transparent;cursor:pointer;color:var(--muted);font-size:15px;line-height:1;padding:0 2px}.chat-staged-remove:hover{color:var(--red)}.hamburger{display:none;background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius-sm);width:40px;height:40px;cursor:pointer;align-items:center;justify-content:center;flex-shrink:0;margin-right:12px;font-size:18px;color:var(--text);transition:all .15s}.hamburger:hover{border-color:var(--royal);color:var(--royal)}.sidebar-backdrop{display:none;position:fixed;inset:0;background:#0f153580;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:998}.sidebar-close{display:none}@media(max-width:900px){.login-left{display:none}.login-right{width:100%}}@media(max-width:1300px){.hamburger{display:flex}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:999;transform:translate(-100%);transition:transform .28s cubic-bezier(.4,0,.2,1);width:82vw;max-width:300px}.sidebar.open{transform:translate(0);box-shadow:6px 0 32px #00000059}.sidebar-backdrop.show{display:block}.sidebar-close{display:flex;position:absolute;top:16px;right:14px;width:32px;height:32px;border-radius:8px;background:#ffffff1a;border:none;color:#ffffffb3;font-size:18px;cursor:pointer;align-items:center;justify-content:center}.two-col,.three-col{grid-template-columns:1fr}.chat-layout{height:calc(100vh - 150px);min-height:460px}.chat-sidebar,.chat-main{width:100%;min-width:0;min-height:0}.chat-sidebar{display:none;margin-bottom:0}.chat-layout.mobile-list-open .chat-sidebar{display:flex}.chat-layout.mobile-list-open .chat-main{display:none}.chat-layout:not(.mobile-list-open) .chat-main{display:flex}.chat-back{display:inline-flex}.chat-group{max-width:88%}.chat-scroll{padding:12px 14px}.chat-jump{bottom:82px}.chat-hint{display:none}.kpi-grid{grid-template-columns:1fr 1fr}.content{padding:16px}.topbar{padding:14px 16px}.audit-detail-summary{align-items:flex-start;gap:14px}.audit-detail-stats{grid-template-columns:1fr}.audit-detail-client-sharing{align-items:flex-start}.modal-footer .btn{flex:1 1 auto}}@media(max-width:480px){.kpi-grid{grid-template-columns:1fr}.page-title{font-size:17px}}@media(max-width:700px){.audit-new-template-button{flex-direction:column;gap:2px;padding:6px 8px;font-size:clamp(9px,3vw,11px);line-height:1.1}.audit-new-template-button>span:last-child{white-space:nowrap}.audit-new-template-icon{font-size:14px;line-height:1}.template-locked-alert>span:nth-child(2){text-align:justify}.template-locked-alert .template-duplicate-button{flex:1 0 100%;width:100%;justify-content:center}.objective-edit-target-desktop{display:none}.objective-edit-target-mobile{display:flex;justify-content:flex-end;margin-top:8px}.library-controls{width:100%}.library-controls .search-bar{flex:1 0 100%;width:100%}.library-controls .search-bar .form-input{width:100%!important}.library-controls>select.form-input{flex:1 1 0;width:auto!important;min-width:0}.library-controls>.btn{flex:0 0 auto;padding-inline:8px;font-size:11px}.incident-form-field-card{margin:12px 14px!important;padding:12px!important;overflow:hidden}.incident-form-field-card-layout{display:grid!important;grid-template-columns:30px minmax(0,1fr);gap:8px!important}.incident-form-field-card-content{grid-column:1 / -1;grid-row:2;min-width:0}.incident-form-field-card-layout>:first-child{grid-column:1;grid-row:1}.incident-form-field-card-layout>:last-child{grid-column:2;grid-row:1;justify-self:end;min-width:0}.incident-page-tabs .tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;gap:2px}.incident-page-tabs .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:6px 4px}.incident-tab-icon{font-size:16px;line-height:1}.incident-tab-label{max-width:100%;overflow:hidden;font-size:clamp(8px,2.7vw,10px);line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.learning-module-grid-actions{align-items:center;justify-content:flex-end;min-height:36px;margin:16px 0 20px}.learning-module-builder-header{align-items:stretch;flex-direction:column;gap:10px}.learning-module-builder-heading{width:100%}.learning-module-builder-top-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.learning-module-builder-top-actions .btn{min-width:0;justify-content:center;padding-inline:8px}.learning-module-builder-top-actions .btn-primary{grid-column:1 / -1}.learning-module-builder-footer{align-items:stretch;flex-direction:column;gap:10px}.learning-module-builder-section-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.learning-module-builder-section-actions .btn{min-width:0;justify-content:center;padding-inline:8px}.learning-module-builder-save-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.learning-module-builder-save-actions .btn{min-width:0;justify-content:center;padding-inline:8px}.learning-module-builder-save-actions .btn-primary{grid-column:1 / -1}.completion-tracker-mobile{display:none}.completion-tracker-mobile-module{min-width:0;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--white)}.completion-tracker-mobile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--border)}.completion-tracker-mobile-heading>div:first-child{display:grid;justify-items:start;gap:6px;min-width:0}.completion-tracker-mobile-heading h3{min-width:0;margin:0;color:var(--text);font-size:13px;overflow-wrap:anywhere}.completion-tracker-mobile-overall{display:flex;align-items:center;gap:6px;width:min(120px,38%);flex-shrink:0}.completion-tracker-mobile-overall>span{color:var(--muted);font-size:11px;white-space:nowrap}.completion-tracker-mobile-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:8px;padding-top:10px}.completion-tracker-mobile-result{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;color:var(--text-soft);font-size:11px}.completion-tracker-mobile-result>span:first-child{min-width:0;overflow-wrap:anywhere}.completion-tracker-mobile-result .pill{flex-shrink:0}.audit-template-builder-header{align-items:stretch;flex-direction:column;gap:10px}.audit-template-builder-heading{width:100%}.audit-template-builder-title{flex:1}.audit-template-builder-top-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audit-template-builder-top-actions .btn{min-width:0;justify-content:center;padding-inline:8px}.audit-template-builder-footer{align-items:stretch;flex-direction:column;gap:8px}.audit-template-add-section{width:100%;justify-content:center}.audit-template-builder-save-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audit-template-builder-save-actions .btn{min-width:0;justify-content:center;padding-inline:8px}.announcement-manage-card-body{padding:14px!important}.announcement-manage-card-body{position:relative}.announcement-manage-layout{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:start!important;gap:8px!important}.announcement-manage-icon{padding-top:2px;font-size:19px!important}.announcement-manage-content{min-width:0}.announcement-manage-heading{align-items:flex-start!important;gap:6px!important;padding-right:48px;margin-bottom:8px!important}.announcement-manage-title{display:-webkit-box;flex:1 1 100%;min-width:0;overflow:hidden;overflow-wrap:anywhere;line-height:1.35;text-align:justify;-webkit-box-orient:vertical;-webkit-line-clamp:2}.announcement-manage-pills{display:flex;flex:0 1 auto;align-items:center;gap:3px;min-width:0;white-space:nowrap}.announcement-manage-heading .pill{flex:0 0 auto;gap:4px;padding:2px 6px;font-size:9px}.announcement-manage-heading .pill:before{width:5px;height:5px}.announcement-manage-meta{margin-bottom:10px!important;font-size:11px!important;line-height:1.45;overflow-wrap:anywhere;text-align:justify}.announcement-manage-recipient{display:block}.announcement-manage-preview{margin-bottom:12px!important;font-size:12px!important;line-height:1.5!important;text-align:justify}.announcement-manage-progress{padding:10px!important}.announcement-manage-progress-labels{display:grid!important;grid-template-columns:minmax(0,1fr);gap:5px;font-size:11px!important;line-height:1.4}.announcement-manage-progress-labels>span{min-width:0;overflow-wrap:anywhere;white-space:nowrap}.announcement-manage-actions{position:absolute;top:12px;right:12px;z-index:1}.announcement-manage-actions>.btn{display:none}.announcement-manage-actions>.mobile-action-menu{display:flex;justify-content:center}.incident-status-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);overflow:hidden}.incident-status-modal>.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.incident-status-modal>.modal-footer{flex-shrink:0}.mobile-detail-table{width:100%;table-layout:fixed}.mobile-detail-table th,.mobile-detail-table td{min-width:0;padding:10px 8px;white-space:normal;overflow-wrap:anywhere}.mobile-detail-table .mobile-hide{display:none}.mobile-detail-table .mobile-primary{width:auto;max-width:none}.mobile-detail-table .mobile-secondary{width:36%}.mobile-detail-table .mobile-status{width:120px}.mobile-detail-table .mobile-action-cell{width:68px;min-width:0;text-align:center;white-space:nowrap}.mobile-detail-table .pill{max-width:100%;white-space:normal;overflow-wrap:anywhere}.mobile-detail-table .mobile-status .pill{white-space:nowrap;padding-inline:6px;gap:4px}.mobile-detail-table .pill:before{flex-shrink:0}.mobile-detail-table .mobile-row-caption{display:block;margin-top:4px;font-size:12px;font-weight:400;color:var(--muted)}.card:has(.mobile-detail-table)>.card-header{flex-wrap:wrap;gap:10px}.card:has(.mobile-detail-table)>.card-header .card-title{flex:1 1 140px;min-width:0;overflow-wrap:anywhere}.competency-matrix-wrap,.competency-requirements-wrap{max-height:min(352px,45dvh);overflow:auto}.competency-matrix-wrap:focus-visible,.competency-requirements-wrap:focus-visible{outline:2px solid var(--royal);outline-offset:-2px}.competency-requirements-table th{position:sticky;top:0;z-index:2}.mobile-detail-table .mobile-only-cell{display:table-cell}.mobile-detail-table .desktop-row-actions{display:none!important}.mobile-detail-table .mobile-action-menu{display:flex;justify-content:center}.main .topbar{position:sticky;top:0;z-index:20;transition:transform .2s ease}.main.mobile-header-hidden .topbar{transform:translateY(calc(-100% - 1px))}.contractor-announcement-card-content{padding:14px!important}.contractor-announcement-row{display:grid!important;grid-template-columns:24px minmax(0,1fr);gap:10px!important}.contractor-announcement-icon{padding-top:2px;font-size:19px!important}.contractor-announcement-main{min-width:0}.contractor-announcement-heading{align-items:flex-start!important;gap:6px!important}.contractor-announcement-title{overflow-wrap:anywhere;line-height:1.35}.contractor-announcement-actions{grid-column:1 / -1;width:auto!important;flex-direction:row!important;flex-wrap:wrap;gap:8px!important}.contractor-announcement-actions .contractor-announcement-action{width:auto;min-width:0;flex:1 1 120px}.contractor-announcement-actions .contractor-announcement-ack{flex-basis:100%;text-align:left}.kpi-grid.mobile-compact-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.mobile-compact-kpis .kpi-card{padding:14px 12px}.mobile-compact-kpis .kpi-label{margin-bottom:7px;font-size:10px;line-height:1.35;letter-spacing:.035em;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:none;hyphens:none}.mobile-compact-kpis .kpi-value{font-size:clamp(16px,5vw,22px);line-height:1.15;white-space:normal;overflow-wrap:anywhere}.mobile-compact-kpis .kpi-value-medium{font-size:clamp(15px,4.5vw,20px)}.mobile-compact-kpis .kpi-value-long{font-size:clamp(14px,4vw,18px)}.mobile-compact-kpis .kpi-sub{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.mobile-compact-table{width:100%;table-layout:fixed}.mobile-compact-table th,.mobile-compact-table td{min-width:0;padding:10px 8px}.mobile-compact-table .mobile-table-hide{display:none}.mobile-record-details{display:grid;gap:0;margin:0}.mobile-record-details>div{display:grid;grid-template-columns:minmax(100px,34%) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.mobile-record-details>div:last-child{border-bottom:0}.mobile-record-details dt{color:var(--muted);font-size:12px;font-weight:700}.mobile-record-details dd{min-width:0;margin:0;color:var(--text);font-size:13px;overflow-wrap:anywhere;white-space:pre-line}.compliance-table-wrap{overflow:visible}.compliance-table th:first-child,.compliance-table td:first-child{width:28%}.compliance-table th:nth-child(2),.compliance-table td:nth-child(2){width:37%;overflow-wrap:anywhere}.compliance-table .compliance-status-cell{width:23%}.compliance-table .compliance-actions-column{width:12%;min-width:0;text-align:center}.compliance-table .pill{white-space:normal}.compliance-table .compliance-desktop-action{display:none}.compliance-table .mobile-action-menu{display:block}.compliance-table .compliance-actions-column .mobile-action-menu{display:flex;justify-content:center}.my-documents-table th:first-child,.my-documents-table td:first-child{width:52%}.my-documents-table .compliance-status-cell{width:28%}.my-documents-table .compliance-actions-column{width:20%}.doc-requests-table{width:100%;table-layout:fixed}.doc-requests-table th,.doc-requests-table td{overflow-wrap:anywhere}.doc-requests-table .doc-request-document,.doc-requests-table .doc-request-due-date{display:none}.doc-requests-staff th:first-child,.doc-requests-staff td:first-child{width:50%}.doc-requests-table .doc-request-actions-heading,.doc-requests-table .doc-request-actions-cell{width:25%;min-width:0!important;padding-right:4px;padding-left:4px;text-align:center!important}.doc-requests-table .doc-request-desktop-actions{display:none!important}.doc-requests-staff .doc-request-status{width:25%}.doc-requests-contractor .doc-request-status{width:45%}.doc-requests-contractor .doc-request-actions-heading,.doc-requests-contractor .doc-request-actions-cell{width:55%}.doc-requests-table .mobile-action-menu{display:block}.doc-requests-table .doc-request-status .pill{white-space:nowrap}.invoice-admin-table{width:100%;table-layout:fixed}.invoice-admin-table th:first-child,.invoice-admin-table td:first-child{width:31%;overflow-wrap:anywhere}.invoice-admin-table th:nth-child(2),.invoice-admin-table td:nth-child(2){width:30%}.invoice-admin-table th:nth-child(6),.invoice-admin-table td:nth-child(6){width:25%}.invoice-admin-table th:last-child,.invoice-admin-table td:last-child{width:14%}.invoice-admin-table .invoice-admin-actions{display:none!important}.invoice-admin-table .invoice-actions-cell{min-width:0;padding-right:4px;padding-left:4px;text-align:center}.invoice-admin-table .invoice-actions-cell .mobile-action-menu{display:flex;justify-content:center}.invoice-admin-table .pill{white-space:normal}.contractor-invoices-page-table{overflow:visible}.contractor-invoices-page-table .invoices-table{width:100%;table-layout:fixed}.contractor-invoices-page-table .invoices-table th:first-child,.contractor-invoices-page-table .invoices-table td:first-child{width:43%;overflow-wrap:anywhere}.contractor-invoices-page-table .invoices-table th:nth-child(6),.contractor-invoices-page-table .invoices-table td:nth-child(6){width:35%}.contractor-invoices-page-table .invoices-table th:last-child,.contractor-invoices-page-table .invoices-table td:last-child{width:22%}.contractor-invoices-page-table .invoice-actions-cell{min-width:0;padding-right:4px;padding-left:4px;text-align:center}.contractor-invoices-page-table .invoice-actions .invoice-desktop-action{display:none!important}.contractor-invoices-page-table .invoice-actions-cell .mobile-action-menu{display:flex;justify-content:center}.contractor-invoices-page-table .pill{white-space:normal}.audit-history-table{width:100%;table-layout:fixed}.audit-history-table th:first-child,.audit-history-table td:first-child{width:30%;overflow-wrap:anywhere}.audit-history-table .audit-history-template{width:21%}.audit-history-table .audit-history-date{width:20%}.audit-history-table .audit-history-status{width:19%}.audit-history-table th:last-child,.audit-history-table td:last-child{width:10%}.audit-history-table .audit-history-desktop-action{display:none}.audit-history-table .mobile-action-menu{display:flex;justify-content:center}.incident-reports-table{width:100%;table-layout:fixed}.incident-reports-table th,.incident-reports-table td{min-width:0;overflow-wrap:anywhere}.incident-reports-table .incident-report-hide-mobile{display:none}.incident-reports-table th:first-child,.incident-reports-table .incident-report-form-name{width:52%}.incident-reports-table .incident-report-status{width:30%}.incident-reports-table .incident-report-actions{width:18%;text-align:center}.incident-reports-table .incident-report-actions .btn{padding-right:8px;padding-left:8px}.operations-job-table{width:100%;table-layout:fixed}.operations-job-table th:first-child,.operations-job-table td:first-child{width:34%;overflow-wrap:anywhere}.operations-job-table th:nth-last-child(4),.operations-job-table td:nth-last-child(4){width:25%}.operations-job-table th:nth-last-child(3),.operations-job-table td:nth-last-child(3){width:25%}.operations-mobile-only{display:table-cell;width:16%;text-align:center}.operations-job-table .mobile-action-menu{display:flex;justify-content:center}.user-directory-table .directory-email,.user-directory-table .directory-phone,.user-directory-table .directory-added,.user-directory-table .directory-assignments{display:none}.contractor-financial-table{width:100%;table-layout:fixed}.contractor-financial-table th:first-child,.contractor-financial-table td:first-child{width:46%}.contractor-financial-table th:nth-child(4),.contractor-financial-table td:nth-child(4){width:36%}.contractor-financial-table th:last-child,.contractor-financial-table td:last-child{width:18%}.contractor-financial-table .mobile-action-menu{display:flex;justify-content:center}.user-directory-table th:first-child,.user-directory-table td:first-child{width:52%}.user-directory-table .directory-status{width:28%}.user-directory-table .directory-actions{width:20%;min-width:0!important}.user-directory-table .directory-desktop-actions,.clients-table .directory-desktop-actions,.projects-table .directory-desktop-actions{display:none!important}.mobile-action-menu{display:block;position:relative}.clients-table .client-abn-cell,.clients-table .client-primary-contact,.clients-table .client-project-count,.clients-table .client-project-value{display:none}.clients-table th:first-child,.clients-table td:first-child{width:52%}.clients-table .client-status-cell{width:28%}.clients-table th:last-child,.clients-table .client-actions{width:20%;min-width:0!important}.clients-table .client-mobile-only{display:table-cell}.client-company{min-width:0}.client-company>div{min-width:0}.client-company .client-legal-name,.projects-table .project-client-column,.projects-table .project-dates-column,.projects-table .project-budget-column,.projects-table .project-contractors-column,.projects-table .project-assign-column{display:none}.projects-table th:first-child,.projects-table .project-name-column{width:52%}.projects-table .project-status-column{width:28%}.projects-table th:last-child,.projects-table .project-actions-column{width:20%}.projects-table .project-name-column{overflow:hidden;overflow-wrap:anywhere}.contractors-table-wrap{overflow:visible}.contractors-table{width:100%;table-layout:fixed}.contractors-table th,.contractors-table td{min-width:0;padding:10px 8px}.contractors-table .contractor-abn-cell,.contractors-table .contractor-email-column,.contractors-table .contractor-email-cell,.contractors-table .contractor-compliance-cell,.contractors-table .contractor-status-cell,.contractors-table .contractor-invoices-cell{display:none}.contractors-table .contractor-name-column{width:52%}.contractors-table .contractor-trade-column{width:30%}.contractors-table th:last-child,.contractors-table td.contractor-actions-cell{width:18%}.contractors-table .contractor-name-column>div{min-width:0}.contractors-table .contractor-name-column .fw-600{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contractors-table .contractor-actions-cell{min-width:0}.contractor-mobile-only{display:table-cell}.contractor-mobile-actions{display:flex;justify-content:center}.contractor-desktop-actions{display:none!important}.competency-matrix-table{width:100%;min-width:0}.competency-matrix-table colgroup,.competency-matrix-table .competency-qualification-heading,.competency-matrix-table .competency-status-cell{display:none}.competency-matrix-table .competency-sticky-contractor,.competency-matrix-table .competency-sticky-trade{position:static;min-width:0;box-shadow:none}.competency-matrix-table .competency-sticky-contractor{width:auto}.competency-matrix-table .competency-sticky-trade{width:36%}.competency-matrix-table .competency-mobile-action{display:table-cell;width:68px}.competency-matrix-table thead th,.competency-matrix-table thead .competency-sticky-contractor,.competency-matrix-table thead .competency-sticky-trade{position:sticky;top:0;left:auto;z-index:2}.mobile-detail-table .improvement-title-preview{white-space:normal;overflow-wrap:anywhere}}.competency-mobile-action,.mobile-only-cell{display:none}.risk-level-cell .pill:before{background:currentColor}.template-locked-alert{align-items:center;flex-wrap:wrap}.template-duplicate-button:hover:not(:disabled){box-shadow:0 4px 10px #05966933;transform:translateY(-1px)}
