:root{--accent:#2c3540;--accent-dark:#1a2129;--accent-strong:#1a2129;--accent-light:#eceff1;--brand:#2c3540;--brand-dark:#1a2129;--brand-light:#eceff1;--danger:#1a2129;--danger-light:#eceff1;--text:#1a1d21;--text-muted:#626a73;--border:#dcdfe3;--bg:#f3f4f6;--surface:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}:root[data-theme=dark]{--accent:#3a4552;--accent-dark:#12171d;--accent-strong:#e7e9ec;--accent-light:#262d35;--brand:#56626f;--brand-dark:#6a7785;--brand-light:#262d35;--danger:#e6e9ed;--danger-light:#262d35;--text:#e7e9ec;--text-muted:#9aa1a9;--border:#343b43;--bg:#14171a;--surface:#1d2126}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);margin:0}button,input,select,textarea{font:inherit;color:inherit}:where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]),select,textarea){background-color:var(--surface);border:1px solid var(--border)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-shell{flex-direction:row;min-height:100vh;display:flex}.app-header{background:var(--accent);color:#fff;flex-direction:column;flex-shrink:0;align-self:flex-start;gap:22px;width:250px;height:100vh;padding:24px 20px;display:flex;position:sticky;top:0}.app-user-topinfo{flex-shrink:0;align-items:center;gap:10px;line-height:1.2;display:flex}.app-user-topinfo-text{flex-direction:column;display:flex}.app-user-gear{color:inherit;opacity:.7;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px;display:inline-flex}.app-user-gear:hover,.app-user-gear:focus-visible{opacity:1}.brand{flex-direction:column;flex-shrink:0;line-height:1.15;display:flex}.brand-mark{letter-spacing:.06em;font-size:20px;font-weight:800}.brand-sub{opacity:.75;font-size:11px}.brand-users{color:#ffffffd9;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:8px;font-size:11px;font-weight:600;display:flex}.brand-online{align-items:center;gap:5px;display:inline-flex}.online-dot{background:#2ecc71;border-radius:50%;width:8px;height:8px;display:inline-block;box-shadow:0 0 0 2px #2ecc7147,0 0 8px #2ecc71bf}.global-search{flex-shrink:0;position:relative}.global-search-input{box-sizing:border-box;color:#fff;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;width:100%;padding:8px 12px;font-size:13px}.global-search-input::placeholder{color:#ffffff8c}.global-search-input:focus{background:#ffffff1f;border-color:#fff9;outline:none}.global-search-results{background:var(--surface);width:340px;max-height:70vh;color:var(--text);border:1px solid var(--border);z-index:200;border-radius:8px;padding:6px 0;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 16px 40px #00000040}.global-search-status{color:var(--text-muted);padding:12px 14px;font-size:13px}.global-search-group+.global-search-group{border-top:1px solid var(--border);margin-top:4px;padding-top:4px}.global-search-group-title{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);padding:6px 14px 2px;font-size:11px;font-weight:700}.global-search-item{text-align:left;cursor:pointer;width:100%;font:inherit;color:var(--text);background:0 0;border:none;flex-direction:column;padding:7px 14px;display:flex}.global-search-item:hover{background:var(--accent-light)}.global-search-item-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.global-search-item-subtitle{color:var(--text-muted);font-size:12px}.app-nav{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex;overflow-y:auto}.app-nav a{color:#fffc;border-radius:6px;padding:9px 12px;font-size:13px;font-weight:500;text-decoration:none}.theme-toggle-btn{color:#fff;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff2e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:flex;position:absolute;top:22px;right:16px}.theme-toggle-btn:hover{background:#ffffff24}.app-user{border-top:1px solid #ffffff26;flex-direction:column;flex-shrink:0;align-items:flex-start;gap:10px;padding-top:16px;display:flex}.app-user-info{flex-direction:column;align-items:flex-start;line-height:1.2;display:flex}.app-user-name{font-size:13px;font-weight:600}.app-user-role{opacity:.75;font-size:11px}.app-user .btn{width:100%}.app-main{flex:1;width:100%;min-width:0;max-width:1480px;margin:0 auto;padding:28px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin-bottom:20px;display:flex}.page-header h1{margin:0;font-size:22px}.page-loader,.table-empty,.empty-state{color:var(--text-muted);text-align:center;padding:32px 0}.btn{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;padding:9px 16px;font-size:14px;font-weight:600;transition:background-color .12s}.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-dark)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-ghost{color:var(--text);border:1px solid var(--border);background:0 0}.btn-ghost:hover{background:var(--accent-light)}.app-header .btn-ghost{color:#fff;border-color:#fff6}.app-header .btn-ghost:hover{background:#ffffff1f}.btn-link{color:var(--accent-strong);cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:13px;font-weight:600}.btn-link:hover{text-decoration:underline}.btn-danger{color:var(--danger)}.btn-block{width:100%}.login-screen{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;width:380px;max-width:100%;padding:40px 36px;box-shadow:0 12px 32px #1b212914}.login-logo{width:180px;height:auto;margin:0 auto 14px;display:block}.login-brand{letter-spacing:.08em;color:var(--accent-strong);text-align:center;font-size:26px;font-weight:800}.login-subtitle{text-align:center;color:var(--text-muted);margin:6px 0 24px;font-size:13px}.field{flex-direction:column;flex:1;gap:6px;min-width:0;margin-bottom:14px;display:flex}.field span{color:var(--text-muted);font-size:12px;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--border);background:var(--surface);box-sizing:border-box;border-radius:6px;width:100%;min-width:0;padding:9px 11px;font-size:14px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent-strong);outline-offset:-1px}.field-row{gap:12px;display:flex}.field-row>.btn{margin-bottom:14px}.password-input-wrap{position:relative}.password-input-wrap input{padding-right:40px}.password-toggle-btn{width:30px;height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.password-toggle-btn:hover{color:var(--text);background:var(--accent-light)}.form-grid{flex-direction:column;display:flex}.form-error{background:var(--danger-light);color:var(--danger);border-radius:6px;margin-bottom:14px;padding:10px 12px;font-size:13px}.banner{border-radius:6px;margin-bottom:16px;padding:10px 14px;font-size:14px}.banner-error{background:var(--danger-light);color:var(--danger)}.table-wrap{background:var(--surface);border:1px solid var(--border);scrollbar-width:thin;border-radius:10px;max-height:calc(100vh - 200px);overflow:auto}.data-table{border-collapse:collapse;table-layout:auto;width:100%;font-size:14px}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--border);padding:10px 14px}.data-table td{white-space:normal;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}@media (width<=1440px){.data-table th,.data-table td{padding:10px 9px}}.data-table th{white-space:normal;overflow-wrap:normal}.data-table td .badge.badge-wrap{white-space:normal;text-align:center;border-radius:12px}.table-col-narrow{white-space:nowrap}.data-table thead th{z-index:1;position:sticky;top:0}.table-scroll{-webkit-overflow-scrolling:touch;scrollbar-width:thin;max-height:calc(100vh - 320px);overflow:auto}.table-wrap::-webkit-scrollbar{width:8px;height:8px}.table-scroll::-webkit-scrollbar{width:8px;height:8px}.table-wrap::-webkit-scrollbar-track{background:var(--accent-light)}.table-scroll::-webkit-scrollbar-track{background:var(--accent-light)}.table-wrap::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.table-scroll::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.table-wrap::-webkit-scrollbar-thumb:hover{background:#b7bdc4}.table-scroll::-webkit-scrollbar-thumb:hover{background:#b7bdc4}.data-table th{background:var(--accent-light);color:var(--accent-strong);text-transform:uppercase;letter-spacing:.03em;font-size:12px}.data-table tbody tr:last-child td{border-bottom:none}.row-inactive{opacity:.55}.row-between{justify-content:space-between;align-items:center;gap:10px;display:flex}.table-actions{white-space:normal;text-align:right}.table-actions .btn,.table-actions button{white-space:nowrap;vertical-align:middle}.badge{background:var(--accent-light);color:var(--accent-strong);white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-block}.badge-muted{color:#777;background:#eee;margin-left:8px}.badge-level-0,.badge-level-1{color:#fff;background:#2c3540}.badge-level-2,.badge-level-3{color:#1a2129;background:#dfe3e7}.badge-level-4,.badge-level-5{color:#626a73;background:#eceff1}.status-dot{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.status-inactive{background:#b7bdc4}.modal-backdrop{z-index:100;background:#14181c80;justify-content:center;align-items:flex-start;padding:48px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--surface);border-radius:12px;width:480px;max-width:100%;box-shadow:0 20px 60px #0000004d}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.modal-header h2{margin:0;font-size:17px}.modal-close{cursor:pointer;color:var(--text-muted);background:0 0;border:none;font-size:22px;line-height:1}.modal-body{padding:22px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.modal-hint{background:var(--accent-light);color:var(--accent-strong);border-radius:6px;margin-bottom:16px;padding:8px 12px;font-size:13px}.org-tree,.org-tree-children{margin:0;padding:0;list-style:none}.org-tree{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:8px 0}.org-tree-row{align-items:center;gap:10px;padding:8px 16px;display:flex}.org-tree-row:hover{background:var(--accent-light)}.org-tree-item-inactive>.org-tree-row{opacity:.55}.org-tree-toggle{cursor:pointer;width:18px;color:var(--text-muted);background:0 0;border:none;font-size:13px}.org-tree-toggle:disabled{cursor:default}.org-tree-name{font-size:14px;font-weight:600}.org-tree-type{color:var(--text-muted);background:var(--bg);border-radius:999px;padding:2px 8px;font-size:12px}.org-tree-actions{gap:4px;margin-left:auto;display:flex}.doc-title-link{text-align:left;white-space:normal;max-width:360px;padding:0;font-size:14px;font-weight:600;line-height:1.4}.doc-status-draft{color:#626a73;background:#eceff1}.doc-status-published{color:#fff;background:#2c3540}.doc-status-archived{color:#626a73;background:#eceff1}.doc-status-pending_approval{color:#1a2129;background:#dfe3e7}.approval-status-pending{color:#626a73;background:#eceff1}.approval-status-approved{color:#fff;background:#2c3540}.approval-status-rejected{color:#1a2129;background:#fff;font-weight:700;box-shadow:inset 0 0 0 1.5px #1a2129}.approval-status-cancelled{color:#8a929b;background:#f3f4f6}.review-urgency{margin-top:2px;font-size:11px;font-weight:600}.review-urgency-soon{color:#1a2129;font-weight:700}.review-urgency-overdue{color:#1a2129;font-weight:700;text-decoration:underline}.doc-detail-meta{align-items:center;gap:10px;margin-bottom:12px;display:flex}.doc-detail-number{color:var(--text-muted);font-size:13px}.doc-detail-description{color:var(--text-muted);margin:0 0 16px;font-size:14px}.doc-detail-subheading{margin:18px 0 10px;font-size:14px}.doc-detail-filesize{color:var(--text-muted);font-size:12px}.employee-card-grid{grid-template-columns:auto 1fr;gap:8px 14px;margin-bottom:8px;font-size:14px;display:grid}.employee-card-label{color:var(--text-muted);white-space:nowrap}.data-table-compact th,.data-table-compact td{padding:8px 10px;font-size:13px}.modal-actions-left{justify-content:flex-start;margin:0 0 16px}.doc-upload-form{border-top:1px solid var(--border);margin-top:18px;padding-top:16px}.doc-upload-form input[type=file]{margin-bottom:14px;font-size:13px;display:block}.hint-text{color:var(--text-muted);margin:0 0 12px;font-size:13px}.approver-picker{border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:6px;max-height:180px;margin-bottom:14px;padding:10px 12px;display:flex;overflow-y:auto}.approver-picker-item{cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.approver-picker-item input{margin:0}.approvals-list{flex-direction:column;gap:14px;display:flex}.approval-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px}.approval-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.approval-card-title{font-size:15px;font-weight:600}.doc-qr-section{border-top:1px solid var(--border);margin-top:18px;padding-top:16px}.doc-qr-row{align-items:center;gap:16px;display:flex}.doc-qr-actions{flex-direction:column;flex:1;align-items:flex-start;gap:8px;min-width:0;display:flex}.doc-qr-link{color:var(--text-muted);word-break:normal;overflow-wrap:break-word;width:100%;font-size:12px}.page-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.modal-wide{width:760px}.doc-status-approved{color:#fff;background:#2c3540}.risk-score-row{gap:10px;margin-bottom:14px;display:flex}.risk-level-badge-low{color:#1b6b3a;background:#dff3e6}.risk-level-badge-medium{color:#6f5600;background:#fff3c4}.risk-level-badge-high{color:#a11d1d;background:#fbdcdc}.risk-level-badge-critical{color:#fff;background:#1a1a1a}.measure-status-planned{color:#626a73;background:#eceff1}.measure-status-in_progress{color:#1a2129;background:#dfe3e7}.measure-status-done{color:#fff;background:#2c3540}.risk-matrices-row{flex-wrap:wrap;gap:24px;margin:6px 0 18px;display:flex}.risk-matrix-picker{flex:1;min-width:260px}.risk-matrix-picker-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.risk-matrix-picker-title{color:var(--text-muted);font-size:12px;font-weight:600}.risk-level-bg-low{background:#bfe6cc}.risk-level-bg-medium{background:#ffe08a}.risk-level-bg-high{background:#f2a3a3}.risk-level-bg-critical{color:#fff;background:#2a2d31}.btn-small{padding:5px 10px;font-size:12px}.field-checkbox{flex-direction:row;align-items:center;gap:8px}.field-checkbox input{flex:none;width:auto;margin:0}.badge-success{color:#fff;background:#2c3540}.file-input-label{cursor:pointer;align-items:center;display:inline-flex}.tab-bar{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;margin-bottom:16px;display:flex}.tab-button{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 12px;font-size:13px;font-weight:600}.tab-button:hover{color:var(--text)}.tab-button-active{color:var(--accent-strong);border-bottom-color:var(--accent-strong)}.tab-panel{min-height:120px}.investigation-tree{margin-bottom:10px}.investigation-tree-root{margin-left:0}.investigation-node-children{margin:8px 0 0;padding:0;list-style:none}.investigation-node{margin-bottom:10px}.record-card-list{flex-direction:column;gap:10px;margin-bottom:10px;display:flex}.record-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px}.record-card-header{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.record-card-meta-inline{color:var(--text-muted);font-size:12px}.record-card-body{color:var(--text);white-space:pre-wrap;font-size:13px}.record-card-actions{gap:14px;margin-top:8px;display:flex}.investigation-cause-immediate{color:#1a2129;background:#dfe3e7}.investigation-cause-contributing{color:#3d4650;background:#eceff1}.investigation-cause-root{color:#fff;background:#1a2129}.timeline-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:10px;display:grid}.timeline-cell{background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:0;padding:12px}.timeline-cell-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.timeline-cell textarea{border:1px solid var(--border);resize:vertical;border-radius:6px;width:100%;margin-bottom:8px;padding:8px;font-size:13px}.timeline-cell .modal-actions{flex-wrap:wrap;row-gap:6px}.checklist-block{margin-bottom:18px}.checklist-items{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.checklist-item{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;display:flex}.checklist-item-checkbox{cursor:pointer;flex:1;align-items:center;gap:8px;min-width:200px;font-size:13px;display:flex}.checklist-item-checkbox input{margin:0}.history-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.history-item{border-bottom:1px solid var(--border);align-items:baseline;gap:10px;padding:6px 0;font-size:13px;display:flex}.history-item-date{color:var(--text-muted);flex:0 0 150px;font-size:12px}.history-item-actor{flex:0 0 160px;font-weight:600}.history-item-action{flex:1}.field-hint{color:var(--text-muted);margin-top:2px;font-size:12px}.link-button{color:var(--accent-strong);cursor:pointer;background:0 0;border:none;align-self:flex-start;margin-top:4px;padding:2px 0;font-size:13px;text-decoration:underline}.link-button:hover{color:var(--accent-strong)}.inline-add-panel{background:var(--surface-muted,#f5f7fa);border:1px dashed var(--border);border-radius:8px;flex-direction:column;gap:10px;margin-bottom:14px;padding:12px;display:flex}.inline-add-actions{justify-content:flex-end;gap:8px;display:flex}.training-summary-header{margin-bottom:16px}.training-summary-header .badge{padding:6px 14px;font-size:14px}.data-table-nested{background:var(--surface-muted,#fafafa);width:calc(100% - 20px);margin:6px 0 6px 20px}.data-table-nested th,.data-table-nested td{font-size:13px}.truncate-cell{text-overflow:ellipsis;white-space:nowrap;max-width:320px;overflow:hidden}tr.row-muted{opacity:.6}.hazard-detail{padding:10px 6px}.hazard-detail p{margin:4px 0}.hazard-detail-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.hazard-photos{flex-wrap:wrap;align-items:flex-start;gap:10px;margin:10px 0;display:flex}.hazard-photo-thumb{flex-direction:column;align-items:center;gap:4px;display:flex}.hazard-photo-thumb img{object-fit:cover;border:1px solid var(--border,#ddd);border-radius:6px;width:96px;height:96px}.hazard-photo-loading{width:96px;height:96px;color:var(--text-muted);border:1px dashed var(--border,#ddd);border-radius:6px;justify-content:center;align-items:center;display:flex}.hazard-photo-add{text-align:center;cursor:pointer;justify-content:center;align-items:center;width:96px;height:96px;display:flex}.doc-status-in_progress{color:#1a2129;background:#dfe3e7}.doc-status-completed{color:#fff;background:#2c3540}.audit-severity-observation{color:#626a73;background:#eceff1}.audit-severity-minor{color:#1a2129;background:#dfe3e7}.audit-severity-major{color:#1a2129;background:#fff;font-weight:700;box-shadow:inset 0 0 0 1.5px #1a2129}.incident-analytics{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin:16px 0 20px;display:grid}.incident-analytics-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px 18px}.incident-analytics-card-title{color:var(--text);margin-bottom:12px;font-size:14px;font-weight:700}.incident-analytics-empty{color:var(--text-muted);font-size:13px}.bar-list{flex-direction:column;gap:9px;display:flex}.bar-list-row{grid-template-columns:minmax(110px,40%) 1fr auto;align-items:center;gap:10px;display:grid}.bar-list-label{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.bar-list-track{background:var(--accent-light);border-radius:4px;height:10px;position:relative;overflow:hidden}.bar-list-fill{background:var(--brand);border-radius:4px;min-width:4px;height:100%;transition:width .2s;position:absolute;top:0;left:0}.bar-list-fill-severity-minor{background:#f2c230}.bar-list-fill-severity-severe{background:#d64545}.bar-list-fill-severity-fatal{background:#1a1a1a}.bar-list-count{color:var(--text);text-align:right;min-width:20px;font-size:13px;font-weight:600}.goal-status-active{color:#1a2129;background:#dfe3e7}.goal-status-achieved{color:#fff;background:#2c3540}.goal-status-missed{color:#1a2129;background:#fff;font-weight:700;box-shadow:inset 0 0 0 1.5px #1a2129}.goal-progress-summary{background:#f7f8f9;border-radius:8px;margin:14px 0 18px;padding:14px 16px}:root[data-theme=dark] .goal-progress-summary{background:var(--accent-light)}.goal-progress-numbers{align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.goal-progress-current{font-size:22px;font-weight:700}.goal-progress-target{color:var(--text-muted);font-size:14px}.goal-progress-owner{color:var(--text-muted);margin-top:8px;font-size:13px}.progress-bar{background:var(--border);width:100%;height:4px;overflow:hidden}.progress-bar-fill{height:100%;transition:width .2s}.dashboard-section{margin-bottom:44px}.dashboard-section-title{border-top:2px solid var(--text);letter-spacing:.18em;text-transform:uppercase;margin:0 0 18px;padding-top:10px;font-size:11px;font-weight:700}.stat-cards{border-top:1px solid var(--border);border-left:1px solid var(--border);grid-template-columns:repeat(auto-fill,minmax(220px,1fr));display:grid}.stat-card{background:var(--surface);border-right:1px solid var(--border);border-bottom:1px solid var(--border);flex-direction:column;min-width:0;padding:20px 20px 18px;display:flex}.stat-card-value{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:40px;font-weight:300;line-height:1}.stat-card-value.stat-warn,.stat-card-value.stat-danger{color:var(--text);font-weight:700}.stat-card-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-top:12px;font-size:11px;font-weight:600;line-height:1.4}.stat-card-breakdown{flex-wrap:wrap;gap:4px;margin-top:auto;padding-top:16px;display:flex}.stat-card-breakdown .badge{letter-spacing:.02em;border-radius:2px;padding:2px 7px;font-size:10.5px;font-weight:600}.stat-card-dial{grid-template-columns:1fr auto;align-content:start;column-gap:12px;display:grid}.stat-card-dial .stat-card-breakdown{grid-column:1/-1}.dial-percent{width:76px;height:76px;color:var(--text)}.dial-percent .dial-ticks line,.dial-hero .dial-ticks line{stroke:currentColor}.dial-track{stroke:var(--border)}.dashboard-hero-card{background:var(--surface);border:1px solid var(--border);align-items:center;gap:40px;margin-bottom:-1px;padding:26px 28px;display:flex}.dial-hero{width:200px;height:200px;color:var(--text);flex-shrink:0}.dial-ring{stroke:var(--text)}.dial-number{fill:var(--text);font-variant-numeric:tabular-nums;letter-spacing:-.03em}.dashboard-hero-label{letter-spacing:.16em;text-transform:uppercase;font-size:13px;font-weight:700;line-height:1.6}.dashboard-widgets{border-top:1px solid var(--border);border-left:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(340px,1fr));margin-top:28px;display:grid}.dashboard-widget{background:var(--surface);border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:22px 22px 24px}.dashboard-widget-title{letter-spacing:.16em;text-transform:uppercase;margin:0 0 20px;font-size:11px;font-weight:700}.dashboard-widget-wide{grid-column:1/-1}.dashboard-widget-wide .stat-cards{margin-bottom:4px}.dashboard-widget-empty{color:var(--text-muted);margin:0;font-size:13px}.safety-pyramid{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.safety-pyramid-svg{flex-shrink:0;width:260px;height:300px;display:block}.safety-pyramid-count{font-variant-numeric:tabular-nums;letter-spacing:-.02em}.safety-pyramid-legend{flex-direction:column;flex:1;min-width:170px;height:300px;display:flex}.safety-pyramid-legend-row{border-top:1px solid var(--border);flex:1;align-items:center;gap:10px;display:flex}.safety-pyramid-swatch{flex-shrink:0;width:10px;height:10px}.safety-pyramid-legend-text{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:600}.dashboard-goal-list{flex-direction:column;gap:10px;display:flex}.dashboard-goal-row{background:var(--surface);border:1px solid var(--border);padding:12px 16px}.dashboard-goal-row-header{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;display:flex}.dashboard-goal-row-title{font-weight:600}.dashboard-goal-row-due{color:var(--text-muted);white-space:nowrap;font-size:12px}.dashboard-section-title{border-top:3px double var(--text)}.stat-card,.dashboard-widget{background:linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 93%, var(--text-muted)) 100%);box-shadow:inset 0 1px #ffffffe6}:root[data-theme=dark] .stat-card,:root[data-theme=dark] .dashboard-widget{box-shadow:inset 0 1px #ffffff0d}.stat-card-value{font-weight:200}.stat-card-label:before,.dashboard-widget-title:before{content:"";vertical-align:1px;background:linear-gradient(135deg,#fff 0%,#9aa5b0 100%);width:5px;height:5px;margin-right:9px;display:inline-block;transform:rotate(45deg);box-shadow:0 0 0 .5px #8a949f}.dashboard-hero-card{color:#eef1f4;background:radial-gradient(90% 140% at 190px,#ffffff21,#fff0 60%),repeating-conic-gradient(at 190px,#ffffff0d 0deg .7deg,#fff0 .7deg 2.6deg),linear-gradient(135deg,#252d36 0%,#0e1216 100%);border:1px solid #0b0e12;gap:48px;padding:36px 44px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff12,inset 0 1px #ffffff29}.dial-hero-frame{flex-shrink:0;justify-content:center;align-items:center;width:260px;height:260px;display:flex;overflow:visible}.dial-hero{filter:drop-shadow(0 12px 20px #0009);width:780px;height:780px}.dial-flute{stroke:#0f141a6b;stroke-width:1px}.dial-minute{stroke:#b9c1c9;stroke-width:1px}.dial-caption{fill:#aeb7c0;letter-spacing:.32em;font-weight:600}.dial-number{fill:#f6f8fa;font-variant-numeric:tabular-nums;letter-spacing:-.03em;filter:drop-shadow(0 0 6px #ffffff47)}.dial-hand{stroke:#e9edf1;stroke-width:1.3px}.dial-hand-cap{fill:#e9edf1}.dial-second{animation:60s linear infinite dial-sweep}.dashboard-hero-text{flex-direction:column;gap:16px;display:flex;position:relative}.dashboard-hero-text:after{content:"";background:linear-gradient(90deg,#e3e8ec,#e3e8ec00);width:140px;height:1px;margin-top:16px;display:block;position:absolute;top:100%;left:0}.dashboard-hero-eyebrow{color:#eef1f48c;letter-spacing:.36em;text-transform:uppercase;font-size:10.5px;font-weight:600}.dashboard-hero-label{color:#f4f6f8;letter-spacing:.18em;text-transform:uppercase;font-size:20px;font-weight:300;line-height:1.5}.dial-percent{width:88px;height:88px}.dial-arc{stroke:#3a444f}.dial-diamond{animation:3.6s ease-in-out infinite gem-twinkle;animation-delay:var(--d,0s)}@keyframes gem-twinkle{0%,to{opacity:.86;filter:brightness()}50%{opacity:1;filter:brightness(1.45)drop-shadow(0 0 2.5px #fffffff2)}}@keyframes dial-sweep{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.dial-diamond,.dial-second{animation:none}}.safety-pyramid-legend-row{border-top-color:color-mix(in srgb, var(--border) 80%, var(--text-muted))}.dial-wordmark{letter-spacing:.34em;filter:drop-shadow(0 1px #000000b3)drop-shadow(0 0 5px #e8c46340);transform:translate(.17em)}.dashboard-hero-gold{background:radial-gradient(90% 140% at 190px,#f0d28229,#f0d28200 60%),repeating-conic-gradient(at 190px,#f0d68c0e 0deg .7deg,#f0d68c00 .7deg 2.6deg),linear-gradient(135deg,#262b31 0%,#0d1013 100%)}.dashboard-hero-gold .dial-hero{filter:drop-shadow(0 12px 22px #000000a6)drop-shadow(0 0 14px #e8c4631f)}.dashboard-hero-gold .dashboard-hero-eyebrow{color:#e8c463d9}.dashboard-hero-gold .dashboard-hero-text:after{background:linear-gradient(90deg,#f3dc92,#f3dc9200)}.dial-diamond{filter:brightness(.98);opacity:.94}.dial-shining .dial-diamond{animation:60s ease-in-out infinite gem-pass;animation-delay:var(--d,0s)}@keyframes gem-pass{0%{opacity:1;filter:brightness(2.1)drop-shadow(0 0 5px #fff)drop-shadow(0 0 14px #fff0b4f2)}1.2%{opacity:1;filter:brightness(1.75)drop-shadow(0 0 4px #fff)drop-shadow(0 0 10px #ffecaab3)}3%{opacity:.97;filter:brightness(1.15)drop-shadow(0 0 2px #ffffff73)}5%,99.4%{opacity:.94;filter:brightness(.98)}to{opacity:1;filter:brightness(2.1)drop-shadow(0 0 5px #fff)drop-shadow(0 0 14px #fff0b4f2)}}.dial-halo{opacity:0;animation:60s ease-in-out infinite halo-pass;animation-delay:var(--d,0s)}@keyframes halo-pass{0%{opacity:1}3%{opacity:.3}5%,99.4%{opacity:0}to{opacity:1}}.dial-flare{transform-box:fill-box;transform-origin:50%;opacity:0;animation:60s ease-out infinite gem-flare;animation-delay:var(--d,0s)}@keyframes gem-flare{0%{opacity:1;transform:scale(1)rotate(18deg)}1.5%{opacity:.85;transform:scale(.75)rotate(32deg)}3.5%,99.4%{opacity:0;transform:scale(.2)rotate(45deg)}to{opacity:1;transform:scale(1)rotate(18deg)}}.dial-dim .dial-diamond{opacity:.45;filter:grayscale(.7)brightness(.62);animation:none}.dashboard-hero-status{color:#eef1f49e;letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:600}.dashboard-hero-gold .dashboard-hero-status{color:#f3dc92cc}@media (prefers-reduced-motion:reduce){.dial-halo,.dial-flare{animation:none}.dial-shining .dial-diamond{opacity:1;filter:brightness(1.25)drop-shadow(0 0 3px #ffffffd9)drop-shadow(0 0 6px #ffecaa99);animation:none}}.dial-hero{overflow:visible}.dial-hour{animation:43200s linear infinite dial-sweep}.dial-minute-hand{animation:3600s linear infinite dial-sweep}.dial-day-name,.dial-date-number{letter-spacing:.04em}@media (prefers-reduced-motion:reduce){.dial-hour,.dial-minute-hand,.dial-second{animation:none}}.dial-hero .dial-number{paint-order:stroke;stroke:var(--dial-outline,#080a0ee6);stroke-width:4.2px;stroke-linejoin:round}.dial-hero .dial-days-caption{paint-order:stroke;stroke:var(--dial-outline,#080a0ee6);stroke-width:1.1px;stroke-linejoin:round}.dial-hero{transform-origin:50%;transform:scale(.333333)perspective(4500px)rotateY(9deg)}.dashboard-hero-gold .dial-number{filter:drop-shadow(0 2px 1.6px #000000bf)drop-shadow(0 0 7px #e8c46366)}.dial-hero .dial-wordmark{filter:drop-shadow(0 1.4px 1px #000c)drop-shadow(0 0 5px #e8c46340)}@media (prefers-reduced-motion:reduce){.dial-hero{transition:none;transform:scale(.333333)}.dial-glare{transition:none;transform:none}}.badge-ok,.badge-success,.doc-status-published,.doc-status-approved,.doc-status-completed,.approval-status-approved,.measure-status-done,.goal-status-achieved{color:#1b6b3a;box-shadow:none;background:#dff3e6}.badge-warn,.doc-status-pending_approval,.doc-status-in_progress,.approval-status-pending,.measure-status-in_progress,.goal-status-active,.audit-severity-minor{color:#6f5600;box-shadow:none;background:#fff3c4}.badge-danger,.approval-status-rejected,.audit-severity-major,.goal-status-missed{color:#a11d1d;box-shadow:none;background:#fbdcdc;font-weight:700}.progress-bar-fill.goal-status-active{background:#e0b100}.progress-bar-fill.goal-status-achieved{background:#2e9e5b}.progress-bar-fill.goal-status-missed{background:#d64545}.review-urgency-soon,.review-urgency-overdue{border-radius:3px;padding:1px 8px;font-weight:600;text-decoration:none;display:inline-block}.review-urgency-soon{color:#6f5600;background:#fff3c4}.review-urgency-overdue{color:#a11d1d;background:#fbdcdc}.employee-card-expired{color:#b3261e;font-weight:700}.employee-card-soon{color:#8a6500;font-weight:600}.banner-warning{color:#6f5600;background:#fff3c4}.banner-error,.form-error{color:#a11d1d;background:#fbdcdc}.stat-card-value.stat-warn{color:#a37500;font-weight:600}.stat-card-value.stat-danger{color:#c62828;font-weight:700}.status-active{background:#2e9e5b}.ppe-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px;display:flex}.ppe-head-status{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.ppe-norm-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.ppe-group-select{max-width:320px;margin-left:auto}.ppe-confirm-banner{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.ppe-sizes{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px 14px;display:grid}.ppe-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:22px 0 10px;display:flex}.ppe-toolbar-buttons{gap:8px;display:flex}.row-muted td{color:var(--text-muted)}.file-input-label.disabled{opacity:.6;pointer-events:none}a.stat-card-link{color:inherit;text-decoration:none;display:block}a.stat-card-link:hover{border-color:var(--accent-strong)}div.stat-card-link{cursor:pointer}div.stat-card-link:hover,div.stat-card-link:focus-visible{border-color:var(--accent-strong)}.safety-pyramid-tier{cursor:pointer;outline:none}.safety-pyramid-tier:hover,.safety-pyramid-tier:focus-visible{filter:brightness(1.15)}a.safety-pyramid-legend-link{color:inherit;text-decoration:none}a.safety-pyramid-legend-link:hover .safety-pyramid-legend-text{text-decoration:underline}.field-row{align-items:flex-end}.field-row>.field{flex:1 1 0}.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),.field select{height:40px}.field textarea{min-height:40px}.field-row>.field>span{line-height:1.25}@media (width<=640px){.field-row{flex-direction:column;align-items:stretch;gap:0}.field-row>.field{flex:none!important}}.settings-block{margin:0 0 28px}.record-card.row-muted{opacity:.6}.banner-ok{color:#1b6b3a;background:#dff3e6}.check-group{flex-direction:column;gap:6px;margin:4px 0 10px;display:flex}.field-caption{color:var(--text-muted);letter-spacing:.06em;font-size:12px;font-weight:600}.traffic-list{flex-direction:column;gap:8px;margin:0 0 16px;padding:0;list-style:none;display:flex}.detail-list{grid-template-columns:max-content 1fr;gap:6px 16px;margin:0;display:grid}.detail-list dt{color:var(--text-muted);font-size:12px;font-weight:600}.detail-list dd{white-space:pre-line;margin:0}.risk-dot{vertical-align:middle;border-radius:50%;width:10px;height:10px;display:inline-block}.risk-dot-green{background:#0f9d58}.risk-dot-yellow{background:#ffc400}.risk-dot-red{background:#e3242b}.risk-dot-black{background:#0d0d0d}.chain-list{flex-direction:column;gap:4px;margin:0;padding-left:20px;display:flex}.chain-list li{align-items:center;gap:10px;display:flex}.chain-list li>span{min-width:220px}.approval-step{flex-wrap:wrap;align-items:baseline;gap:8px;margin:4px 0;font-size:13px;display:flex}.report-bars{flex-direction:column;gap:6px;max-width:760px;display:flex}.report-bar-row{grid-template-columns:220px 1fr 50px;align-items:center;gap:10px;font-size:13px;display:grid}.report-bar-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.report-bar-track{background:var(--border);border-radius:2px;height:14px;overflow:hidden}.report-bar-fill{min-width:2px;height:100%;display:block}.report-bar-value{text-align:right;font-weight:600}.row-total td{border-top:2px solid var(--border);background:var(--surface)}.btn-active{border-color:var(--gold)}.row-alert td{background:#fbdcdc}:root[data-theme=dark] .row-alert td{background:#4a2626}.login-link{text-align:center;color:var(--text-muted);margin-top:12px;font-size:13px;text-decoration:none;display:block}.login-link:hover{color:var(--accent-strong);text-decoration:underline}.trip-editor-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px;display:grid}.trip-editor-main{border:0;min-width:0;margin:0;padding:0}.trip-editor-main:disabled{opacity:.85}.trip-editor-side{position:sticky;top:16px}.trip-section{margin:0 0 24px}.trip-section h2{letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;font-size:15px}.trip-summary{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px}.trip-risk-level{font-size:16px;font-weight:600}.trip-risk-score{margin:2px 0 6px;font-size:28px;font-weight:600}.trip-risk-cats,.trip-risk-items{margin:6px 0;padding:0;font-size:13px;list-style:none}.trip-review-block h4{margin:14px 0 6px;font-size:13px}.trip-actions{flex-direction:column;gap:8px;margin-top:16px;display:flex}.field-error>span{color:var(--danger)}.field-error select{border-color:var(--danger)}@media (width<=1000px){.trip-editor-layout{grid-template-columns:1fr}.trip-editor-side{position:static}}a.badge-link{cursor:pointer;text-decoration:none}a.badge-link:hover{filter:brightness(1.12);text-decoration:underline}:root{--gold:#a8874a;--gold-bright:#d9bf85;--gold-line:#c9a96b8c;--font-display:"Cormorant Garamond", "Bodoni MT", "Didot", Georgia, "Times New Roman", serif;--steel-hi:#ffffffd9}:root[data-theme=dark]{--gold:#d9bf85;--gold-line:#d9bf8573;--steel-hi:#ffffff1a}.page-header h1,.modal-header h2,.dashboard-section-title,.login-brand,.brand-mark{font-family:var(--font-display);font-weight:600}.page-header{border-bottom:1px solid var(--border);margin-bottom:24px;padding-bottom:14px;position:relative}.page-header:after{content:"";background:var(--gold);width:84px;height:1px;position:absolute;bottom:-1px;left:0}.page-header h1{letter-spacing:.02em;font-size:32px;line-height:1.1}.modal-header h2{letter-spacing:.02em;font-size:24px}h2.dashboard-section-title{letter-spacing:.03em;font-size:26px}.app-header{border-right:1px solid var(--gold-line);background:repeating-linear-gradient(90deg,#ffffff05 0 1px,#fff0 1px 3px),linear-gradient(#232a32 0%,#14181d 100%);box-shadow:6px 0 24px #0000002e}:root[data-theme=dark] .app-header{background:repeating-linear-gradient(90deg,#ffffff04 0 1px,#fff0 1px 3px),linear-gradient(#1a2026 0%,#0d1013 100%)}.brand-mark{letter-spacing:.24em;color:#f2ede1;border-bottom:1px solid var(--gold-line);margin-bottom:4px;padding-bottom:8px;font-size:30px;font-weight:700}.brand-sub{letter-spacing:.16em;text-transform:uppercase;opacity:.6;font-size:9.5px}.app-nav a{letter-spacing:.1em;text-transform:uppercase;color:#ffffffad;border-radius:0;padding:10px 14px 10px 18px;font-size:11.5px;font-weight:500;transition:color .15s,background-color .15s;position:relative}.app-nav a:hover{color:#fff;background:#ffffff0d}.app-nav a.active{color:#f6f1e4;background:linear-gradient(90deg,#d9bf8524,#d9bf8500 85%)}.app-nav a.active:before{content:"";background:linear-gradient(#efe0b8,#b8975a);width:2px;position:absolute;top:6px;bottom:6px;left:0}.app-user{border-top:1px solid var(--gold-line)}.app-user-name{letter-spacing:.04em}.btn{letter-spacing:.09em;text-transform:uppercase;border-radius:2px;font-size:12px;font-weight:600;transition:background-color .15s,box-shadow .15s,border-color .15s}.btn-primary{background:linear-gradient(#3a4550 0%,#1f262d 100%);border:1px solid #12161b;box-shadow:inset 0 1px #ffffff2e,0 1px 2px #00000040}.btn-primary:hover:not(:disabled){box-shadow:inset 0 1px 0 #ffffff3d, 0 0 0 1px var(--gold-line), 0 2px 6px #0000004d;background:linear-gradient(#46525e 0%,#262e36 100%)}:root[data-theme=dark] .btn-primary{background:linear-gradient(#48535f 0%,#2a323a 100%);border-color:#0d1013}.btn-ghost{border:1px solid var(--border);border-radius:2px}.btn-ghost:hover:not(:disabled){border-color:var(--gold);color:var(--accent-strong);background:0 0}.btn-link,.btn-small{text-transform:none;letter-spacing:.02em}.app-header .btn-ghost:hover{border-color:var(--gold-bright);background:#d9bf8514}.table-wrap,.stat-card,.dashboard-widget,.dashboard-goal-row,.login-card{border-radius:3px}.stat-card,.dashboard-widget{border-top:1px solid var(--gold-line)}.stat-card-label{letter-spacing:.06em}.stat-card-value{font-family:var(--font-display);font-weight:600}.stat-card-value.stat-warn,.stat-card-value.stat-danger{font-weight:700}.data-table thead th{letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);border-bottom:1px solid var(--gold-line);font-size:10.5px;font-weight:600}.data-table tbody tr:hover td{background:color-mix(in srgb, var(--surface) 94%, var(--gold))}.modal{border-top:2px solid var(--gold);border-radius:3px;box-shadow:0 30px 80px #00000073,0 0 0 1px #00000014}.modal-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a0d109e}.modal-header{border-bottom:1px solid var(--gold-line)}.modal-close{transition:color .15s}.modal-close:hover{color:var(--gold)}.tab-bar{gap:6px}.tab-button{letter-spacing:.12em;text-transform:uppercase;padding:10px 14px;font-size:11.5px}.tab-button-active{border-bottom-color:var(--gold)}.field input,.field select,.field textarea,input[type=search],input[type=text],input[type=number],input[type=date],input[type=email],input[type=password],select,textarea{border-radius:2px}.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold-line);outline:none}.field input:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface) inset;box-shadow:0 0 0 1000px var(--surface) inset;transition:background-color 9999s ease-in-out,box-shadow 9999s ease-in-out}.field select:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface) inset;box-shadow:0 0 0 1000px var(--surface) inset;transition:background-color 9999s ease-in-out,box-shadow 9999s ease-in-out}.field textarea:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface) inset;box-shadow:0 0 0 1000px var(--surface) inset;transition:background-color 9999s ease-in-out,box-shadow 9999s ease-in-out}input:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface) inset;box-shadow:0 0 0 1000px var(--surface) inset;transition:background-color 9999s ease-in-out,box-shadow 9999s ease-in-out}select:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface) inset;box-shadow:0 0 0 1000px var(--surface) inset;transition:background-color 9999s ease-in-out,box-shadow 9999s ease-in-out}textarea:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface) inset;box-shadow:0 0 0 1000px var(--surface) inset;transition:background-color 9999s ease-in-out,box-shadow 9999s ease-in-out}.field input:-webkit-autofill:focus{box-shadow:0 0 0 1px var(--gold-line), 0 0 0 1000px var(--surface) inset}.field select:-webkit-autofill:focus{box-shadow:0 0 0 1px var(--gold-line), 0 0 0 1000px var(--surface) inset}.field textarea:-webkit-autofill:focus{box-shadow:0 0 0 1px var(--gold-line), 0 0 0 1000px var(--surface) inset}input:-webkit-autofill:focus{box-shadow:0 0 0 1px var(--gold-line), 0 0 0 1000px var(--surface) inset}select:-webkit-autofill:focus{box-shadow:0 0 0 1px var(--gold-line), 0 0 0 1000px var(--surface) inset}textarea:-webkit-autofill:focus{box-shadow:0 0 0 1px var(--gold-line), 0 0 0 1000px var(--surface) inset}.field input:autofill{background:var(--surface);color:var(--text)}.field select:autofill{background:var(--surface);color:var(--text)}.field textarea:autofill{background:var(--surface);color:var(--text)}input:autofill{background:var(--surface);color:var(--text)}select:autofill{background:var(--surface);color:var(--text)}textarea:autofill{background:var(--surface);color:var(--text)}.field>span,.field>label{letter-spacing:.06em}.badge{letter-spacing:.05em;border-radius:2px}.login-screen{background:radial-gradient(70% 90% at 50% 40%,#ffffff1a,#fff0 60%),repeating-conic-gradient(at 50% 40%,#ffffff09 0deg .7deg,#fff0 .7deg 2.8deg),linear-gradient(160deg,#262e37 0%,#0d1013 100%)}.login-card{border:1px solid var(--gold-line);border-top:2px solid var(--gold);box-shadow:0 30px 80px #00000080}.login-brand{letter-spacing:.26em;text-indent:.26em;font-size:34px}.login-subtitle{letter-spacing:.14em;text-transform:uppercase;font-size:11px}*{scrollbar-color:color-mix(in srgb, var(--text-muted) 55%, transparent) transparent}@media (width<=720px){.page-header h1{font-size:26px}}.stat-card-value,.page-header h1,.modal-header h2,.dashboard-section-title{font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1, "tnum" 1}.stat-card-value{font-size:44px;line-height:1.05}.login-card,:root[data-theme=dark] .login-card{--surface:#fff;--text:#1a1d21;--text-muted:#626a73;--border:#dcdfe3;--accent-strong:#1a2129;--accent-light:#eceff1;--bg:#f3f4f6;color:#1a1d21;background:#fff}.mobile-qr{border-top:1px solid var(--gold-line);justify-content:center;align-items:center;gap:14px;margin-top:22px;padding-top:18px;display:flex}.mobile-qr-code{flex-shrink:0;width:72px;height:72px}.mobile-qr-code svg{width:100%;height:100%;display:block}.mobile-qr-text{color:#626a73;flex-direction:column;gap:3px;font-size:11.5px;line-height:1.35;display:flex}.mobile-qr-text strong{letter-spacing:.12em;text-transform:uppercase;color:#1a1d21;font-size:10.5px}.brand-title{border-bottom:1px solid var(--gold-line);align-items:center;gap:10px;margin-bottom:4px;padding-bottom:10px;display:flex}.brand-logo{background:#fff;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:42px;padding:2px;display:flex;box-shadow:0 0 0 1px #d9bf8559}.brand-logo img{width:100%;height:auto;display:block}.brand-title .brand-mark{letter-spacing:.16em;border-bottom:none;margin-bottom:0;padding-bottom:0;font-size:26px}.theme-toggle-btn{top:30px;right:20px}.risk-overview{margin-bottom:28px}.risk-bars{flex-direction:column;gap:8px;display:flex}.risk-bar-row{grid-template-columns:minmax(110px,40%) 1fr 32px;align-items:center;gap:10px;font-size:13px;display:grid}.risk-bar-track{background:var(--accent-light);border-radius:1px;height:8px;overflow:hidden}.risk-bar-fill{background:linear-gradient(90deg,#56626f,#2c3540);height:100%;display:block}:root[data-theme=dark] .risk-bar-fill{background:linear-gradient(90deg,#6a7785,#9aa5b0)}.risk-bar-count{text-align:right;font-variant-numeric:tabular-nums;color:var(--text-muted)}.risk-cards{flex-direction:column;gap:10px;display:flex}.risk-card{background:var(--surface);border:1px solid var(--border);border-left-width:4px;border-radius:3px}.risk-card-low{border-left-color:#2e7d32}.risk-card-medium{border-left-color:#e0a800}.risk-card-high{border-left-color:#c62828}.risk-card-critical{border-left-color:#111}:root[data-theme=dark] .risk-card-critical{border-left-color:#e7e9ec}.risk-card-head{text-align:left;cursor:pointer;width:100%;color:var(--text);background:0 0;border:none;align-items:center;gap:12px;padding:12px 16px;display:flex}.risk-card-head:hover{background:color-mix(in srgb, var(--surface) 94%, var(--gold))}.risk-card-chevron{width:14px;color:var(--text-muted)}.risk-card-title{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.risk-card-title strong{overflow-wrap:anywhere;font-size:15px}.risk-card-kind{letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);font-size:10px}.risk-card-summary{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.rm{--rm-cell-h:54px;align-items:stretch;gap:10px;width:100%;max-width:460px;display:flex}.rm-sm{--rm-cell-h:34px;gap:6px;width:auto;max-width:none}.rm-sm .rm-row{grid-template-columns:22px repeat(5,42px)}.rm-y-caption{writing-mode:vertical-rl;text-align:center;letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;align-self:center;font-size:11px;font-weight:600;transform:rotate(180deg)}.rm-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.rm-row{grid-template-columns:22px repeat(5,minmax(0,1fr));gap:3px;display:grid}.rm-row-x{margin-top:1px}.rm-tick{min-height:20px;color:var(--text-muted);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.rm-x-caption{text-align:center;letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);padding-left:22px;font-size:11px;font-weight:600}.rm-cell{height:var(--rm-cell-h);font:inherit;cursor:default;border:none;border-radius:3px;justify-content:center;align-items:center;padding:0;font-size:20px;font-weight:800;display:flex;position:relative;box-shadow:inset 0 1px #ffffff59,inset 0 -2px #0000002e}.rm-sm .rm-cell{cursor:pointer;font-size:14px}button.rm-cell:hover{filter:brightness(1.08)}.rm-low{color:#fff;background:#0f9d58}.rm-medium{color:#1a1a1a;background:#ffc400}.rm-high{color:#fff;background:#e3242b}.rm-critical{color:#fff;background:#0d0d0d;box-shadow:inset 0 0 0 1px #ffffff38}.rm-empty{opacity:.32}.rm-score{opacity:.75;font-size:10px;font-weight:600;position:absolute;bottom:3px;right:5px}.rm-sm .rm-score{display:none}.rm-selected{outline:3px solid var(--accent-strong);outline-offset:2px;z-index:1}@media (width<=560px){.rm{--rm-cell-h:42px}}.doc-detail-description{white-space:pre-line}.linked-panel{border-top:1px solid var(--border);margin-top:20px;padding-top:14px}.linked-panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.linked-panel-head h3{margin:0;font-size:14px}.linked-picker{border:1px solid var(--border);background:var(--surface);margin-bottom:12px;padding:12px}.linked-list{margin:0;padding:0;list-style:none}.linked-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.linked-item-text{overflow-wrap:anywhere;min-width:0}.linked-type{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:11px;font-weight:600}.linked-empty{color:var(--text-muted);padding:6px 0;font-size:13px}.meeting-section{margin-top:18px}.meeting-section h3{margin:0 0 8px;font-size:14px}.meeting-row{border-bottom:1px solid var(--border);gap:8px;padding:10px 0;display:grid}.meeting-row-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.meeting-row-title{font-weight:600}.meeting-row-meta{color:var(--text-muted);font-size:12px}.meeting-text{white-space:pre-line}.stat-card{transition:transform .18s,box-shadow .18s;position:relative}.stat-card:hover,.stat-card:focus-within{z-index:2;transform:translateY(-4px);box-shadow:0 10px 22px #00000029}@media (prefers-reduced-motion:reduce){.stat-card{transition:none}.stat-card:hover,.stat-card:focus-within{transform:none}}.audit-check-head{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.audit-check-progress{color:var(--text-muted);margin-right:auto;font-size:13px}.audit-check-bar{background:var(--border);height:5px;margin:8px 0 10px;overflow:hidden}.audit-check-bar>div{background:#2e9e5b;height:100%;transition:width .25s}.audit-check-section{border:1px solid var(--border);margin-top:8px}.audit-check-section>summary{cursor:pointer;background:var(--surface);justify-content:space-between;gap:12px;padding:9px 12px;font-weight:600;display:flex}.audit-check-section-count{color:var(--text-muted);font-variant-numeric:tabular-nums;font-weight:500}.audit-check-sub{letter-spacing:.04em;color:var(--text-muted);border-top:1px solid var(--border);padding:7px 12px;font-size:12px;font-weight:600}.audit-check-list{margin:0;padding:0;list-style:none}.audit-check-item{border-top:1px solid var(--border);border-left:4px solid var(--border);padding:9px 12px 10px 10px}.audit-check-question{align-items:baseline;gap:8px;display:flex}.audit-check-code{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:12px}.audit-check-text{flex:1;min-width:0}.audit-check-norm{color:var(--text-muted);margin:2px 0 0;font-size:12px}.audit-check-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.audit-check-status{flex:0 0 210px}.audit-check-comment{flex:220px;min-width:160px}.audit-check-comment-text{font-size:13px}.audit-result-ok{border-left-color:#2e9e5b}.audit-result-nc_fixable{border-left-color:#d4a017}.audit-result-nc_resources{border-left-color:#d32f2f}.audit-result-risk_watch{border-left-color:#ef7d1a}.audit-result-not_applicable{border-left-color:#9aa1a9}.audit-risk-high{color:#b3261e}.audit-risk-medium{color:#8a6d00}.audit-risk-low{color:var(--text-muted)}:root[data-theme=dark] .audit-risk-high{color:#ff8f86}:root[data-theme=dark] .audit-risk-medium{color:#e8c65a}.audit-summary{margin-top:18px}.audit-summary-cards{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;display:grid}.audit-summary-card{border:1px solid var(--border);border-left:4px solid var(--border);background:var(--surface);flex-direction:column;padding:10px 12px;display:flex}.audit-summary-card strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:600}.audit-summary-card span{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px}.audit-summary-blocks{gap:4px;margin-top:12px;display:grid}.audit-summary-block{grid-template-columns:minmax(160px,1.2fr) 2fr minmax(90px,auto);align-items:center;gap:10px;font-size:13px;display:grid}.audit-summary-block .audit-check-bar{margin:0}.audit-summary-block-num{color:var(--text-muted);text-align:right;font-variant-numeric:tabular-nums}.audit-summary-hazards{margin-top:12px}.audit-summary-hazards h4{margin:0 0 6px;font-size:13px}.audit-summary-hazards ul{margin:0;padding-left:18px;font-size:13px}.checkbox-list{border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));display:grid}.checkbox-row{min-width:0;color:var(--text);cursor:pointer;overflow-wrap:anywhere;align-items:center;gap:9px;padding:6px 10px;font-size:14px;font-weight:400;line-height:1.3;display:flex}.checkbox-row:hover{background:var(--accent-light)}.checkbox-row input[type=checkbox],.field .checkbox-row input[type=checkbox]{width:16px;min-width:16px;height:16px;accent-color:var(--accent-strong,#1a2129);flex:none;margin:0;padding:0}.attendance-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0 12px;display:grid}.field-row>select,.field-row>input:not([type=checkbox]):not([type=radio]),.field-row>textarea{box-sizing:border-box;width:auto;min-width:0;height:40px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:6px;flex:1 1 0;padding:9px 11px;font-size:14px}.field-row{flex-wrap:wrap}.modal-body{overflow-x:hidden}.decision-results{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.decision-state-none{color:var(--text-muted)}.decision-state-in_progress{color:#8a6d00}.decision-state-done{color:#1b6b3a}.decision-result-chip{border:1px solid var(--border);color:inherit;border-radius:999px;padding:2px 8px;font-size:12px;text-decoration:none}.decision-result-chip:hover{border-color:var(--accent-strong)}.linked-status{margin-left:8px;font-size:11px}.linked-status-done{color:#1b6b3a}.linked-panel-top{border-top:0;border-bottom:1px solid var(--border);margin:0 0 12px;padding:0 0 8px}.linked-toggle{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:600}.inspect-section{border:1px solid var(--border);margin-top:10px}.inspect-section-title{background:var(--surface);padding:8px 12px;font-weight:600}.inspect-item{border-top:1px solid var(--border);border-left:4px solid #0000;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;display:flex}.inspect-item-no{border-left-color:#d32f2f}.inspect-text{flex:320px;min-width:0}.inspect-buttons{gap:6px;display:flex}.inspect-btn{border:1px solid var(--border);background:var(--surface);min-width:56px;color:inherit;font:inherit;cursor:pointer;border-radius:4px;padding:6px 14px}.inspect-btn-yes.on{color:#fff;background:#2e9e5b;border-color:#2e9e5b}.inspect-btn-no.on{color:#fff;background:#d32f2f;border-color:#d32f2f}.inspect-remark{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);height:38px;color:inherit;border-radius:4px;flex:100%;padding:6px 10px}.inspect-photo-field{flex:100%;margin:0}.inspect-photo-thumb{border:1px solid var(--border);background:var(--surface);border-radius:4px;align-items:center;gap:6px;padding:4px 8px;display:inline-flex}.field-row>.btn,.field-row>button.btn{box-sizing:border-box;white-space:nowrap;flex:none;align-self:flex-end;height:40px;margin-bottom:0;padding-top:0;padding-bottom:0;line-height:1}.field-row>.field~.btn,.field-row>.field~button.btn{margin-bottom:14px}.field-row>.btn.btn-small,.field-row>button.btn-small{height:40px}.mobile-qr-url{opacity:.7;word-break:break-all;margin-top:4px;font-size:11px;display:block}.permit-muted{color:var(--text-muted);font-size:12px}.permit-head{margin-bottom:14px}.permit-head-line{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.permit-title{margin:0 0 4px;font-size:20px}.permit-expired-badge{margin-left:6px}.badge-muted-plain,.permit-badge-neutral{color:#626a73;box-shadow:none;background:#eceff1}:root[data-theme=dark] .badge-muted-plain,:root[data-theme=dark] .permit-badge-neutral{color:#aab1b9;background:#2b323a}.approval-status-waiting,.approval-status-skipped{color:#626a73;background:#eceff1}.permit-error-inline{color:#a11d1d;font-size:12px;font-weight:600}.permit-warn-inline{color:#6f5600;margin-top:2px;font-size:12px;font-weight:600}:root[data-theme=dark] .permit-error-inline{color:#f2a4a4}:root[data-theme=dark] .permit-warn-inline{color:#f0d27a}.permit-required{color:#a11d1d}.permit-actions{border-top:1px solid var(--border);border-bottom:1px solid var(--border);flex-wrap:wrap;gap:8px;margin:14px 0 20px;padding:12px 0;display:flex}.permit-review{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--gold);border-radius:4px;margin:0 0 14px;padding:10px 14px;font-size:13px}.permit-review ul{margin:6px 0 0;padding-left:20px}.permit-review-errors li{color:#a11d1d}.permit-review-warnings li{color:#6f5600}:root[data-theme=dark] .permit-review-errors li{color:#f2a4a4}:root[data-theme=dark] .permit-review-warnings li{color:#f0d27a}.permit-section{margin:0 0 24px}.permit-section-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.permit-risk-summary{flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 10px;font-size:13px;display:flex}.permit-table td,.permit-table th{vertical-align:top}.permit-round{margin-bottom:10px}.permit-approval-list{flex-direction:column;gap:8px;margin:6px 0 0;padding:0;list-style:none;display:flex}.permit-approval{border:1px solid var(--border);background:var(--surface);border-radius:4px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 12px;display:flex}.permit-approval-pending{border-color:var(--gold)}.permit-approval-who{min-width:240px}.permit-approval-comment{font-size:13px;font-style:italic}.permit-approval-actions{gap:8px;margin-left:auto;display:flex}.permit-check-group{flex-direction:column;gap:6px;margin:0 0 12px;display:flex}.permit-check{cursor:pointer;align-items:flex-start;gap:8px;font-size:14px;display:flex}.permit-check input{margin-top:3px}.permit-check-done>span{color:var(--text-muted)}.permit-add-row{align-items:flex-end;margin-top:10px}.permit-add-form{border:1px dashed var(--border);border-radius:4px;margin-top:12px;padding:12px}.permit-row-card{margin-bottom:8px;padding:10px 12px}.permit-score-row{align-items:flex-end;gap:18px}.permit-score-group{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.permit-score-group .field-caption{width:100%}.permit-check-row{align-items:flex-end}.permit-w-110{flex:0 0 110px!important}.permit-w-140{flex:0 0 140px!important}.permit-w-170{flex:0 0 170px!important}.permit-w-200{flex:0 0 200px!important}.permit-w-220{flex:0 0 220px!important}.permit-filters{margin-bottom:14px}.permit-block-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.permit-role-input{flex:220px;min-width:160px;height:32px}.permit-topic-list{border:1px solid var(--border);border-radius:4px;max-height:220px;padding:8px 10px;overflow-y:auto}.permit-iso-planned{color:#626a73;background:#eceff1}.permit-iso-isolated{color:#6f5600;background:#fff3c4}.permit-iso-verified{color:#1b6b3a;background:#dff3e6}.permit-iso-restored{color:#626a73;background:#eceff1}.permit-iso-trail{flex-direction:column;gap:2px;margin-top:4px;display:flex}.permit-timeline{flex-direction:column;gap:6px;margin:0 0 6px;padding:0;font-size:13px;list-style:none;display:flex}.permit-timeline li{grid-template-columns:130px 1fr;gap:12px;display:grid}.permit-timeline time{color:var(--text-muted);padding-top:1px;font-size:12px}.permit-stats{margin-bottom:18px}.permit-board{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;display:grid}.permit-card{text-align:left;background:var(--surface);border:1px solid var(--border);cursor:pointer;color:inherit;font:inherit;border-radius:6px;flex-direction:column;gap:6px;padding:14px;display:flex}.permit-card:hover,.permit-card:focus-visible{border-color:var(--gold);outline:none}.permit-card-alert{border-color:#d64545;border-left-width:4px}.permit-card-top{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.permit-card-title{font-weight:600}.permit-card-meta{justify-content:space-between;gap:10px;font-size:13px;display:flex}.permit-card-people{color:var(--text-muted);flex-direction:column;gap:2px;font-size:12px;display:flex}.permit-card-foot{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;margin-top:2px;padding-top:8px;font-size:12px;display:flex}@media (width<=640px){.permit-timeline li{grid-template-columns:1fr;gap:0}.permit-approval-actions{margin-left:0}.permit-w-110,.permit-w-140,.permit-w-170,.permit-w-200,.permit-w-220{flex:none!important}}.lang-switch{border:1px solid #ffffff2e;border-radius:14px;display:flex;position:absolute;top:30px;right:56px;overflow:hidden}.lang-switch-btn{color:#ffffffb3;letter-spacing:.06em;cursor:pointer;background:#ffffff0f;border:0;height:28px;padding:0 9px;font-size:11px;font-weight:700}.lang-switch-btn:hover{color:#fff;background:#ffffff24}.lang-switch-btn.active{color:#fff;background:#d9bf854d}
